1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-04 11:00:45 -08:00
Commit graph

17312 commits

Author SHA1 Message Date
Stefan Monnier
26d9285f32 (bookmark-search-prompt, bookmark-search-timer): Remove.
(bookmark-search-pattern): Move and leave unbound.
(bookmark-bmenu-mode-map): Change binding.
(bookmark-read-search-input): Simplify.
Don't use text-char-description.  Don't error on non-char events.
(bookmark-filtered-alist-by-regexp-only): Remove by folding into the
only caller (i.e. bookmark-bmenu-filter-alist-by-regexp).
(bookmark-bmenu-search): Don't check we're in a bookmark-list buffer.
Use a local var for the timer.
(bookmark-bmenu-cancel-search): Remove by folding into the only caller
(i.e. bookmark-bmenu-search).
2009-11-21 04:43:10 +00:00
Glenn Morris
d73a0317a0 (rmail-mime): Decode in fundamental-mode. (Bug#4993) 2009-11-21 02:36:54 +00:00
Chong Yidong
e572025ff1 * net/browse-url.el (browse-url-default-windows-browser): Use
cygstart for cygwin.
2009-11-20 21:49:46 +00:00
Karl Fogel
6aeaa3dcde * lisp/bookmark.el: Formatting and doc fixes only:
(bookmark-search-delay): Shorten doc string to fit in 80 columns.
  (bookmark-bmenu-search): Wrap to fit within 80 columns.  Minor
    grammar and punctuation fixes in doc string.
  (bookmark-read-search-input): Adjust to fit within 80 columns.
2009-11-20 21:12:54 +00:00
Tassilo Horn
a9b76eec39 * progmodes/cc-cmds.el (c-forward-into-nomenclature)
(c-backward-into-nomenclature): Adapt to subword renaming.

	* subword.el (subword-forward, subword-backward, subword-mark)
	(subword-kill, subword-backward-kill, subword-transpose)
	(subword-downcase, subword-upcase, subword-capitalize)
	(subword-forward-internal, subword-backward-internal): Renamed
	from forward-subword, backward-subword, mark-subword kill-subword,
	backward-kill-subword, transpose-subwords, downcase-subword,
	upcase-subword, capitalize-subword forward-subword-internal,
	backward-subword-internal.
2009-11-20 18:09:29 +00:00
Stefan Monnier
1e7d447511 * bookmark.el (bookmark-search-delay, bookmark-search-prompt): New options.
(bookmark-search-pattern, bookmark-search-timer, bookmark-quit-flag): New vars.
(bookmark-read-search-input, bookmark-filtered-alist-by-regexp-only)
(bookmark-bmenu-filter-alist-by-regexp)
(bookmark-bmenu-goto-bookmark, bookmark-bmenu-cancel-search): New funs.
(bookmark-bmenu-search): New command.
(bookmark-bmenu-mode-map): Bind it.
2009-11-20 15:47:26 +00:00
Chong Yidong
acfad775d2 * cedet/semantic/complete.el (semantic-complete-inline-map): Doc
fix.

* cedet/semantic/idle.el (define-semantic-idle-service)
(semantic-idle-summary-mode, semantic-idle-completions): Doc fix.
2009-11-20 15:11:16 +00:00
Tassilo Horn
ab84bfa00e * progmodes/cc-cmds.el: declare-functioned forward-subword and
backward-subword to quit the byte-compiler.
2009-11-20 14:28:54 +00:00
Tassilo Horn
1f35fda94f * makefile.w32-in: Don't refer cc-subword.elc but subword.elc.
* Makefile.in: Don't refer cc-subword.elc but subword.elc.
2009-11-20 14:05:18 +00:00
Tassilo Horn
653d15547a 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
* progmodes/cc-cmds.el (c-update-modeline)
	(c-forward-into-nomenclature, c-backward-into-nomenclature): Refer
	to subword.el functions instead of cc-subword.el.

	* progmodes/cc-mode.el (subword-mode, c-mode-base-map): Refer to
	subword.el functions instead of cc-subword.el.

	* progmodes/cc-subword.el: Renamed to subword.el.
	* subword.el: Renamed from progmodes/cc-subword.el.
	(subword-mode-map): Renamed from c-subword-mode-map.
	(subword-mode): Renamed from c-subword-mode.
	(global-subword-mode): New global minor mode.
	(forward-subword): Renamed from c-forward-subword.
	(backward-subword): Renamed from c-backward-subword.
	(mark-subword): Renamed from c-mark-subword.
	(kill-subword): Renamed from c-kill-subword.
	(backward-kill-subword): Renamed from c-backward-kill-subword.
	(transpose-subwords): Renamed from c-tranpose-subword.
	(downcase-subword): Renamed from c-downcase-subword.
	(capitalize-subword): Renamed from c-capitalize-subword.
	(forward-subword-internal): Renamed from
	c-forward-subword-internal.
	(backward-subword-internal): Renamed from
	c-backward-subword-internal.
2009-11-20 08:22:32 +00:00
Dan Nicolaescu
8de724f3d1 (vc-deduce-fileset): Allow non-state changing operations
from a dired buffer.
(vc-dired-deduce-fileset): New function.
(vc-root-diff, vc-print-root-log): Use it.
2009-11-20 06:56:16 +00:00
Dan Nicolaescu
9717f1199f (vc-annotate-show-log-revision-at-line): Pass a
nil LIMIT argument to vc-print-log-internal.
2009-11-20 05:44:49 +00:00
Stefan Monnier
02e1b4886f Add missing entry. 2009-11-20 03:19:27 +00:00
Glenn Morris
af4999b85b (ELCFILES): Regenerate. 2009-11-20 02:29:32 +00:00
Chong Yidong
725bff063e * cedet/cedet.el (cedet-menu-map): Re-order menu items.
* cedet/semantic.el: Enable idle-mode menu items only if
global-semantic-idle-scheduler-mode is enabled.
(semantic-default-submodes): Doc fix.

* cedet/semantic/idle.el (global-semantic-idle-scheduler-mode):
When turning off, disable other idle modes.
2009-11-20 01:35:49 +00:00
Jay Belanger
b58edcb60f *** empty log message *** 2009-11-20 01:17:15 +00:00
Stefan Monnier
eff77808b4 (latex-complete-bibtex-cache, latex-complete-alist): New vars.
(latex-string-prefix-p, latex-complete-bibtex-keys, latex-complete-data)
(latex-complete-envnames, latex-complete-refkeys): New functions.
(latex-complete, latex-indent-or-complete): New commands.
2009-11-19 22:55:41 +00:00
Stefan Monnier
d2c9fc4231 * window.el (display-buffer-mark-dedicated): New var.
(display-buffer): Obey it.
* minibuffer.el (minibuffer-completion-help): Use it.
2009-11-19 22:05:40 +00:00
Stefan Monnier
31a1c4779e (symbol-complete): Use completion-in-region. 2009-11-19 22:03:36 +00:00
Stefan Monnier
bed4c97278 (file-cache-add-file): Use push and cons.
(file-cache-delete-file-regexp): Use push.
(file-cache-complete): Use completion-in-region.
2009-11-19 22:02:53 +00:00
Stefan Monnier
8c22699f8b (with-wrapper-hook): Fix thinko. 2009-11-19 20:58:42 +00:00
Stefan Monnier
e3353a780d * hfy-cmap.el (hfy-rgb-file): Use locate-file.
(htmlfontify-load-rgb-file): Remove unnused var `ff'.
Use with-current-buffer and string-to-number.
(hfy-fallback-colour-values): Use assoc-string.
* htmlfontify.el (hfy-face-to-css): Remove unused var `style'.
(hfy-face-at): Remove unused var `found-face'.
(hfy-compile-stylesheet): Remove unused var `css'.
(hfy-fontify-buffer): Remove unused vars `in-style', `invis-button',
and `orig-buffer'.
(hfy-buffer, hfy-copy-and-fontify-file, hfy-parse-tags-buffer):
Use with-current-buffer.
(hfy-text-p): Use expand-file-name and fewer setq.
2009-11-19 20:47:40 +00:00
Stefan Monnier
acca02b053 New files. 2009-11-19 20:21:01 +00:00
Juri Linkov
042b7cc622 (switch-to-completions): Move point to the first
completion when point was at the beginning of the buffer.
2009-11-19 17:40:14 +00:00
Juri Linkov
da205913b7 * find-dired.el (find-name-arg): Remove autoload. (Bug#4387)
* progmodes/grep.el (rgrep): Require `find-dired' for `find-name-arg'.
2009-11-19 17:37:22 +00:00
Chong Yidong
0b8ee42164 * mail/sendmail.el (mail-yank-prefix): Change default to "> ".
(mail-signature): Change default to t.
(mail-from-style): Deprecate `system-default' value.
(mail-insert-from-field): For default value of mail-from-style,
default to `angles' unless `angles' needs quoting and `parens'
does not.
(mail-citation-prefix-regexp): Use citation regexp from
message-mode.
2009-11-19 16:48:30 +00:00
Michael Albinus
4265deabcb * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Set
variables for computing the prompt for reading password.
2009-11-19 09:25:40 +00:00
Glenn Morris
470bce7d54 (dired-compress-file-suffixes): Add ".xz". (Bug#4953) 2009-11-19 07:42:20 +00:00
Glenn Morris
7e705a1d02 (sgml-lexical-context): Declare. 2009-11-19 07:27:46 +00:00
Glenn Morris
27cacd2d42 (newsticker-treeview-treewindow-width)
(newsticker-treeview-listwindow-height): Fix custom type.
2009-11-19 07:13:29 +00:00
Glenn Morris
034460456c Fix entries. 2009-11-19 07:12:12 +00:00
Kenichi Handa
b2f0be0f79 (describe-char-padded-string): Compose with TAB
only if there's a font for CH.
(describe-char): Fix the condition for detecting a trivial
composition.
2009-11-19 01:11:47 +00:00
Alan Mackenzie
b96337b0fa *** empty log message *** 2009-11-18 21:11:40 +00:00
Sam Steingold
efa3639b40 (vc-hg-diff): Fix last patch: do not change directory. 2009-11-18 19:12:23 +00:00
Juanma Barranquero
e0620570f0 * font-setting.el (font-use-system-font): Declare for byte-compiler.
(font-setting-change-default-font): Fix typo in docstring.
2009-11-18 11:26:47 +00:00
Alan Mackenzie
6cc6582e5e *** empty log message *** 2009-11-18 07:06:43 +00:00
Jan Djärv
dfb3c4c640 xsettings.c didn't check font-use-system-font, fix that.
* xsettings.c (something_changedCB, Ffont_get_system_font): Check
use_system_font.
(syms_of_xsettings): DEFVAR font-use-system-font.

* font-setting.el (font-use-system-font): Moved ...

* cus-start.el (all): ... to here.
2009-11-17 20:17:46 +00:00
Michael Albinus
303ffde825 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
modification time.
2009-11-17 14:58:08 +00:00
Michael Albinus
e268e987dc * net/tramp.el (tramp-advice-file-expand-wildcards): Simplify.
Don't set `ad-return-value' if `ad-do-it' doesn't.
2009-11-17 10:38:44 +00:00
Jan Djärv
ad413b3564 menu-bar.el(menu-bar-options-save): Add font-use-system-font. 2009-11-17 09:19:12 +00:00
Jan Djärv
637fa98808 Handle system default font and changing font parameters.
* xterm.h (struct x_display_info): Add atoms and Window for xsettings.

* xterm.c (handle_one_xevent): Call xft_settings_event for
ClientMessage, PropertyNotify and DestroyNotify.
(x_term_init): If we have XFT, get DPI from Xft.dpi.
Call xsettings_initialize.

* xftfont.c (xftfont_fix_match): New function.
(xftfont_open): Call XftDefaultSubstitute before XftFontMatch.
Call xftfont_fix_match after XftFontMatch.

* xfont.c (xfont_driver): Initialize all members.

* xfns.c (x_default_font_parameter): Try font from Ffont_get_system_font.
Do not get font from x_default_parameter if we got one from
Ffont_get_system_font.
(Fx_select_font): Get the defaut font name from :name of FRAME_FONT (f).

* w32font.c (w32font_driver): Initialize all members.

* termhooks.h (enum event_kind): CONFIG_CHANGED_EVENT is new.

* lisp.h: Declare syms_of_xsettings.

* keyboard.c (kbd_buffer_get_event, make_lispy_event): Handle
CONFIG_CHANGED_EVENT.

* ftfont.c (ftfont_filter_properties): New function.

* frame.c (x_set_font): Remove unused variable lval.

* font.h (struct font_driver): filter_properties is new.

* font.c (font_put_extra): Don't return if val is nil, it means
boolean option is off.
(font_parse_fcname): Collect all extra properties in extra_props
and call filter_properties for all drivers with extra_props and
font as parameter.
(font_open_entity): Do not use cache, it does not pick up new fontconfig
settings like hinting.
(font_load_for_lface): If spec had a name in it, store it in entity.

* emacs.c (main): Call syms_of_xsettings

* config.in: HAVE_GCONF is new.

* Makefile.in (GCONF_CFLAGS, GCONF_LIBS): New variables for HAVE_GCONF.
xsettings.o is new.

* menu-bar.el: Put "Use system font" in Option-menu.

* loadup.el: If feature system-font-setting or font-render-setting is
there, load font-setting.

* Makefile.in (ELCFILES): font-settings.el is new.
* font-setting.el: New file.

* NEWS: Mention dynamic font changes (font-use-system-font).

* configure.in: New option: --with(out)-gconf.
Set HAVE_GCONF if we find gconf.
2009-11-17 08:21:23 +00:00
Glenn Morris
2d84f8043a (newsticker--treeview-list-update-faces):
Preserve point in the list buffer.  (Bug#4939)
Use point-at-eol.
(newsticker--treeview-list-update-highlight)
(newsticker--treeview-tree-update-highlight): Use point-at-bol/eol.
2009-11-17 04:41:15 +00:00
Glenn Morris
1d16a255ba (vc-svn-print-log): Fix typo in previous. 2009-11-17 04:35:33 +00:00
Jay Belanger
14467b99c9 (calc-b-prefix-help): Remove references to `calc-symclip'. 2009-11-16 23:35:14 +00:00
Kevin Ryde
497de631d5 * emacs-lisp/lisp-mnt.el (lm-keywords): Allow multi-line keywords.
(lm-keywords-list): Allow comma-only separator like "foo,bar".
Ignore trailing spaces by omit-nulls to split-string (fixing
regression from Emacs 21 due to the incompatible split-string
change).  (Bug #4928.)
2009-11-16 22:59:09 +00:00
Kevin Ryde
e3c39c01f5 * textmodes/flyspell.el (sgml-mode-flyspell-verify): Use
`sgml-lexical-context' instead of own parse for tag.  (Further to
Bug#4511).
2009-11-16 22:53:21 +00:00
Dan Nicolaescu
48b2757534 * vc.el (vc-log-show-limit): Default to 2000.
(vc-print-log-internal): Insert buttons to request more entries
when limiting the output.

* vc-sccs.el (vc-sccs-print-log):
* vc-rcs.el (vc-rcs-print-log):
* vc-cvs.el (vc-cvs-print-log):
* vc-git.el (vc-git-print-log): Return 'limit-unsupported when
LIMIT is non-nil.
2009-11-16 20:36:06 +00:00
Michael Albinus
d3e971853d * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Raise only an
error when `tramp-gvfs-dbus-event-vector' is set.
(tramp-gvfs-maybe-open-connection): Loop over `read-event'.
2009-11-16 20:10:39 +00:00
Stefan Monnier
68d87786ae (vc-rcs-consult-headers): Add missing save-excursion. 2009-11-16 14:41:05 +00:00
Michael Albinus
c0a3970225 * net/dbus.el (dbus-unregister-service): New defun.
(dbus-register-property): Register the handlers for
"org.freedesktop.DBus.Properties" for SERVICE.
(dbus-property-handler): Fix docstring.
2009-11-16 14:25:43 +00:00