bpt/emacs.git
13 years ago* subr.el (unintern): Declare the obarray arg mandatory.
Stefan Monnier [Tue, 14 Sep 2010 11:11:44 +0000 (13:11 +0200)]
* subr.el (unintern): Declare the obarray arg mandatory.
* emacs-lisp/byte-run.el (set-advertised-calling-convention):
Add `when' argument.  Update callers.

13 years agoDoc fixes related to diary-sort-entries.
Glenn Morris [Tue, 14 Sep 2010 08:02:28 +0000 (01:02 -0700)]
Doc fixes related to diary-sort-entries.

* lisp/calendar/diary-lib.el (diary-list-entries-hook, diary-sort-entries):
Doc fixes.

* doc/emacs/cal-xtra.texi (Fancy Diary Display): Emphasize that sort
should be the last hook item.

13 years agoTiny calendar.texi update.
Glenn Morris [Tue, 14 Sep 2010 07:34:23 +0000 (00:34 -0700)]
Tiny calendar.texi update.
* doc/emacs/calendar.texi (Appointments): Also updated when a diary
include file is saved.

13 years ago* lisp/calendar/appt.el (appt-check): Doc fix.
Glenn Morris [Tue, 14 Sep 2010 07:21:03 +0000 (00:21 -0700)]
* lisp/calendar/appt.el (appt-check): Doc fix.

13 years agoFix bug#6999.
Glenn Morris [Tue, 14 Sep 2010 07:15:06 +0000 (00:15 -0700)]
Fix bug#6999.

* lisp/calendar/diary-lib.el (diary-included-files): New variable.
(diary-list-entries): Maybe initialize diary-included-files.
(diary-include-other-diary-files): Append to diary-included-files.
* lisp/calendar/appt.el (appt-update-list): Also check the members of
diary-included-files.

13 years agosimple.el (line-move-visual): Do not truncate goal column to integer size.
David Reitter [Sun, 12 Sep 2010 17:46:57 +0000 (13:46 -0400)]
simple.el (line-move-visual): Do not truncate goal column to integer size.
(Bug#7020)

13 years agoFix bug 7013, only do send event if wanted state != current state.
Jan D [Sun, 12 Sep 2010 13:23:59 +0000 (15:23 +0200)]
Fix bug 7013, only do send event if wanted state != current state.

* xterm.c (get_current_vm_state): New function.
(do_ewmh_fullscreen): Call get_current_vm_state and compare with
want_fullscreen so set_wm_state calls are few (Bug#7013).
(x_handle_net_wm_state): Move code to get_current_vm_state and
call that function.

13 years agoUpdate name of <emacs-bugs-7626@cbane.org>
Stefan Monnier [Sun, 12 Sep 2010 12:29:25 +0000 (14:29 +0200)]
Update name of <emacs-bugs-7626@cbane.org>

13 years agoVarious updates for the Bugs section of the manual.
Glenn Morris [Sun, 12 Sep 2010 00:31:47 +0000 (17:31 -0700)]
Various updates for the Bugs section of the manual.

* doc/emacs/trouble.texi (Bugs): Update the section intro.
(Known Problems): New section.
(Checklist): Misc updates.  Prefer M-x report-emacs-bug.
(Sending Patches): Bug fixes are best as responses to existing bugs.

* doc/emacs/emacs.texi (Known Problems): Add menu entry for new section.

13 years ago* repeat.el (repeat): Allow repeating when the last event is a click.
Stefan Monnier [Sat, 11 Sep 2010 18:23:45 +0000 (20:23 +0200)]
* repeat.el (repeat): Allow repeating when the last event is a click.
Suggested by Drew Adams (bug#6256).

13 years ago* vc/vc-hg.el (vc-hg-state,vc-hg-working-revision):
Stefan Monnier [Sat, 11 Sep 2010 13:25:48 +0000 (15:25 +0200)]
* vc/vc-hg.el (vc-hg-state,vc-hg-working-revision):
Replace setting HGRCPATH to "" by some less invasive --config options.

13 years ago* lisp/font-lock.el (font-lock-beginning-of-syntax-function):
Stefan Monnier [Sat, 11 Sep 2010 13:00:19 +0000 (15:00 +0200)]
* lisp/font-lock.el (font-lock-beginning-of-syntax-function):
Mark as obsolete.

13 years ago* src/term.c (tty_set_terminal_modes): Don't initialize twice (bug#7002).
Anonymous [Sat, 11 Sep 2010 12:53:21 +0000 (14:53 +0200)]
* src/term.c (tty_set_terminal_modes): Don't initialize twice (bug#7002).

13 years ago* lisp/url/url-cache (url-store-in-cache): Make `buff' argument really optional.
Julien Danjou [Sat, 11 Sep 2010 01:55:55 +0000 (18:55 -0700)]
* lisp/url/url-cache (url-store-in-cache): Make `buff' argument really optional.

13 years agoClose bug#6211.
Glenn Morris [Fri, 10 Sep 2010 03:04:26 +0000 (20:04 -0700)]
Close bug#6211.
* lisp/menu-bar.el (menu-bar-options-save): Fix handling of menu-bar
and tool-bar modes.  (Bug#6211)
(menu-bar-mode): Move setting of standard-value after the
minor-mode definition, otherwise it seems to have no effect.

13 years ago* lisp/url/url-cookie.el (url-cookie-expired-p): Tweak previous change.
Glenn Morris [Thu, 9 Sep 2010 05:38:43 +0000 (22:38 -0700)]
* lisp/url/url-cookie.el (url-cookie-expired-p): Tweak previous change.

13 years ago* lisp/url/url-cookie.el (url-cookie-expired-p): Simplify and fix. (Bug#6957)
shawn boles [Thu, 9 Sep 2010 05:36:13 +0000 (22:36 -0700)]
* lisp/url/url-cookie.el (url-cookie-expired-p): Simplify and fix.  (Bug#6957)

13 years agoClose bug#6976.
Masatake YAMATO [Wed, 8 Sep 2010 02:45:12 +0000 (19:45 -0700)]
Close bug#6976.
* lisp/progmodes/antlr-mode.el (antlr-font-lock-additional-keywords): Fix typo.

13 years agocoding.c (encode_coding_iso_2022): Do not optimize for ASCII if we may use designatio...
Kenichi Handa [Wed, 8 Sep 2010 02:21:03 +0000 (11:21 +0900)]
coding.c (encode_coding_iso_2022): Do not optimize for ASCII if we may use designation or locking-shift.

13 years agomerge emacs-23
Kenichi Handa [Tue, 7 Sep 2010 11:22:15 +0000 (20:22 +0900)]
merge emacs-23

13 years agocoding.c (detect_coding_emacs_mule): Fix checking of multibyte sequence when the...
Kenichi Handa [Tue, 7 Sep 2010 11:08:46 +0000 (20:08 +0900)]
coding.c (detect_coding_emacs_mule): Fix checking of multibyte sequence when the source is multibyte.

13 years agoMerge whitespace.el from trunk
Chong Yidong [Mon, 6 Sep 2010 16:24:32 +0000 (12:24 -0400)]
Merge whitespace.el from trunk

13 years ago* doc/lispref/files.texi (Directory Names): Use \` rather than ^.
Alexander Klimov [Sun, 5 Sep 2010 22:03:56 +0000 (00:03 +0200)]
* doc/lispref/files.texi (Directory Names): Use \` rather than ^.
* lisp/files.el (directory-abbrev-alist): Use \` as default regexp.

13 years agoRegenerate configure
Andreas Schwab [Sun, 5 Sep 2010 10:17:26 +0000 (12:17 +0200)]
Regenerate configure

13 years ago* emacs-lisp/rx.el (rx-any): Don't explode ranges that end in - or ].
Stefan Monnier [Sun, 5 Sep 2010 09:44:55 +0000 (11:44 +0200)]
* emacs-lisp/rx.el (rx-any): Don't explode ranges that end in - or ].
(rx-any-condense-range): Explode 2-char ranges.

Fixes: debbugs:6984

13 years ago* dired.texi (Dired Enter): Minor doc fix (Bug#6982).
Chong Yidong [Sat, 4 Sep 2010 18:58:56 +0000 (14:58 -0400)]
* dired.texi (Dired Enter): Minor doc fix (Bug#6982).

13 years agoRevert last change.
Chong Yidong [Sat, 4 Sep 2010 18:36:24 +0000 (14:36 -0400)]
Revert last change.

13 years ago* frames.texi (Layout Parameters): Add cindex entries (Bug#6929).
Chong Yidong [Sat, 4 Sep 2010 18:21:48 +0000 (14:21 -0400)]
* frames.texi (Layout Parameters): Add cindex entries (Bug#6929).

13 years agoUpdate email of Roland Winkler <winkler@gnu.org>
Stefan Monnier [Thu, 2 Sep 2010 11:47:15 +0000 (13:47 +0200)]
Update email of Roland Winkler <winkler@gnu.org>

13 years ago* doc/emacs/misc.texi (Saving Emacs Sessions): Mention desktop-path. (Bug#6948)
Glenn Morris [Thu, 2 Sep 2010 05:41:23 +0000 (22:41 -0700)]
* doc/emacs/misc.texi (Saving Emacs Sessions): Mention desktop-path.  (Bug#6948)

13 years ago* desktop.el (desktop-path): Bump :version after 2009-09-15 change.
Glenn Morris [Thu, 2 Sep 2010 05:38:30 +0000 (22:38 -0700)]
* desktop.el (desktop-path): Bump :version after 2009-09-15 change.

13 years agoFix handling of 8-bit characters in a display table.
Kenichi Handa [Tue, 31 Aug 2010 07:49:21 +0000 (16:49 +0900)]
Fix handling of 8-bit characters in a display table.

13 years agomerge emacs-23
Kenichi Handa [Sun, 29 Aug 2010 05:22:52 +0000 (14:22 +0900)]
merge emacs-23

13 years agoterm.c (encode_terminal_code): Encode byte chars to the correspnding bytes.
Kenichi Handa [Sun, 29 Aug 2010 05:15:34 +0000 (14:15 +0900)]
term.c (encode_terminal_code): Encode byte chars to the correspnding bytes.

13 years ago* etc/ChangeLog: Whitespace.
Glenn Morris [Sat, 28 Aug 2010 20:01:36 +0000 (13:01 -0700)]
* etc/ChangeLog: Whitespace.

13 years ago* etc/ChangeLog: Mark tiny change.
Glenn Morris [Sat, 28 Aug 2010 19:59:18 +0000 (12:59 -0700)]
* etc/ChangeLog: Mark tiny change.

13 years agoquail/japanese.el (quail-japanese-update-translation): Fix handling of invalid key.
Kenichi Handa [Sat, 28 Aug 2010 06:03:00 +0000 (15:03 +0900)]
quail/japanese.el (quail-japanese-update-translation): Fix handling of invalid key.

13 years agoSync with Tramp 2.1.19.
Michael Albinus [Thu, 26 Aug 2010 19:40:13 +0000 (21:40 +0200)]
Sync with Tramp 2.1.19.

* tramp.texi (Inline methods, Default Method): Mention
`tramp-inline-compress-start-size'.  Remove "kludgy" phrase.  Remove
remark about doubled "-t" argument.
(Auto-save and Backup): Remove reference to Emacs 21.
(Filename Syntax): Describe port numbers.
(Frequently Asked Questions): Adapt supported (X)Emacs versions.  Adapt
supported MS Windows versions.  Remove obsolete URL.  Recommend "sshx"
and "scpx" for echoing shells.  Use the $() syntax, texi2dvi reports
errors with the backquotes.
(External packages): File attributes cache flushing for asynchronous
processes.
(Traces and Profiles): Describe verbose level 9.

