bpt/emacs.git
13 years agoAdd fall-back definition of _CS_DARWIN_USER_TEMP_DIR (fix last failed check-in).
YAMAMOTO Mitsuharu [Wed, 10 Nov 2010 08:35:27 +0000 (17:35 +0900)]
Add fall-back definition of _CS_DARWIN_USER_TEMP_DIR (fix last failed check-in).

13 years agoAdd fall-back definition of _CS_DARWIN_USER_TEMP_DIR.
YAMAMOTO Mitsuharu [Wed, 10 Nov 2010 08:33:14 +0000 (17:33 +0900)]
Add fall-back definition of _CS_DARWIN_USER_TEMP_DIR.

13 years ago* lisp/printing.el (pr-menu-bind): Doc fix.
Glenn Morris [Wed, 10 Nov 2010 07:55:15 +0000 (23:55 -0800)]
* lisp/printing.el (pr-menu-bind): Doc fix.

13 years ago* lisp/speedbar.el (speedbar-toggle-images): Doc fix.
Glenn Morris [Wed, 10 Nov 2010 07:52:12 +0000 (23:52 -0800)]
* lisp/speedbar.el (speedbar-toggle-images): Doc fix.

13 years agomouse-sel.el comments.
Glenn Morris [Wed, 10 Nov 2010 07:49:24 +0000 (23:49 -0800)]
mouse-sel.el comments.

13 years ago* lisp/progmodes/python.el (python-shell): Doc fix.
Glenn Morris [Wed, 10 Nov 2010 07:46:01 +0000 (23:46 -0800)]
* lisp/progmodes/python.el (python-shell): Doc fix.

13 years agowid-edit doc fixes.
Glenn Morris [Wed, 10 Nov 2010 07:44:30 +0000 (23:44 -0800)]
wid-edit doc fixes.

* lisp/wid-edit.el (widget-field-use-before-change)
(widget-use-overlay-change): Doc fixes.

13 years agoComments related to `bzr commit --fixes'.
Glenn Morris [Wed, 10 Nov 2010 04:50:31 +0000 (20:50 -0800)]
Comments related to `bzr commit --fixes'.

13 years agoFix 2010-05-05T22:14:15Z!lekktu@gmail.com.
Eli Zaretskii [Tue, 9 Nov 2010 18:36:21 +0000 (20:36 +0200)]
Fix 2010-05-05T22:14:15Z!lekktu@gmail.com.

 keyboard.c (kbd_buffer_nr_stored): Define only ifdef subprocesses.
 (kbd_buffer_store_event_hold, kbd_buffer_get_event)
 (tty_read_avail_input): Call kbd_buffer_nr_stored only ifdef
 subprocesses.  Use buffer_free only ifdef subprocesses.
 process.c (init_process) [subprocesses]: Init kbd_is_on_hold in
 the subprocesses version, not in the non-subprocesses one.

13 years agoFix 2010-05-06T02:53:56Z!monnier@iro.umontreal.ca.
Eli Zaretskii [Tue, 9 Nov 2010 18:28:38 +0000 (20:28 +0200)]
Fix 2010-05-06T02:53:56Z!monnier@iro.umontreal.ca.

 src/Makefile.in: Don't use ## comment, it breaks the MSDOS build.

13 years agoxfns.c (x_real_positions): Fix declaration-after-statement problem.
Eli Zaretskii [Tue, 9 Nov 2010 13:55:52 +0000 (15:55 +0200)]
xfns.c (x_real_positions): Fix declaration-after-statement problem.

13 years ago* lisp/progmodes/tcl.el (tcl-hairy-scan-for-comment): Doc fix.
Glenn Morris [Tue, 9 Nov 2010 07:41:57 +0000 (23:41 -0800)]
* lisp/progmodes/tcl.el (tcl-hairy-scan-for-comment): Doc fix.

13 years agoChangeLog fix.
Glenn Morris [Tue, 9 Nov 2010 04:39:11 +0000 (20:39 -0800)]
ChangeLog fix.

13 years agoBump version to 23.2.90.
Chong Yidong [Tue, 9 Nov 2010 02:53:18 +0000 (21:53 -0500)]
Bump version to 23.2.90.
Regenerate AUTHORS, configure, and ldefs-boot.el.

13 years ago* .dir-locals.el (log-edit-mode): Set log-edit-rewrite-fixes.
Stefan Monnier [Mon, 8 Nov 2010 21:07:41 +0000 (16:07 -0500)]
* .dir-locals.el (log-edit-mode): Set log-edit-rewrite-fixes.

13 years ago* lisp/minibuffer.el (minibuffer-completion-help): Specify the end of the
Stefan Monnier [Mon, 8 Nov 2010 20:53:42 +0000 (15:53 -0500)]
* lisp/minibuffer.el (minibuffer-completion-help): Specify the end of the
completion field.

Fixes: debbugs:7211

13 years ago* lisp/progmodes/python.el (python-font-lock-syntactic-keywords):
Stefan Monnier [Mon, 8 Nov 2010 18:56:10 +0000 (13:56 -0500)]
* lisp/progmodes/python.el (python-font-lock-syntactic-keywords):
Fix handling of backslash escapes.
(python-quote-syntax): Adjust accordingly.

Fixes: debbugs:7322

13 years ago* lisp/vc-mtn.el (vc-mtn-working-revision, vc-mtn-after-dir-status)
Richard Levitte [Mon, 8 Nov 2010 18:42:24 +0000 (13:42 -0500)]
* lisp/vc-mtn.el (vc-mtn-working-revision, vc-mtn-after-dir-status)
(vc-mtn-workfile-branch): Adjust to new output format.

13 years ago* lisp/international/mule-cmds.el (princ-list): Mark as obsolete.
Stefan Monnier [Mon, 8 Nov 2010 15:45:49 +0000 (10:45 -0500)]
* lisp/international/mule-cmds.el (princ-list): Mark as obsolete.

