bpt/emacs.git
14 years agoAdd etc/images/mpc directory.
Glenn Morris [Tue, 1 Dec 2009 17:06:30 +0000 (17:06 +0000)]
Add etc/images/mpc directory.

14 years ago(window--display-buffer-2): Fix previous changes.
Glenn Morris [Tue, 1 Dec 2009 17:04:55 +0000 (17:04 +0000)]
(window--display-buffer-2): Fix previous changes.

14 years agoDelete trailing whitespace.
Chong Yidong [Tue, 1 Dec 2009 16:21:36 +0000 (16:21 +0000)]
Delete trailing whitespace.

14 years ago* mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.
Chong Yidong [Tue, 1 Dec 2009 16:20:59 +0000 (16:20 +0000)]
* mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.

* gnus/message.el (message-setup-hook, message-send-hook): Make into aliases
for mail-*-hook.

14 years agoAdd arch tagline
Miles Bader [Tue, 1 Dec 2009 09:28:22 +0000 (09:28 +0000)]
Add arch tagline

14 years ago(font_load_for_lface, font_open_by_name): Don't store name
YAMAMOTO Mitsuharu [Tue, 1 Dec 2009 09:07:36 +0000 (09:07 +0000)]
(font_load_for_lface, font_open_by_name): Don't store name
if entity is Qnil.

14 years ago(ELCFILES): Add mpc.elc.
Glenn Morris [Tue, 1 Dec 2009 07:51:02 +0000 (07:51 +0000)]
(ELCFILES): Add mpc.elc.

14 years agoNew file.
Glenn Morris [Tue, 1 Dec 2009 07:49:26 +0000 (07:49 +0000)]
New file.

14 years agoAdd missing entry.
Glenn Morris [Tue, 1 Dec 2009 07:47:11 +0000 (07:47 +0000)]
Add missing entry.

14 years ago(Searching): Use mh vfolder_format and fix typo in database path for
Bill Wohler [Tue, 1 Dec 2009 07:10:17 +0000 (07:10 +0000)]
(Searching): Use mh vfolder_format and fix typo in database path for
mairix example. Specify -q in namazu example since namazu is
excessively garrulous.

14 years ago(mh-mairix-execute-search): Use mh vfolder_format. Fix typo in
Bill Wohler [Tue, 1 Dec 2009 07:07:23 +0000 (07:07 +0000)]
(mh-mairix-execute-search): Use mh vfolder_format. Fix typo in
database path.
(mh-namazu-execute-search): Specify -q in example since namazu is
excessively garrulous.

14 years ago* mpc.el: New file.
Stefan Monnier [Tue, 1 Dec 2009 04:04:33 +0000 (04:04 +0000)]
* mpc.el: New file.

14 years ago(window-to-use): Define for compiler.
Glenn Morris [Tue, 1 Dec 2009 03:15:01 +0000 (03:15 +0000)]
(window-to-use): Define for compiler.

