aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/faces.el
Commit message (Collapse)AuthorAgeFilesLines
* Spelling fixes.Paul Eggert2011-11-191-1/+1
|
* Spelling fixes.Paul Eggert2011-11-141-1/+1
|
* * lisp/faces.el (cursor): Doc fix.Chong Yidong2011-10-181-0/+4
| | | | | Also, remove the :foreground attributes from cursor faces in built-in themes, since that attribute is unmeaningful.
* Fix some (unrelated) typos in comment and ChangeLog.Glenn Morris2011-10-021-3/+3
|
* * lisp/faces.el (face-list): Fix docstring.Stefan Monnier2011-09-201-1/+1
| | | | Fixes: debbugs:9564
* Make `(type graphic)' match `x', `w32' and `ns', like the manual says.Lars Magne Ingebrigtsen2011-09-111-0/+2
| | | | Fixes: debbugs:9029
* * lisp/faces.el (success): Change face color from "Green3" toJuri Linkov2011-08-241-1/+1
| | | | | | "ForestGreen" on light background. Fixes: debbugs:9353
* * lisp/faces.el (error, warning, success): New faces with definitionsJuri Linkov2011-08-181-0/+33
| | | | | | | | | | | | | | | | copied from old default values of `font-lock-warning-face', `compilation-warning', `compilation-info'. * lisp/font-lock.el (font-lock-warning-face): Inherit from `error'. * lisp/progmodes/compile.el (compilation-error): Inherit from `error'. (compilation-warning): Inherit from `warning'. (compilation-info): Inherit from `success'. * lisp/dired.el (dired-marked): Inherit from `warning'. (dired-flagged): Inherit from `error'. Fixes: debbugs:6117
* Minor doc fixes. Remove duplicate ChangeLog entries.Juri Linkov2011-08-071-1/+1
| | | | | | | | | | | | | | | * doc/emacs/dired.texi (Operating on Files): Rewrite according to the fact that `dired-do-chmod' doesn't use the `chmod' program anymore. * lisp/faces.el (list-faces-display): Remove extra angle bracket from `help-mode-map'. * lisp/info.el (Info-history-toc-nodes): Doc fix. * lisp/longlines.el (longlines-mode): Doc fix. * src/editfns.c (Fformat_time_string): Doc fix, add tag `usage:' to show the arg `TIME' instead of `TIMEVAL'.
* Tweak link and startup screen faces.Chong Yidong2011-07-091-1/+1
| | | | | | | | | | | | See http://lists.gnu.org/archive/html/emacs-devel/2011-07/msg00478.html for a discussion of the link face. The changes to the startup faces are so that they can take advantage of the light/dark background settings already defined for those faces. * lisp/faces.el (link): Use a less saturated blue on light backgrounds. * lisp/startup.el (fancy-startup-text, fancy-about-text) (fancy-startup-tail): Use font-lock faces, for background safety.
* Fix how custom themes handle faces, so the multi-tty/multi-frame case works.Chong Yidong2011-07-031-104/+2
| | | | | | | | | | | | | | * lisp/custom.el (custom-push-theme): Don't record faces in `changed' theme; this doesn't work correctly for per-frame face settings. (disable-theme): Use face-set-after-frame-default to reset faces. (custom--frame-color-default): New function. * lisp/frame.el (frame-background-mode, frame-set-background-mode): Moved from faces.el. (frame-default-terminal-background): New function. * src/xfaces.c (Finternal_merge_in_global_face): Modify the foreground and background color parameters if they have been changed.
* lisp/faces.el (list-faces-display): Add help-mode-map to output.Drew Adams2011-06-271-1/+1
| | | | Fixes: debbugs:8939
* * lisp/faces.el (face-spec-set-match-display): Don't match toolkitAndreas Schwab2011-04-301-12/+12
| | | | options on terminal frames.
* lisp/*.el: Lexical-binding cleanup.Juanma Barranquero2011-04-191-11/+11
|
* Merge some code from hexrgb.el into color.el.Chong Yidong2011-02-211-10/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/color.el (color-name-to-rgb): Rename from color-rgb->normalize. Autoload. Add optional arg FRAME, and pass it to color-values. (color-complement): Caller changed. Doc fix. (color-gradient): Rewrite for better clarity and efficiency. (color-rgb-to-hex): Rename from color-rgb->hex. (color-rgb-to-hsv): Rename from color-rgb->hsv. Force hue and saturation to zero if the value is too small. (color-rgb-to-hsl): Rename from color-rgb->hsl. (color-srgb-to-xyz): Rename from color-srgb->xyz. Doc fix. (color-xyz-to-srgb): Rename from color-xyz->srgb. Doc fix. (color-xyz-to-lab): Rename from color-xyz->lab. Doc fix. (color-lab-to-xyz): Rename from color-lab->xyz. Doc fix. (color-lab-to-srgb): Rename from color-lab->srgb. Doc fix. (color-cie-de2000): Doc fix. * lisp/facemenu.el (color-rgb-to-hsv): Deleted; use the version in lisp/color.el instead. (list-colors-sort-key, list-colors-print): Use color-normalized-values. * lisp/faces.el (color-values): Use cond for clarity. Doc fix. * lisp/gnus/shr-color.el (shr-color->hexadecimal): Use renamed function names color-rgb-to-hex, color-name-to-rgb, color-srgb-to-lab, and color-lab-to-srgb.
* Merge changes from emacs-23 branchChong Yidong2011-02-121-4/+16
|\
| * faces.el fix for bug#7966.Glenn Morris2011-02-071-4/+16
| | | | | | | | | | | | * lisp/faces.el (face-attr-match-p): Handle the obsolete :bold and :italic props, so that frame-set-background-mode works. (Otherwise such faces were always thought to be locally modified.)
* | Merge from emacs-23; up to 2010-05-26T14:19:[email protected].Glenn Morris2011-02-051-4/+8
|\|
| * Doc fixes related to face heights. (Bug#2659)Glenn Morris2011-02-021-4/+8
| | | | | | | | | | | | | | * lisp/faces.el (set-face-attribute): Doc fix. * src/xfaces.c (Finternal_set_lisp_face_attribute): Try to clarify some error messages.
* | undo 2011-02-01T18:15:[email protected] (purecopy-cons, purecopy-car) at ↵Sam Steingold2011-02-011-1/+2
| | | | | | | | Stefan Monnier's request
* | * lisp/subr.el (purecopy-cons, purecopy-car): Add shortcuts.Sam Steingold2011-02-011-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | * lisp/faces.el (face-x-resources): Use `purecopy-cons'. * lisp/files.el (auto-mode-alist, interpreter-mode-alist): Use `purecopy-car'. * lisp/international/fontset.el (font-encoding-alist): Ditto. * lisp/international/mule-conf.el (file-coding-system-alist): Ditto. * lisp/international/mule.el (auto-coding-alist) (auto-coding-regexp-alist): Ditto. * lisp/mouse.el (mouse-buffer-menu-mode-groups): Use `purecopy-cons'. * lisp/term/x-win.el (x-gtk-stock-map): Ditto.
* | Refill some long/short copyright headers.Glenn Morris2011-01-261-2/+1
| |
* | Convert consecutive FSF copyright years to ranges.Glenn Morris2011-01-241-2/+1
| |
* | Merge from emacs-23Stefan Monnier2011-01-141-1/+1
|\|
| * Add 2011 to FSF/AIST copyright years.Glenn Morris2011-01-021-1/+1
| |
* | faces.el (glyphless-char): Define value for `pc'.Eli Zaretskii2010-11-201-0/+1
| |
* | merge trunkKenichi Handa2010-11-011-3/+2
|\ \
| * | Fix some declarations.Glenn Morris2010-10-311-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/gnus/nnimap.el (gnutls-negotiate): * lisp/gnus/nntp.el (netrc-parse): Fix declarations. * lisp/faces.el (xw-defined-colors, x-setup-function-keys): * lisp/mouse-sel.el (x-select-text): * lisp/term/w32console.el (x-setup-function-keys): Update declarations.
* | | Handle glyphless characters on tty.Kenichi Handa2010-11-011-1/+3
| | |
* | | Implement various display methods for glyphless characters.Kenichi Handa2010-10-291-0/+6
|/ /
* | Merge read-color and facemenu-read-color (Bug#7242).Chong Yidong2010-10-241-74/+61
| | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/facemenu.el (facemenu-read-color): Alias for read-color. (facemenu-set-foreground, facemenu-set-background): Use read-color. * lisp/faces.el (read-color): Use the completion code from facemenu-read-color. Require match in completion. Doc fix. * lisp/frame.el (set-background-color, set-foreground-color) (set-cursor-color, set-mouse-color, set-border-color): Use read-color.
* | Define a cursor defface; minor face optimizations.Chong Yidong2010-10-131-52/+57
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * faces.el (face-spec-reset-face): Reset all attributes in one single call to set-face-attribute. (face-spec-match-p): Make it a defsubst. (frame-set-background-mode): New arg KEEP-FACE-SPECS. (x-create-frame-with-faces, tty-create-frame-with-faces) (tty-set-up-initial-frame-faces): Don't recompute face specs in frame-set-background-mode, since they are recomputed immediately afterwards in face-set-after-frame-default. (face-set-after-frame-default): Minor optimization. (cursor): Provide non-trivial defface spec. * custom.el (custom-theme-recalc-face): Simplify.
* | Remove some functions, variables and aliases obsolete since at least 21.1.Glenn Morris2010-10-011-135/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/misc/misc.texi (Shell Mode): Remove reference to old function name. * src/character.c (Fchar_bytes): Remove obsolete function. (syms_of_character): Remove Schar_bytes. * lisp/subr.el (char-bytes): Remove obsolete function. * lisp/emacs-lisp/checkdoc.el (checkdoc-minor-keymap): Remove obsolete alias. * lisp/isearch.el (isearch-return-char): Remove obsolete function. * lisp/mouse.el: No longer provide mldrag. (mldrag-drag-mode-line, mldrag-drag-vertical-line): Remove obsolete aliases. * lisp/comint.el (comint-kill-output): Remove obsolete alias. * lisp/shell.el: Comment fix. * lisp/composite.el (decompose-composite-char): Remove obsolete function. * lisp/ps-def.el (decompose-composite-char): Remove unused function. * lisp/iswitchb.el (iswitchb-default-keybindings): Remove obsolete function. * lisp/outline.el (outline-visible): Remove obsolete function. * lisp/term/pc-win.el (x-frob-font-slant, x-frob-font-weight): * lisp/faces.el (internal-find-face, internal-get-face) (frame-update-faces, frame-update-face-colors) (x-frob-font-weight, x-frob-font-slant) (internal-frob-font-weight, internal-frob-font-slant) (x-make-font-bold, x-make-font-demibold, x-make-font-unbold) (x-make-font-italic, x-make-font-oblique, x-make-font-unitalic) (x-make-font-bold-italic): Remove functions and aliases, obsolete since Emacs 21.1. * lisp/emulation/viper-util.el (viper-get-face): * lisp/obsolete/lucid.el (find-face, get-face): Use facep. * lisp/vc/ediff-init.el (ediff-valid-color-p, ediff-get-face): Remove unused functions. * lisp/vc/ediff-util.el (ediff-submit-report): Doc fix. * etc/NEWS: Mention above changes.
* | Add "Package:" file headers to denote built-in packages.Chong Yidong2010-08-291-0/+1
| |
* | Take colors for region face (selected text) from the Gtk+ theme.Jan D2010-08-111-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/dynamic-setting.el (dynamic-setting-handle-config-changed-event): Handle theme-name change. * lisp/faces.el (region): Add type gtk that uses gtk colors. * src/gtkutil.c (xg_check_special_colors, style_changed_cb): New functions. (xg_create_frame_widgets): Connect theme name changes to style_changed_cb. * src/gtkutil.h (xg_check_special_colors): Declare. * src/xfns.c (x_defined_color): If USE_GTK, call xg_check_special_colors first.
* | * faces.el (face-all-attributes): Improved documentation (Bug#6767).Jan D2010-07-311-1/+1
| |
* | * lisp/faces.el (read-face-name): Rename arg `string-describing-default'Juri Linkov2010-07-031-8/+9
| | | | | | | | | | | | | | | | | | to `default'. Doc fix. Display the default value in quotes in the prompt. With empty input, return the `default' arg, unless the default value is a string (in which case return nil). (describe-face): Replace the string `default' arg of `read-face-name' with the symbol `default'. http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg01109.html
* | Fix application of default-frame-alist (Bug#5378).Chong Yidong2010-06-301-21/+11
|/ | | | | | | | | | | | | | * lisp/frame.el (make-frame): Add default-frame-alist to the PARAMETERS argument passed to frame-creation-function (Bug#5378). * lisp/faces.el (x-handle-named-frame-geometry) (x-handle-reverse-video, x-create-frame-with-faces) (face-set-after-frame-default, tty-create-frame-with-faces): Don't separately consult default-frame-alist. It is now passed as the PARAMETER argument. * src/frame.c (get_future_frame_param, Fmake_terminal_frame): Don't check default-frame-alist.
* Fix typos.Juanma Barranquero2010-03-241-4/+4
| | | | | | | * faces.el (set-face-attribute): Fix typo in docstring. (face-valid-attribute-values): Reflow docstring. * cedet/srecode/table.el (srecode-template-table): Fix docstring typo.
* Fix setting family and foundry in set-face-attribute (Bug#5536).Chong Yidong2010-02-061-2/+2
| | | | | | * faces.el (set-face-attribute): Allow calling internal-set-lisp-face-attribute with 'unspecified family and foundry argument (Bug#5536).
* Add 2010 to copyright years.Glenn Morris2010-01-131-1/+1
|
* * x-dnd.el (x-dnd-maybe-call-test-function):Stefan Monnier2009-11-131-4/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * window.el (split-window-vertically): * whitespace.el (whitespace-help-on): * vc-rcs.el (vc-rcs-consult-headers): * userlock.el (ask-user-about-lock-help) (ask-user-about-supersession-help): * type-break.el (type-break-force-mode-line-update): * time-stamp.el (time-stamp-conv-warn): * terminal.el (te-set-output-log, te-more-break, te-filter) (te-sentinel,terminal-emulator): * term.el (make-term, term-exec, term-sentinel, term-read-input-ring) (term-write-input-ring, term-check-source, term-start-output-log): (term-display-buffer-line, term-dynamic-list-completions): (term-ansi-make-term, serial-term): * subr.el (selective-display): * strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer) (strokes-encode-buffer, strokes-xpm-for-compressed-string): * speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info) (speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support) (speedbar-remove-localized-speedbar-support) (speedbar-set-mode-line-format, speedbar-create-tag-hierarchy) (speedbar-update-special-contents, speedbar-buffer-buttons-engine) (speedbar-buffers-line-directory): * simple.el (shell-command-on-region, append-to-buffer) (prepend-to-buffer): * shadowfile.el (shadow-save-todo-file): * scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1) (scroll-bar-maybe-set-window-start): * sb-image.el (speedbar-image-dump): * saveplace.el (save-place-alist-to-file, save-places-to-alist) (load-save-place-alist-from-file): * ps-samp.el (ps-print-message-from-summary): * ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox) (ps-background-image, ps-begin-job, ps-do-despool): * ps-bdf.el (bdf-find-file, bdf-read-font-info): * printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting) (pr-ps-message-from-summary, pr-lpr-message-from-summary): (pr-call-process, pr-file-list, pr-interface-save): * novice.el (disabled-command-function) (enable-command, disable-command): * mouse.el (mouse-buffer-menu-alist): * mouse-copy.el (mouse-kill-preserving-secondary): * macros.el (kbd-macro-query): * ledit.el (ledit-go-to-lisp, ledit-go-to-liszt): * informat.el (batch-info-validate): * ido.el (ido-copy-current-word, ido-initiate-auto-merge): * hippie-exp.el (try-expand-dabbrev-visible): * help-mode.el (help-make-xrefs): * help-fns.el (describe-variable): * generic-x.el (bat-generic-mode-run-as-comint): * finder.el (finder-mouse-select): * find-dired.el (find-dired-sentinel): * filesets.el (filesets-file-close): * files.el (list-directory): * faces.el (list-faces-display, describe-face): * facemenu.el (list-colors-display): * ezimage.el (ezimage-image-association-dump, ezimage-image-dump): * epg.el (epg--process-filter, epg-cancel): * epa.el (epa--marked-keys, epa--select-keys, epa-display-info) (epa--read-signature-type): * emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B) (emerge-file-names): * ehelp.el (electric-helpify): * ediff.el (ediff-regions-wordwise, ediff-regions-linewise): * ediff-vers.el (rcs-ediff-view-revision): * ediff-util.el (ediff-setup): * ediff-mult.el (ediff-append-custom-diff): * ediff-diff.el (ediff-exec-process, ediff-process-sentinel) (ediff-wordify): * echistory.el (Electric-command-history-redo-expression): * dos-w32.el (find-file-not-found-set-buffer-file-coding-system): * disp-table.el (describe-display-table): * dired.el (dired-find-buffer-nocreate): * dired-aux.el (dired-rename-subdir, dired-dwim-target-directory): * dabbrev.el (dabbrev--same-major-mode-p): * chistory.el (list-command-history): * apropos.el (apropos-documentation): * allout.el (allout-obtain-passphrase): (allout-copy-exposed-to-buffer): (allout-verify-passphrase): Use with-current-buffer.
* (face-set-after-frame-default): Add comment.Stefan Monnier2009-11-111-1/+1
|
* * progmodes/grep.el (grep-regexp-alist):Dan Nicolaescu2009-11-111-2/+2
| | | | | | | | | * international/mule-cmds.el (iso-2022-control-alist): * emacs-lisp/timer.el (timer-duration-words): * subr.el (version-separator, version-regexp-alist): * minibuffer.el (completion-styles-alist): * faces.el (face-attribute-name-alist, list-faces-sample-text): Change defvars to defconsts.
* * textmodes/tex-mode.el (tex-alt-dvi-print-command)Dan Nicolaescu2009-11-061-9/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (tex-dvi-print-command, tex-bibtex-command, tex-start-commands) (tex-start-options, slitex-run-command, latex-run-command) (tex-run-command, tex-directory): * textmodes/ispell.el (ispell-html-skip-alists) (ispell-tex-skip-alists, ispell-tex-skip-alists): * textmodes/fill.el (adaptive-fill-first-line-regexp): (adaptive-fill-regexp): * textmodes/dns-mode.el (auto-mode-alist): * progmodes/python.el (interpreter-mode-alist): * progmodes/etags.el (tags-compression-info-list): * progmodes/etags.el (tags-file-name): * net/browse-url.el (browse-url-galeon-program) (browse-url-firefox-program): * mail/sendmail.el (mail-signature-file) (mail-citation-prefix-regexp): * international/mule-conf.el (eight-bit): * international/latexenc.el (latex-inputenc-coding-alist): * international/fontset.el (x-pixel-size-width-font-regexp): * emacs-lisp/warnings.el (warning-type-format): * emacs-lisp/trace.el (trace-buffer): * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map) (emacs-lisp-mode-map): * calendar/holidays.el (holiday-solar-holidays) (holiday-bahai-holidays, holiday-islamic-holidays) (holiday-christian-holidays, holiday-hebrew-holidays) (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2) (hebrew-holidays-1, holiday-oriental-holidays) (holiday-general-holidays): * x-dnd.el (x-dnd-known-types): * tool-bar.el (tool-bar): * startup.el (site-run-file): * shell.el (shell-dumb-shell-regexp): * rfn-eshadow.el (file-name-shadow-tty-properties) (file-name-shadow-properties): * paths.el (remote-shell-program, news-directory): * mouse.el ([C-down-mouse-3]): * menu-bar.el (menu-bar-tools-menu): * jka-cmpr-hook.el (jka-compr-load-suffixes) (jka-compr-mode-alist-additions, jka-compr-compression-info-list) (jka-compr-compression-info-list): * isearch.el (search-whitespace-regexp): * image-file.el (image-file-name-extensions): * find-dired.el (find-ls-option): * files.el (directory-listing-before-filename-regexp) (directory-free-space-args, insert-directory-program) (list-directory-brief-switches, magic-fallback-mode-alist) (magic-fallback-mode-alist, auto-mode-interpreter-regexp) (automount-dir-prefix): * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head) (x-font-regexp-slant, x-font-regexp-weight, face-x-resources) (face-font-registry-alternatives, face-font-registry-alternatives) (face-font-family-alternatives): * facemenu.el (facemenu-add-new-face, facemenu-background-menu) (facemenu-foreground-menu, facemenu-face-menu): * epa-hook.el (epa-file-name-regexp): * dnd.el (dnd-protocol-alist): * textmodes/rst.el (auto-mode-alist): * button.el (default-button): Purecopy strings.
* Fix typos in comments.Juanma Barranquero2009-10-261-1/+1
| | | | * minibuf.c (Fall_completions): Fix typo in docstring.
* Use `called-interactively-p' instead of `interactive-p'.Juanma Barranquero2009-10-021-1/+2
|
* Default light-background background for region face to ns_selection_color ↵Adrian Robert2009-09-271-0/+5
| | | | under NS.
* (modeline, modeline-inactive, modeline-highlight, modeline-buffer-id):Glenn Morris2009-09-021-6/+5
| | | | Mark these face aliases as obsolete.
* (describe-face): Adjust the output format to be more likeGlenn Morris2009-08-311-6/+26
| | | | | describe-variable, and to mention (obsolete) face aliases. Adjust the whitespace so that help-setup-xref works.