* trampver.texi: Update release number.

13 years agoSync with Tramp 2.1.19.
Michael Albinus [Thu, 26 Aug 2010 19:23:02 +0000 (21:23 +0200)]
Sync with Tramp 2.1.19.

* net/tramp-cmds.el (tramp-cleanup-all-connections)
(tramp-reporter-dump-variable, tramp-load-report-modules)
(tramp-append-tramp-buffers): Use `tramp-compat-funcall'.
(tramp-bug): Recommend setting of `tramp-verbose' to 9.

* net/tramp-compat.el (top): Do not autoload
`tramp-handle-file-remote-p'.  Load tramp-util.el and tramp-vc.el
only when `start-file-process' is not bound.
(byte-compile-not-obsolete-vars): Define if not bound.
(tramp-compat-funcall): New defmacro.
(tramp-compat-line-beginning-position)
(tramp-compat-line-end-position)
(tramp-compat-temporary-file-directory)
(tramp-compat-make-temp-file, tramp-compat-file-attributes)
(tramp-compat-copy-file, tramp-compat-copy-directory)
(tramp-compat-delete-file, tramp-compat-delete-directory)
(tramp-compat-number-sequence, tramp-compat-process-running-p):
Use it.
(tramp-advice-file-expand-wildcards): Do not use
`tramp-handle-file-remote-p'.
(tramp-compat-make-temp-file): Simplify fallback implementation.
(tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
(tramp-compat-copy-tree): Remove function.
(tramp-compat-delete-file): New defun.
(tramp-compat-delete-directory): Provide implementation for older
Emacsen.
(tramp-compat-file-attributes): Handle only
`wrong-number-of-arguments' error.

