Chong Yidong
da76998b68
* net/browse-url.el (browse-url-encode-url): Don't escape commas.
...
They are valid characters in URL paths (rfc3986), and at least
Firefox does not understand the encoded version (Bug#3166).
2010-01-02 15:14:54 -05:00
Chong Yidong
b2ad70b67b
Allow use of "end" keyword for terminating Octave-mode blocks.
...
* progmodes/octave-mod.el (octave-end-keywords)
(octave-block-begin-or-end-regexp, octave-block-match-alist): Add
"end" keyword (Bug#3061).
(octave-end-as-array-index-p): New function.
(calculate-octave-indent): Use it.
2010-01-02 14:40:59 -05:00
Karl Fogel
5413628238
* lisp/bookmark.el: Consistently put the text property on the bookmark name.
...
(bookmark-bmenu-marks-width): Bump back to 2, to include annotation marks.
(bookmark-bmenu-hide-filenames): Adjust for above, and put the text
property on the bookmark name, instead of not putting it at all.
(bookmark-bmenu-list): Fix where we put the text property.
2010-01-02 14:14:13 -05:00
Karl Fogel
cc4d3cad09
* lisp/bookmark.el (bookmark-bmenu-save): Just depend on the new logic
...
for showing buffer modified state (as added in the previous change).
2010-01-02 13:57:02 -05:00
Karl Fogel
b894c43953
* lisp/bookmark.el: Show modified state of bookmark buffer more accurately.
...
(bookmark-bmenu-list): Initialize buffer-modified-p properly.
(bookmark-send-edited-annotation): Mark bookmark-alist as modified.
(with-buffer-modified-unmodified): New macro.
(bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames,
bookmark-bmenu-mark, bookmark-bmenu-unmark, bookmark-bmenu-delete):
Use new macro to preserve the buffer-modified state.
2010-01-02 13:52:32 -05:00
Karl Fogel
3a69db535c
* lisp/bookmark.el (bookmark-bmenu-select, bookmark-bmenu-1-window,
...
(bookmark-bmenu-2-window, bookmark-bmenu-this-window)
(bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window)
(bookmark-bmenu-show-annotation, bookmark-bmenu-edit-annotation)
(bookmark-bmenu-rename, bookmark-bmenu-locate)
(bookmark-bmenu-relocate, bookmark-bmenu-goto-bookmark): Remove
unnecessary calls to `bookmark-bmenu-ensure-position'.
2010-01-02 13:13:28 -05:00
Eli Zaretskii
af414f10d8
emacs-lisp/easy-mmode.el (define-globalized-minor-mode): Make
...
the lines in the generated doc string shorter. (Bug#4668)
2010-01-02 19:33:54 +02:00
Chong Yidong
f2ec0e5e49
* lisp/net/rcirc.el: Add follow-link binding (Bug#4738).
2010-01-02 11:13:22 -05:00
Eli Zaretskii
38c1ba62af
Rename cvs-update to bzr-update in lisp/ Makefiles.
...
Makefile.in (bzr-update): Renamed from cvs-update.
(cvs-update): New target for backward compatibility.
makefile.w32-in (bzr-update): Renamed from cvs-update.
(cvs-update): New target for backward compatibility.
2010-01-02 12:42:11 +02:00
Karl Fogel
ea2c0f5b94
* lisp/bookmark.el: Remove gratuitous gratitude.
2010-01-02 03:09:17 -05:00
Karl Fogel
479899451b
* lisp/bookmark.el (bookmark-bmenu-any-marks): New function
...
(bookmark-bmenu-save): Clear buffer modification if no marks.
2010-01-02 02:08:02 -05:00
Karl Fogel
5ae329f4c8
* lisp/bookmark.el (bookmark-bmenu-marks-width): Define to 1, not 2.
...
(bookmark-bmenu-list, bookmark-bmenu-bookmark): Calculate property
positions by using `bookmark-bmenu-marks-width', instead of hardcoding.
This fixes the `bookmark-bmenu-execute-deletions' bug reported here:
http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00819.html
From: Sun Yijiang <sunyijiang {_AT_} gmail.com>
To: emacs-devel {_AT_} gnu.org
Subject: bookmark.el bug report
Date: Mon, 28 Dec 2009 14:19:16 +0800
Message-ID: 5065e2900912272219y3734fc9fsdaee41167ef99ad7@mail.gmail.com
2010-01-02 00:00:55 -05:00
Karl Fogel
aef053eb79
* lisp/bookmark.el: Improvements suggested by Drew Adams:
...
(bookmark-bmenu-ensure-position): New name for
`bookmark-bmenu-check-position'. Just ensure the position;
don't return any meaningful value.
(bookmark-bmenu-header-height, bookmark-bmenu-marks-width): New constants.
2010-01-01 23:36:17 -05:00
Juanma Barranquero
d8c75479e9
lisp/ChangeLog: Fix typos.
2010-01-02 02:06:31 +01:00
Juanma Barranquero
0472835ff2
lisp/*: Fix typos in docstrings and messages.
2010-01-02 02:05:44 +01:00
Chong Yidong
9bbe0828a0
* lisp/files.el (minibuffer-with-setup-hook): Doc fix (Bug#5149).
2010-01-01 15:03:37 -05:00
Chong Yidong
918fa8ba98
* lisp/ChangeLog: Update bug number in last change.
2010-01-01 13:44:02 -05:00
Chong Yidong
a88c46c3a8
* comint.el (comint-input-ring-size): Make it a defcustom and
...
increase the default to 500.
2010-01-01 13:43:25 -05:00
Nick Roberts
7ee6c59b15
Further changes from EMACS_23_1_RC branch (2009-12-29 contd).
...
* term/x-win.el (x-gtk-stock-map): Map some GUD buttons.
* progmodes/gud.el (gud-menu-map): Add reverse-execution commands.
2009-12-31 02:19:53 +13:00
Nick Roberts
a9c8a2cdf8
Show working revision correctly for mercurial.
...
* vc-hg.el (vc-hg-working-revision): Use hg parent instead of
hg log as suggested by Alex Harsanyi <alexharsanyi@gmail.com>,
2009-12-30 15:22:45 +13:00
Juanma Barranquero
3570691b24
Fix typos in ChangeLogs.
2009-12-29 19:29:33 +01:00
Juanma Barranquero
659e4408a4
Declare some functions for the byte-compiler.
2009-12-29 18:44:27 +01:00
Dan Nicolaescu
460f6e7ced
Make vc-dir work on subdirectories of the bzr root.
...
* vc-bzr.el (vc-bzr-after-dir-status): Add new argument. Return
file names relative to it.
(vc-bzr-dir-status, vc-bzr-dir-status-files): Pass the bzr root
relative directory to vc-bzr-after-dir-status.
2009-12-28 22:46:08 -08:00
Juanma Barranquero
5ce6e4f452
Fix typos in ChangeLogs.
2009-12-29 02:57:40 +01:00
Tassilo Horn
543f553a8d
* font-lock.el (font-lock-refresh-defaults): New function, which
...
can be used to let font-lock react to external changes in
variables like font-lock-defaults and keywords.
See http://thread.gmane.org/gmane.emacs.devel/118777/focus=118802
2009-12-28 20:34:10 +01:00
Dan Nicolaescu
ac859983d7
* vc-rcs.el (vc-rcs-register): Fix registering a specific version.
2009-12-28 11:20:02 -08:00
Dan Nicolaescu
2592ab767a
(vc-bzr-log-view-mode): Fix short log regexp.
2009-12-28 10:34:51 -08:00
Kenichi Handa
e7936c0f9f
Add new entries to ChangeLog
2009-12-28 16:29:24 +09:00
Kenichi Handa
bcffff4634
*** empty log message ***
2009-12-28 15:09:58 +09:00
Juanma Barranquero
58941d03a5
Supersede color.diff settings in git log (bug#5211).
2009-12-28 03:43:28 +01:00
Kevin Ryde
651e932ee3
* man.el
...
(Man-bgproc-sentinel): When "-k foo" produces no output show error
"no matches" rather than "Can't find manpage", as the latter reads
like -k was interpreted as a page name, which is not so. (My
bug#5431.)
2009-12-26 22:02:26 +00:00
Kevin Ryde
91c4831e1a
* man.el (man): Revise docstring a bit to show -a and -l as
...
examples. Add -k description since support for it has otherwise
been a secret. (Further to bug#3717.)
2009-12-26 21:30:00 +00:00
Kevin Ryde
39764e7641
* info-look.el (sh-mode): Look for coreutils new "Concept Index"
...
node. Keep previous "Index" name to work with past coreutils too.
2009-12-26 21:14:25 +00:00
Michael Albinus
7f4d4a978d
* net/tramp.el (tramp-handle-insert-directory): Quote "'" in the
...
switches. Check also for //SUBDIRED// line.
2009-12-26 20:04:43 +00:00
Vinicius Jose Latorre
dc1dcfa4a7
Attribute face for faces specified as string.
2009-12-23 22:45:06 +00:00
Ulf Jasper
6fe539d246
Fixed timezone handling problem in icalendar.el.
2009-12-18 19:35:14 +00:00
Michael Albinus
1f3611c61a
* files.el (file-expand-wildcards): In case of remote files, check
...
only local file name part for wildcards. Provide feature 'files
and subfeature 'remote-wildcards. (Bug#5198)
* net/tramp.el (tramp-handle-file-remote-p): Expand file name only
if there is already an established connection.
(tramp-advice-file-expand-wildcards): Remove it.
* net/tramp-compat.el (top): Autoload `tramp-handle-file-remote-p'.
(tramp-advice-file-expand-wildcards): Moved from tramp.el.
Activate advice for older GNU Emacs versions. (Bug#5237)
2009-12-17 13:18:03 +00:00
Juanma Barranquero
9762b219c8
Some doc fixes (more needed).
...
* find-cmd.el (find-constituents): Reflow docstring.
(find-cmd, find-prune, find-command): Fix typos in docstrings.
(find-generic): Doc fix.
2009-12-17 02:06:31 +00:00
Juri Linkov
cfb54897c9
Fix regression from 23.1 to allow multiple modes in Local Variables.
...
* files.el (hack-local-variables-filter): While ignoring duplicates,
don't take `mode' into account.
(hack-local-variables-filter, hack-dir-local-variables): Don't
remove duplicate `mode' from local-variables-alist (like `eval').
2009-12-17 01:18:14 +00:00
Juri Linkov
ad974e9e13
Make `dired-diff' more safe. (Bug#5225)
...
* dired-aux.el (dired-diff): Signal an error when `file' equals to
`current' or when `file' is a directory of the `current' file.
2009-12-17 01:16:15 +00:00
Andreas Schwab
3616e0b970
(batch-update-autoloads): Only exclude
...
unconditionally preloaded files.
2009-12-17 00:21:47 +00:00
Juri Linkov
72b5756030
Revert to old 23.1 logic of using the file at the mark as default.
...
* dired-aux.el (dired-diff): Use the file at the mark as default
if it's not the same as the current file, and the target dir is
the current dir or the mark is active. Add the current file
as the arg of `dired-dwim-target-defaults'. Use the default file
in the prompt. (Bug#5225)
2009-12-16 09:52:42 +00:00
Michael Albinus
68712eb605
* net/tramp.el (tramp-echo-mark-marker-length): New defconst.
...
(tramp-echo-mark, tramp-echoed-echo-mark-regexp): Use it.
(tramp-check-for-regexp): Check also, when an echoing shell stops
to echo sent commands.
2009-12-15 21:11:39 +00:00
Chong Yidong
fd47199325
* Makefile.in: Revert last change (Bug#5191).
2009-12-14 23:22:54 +00:00
Dan Nicolaescu
110de3bb16
(vc-hg-working-revision): Make sure the command is executed in a
...
known environment so that we can parse the output. (Bug#4417)
2009-12-14 17:12:18 +00:00
Dan Nicolaescu
86b5e14c2d
(vc-hg-print-log): Fix argument order.
2009-12-14 16:55:34 +00:00
Chong Yidong
8cffbb7542
* progmodes/python.el (python-symbol-completions): Remove text
...
properties from symbol string before calling python-send-receive.
2009-12-14 16:19:24 +00:00
Nick Roberts
6c2b67ad7b
*** empty log message ***
2009-12-14 09:44:13 +00:00
Juri Linkov
ff6f4585ee
(ediff-context-diff-label-regexp): Don't match
...
whitespace after the file name of the first line of unified format,
because git-diff doesn't output whitespace and file modification time
after the file name.
2009-12-14 06:52:59 +00:00
Juri Linkov
d3de1c8e9c
* info.el (Info-hide-cookies-node): Before hiding a cookie,
...
check if it already has the `display' property added by
`Info-display-images-node', and not put the `invisible' property
in this case.
2009-12-14 05:09:08 +00:00