13 years ago* lisp/emacs-lisp/smie.el: New package.
Stefan Monnier [Sun, 7 Nov 2010 15:52:33 +0000 (10:52 -0500)]
* lisp/emacs-lisp/smie.el: New package.

13 years agoFix misleading Changelog entry.
Michael Albinus [Sun, 7 Nov 2010 07:02:15 +0000 (08:02 +0100)]
Fix misleading Changelog entry.

13 years agoFix typo.
Michael Albinus [Sat, 6 Nov 2010 14:05:47 +0000 (15:05 +0100)]
Fix typo.

13 years ago* files.el (backup-by-copying-when-mismatch): Make it a buffer local
Michael Albinus [Sat, 6 Nov 2010 14:04:23 +0000 (15:04 +0100)]
* files.el (backup-by-copying-when-mismatch): Make it a buffer local
variable (permanent-local).

* net/tramp.el (tramp-handle-insert-file-contents): Do not set
`permanent-local' property for `(backup-by-copying-when-mismatch'.

13 years agoFix bug #7300.
Eli Zaretskii [Sat, 6 Nov 2010 10:23:33 +0000 (12:23 +0200)]
Fix bug #7300.

 msdog.texi (Windows HOME): Add information regarding startup
 directory when invoking Emacs from a desktop shortcut.

13 years agoBack-port from trunk the fix for bug #6294.
Eli Zaretskii [Sat, 6 Nov 2010 10:08:33 +0000 (12:08 +0200)]
Back-port from trunk the fix for bug #6294.

 ls-lisp.el (ls-lisp-classify-file): New function.
 (ls-lisp-insert-directory): Call it if switches include -F.
 (ls-lisp-classify): Call ls-lisp-classify-file.
 (insert-directory): Remove blanks from switches.

13 years agoFix bug #7285.
Eli Zaretskii [Sat, 6 Nov 2010 09:57:24 +0000 (11:57 +0200)]
Fix bug #7285.

 ls-lisp.el (insert-directory): Doc fix.

13 years ago* progmodes/verilog-mode.el (verilog-insert-one-definition)
Wilson Snyder [Sat, 6 Nov 2010 07:54:19 +0000 (00:54 -0700)]
* progmodes/verilog-mode.el (verilog-insert-one-definition)
(verilog-read-decls, verilog-read-sub-decls-sig): Fix AUTOWIRE and
AUTOINOUT for SV style multidimensional arrays, bug294.  Reported
by Eric Mastromarchi.
(verilog-preprocess): Use with-current-buffer and
font-lock-fontify-buffer to cleanup style issues.

13 years ago* trampver.texi: Update release number.
Michael Albinus [Fri, 5 Nov 2010 20:55:06 +0000 (21:55 +0100)]
* trampver.texi: Update release number.

This shall not be merged into the trunk.

13 years ago* net/trampver.el: Update release number.
Michael Albinus [Fri, 5 Nov 2010 20:52:50 +0000 (21:52 +0100)]
* net/trampver.el: Update release number.

This shall not be merged into the trunk.

13 years agoFix the fix for Bug#6426 (Bug#7210), avoiding frame garbaging loop.
Chong Yidong [Fri, 5 Nov 2010 18:28:19 +0000 (14:28 -0400)]
Fix the fix for Bug#6426 (Bug#7210), avoiding frame garbaging loop.
* image.c (free_image): Don't garbage the frame here, since this
function can be called while redisplaying (Bug#7210).
(uncache_image): Garbage the frame here (Bug#6426).

13 years agoRegenerate configure.
Chong Yidong [Thu, 4 Nov 2010 20:34:49 +0000 (16:34 -0400)]
Regenerate configure.

13 years agoBackport fix for Bug#5723 from trunk.
Chong Yidong [Thu, 4 Nov 2010 19:56:50 +0000 (15:56 -0400)]
Backport fix for Bug#5723 from trunk.

13 years agoBackport 2010-03-27T00:45:32Z!cyd@stupidchicken.com from trunk
Chong Yidong [Thu, 4 Nov 2010 19:54:28 +0000 (15:54 -0400)]
Backport 2010-03-27T00:45:32Z!cyd@stupidchicken.com from trunk

13 years agoBackport 2010-03-25T08:56:15Z!mituharu@math.s.chiba-u.ac.jp from trunk
YAMAMOTO Mitsuharu [Thu, 4 Nov 2010 19:54:14 +0000 (15:54 -0400)]
Backport 2010-03-25T08:56:15Z!mituharu@math.s.chiba-u.ac.jp from trunk

13 years agoBackport 2010-03-25T08:48:52Z!mituharu@math.s.chiba-u.ac.jp from trunk
Helmut Eller [Thu, 4 Nov 2010 19:53:28 +0000 (15:53 -0400)]
Backport 2010-03-25T08:48:52Z!mituharu@math.s.chiba-u.ac.jp from trunk

13 years agoBackport 2010-05-27T04:24:30Z!handa@etlken from trunk
Kenichi Handa [Thu, 4 Nov 2010 19:46:30 +0000 (15:46 -0400)]
Backport 2010-05-27T04:24:30Z!handa@etlken from trunk

13 years agoBackport fix for Bug#2423 from trunk.
YAMAMOTO Mitsuharu [Thu, 4 Nov 2010 19:39:47 +0000 (15:39 -0400)]
Backport fix for Bug#2423 from trunk.

* dispextern.h (TRY_WINDOW_CHECK_MARGINS)
(TRY_WINDOW_IGNORE_FONTS_CHANGE): New defines.

* xdisp.c (try_window): Change arg from CHECK_MARGINS to FLAGS.
Don't abort with fonts change if TRY_WINDOW_IGNORE_FONTS_CHANGE is
set in FLAGS.  Callers with non-zero CHECK_MARGINS changed to use
TRY_WINDOW_CHECK_MARGINS.

* xfns.c (Fx_show_tip): Undo last change.  Call try_window with
TRY_WINDOW_IGNORE_FONTS_CHANGE (Bug#2423).

13 years agoBackport 2010-04-10T10:52:30Z!mituharu@math.s.chiba-u.ac.jp from trunk
Chong Yidong [Thu, 4 Nov 2010 19:35:32 +0000 (15:35 -0400)]
Backport 2010-04-10T10:52:30Z!mituharu@math.s.chiba-u.ac.jp from trunk

13 years agoBackport 2010-04-10T10:39:16Z!mituharu@math.s.chiba-u.ac.jp from trunk
Chong Yidong [Thu, 4 Nov 2010 19:34:50 +0000 (15:34 -0400)]
Backport 2010-04-10T10:39:16Z!mituharu@math.s.chiba-u.ac.jp from trunk

13 years agoBackport from trunk.
Chong Yidong [Thu, 4 Nov 2010 19:34:11 +0000 (15:34 -0400)]
Backport from trunk.

13 years agoBackport Bug#6765 fix from trunk.
YAMAMOTO Mitsuharu [Thu, 4 Nov 2010 19:27:46 +0000 (15:27 -0400)]
Backport Bug#6765 fix from trunk.

* mouse.el (mouse-fixup-help-message): Match "mouse-2" only at the
beginning of the string.  Use `string-match-p'.  (Bug#6765)

13 years ago* configure.in: Don't write a warning for D-Bus anymore.
Michael Albinus [Thu, 4 Nov 2010 16:00:35 +0000 (17:00 +0100)]
* configure.in: Don't write a warning for D-Bus anymore.

13 years ago* xfns.c (x_real_positions): Only use _NET_FRAME_EXTENTS if our
Jan Djärv [Thu, 4 Nov 2010 12:37:17 +0000 (13:37 +0100)]
* xfns.c (x_real_positions): Only use _NET_FRAME_EXTENTS if our
parent is the root window.  Check this after traversing window tree.

13 years agoRemove debug code.
Jan Djärv [Thu, 4 Nov 2010 12:17:46 +0000 (13:17 +0100)]
Remove debug code.

13 years agoGet window position by reading _NET_FRAME_EXTENTS (Bug#5721).
Jan Djärv [Thu, 4 Nov 2010 08:41:25 +0000 (09:41 +0100)]
Get window position by reading _NET_FRAME_EXTENTS (Bug#5721).

* src/xfns.c (x_real_positions): Try to get _NET_FRAME_EXTENTS first
before traversing window tree (Bug#5721).

* src/xterm.c (x_term_init): Initialize Xatom_net_frame_extents.

* src/xterm.h (struct x_display_info): Xatom_net_frame_extents is new.

13 years agocalc.texi: Update Emacs version to 23.3.
Jay Belanger [Wed, 3 Nov 2010 23:19:23 +0000 (18:19 -0500)]
calc.texi:  Update Emacs version to 23.3.

13 years agoFix for Bug#5655, backported from trunk.
Glenn Morris [Wed, 3 Nov 2010 18:55:19 +0000 (14:55 -0400)]
Fix for Bug#5655, backported from trunk.

* configure.in (CRT_DIR): New output variable.
(--with-crt-dir): New option.  (Bug#5655)
(HAVE_LIB64_DIR): Remove.

* src/Makefile.in (CRT_DIR): New variable, set by configure.
* src/m/amdx86-64.h, m/ibms390x.h (START_FILES, LIB_STANDARD):
Use $CRT_DIR rather than HAVE_LIB64_DIR.  (Bug#5655)

13 years agoBackport fix for Bug#6571 from trunk. NOTE: May cause merge conflicts.
Jan Djärv [Mon, 1 Nov 2010 11:30:33 +0000 (12:30 +0100)]
Backport fix for Bug#6571 from trunk.  NOTE: May cause merge conflicts.

* src/keyboard.c (input_available_signal): Declare.
(kbd_buffer_nr_stored): New function.
(kbd_buffer_store_event_hold): If kbd_buffer_nr_stored returns
more than KBD_BUFFER_SIZE/2, stop reding input (Bug#6571).
(kbd_buffer_get_event): If input is suspended and kbd_buffer_nr_stored
returns less than KBD_BUFFER_SIZE/4, resume reding input (Bug#6571).
(tty_read_avail_input): If input is on hold, return.
Don't read more that free slots in kbd_buffer (Bug#6571).

* src/process.c (kbd_is_on_hold): New variable.
(hold_keyboard_input, unhold_keyboard_input, kbd_on_hold_p):
New functions.
(wait_reading_process_output): If kbd_on_hold_p returns non-zero,
select on empty input mask.
(init_process): Initialize kbd_is_on_hold to 0.

* src/process.h (hold_keyboard_input, unhold_keyboard_input)
(kbd_on_hold_p): Declare.

13 years ago* lisp/locate.el (locate, locate-mode): Doc fixes.
Glenn Morris [Mon, 1 Nov 2010 06:55:49 +0000 (23:55 -0700)]
* lisp/locate.el (locate, locate-mode): Doc fixes.

13 years agoPrevent server-mode from issuing a prompt in kill-emacs-hook.
Chong Yidong [Mon, 1 Nov 2010 03:35:06 +0000 (23:35 -0400)]
Prevent server-mode from issuing a prompt in kill-emacs-hook.
* server.el (server-start): New arg INHIBIT-PROMPT prevents asking
user for confirmation.
(server-force-stop): Use it.
(server-start): Use server-force-stop for kill-emacs-hook, to
avoid user interaction while killing Emacs.

13 years agoBackport VC improvements from trunk.
Chong Yidong [Mon, 1 Nov 2010 03:13:42 +0000 (23:13 -0400)]
Backport VC improvements from trunk.

* vc/log-edit.el (log-edit-rewrite-fixes): New var.
(log-edit-author): New dynamic var.
(log-edit-changelog-ours-p, log-edit-insert-changelog-entries):
Use it to return the author if different from committer.
(log-edit-insert-changelog): Use them to add Author: and Fixes headers.

* vc/vc-hooks.el (vc-default-mode-line-string): Doc fix.

* vc/vc.el (vc-deduce-backend): New fun.  Handle diff buffers.
(vc-root-diff, vc-print-root-log, vc-log-incoming)
(vc-log-outgoing): Use it.
(vc-diff-internal): Set diff-vc-backend.

* vc/diff-mode.el (diff-vc-backend): New var.

* vc/vc.el (vc-diff-internal): Set `revert-buffer-function'
buffer-locally to lambda that re-runs the vc diff command.
(Bug#6447)

* vc/log-view.el (log-view-mode-map): Bind revert-buffer.

Make 'g' (AKA revert-buffer) rerun VC log, log-incoming and
log-outgoing commands.
* vc/vc.el (vc-log-internal-common): Add a new argument and use it
to create a buffer local revert-buffer-function variable.
(vc-print-log-internal, vc-log-incoming, vc-log-outgoing): Pass a
revert-buffer-function lambda.

Improve VC create/retrieve tag/branch.
* vc.el (vc-create-tag): Do not read the directory name for VCs
with repository revision granularity.  Adjust the tag/branch
prompt.  Reset VC properties.
(vc-retrieve-tag): Do not read the directory name for VCs
with repository revision granularity.  Reset VC properties.

Add optional support for resetting VC properties.
* vc-dispatcher.el (vc-resynch-window): Add new optional argument,
call vc-file-clearprops when true.
(vc-resynch-buffer): Add new optional argument, pass it down.
(vc-resynch-buffers-in-directory): Likewise.

Improve support for special markup in the VC commit message.
* vc-mtn.el (vc-mtn-checkin): Support Author: and Date: markup.
* vc-hg.el (vc-hg-checkin): Add support for Date:.
* vc-git.el (vc-git-checkin):
* vc-bzr.el (vc-bzr-checkin): Likewise.

Add support for vc-log-incoming, improve vc-log-outgoing for Git.
* vc-git.el (vc-git-log-view-mode): Fix font lock for
incoming/outgoing logs.
(vc-git-log-outgoing, vc-git-log-incoming): New functions.

* vc-git.el (vc-git-log-outgoing): Use the same format as the
short log.
(vc-git-log-incoming): Likewise.  Run "git fetch" before the log
command

Add bindings for vc-log-incoming and vc-log-outgoing.
* vc-hooks.el (vc-prefix-map): Add bindings for vc-log-incoming
and vc-log-outgoing.
* vc-dir.el (vc-dir-menu-map): Add menu bindings for vc-log-incoming
and vc-log-outgoing.

Improve state updating for VC tag commands.
* vc.el (vc-create-tag, vc-retrieve-tag): Call vc-resynch-buffer
to update the state of all buffers in the directory.

* vc-dir.el (vc-dir): Don't pop-up-windows.  (Bug#6204)

* vc.el (vc-checkin, vc-modify-change-comment):
Adjust to new vc-start/finish-logentry.
(vc-find-conflicted-file): New command.
(vc-transfer-file): Adjust to new vc-checkin.
(vc-next-action): Improve scoping.

* vc-git.el (vc-git-checkin): Use log-edit-extract-headers.
(vc-git-commits-coding-system): Rename from git-commits-coding-system.

* vc-dispatcher.el (vc-log-edit): Shorten names for
log-edit-show-files.

* vc-bzr.el (vc-bzr-checkin): Use log-edit-extract-headers.
(vc-bzr-conflicted-files): New function.

* log-edit.el (log-edit-summary, log-edit-header)
(log-edit-unknown-header): New faces.
(log-edit-headers-alist): New var.
(log-edit-header-contents-regexp): New const.
(log-edit-match-to-eoh): New function.
(log-edit-font-lock-keywords): Use them.
(log-edit): Insert a "Summary:" header as default.
(log-edit-mode): Mark font-lock rules as case-insensitive.
(log-edit-done): Cleanup headers.
(log-edit-extract-headers): New function to replace it.

* vc-dispatcher.el (vc-finish-logentry): Don't mess so badly with
the windows/frames.

* vc-bzr.el (vc-bzr-shelve-apply): Don't use *vc-bzr-shelve*.

* vc-dir.el (vc-dir-kill-line): New command.
(vc-dir-mode-map): Bind it to C-k.
(vc-dir-headers): Abbreviate the working dir.

* vc-git.el (vc-git-revision-table): Include remote branches.

New VC methods: vc-log-incoming and vc-log-outgoing.
* vc.el (vc-print-log-setup-buttons, vc-log-internal-common)
(vc-incoming-outgoing-internal, vc-log-incoming, vc-log-outgoing):
New functions.
(vc-print-log-internal): Just call vc-log-internal-common.
(vc-log-view-type): New permanent local variable.

* vc-hooks.el (vc-menu-map): Bind vc-log-incoming and vc-log-outgoing.

* vc-bzr.el (vc-bzr-log-view-mode): Use vc-log-view-type instead
of the dynamic bound vc-short-log.
(vc-bzr-log-incoming, vc-bzr-log-outgoing): New functions.

* vc-git.el (vc-git-log-outgoing): New function.
(vc-git-log-view-mode): Use vc-log-view-type instead
of the dynamic bound vc-short-log.

* vc-hg.el (vc-hg-log-view-mode): Use vc-log-view-type instead of
the dynamic bound vc-short-log.  Highlight the tag.
(vc-hg-log-incoming, vc-hg-log-outgoing): New functions.
(vc-hg-outgoing, vc-hg-incoming, vc-hg-outgoing-mode):
(vc-hg-incoming-mode): Remove.
(vc-hg-extra-menu-map): Do not bind vc-hg-incoming and vc-hg-outgoing.

Fix default-directory for vc-root-diff.
* vc.el (vc-root-diff): Bind default-directory to the root
directory for the diff command.

* vc-hg.el (vc-hg-push, vc-hg-pull): Use `apply' when calling
`vc-hg-command' with a list of flags.

* vc-bzr.el (vc-bzr-log-edit-mode): Add --fixes support to
log-edit-before-checkin-process.

* vc.el (vc-modify-change-comment): Pass MODE to vc-start-logentry.

* vc-bzr.el, vc-hg.el (log-edit-mode): Declare.

* vc-dispatcher.el (vc-start-logentry): Doc fix.
(log-view-process-buffer, log-edit-extra-flags): Declare.

Add special markup processing for commit logs.
* log-edit.el (log-edit): Add new argument MODE.  Use that mode
when non-nil instead of the log-view-mode.

* vc.el (vc-default-log-edit-mode): New function.

* vc-dispatcher.el (vc-log-edit): Add a mode argument, pass it to
log-edit.

Support for shelving snapshots and for showing shelves.
* vc-bzr.el (vc-bzr-shelve-show, vc-bzr-shelve-show-at-point)
(vc-bzr-shelve-apply-and-keep-at-point, vc-bzr-shelve-snapshot):
New functions.
(vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
(vc-bzr-extra-menu-map): Map them.

13 years agoMark tiny change.
Glenn Morris [Mon, 1 Nov 2010 02:30:15 +0000 (19:30 -0700)]
Mark tiny change.

13 years agoMake Emacs compile with clang.
Elias Pipping [Mon, 1 Nov 2010 02:01:43 +0000 (22:01 -0400)]
Make Emacs compile with clang.
* oldXMenu/XMakeAssoc.c (XMakeAssoc):
* oldXMenu/XDelAssoc.c (XDeleteAssoc): Declare the return type.

Fixes: debbugs:7309

13 years agoPrint informative error message when aborting on GTK disconnect.
Chong Yidong [Sun, 31 Oct 2010 03:33:56 +0000 (23:33 -0400)]
Print informative error message when aborting on GTK disconnect.

* xterm.c (x_connection_closed): Print informative error message
when aborting on GTK.  This requires using shut_down_emacs
directly instead of Fkill_emacs.

13 years ago* lisp/progmodes/sql.el: Remove comment link to defunct viewcvs url.
Glenn Morris [Sun, 31 Oct 2010 02:16:20 +0000 (19:16 -0700)]
* lisp/progmodes/sql.el: Remove comment link to defunct viewcvs url.

13 years agoTiny MH-E doc fixes.
Glenn Morris [Sat, 30 Oct 2010 21:17:59 +0000 (14:17 -0700)]
Tiny MH-E doc fixes.

* doc/misc/mh-e.texi (Preface, From Bill Wohler): Change 23 to past tense.
* etc/MH-E-NEWS: Change 23 to past tense.

13 years ago* net/tramp.el (tramp-handle-insert-file-contents): For root,
Michael Albinus [Sat, 30 Oct 2010 16:28:17 +0000 (18:28 +0200)]
* net/tramp.el (tramp-handle-insert-file-contents): For root,
preserve owner and group when editing files.  (Bug#7289)

Please contact me, if you have problems syncing with the trunk.

13 years agoReplace some inappropriate uses of toggle-read-only. (Bug#7292)
Glenn Morris [Fri, 29 Oct 2010 07:48:10 +0000 (00:48 -0700)]
Replace some inappropriate uses of toggle-read-only.  (Bug#7292)

* lisp/speedbar.el (speedbar-mode):
* lisp/play/fortune.el (fortune-in-buffer, fortune):
* lisp/play/gomoku.el (gomoku-mode):
* lisp/play/landmark.el (lm-mode):
* lisp/textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
* lisp/cedet/mode-local.el (mode-local-augment-function-help):
* lisp/semantic/analyze/debug.el (semantic-analyzer-debug-add-buttons):
* lisp/semantic/symref/list.el (semantic-symref-results-dump)
(semantic-symref-rb-toggle-expand-tag):
Replace inappropriate uses of toggle-read-only.

13 years agoCorrect some viewcvs links in docs and comments.
Glenn Morris [Fri, 29 Oct 2010 03:19:33 +0000 (20:19 -0700)]
Correct some viewcvs links in docs and comments.

* doc/misc/cc-mode.texi: Remove reference to defunct viewcvs URL.
Instead, refer to the generic Savannah page, since it seems likely
that Savannah will never provide the equivalent service for GNU bazaar.
The other option would be to use the Git mirror URL, since it seems to
be being updated now, and of course browsing Git repos works just fine.
That would be a pretty poor advert for the GNU system though.

* etc/MH-E-NEWS: Update URL (viewcvs -> viewvc).

* lisp/net/tramp-fish.el: Update URL in comment (viewcvs -> viewvc).

13 years ago* lisp/select.el (x-selection): Mark it as an obsolete alias.
Glenn Morris [Thu, 28 Oct 2010 03:52:14 +0000 (20:52 -0700)]
* lisp/select.el (x-selection): Mark it as an obsolete alias.

13 years ago* add-log.el (find-change-log): Use derived-mode-p rather than
Aaron S. Hawley [Wed, 27 Oct 2010 21:37:15 +0000 (17:37 -0400)]
* add-log.el (find-change-log): Use derived-mode-p rather than
major-mode.

Fixes: debbugs:7284

13 years agoFix treatment of menu-bar-files-menu.
Glenn Morris [Wed, 27 Oct 2010 04:06:52 +0000 (21:06 -0700)]
Fix treatment of menu-bar-files-menu.

* lisp/menu-bar.el (menu-bar-files-menu): Make it into an actual alias,
rather than just an unused variable that inherits from the real one.

* doc/lispref/maps.texi (Standard Keymaps): Update File menu description.

13 years agoDocument GTK Emacs kill on display close in PROBLEMS.
Chong Yidong [Mon, 25 Oct 2010 16:08:27 +0000 (12:08 -0400)]
Document GTK Emacs kill on display close in PROBLEMS.

* src/xterm.c (x_connection_closed): Expand comment.

13 years ago* dbusbind.c (Fdbus_call_method_asynchronously)
Michael Albinus [Mon, 25 Oct 2010 11:46:21 +0000 (13:46 +0200)]
* dbusbind.c (Fdbus_call_method_asynchronously)
(Fdbus_register_signal, Fdbus_register_method): Check, whether
`dbus-registered-objects-table' is initialized.

Must not be synchronized with the trunk.

13 years ago* xterm.c (x_connection_closed): Kill Emacs unconditionally.
Chong Yidong [Sun, 24 Oct 2010 21:05:11 +0000 (17:05 -0400)]
* xterm.c (x_connection_closed): Kill Emacs unconditionally.

13 years agoverilog-mode.el updates.
Wilson Snyder [Sat, 23 Oct 2010 21:12:38 +0000 (14:12 -0700)]
verilog-mode.el updates.

This file should be copied to the trunk verbatim.

* verilog-mode.el (verilog-directive-re): Make this variable
auto-built for efficiency of execution and updating.
(verilog-extended-complete-re): Support 'pure' fucntion & task
declarations (these have no bodies).
(verilog-beg-of-statement): general cleanup to enable support of
'pure' fucntion & task declarations (these have no bodies).  These
efforts together fix Verilog bug210 from veripool; which was also
noticed by Steve Pearlmutter.
(verilog-directive-re, verilog-directive-begin, verilog-indent-re)
(verilog-directive-nest-re, verilog-set-auto-endcomments): Support
`elsif.  Reported by Shankar Giri.
(verilog-forward-ws&directives, verilog-in-attribute-p): Fixes for
attribute handling for lining up declarations and assignments.
(verilog-beg-of-statement-1): Fix issue where continued declaration
is indented differently if it is after a begin..end clock.
(verilog-in-attribute-p, verilog-skip-backward-comments)
(verilog-skip-forward-comment-p): Support proper treatment of
attributes by indent code. Reported by Jeff Steele.
(verilog-in-directive-p): Fix comment to correctly describe
function.
(verilog-backward-up-list, verilog-in-struct-region-p)
(verilog-backward-token, verilog-in-struct-p)
(verilog-in-coverage-p, verilog-do-indent)
(verilog-pretty-declarations): Use verilog-backward-up-list as
wrapper around backward-up-list inorder to properly skip comments.
Reported by David Rogoff.
(verilog-property-re, verilog-endcomment-reason-re)
(verilog-beg-of-statement, verilog-set-auto-endcomments)
(verilog-calc-1 ): Fix for assert a; else b; indentation (new form
of if). Reported by Max Bjurling and
(verilog-calc-1): Fix for clocking block in modport
declaration. Reported by Brian Hunter.
* verilog-mode.el (verilog-auto-inst, verilog-gate-ios)
(verilog-gate-keywords, verilog-read-sub-decls)
(verilog-read-sub-decls-gate, verilog-read-sub-decls-gate-ios)
(verilog-read-sub-decls-line, verilog-read-sub-decls-sig): Support
AUTOINST for gate primitives, bug284.  Reported by Mark Johnson.
(verilog-read-decls): Fix spaces in V2K module parameters causing
mis-identification as interfaces, bug287.
(verilog-read-decls): Fix not treating "parameter string" as a
parameter in AUTOINSTPARAM.
(verilog-read-always-signals-recurse, verilog-read-decls): Fix not
treating `elsif similar to `endif inside AUTOSENSE.
(verilog-do-indent): Implement correct automatic or static task or
function end comment highlight. Reported by Steve Pearlmutter.
(verilog-font-lock-keywords-2): Fix highlighting of single
character pins, bug264.  Reported by Michael Laajanen.
(verilog-auto-inst, verilog-read-decls, verilog-read-sub-decls)
(verilog-read-sub-decls-in-interfaced, verilog-read-sub-decls-sig)
(verilog-subdecls-get-interfaced, verilog-subdecls-new): Support
interfaces with AUTOINST, bug270.  Reported by Luis Gutierrez.
(verilog-pretty-expr): Fix interactive arguments, bug272. Reported
by Mark Johnson.
(verilog-auto-tieoff, verilog-auto-tieoff-ignore-regexp): Add
'verilog-auto-tieoff-ignore-regexp' for AUTOTIEOFF,
bug269. Suggested by Gary Delp.
(verilog-mode-map, verilog-preprocess, verilog-preprocess-history)
(verilog-preprocessor, verilog-set-compile-command): Create
verilog-preprocess and verilog-preprocessor to show preprocessed
output.
(verilog-get-beg-of-line, verilog-get-end-of-line)
(verilog-modi-file-or-buffer, verilog-modi-name)
(verilog-modi-point, verilog-within-string): Move defmacro's
before first use to avoid warning. Reported by Steve Pearlmutter.
(verilog-colorize-buffer, verilog-colorize-include-files-buffer)
(verilog-colorize-region, verilog-highlight-buffer)
(verilog-highlight-includes, verilog-highlight-modules)
(verilog-highlight-region, verilog-mode): Rename colorize to
highlight to match other packages.  Disable module highlighting,
as received speed complaints, reenable for experimentation only
using new verilog-highlight-modules.
(verilog-read-decls): Fix regexp stack overflow in very large
AUTO_TEMPLATEs, bug250.
(verilog-auto, verilog-delete-auto, verilog-save-buffer-state)
(verilog-scan): Create verilog-save-buffer-state to standardize
making insignificant changes that shouldn't call hooks.
(verilog-save-no-change-functions, verilog-save-scan-cache)
(verilog-scan, verilog-scan-cache-ok-p, verilog-scan-region):
Create verilog-save-no-change-functions to wrap verilog-scan
preservation, and fix to work with nested preserved calls.
(verilog-auto-inst, verilog-auto-inst-dot-name): Support .name
port syntax for AUTOWIRE, and with new verilog-auto-inst-dot-name
generate .name with AUTOINST, bug245.  Suggested by David Rogoff.
(verilog-submit-bug-report): Update variable list to be complete.
(verilog-auto, verilog-colorize-region): Fix AUTO expansion
breaking on-the-fly font-locking.
(verilog-colorize-buffer, verilog-colorize-include-files)
(verilog-colorize-include-files-buffer, verilog-colorize-region)
(verilog-load-file-at-mouse, verilog-load-file-at-point)
(verilog-mode, verilog-read-inst-module-matcher): With point on a
AUTOINST cell instance name, middle mouse button now finds-file on
it.  Suggested by Brad Dobbie.
(verilog-alw-get-temps, verilog-auto-reset)
(verilog-auto-sense-sigs, verilog-read-always-signals)
(verilog-read-always-signals-recurse): Fix loop indexes being
AUTORESET. AUTORESET now assumes any variables in the
initialization section of a for() should be ignored.  Reported by
Dan Dever.
(verilog-error-font-lock-keywords)
(verilog-error-regexp-emacs-alist)
(verilog-error-regexp-xemacs-alist): Fix error detection of
Cadence HAL, reported by David Asher.  Repair drift between the
three similar error variables.
(verilog-modi-lookup, verilog-modi-lookup-cache)
(verilog-modi-lookup-last-current, verilog-modi-lookup-last-mod)
(verilog-modi-lookup-last-modi, verilog-modi-lookup-last-tick):
Fix slow verilog-auto expansion on very large files.
(verilog-read-sub-decls-expr, verilog-read-sub-decls-line): Fix
AUTOOUTPUT treating "1*2" as a signal name in submodule connection
"{1*2{...".  Broke in last revision.
(verilog-read-sub-decls-expr): Fix AUTOOUTPUT not detecting
submodule connections with replications "{#{a},#{b}}".

13 years ago* erc-backend.el (erc-server-JOIN): Set the correct target list on join.
Julien Danjou [Sat, 23 Oct 2010 20:04:47 +0000 (13:04 -0700)]
* erc-backend.el (erc-server-JOIN): Set the correct target list on join.

13 years ago* lisp/erc/erc-backend.el (erc-process-sentinel): Check that buffer is alive
Julien Danjou [Sat, 23 Oct 2010 19:35:22 +0000 (12:35 -0700)]
* lisp/erc/erc-backend.el (erc-process-sentinel): Check that buffer is alive
before setting it as current buffer.

13 years agoFix bug#7224.
Glenn Morris [Sat, 23 Oct 2010 19:15:44 +0000 (12:15 -0700)]
Fix bug#7224.

* lisp/comint.el (comint-password-prompt-regexp): Match "enter the password".

13 years agoFix typos.
Juanma Barranquero [Fri, 22 Oct 2010 23:38:34 +0000 (01:38 +0200)]
Fix typos.

* doc/misc/gnus.texi (Group Parameters, Buttons): Fix typos.

* lisp/org/org-exp.el (org-export-visible):
* lisp/progmodes/dcl-mode.el (dcl-electric-reindent-regexps):
  Fix typos in docstrings.

13 years agosrc/frame.c: Fix previous change.
Juanma Barranquero [Fri, 22 Oct 2010 10:52:08 +0000 (12:52 +0200)]
src/frame.c: Fix previous change.

13 years agoDocument values of window-system and deprecate its use as predicate.
Eli Zaretskii [Fri, 22 Oct 2010 10:35:31 +0000 (12:35 +0200)]
Document values of window-system and deprecate its use as predicate.

 src/frame.c (Fframep, Fwindow_system): Deprecate use as a predicate.
 Document all values.
 src/dispnew.c (syms_of_display) <initial-window-system, window-system>:
 Deprecate use as a boolean flag.  Document all values.
 src/display.texi (Window Systems): Deprecate use of window-system as
 a predicate.

13 years ago* net/tramp.el (tramp-get-inline-coding): Return `nil' in case of
Michael Albinus [Thu, 21 Oct 2010 06:33:47 +0000 (08:33 +0200)]
* net/tramp.el (tramp-get-inline-coding): Return `nil' in case of
errors.

* net/trampver.el: Update release number.

13 years ago* etc/DISTRIB: Update donation section.
Richard M. Stallman [Wed, 20 Oct 2010 04:03:16 +0000 (21:03 -0700)]
* etc/DISTRIB: Update donation section.
From http://lists.gnu.org/archive/html/emacs-devel/2010-10/msg00527.html

13 years ago* etc/DISTRIB: Small updates.
Glenn Morris [Wed, 20 Oct 2010 04:00:01 +0000 (21:00 -0700)]
* etc/DISTRIB: Small updates.
See discussion at
http://lists.gnu.org/archive/html/emacs-devel/2010-10/msg00495.html

13 years agomerge emacs-23
Kenichi Handa [Wed, 20 Oct 2010 00:46:21 +0000 (09:46 +0900)]
merge emacs-23

13 years agoface-remap.el (text-scale-adjust): Call read-event with a proper prompt.
Kenichi Handa [Wed, 20 Oct 2010 00:32:53 +0000 (09:32 +0900)]
face-remap.el (text-scale-adjust): Call read-event with a proper prompt.

13 years agolisp/ChangeLog: Add missing entry.
Juanma Barranquero [Tue, 19 Oct 2010 11:52:29 +0000 (13:52 +0200)]
lisp/ChangeLog: Add missing entry.

13 years ago* net/tramp.el (tramp-do-file-attributes-with-stat)
Michael Albinus [Tue, 19 Oct 2010 09:26:21 +0000 (11:26 +0200)]
* net/tramp.el (tramp-do-file-attributes-with-stat)
(tramp-do-directory-files-and-attributes-with-stat): Use "e0" in
order to make stat results a float.  Patch by Andreas Schwab
<schwab@linux-m68k.org>.

13 years ago* lisp/repeat.el (repeat): Use read-key to ignore mouse-down events.
Stefan Monnier [Mon, 18 Oct 2010 18:38:11 +0000 (14:38 -0400)]
* lisp/repeat.el (repeat): Use read-key to ignore mouse-down events.

Fixes: debbugs:6256

13 years agoDon't allow functions that display messages in unsafep.
Chong Yidong [Mon, 18 Oct 2010 17:28:20 +0000 (13:28 -0400)]
Don't allow functions that display messages in unsafep.

* emacs-lisp/unsafep.el: Don't mark functions that display
messages as safe.  Suggested by Johan Bockgård.

13 years ago* src/s/cygwin.h (SIGNALS_VIA_CHARACTERS): New define (bug#7225).
Ken Brown [Mon, 18 Oct 2010 12:23:41 +0000 (08:23 -0400)]
* src/s/cygwin.h (SIGNALS_VIA_CHARACTERS): New define (bug#7225).

13 years ago(regexp-opt-group, regexp-opt-charset): Turn comments into docstrings
Stefan Monnier [Sun, 17 Oct 2010 18:59:58 +0000 (14:59 -0400)]
(regexp-opt-group, regexp-opt-charset): Turn comments into docstrings

13 years ago* lisp/minibuffer.el (completion--replace): Move point where it belongs
Stefan Monnier [Sun, 17 Oct 2010 17:30:22 +0000 (13:30 -0400)]
* lisp/minibuffer.el (completion--replace): Move point where it belongs
when there's a common suffix.

Fixes: debbugs:7215

13 years ago* net/tramp.el (tramp-open-connection-setup-interactive-shell):
Michael Albinus [Fri, 15 Oct 2010 12:15:43 +0000 (14:15 +0200)]
* net/tramp.el (tramp-open-connection-setup-interactive-shell):
Suppress expansion of tabs to spaces.

13 years agoFix incorrect font metrics when the same font is opened with different pixelsizes.
Kenichi Handa [Fri, 15 Oct 2010 07:49:11 +0000 (16:49 +0900)]
Fix incorrect font metrics when the same font is opened with different pixelsizes.

13 years agomerge emacs-23
Kenichi Handa [Fri, 15 Oct 2010 00:43:23 +0000 (09:43 +0900)]
merge emacs-23

13 years agointernational/characters.el: Add category '|' (word breakable) to fullwidth characters.
Kenichi Handa [Fri, 15 Oct 2010 00:41:53 +0000 (09:41 +0900)]
international/characters.el: Add category '|' (word breakable) to fullwidth characters.

13 years agosrc/w32*.c: Whitespace fixes and typos.
Juanma Barranquero [Thu, 14 Oct 2010 12:25:35 +0000 (14:25 +0200)]
src/w32*.c: Whitespace fixes and typos.

13 years agomail/rmail.el (rmail-show-message-1): Catch an error of base64-decode-region and...
Kenichi Handa [Thu, 14 Oct 2010 04:23:36 +0000 (13:23 +0900)]
mail/rmail.el (rmail-show-message-1): Catch an error of base64-decode-region and just show an error message (bug#7165).

13 years agomerge emacs-23
Kenichi Handa [Thu, 14 Oct 2010 02:06:31 +0000 (11:06 +0900)]
merge emacs-23

13 years ago(ps-mule-begin-job): Fix for the case that only ENCODING is set in a font-spec (bug...
Kenichi Handa [Thu, 14 Oct 2010 02:03:25 +0000 (11:03 +0900)]
(ps-mule-begin-job): Fix for the case that only ENCODING is set in a font-spec (bug#7197).

13 years agoFix handling of font properties on Windows (bug#6303).
Damyan Pepper [Wed, 13 Oct 2010 14:07:28 +0000 (16:07 +0200)]
Fix handling of font properties on Windows (bug#6303).
* src/font.c (font_filter_properties): New function, refactored from
  ftfont_filter_properties.
* src/font.h (font_filter_properties): Declare.
* src/ftfont.c (ftfont_filter_properties): Use font_filter_properties.
* src/w32font.c (w32font_booleans, w32font_non_booleans): New variables.
  (w32font_filter_properties): New function.
  (w32font_driver): Add w32font_filter_properties.

13 years ago* lisp/mail/emacsbug.el (report-emacs-bug): Mention debbugs.gnu.org.
Glenn Morris [Wed, 13 Oct 2010 03:05:22 +0000 (20:05 -0700)]
* lisp/mail/emacsbug.el (report-emacs-bug): Mention debbugs.gnu.org.

13 years agoFix typos in docstrings, comments and ChangeLogs.
Juanma Barranquero [Tue, 12 Oct 2010 23:25:19 +0000 (01:25 +0200)]
Fix typos in docstrings, comments and ChangeLogs.

* etc/tutorials/TUTORIAL.es: Fix typos.

* lisp/cedet/semantic/symref/list.el (semantic-symref-list-rename-open-hits):
  Fix typo in message.
  (semantic-symref-list-map-open-hits): Fix typo in docstring.

* lisp/erc/erc-xdcc.el (erc-xdcc-help-text): Fix typo in docstring.

* lisp/gnus/nnmail.el (nnmail-fancy-expiry-targets): Fix typo in docstring.

* lisp/international/mule.el (define-coding-system):
* lisp/international/titdic-cnv.el (quail-cxterm-package-ext-info):
* composite.el (compose-region): Fix typo in docstring.

* lisp/org/org-agenda.el (org-prefix-category-length)
  (org-prefix-category-max-length): Fix typos in docstrings.

* src/font.c (Ffont_variation_glyphs):
* ccl.c (Fccl_execute_on_string): Fix typo in docstring.

13 years agoFix typos in docstrings, comments and ChangeLogs.
Juanma Barranquero [Tue, 12 Oct 2010 15:16:57 +0000 (17:16 +0200)]
Fix typos in docstrings, comments and ChangeLogs.

* lisp/composite.el (compose-region):
* src/ccl.c (Fccl_execute_on_string): Fix typo in docstring.

13 years agoFix typos in comments
Kenichi Handa [Tue, 12 Oct 2010 12:52:05 +0000 (21:52 +0900)]
Fix typos in comments

13 years ago* README: Updates.
Glenn Morris [Tue, 12 Oct 2010 03:47:36 +0000 (20:47 -0700)]
* README: Updates.

13 years ago* BUGS, INSTALL.BZR: Updates.
Glenn Morris [Tue, 12 Oct 2010 03:45:41 +0000 (20:45 -0700)]
* BUGS, INSTALL.BZR: Updates.

13 years agoetc/NEWS.
Glenn Morris [Tue, 12 Oct 2010 03:43:52 +0000 (20:43 -0700)]
etc/NEWS.