]> code.delx.au - gnu-emacs/log
gnu-emacs
13 years agoChangeLog fixes.
Glenn Morris [Sat, 13 Nov 2010 03:33:24 +0000 (19:33 -0800)]
ChangeLog fixes.

13 years agoRemove autoload for org-capture-templates
Carsten Dominik [Fri, 12 Nov 2010 22:34:06 +0000 (16:34 -0600)]
Remove autoload for org-capture-templates

13 years ago* lisp/shell.el (shell-dir-cookie-re): New custom variable.
Stefan Monnier [Fri, 12 Nov 2010 14:13:48 +0000 (09:13 -0500)]
* lisp/shell.el (shell-dir-cookie-re): New custom variable.
(shell-dir-cookie-watcher): New function.

13 years ago* lisp/vc/vc.el (vc-deduce-backend): Use default-directory in shell-mode
Stefan Monnier [Fri, 12 Nov 2010 13:44:46 +0000 (08:44 -0500)]
* lisp/vc/vc.el (vc-deduce-backend): Use default-directory in shell-mode
and compilation-mode.

Fixes: debbugs:7350
13 years ago* lisp/vc/smerge-mode.el (smerge-refine): Choose better default part to
Stefan Monnier [Fri, 12 Nov 2010 13:35:36 +0000 (08:35 -0500)]
* lisp/vc/smerge-mode.el (smerge-refine): Choose better default part to
highlight when one of them is empty.

13 years ago* lisp/skeleton.el (skeleton-newline): New function.
Stefan Monnier [Fri, 12 Nov 2010 13:33:44 +0000 (08:33 -0500)]
* lisp/skeleton.el (skeleton-newline): New function.
(skeleton-internal-1): Use it.
(skeleton-read): Don't use `newline' since it may strip trailing space.

13 years ago* lisp/simple.el (open-line): `newline' may strip trailing space.
Stefan Monnier [Fri, 12 Nov 2010 13:32:02 +0000 (08:32 -0500)]
* lisp/simple.el (open-line): `newline' may strip trailing space.

13 years ago* lisp/international/mule-cmds.el (princ-list): Use mapc.
Kevin Ryde [Fri, 12 Nov 2010 13:28:17 +0000 (08:28 -0500)]
* lisp/international/mule-cmds.el (princ-list): Use mapc.

13 years agoApply XAtom revork patches from Julien Danjou.
Jan Djärv [Fri, 12 Nov 2010 09:31:44 +0000 (10:31 +0100)]
Apply XAtom revork patches from Julien Danjou.

* xsettings.c (init_xsettings): Use already fetch atoms.

* xsmfns.c (create_client_leader_window): Use SM_CLIENT_ID atom
from dpyinfo.

* xselect.c (Fx_send_client_event): Split and create
x_send_client_event.

* lisp.h: Do not EXFUN Fx_send_client_event.

* xterm.c (x_set_frame_alpha): Use _NET_WM_WINDOW_OPACITY atom
from dpyinfo.
(wm_supports): Use atoms from dpyinfo.
(do_ewmh_fullscreen): Use atoms from dpyinfo.
(x_ewmh_activate_frame): Use atoms from dpyinfo.
(xembed_set_info): Use atoms from dpyinfo.
(x_term_init): Fetch _XEMBED_INFO, _NET_SUPPORTED,
_NET_SUPPORTING_WM_CHECK, _NET_WM_WINDOW_OPACITY and
_NET_ACTIVE_WINDOW, XSETTINGS  atoms.
Get all atoms in one round-trip.
(set_wm_state): Use x_send_client_event rather than
Fx_send_client_event, using Atom directly.
(x_ewmh_activate_frame): Ditto.
(x_set_sticky): Pass atoms to set_wm_state.
(do_ewmh_fullscreen): Ditto.

* xterm.h (x_display_info): Add Xatom_net_supported,
Xatom_net_supporting_wm_check, Xatom_net_active_window,
Xatom_net_wm_window_opacity, Xatom_XEMBED_INFO, SM_CLIENT_ID.

* xfns.c (Fx_show_tip): Fix typo in docstring.

13 years agoxfns.c (Fx_show_tip): Fix typo in docstring.
Jan Djärv [Fri, 12 Nov 2010 08:46:21 +0000 (09:46 +0100)]
xfns.c (Fx_show_tip): Fix typo in docstring.

13 years agoFix last change.
Katsumi Yamaoka [Fri, 12 Nov 2010 06:24:47 +0000 (06:24 +0000)]
Fix last change.

13 years agognus-art.el (article-treat-non-ascii): Keep text properties.
Katsumi Yamaoka [Fri, 12 Nov 2010 05:59:53 +0000 (05:59 +0000)]
gnus-art.el (article-treat-non-ascii): Keep text properties.
gnus.texi (Article Washing): Fix typo.

13 years agoFix ob-lisp.el expectation that slime would be available
Carsten Dominik [Fri, 12 Nov 2010 04:36:34 +0000 (22:36 -0600)]
Fix ob-lisp.el expectation that slime would be available

13 years agoInstall org-mode version 7.3
Carsten Dominik [Fri, 12 Nov 2010 04:10:19 +0000 (22:10 -0600)]
Install org-mode version 7.3

