]> git.eshelyaron.com Git - emacs.git/log
emacs.git
14 years ago* lisp/term/ns-win.el: Restore require of cl when compiling.
Glenn Morris [Wed, 27 Oct 2010 03:48:28 +0000 (20:48 -0700)]
* lisp/term/ns-win.el: Restore require of cl when compiling.
(menu-bar-final-items): Remove non-existent `windows' menu.

14 years agognus-group.el: Replace replace-regexp-in-string with gnus-replace-in-string.
Katsumi Yamaoka [Wed, 27 Oct 2010 01:09:11 +0000 (01:09 +0000)]
gnus-group.el: Replace replace-regexp-in-string with gnus-replace-in-string.

14 years ago* src/eval.c (init_eval_once): Set max_lisp_eval_depth to 600.
Juanma Barranquero [Tue, 26 Oct 2010 22:23:09 +0000 (00:23 +0200)]
* src/eval.c (init_eval_once): Set max_lisp_eval_depth to 600.
  Otherwise, bootstrapping on Windows fails to compile macroexp.el.

14 years agoshr.el (shr-tag-div): Added.
Katsumi Yamaoka [Tue, 26 Oct 2010 22:08:30 +0000 (22:08 +0000)]
shr.el (shr-tag-div): Added.

14 years agocmds.c: (internal_self_insert): Don't insert for negative arguments.
Eli Zaretskii [Tue, 26 Oct 2010 18:47:19 +0000 (20:47 +0200)]
cmds.c: (internal_self_insert): Don't insert for negative arguments.

14 years agoFix bug #7281.
Eli Zaretskii [Tue, 26 Oct 2010 18:03:34 +0000 (20:03 +0200)]
Fix bug #7281.

 cmds.c (internal_self_insert): Don't insert if argument N is zero.

14 years ago* lisp/term/common-win.el (xw-defined-colors): Simplify the 'ns case.
Glenn Morris [Tue, 26 Oct 2010 16:56:11 +0000 (09:56 -0700)]
* lisp/term/common-win.el (xw-defined-colors): Simplify the 'ns case.

14 years ago* term/ns-win.el (ns-new-frame, ns-show-prefs): Don't add to global map. * term...
Adrian Robert [Tue, 26 Oct 2010 13:20:00 +0000 (16:20 +0300)]
* term/ns-win.el (ns-new-frame, ns-show-prefs): Don't add to global map.  * term/common-win.el (x-setup-function-keys): Remove most of the keymappings.  Comment on the remaining ones.

14 years agoMention server-port.
Glenn Morris [Tue, 26 Oct 2010 07:42:46 +0000 (00:42 -0700)]
Mention server-port.

14 years agoAdd ChangeLog bug ref.
Glenn Morris [Tue, 26 Oct 2010 07:41:30 +0000 (00:41 -0700)]
Add ChangeLog bug ref.

14 years agoAdd server-port option. (Bug#854)
Peter Oliver [Tue, 26 Oct 2010 07:40:07 +0000 (00:40 -0700)]
Add server-port option.  (Bug#854)
* lisp/server.el (server-port): New option.
(server-start): Use server-port.

14 years ago* lisp/term/ns-win.el (ns-ignore-2-arg): Remove unused function.
Glenn Morris [Tue, 26 Oct 2010 06:48:17 +0000 (23:48 -0700)]
* lisp/term/ns-win.el (ns-ignore-2-arg): Remove unused function.
(Mistakenly committed the ChangeLog for this earlier.)

14 years ago* gtkutil.c (qttip_cb): Set title to empty for ATK (Bug#7278).
Jan D [Tue, 26 Oct 2010 06:09:54 +0000 (08:09 +0200)]
* gtkutil.c (qttip_cb): Set title to empty for ATK (Bug#7278).

14 years agoRemove ns-handle-* functions that duplicate x-handle-*.
Glenn Morris [Tue, 26 Oct 2010 03:58:19 +0000 (20:58 -0700)]
Remove ns-handle-* functions that duplicate x-handle-*.

* lisp/term/ns-win.el (ns-version-string): Remove unused declaration.
(ns-invocation-args): Change to x-invocation-args.
(ns-handle-switch, ns-handle-numeric-switch, ns-handle-iconic)
(ns-handle-name-switch, ns-ignore-2-arg): Remove.
(ns-handle-nxopen, ns-handle-nxopentemp, ns-ignore-1-arg):
Use x-invocation-args instead of ns-invocation-args.
(ns-initialize-window-system, handle-args-function-alist):
Use x-handle-args instead of ns-handle-args.
* lisp/term/common-win.el (x-handle-args): Also handle nextstep arguments.
* lisp/startup.el (command-line-ns-option-alist): Replace
ns-handle-name-switch, ns-handle-switch, ns-handle-numeric-switch,
ns-handle-iconic with the x- equivalents.

14 years ago* etc/images/README: Add (un)checked.xpm
Glenn Morris [Tue, 26 Oct 2010 03:02:30 +0000 (20:02 -0700)]
* etc/images/README: Add (un)checked.xpm
* etc/images/checked.xpm, images/unchecked.xpm: Add copyright.

14 years agoLet ns load common-win.
Glenn Morris [Tue, 26 Oct 2010 02:59:05 +0000 (19:59 -0700)]
Let ns load common-win.

* lisp/term/common-win.el (x-select-enable-clipboard):
* lisp/term/pc-win.el (x-select-enable-clipboard): Doc fix.

* lisp/term/ns-win.el: No need to require cl when compiling.
(x-display-name, x-setup-function-keys, x-select-text, x-colors)
(xw-defined-colors): Use the common-win definitions.
(ns-alternatives-map): Make it an obsolete alias for x-alternatives-map.
(ns-handle-iconic): Make it an alias for x-handle-iconic.
* lisp/term/common-win.el (x-select-text, x-alternatives-map)
(x-setup-function-keys, x-colors, xw-defined-colors): Handle 'ns case.
* lisp/loadup.el [ns]: Load common-win.

14 years agoMake epa-mail-encrypt expand mail aliases.
Daiki Ueno [Tue, 26 Oct 2010 01:31:27 +0000 (10:31 +0900)]
Make epa-mail-encrypt expand mail aliases.

14 years agoMake epa-mail-encrypt handle local-part only recipients.
Daiki Ueno [Tue, 26 Oct 2010 01:02:08 +0000 (10:02 +0900)]
Make epa-mail-encrypt handle local-part only recipients.

* epa-mail.el (epa-mail-encrypt): Handle local-part only
recipients (Bug#7280).

14 years agognus-util.el: Remove `gnus-with-local-quit'.
Julien Danjou [Mon, 25 Oct 2010 22:02:00 +0000 (22:02 +0000)]
gnus-util.el: Remove `gnus-with-local-quit'.
gnus-demon.el (gnus-demon-init): Use run-with-idle-timer function.

14 years ago* configure.in (checking for -znocombreloc): Use AC_LANG_PROGRAM
Andreas Schwab [Mon, 25 Oct 2010 17:23:45 +0000 (19:23 +0200)]
* configure.in (checking for -znocombreloc): Use AC_LANG_PROGRAM
to avoid warning.

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

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

14 years agoDon't use the word "PGP", since it is a non-free program.
Daiki Ueno [Mon, 25 Oct 2010 12:24:44 +0000 (21:24 +0900)]
Don't use the word "PGP", since it is a non-free program.

14 years agognus-sum.el (gnus-summary-select-article): Fix type error in checking the original...
Lars Magne Ingebrigtsen [Mon, 25 Oct 2010 05:43:08 +0000 (05:43 +0000)]
gnus-sum.el (gnus-summary-select-article): Fix type error in checking the original article buffer.

14 years agoSimplifications for lisp/term/common-win.el
Glenn Morris [Mon, 25 Oct 2010 05:39:21 +0000 (22:39 -0700)]
Simplifications for lisp/term/common-win.el

* lisp/term/common-win.el (x-handle-switch): Simplify with pop.
Optionally handle numeric switches.
(x-handle-numeric-switch): Just call x-handle-switch.
(x-handle-initial-switch, x-handle-xrm-switch, x-handle-geometry)
(x-handle-name-switch, x-handle-display, x-handle-args):
Simplify with pop.

14 years agoAdd alternative key bindings for epa-mail commands.
Daiki Ueno [Mon, 25 Oct 2010 03:06:35 +0000 (12:06 +0900)]
Add alternative key bindings for epa-mail commands.

* epa.texi (Mail-mode integration): Add alternative key bindings
for epa-mail commands; escape comma.

14 years agoMove ns-win.el's rather wacky menu adjustments to menu-bar.el.
Glenn Morris [Mon, 25 Oct 2010 00:48:26 +0000 (17:48 -0700)]
Move ns-win.el's rather wacky menu adjustments to menu-bar.el.

* lisp/term/ns-win.el: Do not require easymenu.
(menu-bar-edit-menu) <copy, paste, paste-from-menu, separator-undo>:
<spell>: Move adjustments to menu-bar.el.
* lisp/menu-bar.el (menu-bar-edit-menu) <copy, paste, paste-from-menu>:
<separator-undo, spell>: Move ns-win's adjustments here.
* lisp/loadup.el [ns]: Do not load easymenu.

* src/Makefile.in (SOME_MACHINE_LISP): Remove easymenu.elc.
* lib-src/makefile.w32-in (OTHER_PLATFORM_SUPPORT): Remove easymenu.elc.

14 years agoFix some ChangeLog entries.
Juanma Barranquero [Mon, 25 Oct 2010 00:04:44 +0000 (02:04 +0200)]
Fix some ChangeLog entries.

14 years agoAvoid inline image variables for checkboxes (Bug#7222).
Chong Yidong [Sun, 24 Oct 2010 23:40:55 +0000 (19:40 -0400)]
Avoid inline image variables for checkboxes (Bug#7222).

* etc/images/checked.xpm:
* etc/images/unchecked.xpm: New images.

* image.el (image-checkbox-checked, image-checkbox-unchecked):
Deleted (Bug#7222).

* startup.el (fancy-startup-tail): Instead of using inline images,
refer to image files from etc/.

* wid-edit.el (checkbox): Likewise.
(widget-image-find): Center image specs.

14 years agoSync docs of some W32 and X C functions.
Glenn Morris [Sun, 24 Oct 2010 22:45:10 +0000 (15:45 -0700)]
Sync docs of some W32 and X C functions.

* src/w32fns.c (Fx_synchronize, Fx_change_window_property)
(Fx_window_property, Fx_file_dialog):
* src/xfns.c (Fx_synchronize, Fx_change_window_property)
(Fx_window_property, Fx_file_dialog): Sync docs between w32 and X.

14 years agocalc.texi: Use emacsver.texi to determine Emacs version.
Jay Belanger [Sun, 24 Oct 2010 22:37:44 +0000 (17:37 -0500)]
calc.texi:  Use emacsver.texi to determine Emacs version.

14 years agoMerge changes made in Gnus trunk.
Gnus developers [Sun, 24 Oct 2010 22:32:38 +0000 (22:32 +0000)]
Merge changes made in Gnus trunk.

message.el (message-default-headers): Fix type.
nnimap.el (nnimap-request-head, nnimap-request-move-article): Make internal nnimap moving slightly faster.
nnimap.el (nnimap-transform-headers): Don't bug out on bodiless articles.
nnimap.el (nnimap-send-command): Have no outstanding messages if the IMAP server doesn't support streaming.
nnimap.el (nnimap-transform-headers): Fold {quoted} strings more sloppily.

14 years agoChangeLog fix.
Glenn Morris [Sun, 24 Oct 2010 22:07:06 +0000 (15:07 -0700)]
ChangeLog fix.

14 years agoMove some more shared x-, w32- things to common-win.
Glenn Morris [Sun, 24 Oct 2010 22:04:45 +0000 (15:04 -0700)]
Move some more shared x-, w32- things to common-win.

* term/ns-win.el (x-select-text): Doc fix.
* w32-fns.el (x-alternatives-map, x-setup-function-keys)
(x-select-text): Move to term/common-win.
* term/w32-win.el (xw-defined-colors): Move to common-win.
* term/x-win.el (xw-defined-colors, x-alternatives-map)
(x-setup-function-keys, x-select-text): Move to common-win.
* term/common-win.el (x-select-text, x-alternatives-map)
(x-setup-function-keys, xw-defined-colors): Merge x- and w32-
definitions here.

14 years agoFix 2010-10-10 keymap fixes.
T.V. Raman [Sun, 24 Oct 2010 21:44:53 +0000 (17:44 -0400)]
Fix 2010-10-10 keymap fixes.

* net/mairix.el (mairix-searches-mode-map):
* mail/mspools.el (mspools-mode-map): Fix 2010-10-10 change.

14 years agoMerge changes from emacs-23 branch.
Chong Yidong [Sun, 24 Oct 2010 21:37:38 +0000 (17:37 -0400)]
Merge changes from emacs-23 branch.

14 years agoMerge changes from emacs-23
Chong Yidong [Sun, 24 Oct 2010 21:36:09 +0000 (17:36 -0400)]
Merge changes from emacs-23

14 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.

14 years agoRegenerated.
Lars Magne Ingebrigtsen [Sun, 24 Oct 2010 20:47:22 +0000 (22:47 +0200)]
Regenerated.

14 years ago* configure.in: Remove the BROKEN annotation from gnutls.
Lars Magne Ingebrigtsen [Sun, 24 Oct 2010 20:46:17 +0000 (22:46 +0200)]
* configure.in: Remove the BROKEN annotation from gnutls.

14 years agoMerge read-color and facemenu-read-color (Bug#7242).
Chong Yidong [Sun, 24 Oct 2010 18:43:31 +0000 (14:43 -0400)]
Merge read-color and facemenu-read-color (Bug#7242).

* lisp/facemenu.el (facemenu-read-color): Alias for read-color.
(facemenu-set-foreground, facemenu-set-background): Use
read-color.

* lisp/faces.el (read-color): Use the completion code from
facemenu-read-color.  Require match in completion.  Doc fix.

* lisp/frame.el (set-background-color, set-foreground-color)
(set-cursor-color, set-mouse-color, set-border-color): Use
read-color.

14 years agoUse recursive-trash feature for eshell deletion (Bug#7011).
Leo Liu [Sun, 24 Oct 2010 17:24:24 +0000 (13:24 -0400)]
Use recursive-trash feature for eshell deletion (Bug#7011).

* lisp/eshell/em-unix.el (eshell-remove-entries): Use the TRASH
argument of delete-file and delete-directory (Bug#7011).

14 years ago* emacs.c (argmatch): Don't treat "--" as "--chdir".
Jim Meyering [Sun, 24 Oct 2010 16:00:57 +0000 (12:00 -0400)]
* emacs.c (argmatch): Don't treat "--" as "--chdir".

14 years ago* package.el (package-menu-mode-map): Inherit from button-buffer-map.
Chong Yidong [Sun, 24 Oct 2010 15:46:21 +0000 (11:46 -0400)]
* package.el (package-menu-mode-map): Inherit from button-buffer-map.

14 years agoFix last commit.
Chong Yidong [Sun, 24 Oct 2010 15:39:32 +0000 (11:39 -0400)]
Fix last commit.

14 years agoMake the *Packages* buffer read-only.
Chong Yidong [Sun, 24 Oct 2010 15:37:21 +0000 (11:37 -0400)]
Make the *Packages* buffer read-only.

* emacs-lisp/package.el (package--generate-package-list): Make the
*Packages* buffer read-only.

14 years agoprogmodes/cc-fonts.el (c-font-lock-declarations): Cache the result of
Alan Mackenzie [Sun, 24 Oct 2010 15:27:37 +0000 (15:27 +0000)]
progmodes/cc-fonts.el (c-font-lock-declarations): Cache the result of
`c-beginning-of-decl-1' between invocations of a lambda function (Bug
#7265).

