bpt/emacs.git
13 years agoRestore clobbered allout.el changes.
Glenn Morris [Sun, 14 Nov 2010 01:55:37 +0000 (17:55 -0800)]
Restore clobbered allout.el changes.

13 years agoChangeLog OCD.
Glenn Morris [Sun, 14 Nov 2010 00:47:07 +0000 (16:47 -0800)]
ChangeLog OCD.

13 years ago(allout-keybindings), (allout-bind-keys), (allout-keybindings-binding),
Ken Manheimer [Sat, 13 Nov 2010 22:30:10 +0000 (17:30 -0500)]
(allout-keybindings), (allout-bind-keys), (allout-keybindings-binding),
allout-prefixed-keybindings, allout-unprefixed-keybindings,
allout-preempt-trailing-ctrl-h, allout-keybindings-list,
allout-mode-map-adjustments, (allout-setup-mode-map):
Establish allout-mode keymaps as user customizable settings, and also
establish a customizable setting which regulates whether or not a trailing
control-h is reserved for use with describe-prefix-bindings - and inihibit
it by default, so that control-h *is* reserved for
describe-prefix-bindings unless the user changes this setting.

(allout-hotspot-key-handler): Distinguish more explicitly and accurately
between modified and unmodified events, and handle modified events more
comprehensively.

(allout-substring-no-properties): Alias to use or provide version of
'substring-no-properties'.
(allout-solicit-alternate-bullet): Use 'allout-substring-no-properties'.

(allout-next-single-char-property-change): Alias to use or provide version
of 'next-single-char-property-change'.
(allout-annotate-hidden), (allout-hide-by-annotation): Use 'allout-next-single-char-property-change'.

(allout-select-safe-coding-system): Alias to use or provide version of
'select-safe-coding-system'.
(allout-toggle-subtree-encryption): Use 'allout-select-safe-coding-system'.

(allout-set-buffer-multibyte): Alias to use or provide version of
'set-buffer-multibyte'.
(allout-encrypt-string): Use 'allout-set-buffer-multibyte'.

(allout-called-interactively-p): Macro for using the different versions of
called-interactively-p identically, depending on the subroutine's argument
signature.

(allout-back-to-current-heading), (allout-beginning-of-current-entry)
- use '(interactive "p")' instead of '(called-interactively-p)'.

(allout-init), (allout-ascend), (allout-end-of-level),
(allout-previous-visible-heading), (allout-forward-current-level),
(allout-backward-current-level), (allout-show-children)
- use '(allout-called-interactively-p)' instead of '(called-interactively-p)'.

(allout-before-change-handler): Exempt edits to the (overlaid) character
after the allout outline bullet from edit confirmation prompt.

(allout-add-resumptions): Ensure that it respects correct buffer for
keybindings.

(allout-beginning-of-line): Use
'allout-previous-single-char-property-change' alias for the sake of diverse
compatibility.

(allout-end-of-line): Use 'allout-mark-active-p' to encapsulate respect
for mark activity.

substitute "???" for "XXX" for non-urgent comment remarks.

13 years ago* src/xmenu.c: Make it clear that ../lwlib/lwlib.h is only needed for Motif.
Dan Nicolaescu [Sat, 13 Nov 2010 22:20:01 +0000 (14:20 -0800)]
* src/xmenu.c: Make it clear that ../lwlib/lwlib.h is only needed for Motif.

13 years agoFix compilation on Solaris.
Dan Nicolaescu [Sat, 13 Nov 2010 22:17:22 +0000 (14:17 -0800)]
Fix compilation on Solaris.

