summaryrefslogtreecommitdiff
path: root/lisp/faces.el
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* * faces.el (help-argument-name): Define it here instead ofChong Yidong2009-08-131-0/+3
| | | | | | | help-fns.el, because in daemon mode help-fns.el may be loaded when faces are still uninitialized (Bug#1078). * help-fns.el (help-argument-name): Move defface to faces.el.
* * faces.el (x-handle-named-frame-geometry): Ensure that we haveChong Yidong2009-06-271-22/+19
| | | | opened an X connection before calling x-get-resource (Bug#3194).
* (set-face-attribute): Fix handling of :family "FOUNDRY-FAMILY".Kenichi Handa2009-05-191-2/+2
|
* * faces.el (x-handle-named-frame-geometry): Ignore errors fromChong Yidong2009-05-071-1/+8
| | | | | x-get-resource due to not yet opened X connection. This is a temporary workaround for Bug#3194.
* (frame-set-background-mode): Window system framesJason Rumney2009-04-131-17/+11
| | | | | default to light. Use default in cases where specified color does not exist (Bug#2969).
* set-face-attributes-from-resources, face-set-after-frame-default:David Reitter2009-03-161-2/+2
| | | | Do not import X resources on NS because NS does not have system-wide X resources.
* (face-valid-attribute-values): No stipple on w32. (Bug#884)Jason Rumney2009-01-131-1/+1
|
* (describe-face): Ignore anonymous faces.Chong Yidong2009-01-111-40/+44
|
* (x-font-family-list): Remove entirely.Chong Yidong2009-01-101-12/+0
|
* (face-valid-attribute-values): Use string as value for :familyChong Yidong2009-01-091-1/+13
| | | | | | attribute. Now, font-family-list returns a list of strings. (x-font-family-list): Obsolete compatibility version of function from xfaces.c.
* Add 2009 to copyright years.Glenn Morris2009-01-051-1/+1
|
* * align.el:Lute Kamstra2008-12-031-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * allout.el: * apropos.el: * arc-mode.el: * autoinsert.el: * avoid.el: * battery.el: * bookmark.el: * buff-menu.el: * calculator.el: * chistory.el: * cmuscheme.el: * comint.el: * compare-w.el: * dabbrev.el: * delim-col.el: * desktop.el: * diff-mode.el: * diff.el: * dired-aux.el: * dired-x.el: * dired.el: * dos-vars.el: * ediff-diff.el: * ediff-help.el: * ediff-init.el: * ediff-merg.el: * ediff-mult.el: * ediff-ptch.el: * ediff-vers.el: * ediff-wind.el: * ediff.el: * emerge.el: * facemenu.el: * faces.el: * ffap.el: * filecache.el: * find-dired.el: * font-core.el: * font-lock.el: * forms.el: * fringe.el: * help-at-pt.el: * hippie-exp.el: * ido.el: * image-file.el: * imenu.el: * indent.el: * info.el: * isearchb.el: * iswitchb.el: * jit-lock.el: * jka-compr.el: * log-edit.el: * lpr.el: * ls-lisp.el: * man.el: * menu-bar.el: * midnight.el: * mouse-sel.el: * mouse.el: * msb.el: * outline.el: * paren.el: * pcmpl-cvs.el: * pcmpl-gnu.el: * pcomplete.el: * pcvs-info.el: * pcvs-parse.el: * printing.el: * ps-mule.el: * ps-print.el: * replace.el: * ruler-mode.el: * saveplace.el: * sb-image.el: * scroll-bar.el: * sha1.el: * shadowfile.el: * shell.el: * sort.el: * speedbar.el: * strokes.el: * tempo.el: * term.el: * terminal.el: * time-stamp.el: * time.el: * tree-widget.el: * type-break.el: * vc-cvs.el: * vc-hg.el: * vc-mcvs.el: * vc-rcs.el: * vc-sccs.el: * vc.el: * view.el: * w32-vars.el: * whitespace.el: * wid-edit.el: Remove leading * from docstrings of defcustoms, deffaces, defconsts and defuns.
* * faces.el (face-font-family-alternatives): Add "CMU Typewriter Text"Stefan Monnier2008-10-261-1/+1
| | | | | | to the courier family. * textmodes/tex-mode.el (tex-verbatim): Don't use "monospace" which is usually not serif'd and hence rather unlike verbatim's printed output.
* (face-spec-set-2): Don't pass invalid attributes to set-face-attribute.Chong Yidong2008-10-171-1/+8
|
* (set-face-attribute): Set family and foundry before other attributes.Chong Yidong2008-10-141-44/+28
| | | | (face-spec-set-2): Pass unmodified args to set-face-attribute.
* (x-create-frame-with-faces): Don't call tool-bar-setup.Chong Yidong2008-10-121-5/+0
|
* (x-create-frame-with-faces): Undo previous change.Dan Nicolaescu2008-10-061-2/+1
|
* (x-create-frame-with-faces): Only setup the toolbar ifDan Nicolaescu2008-10-041-1/+2
| | | | tool-bar-mode is on.
* (inhibit-frame-set-background-mode): New var.Chong Yidong2008-10-021-72/+78
| | | | (frame-set-background-mode): Use it to avoid a loop in face-spec-recalc.
* (describe-face): Print relative file name in help buffer.Martin Rudalics2008-09-241-1/+1
|
* (describe-face): Use find-lisp-object-file-name insteadMartin Rudalics2008-09-011-4/+1
| | | | of describe-simplify-lib-file-name.
* (face-valid-attribute-values): Fix handling the valueKenichi Handa2008-08-061-4/+4
| | | | of (font-family-list) and font-XXX-table.
* faces.el:face-set-after-frame-default: treat ns as other window systemsAdrian Robert2008-07-281-1/+1
|
* Remove support for Mac Carbon.Dan Nicolaescu2008-07-271-10/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * mactoolbox.c: * macterm.h: * macterm.c: * macselect.c: * macmenu.c: * macgui.h: * macfns.c: * mac.c: Remove file. * s/darwin.h: * m/intel386.h: * xfaces.c: * xdisp.c: * window.c: * tparam.c: * termhooks.h: * termcap.c: * term.c: * syssignal.h: * sysselect.h: * sysdep.c: * process.c: * lread.c: * lisp.h: * keyboard.c: * image.c: * fringe.c: * frame.h: * frame.c: * fontset.c: * font.h: * font.c: * fns.c: * fileio.c: * emacs.c: * dispnew.c: * dispextern.h: * config.in: * atimer.c: * Makefile.in: Remove code for Carbon * erc.el: Remove code for Carbon. Remove support for Mac Carbon. * term/mac-win.el: Remove file * international/mule-cmds.el: * version.el: * startup.el: * simple.el: * mwheel.el: * mouse.el: * loadup.el: * isearch.el: * info.el: * frame.el: * faces.el: * disp-table.el: * cus-start.el: * cus-face.el: * cus-edit.el: * Makefile.in: Remove code for Carbon. Remove support for Mac Carbon. * makefile.w32-in: * emacsclient.c: Remove code for Carbon. * PROBLEMS: * MACHINES: Remove mentions of Mac Carbon. * ns-emacs.texi: * faq.texi: Remove mentions of Mac Carbon. * os.texi: * frames.texi: * display.texi: Remove mentions of Mac Carbon. * xresources.texi: Remove mentions of Mac Carbon. * make-tarball.txt: * admin.el: * FOR-RELEASE: * CPP-DEFINES: Remove mentions of Mac Carbon. Remove support for Mac Carbon. * mac: Remove directory. * make-dist: * configure.in: * README: * Makefile.in: * INSTALL: Remove code for Carbon. * configure: Regenerate.
* merging Emacs.app (NeXTstep port)Adrian Robert2008-07-151-9/+9
|
* (x-create-frame-with-faces): Don't pass parameters thatChong Yidong2008-07-101-9/+16
| | | | | | are set later to x-create-frame. (face-set-after-frame-default): Apply X resources for non-default faces.
* (face-set-after-frame-default): Simplify. Don't applyChong Yidong2008-07-081-62/+36
| | | | | | | | frame-specific X resource settings. Set faces using a list of frame parameters explicitly passed to the calling function (e.g. make-frame). (x-create-frame-with-faces, tty-create-frame-with-faces): Supply explicit frame parameter list to face-set-after-frame-default.
* (face-name-history): New variable.Juri Linkov2008-06-301-4/+12
| | | | | | | | | | (make-face, make-empty-face): Replace interactive spec "S" with `read-from-minibuffer' where `read' arg is t and `hist' arg is `face-name-history'. (read-face-name): Set `hist' arg of `completing-read-multiple' to `face-name-history'. (list-faces-display): Use `read-regexp' instead of `read-string' to read regexp.
* (inhibit-face-set-after-frame-default): Var deleted.Chong Yidong2008-06-281-32/+27
| | | | (set-face-attribute, face-set-after-frame-default)): Don't use it.
* (set-face-attribute): Doc fix.Chong Yidong2008-06-251-1/+1
|
* (face-font-family-alternatives, variable-pitch): UseAndreas Schwab2008-06-251-3/+3
| | | | "Sans Serif", not "Sans-Serif".
* (face-font-family-alternatives, variable-pitch): Change "Sans" to theChong Yidong2008-06-241-3/+5
| | | | canonical name "Sans-Serif".
* (fixed-pitch): Use "Monospace" family.Chong Yidong2008-06-211-3/+5
| | | | | | (variable-pitch): Use "Sans" family. (face-font-family-alternatives): Define alternatives for "Sans" and "Monospace".
* * w32fns.c, xfns.c (Qfont_param): New var.Stefan Monnier2008-06-191-1/+2
| | | | | | | (syms_of_w32fns): Initialize it. (x_default_font_parameter): Record explicit `font' into `font-parameter'. * faces.el (face-set-after-frame-default): Re-apply explicit `font' frame parameters after setting up the `default' face.
* (face-set-after-frame-default): Don't exclude `default'.Stefan Monnier2008-06-181-1/+4
|
* (set-face-attribute): Fix previous change.Kenichi Handa2008-06-131-0/+1
|
* (set-face-attribute): Parse "FOUNDRY-FAMILY" here.Kenichi Handa2008-06-131-20/+12
| | | | | | | (face-x-resources): Add :foundry. (face-valid-attribute-values): Likewise. (face-attribute-name-alist): Likewise. (describe-face): Likewise.
* (set-face-attribute): Parse "FOUNDRY-FAMILY" form here.Kenichi Handa2008-06-131-19/+50
|