14 years agognus-sum.el (gnus-summary-select-article): Make sure we have the original article...
Gnus developers [Sun, 24 Oct 2010 09:55:56 +0000 (09:55 +0000)]
gnus-sum.el (gnus-summary-select-article): Make sure we have the original article buffer live.
gnus-sum.el (gnus-summary-select-article-buffer): Mention gnus-widen-article-buffer.
shr.el (shr-tag-object): Added.
nnir.el, gnus-group.el: Make nnir work by default.
gnus-agent.el (gnus-agent-fetch-group): Don't download stuff if the group isn't covered by the agent.
gnus-sum.el (gnus-group-make-articles-read): Propagate marks to the backend for unknown groups.
gnus-html.el (gnus-html-prefetch-images): Decode entities before prefetching images.

14 years agoTry to use "gpg2" if "gpg" isn't available.
Daiki Ueno [Sun, 24 Oct 2010 03:12:17 +0000 (12:12 +0900)]
Try to use "gpg2" if "gpg" isn't available.

* epg-config.el (epg-gpg-program): Try to use "gpg2" if "gpg"
executable is not available on the system (Bug#7268).

14 years agoSync docs of selection-coding-system between C and Lisp.
Glenn Morris [Sun, 24 Oct 2010 02:22:43 +0000 (19:22 -0700)]
Sync docs of selection-coding-system between C and Lisp.
* src/w16select.c (syms_of_win16select) <selection-coding-system>:
* src/w32select.c (syms_of_w32select) <selection-coding-system>:
Sync docs with select.el.
* lisp/select.el (selection-coding-system): Sync doc with C versions.

14 years agoSync Lisp and C docs of next-selection-coding-system.
Glenn Morris [Sun, 24 Oct 2010 02:13:37 +0000 (19:13 -0700)]
Sync Lisp and C docs of next-selection-coding-system.

* src/w16select.c (syms_of_win16select) <next-selection-coding-system>:
* src/w32select.c (syms_of_w32select) <next-selection-coding-system>:
Sync docs with select.el.
* lisp/select.el (next-selection-coding-system): Sync doc with C versions.

14 years agoReduce duplicate definitions of x-select-enable-clipboard from 3 to 2.
Glenn Morris [Sun, 24 Oct 2010 01:57:21 +0000 (18:57 -0700)]
Reduce duplicate definitions of x-select-enable-clipboard from 3 to 2.

* lisp/w32-vars.el (x-select-enable-clipboard):
* lisp/term/x-win.el (x-select-enable-clipboard): Move to common-win.
* lisp/term/common-win.el (x-select-enable-clipboard): Move here.

14 years agoRemove duplicate definition of tty-defined-color-alist.
Glenn Morris [Sun, 24 Oct 2010 01:48:39 +0000 (18:48 -0700)]
Remove duplicate definition of tty-defined-color-alist.

* src/xfaces.c (syms_of_xfaces) <tty-defined-color-alist>: Sync doc with
Lisp version.
* lisp/term/tty-colors.el (tty-defined-color-alist): Remove duplicate
definition of C variable.

14 years agoSync X and MS-Windows docs for x-use-underline-position-properties.
Glenn Morris [Sun, 24 Oct 2010 01:22:37 +0000 (18:22 -0700)]
Sync X and MS-Windows docs for x-use-underline-position-properties.
* src/w32term.c (syms_of_w32term) <x-use-underline-position-properties>:
Sync doc with the xterm.c version.

14 years agoSync X and MS-Windows docs of x-toolkit-scroll-bars.
Glenn Morris [Sun, 24 Oct 2010 01:15:43 +0000 (18:15 -0700)]
Sync X and MS-Windows docs of x-toolkit-scroll-bars.
* src/w32term.c (syms_of_w32term) <x-toolkit-scroll-bars>:
* src/xterm.c (syms_of_xterm) <x-toolkit-scroll-bars>: Sync docs.

14 years agoAvoid redefining some C defcustoms.
Glenn Morris [Sun, 24 Oct 2010 00:58:22 +0000 (17:58 -0700)]
Avoid redefining some C defcustoms.

* lisp/frame.el (show-trailing-whitespace, auto-hscroll-mode)
(display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
Don't redefine things that are defined in C.
* lisp/cus-start.el: Also handle :risky, :safe, :set, and :tag.
(show-trailing-whitespace, auto-hscroll-mode)
(display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
Set up the appropriate custom properties.

14 years agognus-group.el (gnus-group-completing-read): Remove all newlines from group names...
Lars Magne Ingebrigtsen [Sun, 24 Oct 2010 00:29:21 +0000 (00:29 +0000)]
gnus-group.el (gnus-group-completing-read): Remove all newlines from group names.  They mess up the group buffer badly.
shr.el (shr-tag-strong): Added.

14 years agoBind "C-c ]" to block-closing commands in several modes.
Chong Yidong [Sun, 24 Oct 2010 00:21:59 +0000 (20:21 -0400)]
Bind "C-c ]" to block-closing commands in several modes.

Bind "C-c ]" to ...
* progmodes/f90.el (f90-mode-map): ... f90-insert-end.
* nxml/nxml-mode.el (nxml-mode-map): ... nxml-finish-element.
* textmodes/tex-mode.el (tex-mode-map): ... latex-close-block.
* textmodes/sgml-mode.el (sgml-mode-map): ... sgml-close-tag.

14 years ago* lisp/textmodes/flyspell.el (flyspell-mode): If there was an error,
Glenn Morris [Sat, 23 Oct 2010 21:58:18 +0000 (14:58 -0700)]
* lisp/textmodes/flyspell.el (flyspell-mode): If there was an error,
say what it was.

Otherwise someone is going to report the same meaningless bug for the
rest of time.

http://debbugs.gnu.org/cgi/bugreport.cgi?bug=5574
http://debbugs.gnu.org/cgi/bugreport.cgi?bug=5576
http://debbugs.gnu.org/cgi/bugreport.cgi?bug=7272

14 years ago* src/frame.c (syms_of_frame) <menu-bar-mode>: Sync doc with Lisp.
Glenn Morris [Sat, 23 Oct 2010 21:21:49 +0000 (14:21 -0700)]
* src/frame.c (syms_of_frame) <menu-bar-mode>: Sync doc with Lisp.

14 years ago* src/xdisp.c (syms_of_xdisp) <hourglass-delay>: Sync doc with Lisp.
Glenn Morris [Sat, 23 Oct 2010 21:19:02 +0000 (14:19 -0700)]
* src/xdisp.c (syms_of_xdisp) <hourglass-delay>: Sync doc with Lisp.

14 years ago* src/xdisp.c (syms_of_xdisp) <display-hourglass>: Sync doc with Lisp.
Glenn Morris [Sat, 23 Oct 2010 21:16:39 +0000 (14:16 -0700)]
* src/xdisp.c (syms_of_xdisp) <display-hourglass>: Sync doc with Lisp.

14 years agoSync docs of cursor-in-non-selected-windows between Lisp and C.
Glenn Morris [Sat, 23 Oct 2010 21:13:39 +0000 (14:13 -0700)]
Sync docs of cursor-in-non-selected-windows between Lisp and C.

* lisp/frame.el (cursor-in-non-selected-windows): Sync doc with C version.
* src/buffer.c (syms_of_buffer) <cursor-in-non-selected-windows>:
Sync doc with Lisp version.

14 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}}".

14 years agoSync docs of C and Lisp version of auto-hscroll-mode.
Glenn Morris [Sat, 23 Oct 2010 21:02:44 +0000 (14:02 -0700)]
Sync docs of C and Lisp version of auto-hscroll-mode.

* lisp/frame.el (auto-hscroll-mode): Sync doc with C version.
* src/xdisp.c (syms_of_xdisp) <auto-hscroll-mode>: Sync doc with Lisp.

14 years agoMake all copies of xw-defined-colors have identical docs.
Glenn Morris [Sat, 23 Oct 2010 20:43:59 +0000 (13:43 -0700)]
Make all copies of xw-defined-colors have identical docs.
* lisp/term/ns-win.el (xw-defined-colors):
* lisp/term/x-win.el (xw-defined-colors): Make docs identical to w32-win.

14 years agoMake all 3 copies of x-select-enable-clipboard have the same doc.
Glenn Morris [Sat, 23 Oct 2010 20:40:46 +0000 (13:40 -0700)]
Make all 3 copies of x-select-enable-clipboard have the same doc.

* lisp/term/pc-win.el (x-select-enable-clipboard):
* lisp/term/x-win.el (x-select-enable-clipboard):
* lisp/w32-vars.el (x-select-enable-clipboard): Make doc-strings identical.

14 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.

14 years ago* lisp/comint.el (comint-password-prompt-regexp): Make it less vague.
Glenn Morris [Sat, 23 Oct 2010 19:56:57 +0000 (12:56 -0700)]
* lisp/comint.el (comint-password-prompt-regexp): Make it less vague.
Bump custom version.

The initial regexp-opt was bracketed by \\( \\)?, so it might as well
have not been there at all.  This change makes it non-optional, and
adds back "^".  Hopefully the behaviour is now closer to that of emacs-23,
before it was re-written in http://debbugs.gnu.org/2817.

14 years ago* test/comint-testsuite.el
Glenn Morris [Sat, 23 Oct 2010 19:51:14 +0000 (12:51 -0700)]
* test/comint-testsuite.el
(comint-testsuite--test-comint-password-prompt-regexp):
Add "Please enter the password".  (Bug#7224)

14 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.

14 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".

14 years agosrc/ChangeLog: Revert inadvertent change of entry date.
Eli Zaretskii [Sat, 23 Oct 2010 17:33:03 +0000 (19:33 +0200)]
src/ChangeLog: Revert inadvertent change of entry date.

14 years agoImplement mouse highlight for bidi-reordered lines.
Eli Zaretskii [Sat, 23 Oct 2010 15:30:45 +0000 (17:30 +0200)]
Implement mouse highlight for bidi-reordered lines.

 xdisp.c (fast_find_string_pos): #ifdef away, not used anymore.
 (mouse_face_from_string_pos): New function, replaces
 fast_find_string_pos.
 (note_mouse_highlight): Call it instead of fast_find_string_pos.
 (note_mode_line_or_margin_highlight): Support bidi-reordered
 strings and R2L glyph rows.  Fix comments.
 (note_mouse_highlight): When bidi reordering is turned on in a
 buffer, call next-single-property-change and
 previous-single-property-change with last argument nil.  Clear
 mouse highlight when mouse pointer is in a R2L row on the stretch
 glyph that stands for no text beyond the line end.
 (row_containing_pos): Don't return too early when CHARPOS is in a
 bidi-reordered continued line.  Return immediately when the first
 hit is found in a line that is not continued, or when an exact
 match for CHARPOS is found.
 (rows_from_pos_range): New function.
 (mouse_face_from_buffer_pos): Use it instead of calling
 row_containing_pos for START_CHARPOS and END_CHARPOS.  Rewrite the
 function to support mouse highlight in bidi-reordered lines and
 not to assume that START_CHARPOS is always in mouse_face_beg_row.
 If necessary, swap mouse_face_beg_row and mouse_face_end_row so
 that the former is always above the latter or identical to it.
 (show_mouse_face): Support drawing highlighted R2L lines.
 (coords_in_mouse_face_p): New function, bidi-aware.
 (cursor_in_mouse_face_p, note_mouse_highlight, erase_phys_cursor):
 Call it instead of comparing with mouse-face members of dpyinfo.
 (note_mode_line_or_margin_highlight): Fix confusingly swapped
 usage of hpos and vpos.

14 years agoFix support for R2L lines. Tested with reordered text.
Eli Zaretskii [Sat, 23 Oct 2010 14:41:50 +0000 (16:41 +0200)]
Fix support for R2L lines.  Tested with reordered text.

 xdisp.c (mouse_face_from_string_pos): Fix support for R2L lines.

14 years agoThe range [STARTPOS..ENDPOS] is inclusive in strings.
Eli Zaretskii [Sat, 23 Oct 2010 12:58:12 +0000 (14:58 +0200)]
The range [STARTPOS..ENDPOS] is inclusive in strings.
Tested with multiline display strings.

 xdisp.c (mouse_face_from_string_pos): Fix off-by-one error when
 testing against ENDPOS.

14 years agoTested with L2R rows and mouse highlight on a single line.
Eli Zaretskii [Sat, 23 Oct 2010 12:28:28 +0000 (14:28 +0200)]
Tested with L2R rows and mouse highlight on a single line.

 xdisp.c (mouse_face_from_string_pos): Initialize the `found'
 flag to zero, and exit the outer loop when it's non-zero.  Bail
 our early if no row in the window belongs to the highlighted
 string.  Always back up after exiting the second loop.

14 years agoMention faceName for Lucid menu/dialog fonts.
Jan Djärv [Sat, 23 Oct 2010 09:18:19 +0000 (11:18 +0200)]
Mention faceName for Lucid menu/dialog fonts.

14 years agoReplace digest-doc and sorted-doc C programs with Lisp commands.
Glenn Morris [Sat, 23 Oct 2010 02:46:06 +0000 (19:46 -0700)]
Replace digest-doc and sorted-doc C programs with Lisp commands.

* lib-src/digest-doc.c, lib-src/sorted-doc.c: Remove files.
* lib-src/Makefile.in (UTILITIES): Remove digest-doc and sorted-doc.
(digest-doc${EXEEXT}, sorted-doc${EXEEXT}): Remove rules.
* lib-src/makefile.w32-in (ALL): Remove digest-doc and sorted-doc.
($(BLD)/sorted-doc.exe, $(BLD)/digest-doc.exe, sorted-doc, digest-doc)
($(BLD)/digest-doc.$(O), $(BLD)/sorted-doc.$(O)): Remove rules.
(install): Don't install digest-doc.exe or sorted-doc.exe.

* lisp/help-fns.el (doc-file-to-man, doc-file-to-info): New commands.

* doc/lispref/help.texi (Documentation Basics): Remove mentions of
digest-doc and sorted-doc.

* INSTALL, nt/README, nt/README.W32: Do not mention digest-doc and sorted-doc.

* etc/NEWS: Mention this change.

14 years ago* lisp/help.el (finder-by-keyword): Remove unnecessary autoload.
Glenn Morris [Sat, 23 Oct 2010 02:36:28 +0000 (19:36 -0700)]
* lisp/help.el (finder-by-keyword): Remove unnecessary autoload.

14 years agoMerge changes made in Gnus trunk.
Gnus developers [Sat, 23 Oct 2010 00:01:49 +0000 (00:01 +0000)]
Merge changes made in Gnus trunk.

gnus.texi (Subscription Commands): Mention that you can also subscribe to new groups via the Server buffer, which is probably more convenient when subscribing to many groups.
gnus-group.el (gnus-group-mark-group): Use gnus-group-position-point instead of the summary one.
shr.el (shr-tag-img): Don't bug out on images that don't have a SRC.

14 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.

14 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.

14 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.

14 years agoObscure an example DEFVAR_INT comment so as to evade make-docfile.
Glenn Morris [Fri, 22 Oct 2010 08:02:31 +0000 (01:02 -0700)]
Obscure an example DEFVAR_INT comment so as to evade make-docfile.

14 years agoFix compilation with Motif (Bug#7263).
Jan D [Fri, 22 Oct 2010 05:49:47 +0000 (07:49 +0200)]
Fix compilation with Motif (Bug#7263).

* src/xfns.c: Include Xm/TextF and Xm/List.
(file_dialog_cb, file_dialog_unmap_cb, clean_up_file_dialog): Make
ANSI prototypes.

* src/xmenu.c: Revert 2010-07-27 change: lwlib.h is needed for
MOTIF (Bug#7263).

* src/xrdb.c: Include keyboard.h for MOTIF.

14 years agomml.el (mml-preview): Fix last change.
Katsumi Yamaoka [Fri, 22 Oct 2010 04:30:27 +0000 (04:30 +0000)]
mml.el (mml-preview): Fix last change.

14 years agomml.el (mml-preview): Work properly when editing article.
Katsumi Yamaoka [Fri, 22 Oct 2010 04:15:14 +0000 (04:15 +0000)]
mml.el (mml-preview): Work properly when editing article.

14 years agoSupport for systems without floats was removed a decade ago.
Glenn Morris [Fri, 22 Oct 2010 04:03:55 +0000 (21:03 -0700)]
Support for systems without floats was removed a decade ago.

* lisp/loadup.el: Unconditionally load float-sup.
* lisp/paren.el (show-paren-delay):
* lisp/emacs-lisp/float-sup.el:
* lisp/emulation/cua-base.el (cua-prefix-override-inhibit-delay):
* lisp/obsolete/lazy-lock.el (lazy-lock-defer-time, lazy-lock-stealth-nice)
(lazy-lock-stealth-verbose): Assume float support.
* lisp/ps-print.el: Assume float support on Emacs.
* lisp/emacs-lisp/timer.el (timer-next-integral-multiple-of-time):
Remove non-float branch.

* lisp/obsolete/lazy-lock.el: Remove leading `*' from defcustom docs.

14 years agoFix format of old ChangeLog entry.
Glenn Morris [Fri, 22 Oct 2010 03:38:52 +0000 (20:38 -0700)]
Fix format of old ChangeLog entry.

14 years ago* src/Makefile.in (SOME_MACHINE_LISP): Add w32-vars.
Glenn Morris [Fri, 22 Oct 2010 03:37:20 +0000 (20:37 -0700)]
* src/Makefile.in (SOME_MACHINE_LISP): Add w32-vars.
Remove ccl and duplicate mouse.

14 years agoAdd bug ref to Changelog entry.
Glenn Morris [Fri, 22 Oct 2010 03:34:22 +0000 (20:34 -0700)]
Add bug ref to Changelog entry.

14 years agoSmall autoloads fix.
Glenn Morris [Fri, 22 Oct 2010 03:32:46 +0000 (20:32 -0700)]
Small autoloads fix.

* lisp/emacs-lisp/autoload.el (batch-update-autoloads): Update for
src/Makefile no longer being pre-processed.

14 years ago* admin/make-tarball.txt: Misc updates.
Glenn Morris [Fri, 22 Oct 2010 03:28:21 +0000 (20:28 -0700)]
* admin/make-tarball.txt: Misc updates.

14 years ago* make-dist: Avoid listing .el files twice.
Glenn Morris [Fri, 22 Oct 2010 03:26:34 +0000 (20:26 -0700)]
* make-dist: Avoid listing .el files twice.
Don't try to run autoconf if --no-update.

14 years ago* lisp/emacs-lisp/find-func.el (find-library): Use test-completion.
Stefan Monnier [Fri, 22 Oct 2010 03:17:26 +0000 (23:17 -0400)]
* lisp/emacs-lisp/find-func.el (find-library): Use test-completion.

14 years agognus-group.el (gnus-group-unsubscribe-group): Fix args passed to gnus-group-completin...
Gnus developers [Fri, 22 Oct 2010 01:39:13 +0000 (01:39 +0000)]
gnus-group.el (gnus-group-unsubscribe-group): Fix args passed to gnus-group-completing-read.
gnus-start.el (gnus-read-active-file-1): Don't add method to gnus-have-read-active-file if it's already been in.

14 years agomessage.el (message-setup-1): Allow message-default-headers to be a function.
Gnus developers [Thu, 21 Oct 2010 22:12:01 +0000 (22:12 +0000)]
message.el (message-setup-1): Allow message-default-headers to be a function.
message.el (message-mode-map): Don't bind M-; to comment region, to allow the global comment-dwim to work.

14 years ago* newcomment.el (comment-dwim): Fix the intentation in the doc string.
Lars Magne Ingebrigtsen [Thu, 21 Oct 2010 20:12:38 +0000 (22:12 +0200)]
* newcomment.el (comment-dwim): Fix the intentation in the doc string.

14 years ago* insdel.c (prepare_to_modify_buffer): Don't set
Chong Yidong [Thu, 21 Oct 2010 17:27:32 +0000 (13:27 -0400)]
* insdel.c (prepare_to_modify_buffer): Don't set
saved-region-selection if modification hooks are disabled.

14 years ago* net/tramp-sh.el (tramp-do-file-attributes-with-stat): Do not use
Michael Albinus [Thu, 21 Oct 2010 08:05:23 +0000 (10:05 +0200)]
* net/tramp-sh.el (tramp-do-file-attributes-with-stat): Do not use
space in stat format string.
(tramp-send-command): Unset $PS1 when using here documents, in
order not to get several prompts.
(tramp-get-inline-coding): Return `nil' in case of errors.