]> code.delx.au - gnu-emacs/log
gnu-emacs
11 years agoFix a bunch of custom types (thank you cus-test.el)
Glenn Morris [Thu, 9 May 2013 01:40:20 +0000 (21:40 -0400)]
Fix a bunch of custom types (thank you cus-test.el)

* lisp/bookmark.el (bookmark-search-delay):
* lisp/cus-start.el (vertical-centering-font-regexp):
* lisp/ps-mule.el (ps-mule-font-info-database-default):
* lisp/ps-print.el (ps-default-fg, ps-default-bg):
* lisp/type-break.el (type-break-good-break-interval):
* lisp/whitespace.el (whitespace-indentation-regexp)
(whitespace-space-after-tab-regexp):
* lisp/emacs-lisp/testcover.el (testcover-1value-functions)
(testcover-noreturn-functions, testcover-progn-functions)
(testcover-prog1-functions):
* lisp/emulation/viper-init.el (viper-emacs-state-cursor-color):
* lisp/erc/erc-desktop-notifications.el (erc-notifications-icon):
* lisp/eshell/em-glob.el (eshell-glob-translate-alist):
* lisp/gnus/gnus-art.el (gnus-article-date-headers, gnus-blocked-images):
* lisp/gnus/gnus-async.el (gnus-async-post-fetch-function):
* lisp/gnus/gnus-gravatar.el (gnus-gravatar-size, gnus-gravatar-properties):
* lisp/gnus/gnus-html.el (gnus-html-image-cache-ttl):
* lisp/gnus/gnus-notifications.el (gnus-notifications-timeout):
* lisp/gnus/gnus-picon.el (gnus-picon-properties):
* lisp/gnus/gnus-util.el (gnus-completion-styles):
* lisp/gnus/gnus.el (gnus-other-frame-resume-function):
* lisp/gnus/message.el (message-user-organization-file)
(message-cite-reply-position):
* lisp/gnus/nnir.el (nnir-summary-line-format)
(nnir-retrieve-headers-override-function):
* lisp/gnus/shr-color.el (shr-color-visible-luminance-min):
* lisp/gnus/shr.el (shr-blocked-images):
* lisp/gnus/spam-report.el (spam-report-resend-to):
* lisp/gnus/spam.el (spam-summary-exit-behavior):
* lisp/mh-e/mh-e.el (mh-sortm-args, mh-default-folder-for-message-function):
* lisp/play/tetris.el (tetris-tty-colors):
* lisp/progmodes/cpp.el (cpp-face-default-list):
* lisp/progmodes/flymake.el (flymake-allowed-file-name-masks):
* lisp/progmodes/idlw-help.el (idlwave-help-browser-generic-program)
(idlwave-help-browser-generic-args):
* lisp/progmodes/make-mode.el (makefile-special-targets-list):
* lisp/progmodes/python.el (python-shell-virtualenv-path):
* lisp/progmodes/verilog-mode.el (verilog-active-low-regexp)
(verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
(verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
(verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
* lisp/textmodes/reftex-vars.el (reftex-format-label-function):
* lisp/textmodes/remember.el (remember-diary-file):
Fix custom types.

* lisp/cedet/semantic/db-find.el (semanticdb-find-throttle-custom-list):
Fix value.

* lisp/gnus/gnus-salt.el (gnus-selected-tree-face): Fix default.

11 years ago* lisp/jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
Glenn Morris [Thu, 9 May 2013 01:06:10 +0000 (21:06 -0400)]
* lisp/jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
Add :version.

11 years ago* progmodes/octave.el (inferior-octave-completion-at-point):
Leo Liu [Thu, 9 May 2013 00:52:49 +0000 (08:52 +0800)]
* progmodes/octave.el (inferior-octave-completion-at-point):
Restore the broken file completion.
(inferior-octave-startup): Fix incorrect highlighting for the
first prompt.

Fixes: debbugs:14300
11 years ago* xterm.h (GTK_PREREQ): New macro.
Paul Eggert [Wed, 8 May 2013 22:56:08 +0000 (15:56 -0700)]
* xterm.h (GTK_PREREQ): New macro.

All simple uses of GTK_MAJOR_VERSION and GTK_MINOR_VERSION changed
to use this macro instead, for consistency and clarity.

11 years ago* lisp/progmodes/ruby-mode.el: First cut at SMIE support.
Stefan Monnier [Wed, 8 May 2013 20:25:57 +0000 (16:25 -0400)]
* lisp/progmodes/ruby-mode.el: First cut at SMIE support.
(ruby-use-smie): New var.
(ruby-smie-grammar): New constant.
(ruby-smie--bosp, ruby-smie--implicit-semi-p)
(ruby-smie--forward-token, ruby-smie--backward-token)
(ruby-smie-rules): New functions.
(ruby-mode-variables): Setup SMIE if applicable.
* test/indent/ruby.rb: Fix indentation after =; add more cases.

11 years agoAvoid beginning/end of buffer errors when moving across display strings.
Eli Zaretskii [Wed, 8 May 2013 18:05:40 +0000 (21:05 +0300)]
Avoid beginning/end of buffer errors when moving across display strings.

 lisp/simple.el (line-move-visual): Signal beginning/end of buffer
 only if vertical-motion moved less than it was requested.  Avoids
 silly incorrect error messages when there are display strings with
 multiple newlines at EOL.

11 years agoFix vertical cursor motion when there's a display string with newline at EOL.
Eli Zaretskii [Wed, 8 May 2013 17:59:38 +0000 (20:59 +0300)]
Fix vertical cursor motion when there's a display string with newline at EOL.

 src/xdisp.c (row_for_charpos_p): New function, with code of
 cursor_row_p, but accepts an additional argument CHARPOS instead
 of using a hardcoded PT.
 (cursor_row_p): Call row_for_charpos_p with 2nd argument PT.
 (row_containing_pos): Call row_for_charpos_p instead of partially
 doing the same.  Fixes cursor positioning under longlines-mode
 when longlines-show-effect includes more than one newline, when
 moving the cursor vertically up.

11 years ago* lisp/progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
Stefan Monnier [Wed, 8 May 2013 16:27:53 +0000 (12:27 -0400)]
* lisp/progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
Change all regexps to use things like \_< and \_>.

* lisp/progmodes/ada-mode.el (ada-mode-abbrev-table): Consolidate declaration.
(ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
the declaration.
(ada-create-syntax-table): Remove.
(ada-capitalize-word): Don't mess with the syntax of "_" since it
already has the right syntax nowadays.
(ada-goto-next-word): Don't change the syntax of "_".

* lisp/progmodes/autoconf.el (autoconf-definition-regexp)
(autoconf-font-lock-keywords, autoconf-current-defun-function):
Handle a _ with symbol syntax.
(autoconf-mode): Don't change the syntax-table for imenu and font-lock.

* lisp/progmodes/vera-mode.el (vera-underscore-is-part-of-word):
* lisp/progmodes/prolog.el (prolog-underscore-wordchar-flag)
(prolog-char-quote-workaround):
* lisp/progmodes/cperl-mode.el (cperl-under-as-char):
* lisp/progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
 Mark as obsolete.
 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
their declaration.
(vhdl-mode-syntax-table-init): Remove.

* lisp/progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
syntax for "_".
(ld-script-font-lock-keywords):
Change regexps to use things like \_< and \_>.

* lisp/progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on last change.

* lisp/font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
with-wrapper-hook.

* lisp/mh-e/mh-comp.el (mh-regexp-in-field-p): Minor simplification.

11 years agolib/makefile.w32-in (ACL_H): New macro.
Juanma Barranquero [Wed, 8 May 2013 16:22:09 +0000 (18:22 +0200)]
lib/makefile.w32-in (ACL_H): New macro.
($(BLD)/acl-errno-valid.$(O)): Update dependencies.

11 years agosrc/makefile.w32-in (ACL_H): New macro.
Juanma Barranquero [Wed, 8 May 2013 16:21:19 +0000 (18:21 +0200)]
src/makefile.w32-in (ACL_H): New macro.
($(BLD)/fileio.$(O)): Update dependencies.

11 years ago* lisp/thingatpt.el (thing-at-point): Accept optional second argument
Sam Steingold [Wed, 8 May 2013 15:13:25 +0000 (11:13 -0400)]
* lisp/thingatpt.el (thing-at-point): Accept optional second argument
NO-PROPERTIES to strip the text properties from the return value.
* lisp/net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
to `thing-at-point' instead of stripping the properties ourselves.
Also, when `thing-at-point' fails to find a url, prepend "http://"
to the filename at point on the assumption that the user is
pointing at something like gnu.org/gnu.

11 years agoSilence byte-compiler warnings.
Juanma Barranquero [Wed, 8 May 2013 15:06:28 +0000 (17:06 +0200)]
Silence byte-compiler warnings.

* lisp/emacs-lisp/bytecomp.el (byte-compile-insert-header):
* lisp/faces.el (crm-separator): Silence byte-compiler.
* lisp/progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
  (tool-bar-map): Remove unneeded defvars.

11 years agont/config.nt: Sync with autogen/config.in.
Juanma Barranquero [Wed, 8 May 2013 15:04:20 +0000 (17:04 +0200)]
nt/config.nt: Sync with autogen/config.in.

11 years agoRe-work a fix for bug#10994 based on Le Wang's patch.
Leo Liu [Wed, 8 May 2013 14:22:24 +0000 (22:22 +0800)]
Re-work a fix for bug#10994 based on Le Wang's patch.
* ido.el (ido-remove-consecutive-dups): New helper.
(ido-completing-read): Use it.
(ido-chop): Revert fix for bug#10994.

11 years agoAuto-commit of generated files.
Glenn Morris [Wed, 8 May 2013 10:17:38 +0000 (06:17 -0400)]
Auto-commit of generated files.

11 years ago* lisp/cus-edit.el (custom-save-variables): Pretty-print long values.
Adam Spiers [Wed, 8 May 2013 06:59:41 +0000 (23:59 -0700)]
* lisp/cus-edit.el (custom-save-variables): Pretty-print long values.

Fixes: debbugs:14187
11 years agom4-mode misc small cleanup
Glenn Morris [Wed, 8 May 2013 06:56:37 +0000 (23:56 -0700)]
m4-mode misc small cleanup

* lisp/progmodes/m4-mode.el (m4-program): Assume it is in PATH.
(m4-mode-syntax-table): Init in the defvar.
(m4-mode-abbrev-table): Let define-derived-mode define it.

11 years ago* lisp/progmodes/m4-mode.el (m4-mode-syntax-table):
Tom Tromey [Wed, 8 May 2013 06:43:42 +0000 (23:43 -0700)]
* lisp/progmodes/m4-mode.el (m4-mode-syntax-table):
Do not treat "_" as word constituent.

Fixes: debbugs:14167
11 years agoUse Gnulib ACL implementation, for benefit of Solaris etc.
Paul Eggert [Tue, 7 May 2013 21:34:03 +0000 (14:34 -0700)]
Use Gnulib ACL implementation, for benefit of Solaris etc.

* configure.ac: Remove -with-acl option, since Gnulib does that for
us now.
(LIBACL_LIBS): Remove; no longer needed.
* lib/Makefile.am (CLEANFILES, SUFFIXES): New (empty) macros,
for the benefit of the new ACL implementation.
* lib/makefile.w32-in (GNULIBOBJS): Add $(BLD)/acl-errno-valid.$(O).
($(BLD)/acl-errno-valid.$(O)): New rule.
* lib/acl-errno-valid.c, lib/acl-internal.h, lib/acl.h:
* lib/acl_entries.c, lib/errno.in.h, lib/file-has-acl.c:
* lib/qcopy-acl.c, lib/qset-acl.c, m4/acl.m4, m4/errno_h.m4:
New files, taken from gnulib.
* lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.
* admin/merge-gnulib (GNULIB_MODULES): Add qacl.
(GNULIB_TOOL_FLAGS): Do not avoid errno.
* etc/NEWS: Emacs is no longer limited to POSIX ACLs.  --disable-acl,
not --without-acl, since we're now using Gnulib's implementation.
* nt/config.nt (HAVE_ACL_SET_FILE): Rename from HAVE_POSIX_ACL.
* nt/inc/ms-w32.h (EOPNOTSUPP): New macro.
* src/Makefile.in (LIB_ACL): New macro.
(LIBACL_LIBS): Remove.
(LIBES): Use LIB_ACL, not LIBACL_LIBS.
* src/fileio.c: Include <acl.h>.
Use HAVE_ACL_SET_FILE rather than HAVE_POSIX_ACL.
(ACL_NOT_WELL_SUPPORTED): Remove.  All uses replaced by
!acl_errno_valid.
(Fcopy_file) [!WINDOWSNT]: Use qcopy_acl instead of rolling
it ourselves.

Fixes: debbugs:14295
11 years agoComment fix, to match Gnulib upstream copy.
Paul Eggert [Tue, 7 May 2013 21:04:51 +0000 (14:04 -0700)]
Comment fix, to match Gnulib upstream copy.

11 years ago* unexelf.c: Don't assume ElfW (Half) fits in int.
Paul Eggert [Tue, 7 May 2013 20:55:47 +0000 (13:55 -0700)]
* unexelf.c: Don't assume ElfW (Half) fits in int.

(entry_address, find_section, unexec): Use ptrdiff_t, not int,
when dealing with ElfW (Half) values, since they can exceed 2**31
on 64-bit OpenBSD hosts.  Problem reported privately by Han Boetes.
(entry_address): Omit unused NUM arg.  All uses changed.

11 years ago* src/callint.c (Fcall_interactively): Set `visargs[i]' for code 'n'
Juri Linkov [Tue, 7 May 2013 20:49:46 +0000 (23:49 +0300)]
* src/callint.c (Fcall_interactively): Set `visargs[i]' for code 'n'
to the string converted from number with `Fnumber_to_string'.

Fixes: debbugs:14254
11 years ago* xfns.c (x_get_net_workarea): Define only if !GTK || GTK<3.4.
Paul Eggert [Tue, 7 May 2013 19:25:42 +0000 (12:25 -0700)]
* xfns.c (x_get_net_workarea): Define only if !GTK || GTK<3.4.

This fixes a problem introduced by my previous change.

11 years ago* src/lread.c (readchar): Don't read from a dead buffer. (Bug#14280)
Glenn Morris [Tue, 7 May 2013 19:15:08 +0000 (15:15 -0400)]
* src/lread.c (readchar): Don't read from a dead buffer.  (Bug#14280)

11 years ago* lisp/progmodes/perl-mode.el (perl-prettify-symbols): Add :version.
Glenn Morris [Tue, 7 May 2013 18:06:13 +0000 (14:06 -0400)]
* lisp/progmodes/perl-mode.el (perl-prettify-symbols): Add :version.

11 years ago* xfns.c: Move misplaced ifndef USE_GTK from previous checkin.
Jan Djärv [Tue, 7 May 2013 17:47:25 +0000 (19:47 +0200)]
* xfns.c: Move misplaced ifndef USE_GTK from previous checkin.

11 years ago* buffer.c (tab-width): Mention that it doesn't control indentation.
Stefan Monnier [Tue, 7 May 2013 14:12:57 +0000 (10:12 -0400)]
* buffer.c (tab-width): Mention that it doesn't control indentation.

11 years ago* callint.c (Fcall_interactively): Explain what is `visargs'.
Stefan Monnier [Tue, 7 May 2013 13:54:31 +0000 (09:54 -0400)]
* callint.c (Fcall_interactively): Explain what is `visargs'.

11 years agognus-art.el (gnus-article-describe-bindings): Add a comment
Katsumi Yamaoka [Tue, 7 May 2013 11:43:38 +0000 (11:43 +0000)]
gnus-art.el (gnus-article-describe-bindings): Add a comment

11 years agolisp/gnus/ChangeLog: Revert last bogus change
Katsumi Yamaoka [Tue, 7 May 2013 10:24:15 +0000 (10:24 +0000)]
lisp/gnus/ChangeLog: Revert last bogus change

11 years agolisp/gnus/ChangeLog: Remove `(Bug#14356)' in the 2013-05-07 entry
Katsumi Yamaoka [Tue, 7 May 2013 10:21:50 +0000 (10:21 +0000)]
lisp/gnus/ChangeLog: Remove `(Bug#14356)' in the 2013-05-07 entry

11 years agoAuto-commit of generated files.
Glenn Morris [Tue, 7 May 2013 10:17:37 +0000 (06:17 -0400)]
Auto-commit of generated files.

11 years ago* lisp/eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
Glenn Morris [Tue, 7 May 2013 07:57:02 +0000 (00:57 -0700)]
* lisp/eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
Remove explicit eshell-isearch-cancel-map.

11 years ago* lisp/progmodes/f90.el (f90-smart-end-names): New option.
Glenn Morris [Tue, 7 May 2013 07:05:21 +0000 (00:05 -0700)]
* lisp/progmodes/f90.el (f90-smart-end-names): New option.
(f90-smart-end): Doc fix.
(f90-end-block-optional-name): New constant.
(f90-block-match): Respect f90-smart-end-names.

* etc/NEWS: Mention this.

11 years agoStatic checking by GCC 4.8.0.
Paul Eggert [Tue, 7 May 2013 05:34:01 +0000 (22:34 -0700)]
Static checking by GCC 4.8.0.

* xfns.c (x_get_net_workarea, struct MonitorInfo, free_monitors)
(x_get_monitor_for_frame, x_make_monitor_attribute_list)
(x_get_monitor_attributes_fallback)
(x_get_monitor_attributes_xinerama)
(x_get_monitor_attributes_xrandr, x_get_monitor_attributes):
Define only if USE_GTK.
(free_monitors): Define only if HAVE_XINERAMA || HAVE_XRANDR.
(x_get_monitor_attributes_fallback): Omit unused locals.
(x_get_monitor_attributes_xinerama, Fx_display_monitor_attributes_list):
Use double, not float, to avoid mixed-mode floating point arithmetic.

11 years ago* progmodes/octave.el (octave-smie-forward-token): Fix typo.
Leo Liu [Tue, 7 May 2013 04:53:31 +0000 (12:53 +0800)]
* progmodes/octave.el (octave-smie-forward-token): Fix typo.

11 years ago* lisp/progmodes/octave.el (octave-smie-forward-token): Be more careful
Stefan Monnier [Tue, 7 May 2013 04:05:43 +0000 (00:05 -0400)]
* lisp/progmodes/octave.el (octave-smie-forward-token): Be more careful
about implicit semi-colons.

Fixes: debbugs:14218
11 years agoAdd multi-monitor support on X11.
YAMAMOTO Mitsuharu [Tue, 7 May 2013 01:12:22 +0000 (10:12 +0900)]
Add multi-monitor support on X11.

11 years agognus-art.el (gnus-article-describe-bindings): Require help-mode because of let-bindin...
Katsumi Yamaoka [Tue, 7 May 2013 00:28:12 +0000 (00:28 +0000)]
gnus-art.el (gnus-article-describe-bindings): Require help-mode because of let-binding help-xref-followin (Bug#14356)

11 years ago* progmodes/octave.el (octave-syntax-propertize-function): Change
Leo Liu [Mon, 6 May 2013 23:46:07 +0000 (07:46 +0800)]
* progmodes/octave.el (octave-syntax-propertize-function): Change
\'s syntax to escape when inside double-quoted strings.
(octave-font-lock-keywords): Use octave-operator-regexp.
(octave-completion-at-point): Renamed from
octave-completion-at-point-function.
(inferior-octave-directory-tracker): Robustify.
(octave-text-functions): Remove and fix its uses.  No such things
any more.

Fixes: debbugs:14332
11 years agolisp/gnus/message.el (message-bury, message-send-and-exit): Revert 2013-05-04 change
Tassilo Horn [Mon, 6 May 2013 22:39:36 +0000 (22:39 +0000)]
lisp/gnus/message.el (message-bury, message-send-and-exit): Revert 2013-05-04 change

11 years ago* lisp/emacs-lisp/trace.el (trace--display-buffer): New function.
Stefan Monnier [Mon, 6 May 2013 22:33:24 +0000 (18:33 -0400)]
* lisp/emacs-lisp/trace.el (trace--display-buffer): New function.
(trace-make-advice): Use it.

11 years ago* lisp/emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix.
Juri Linkov [Mon, 6 May 2013 20:23:40 +0000 (23:23 +0300)]
* lisp/emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix.
(eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1): Doc fix.
(emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
in the help string.  (Bug#12985)

Fixes: debbugs:14344
11 years ago* lisp/simple.el (shell-command-on-region): Doc fix.
Kelly Dean [Mon, 6 May 2013 20:11:40 +0000 (23:11 +0300)]
* lisp/simple.el (shell-command-on-region): Doc fix.

Fixes: debbugs:14279
11 years ago* lisp/progmodes/perl-mode.el: Add support for here documents.
Stefan Monnier [Mon, 6 May 2013 19:33:56 +0000 (15:33 -0400)]
* lisp/progmodes/perl-mode.el: Add support for here documents.
(perl-syntax-propertize-function): Match here-doc markers.
(perl-syntax-propertize-special-constructs): Find their end.
(perl-imenu-generic-expression): Use [:alnum:].

11 years agoFix bug #14241 with posn-at-point at the beginning of an image display prop.
Eli Zaretskii [Mon, 6 May 2013 17:11:07 +0000 (20:11 +0300)]
Fix bug #14241 with posn-at-point at the beginning of an image display prop.

 src/xdisp.c (pos_visible_p): Use the special code for finding the
 beginning of a display property or overlay for any "replacing"
 display property, not just for display strings.  This solves
 incorrect reporting of position by posn-at-point.

11 years ago* lisp/find-file.el (cc-other-file-alist): Bump :version.
Glenn Morris [Mon, 6 May 2013 15:46:31 +0000 (08:46 -0700)]
* lisp/find-file.el (cc-other-file-alist): Bump :version.

11 years ago* lisp/emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
Stefan Monnier [Mon, 6 May 2013 15:27:11 +0000 (11:27 -0400)]
* lisp/emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
(advice--add-function): Refresh the advice if already present.

Fixes: debbugs:14317
11 years agoMerge from gnulib.
Paul Eggert [Mon, 6 May 2013 13:37:42 +0000 (06:37 -0700)]
Merge from gnulib.

This incorporates:
2013-04-30 utimens, utimensat: work around Solaris UTIME_OMIT bug

11 years ago* lisp/find-file.el (cc-other-file-alist): Add ".m" for ObjC.
Ivan Andrus [Mon, 6 May 2013 07:40:58 +0000 (00:40 -0700)]
* lisp/find-file.el (cc-other-file-alist): Add ".m" for ObjC.

Fixes: debbugs:14339
11 years ago* lisp/w32-fns.el (w32-charset-info-alist): Declare.
Glenn Morris [Mon, 6 May 2013 07:29:26 +0000 (00:29 -0700)]
* lisp/w32-fns.el (w32-charset-info-alist): Declare.

11 years ago* lisp/eshell/em-cmpl.el: Simply require pcomplete;
Glenn Morris [Mon, 6 May 2013 07:20:35 +0000 (00:20 -0700)]
* lisp/eshell/em-cmpl.el: Simply require pcomplete;
eg we use a bunch of its defcustom properties.
(eshell-cmpl-initialize): No need to load pcomplete.

11 years ago* lisp/generic-x.el: No need to require comint when compiling.
Glenn Morris [Mon, 6 May 2013 07:18:36 +0000 (00:18 -0700)]
* lisp/generic-x.el: No need to require comint when compiling.

11 years ago* lisp/gnus/mml2015.el (mml2015-epg-sign): Add name="signature.asc".
Glenn Morris [Mon, 6 May 2013 07:16:34 +0000 (00:16 -0700)]
* lisp/gnus/mml2015.el (mml2015-epg-sign): Add name="signature.asc".

Fixes: debbugs:13465
11 years ago* net/eudc-export.el: Make it loadable without bbdb.
Glenn Morris [Mon, 6 May 2013 07:14:03 +0000 (00:14 -0700)]
* net/eudc-export.el: Make it loadable without bbdb.
(top-level): Use require rather than load-library.
(eudc-create-bbdb-record, eudc-bbdbify-phone)
(eudc-batch-export-records-to-bbdb)
(eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
Require bbdb.

11 years agoMore missing :version tags for defcustoms
Glenn Morris [Mon, 6 May 2013 07:10:31 +0000 (00:10 -0700)]
More missing :version tags for defcustoms

11 years ago* unexelf.c: Fix some 32-bit integer problems, notably when debugging.
Paul Eggert [Mon, 6 May 2013 04:52:00 +0000 (21:52 -0700)]
* unexelf.c: Fix some 32-bit integer problems, notably when debugging.

Include <limits.h>, <stdbool.h>, <intprops.h>, <verify.h>.
Verify that ElfW (Half) fits in int.
(fatal): Use same signature as lisp.h.
(UNEXELF_DEBUG): New macro, replacing DEBUG, so that people can
configure and build with -DUNEXELF_DEBUG without worrying about
other modules that use DEBUG.
(DEBUG_LOG) [UNEXELF_DEBUG]: New macro.  All debug code that prints
possibly-wide integers now uses it instead of plain fprintf.
(entry_address): New function, which avoids problems with 32-bit
overflow on 64-bit hosts.
(OLD_SECTION_H, NEW_SECTION_H, NEW_PROGRAM_H): Use it.
(round_up): Don't assume the remainder fits in int.
(find_section): Use bool for boolean.  Simplify debug code.
(unexec): Don't assume file sizes fit in int or size_t.
Omit unnecessary trailing newline in 'fatal' format.
Use strerror rather than outputting decimal error number.
Remove unused code when emacs is not defined;
this file relies on Emacs now.
Don't assume e_phnum and e_shnum are positive.

11 years ago* regex.c: Fix problems when DEBUG is defined.
Paul Eggert [Mon, 6 May 2013 04:31:16 +0000 (21:31 -0700)]
* regex.c: Fix problems when DEBUG is defined.

(extract_number, extract_number_and_incr): Define regardless of
whether DEBUG is defined; that's simpler and makes the code less
likely to go stale in the normal case when DEBUG is not defined.
Return int rather than taking an int * arg.  All callers changed.
(DEBUG_PRINT1, DEBUG_PRINT2, DEBUG_PRINT3, DEBUG_PRINT4):
Remove, replacing with ...
(DEBUG_PRINT): New macro.  All callers changed.
(DEBUG_COMPILES_ARGUMENTS): New macro.
(print_fastmap, print_partial_compiled_pattern) [DEBUG]:
(print_compiled_pattern, print_double_string) [DEBUG]:
Use prototype rather than old-style definition.
(print_partial_compiled_pattern, print_compiled_pattern) [DEBUG]:
(ENSURE_FAIL_STACK, PUSH_FAILURE_REG) [DEBUG]:
(POP_FAILURE_REG_OR_COUNT, PUSH_FAILURE_POINT) [DEBUG]:
(POP_FAILURE_POINT, re_match_2_internal) [DEBUG]:
Don't assume ptrdiff_t, size_t, and long are the same width as int.
(POINTER_TO_OFFSET): Return ptrdiff_t, not regoff_t.
This matters only when DEBUG is defined.

11 years ago* make-docfile.c (search_lisp_doc_at_eol) [DEBUG]: Fix typo,
Paul Eggert [Mon, 6 May 2013 03:32:19 +0000 (20:32 -0700)]
* make-docfile.c (search_lisp_doc_at_eol) [DEBUG]: Fix typo,

by removing references to no-longer-existing locals.

11 years ago* lisp/progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
Stefan Monnier [Mon, 6 May 2013 02:29:42 +0000 (22:29 -0400)]
* lisp/progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
(octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
some tweaks, instead.

11 years agoFix bug #14306 with whitespace mode together with linum-mode.
Eli Zaretskii [Sun, 5 May 2013 17:41:09 +0000 (20:41 +0300)]
Fix bug #14306 with whitespace mode together with linum-mode.

 src/xdisp.c (set_iterator_to_next): Set the
 ignore_overlay_strings_at_pos_p flag only if we are _really_
 iterating over an overlay string, as indicated by the
 current.overlay_string_index member.

11 years ago* progmodes/octave.el (octave-font-lock-keywords)
Leo Liu [Sun, 5 May 2013 15:29:51 +0000 (23:29 +0800)]
* progmodes/octave.el (octave-font-lock-keywords)
(octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
(inferior-octave-send-list-and-digest): Improve error message.
(octave-mode, inferior-octave-mode): Use setq-local.
(octave-help): Set info-lookup-mode.

11 years ago* nsmenu.m (ns_update_menubar): Move initialization of submenuTitle
Jan Djärv [Sun, 5 May 2013 15:16:06 +0000 (17:16 +0200)]
* nsmenu.m (ns_update_menubar): Move initialization of submenuTitle
to where it is used, to avoid autorelease issues.

Fixes: debbugs:14050
11 years ago* vc/compare-w.el (compare-windows-whitespace):
Richard M. Stallman [Sun, 5 May 2013 14:10:51 +0000 (10:10 -0400)]
* vc/compare-w.el (compare-windows-whitespace):
Treat no-break space as whitespace.

11 years ago* mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
Richard M. Stallman [Sun, 5 May 2013 14:08:50 +0000 (10:08 -0400)]
* mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
Doc fixes, rename args.

11 years agoDon't let an empty summary change current message.
Richard M. Stallman [Sun, 5 May 2013 13:56:54 +0000 (09:56 -0400)]
Don't let an empty summary change current message.

* mail/rmailsum.el (rmail-summary-rmail-update):
Detect empty summary and don't change selected message.
(rmail-summary-goto-msg): Likewise.

11 years ago* progmodes/cc-defs.el (c-version): Increment to 5.32.5.
Alan Mackenzie [Sun, 5 May 2013 12:17:12 +0000 (12:17 +0000)]
* progmodes/cc-defs.el (c-version): Increment to 5.32.5.

11 years ago* lisp/info.el (Info-read-subfile): Use (point-min) instead of (point)
Juri Linkov [Sun, 5 May 2013 08:48:44 +0000 (11:48 +0300)]
* lisp/info.el (Info-read-subfile): Use (point-min) instead of (point)
to not add the length of the summary segment to the return value.

Fixes: debbugs:14125
11 years agoSpelling fixes (or remove unnecessary and unusually-spelled words).
Paul Eggert [Sun, 5 May 2013 05:03:08 +0000 (22:03 -0700)]
Spelling fixes (or remove unnecessary and unusually-spelled words).

11 years ago* progmodes/octave.el (inferior-octave-strip-ctrl-g)
Leo Liu [Sun, 5 May 2013 04:49:27 +0000 (12:49 +0800)]
* progmodes/octave.el (inferior-octave-strip-ctrl-g)
(inferior-octave-output-filter): Remove.
(octave-send-region, inferior-octave-startup): Fix callers.
(inferior-octave-mode-map): Don't use comint-dynamic-complete.
(octave-binary-file-extensions): New user variable.
(octave-find-definition): Confirm if opening binary files.
(octave-help-file): Use octave-find-definition to get the binary
confirmation.
(octave-help): Adjust for octave-help-file change.

11 years agoFix NEWS typo
Glenn Morris [Sun, 5 May 2013 02:29:28 +0000 (19:29 -0700)]
Fix NEWS typo

11 years ago* lisp/progmodes/pascal.el (pascal--syntax-propertize): New const.
Stefan Monnier [Sun, 5 May 2013 02:26:38 +0000 (22:26 -0400)]
* lisp/progmodes/pascal.el (pascal--syntax-propertize): New const.
(pascal-mode): Use it.  Use setq-local.
(pascal-font-lock-keywords): Use backquotes.
Merge the two entries that handle function definitions.
* test/indent/pascal.pas: Add test for mis-identified comments.

11 years ago`write-region-inhibit-fsync' defaults to noninteractive.
Paul Eggert [Sun, 5 May 2013 00:51:49 +0000 (17:51 -0700)]
`write-region-inhibit-fsync' defaults to noninteractive.

* cmdargs.texi (Initial Options):
* files.texi (Customize Save): Document this.
* etc/NEWS: Document this.
* src/fileio.c (syms_of_fileio): Implement this.
* src/filelock.c (create_lock_file): If symbolic links don't work, so
we use a regular file as a lock file, do not fsync the lock file;
it's not needed.

Fixes: debbugs:14273
11 years ago* lisp/calendar/diary-lib.el (diary-from-outlook-function): New variable.
Glenn Morris [Sat, 4 May 2013 23:55:57 +0000 (16:55 -0700)]
* lisp/calendar/diary-lib.el (diary-from-outlook-function): New variable.
(diary-from-outlook): Respect diary-from-outlook-function.

* doc/emacs/calendar.texi (Importing Diary):
Mention diary-from-outlook-function.

* etc/NEWS: Mention this.

11 years agognus-sum.el (gnus-read-header): Ensure groups are prefixed when entering into the...
Andrew Cohen [Sat, 4 May 2013 22:38:05 +0000 (22:38 +0000)]
gnus-sum.el (gnus-read-header): Ensure groups are prefixed when entering into the registry

11 years ago* doc/misc/cl.texi (Obsolete Macros): Describe replacements for `flet'.
Stefan Monnier [Sat, 4 May 2013 19:49:23 +0000 (15:49 -0400)]
* doc/misc/cl.texi (Obsolete Macros): Describe replacements for `flet'.

Fixes: debbugs:14293
11 years ago* lisp/gnus/message.el (message-bury): Make `buffer' optional.
Thierry Volpiatto [Sat, 4 May 2013 19:34:19 +0000 (15:34 -0400)]
* lisp/gnus/message.el (message-bury): Make `buffer' optional.
(message-send-and-exit): Don't pass `buf' so as to hide the buffer.

Fixes: debbugs:14085
11 years ago* lisp/simple.el (read-expression-map): Use completion-at-point.
Stefan Monnier [Sat, 4 May 2013 19:27:41 +0000 (15:27 -0400)]
* lisp/simple.el (read-expression-map): Use completion-at-point.
Move the declaration from C.
(read-minibuffer, eval-minibuffer): Move from C.
(completion-setup-function): Avoid minibuffer-completion-contents.
* src/minibuf.c (Fread_minibuffer, Feval_minibuffer): Move to Elisp.
(syms_of_minibuf): Adjust accodingly.
* src/lread.c (Fread):
* src/callint.c (Fcall_interactively): Adjust calls accordingly.

Fixes: debbugs:14255
11 years agoFix bug #14062 with assertion violations on MS-Windows.
Eli Zaretskii [Sat, 4 May 2013 10:19:13 +0000 (13:19 +0300)]
Fix bug #14062 with assertion violations on MS-Windows.

 src/dispextern.h (WINDOW_WANTS_HEADER_LINE_P): Verify that
 w->contents is a buffer before computing everything else.  Use
 parentheses to disambiguate last part of the condition.
 src/w32fns.c (w32_wnd_proc): Remove temporary code used to trap
 assertion violations.

11 years ago* progmodes/octave.el (user-error): Alias to error if not defined.
Leo Liu [Fri, 3 May 2013 07:52:17 +0000 (15:52 +0800)]
* progmodes/octave.el (user-error): Alias to error if not defined.

11 years ago* progmodes/octave.el (octave-completing-read)
Leo Liu [Fri, 3 May 2013 07:22:26 +0000 (15:22 +0800)]
* progmodes/octave.el (octave-completing-read)
(octave-goto-function-definition): New helpers.
(octave-help-buffer): New user variable.
(octave-help-file, octave-help-function): New button types.
(octave-help): New command and bind it to C-h ;.
(octave-find-definition): New command and bind it to M-.

11 years ago* progmodes/octave.el (octave-font-lock-keywords): Do not
Leo Liu [Fri, 3 May 2013 04:47:08 +0000 (12:47 +0800)]
* progmodes/octave.el (octave-font-lock-keywords): Do not
dehighlight 'end' in comments or strings.

11 years ago* progmodes/octave.el (octave-mode-syntax-table): Correct syntax
Leo Liu [Thu, 2 May 2013 23:03:00 +0000 (07:03 +0800)]
* progmodes/octave.el (octave-mode-syntax-table): Correct syntax
for \.
(octave-font-lock-keywords): Include [ and {.

Fixes: debbugs:14332
11 years ago* progmodes/octave.el (inferior-octave-startup-file): Change default.
Leo Liu [Thu, 2 May 2013 21:34:53 +0000 (05:34 +0800)]
* progmodes/octave.el (inferior-octave-startup-file): Change default.
(inferior-octave): Remove calling comint-mode and return the buffer.
(inferior-octave-startup): Cosmetic changes.

11 years ago* progmodes/octave.el (octave-syntax-propertize-function): Include
Leo Liu [Thu, 2 May 2013 21:27:16 +0000 (05:27 +0800)]
* progmodes/octave.el (octave-syntax-propertize-function): Include
the case when ' is at line beginning.

Fixes: debbugs:14336
11 years ago* lisp/vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
Glenn Morris [Thu, 2 May 2013 17:47:39 +0000 (13:47 -0400)]
* lisp/vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
* lisp/desktop.el (vc-dir-mode): Just autoload it here.

11 years agoEliminate variable c-standard-font-lock-fontify-region-function.
Alan Mackenzie [Thu, 2 May 2013 11:18:18 +0000 (11:18 +0000)]
Eliminate variable c-standard-font-lock-fontify-region-function.
        * progmodes/cc-mode.el
        (c-standard-font-lock-fontify-region-function): Remove.
        (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.

11 years ago* make-dist: Keep necessary restrictions on file access.
Paul Eggert [Wed, 1 May 2013 19:28:41 +0000 (12:28 -0700)]
* make-dist: Keep necessary restrictions on file access.

11 years ago* progmodes/octave.el: Compatible with older emacs-24 releases.
Leo Liu [Wed, 1 May 2013 17:25:03 +0000 (01:25 +0800)]
* progmodes/octave.el: Compatible with older emacs-24 releases.

11 years ago* progmodes/octave.el (inferior-octave-has-built-in-variables):
Leo Liu [Wed, 1 May 2013 16:42:18 +0000 (00:42 +0800)]
* progmodes/octave.el (inferior-octave-has-built-in-variables):
Remove.  Buil-in variables were removed from Octave in 2007.
(inferior-octave-startup): Fix uses.
(comint-line-beginning-position): Remove compatibility code for
emacs 21.

11 years agoAuto-commit of loaddefs files.
Glenn Morris [Wed, 1 May 2013 10:17:34 +0000 (06:17 -0400)]
Auto-commit of loaddefs files.

11 years ago* lisp/isearch.el (isearch-forward, isearch-mode): Doc fix.
Juri Linkov [Wed, 1 May 2013 08:10:12 +0000 (11:10 +0300)]
* lisp/isearch.el (isearch-forward, isearch-mode): Doc fix.

Fixes: debbugs:13923
11 years ago* lisp/comint.el (comint-previous-matching-input): Don't print message
Juri Linkov [Wed, 1 May 2013 08:05:05 +0000 (11:05 +0300)]
* lisp/comint.el (comint-previous-matching-input): Don't print message
"History item: %d" when `isearch-mode' is active.
(comint-history-isearch-message): Print message "History item: %d"
when `comint-input-ring-index' is not empty and this function is
called from `isearch-update' with a nil `ellipsis'.

Fixes: debbugs:13223
11 years ago* src/nsfns.m (ns_tooltip): Initialize.
David Reitter [Wed, 1 May 2013 07:02:19 +0000 (00:02 -0700)]
* src/nsfns.m (ns_tooltip): Initialize.

11 years ago* progmodes/octave.el (octave-abbrev-table): Remove abbrev
Leo Liu [Wed, 1 May 2013 06:13:20 +0000 (14:13 +0800)]
* progmodes/octave.el (octave-abbrev-table): Remove abbrev
definitions.  Use completion-at-point to insert keywords.
(octave-abbrev-start): Remove.
(inferior-octave-mode, octave-mode): Use :abbrev-table instead.

11 years agolisp/gnus/ChangeLog: Add Bug#
Katsumi Yamaoka [Wed, 1 May 2013 00:37:07 +0000 (00:37 +0000)]
lisp/gnus/ChangeLog: Add Bug#

11 years agognus-util.el (gnus-emacs-completing-read): Fix a filter for XEmacs
Katsumi Yamaoka [Wed, 1 May 2013 00:29:13 +0000 (00:29 +0000)]
gnus-util.el (gnus-emacs-completing-read): Fix a filter for XEmacs

11 years ago* progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
Leo Liu [Tue, 30 Apr 2013 16:27:36 +0000 (00:27 +0800)]
* progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
change.

11 years agoHandle arbitrarily long C++ member initialisation lists.
Alan Mackenzie [Tue, 30 Apr 2013 16:19:14 +0000 (16:19 +0000)]
Handle arbitrarily long C++ member initialisation lists.
        * progmodes/cc-engine.el (c-back-over-member-initializers): new
        function.
        (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
        (most) member init lists.

11 years ago* progmodes/octave.el (inferior-octave-prompt-read-only): New user
Rüdiger Sonderfeld [Tue, 30 Apr 2013 15:20:46 +0000 (23:20 +0800)]
* progmodes/octave.el (inferior-octave-prompt-read-only): New user
variable.