* net/tramp-fish.el (tramp-fish-handle-copy-file): Add
PRESERVE_SELINUX_CONTEXT.
(tramp-fish-handle-delete-file): Add TRASH arg.
(tramp-fish-handle-directory-files-and-attributes):
Do not use `tramp-fish-handle-file-attributes.
(tramp-fish-handle-file-local-copy)
(tramp-fish-handle-insert-file-contents)
(tramp-fish-maybe-open-connection): Use `with-progress-reporter'.

* net/tramp-gvfs.el (top): Require url-util.
(tramp-gvfs-mount-point): Remove.
(tramp-gvfs-file-name-handler-alist): Add `file-selinux-context'
and `set-file-selinux-context'.
(tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command)
(tramp-gvfs-handle-file-selinux-context)
(tramp-gvfs-handle-set-file-selinux-context): New defuns.
(with-tramp-dbus-call-method): Format trace message.
(tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
(tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
Implement backup call, when operation on local files fails.  Use
progress reporter.  Flush properties of changed files.
(tramp-gvfs-handle-delete-file): Add TRASH arg.  Use
`tramp-compat-delete-file'.
(tramp-gvfs-handle-expand-file-name): Expand "~/".
(tramp-gvfs-handle-make-directory): Make more traces.
(tramp-gvfs-handle-write-region): Protect deleting tmpfile.
(tramp-gvfs-url-file-name): Hexify file name in url.
(tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
into account for the resulting file name.
(tramp-gvfs-handler-askquestion): Preserve current message, in
order to let progress reporter continue afterwards.  (Bug#6257)
Return dummy mountpoint, when the answer is "no".  See
`tramp-gvfs-maybe-open-connection'.
(tramp-gvfs-handler-mounted-unmounted)
(tramp-gvfs-connection-mounted-p): Test also for new mountspec
attribute "default_location".  Set "prefix" property.  Handle
default-location.
(tramp-gvfs-mount-spec): Return both prefix and mountspec.
(tramp-gvfs-maybe-open-connection): Test, whether mountpoint
exists.  Raise an error, if not (due to a corresponding answer
"no" in interactive questions, for example). Use
`tramp-compat-funcall'.

* net/tramp-imap.el (top): Autoload `epg-make-context'.
(tramp-imap-handle-copy-file): Add PRESERVE-SELINUX-CONTEXT.
(tramp-imap-do-copy-or-rename-file)
(tramp-imap-handle-insert-file-contents)
(tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
(tramp-imap-handle-delete-file): Add TRASH arg.

* net/tramp-smb.el (tramp-smb-handle-copy-file): Add
PRESERVE-SELINUX-CONTEXT.
(tramp-smb-handle-copy-file)
(tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
(tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
Use `with-progress-reporter'.
(tramp-smb-handle-delete-file): Add TRASH arg.

* net/tramp.el (tramp-methods): Move hostname to the end in all
ssh `tramp-login-args'.  Add `tramp-async-args' attribute where
appropriate.
(tramp-verbose): Describe verbose level 9.
(tramp-completion-function-alist)
(tramp-file-name-regexp, tramp-chunksize)
(tramp-local-coding-commands, tramp-remote-coding-commands)
(with-connection-property, tramp-completion-mode-p)
(tramp-action-process-alive, tramp-action-out-of-band)
(tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
(tramp-exists-file-name-handler): Fix docstring.
(tramp-remote-process-environment): Use `format' instead of
`concat'.  Protect version string by apostroph.
(tramp-shell-prompt-pattern): Do not use a shy group in case of
XEmacs.
(tramp-file-name-regexp-unified)
(tramp-completion-file-name-regexp-unified): On W32 systems, do
not regard the volume letter as remote filename.  (Bug#5447)
(tramp-perl-file-attributes)
(tramp-perl-directory-files-and-attributes): Don't pass "$3".
(tramp-vc-registered-read-file-names): Read input as
here-document, otherwise the command could exceed maximum length
of command line.
(tramp-file-name-handler-alist): Add `file-selinux-context' and
`set-file-selinux-context'.
(tramp-debug-message): Add `tramp-compat-funcall' to ignored
backtrace functions.
(tramp-error-with-buffer): Don't show the connection buffer when
we are in completion mode.
(tramp-progress-reporter-update, tramp-remote-selinux-p)
(tramp-handle-file-selinux-context)
(tramp-handle-set-file-selinux-context, tramp-process-sentinel)
(tramp-connectable-p, tramp-open-shell, tramp-get-remote-trash):
New defuns.
(with-progress-reporter): New defmacro.
(tramp-debug-outline-regexp): New defconst.
(top, tramp-rfn-eshadow-setup-minibuffer)
(tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
(tramp-handle-dired-compress-file, tramp-handle-shell-command)
(tramp-completion-mode-p, tramp-check-for-regexp)
(tramp-open-connection-setup-interactive-shell)
(tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
(tramp-time-diff, tramp-coding-system-change-eol-conversion)
(tramp-set-process-query-on-exit-flag, tramp-unload-tramp):
Use `tramp-compat-funcall'.
(tramp-handle-make-symbolic-link): Flush file properties.
(tramp-handle-load, tramp-handle-file-local-copy)
(tramp-handle-insert-file-contents, tramp-handle-write-region)
(tramp-handle-vc-registered, tramp-maybe-send-script)
(tramp-find-shell): Use `with-progress-reporter'.
(tramp-do-file-attributes-with-stat): Add space in format string,
in order to work around a bug in pdksh.  Reported by Gilles Pion
<gpion@lfdj.com>.
(tramp-handle-verify-visited-file-modtime): Do not send a command
when the connection is not established.
(tramp-handle-set-file-times): Simplify the check for utc.
(tramp-handle-directory-files-and-attributes)
(tramp-get-remote-path): Use `copy-tree'.
(tramp-completion-handle-file-name-all-completions): Ensure, that
non remote files are still checked.  Oops.
(tramp-handle-copy-file, tramp-do-copy-or-rename-file): Handle
PRESERVE-SELINUX-CONTEXT.
(tramp-do-copy-or-rename-file): Add progress reporter.
(tramp-do-copy-or-rename-file-directly): Do not use
`tramp-handle-file-remote-p'.
(tramp-do-copy-or-rename-file-out-of-band):
Use `tramp-compat-delete-directory'.
(tramp-do-copy-or-rename-file-out-of-band)
(tramp-compute-multi-hops, tramp-maybe-open-connection):
Use `format-spec-make'.
(tramp-handle-delete-file): Add TRASH arg.
(tramp-handle-dired-uncache): Flush directory cache, not only file
cache.
(tramp-handle-expand-file-name)
(tramp-completion-handle-file-name-all-completions)
(tramp-completion-handle-file-name-completion): Use
`tramp-connectable-p'.
(tramp-handle-start-file-process): Set connection property "vec".
Use it, in order to invalidate file caches.  Check only for
`remote-tty' process property.
Implement tty setting.  (Bug#4604, Bug#6360)
(tramp-file-name-for-operation): Add `call-process-region' and
`set-file-selinux-context'.
(tramp-find-foreign-file-name-handler)
(tramp-advice-make-auto-save-file-name)
(tramp-set-auto-save-file-modes): Remove superfluous check for
`stringp'.  This is done inside `tramp-tramp-file-p'.
(tramp-file-name-handler): Trace 'quit.  Catch the error for some
operations when we are in completion mode.  This gives the user
the chance to correct the file name in the minibuffer.
(tramp-completion-mode-p): Use `non-essential'.
(tramp-handle-file-name-all-completions): Backward/ XEmacs
compatibility: Use `completion-ignore-case' if
`read-file-name-completion-ignore-case' does not exist.
(tramp-get-debug-buffer): Use `tramp-debug-outline-regexp'.
(tramp-find-shell, tramp-open-connection-setup-interactive-shell):
`tramp-open-shell'.
(tramp-action-password): Hide password prompt before next run.
(tramp-process-actions): Widen connection buffer for the trace.
(tramp-open-connection-setup-interactive-shell): Set `remote-tty'
process property.  Trace stty settings if `tramp-verbose' >= 9.
Apply workaround for IRIX64 bug.  Move argument of last
`tramp-send-command' where it belongs to.
(tramp-maybe-open-connection): Use `async-args' and `gw-args' in
front of `login-args'.
(tramp-get-ls-command, tramp-get-ls-command-with-dired): Run tests
on "/dev/null" instead of "/".
(tramp-get-ls-command-with-dired): Make test for "--dired"
stronger.
(tramp-set-auto-save-file-modes): Adapt version check.
(tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
(tramp-handle-process-file): Call the program in a subshell, in
order to preserve working directory.
(tramp-handle-shell-command): Don't use hard-wired "/bin/sh" but
`tramp-remote-sh' from `tramp-methods'.
(tramp-get-ls-command): Make test for "--color=never" stronger.
(tramp-check-for-regexp): Use (forward-line 1).

* net/trampver.el: Update release number.

* net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
empty argument to gvfs-copy.

* net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
handle new TRASH arg of `delete-file'.

* net/tramp.el (tramp-handle-insert-directory): Don't use
`forward-word', its default syntax could be changed.

Implement compression for inline methods.

* net/tramp.el (tramp-inline-compress-start-size): New defcustom.
(tramp-copy-size-limit): Allow also nil.
(tramp-inline-compress-commands): New defconst.
(tramp-find-inline-compress, tramp-get-inline-compress)
(tramp-get-inline-coding): New defuns.
(tramp-get-remote-coding, tramp-get-local-coding): Remove,
replaced by `tramp-get-inline-coding'.
(tramp-handle-file-local-copy, tramp-handle-write-region)
(tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.

Detect ssh 'ControlMaster' argument automatically in some cases.

* net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
(tramp-default-method): Use it.

* net/tramp.el (tramp-file-name-for-operation):
Add file-selinux-context.

13 years agoplay/cookie1.el (read-cookie): Fix off-by-one error (bug#6921).
Å\81ukasz Stelmach [Thu, 26 Aug 2010 15:33:52 +0000 (17:33 +0200)]
play/cookie1.el (read-cookie): Fix off-by-one error (bug#6921).

13 years ago* emacs.1: Mention "maximized" value for the "fullscreen" X resource.
Chong Yidong [Thu, 26 Aug 2010 15:14:55 +0000 (11:14 -0400)]
* emacs.1: Mention "maximized" value for the "fullscreen" X resource.

13 years ago* simple.el (beginning-of-buffer, end-of-buffer): Doc fix (Bug#6907).
Chong Yidong [Thu, 26 Aug 2010 15:09:45 +0000 (11:09 -0400)]
* simple.el (beginning-of-buffer, end-of-buffer): Doc fix (Bug#6907).

13 years ago* progmodes/python.el (python-block-pairs): Allow use of "finally" with "else" (Bug...
Chris Foote [Mon, 23 Aug 2010 00:44:55 +0000 (20:44 -0400)]
* progmodes/python.el (python-block-pairs): Allow use of "finally" with "else" (Bug#3991).

13 years ago* emacs3.py: Import imp module and use it (Bug#5756).
Alex Harsanyi [Sun, 22 Aug 2010 23:50:38 +0000 (19:50 -0400)]
* emacs3.py: Import imp module and use it (Bug#5756).

13 years agoHandle multiple entries in some RCIRC commands (Bug#6894).
Leo Liu [Sun, 22 Aug 2010 22:44:55 +0000 (18:44 -0400)]
Handle multiple entries in some RCIRC commands (Bug#6894).

* lisp/net/rcirc.el (rcirc-add-or-remove): Accept a list of elements.
(ignore, bright, dim, keyword): Split list of nicknames before
passing to rcirc-add-or-remove.

13 years agoDoc fix for define-minor-mode (Bug#6880).
Chong Yidong [Sun, 22 Aug 2010 19:30:26 +0000 (15:30 -0400)]
Doc fix for define-minor-mode (Bug#6880).

* doc/lispref/modes.texi (Defining Minor Modes): Doc fix (Bug#6880).

* emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix (Bug#6880).

13 years agomerge whitespace.el change from trunk
Chong Yidong [Sun, 22 Aug 2010 04:12:25 +0000 (00:12 -0400)]
merge whitespace.el change from trunk

13 years agoFix buffer-list rename&refresh after after killing a buffer in ido.
Leo Liu [Sat, 21 Aug 2010 13:35:27 +0000 (15:35 +0200)]
Fix buffer-list rename&refresh after after killing a buffer in ido.
* lisp/ido.el: Revert Óscar's.
(ido-kill-buffer-at-head): Exit the minibuffer with ido-exit=refresh.
Remember the buffers at head, rather than their name.
* lisp/iswitchb.el (iswitchb-kill-buffer): Re-make the list.

13 years ago* progmodes/make-mode.el (makefile-fill-paragraph): Account for the
Stefan Monnier [Sat, 21 Aug 2010 09:19:38 +0000 (11:19 +0200)]
* progmodes/make-mode.el (makefile-fill-paragraph): Account for the
extra backslash added to each line.

Fixes: debbugs:6890

13 years ago* subr.el (read-key): Don't echo keystrokes.
Stefan Monnier [Sat, 21 Aug 2010 08:56:54 +0000 (10:56 +0200)]
* subr.el (read-key): Don't echo keystrokes.

Fixes: debbugs:6883

13 years ago* doc/emacs/misc.texi (Amusements): Mention bubbles and animate.
Glenn Morris [Sat, 21 Aug 2010 02:14:07 +0000 (19:14 -0700)]
* doc/emacs/misc.texi (Amusements): Mention bubbles and animate.

13 years ago* lisp/menu-bar.el (menu-bar-games-menu): Add landmark.
Glenn Morris [Sat, 21 Aug 2010 02:11:34 +0000 (19:11 -0700)]
* lisp/menu-bar.el (menu-bar-games-menu): Add landmark.

13 years agoMinor align-regexp fix.
Glenn Morris [Fri, 20 Aug 2010 07:33:06 +0000 (00:33 -0700)]
Minor align-regexp fix.

* lisp/align.el (align-regexp): Make group and spacing arguments use
the interactive defaults when non-interactive.  (Bug#6698)

13 years agoFix rmail-forward with non-sendmail sending function.
Glenn Morris [Fri, 20 Aug 2010 07:11:35 +0000 (00:11 -0700)]
Fix rmail-forward with non-sendmail sending function.

* lisp/mail/rmail.el (rmail-forward): Replace mail-text-start with its
expansion, so as not to need sendmail.
(mail-text-start): Remove declaration.
(rmail-retry-failure): Require sendmail.

13 years ago* objects.texi (Bool-Vector Type): Minor definition tweak (Bug#6878).
Chong Yidong [Thu, 19 Aug 2010 23:23:13 +0000 (19:23 -0400)]
* objects.texi (Bool-Vector Type): Minor definition tweak (Bug#6878).

13 years ago* lisp/subr.el (read-key): Don't hide the menu-bar entries.
Stefan Monnier [Thu, 19 Aug 2010 14:37:31 +0000 (16:37 +0200)]
* lisp/subr.el (read-key): Don't hide the menu-bar entries.

Fixes: debbugs:6881

13 years agolisp/ChangeLog: Remove merge markers.
Juanma Barranquero [Wed, 18 Aug 2010 23:32:39 +0000 (01:32 +0200)]
lisp/ChangeLog: Remove merge markers.

13 years ago* progmodes/flymake.el (flymake-start-syntax-check-process): Use
Michael Albinus [Wed, 18 Aug 2010 18:24:52 +0000 (20:24 +0200)]
* progmodes/flymake.el (flymake-start-syntax-check-process): Use
`start-file-process' in order to let it run also on remote hosts.

13 years agofiles.el: Add word-wrap as safe local variable.
Kenichi Handa [Wed, 18 Aug 2010 08:07:58 +0000 (17:07 +0900)]
files.el: Add word-wrap as safe local variable.

13 years ago* lisp/woman.el (woman-translate): Case matters. (Bug#6849)
Glenn Morris [Wed, 18 Aug 2010 02:33:13 +0000 (19:33 -0700)]
* lisp/woman.el (woman-translate): Case matters.  (Bug#6849)

13 years ago* eval.c (Flet, Feval, Fapply, apply_lambda): Use SAFE_ALLOCA_LISP
Andreas Schwab [Tue, 17 Aug 2010 21:07:50 +0000 (23:07 +0200)]
* eval.c (Flet, Feval, Fapply, apply_lambda): Use SAFE_ALLOCA_LISP
instead of SAFE_ALLOCA.

13 years agoAvoid stack overflow in let, eval, and apply (Bug#6214).
Chong Yidong [Tue, 17 Aug 2010 16:34:28 +0000 (12:34 -0400)]
Avoid stack overflow in let, eval, and apply (Bug#6214).

* eval.c (Flet, Feval, Fapply, apply_lambda): Use SAFE_ALLOCA (Bug#6214).

13 years ago* quail/vntelex.el ("vietnamese-telex"): Doc fix.
Andreas Schwab [Sun, 15 Aug 2010 09:36:19 +0000 (11:36 +0200)]
* quail/vntelex.el ("vietnamese-telex"): Doc fix.

13 years ago* quail/georgian.el: Remove extra backslashes.
Andreas Schwab [Sun, 15 Aug 2010 09:34:53 +0000 (11:34 +0200)]
* quail/georgian.el: Remove extra backslashes.

13 years ago* simple.el (kill-region): Doc fix (Bug#6787).
Chong Yidong [Sat, 14 Aug 2010 23:21:40 +0000 (19:21 -0400)]
* simple.el (kill-region): Doc fix (Bug#6787).

13 years agoAvoid mismatching parens
Andreas Schwab [Sat, 14 Aug 2010 08:20:08 +0000 (10:20 +0200)]
Avoid mismatching parens

* quail/arabic.el: Quote [ and ].
* quail/latin-ltx.el: Likewise.

13 years ago* quail/greek.el ("greek", "greek-postfix"): Change string to
Andreas Schwab [Sat, 14 Aug 2010 08:00:34 +0000 (10:00 +0200)]
* quail/greek.el ("greek", "greek-postfix"): Change string to
character.

13 years ago* doc.c (Fsnarf_documentation): Set skip_file only if p[1] is S.
Jan D [Sat, 14 Aug 2010 06:42:09 +0000 (08:42 +0200)]
* doc.c (Fsnarf_documentation): Set skip_file only if p[1] is S.

13 years ago* lisp/calendar/diary-lib.el: Bump custom :version for previous change.
Glenn Morris [Sat, 14 Aug 2010 02:23:56 +0000 (19:23 -0700)]
* lisp/calendar/diary-lib.el: Bump custom :version for previous change.

13 years agoMinor diary-lib.el fix.
Glenn Morris [Sat, 14 Aug 2010 01:56:35 +0000 (18:56 -0700)]
Minor diary-lib.el fix.
* lisp/calendar/diary-lib.el (diary-header-line-format):
Fit it to the window, not the frame.

13 years ago* doc.c (Fsnarf_documentation): Initialize skip_file before build-files test.
Jan D [Fri, 13 Aug 2010 10:32:37 +0000 (12:32 +0200)]
* doc.c (Fsnarf_documentation): Initialize skip_file before build-files test.

13 years agomerge emacs-23
Kenichi Handa [Fri, 13 Aug 2010 06:35:36 +0000 (15:35 +0900)]
merge emacs-23

13 years agoquail/greek.el ("greek-postfix"): Add rules for Greek style quotes.
Kenichi Handa [Fri, 13 Aug 2010 06:26:27 +0000 (15:26 +0900)]
quail/greek.el ("greek-postfix"): Add rules for Greek style quotes.

13 years ago* subr.el (ignore-errors): Add debug declaration.
Andreas Schwab [Wed, 11 Aug 2010 13:43:49 +0000 (15:43 +0200)]
* subr.el (ignore-errors): Add debug declaration.

13 years ago* src/s/hpux10-20.h (HAVE_TERMIOS, NO_TERMIO, ORDINARY_LINK): New
Peter O'Gorman [Mon, 9 Aug 2010 15:51:28 +0000 (08:51 -0700)]
* src/s/hpux10-20.h (HAVE_TERMIOS, NO_TERMIO, ORDINARY_LINK): New
definitions.
(HAVE_TERMIO): Remove.

13 years agomerge emacs-23
Kenichi Handa [Mon, 9 Aug 2010 02:31:21 +0000 (11:31 +0900)]
merge emacs-23

13 years agoquail/greek.el ("greek"): Add rules for Greek style quotes.
Kenichi Handa [Mon, 9 Aug 2010 02:28:25 +0000 (11:28 +0900)]
quail/greek.el ("greek"): Add rules for Greek style quotes.

13 years ago* whitespace.el (whitespace-color-off): Remove post-command-hook locally.
Geoff Gole [Mon, 9 Aug 2010 02:23:35 +0000 (22:23 -0400)]
* whitespace.el (whitespace-color-off): Remove post-command-hook locally.

13 years agoFix query-replace-regexp incomplete highlighting (Bug#6808).
Johan Bockgård [Sun, 8 Aug 2010 20:55:52 +0000 (16:55 -0400)]
Fix query-replace-regexp incomplete highlighting (Bug#6808).

* replace.el (replace-highlight): Bind isearch-forward and
isearch-error, ensuring that highlighting is updated if the user
switches the search direction (Bug#6808).

* isearch.el (isearch-lazy-highlight-forward): New var.
(isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
(isearch-lazy-highlight-update): Use it.

13 years agomerge trunk
Kenichi Handa [Fri, 6 Aug 2010 08:15:12 +0000 (17:15 +0900)]
merge trunk

13 years agoImprove the encoding by compound-text-with-extensions.
Kenichi Handa [Fri, 6 Aug 2010 08:11:19 +0000 (17:11 +0900)]
Improve the encoding by compound-text-with-extensions.

13 years agomerge trunk
Kenichi Handa [Fri, 6 Aug 2010 03:54:13 +0000 (12:54 +0900)]
merge trunk

13 years ago* emulation/pc-select.el: Fix typos in docstrings.
Juanma Barranquero [Thu, 5 Aug 2010 21:31:03 +0000 (23:31 +0200)]
* emulation/pc-select.el: Fix typos in docstrings.

13 years ago* lisp/simple.el (exchange-dot-and-mark): Mark obsolete, finally.
Stefan Monnier [Wed, 4 Aug 2010 18:04:29 +0000 (20:04 +0200)]
* lisp/simple.el (exchange-dot-and-mark): Mark obsolete, finally.

13 years agoModify the coding system compound-text-with-extensions to conform to the spec of...
Kenichi Handa [Wed, 4 Aug 2010 08:06:52 +0000 (17:06 +0900)]
Modify the coding system compound-text-with-extensions to conform to the spec of Compound Text.

13 years agowhich-func.el (which-func-format): Split help-echo text into lines.
Juanma Barranquero [Tue, 3 Aug 2010 16:39:37 +0000 (18:39 +0200)]
which-func.el (which-func-format): Split help-echo text into lines.

13 years ago* server.el (server-start): Force IPv4 and use literal 127.0.0.1.
Juanma Barranquero [Tue, 3 Aug 2010 13:04:20 +0000 (15:04 +0200)]
* server.el (server-start): Force IPv4 and use literal 127.0.0.1.

13 years agont/cmdproxy.c (main): Use _snprintf instead of wsprintf (bug#6647).
Óscar Fuentes [Mon, 2 Aug 2010 19:35:28 +0000 (21:35 +0200)]
nt/cmdproxy.c (main): Use _snprintf instead of wsprintf (bug#6647).

13 years ago* bindings.el (complete-symbol): Run completion-at-point as a fallback.
Stefan Monnier [Mon, 2 Aug 2010 14:23:50 +0000 (16:23 +0200)]
* bindings.el (complete-symbol): Run completion-at-point as a fallback.

13 years ago* lispref/control.texi (Handling Errors) <error-message-string>: Fix arg name.
Stefan Monnier [Mon, 2 Aug 2010 10:35:34 +0000 (12:35 +0200)]
* lispref/control.texi (Handling Errors) <error-message-string>: Fix arg name.

Fixes: debbugs:6770

13 years ago* term.el: Fix typos in docstrings.
Juanma Barranquero [Mon, 2 Aug 2010 04:14:26 +0000 (06:14 +0200)]
* term.el: Fix typos in docstrings.

13 years ago* bindings.el (function-key-map): Add a S-tab => backtab fallback.
Stefan Monnier [Mon, 2 Aug 2010 00:13:02 +0000 (02:13 +0200)]
* bindings.el (function-key-map): Add a S-tab => backtab fallback.

13 years ago* w32fns.c (syms_of_w32fns) <x-max-tooltip-size>: Fix typo in docstring.
Juanma Barranquero [Sun, 1 Aug 2010 04:28:09 +0000 (06:28 +0200)]
* w32fns.c (syms_of_w32fns) <x-max-tooltip-size>: Fix typo in docstring.
* xfns.c (syms_of_xfns) <x-max-tooltip-size>: Reflow docstring.

13 years ago* org.texi (Footnotes, Tables in HTML export): Fix typos.
Juanma Barranquero [Sun, 1 Aug 2010 04:00:59 +0000 (06:00 +0200)]
* org.texi (Footnotes, Tables in HTML export): Fix typos.

13 years ago* dabbrev.el (dabbrev-completion): Fix typo in docstring.
Juanma Barranquero [Sun, 1 Aug 2010 03:19:23 +0000 (05:19 +0200)]
* dabbrev.el (dabbrev-completion): Fix typo in docstring.

13 years ago* lisp/emacs-lisp/syntax.el (syntax-ppss-toplevel-pos): Fix typo in docstring.
MON KEY [Sun, 1 Aug 2010 00:24:55 +0000 (02:24 +0200)]
* lisp/emacs-lisp/syntax.el (syntax-ppss-toplevel-pos): Fix typo in docstring.

Fixes: debbugs:6747

13 years ago* lisp/eshell/esh-io.el (eshell-get-target): Better detection of read-only file ...
Leo Liu [Fri, 30 Jul 2010 23:25:06 +0000 (19:25 -0400)]
* lisp/eshell/esh-io.el (eshell-get-target): Better detection of read-only file (Bug#6762).

13 years agofns.c: Doc fixes.
Juanma Barranquero [Fri, 30 Jul 2010 00:54:53 +0000 (02:54 +0200)]
fns.c: Doc fixes.

13 years agoalign.el: Doc fixes.
Juanma Barranquero [Fri, 30 Jul 2010 00:50:13 +0000 (02:50 +0200)]
align.el: Doc fixes.

13 years ago* doc/lispref/modes.texi (Defining Minor Modes): Use C-backspace, not C-delete.
Juanma Barranquero [Thu, 29 Jul 2010 00:58:16 +0000 (02:58 +0200)]
* doc/lispref/modes.texi (Defining Minor Modes): Use C-backspace, not C-delete.