14 years ago(byte-compile-save-excursion): Make message consistent with others (no
Glenn Morris [Tue, 1 Dec 2009 03:14:02 +0000 (03:14 +0000)]
(byte-compile-save-excursion): Make message consistent with others (no
final period).

14 years ago(rmail-mime-handle): Doc fix.
Glenn Morris [Tue, 1 Dec 2009 03:13:03 +0000 (03:13 +0000)]
(rmail-mime-handle): Doc fix.
(rmail-mime-show): Downcase the encoding.  (Bug#5070)

14 years agoUpdate maintainer per comment from HN in bug#5056: "I no longer
Glenn Morris [Tue, 1 Dec 2009 03:12:13 +0000 (03:12 +0000)]
Update maintainer per comment from HN in bug#5056: "I no longer
actively maintain savehist-mode".

14 years agoMention usertags.
Glenn Morris [Tue, 1 Dec 2009 03:10:31 +0000 (03:10 +0000)]
Mention usertags.

14 years agoMake vc-print-log buttons work.
Dan Nicolaescu [Tue, 1 Dec 2009 00:35:43 +0000 (00:35 +0000)]
Make vc-print-log buttons work.
* log-view.el (log-view-mode-map):  Inherit from from widget-keymap.

14 years ago* savehist.el (savehist-autosave-interval): Allow setting to nil
Juanma Barranquero [Mon, 30 Nov 2009 23:39:04 +0000 (23:39 +0000)]
* savehist.el (savehist-autosave-interval): Allow setting to nil
  through customize.  (Bug#5056)

14 years agoFix references to jit-lock properties.
Juanma Barranquero [Mon, 30 Nov 2009 22:51:34 +0000 (22:51 +0000)]
Fix references to jit-lock properties.
* progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
  Refer to jit-lock-defer-multiline, not jit-lock-multiline.
  (perl-font-lock-special-syntactic-constructs):
  Quote jit-lock-defer-multiline property.

14 years agoAdd Bug#4698 to 2009-11-29 change. By Reiner Steib.
Katsumi Yamaoka [Mon, 30 Nov 2009 22:11:19 +0000 (22:11 +0000)]
Add Bug#4698 to 2009-11-29 change.  By Reiner Steib.

14 years ago(multi-isearch-search-fun): Always provide a non-nil
Juri Linkov [Mon, 30 Nov 2009 21:45:30 +0000 (21:45 +0000)]
(multi-isearch-search-fun): Always provide a non-nil
value `buffer' of `multi-isearch-next-buffer-current-function'.
Use `(current-buffer)' when `buffer' is nil.
(multi-isearch-next-buffer-from-list): Don't fallback to
`(current-buffer)' when `buffer' is nil.  (Bug#4947)

14 years ago(vc-git-registered): Call vc-git-root only once.
Dan Nicolaescu [Mon, 30 Nov 2009 21:21:35 +0000 (21:21 +0000)]
(vc-git-registered): Call vc-git-root only once.

14 years ago(print_preprocess): Preprocess the key_and_value table of
Stefan Monnier [Mon, 30 Nov 2009 21:08:25 +0000 (21:08 +0000)]
(print_preprocess): Preprocess the key_and_value table of
hashtables, even tho they're "hidden" (bug#5082).

14 years ago(multi-isearch-read-buffers): Move canonicalization
Juri Linkov [Mon, 30 Nov 2009 20:27:44 +0000 (20:27 +0000)]
(multi-isearch-read-buffers): Move canonicalization
of buffers with `get-buffer' to `multi-isearch-buffers'.
(multi-isearch-buffers, multi-isearch-buffers-regexp):
Canonicalize BUFFERS with `get-buffer'.  Doc fix.
(multi-isearch-files, multi-isearch-files-regexp): Canonicalize
FILES with `expand-file-name' converting relative file names
to absolute.  Doc fix.  (Bug#4727)

14 years ago(multi-isearch-read-buffers)
Juri Linkov [Mon, 30 Nov 2009 19:42:16 +0000 (19:42 +0000)]
(multi-isearch-read-buffers)
(multi-isearch-read-matching-buffers): New functions.
(multi-isearch-buffers, multi-isearch-buffers-regexp):
Use them in the `interactive' spec.  Doc fix.
(multi-isearch-read-files, multi-isearch-read-matching-files):
New functions.
(multi-isearch-files, multi-isearch-files-regexp):
Use them in the `interactive' spec.  Doc fix.  (Bug#4725)

14 years ago(doc-view-continuous):
Juri Linkov [Mon, 30 Nov 2009 16:14:48 +0000 (16:14 +0000)]
(doc-view-continuous):
Rename from `doc-view-continuous-mode'.
(doc-view-menu): Move "Toggle display" to the top.
Add submenu "Continuous" with radio buttons "Off"/"On"
and "Save as Default".
(doc-view-scroll-up-or-next-page)
(doc-view-scroll-down-or-previous-page)
(doc-view-next-line-or-next-page)
(doc-view-previous-line-or-previous-page): Rename
`doc-view-continuous-mode' to `doc-view-continuous'.  (Bug#4896)

14 years ago(comint-mode-map): Rebind `M-r' from
Juri Linkov [Mon, 30 Nov 2009 16:11:18 +0000 (16:11 +0000)]
(comint-mode-map): Rebind `M-r' from
`comint-previous-matching-input' to
`comint-history-isearch-backward-regexp'.
Unbind `M-s' to allow global key binding `M-s'.
Add menu items for `comint-history-isearch-backward' and
`comint-history-isearch-backward-regexp'.  (Bug#3746)

14 years ago(perform-replace): Let-bind recenter-last-op to nil.
Juri Linkov [Mon, 30 Nov 2009 16:05:47 +0000 (16:05 +0000)]
(perform-replace): Let-bind recenter-last-op to nil.
For def=recenter, replace `recenter' with `recenter-top-bottom'
that is called with `this-command' and `last-command' let-bound
to `recenter-top-bottom'.  When the last `def' was not `recenter',
set `recenter-last-op' to nil.  (Bug#4981)

14 years agoMinor cleanup and simplification.
Stefan Monnier [Mon, 30 Nov 2009 13:49:13 +0000 (13:49 +0000)]
Minor cleanup and simplification.
* filecache.el (file-cache-add-directory, file-cache-add-directory-recursively)
(file-cache-add-from-file-cache-buffer)
(file-cache-delete-file-regexp, file-cache-delete-directory)
(file-cache-files-matching-internal, file-cache-display): Use dolist.
(file-cache-temp-minibuffer-message): Delete function.
(file-cache-minibuffer-complete): Use minibuffer-message instead.

14 years ago(perl-font-lock-special-syntactic-constructs):
Stefan Monnier [Mon, 30 Nov 2009 13:43:51 +0000 (13:43 +0000)]
(perl-font-lock-special-syntactic-constructs):
Don't signal an error when bumping into EOB in tr, s, or y.

14 years ago(Highlight Interactively): Actually a list of
Juri Linkov [Sun, 29 Nov 2009 23:57:18 +0000 (23:57 +0000)]
(Highlight Interactively): Actually a list of
default faces is pre-loaded into a list of default values
instead of the history.

14 years ago(describe-char-unidata-list): Use lowercase name
Juri Linkov [Sun, 29 Nov 2009 23:55:57 +0000 (23:55 +0000)]
(describe-char-unidata-list): Use lowercase name
for "Unicode name" like in other tags.

14 years ago(fancy-about-text): Fix wording of Guided Tour. (Bug#4960)
Juri Linkov [Sun, 29 Nov 2009 23:54:41 +0000 (23:54 +0000)]
(fancy-about-text): Fix wording of Guided Tour.  (Bug#4960)

14 years ago(ediff-minibuffer-with-setup-hook): New compatibility macro.
Juri Linkov [Sun, 29 Nov 2009 23:52:16 +0000 (23:52 +0000)]
(ediff-minibuffer-with-setup-hook): New compatibility macro.
(ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'.

14 years ago* gnus-sum.el (gnus-recenter): Use `recenter-top-bottom'
Juri Linkov [Sun, 29 Nov 2009 23:38:18 +0000 (23:38 +0000)]
* gnus-sum.el (gnus-recenter): Use `recenter-top-bottom'
when it is fboundp in GNU Emacs 23.1.
Put `isearch-scroll' property on `gnus-recenter'. (Bug#4981)

14 years agoAdd defcustom to define the cycling order of `recenter-top-bottom'. (Bug#4981)
Juri Linkov [Sun, 29 Nov 2009 23:34:05 +0000 (23:34 +0000)]
Add defcustom to define the cycling order of `recenter-top-bottom'. (Bug#4981)

* window.el (recenter-last-op): Doc fix.
(recenter-positions): New defcustom.
(recenter-top-bottom): Rewrite to use `recenter-positions'.
(move-to-window-line-top-bottom): Rewrite to use `recenter-positions'.

14 years ago* tramp.texi (Remote processes): Improve eshell example with "su"
Michael Albinus [Sun, 29 Nov 2009 20:40:51 +0000 (20:40 +0000)]
* tramp.texi (Remote processes): Improve eshell example with "su"
and "sudo" commands.

14 years ago* eshell/esh-util.el (top): Require also Tramp when compiling.
Michael Albinus [Sun, 29 Nov 2009 20:19:48 +0000 (20:19 +0000)]
* eshell/esh-util.el (top): Require also Tramp when compiling.
(eshell-directory-files-and-attributes): Check for FTP remote
connection.
(eshell-parse-ange-ls): Let-bind `ange-ftp-name-format',
`ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'.
(eshell-file-attributes): Handle ".".  Return `entry'.

14 years ago* eshell/em-unix (eshell/whoami): Make it a defun but a defalias.
Michael Albinus [Sun, 29 Nov 2009 20:10:29 +0000 (20:10 +0000)]
* eshell/em-unix (eshell/whoami): Make it a defun but a defalias.
(eshell/su): Flatten args.  Apply better args parsing.  Use "cd".
(eshell/sudo): Flatten args.  Let-bind `default-directory'.

14 years ago* net/tramp.el (tramp-maybe-open-connection): Open the remote
Michael Albinus [Sun, 29 Nov 2009 20:05:23 +0000 (20:05 +0000)]
* net/tramp.el (tramp-maybe-open-connection): Open the remote
shell with "exec" when possible.  This prevents trailing prompts
in `start-file-process'.

14 years ago* net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
Michael Albinus [Sun, 29 Nov 2009 20:04:08 +0000 (20:04 +0000)]
* net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
(ange-ftp-directory-files-and-attributes)
(ange-ftp-real-directory-files-and-attributes): New defuns.

14 years agoframe.c (frame_make_pointer_invisible)
Jan Djärv [Sun, 29 Nov 2009 09:48:50 +0000 (09:48 +0000)]
frame.c (frame_make_pointer_invisible)
(frame_make_pointer_visible): Declare f before statements.

14 years agoTry and remove assumptions about point-min==1.
Stefan Monnier [Sat, 28 Nov 2009 21:32:06 +0000 (21:32 +0000)]
Try and remove assumptions about point-min==1.
* nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1.
(rng-compute-mode-line-string): Show the validation percentage in
terms of the narrowed text, not the widened text.
(rng-do-some-validation): Don't catch internal errors when debugging.
(rng-first-error): Simplify.
(rng-after-change-function): Remove work around.  AFAIK the bug has
been fixed a while ago.

14 years ago* sem-user.texi (Semantic mode): Link to Idle Scheduler.
Chong Yidong [Sat, 28 Nov 2009 21:11:25 +0000 (21:11 +0000)]
* sem-user.texi (Semantic mode): Link to Idle Scheduler.

14 years ago* semantic.texi (Analyzer Internals): Rename from Analyzer.
Chong Yidong [Sat, 28 Nov 2009 21:09:00 +0000 (21:09 +0000)]
* semantic.texi (Analyzer Internals): Rename from Analyzer.

* sem-user.texi (Semantic mode user commands): Fix key syntax.
Document semantic-complete-analyze-inline.
(Semanticdb search debugging commands): Minor clarification.
(Analyzer, Smart Completion, Smart Summary, Smart Jump)
(Analyzer Debug) New nodes, adapted from the upstream Semantic user
manual.

14 years ago(image-minor-mode): Exit more gracefully when the image
Stefan Monnier [Sat, 28 Nov 2009 20:45:19 +0000 (20:45 +0000)]
(image-minor-mode): Exit more gracefully when the image
cannot be displayed (e.g. when doing C-x C-f some-new-file.svg RET).

14 years ago* erc.texi (Development): Correction to git tutorial url.
Kevin Ryde [Sat, 28 Nov 2009 20:36:05 +0000 (20:36 +0000)]
* erc.texi (Development): Correction to git tutorial url.

14 years ago(Man-completion-table): Make it easier to enter "<sec> <name>".
Stefan Monnier [Sat, 28 Nov 2009 20:28:51 +0000 (20:28 +0000)]
(Man-completion-table): Make it easier to enter "<sec> <name>".

14 years ago* cl.texi (Porting Common Lisp): Update EIEIO dead ftp link to a
Kevin Ryde [Sat, 28 Nov 2009 20:20:39 +0000 (20:20 +0000)]
* cl.texi (Porting Common Lisp): Update EIEIO dead ftp link to a
@pxref, now eieio is in emacs.

14 years ago* eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
Stefan Monnier [Sat, 28 Nov 2009 17:06:30 +0000 (17:06 +0000)]
* eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
`cd' doesn't always do it for us (bug#5067).
* pcomplete.el (pcomplete-entries): Revert change installed mistakenly
on 2009-10-25 as part of some other change (bug#5067).

14 years ago(skip_invisible): Fix a typo in a comment.
Eli Zaretskii [Sat, 28 Nov 2009 10:50:31 +0000 (10:50 +0000)]
(skip_invisible): Fix a typo in a comment.

14 years ago(Special Properties): More accurate description of what the `cursor'
Eli Zaretskii [Sat, 28 Nov 2009 10:46:14 +0000 (10:46 +0000)]
(Special Properties): More accurate description of what the `cursor'
property does.

14 years ago[!AUTO_DEPEND]: Remove outdated comment about omitted dependencies on lisp.h.
Eli Zaretskii [Sat, 28 Nov 2009 10:24:51 +0000 (10:24 +0000)]
[!AUTO_DEPEND]: Remove outdated comment about omitted dependencies on lisp.h.

14 years ago(byte-compile-warning-types): New type `suspicious'.
Stefan Monnier [Fri, 27 Nov 2009 22:03:04 +0000 (22:03 +0000)]
(byte-compile-warning-types): New type `suspicious'.
(byte-compile-warnings): Use byte-compile-warning-types.
(byte-compile-save-excursion): Warn about use of set-buffer right
after save-excursion.

14 years ago(gud-basic-call): Don't only save the buffer but the excursion as well.
Stefan Monnier [Fri, 27 Nov 2009 19:31:57 +0000 (19:31 +0000)]
(gud-basic-call): Don't only save the buffer but the excursion as well.

14 years agoDon't crash if an X terminal is deleted with force == t.
Jan Djärv [Fri, 27 Nov 2009 17:27:04 +0000 (17:27 +0000)]
Don't crash if an X terminal is deleted with force == t.

* xftfont.c (xftfont_end_for_frame): Just return if dpyinfo->display
is NULL.

* xterm.c (x_delete_terminal): Set dpyinfo->display to NULL.

* frame.c (frame_make_pointer_invisible)
(frame_make_pointer_visible): Just return if there isn't any selected
frame.

14 years ago* NEWS: New functions eshell/su and eshell/sudo.
Michael Albinus [Fri, 27 Nov 2009 16:38:57 +0000 (16:38 +0000)]
* NEWS: New functions eshell/su and eshell/sudo.

14 years ago* eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,
Michael Albinus [Fri, 27 Nov 2009 16:29:03 +0000 (16:29 +0000)]
* eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,
providing a Tramp related implementation of "su" and "sudo".
(eshell-unix-initialize): Add "su" and "sudo".

14 years agoserach.c (simple_search): Remove warning by making *p const.
Jan Djärv [Fri, 27 Nov 2009 15:44:30 +0000 (15:44 +0000)]
serach.c (simple_search): Remove warning by making *p const.

14 years ago(socks-send-command): Convert binary request to
Daiki Ueno [Fri, 27 Nov 2009 07:35:14 +0000 (07:35 +0000)]
(socks-send-command): Convert binary request to
unibyte before sending.  This fixes mishandling of some port
numbers such as 129.

14 years ago(describe-bindings-internal): Remove `interactive'.
Stefan Monnier [Fri, 27 Nov 2009 04:24:47 +0000 (04:24 +0000)]
(describe-bindings-internal): Remove `interactive'.

14 years ago(Man-completion-table): Trim a terminating "(".
Stefan Monnier [Fri, 27 Nov 2009 04:08:04 +0000 (04:08 +0000)]
(Man-completion-table): Trim a terminating "(".
Remove the space between name page a section.
Add the command's description on the `help-echo' property.
Remove `process-connection-type' binding since it's unused by call-process.
Provide completion for the "<section> <name>" format as well.
(Man-default-man-entry): Remove spurious var shadowing the argument.

14 years ago(url-generic-parse-url): Bind deactivate-mark.
Stefan Monnier [Fri, 27 Nov 2009 01:27:04 +0000 (01:27 +0000)]
(url-generic-parse-url): Bind deactivate-mark.

14 years ago* commands.texi (Misc Events): vindex mouse-wheel-up-event and
Kevin Ryde [Thu, 26 Nov 2009 23:59:14 +0000 (23:59 +0000)]
* commands.texi (Misc Events): vindex mouse-wheel-up-event and
mouse-wheel-down-event, the closest thing to a definition for them.
* os.texi (Startup Summary): vindex inhibit-startup-message and
inhibit-splash-screen.
(Command-Line Arguments): vindex argv.
(Suspending Emacs): vindex suspend-tty-functions and
resume-tty-functions.  Don't want to index every hook, but having
the programming ones is helpful.

14 years ago* os.texi (Startup Summary): vindex inhibit-startup-message and
Kevin Ryde [Thu, 26 Nov 2009 23:58:23 +0000 (23:58 +0000)]
* os.texi (Startup Summary): vindex inhibit-startup-message and
inhibit-splash-screen.
(Command-Line Arguments): vindex argv.
(Suspending Emacs): vindex suspend-tty-functions and
resume-tty-functions.  Don't want to index every hook, but having
the programming ones is helpful.

14 years ago* commands.texi (Misc Events): vindex mouse-wheel-up-event and
Kevin Ryde [Thu, 26 Nov 2009 23:57:40 +0000 (23:57 +0000)]
* commands.texi (Misc Events): vindex mouse-wheel-up-event and
mouse-wheel-down-event, the closest thing to a definition for them.

14 years ago* sha1.el (sha1-string-external): default-directory "/" in case
Kevin Ryde [Thu, 26 Nov 2009 23:39:32 +0000 (23:39 +0000)]
* sha1.el (sha1-string-external): default-directory "/" in case
otherwise non-existent.  process-connection-type pipe for touch of
efficiency recommended by elisp manual.  (An aside in Bug#3911.)

14 years ago* log-view.el: Add "Keywords: tools", since its other keywords
Kevin Ryde [Thu, 26 Nov 2009 23:19:53 +0000 (23:19 +0000)]
* log-view.el: Add "Keywords: tools", since its other keywords
aren't in finder-known-keywords, and following vc.el.

14 years ago* MORE.STUFF: emacswiki ElispArea url "wiki.pl" -> "wiki".
Kevin Ryde [Thu, 26 Nov 2009 22:35:47 +0000 (22:35 +0000)]
* MORE.STUFF: emacswiki ElispArea url "wiki.pl" -> "wiki".
Aubrey Jaffer's texinfo R5RS moved to
http://groups.csail.mit.edu/mac/ftpdir/scm/r5rs.info.tar.gz
(per http://people.csail.mit.edu/jaffer/Scheme.html).

14 years agoMisc coding convention cleanups.
Stefan Monnier [Thu, 26 Nov 2009 16:24:36 +0000 (16:24 +0000)]
Misc coding convention cleanups.
* htmlfontify.el (hfy-init-kludge-hook): Rename from hfy-init-kludge-hooks.
(hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at)
(hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps)
(hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist and push.
(hfy-slant, hfy-weight): Use tables rather than code.
(hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor)
(hfy-face-to-style-i, hfy-fontify-buffer): Use `case'.
(hfy-face-attr-for-class): Initialize `face-spec' directly.
(hfy-face-to-css): Remove `nconc' with single arg.
(hfy-p-to-face-lennart): Use `or'.
(hfy-face-at): Hoist common code.  Remove spurious quotes in `case'.
(hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce.
(hfy-compile-stylesheet, hfy-merge-adjacent-spans)
(hfy-compile-face-map, hfy-parse-tags-buffer): Use push.
(hfy-force-fontification): Use run-hooks.

14 years agoVarious minor fixes.
Stefan Monnier [Thu, 26 Nov 2009 15:22:27 +0000 (15:22 +0000)]
Various minor fixes.
* htmlfontify.el (hfy-default-header): Add toggle_invis since
Javascript belongs in the header, not the body.
(hfy-javascript): Remove.
(hfy-fontify-buffer): Don't insert it any more.
(hfy-face-at): Handle (face0 face1 face2) style face properties.
Fix bug in invis handling when there were no invis props in a chunk.

14 years ago(vc-bzr-annotate-command): Make operation asynchronous.
Stefan Monnier [Thu, 26 Nov 2009 14:50:28 +0000 (14:50 +0000)]
(vc-bzr-annotate-command): Make operation asynchronous.

14 years agoMention Metacity hang on Emacs resize.
Jan Djärv [Thu, 26 Nov 2009 07:15:33 +0000 (07:15 +0000)]
Mention Metacity hang on Emacs resize.

14 years ago(finder-mode-map): Add a menu.
Dan Nicolaescu [Thu, 26 Nov 2009 03:27:10 +0000 (03:27 +0000)]
(finder-mode-map): Add a menu.

14 years ago(power_letter): Remove duplicate const.
Dan Nicolaescu [Thu, 26 Nov 2009 03:24:41 +0000 (03:24 +0000)]
(power_letter): Remove duplicate const.

14 years ago* verilog-mode.el (verilog-at-struct-p): Support "signed" and
Dan Nicolaescu [Thu, 26 Nov 2009 03:18:31 +0000 (03:18 +0000)]
* verilog-mode.el (verilog-at-struct-p): Support "signed" and
"unsigned" structs.

(verilog-leap-to-head, verilog-backward-token): Handle "disable
fork" statement better.

* verilog-mode.el (verilog-auto-insert-lisp, verilog-delete-auto)
(verilog-delete-empty-auto-pair, verilog-library-filenames): Fix
AUTOINSERTLISP to support insert-file.  Reported by Clay Douglass.

(verilog-auto-inst, verilog-auto-star-safe)
(verilog-delete-auto-star-implicit, verilog-read-sub-decls): Fix
removing "// Interfaces" when saving .* expansions.  Reported by
Pierre-David Pfister.

14 years ago(eshell/cd): Don't throw to a tag outside the scope.
Glenn Morris [Thu, 26 Nov 2009 03:09:58 +0000 (03:09 +0000)]
(eshell/cd): Don't throw to a tag outside the scope.
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=557572

14 years agoFix format.
Glenn Morris [Thu, 26 Nov 2009 03:08:30 +0000 (03:08 +0000)]
Fix format.

14 years ago(Latest version of Emacs): Mention stability of development version.
Glenn Morris [Thu, 26 Nov 2009 03:07:21 +0000 (03:07 +0000)]
(Latest version of Emacs): Mention stability of development version.
(Problems with very large files): Max buffer size increase in 23.2.
(VM): VM has moved house again.

14 years agoVM has moved again.
Glenn Morris [Thu, 26 Nov 2009 03:05:17 +0000 (03:05 +0000)]
VM has moved again.

14 years ago* arc-mode.el: Add "Keywords: files", so the details in its
Kevin Ryde [Thu, 26 Nov 2009 00:15:17 +0000 (00:15 +0000)]
* arc-mode.el: Add "Keywords: files", so the details in its
commentary can be reached from finder-by-keyword.

14 years ago* textmodes/bibtex-style.el: Add "Keywords: tex".
Kevin Ryde [Thu, 26 Nov 2009 00:07:01 +0000 (00:07 +0000)]
* textmodes/bibtex-style.el: Add "Keywords: tex".
* international/isearch-x.el, international/ja-dic-cnv.el,
international/ja-dic-utl.el, international/kkc.el:
Add "Keywords: i18n", so they can be reached from finder-by-keyword.

14 years ago* international/isearch-x.el, international/ja-dic-cnv.el,
Kevin Ryde [Thu, 26 Nov 2009 00:04:36 +0000 (00:04 +0000)]
* international/isearch-x.el, international/ja-dic-cnv.el,
international/ja-dic-utl.el, international/kkc.el,
international/robin.el: Add "Keywords: i18n", so they can be
reached from finder-by-keyword.

14 years ago* textmodes/bibtex-style.el: Add "Keywords: tex".
Kevin Ryde [Thu, 26 Nov 2009 00:01:20 +0000 (00:01 +0000)]
* textmodes/bibtex-style.el: Add "Keywords: tex".

14 years ago* textmodes/dns-mode.el: Add "Keywords: comm". It's only an
Kevin Ryde [Wed, 25 Nov 2009 23:52:00 +0000 (23:52 +0000)]
* textmodes/dns-mode.el: Add "Keywords: comm".  It's only an
editing mode, but it's comms related and sgml-mode.el has "comm"
on that basis too.

14 years ago(vc-annotate-revision-previous-to-line): Really use previous revision.
Johan Bockgård [Wed, 25 Nov 2009 23:47:31 +0000 (23:47 +0000)]
(vc-annotate-revision-previous-to-line): Really use previous revision.

14 years ago(man): completion-ignore-case t for friendliness and since man
Kevin Ryde [Wed, 25 Nov 2009 22:52:02 +0000 (22:52 +0000)]
(man): completion-ignore-case t for friendliness and since man
itself is case-insensitive on the command line.

14 years ago* man.el (Man-completion-table): default-directory "/" in case
Kevin Ryde [Wed, 25 Nov 2009 22:42:11 +0000 (22:42 +0000)]
* man.el (Man-completion-table): default-directory "/" in case
doesn't otherwise exist.  process-environment COLUMNS=999 so as
not to truncate long names.  process-connection-type pipe to avoid
any chance of hitting the pseudo-tty TIOCGWINSZ.  (Further to
Bug#3717.)

14 years ago(Man-completion-table): Modify regexp to include section names
Juri Linkov [Wed, 25 Nov 2009 21:16:58 +0000 (21:16 +0000)]
(Man-completion-table): Modify regexp to include section names
to completion strings.  (Bug#3717)

14 years ago(delete_tty): Remove check for last terminal (bug#4970).
Jan Djärv [Wed, 25 Nov 2009 17:53:54 +0000 (17:53 +0000)]
(delete_tty): Remove check for last terminal (bug#4970).

14 years agoSearch recursively in gzipped files. (Bug#4982)
Juri Linkov [Wed, 25 Nov 2009 17:23:45 +0000 (17:23 +0000)]
Search recursively in gzipped files.  (Bug#4982)

(grep-highlight-matches): Add new options
`always' and `auto'.  Doc fix.
(grep-process-setup): Check `grep-highlight-matches' for
`auto-detect' to determine the need to compute grep defaults.
Move Windows/DOS specific --colors settings handling
to `grep-compute-defaults'.  Check `grep-highlight-matches'
to get the value of "--color=".
(grep-compute-defaults): Compute `grep-highlight-matches' when it
has the value `auto-detect'.  Move Windows/DOS specific settings
from `grep-process-setup'.
(zrgrep): New command with alias `rzgrep'.

14 years ago(doc-view-mode): Set buffer-local `view-read-only' to nil
Juri Linkov [Wed, 25 Nov 2009 17:21:12 +0000 (17:21 +0000)]
(doc-view-mode): Set buffer-local `view-read-only' to nil
instead of switching off view-mode.  (Bug#4896)

14 years agoMouse-wheel scrolling for DocView Continuous mode. (Bug#4896)
Juri Linkov [Wed, 25 Nov 2009 17:18:26 +0000 (17:18 +0000)]
Mouse-wheel scrolling for DocView Continuous mode.  (Bug#4896)

* mwheel.el (mwheel-scroll-up-function)
(mwheel-scroll-down-function): New defvars.
(mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of
`scroll-up', and `mwheel-scroll-down-function' instead of
`scroll-down'.

* doc-view.el (doc-view-scroll-up-or-next-page)
(doc-view-scroll-down-or-previous-page): Add optional ARG.
Use this ARG in the call to image-scroll-up/image-scroll-down.
Change `interactive' spec to "P".  Goto next/previous page only
when `doc-view-continuous-mode' is non-nil or ARG is nil (for the
SPC/DEL case).  Doc fix.
(doc-view-next-line-or-next-page)
(doc-view-previous-line-or-previous-page): Rename arg to ARG
for consistency.
(doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to
`doc-view-scroll-up-or-next-page', and buffer-local
`mwheel-scroll-down-function' to
`doc-view-scroll-down-or-previous-page'.

14 years agoProvide additional default values (directories at other Dired
Juri Linkov [Wed, 25 Nov 2009 17:15:19 +0000 (17:15 +0000)]
Provide additional default values (directories at other Dired
windows) via M-n in the minibuffer of some Dired commands.

* dired-aux.el (dired-diff, dired-compare-directories)
(dired-do-create-files): Use `dired-dwim-target-defaults' to set
`minibuffer-default' in `minibuffer-with-setup-hook'.
(dired-dwim-target-directory): Find a window that displays Dired
buffer instead of failing when the next window is not Dired.
Use `get-window-with-predicate' to find for the next Dired window.
(dired-dwim-target-defaults): New function.

* ediff-util.el (ediff-read-file-name):
Use `dired-dwim-target-defaults' to set `minibuffer-default'
in `minibuffer-with-setup-hook'.

14 years agoProvide additional default values (file name at point or at the
Juri Linkov [Wed, 25 Nov 2009 17:11:29 +0000 (17:11 +0000)]
Provide additional default values (file name at point or at the
current Dired line) via M-n for file reading minibuffers.  (Bug#5010)

* minibuffer.el (read-file-name-defaults): New function.
(read-file-name): Reset `minibuffer-default' to nil when
it duplicates initial input `insdef'.
Bind `minibuffer-default-add-function' to lambda that
calls `read-file-name-defaults' in `minibuffer-selected-window'.
(minibuffer-insert-file-name-at-point): New command.

* files.el (file-name-at-point-functions): New defcustom.
(find-file-default): Remove defvar.
(find-file-read-args): Don't use `find-file-default'.
Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
to `read-file-name'.
(find-file-literally): Use `read-file-name' with
`confirm-nonexistent-file-or-buffer'.

* ffap.el (ffap-guess-file-name-at-point): New autoloaded function.

* dired.el (dired-read-dir-and-switches):
Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
to `read-file-name'.
(dired-file-name-at-point): New function.
(dired-mode): Add hook `dired-file-name-at-point' to
`file-name-at-point-functions'.

14 years agoReally make the *Completions* window soft-dedicated (bug#5030).
Stefan Monnier [Wed, 25 Nov 2009 16:36:04 +0000 (16:36 +0000)]
Really make the *Completions* window soft-dedicated (bug#5030).
* window.el (window--display-buffer-2): Add `dedicated' argument.
(display-buffer): Pass it when needed so the dedicated flag is set
after calling set-window-buffer, which would otherwise reset it.

14 years agoxsettings.c: Revert changes from 2009-11-23. Just use Xft defaults (bug #5025).
Jan Djärv [Wed, 25 Nov 2009 16:19:51 +0000 (16:19 +0000)]
xsettings.c: Revert changes from 2009-11-23. Just use Xft defaults (bug #5025).

14 years ago* progmodes/meta-mode.el (meta-complete-symbol):
Stefan Monnier [Wed, 25 Nov 2009 06:08:42 +0000 (06:08 +0000)]
* progmodes/meta-mode.el (meta-complete-symbol):
* progmodes/etags.el (complete-tag): Use completion-in-region.

14 years ago(mail-abbrev-complete-alias): Use completion-in-region.
Stefan Monnier [Wed, 25 Nov 2009 06:02:01 +0000 (06:02 +0000)]
(mail-abbrev-complete-alias): Use completion-in-region.