13 years ago* lisp/cedet/semantic/wisent/comp.el: Remove unnecessary eval-when-compiles.
Glenn Morris [Fri, 12 Nov 2010 03:23:58 +0000 (19:23 -0800)]
* lisp/cedet/semantic/wisent/comp.el: Remove unnecessary eval-when-compiles.

13 years agobytecomp trivia.
Glenn Morris [Fri, 12 Nov 2010 03:21:38 +0000 (19:21 -0800)]
bytecomp trivia.

* lisp/emacs-lisp/bytecomp.el (byte-compile-log-buffer): New constant.
Use it to replace all instances of "*Compile-Log*"

13 years agosmime.el (smime-decrypt-region): Doc fix.
Katsumi Yamaoka [Fri, 12 Nov 2010 01:48:39 +0000 (01:48 +0000)]
smime.el (smime-decrypt-region): Doc fix.

13 years ago* lisp/emacs-lisp/pcase.el (pcase-let*, pcase-let): Add debug and
Stefan Monnier [Fri, 12 Nov 2010 01:35:06 +0000 (20:35 -0500)]
* lisp/emacs-lisp/pcase.el (pcase-let*, pcase-let): Add debug and
indentation specs.

13 years agoMake mm-dissect-buffer pass sender's mail address to smime-decrypt-region.
Katsumi Yamaoka [Thu, 11 Nov 2010 23:51:05 +0000 (23:51 +0000)]
Make mm-dissect-buffer pass sender's mail address to smime-decrypt-region.

mm-decode.el (mm-dissect-buffer): Pass sender's mail address to smime-decrypt-region using function argument.
mm-decode.el (mm-possibly-verify-or-decrypt, mm-dissect-multipart): Relay it.
mm-view.el (mm-view-pkcs7, mm-view-pkcs7-decrypt): Relay it.
smime.el (smime-decrypt-region): Catch it.

13 years ago* lisp/gnus/smime.el (smime-mode): Use define-derived-mode.
Stefan Monnier [Thu, 11 Nov 2010 22:24:03 +0000 (17:24 -0500)]
* lisp/gnus/smime.el (smime-mode): Use define-derived-mode.
(smime-mode-map): Move initialization into declaration.
(gnus-run-mode-hooks): Don't autoload.

13 years ago* src/cmds.c (Fself_insert_command): Don't call XFASTINT without checking
Stefan Monnier [Thu, 11 Nov 2010 21:11:17 +0000 (16:11 -0500)]
* src/cmds.c (Fself_insert_command): Don't call XFASTINT without checking
it's not negative.

13 years ago* lisp/progmodes/modula2.el: Use SMIE and skeleton.
Stefan Monnier [Thu, 11 Nov 2010 21:06:15 +0000 (16:06 -0500)]
* lisp/progmodes/modula2.el: Use SMIE and skeleton.
(m2-mode-syntax-table): (*..*) can be nested.
Add //...\n.  Fix paren syntax.
(m2-mode-map): Remove LF and TAB bindings.
(m2-indent): Add safety property.
(m2-smie-grammar): New var.
(m2-smie-refine-colon, m2-smie-refine-of, m2-smie-backward-token)
(m2-smie-forward-token, m2-smie-refine-semi, m2-smie-rules): New funs.
(m2-mode): Use define-derived-mode.
(m2-newline, m2-tab): Remove.
(m2-begin, m2-case, m2-definition, m2-else, m2-for, m2-header)
(m2-if, m2-loop, m2-module, m2-or, m2-procedure, m2-with, m2-record)
(m2-stdio, m2-type, m2-until, m2-var, m2-while, m2-export)
(m2-import): Use define-skeleton.
* test/indent/modula2.mod: New file.

13 years ago* doc/misc/msdog.texi (ls in Lisp): Update for ls-lisp.el changes.
Glenn Morris [Thu, 11 Nov 2010 08:41:30 +0000 (00:41 -0800)]
* doc/misc/msdog.texi (ls in Lisp): Update for ls-lisp.el changes.

13 years agols-lisp: get rid of the dreaded "no effect until you restart Emacs".
Glenn Morris [Thu, 11 Nov 2010 08:28:35 +0000 (00:28 -0800)]
ls-lisp: get rid of the dreaded "no effect until you restart Emacs".

* lisp/ls-lisp.el (ls-lisp-set-options): New function.
(ls-lisp-emulation): Use ls-lisp-set-options for custom :set.  Doc fix.

13 years agoesh-opt comments.
Glenn Morris [Thu, 11 Nov 2010 04:11:33 +0000 (20:11 -0800)]
esh-opt comments.

13 years agomailheader.el comments.
Glenn Morris [Thu, 11 Nov 2010 04:10:38 +0000 (20:10 -0800)]
mailheader.el comments.

13 years agoRegenerate tpu-edt autoloads.
Glenn Morris [Thu, 11 Nov 2010 04:09:02 +0000 (20:09 -0800)]
Regenerate tpu-edt autoloads.

13 years ago* lisp/gnus/smime.el (from): Restrict declaration to XEmacs.
Glenn Morris [Thu, 11 Nov 2010 04:07:40 +0000 (20:07 -0800)]
* lisp/gnus/smime.el (from): Restrict declaration to XEmacs.

13 years ago* lisp/gnus/nnir.el (gnus-group-topic-name): Autoload.
Glenn Morris [Thu, 11 Nov 2010 04:05:15 +0000 (20:05 -0800)]
* lisp/gnus/nnir.el (gnus-group-topic-name): Autoload.