* src/sysdep.c: Do not #include <term.h>.
(tputs): Add declaration, similar to what cm.c does.  (Bug#7178)

13 years ago* src/s/ms-w32.h (HAVE_TERMIOS_H): Do not undef, not used anymore.
Dan Nicolaescu [Sat, 13 Nov 2010 22:10:34 +0000 (14:10 -0800)]
* src/s/ms-w32.h (HAVE_TERMIOS_H): Do not undef, not used anymore.

13 years agomule.texi (Fontsets): Fix xref from last change.
Eli Zaretskii [Sat, 13 Nov 2010 20:40:21 +0000 (22:40 +0200)]
mule.texi (Fontsets): Fix xref from last change.

13 years agoFix Atoms and Lisp_Object mixup and related bugs.
Jan D [Sat, 13 Nov 2010 18:59:28 +0000 (19:59 +0100)]
Fix Atoms and Lisp_Object mixup and related bugs.

* src/xselect.c (x_send_client_event): Move CHECK_STRING ...
(Fx_send_client_event): to here.

* src/xterm.c (set_wm_state): Don't put Atom in cons, call
make_fixnum_or_float on them first.
(x_term_init): Initialize Xatom_net_supporting_wm_check and
Xatom_net_supported correctly.

13 years ago* src/window.c (Fwindow_use_time): New function.
Martin Rudalics [Sat, 13 Nov 2010 18:49:22 +0000 (13:49 -0500)]
* src/window.c (Fwindow_use_time): New function.

13 years agoFix background-color setting in initial frame (Bug#7373).
Chong Yidong [Sat, 13 Nov 2010 18:34:02 +0000 (13:34 -0500)]
Fix background-color setting in initial frame (Bug#7373).

* lisp/frame.el (frame-notice-user-settings): Don't clobber other
user-set parameters when calling face-set-after-frame-default in
response to background-color parameter (Bug#7373).

13 years agolisp/ChangeLog: Fix last log entry.
Eli Zaretskii [Sat, 13 Nov 2010 13:35:44 +0000 (15:35 +0200)]
lisp/ChangeLog: Fix last log entry.

13 years agoFix and document display of glyphless characters.
Eli Zaretskii [Sat, 13 Nov 2010 13:29:31 +0000 (15:29 +0200)]
Fix and document display of glyphless characters.

 src/xdisp.c (set_cursor_from_row): Fix cursor positioning on
 zero-width characters.
 (syms_of_xdisp) <glyphless-char-display>: Doc fix.
 src/.gdbinit (pgx): Adapt to latest changes in `struct glyph'.
 src/w32term.c (x_draw_glyphless_glyph_string_foreground): Draw the
 box before drawing the glyphs inside it.
 src/dispextern.h (enum glyphless_display_method): Rename
 GLYPHLESS_DISPLAY_HEXA_CODE to GLYPHLESS_DISPLAY_HEX_CODE.  All
 users changed.
 src/term.c (append_glyphless_glyph, produce_glyphless_glyph): Fix
 comments.
 (produce_glyphless_glyph): Enclose "U+nnnn" and "empty box"
 whitespace in "[]", to simulate a box.  Don't use uninitialized
 variable `width'.
 lisp/international/characters.el (glyphless-char-display-control):
 Renamed from glyphless-char-control; all users changed.  Doc fix.
 Signal an error if display method is not one of the recognized
 symbols.
 doc/emacs/rmail.texi (Rmail Coding): Characters with no fonts are not
 necessarily displayed as empty boxes.
 doc/emacs/mule.texi (Language Environments, Fontsets): Characters with no
 fonts are not necessarily displayed as empty boxes.
 doc/emacs/display.texi (Text Display): Document display of glyphless
 characters.
 doc/lispref/display.texi (Usual Display): Characters with no fonts are not
 necessarily displayed as empty boxes.
 etc/NEWS: Document display of glyphless characters.

13 years ago* net/tramp-compat.el (tramp-compat-line-beginning-position)
Michael Albinus [Sat, 13 Nov 2010 10:42:32 +0000 (11:42 +0100)]
* net/tramp-compat.el (tramp-compat-line-beginning-position)
(tramp-compat-line-end-position): Remove them.

* net/tramp.el (tramp-parse-rhosts-group)
(tramp-parse-shosts-group, tramp-parse-sconfig-group)
(tramp-parse-hosts-group, tramp-parse-passwd-group)
(tramp-parse-netrc-group, tramp-parse-putty-group)
* net/tramp-cmds.el (tramp-append-tramp-buffers)
* net/tramp-sh.el (tramp-do-file-attributes-with-ls)
(tramp-sh-handle-file-selinux-context)
(tramp-sh-handle-file-name-all-completions)
(tramp-sh-handle-insert-directory)
(tramp-sh-handle-expand-file-name, tramp-find-executable)
(tramp-wait-for-output, tramp-send-command-and-read)
* net/tramp-smb.el (tramp-smb-read-file-entry)
(tramp-smb-get-cifs-capabilities): Use `point-at-eol'.

* net/tramp-sh.el (tramp-sh-handle-insert-directory) Use
`point-at-bol'.
(tramp-remote-coding-commands): Add an alternative using "base64
-d -i".  This is needed for older base64 versions from GNU
coreutils.  Reported by Klaus Reichl
<Klaus.Reichl@thalesgroup.com>.

13 years agoDocument count-words-region.
Glenn Morris [Sat, 13 Nov 2010 03:48:16 +0000 (19:48 -0800)]
Document count-words-region.

* doc/emacs/basic.texi (Position Info): Add M-x count-words-region.

* doc/lispintro/emacs-lisp-intro.texi: Rename the `count-words-region' example,
since there is now a standard command of that name.

* etc/NEWS: Mention it.

13 years ago* lisp/simple.el (count-words-region): New function.
Hrvoje Niksic [Sat, 13 Nov 2010 03:46:00 +0000 (19:46 -0800)]
* lisp/simple.el (count-words-region): New function.

From: http://lists.gnu.org/archive/html/emacs-devel/2006-09/msg01029.html

13 years agoChangeLog whitespace.
Glenn Morris [Sat, 13 Nov 2010 03:36:32 +0000 (19:36 -0800)]
ChangeLog whitespace.

13 years agoStandardize some file headers.
Glenn Morris [Sat, 13 Nov 2010 03:34:36 +0000 (19:34 -0800)]
Standardize some file headers.

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