13 years agoshr.el (shr-insert): Fix last change.
Katsumi Yamaoka [Thu, 11 Nov 2010 04:01:12 +0000 (04:01 +0000)]
shr.el (shr-insert): Fix last change.

13 years agoMinor ls-lisp changes.
Glenn Morris [Thu, 11 Nov 2010 03:59:04 +0000 (19:59 -0800)]
Minor ls-lisp changes.
* lisp/ls-lisp.el (ls-lisp-ignore-case, ls-lisp-dirs-first)
(ls-lisp-verbosity): Add custom :set-after property.
(ls-lisp-verbosity, ls-lisp-use-localized-time-format): Doc fixes.
(ls-lisp-format, ls-lisp-format-time): Don't take `now' as an argument.
(ls-lisp-insert-directory): Update caller.

13 years agoRemove odd code from kandmark, gomoku.
Glenn Morris [Thu, 11 Nov 2010 03:57:02 +0000 (19:57 -0800)]
Remove odd code from kandmark, gomoku.
* lisp/play/landmark.el (lm-prompt-for-move):
* lisp/play/gomoku.el (gomoku-prompt-for-move): Remove nonsensical code.

13 years ago* lisp/obsolete/lucid.el: Don't warn about any CL functions in this file.
Glenn Morris [Thu, 11 Nov 2010 03:54:59 +0000 (19:54 -0800)]
* lisp/obsolete/lucid.el: Don't warn about any CL functions in this file.

13 years agoSilence idlw*.el compilation.
Glenn Morris [Thu, 11 Nov 2010 03:53:16 +0000 (19:53 -0800)]
Silence idlw*.el compilation.

* lisp/progmodes/idlw-complete-structtag.el: Remove unused dec `name'.

* lisp/progmodes/idlwave.el (idlwave-routine-entry-compare-twins)
(idlwave-study-twins): Prefix dynamic local variable `name'.
(idlwave-routine-twin-compare): Update for above change.

* lisp/progmodes/idlw-help.el (idlwave-do-mouse-completion-help):
Prefix dynamic local variables `name', `kwd', and `link'.
* lisp/progmodes/idlw-shell.el (idlwave-shell-complete-execcomm-help):
* lisp/progmodes/idlw-complete-structtag.el
(idlwave-complete-structure-tag-help):
* lisp/progmodes/idlwave.el (idlwave-complete-sysvar-help)
(idlwave-complete-sysvar-tag-help)
(idlwave-complete-class-structure-tag-help):
Update for above name changes.

13 years agoshr.el (shr-insert): Don't break long line if it is because of kinsoku-bol characters...
Katsumi Yamaoka [Thu, 11 Nov 2010 03:50:27 +0000 (03:50 +0000)]
shr.el (shr-insert): Don't break long line if it is because of kinsoku-bol characters in the line end.

13 years ago* lisp/erc/erc-lang.el (erc-cmd-LANG): Fix what may have been a typo.
Glenn Morris [Thu, 11 Nov 2010 03:50:20 +0000 (19:50 -0800)]
* lisp/erc/erc-lang.el (erc-cmd-LANG): Fix what may have been a typo.

13 years agolisp/gnus/ChangeLog: Cosmetic fix.
Katsumi Yamaoka [Thu, 11 Nov 2010 02:11:30 +0000 (02:11 +0000)]
lisp/gnus/ChangeLog: Cosmetic fix.

13 years agonnir.el (nnir-request-move-article): fix to provide original group and subject.
Andrew Cohen [Thu, 11 Nov 2010 02:10:07 +0000 (02:10 +0000)]
nnir.el (nnir-request-move-article): fix to provide original group and subject.
nnir.el (nnir-warp-to-article): don't fail on articles whose headers haven't been retrieved.
gnus-sum.el (gnus-summary-move-article): use original group and subject for virtual articles such as those in an nnir summary buffer.

13 years agognus-art.el (article-treat-non-ascii): Make it work for XEmacs (at least 21.5).
Katsumi Yamaoka [Thu, 11 Nov 2010 01:45:05 +0000 (01:45 +0000)]
gnus-art.el (article-treat-non-ascii): Make it work for XEmacs (at least 21.5).
smime.el (from): Declare it again for XEmacs.

13 years agolisp/gnus/ChangeLog (2010-11-10): Fix wording.
Katsumi Yamaoka [Wed, 10 Nov 2010 23:57:24 +0000 (23:57 +0000)]
lisp/gnus/ChangeLog (2010-11-10): Fix wording.

13 years agonnimap.el (nnimap-update-info): Fix problem with `g' chopping of low-numbered articles.
Lars Magne Ingebrigtsen [Wed, 10 Nov 2010 23:16:01 +0000 (23:16 +0000)]
nnimap.el (nnimap-update-info): Fix problem with `g' chopping of low-numbered articles.
message.el (message-resend): Don't disable encoding unless it's already encoded.

13 years ago* net/browse-url.el (browse-url-browser-function): Change the
Lars Magne Ingebrigtsen [Wed, 10 Nov 2010 22:27:02 +0000 (23:27 +0100)]
* net/browse-url.el (browse-url-browser-function): Change the
default to use `browse-url-mail' on mailto: URLs.

13 years agoMinor fix to package-archive-contents recalculation.
Chong Yidong [Wed, 10 Nov 2010 21:35:06 +0000 (16:35 -0500)]
Minor fix to package-archive-contents recalculation.

lisp/emacs-lisp/package.el (package-read-all-archive-contents): Reset
package-archive-contents to nil before re-reading.

13 years agolisp/Changelog: Fix 2010-11-10T10:54:43Z!agustin.martin@hispalinux.es entry to use...
Agustín Martín [Wed, 10 Nov 2010 17:25:13 +0000 (18:25 +0100)]
lisp/Changelog: Fix 2010-11-10T10:54:43Z!agustin.martin@hispalinux.es entry to use correct format with real submitter.

13 years agoflyspell.el (flyspell-word): Do not re-check known misspellings.
Agustín Martín [Wed, 10 Nov 2010 10:54:43 +0000 (11:54 +0100)]
flyspell.el (flyspell-word): Do not re-check known misspellings.

Avoid re-checking words already found as misspellings by
(flyspell-large-region), just do highlighting.

Patch by Brandon Craig Rhodes (bug#7322)

13 years agoFix syntax error in previous commit.
Michael Albinus [Wed, 10 Nov 2010 09:08:05 +0000 (10:08 +0100)]
Fix syntax error in previous commit.

13 years agoAdd const to array elements of font filter properties.
YAMAMOTO Mitsuharu [Wed, 10 Nov 2010 09:02:54 +0000 (18:02 +0900)]
Add const to array elements of font filter properties.

* font.c (font_filter_properties): Add const to array elements of properties args.
* font.h (font_filter_properties): Likewise.
* ftfont.c (ftfont_booleans, ftfont_non_booleans): Add const to array elements.
* w32font.c (w32font_booleans, w32font_non_booleans): Likewise.

13 years ago* dbusbind.c (QCdbus_type_unix_fd): New Lisp object.
Michael Albinus [Wed, 10 Nov 2010 08:48:18 +0000 (09:48 +0100)]
* dbusbind.c (QCdbus_type_unix_fd): New Lisp object.
(XD_BASIC_DBUS_TYPE, xd_symbol_to_dbus_type, xd_signature)
(xd_append_arg, xd_retrieve_arg): Support DBUS_TYPE_UNIX_FD.
(Fdbus_call_method): Add DBUS_TYPE_UNIX_FD type mapping to doc string.
(syms_of_dbusbind): Initialize QCdbus_type_unix_fd).

13 years ago* dbus.texi (Type Conversion): Introduce `:unix-fd' type mapping.
Michael Albinus [Wed, 10 Nov 2010 08:41:53 +0000 (09:41 +0100)]
* dbus.texi (Type Conversion): Introduce `:unix-fd' type mapping.

13 years ago* lisp/progmodes/octave-mod.el (octave-mark-block): Update for smie change.
Glenn Morris [Wed, 10 Nov 2010 08:21:06 +0000 (00:21 -0800)]
* lisp/progmodes/octave-mod.el (octave-mark-block): Update for smie change.

13 years ago* lisp/textmodes/texnfo-upd.el (texinfo-pointer-name): Fix typo.
Glenn Morris [Wed, 10 Nov 2010 07:59:00 +0000 (23:59 -0800)]
* lisp/textmodes/texnfo-upd.el (texinfo-pointer-name): Fix typo.

13 years agorfc2047.el (rfc2047-syntax-table): Simplify.
Katsumi Yamaoka [Wed, 10 Nov 2010 07:55:25 +0000 (07:55 +0000)]
rfc2047.el (rfc2047-syntax-table): Simplify.

13 years agognus-art.el (article-treat-non-ascii): Use put-char-table instead of set-char-table...
Katsumi Yamaoka [Wed, 10 Nov 2010 06:23:53 +0000 (06:23 +0000)]
gnus-art.el (article-treat-non-ascii): Use put-char-table instead of set-char-table-range for XEmacs.

13 years agoMinor edt.el simplification.
Glenn Morris [Wed, 10 Nov 2010 05:24:48 +0000 (21:24 -0800)]
Minor edt.el simplification.

* lisp/emulation/edt.el (edt-with-position): New macro.
(edt-find-forward, edt-find-backward, edt-find-next-forward)
(edt-find-next-backward, edt-sentence-forward, edt-sentence-backward)
(edt-paragraph-forward, edt-paragraph-backward): Use it.

13 years agotpu-extras.el simplifiation.
Glenn Morris [Wed, 10 Nov 2010 05:16:34 +0000 (21:16 -0800)]
tpu-extras.el simplifiation.

* lisp/emulation/tpu-extras.el (tpu-with-position): New macro.
(tpu-paragraph, tpu-page, tpu-search-internal): Use it.

13 years agoUse line-beginning-position in some texinfo.el files.
Glenn Morris [Wed, 10 Nov 2010 04:35:18 +0000 (20:35 -0800)]
Use line-beginning-position in some texinfo.el files.

* lisp/textmodes/texnfo-upd.el (texinfo-all-menus-update)
(texinfo-menu-copy-old-description, texinfo-start-menu-description)
(texinfo-master-menu, texinfo-insert-node-lines)
(texinfo-multiple-files-update):
* lisp/textmodes/texinfmt.el (texinfo-append-refill, texinfo-copying):
Use line-beginning-position.

13 years agoSilence skeleton.el compilation.
Glenn Morris [Wed, 10 Nov 2010 04:30:21 +0000 (20:30 -0800)]
Silence skeleton.el compilation.

* lisp/skeleton.el (skeleton-internal-list, skeleton-internal-1):
Prefix dynamic local variable `skeleton'.

13 years agoRemove ls-lisp time-related functions that duplicate standard functions.
Glenn Morris [Wed, 10 Nov 2010 04:28:16 +0000 (20:28 -0800)]
Remove ls-lisp time-related functions that duplicate standard functions.

* lisp/ls-lisp.el (ls-lisp-time-lessp, ls-lisp-time-to-seconds): Remove.
(ls-lisp-handle-switches): Use time-less-p.
(ls-lisp-format-time): Use float-time.

13 years agosystem-type related trivia.
Glenn Morris [Wed, 10 Nov 2010 04:24:47 +0000 (20:24 -0800)]
system-type related trivia.

* lisp/cedet/semantic/bovine/c.el: Test system-type with memq.

* lisp/progmodes/cperl-mode.el (cperl-find-pods-heres, cperl-write-tags):
No recent Emacs supports system-type `emx'.

* lisp/progmodes/ada-xref.el (is-windows): Rename to ada-on-ms-windows.
(ada-command-separator, ada-default-prj-properties)
(ada-find-any-references): Update for above name change.

* lisp/dirtrack.el (dirtrack-directory-function)
(dirtrack-canonicalize-function):
* lisp/filecache.el (file-cache-completion-ignore-case)
(file-cache-case-fold-search, file-cache-ignore-case):
* lisp/term.el (serial-port-is-file-p): Cosmetic change.

* lisp/emulation/viper-init.el (viper-ms-style-os-p): Doc fix.
Remove non-existent `windows-95' system-type.
* lisp/dired.el (dired-chown-program): Remove non-existent `linux'
system-type.

* lisp/locate.el: Comment.

13 years agonet-utils system-type trivia.
Glenn Morris [Wed, 10 Nov 2010 04:13:21 +0000 (20:13 -0800)]
net-utils system-type trivia.

* lisp/net/net-utils.el (net-utils-remove-ctl-m): Use memq for system-types.
(ping-program-options): Remove non-existent `linux' system-type.

13 years ago* lisp/startup.el (package-initialize): Update declaration.
Glenn Morris [Wed, 10 Nov 2010 04:11:08 +0000 (20:11 -0800)]
* lisp/startup.el (package-initialize): Update declaration.

13 years ago* lisp/gnus/smime.el (from): Remove unused declaration.
Glenn Morris [Wed, 10 Nov 2010 04:09:49 +0000 (20:09 -0800)]
* lisp/gnus/smime.el (from): Remove unused declaration.

13 years agotime-to-seconds related simplifications.
Glenn Morris [Wed, 10 Nov 2010 04:08:15 +0000 (20:08 -0800)]
time-to-seconds related simplifications.

* lisp/gnus/gnus-util.el (with-no-warnings): Remove compat stub, now unused.
(gnus-float-time): On Emacs, always an alias.

* lisp/gnus/ecomplete.el (with-no-warnings): Remove compat stub, now unused.
(ecomplete-add-item): Use float-time on Emacs, else gnus-float-time.

* lisp/textmodes/remember.el (remember-time-to-seconds): Remove.
(remember-store-in-mailbox): Use float-time.

* lisp/calendar/timeclock.el (timeclock-time-to-seconds): Make it an alias.

* lisp/calendar/time-date.el (time-to-seconds): Always an alias on Emacs,
never a real function.
(with-no-warnings): Remove compat stub, now unused.
(time-less-p): Doc fix.
(time-to-number-of-days): Simplify.

13 years agoReplace some eshell functions that duplicate standard functions.
Glenn Morris [Wed, 10 Nov 2010 03:57:32 +0000 (19:57 -0800)]
Replace some eshell functions that duplicate standard functions.

* lisp/eshell/esh-util.el (eshell-time-less-p, eshell-time-to-seconds): Remove.
(eshell-read-passwd, eshell-read-hosts): Use time-less-p.
* lisp/eshell/esh-test.el (eshell-test, eshell-show-usage-metrics):
* lisp/eshell/em-unix.el (eshell-show-elapsed-time, eshell/time):
* lisp/eshell/em-pred.el (eshell-pred-file-time): Use float-time.
* lisp/eshell/em-ls.el (eshell-ls-sort-entries): Use time-less-p.

13 years agoSilence compilation of some shell files.
Glenn Morris [Wed, 10 Nov 2010 03:53:03 +0000 (19:53 -0800)]
Silence compilation of some shell files.

* lisp/eshell/em-unix.el (eshell-remove-entries, eshell/rm)
(eshell-shuffle-files, eshell-shorthand-tar-command)
(eshell-mvcpln-template, eshell/mv, eshell/cp, eshell/ln):
Prefix dynamic locals `interactive', `preview', `recursive', `verbose'.
* lisp/eshell/em-glob.el (eshell-extended-glob, eshell-glob-entries):
Prefix dynamic local variable `matches'.

13 years ago* src/emacs.c (syms_of_emacs) <system-type>: Doc fix.
Glenn Morris [Wed, 10 Nov 2010 03:45:29 +0000 (19:45 -0800)]
* src/emacs.c (syms_of_emacs) <system-type>: Doc fix.

13 years agoChangeLog fix.
Glenn Morris [Wed, 10 Nov 2010 03:43:44 +0000 (19:43 -0800)]
ChangeLog fix.

13 years agognus-art.el (org-entities): Bind it.
Katsumi Yamaoka [Wed, 10 Nov 2010 01:25:17 +0000 (01:25 +0000)]
gnus-art.el (org-entities): Bind it.

13 years agonet/browse-url.el (browse-url-mail): Insert body part of mailto url in mail buffer...
Katsumi Yamaoka [Wed, 10 Nov 2010 00:02:44 +0000 (00:02 +0000)]
net/browse-url.el (browse-url-mail): Insert body part of mailto url in mail buffer; make yank-action always a command that yanks original buffer.

13 years agoMerge changes made in Gnus trunk.
Lars Magne Ingebrigtsen [Tue, 9 Nov 2010 22:17:36 +0000 (22:17 +0000)]
Merge changes made in Gnus trunk.

message.el (message-mailto): New function.
message.el (message-mailto): Should accept other parameters.
message.el (message-mailto): Remove since it duplicates browse-url-mailto functionality.
shr.el (shr-browse-url): Call browse-url-mailto for mailto: links.
message.el (message-subject-trailing-was-ask-regexp): A ] in a [] regexp doesn't need quoting.
gnus-art.el (article-treat-non-ascii): New command and keystroke.
shr.el (browse-url-mailto): Autoload.
gnus.texi (Article Washing): Document gnus-article-treat-non-ascii.

13 years agoMerge from emacs-23
Stefan Monnier [Tue, 9 Nov 2010 20:07:10 +0000 (15:07 -0500)]
Merge from emacs-23

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 agomessage.el (message-subject-trailing-was-ask-regexp, message-subject-trailing-was...
Sven Joachim [Tue, 9 Nov 2010 10:29:37 +0000 (10:29 +0000)]
message.el (message-subject-trailing-was-ask-regexp, message-subject-trailing-was-regexp): Match was: in addition to was.

13 years ago* lisp/progmodes/meta-mode.el: (meta-indent-line): Simplify.
Glenn Morris [Tue, 9 Nov 2010 08:00:46 +0000 (00:00 -0800)]
* lisp/progmodes/meta-mode.el: (meta-indent-line): Simplify.

13 years ago* lisp/progmodes/meta-mode.el: Remove leading `*' from defcustom docs.
Glenn Morris [Tue, 9 Nov 2010 07:47:01 +0000 (23:47 -0800)]
* lisp/progmodes/meta-mode.el: Remove leading `*' from defcustom docs.

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 agoReplace still more end-of-line etc with line-end-position, etc.
Glenn Morris [Tue, 9 Nov 2010 05:33:07 +0000 (21:33 -0800)]
Replace still more end-of-line etc with line-end-position, etc.

* lisp/gnus/nnbabyl.el (nnbabyl-request-move-article, nnbabyl-delete-mail)
(nnbabyl-check-mbox): Use point-at-bol.

* lisp/cedet/semantic/lex.el (semantic-lex-ignore-comments, semantic-flex):
* lisp/cedet/semantic/grammar.el (semantic-grammar-epilogue):
* lisp/cedet/ede/speedbar.el (ede-find-nearest-file-line):
* lisp/cedet/ede/pmake.el (ede-proj-makefile-insert-dist-rules):
* lisp/cedet/ede/autoconf-edit.el (autoconf-delete-parameter):
Use point-at-bol and point-at-eol.

* lisp/vc/emerge.el (emerge-line-number-in-buf):
* lisp/textmodes/ispell.el (ispell-region):
* lisp/textmodes/fill.el (current-fill-column):
* lisp/progmodes/xscheme.el (xscheme-send-current-line):
* lisp/progmodes/vhdl-mode.el (vhdl-current-line, vhdl-line-copy):
* lisp/progmodes/tcl.el (tcl-hairy-scan-for-comment):
* lisp/progmodes/sh-script.el (sh-handle-prev-do):
* lisp/progmodes/meta-mode.el (meta-indent-line):
* lisp/progmodes/idlwave.el (idlwave-goto-comment, idlwave-fill-paragraph)
(idlwave-in-quote):
* lisp/progmodes/idlw-shell.el (idlwave-shell-current-frame)
(idlwave-shell-update-bp-overlays, idlwave-shell-sources-filter):
* lisp/progmodes/fortran.el (fortran-looking-at-if-then):
* lisp/progmodes/etags.el (find-tag-in-order, etags-snarf-tag):
* lisp/progmodes/cperl-mode.el (cperl-sniff-for-indent)
(cperl-find-pods-heres):
* lisp/progmodes/ada-mode.el (ada-get-current-indent, ada-narrow-to-defun):
* lisp/net/quickurl.el (quickurl-list-insert):
* lisp/net/ldap.el (ldap-search-internal):
* lisp/net/eudc.el (eudc-expand-inline):
* lisp/mail/sendmail.el (sendmail-send-it):
* lisp/mail/mspools.el (mspools-visit-spool, mspools-get-spool-name):
* lisp/emulation/viper-cmd.el (viper-paren-match, viper-backward-indent)
(viper-brac-function):
* lisp/calc/calc-yank.el (calc-do-grab-region):
* lisp/calc/calc-keypd.el (calc-keypad-press):
* lisp/term.el (term-move-columns, term-insert-spaces):
* lisp/speedbar.el (speedbar-highlight-one-tag-line):
* lisp/simple.el (current-word):
* lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
* lisp/info.el (Info-find-node-in-buffer-1, Info-follow-reference)
(Info-scroll-down):
* lisp/hippie-exp.el (he-line-beg):
* lisp/epa.el (epa--marked-keys):
* lisp/dired-aux.el (dired-kill-line, dired-do-kill-lines)
(dired-update-file-line, dired-add-entry, dired-remove-entry)
(dired-relist-entry):
* lisp/buff-menu.el (Buffer-menu-buffer):
* lisp/array.el (current-line):
* lisp/allout.el (allout-resolve-xref)
(allout-latex-verbatim-quote-curr-line):
Replace yet more uses of end-of-line etc with line-end-position.

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. emacs-pretest-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 agomessage.el (message-subject-trailing-was-regexp): Fix default value.
Katsumi Yamaoka [Tue, 9 Nov 2010 02:00:56 +0000 (02:00 +0000)]
message.el (message-subject-trailing-was-regexp): Fix default value.

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/emacs-lisp/checkdoc.el (checkdoc-display-status-buffer)
Stefan Monnier [Mon, 8 Nov 2010 20:01:01 +0000 (15:01 -0500)]
* lisp/emacs-lisp/checkdoc.el (checkdoc-display-status-buffer)
(checkdoc-interactive-loop, checkdoc-recursive-edit): Avoid princ-list.
(checkdoc-syntax-table): Initialize in the declaration.
(emacs-lisp-mode-hook): Use just checkdoc-minor-mode now that it turns
the mode on unconditionally.

13 years ago* lisp/emacs-lisp/cl-macs.el (extent-data, extent-face, extent-priority)
Stefan Monnier [Mon, 8 Nov 2010 19:09:21 +0000 (14:09 -0500)]
* lisp/emacs-lisp/cl-macs.el (extent-data, extent-face, extent-priority)
(extent-end-position, extent-start-position): Remove setf method for
non-existing functions.

Fixes: debbugs:7319
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 agognus-group.el (gnus-group-read-ephemeral-group, gnus-group-make-group): Remove superf...
Lars Magne Ingebrigtsen [Mon, 8 Nov 2010 01:38:47 +0000 (01:38 +0000)]
gnus-group.el (gnus-group-read-ephemeral-group, gnus-group-make-group): Remove superfluous ": " from the prompt.
gnus-start.el (gnus-get-unread-articles, gnus-read-active-file): Ignore totally non-existent methods.

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 ago* lisp/emacs-lisp/smie.el: Simplify the smie-rules-function return values.
Stefan Monnier [Sun, 7 Nov 2010 15:45:45 +0000 (10:45 -0500)]
* lisp/emacs-lisp/smie.el: Simplify the smie-rules-function return values.
(smie-precs->prec2): Rename from smie-precs-precedence-table.
(smie-bnf->prec2): Rename from smie-bnf-precedence-table.
(smie-prec2->grammar): Rename from smie-prec2-levels.
(smie-grammar): Rename from smie-op-levels.
(smie-indent--hanging-p): Rename from smie-hanging-p.
(smie-rule-hanging-p): New alias.
(smie-indent--bolp): Rename from smie-bolp.
(smie-indent--hanging-p): New alias.
(smie--token): New dynamically bound variable.
(smie-indent--parent): New function.
(smie-rule-parent-p): Use it; rename from smie-parent-p.
(smie-rule-next-p): Rename from smie-next-p.
(smie-rule-prev-p): Rename from smie-prev-p.
(smie-rule-sibling-p, smie-rule-parent)
(smie-indent--separator-outdent, smie-rule-separator): New functions.
(smie-rule-separator-outdent): New var.
(smie-indent--rule): Merge with smie-indent--column.
(smie-indent-forward-token, smie-indent-backward-token):
Also recognize close parens.
(smie-indent-keyword): Don't use smie-indent--column any more.
(smie-indent-after-keyword): Ignore closers by default.
(smie-indent-line): Use with-demoted-errors.
* lisp/progmodes/octave-mod.el (octave-smie-grammar):
Rename from octave-smie-op-levels.
(octave-smie-rules): Adjust to new behavior.
* lisp/progmodes/prolog.el (prolog-smie-grammar):
Rename from prolog-smie-op-levels.

13 years ago* src/xfns.c (set_machine_and_pid_properties): Let X set WM_CLIENT_MACHINE.
Jan D [Sun, 7 Nov 2010 11:25:55 +0000 (12:25 +0100)]
* src/xfns.c (set_machine_and_pid_properties): Let X set WM_CLIENT_MACHINE.

13 years ago* src/xdisp.c (note_mode_line_or_margin_highlight): Initialize
Jan D [Sun, 7 Nov 2010 11:16:54 +0000 (12:16 +0100)]
* src/xdisp.c (note_mode_line_or_margin_highlight): Initialize
Cursor to No_Cursor for HAVE_WINDOW_SYSTEM also.

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 in previos flymake change.
Glenn Morris [Sun, 7 Nov 2010 02:02:54 +0000 (19:02 -0700)]
Fix typo in previos flymake change.

13 years agoMinor esh-util changes.
Glenn Morris [Sun, 7 Nov 2010 01:56:09 +0000 (18:56 -0700)]
Minor esh-util changes.
* lisp/eshell/esh-util.el (subst-char-in-string)
(directory-files-and-attributes): These compatibility definitions are
not needed on any version of Emacs since at least 21.4.

13 years agoReplace unneeded compatibility definitions with point-at-bol, point-at-eol.
Glenn Morris [Sun, 7 Nov 2010 01:50:52 +0000 (18:50 -0700)]
Replace unneeded compatibility definitions with point-at-bol, point-at-eol.

* lisp/progmodes/verilog-mode.el (verilog-get-beg-of-line)
(verilog-get-end-of-line): Remove.
(verilog-within-string, verilog-re-search-forward-substr)
(verilog-re-search-backward-substr, verilog-set-auto-endcomments)
(verilog-surelint-off, verilog-getopt-file, verilog-highlight-region):
Use point-at-bol, point-at-eol.
* lisp/progmodes/pascal.el (pascal-get-beg-of-line, pascal-get-end-of-line):
Remove.
(pascal-declaration-end, pascal-declaration-beg, pascal-within-string)
(electric-pascal-terminate-line, pascal-set-auto-comments)
(pascal-indent-paramlist, pascal-indent-declaration)
(pascal-get-lineup-indent, pascal-func-completion)
(pascal-get-completion-decl, pascal-var-completion, pascal-completion):
Use point-at-bol, point-at-eol.
* lisp/progmodes/flymake.el (flymake-line-beginning-position)
(flymake-line-end-position): Remove.
(flymake-highlight-line): Use point-at-bol, point-at-eol.
* lisp/eshell/esh-util.el (line-end-position, line-beginning-position):
Remove compat definitions.

* net/tramp/tramp-compat.el: Comment.

13 years agoMinor checkdoc simplifications.
Glenn Morris [Sun, 7 Nov 2010 01:44:13 +0000 (18:44 -0700)]
Minor checkdoc simplifications.
* lisp/emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
Use end-of-line N.
(checkdoc-this-string-valid-engine, checkdoc-file-comments-engine):
Use line-end-position.

13 years agoReplace end-of-line, save-excursion etc with point-at-eol, point-at-bol.
Glenn Morris [Sun, 7 Nov 2010 01:36:33 +0000 (18:36 -0700)]
Replace end-of-line, save-excursion etc with point-at-eol, point-at-bol.

* lisp/mh-e/mh-seq.el (mh-read-msg-list): Use point-at-eol.

* lisp/gnus/gnus-bookmark.el (gnus-bookmark-bmenu-show-infos)
(gnus-bookmark-kill-line): Use point-at-eol.

* lisp/cedet/ede/proj-elisp.el (ede-proj-flush-autoconf): Use point-at-bol.

* lisp/emacs-lisp/chart.el (chart-zap-chars):
* lisp/play/decipher.el (decipher-set-map):
* lisp/progmodes/ada-mode.el (ada-get-current-indent)
(ada-search-ignore-string-comment, ada-tab-hard, ada-untab-hard):
* lisp/progmodes/ada-prj.el (ada-prj-load-from-file, ada-prj-display-help):
* lisp/progmodes/ada-xref.el (ada-initialize-runtime-library)
(ada-get-all-references):
* lisp/progmodes/cperl-mode.el (cperl-electric-paren)
(cperl-electric-rparen, cperl-electric-keyword, cperl-electric-else)
(cperl-linefeed, cperl-sniff-for-indent, cperl-to-comment-or-eol)
(cperl-find-pods-heres, cperl-indent-exp, cperl-fix-line-spacing)
(cperl-word-at-point-hard):
* lisp/progmodes/idlw-shell.el (idlwave-shell-move-or-history)
(idlwave-shell-filename-string, idlwave-shell-batch-command)
(idlwave-shell-display-line):
* lisp/progmodes/idlwave.el (idlwave-show-begin, idlwave-fill-paragraph)
(idlwave-calc-hanging-indent, idlwave-auto-fill, idlwave-template):
* lisp/progmodes/js.el (js--re-search-forward-inner)
(js--re-search-backward-inner):
* lisp/progmodes/vhdl-mode.el (vhdl-align-region-1, vhdl-align-region-2)
(vhdl-fix-clause, vhdl-compose-configuration-architecture):
* lisp/progmodes/ruby-mode.el (ruby-parse-partial, eval-when-compile):
* lisp/textmodes/flyspell.el (flyspell-process-localwords):
* lisp/textmodes/ispell.el (ispell-buffer-local-parsing)
(ispell-buffer-local-dict, ispell-buffer-local-words):
Use point-at-bol and point-at-eol.

13 years agognus-gravatar.el (gnus-gravatar-transform-address): No need to skip asterisks in...
Katsumi Yamaoka [Sun, 7 Nov 2010 01:10:01 +0000 (01:10 +0000)]
gnus-gravatar.el (gnus-gravatar-transform-address): No need to skip asterisks in From header.

13 years agoReplace more speedbar uses of end-of-line etc with line-end-position.
Glenn Morris [Sun, 7 Nov 2010 01:06:37 +0000 (18:06 -0700)]
Replace more speedbar uses of end-of-line etc with line-end-position.
* lisp/speedbar.el (speedbar-generic-item-info)
(speedbar-item-info-tag-helper, speedbar-change-expand-button-char)
(speedbar-add-indicator, speedbar-check-vc-this-line)
(speedbar-check-obj-this-line, speedbar-extract-one-symbol)
(speedbar-buffers-line-directory, speedbar-buffer-revert-buffer):
Replace more uses of end-of-line etc with line-end-position.