]> code.delx.au - gnu-emacs/log
gnu-emacs
11 years agoMerge from trunk, configury not fixed yet.
Eli Zaretskii [Wed, 15 May 2013 16:15:07 +0000 (19:15 +0300)]
Merge from trunk, configury not fixed yet.

11 years ago* progmodes/octave.el (octave-goto-function-definition): Improve
Leo Liu [Wed, 15 May 2013 08:17:22 +0000 (16:17 +0800)]
* progmodes/octave.el (octave-goto-function-definition): Improve
and fix callers.

11 years ago* lisp/emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
Stefan Monnier [Wed, 15 May 2013 02:00:07 +0000 (22:00 -0400)]
* lisp/emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
the setter.

Fixes: debbugs:14387
11 years ago* lisp/progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
Stefan Monnier [Wed, 15 May 2013 00:52:07 +0000 (20:52 -0400)]
* lisp/progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
surrounding group.
* src/regex.c (regex_compile) [\=, \>, \<]: Don't forget to set laststart.

Fixes: debbugs:14402
11 years ago* lisp/subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
Juri Linkov [Tue, 14 May 2013 23:38:14 +0000 (02:38 +0300)]
* lisp/subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.

Fixes: debbugs:14390
11 years ago* f90.el (f90-imenu-generic-expression): Fix typo in 2013-05-08 change.
Glenn Morris [Tue, 14 May 2013 19:29:35 +0000 (15:29 -0400)]
* f90.el (f90-imenu-generic-expression): Fix typo in 2013-05-08 change.
(Bug#14402)

11 years ago* progmodes/gdb-mi.el (gdb-running, gdb-starting): Remove
Jean-Philippe Gravel [Tue, 14 May 2013 18:34:13 +0000 (14:34 -0400)]
* progmodes/gdb-mi.el (gdb-running, gdb-starting): Remove
signals for which replies are never received.

11 years agoRecommend to use MinGW Texinfo.
Eli Zaretskii [Tue, 14 May 2013 18:14:23 +0000 (21:14 +0300)]
Recommend to use MinGW Texinfo.

11 years ago* progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
Jean-Philippe Gravel [Tue, 14 May 2013 18:13:31 +0000 (14:13 -0400)]
* progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
(gdb-handler-alist, gdb-handler-number): Remove variables.
(gdb-handler-list): New variable.
(gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
(gdb-pending-handler-p, gdb-handle-reply)
(gdb-remove-all-pending-triggers): New functions.
(gdb-discard-unordered-replies): New defcustom.
(gdb-handler): New defstruct.
(gdb-wait-for-pending): Fix invalid backquote.  Use gdb-handler-list.
instead of gdb-pending-triggers.  Update docstring.
(gdb-init-1): Remove dead variables.  Initialize gdb-handler-list.
(gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
(gdb-var-update-handler, def-gdb-auto-update-trigger)
(def-gdb-auto-update-handler, gdb-get-changed-registers)
(gdb-changed-registers-handler, gdb-get-main-selected-frame)
(gdb-frame-handler): Pending triggers are now automatically managed.
(def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
Remove argument.
(gdb-input): Automatically handles pending triggers.  Update docstring.
(gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
(gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
Update comments.
(gdb-done-or-error): Now use gdb-handle-reply.

11 years ago* progmodes/gdb-mi.el (gdb-input): Include token numbers in
Jean-Philippe Gravel [Sun, 12 May 2013 13:38:42 +0000 (09:38 -0400)]
* progmodes/gdb-mi.el (gdb-input): Include token numbers in
gdb-debug-log.

11 years ago* subr.el (user-emacs-directory-warning): New option.
Glenn Morris [Tue, 14 May 2013 16:01:16 +0000 (09:01 -0700)]
* subr.el (user-emacs-directory-warning): New option.
(locate-user-emacs-file): Handle non-accessible .emacs.d.

Not in NEWS, because you only need to know about this if you encounter
it in the wild.

Fixes: debbugs:13930
11 years agoAnother attempt to solve bug #14062 with assertion violations on MS-Windows.
Eli Zaretskii [Tue, 14 May 2013 14:09:43 +0000 (17:09 +0300)]
Another attempt to solve bug #14062 with assertion violations on MS-Windows.

 src/w32fns.c (w32_wnd_proc): Don't call WINDOW_HEADER_LINE_HEIGHT
 unless we know that the window w is a leaf window.  Another
 attempt at solving bug#14062.

11 years ago* progmodes/octave.el (octave-font-lock-texinfo-comment):
Leo Liu [Tue, 14 May 2013 10:11:56 +0000 (18:11 +0800)]
* progmodes/octave.el (octave-font-lock-texinfo-comment):
Fix invalid search bound error: wrong side of point.

11 years ago* nsfont.m (ns_spec_to_descriptor): Retain and autorelease fdesc.
Jan Djärv [Tue, 14 May 2013 09:34:16 +0000 (11:34 +0200)]
* nsfont.m (ns_spec_to_descriptor): Retain and autorelease fdesc.

Fixes: debbugs:14375
11 years ago* lisp/emacs-lisp/tabulated-list.el: Set a version number.
Yann Hodique [Tue, 14 May 2013 07:35:21 +0000 (00:35 -0700)]
* lisp/emacs-lisp/tabulated-list.el: Set a version number.
* lisp/emacs-lisp/package.el: Explicitly depend on a tabulated-list version.

Fixes: debbugs:14137
11 years ago* progmodes/octave.el (octave-font-lock-keywords): Fix error
Leo Liu [Tue, 14 May 2013 05:19:29 +0000 (13:19 +0800)]
* progmodes/octave.el (octave-font-lock-keywords): Fix error
during redisplay.
(octave-goto-function-definition, octave-find-definition): Minor tweaks.

11 years ago* lisp/progmodes/flymake.el (flymake-xml-program): New option.
Glenn Morris [Tue, 14 May 2013 02:42:17 +0000 (22:42 -0400)]
* lisp/progmodes/flymake.el (flymake-xml-program): New option.
(flymake-xml-init): Use it.

11 years agoMore cus-test.el tweaks
Glenn Morris [Tue, 14 May 2013 02:12:19 +0000 (22:12 -0400)]
More cus-test.el tweaks

* admin/cus-test.el (cus-test-get-lisp-files): Ignore obsolete/.
(cus-test-libs): Fix let-binding of default-directory.
(cus-test-noloads): Load all libs for the comparison.

11 years ago* ede/simple.el, semantic/java.el: Set generated-autoload-load-name.
Glenn Morris [Tue, 14 May 2013 02:10:23 +0000 (22:10 -0400)]
* ede/simple.el, semantic/java.el: Set generated-autoload-load-name.

11 years ago* lisp/term/xterm.el: Provide a feature.
Glenn Morris [Tue, 14 May 2013 02:08:35 +0000 (22:08 -0400)]
* lisp/term/xterm.el: Provide a feature.

11 years agoMake sup-mouse.el obsolete
Glenn Morris [Tue, 14 May 2013 02:04:02 +0000 (22:04 -0400)]
Make sup-mouse.el obsolete

* doc/emacs/ack.texi (Acknowledgments): Don't mention obsolete sup-mouse.el.

* term/sup-mouse.el: Move to obsolete/.

* etc/NEWS: Mention this.

11 years agoFix typo in previous
Glenn Morris [Mon, 13 May 2013 17:52:59 +0000 (13:52 -0400)]
Fix typo in previous

11 years ago* cus-dep.el (defcustom-mh, defgroup-mh, defface-mh): Add compat aliases
Glenn Morris [Mon, 13 May 2013 16:21:00 +0000 (09:21 -0700)]
* cus-dep.el (defcustom-mh, defgroup-mh, defface-mh): Add compat aliases
as a hack workaround.

Fixes: debbugs:14384
11 years agoAuto-commit of generated files.
Glenn Morris [Mon, 13 May 2013 10:17:36 +0000 (06:17 -0400)]
Auto-commit of generated files.

11 years ago* progmodes/octave.el (octave-indent-comment): Fix indentation for %!.
Leo Liu [Mon, 13 May 2013 07:24:22 +0000 (15:24 +0800)]
* progmodes/octave.el (octave-indent-comment): Fix indentation for %!.
(octave-comment-start-skip): Include %!.
(octave-mode): Set comment-start-skip to octave-comment-start-skip.

11 years ago* configure.ac (LD_SWITCH_SYSTEM_EMACS): Fix typo in previous change.
Paul Eggert [Mon, 13 May 2013 06:23:08 +0000 (23:23 -0700)]
* configure.ac (LD_SWITCH_SYSTEM_EMACS): Fix typo in previous change.

11 years ago* configure.ac (LD_SWITCH_SYSTEM_TEMACS): OpenBSD needs -fno-pie.
Paul Eggert [Mon, 13 May 2013 03:54:34 +0000 (20:54 -0700)]
* configure.ac (LD_SWITCH_SYSTEM_TEMACS): OpenBSD needs -fno-pie.

Reported privately by Han Boetes <han@boetes.org>.

11 years ago* progmodes/octave.el (octave-mode-map): Bind octave-indent-defun to
Leo Liu [Mon, 13 May 2013 01:36:42 +0000 (09:36 +0800)]
* progmodes/octave.el (octave-mode-map): Bind octave-indent-defun to
C-c C-q instead of C-M-q.

11 years ago* progmodes/octave.el (octave-indent-comment): Fix the indentation
Leo Liu [Mon, 13 May 2013 00:07:18 +0000 (08:07 +0800)]
* progmodes/octave.el (octave-indent-comment): Fix the indentation
of ### or %%%.

11 years ago* image.c (gif_load): Check that subimages fit.
Paul Eggert [Sun, 12 May 2013 19:17:04 +0000 (12:17 -0700)]
* image.c (gif_load): Check that subimages fit.

Fixes: debbugs:14345
11 years agoAuto-commit of loaddefs files.
Glenn Morris [Sun, 12 May 2013 10:22:44 +0000 (06:22 -0400)]
Auto-commit of loaddefs files.

11 years ago* progmodes/octave.el (inferior-octave-startup): Store the value
Leo Liu [Sun, 12 May 2013 04:10:40 +0000 (12:10 +0800)]
* progmodes/octave.el (inferior-octave-startup): Store the value
of __octave_srcdir__ for octave-source-directories.
(inferior-octave-check-process): New function refactored out of
inferior-octave-send-list-and-digest.
(octave-source-directories)
(octave-find-definition-filename-function): New variables.
(octave-source-directories)
(octave-find-definition-default-filename): New functions.
(octave-find-definition): Improve to find functions implemented in C++.

11 years ago* diary-lib.el (diary-outlook-format-1): Don't include dayname in the output.
Glenn Morris [Sun, 12 May 2013 01:34:30 +0000 (18:34 -0700)]
* diary-lib.el (diary-outlook-format-1): Don't include dayname in the output.

Fixes: debbugs:14349
11 years ago* lisp/emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
Glenn Morris [Sat, 11 May 2013 23:58:36 +0000 (16:58 -0700)]
* lisp/emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.

11 years agoSet generated-autoload-load-name in some more cedet files
Glenn Morris [Sat, 11 May 2013 23:55:46 +0000 (16:55 -0700)]
Set generated-autoload-load-name in some more cedet files

There are no autoloads in these files, but there are defcustoms.
See bug#5277.

* ede/project-am.el, semantic/db-ebrowse.el, semantic/grammar.el:
* semantic/sb.el, semantic/bovine/grammar.el, semantic/wisent/comp.el:
* semantic/wisent/grammar.el, semantic/wisent/wisent.el:
* srecode/fields.el: Set generated-autoload-load-name.

11 years ago* cus-dep.el (custom-make-dependencies): Only use safe local variables.
Glenn Morris [Sat, 11 May 2013 23:54:14 +0000 (16:54 -0700)]
* cus-dep.el (custom-make-dependencies): Only use safe local variables.
Treat cc-provide like provide.

11 years agoUse generated-autoload-load-name for cus-load.el.
Kevin Ryde [Sat, 11 May 2013 23:52:27 +0000 (16:52 -0700)]
Use generated-autoload-load-name for cus-load.el.

* lisp/cus-dep.el (custom-make-dependencies):
Use generated-autoload-load-name for the sake of files such
such cedet/semantic/bovine/c.el, where the base file name
is not in load-path.

Fixes: debbugs:5277
11 years agoMake some files provide features
Glenn Morris [Sat, 11 May 2013 23:41:52 +0000 (16:41 -0700)]
Make some files provide features

* dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
Provide features.

11 years ago* progmodes/octave.el (octave-indent-comment): Improve.
Leo Liu [Sat, 11 May 2013 13:22:06 +0000 (21:22 +0800)]
* progmodes/octave.el (octave-indent-comment): Improve.
(octave-eldoc-message-style, octave-eldoc-cache): New variables.
(octave-eldoc-function-signatures, octave-eldoc-function): New
functions.
(octave-mode, inferior-octave-mode): Add eldoc support.

11 years ago* epa.el (epa-decrypt-file): Take output file name as argument
Richard M. Stallman [Sat, 11 May 2013 13:14:07 +0000 (09:14 -0400)]
* epa.el (epa-decrypt-file): Take output file name as argument
and read it using `interactive'.

11 years ago* progmodes/octave.el (octave-begin-keywords, octave-end-keywords)
Leo Liu [Sat, 11 May 2013 07:39:59 +0000 (15:39 +0800)]
* progmodes/octave.el (octave-begin-keywords, octave-end-keywords)
(octave-reserved-words, octave-smie-bnf-table)
(octave-smie-rules): Add new keywords from Octave 3.6.4.

11 years ago* progmodes/octave.el (octave-indent-comment): New function.
Leo Liu [Sat, 11 May 2013 06:20:10 +0000 (14:20 +0800)]
* progmodes/octave.el (octave-indent-comment): New function.
(octave-mode): Use it in smie-indent-functions.

Fixes: debbugs:14350
11 years ago* progmodes/octave.el (octave-beginning-of-line)
Leo Liu [Sat, 11 May 2013 03:50:34 +0000 (11:50 +0800)]
* progmodes/octave.el (octave-beginning-of-line)
(octave-end-of-line): Check before using up-list because it jumps
out of more syntactic contructs since moving to smie.

11 years agoMore cus-test.el tweaks
Glenn Morris [Sat, 11 May 2013 02:29:57 +0000 (19:29 -0700)]
More cus-test.el tweaks

* admin/cus-test.el (cus-test-libs-noloads): Add a few more files.
(cus-test-load-libs, cus-test-opts):
Add option to load more/all Lisp files.
(cus-test-get-lisp-files): Ignore .*.el files.

11 years agoFix some declarations
Glenn Morris [Sat, 11 May 2013 02:27:28 +0000 (19:27 -0700)]
Fix some declarations

* lisp/faces.el (internal-face-x-get-resource):
* lisp/frame.el (ns-display-monitor-attributes-list):
* lisp/calc/calc-aent.el (math-to-radians-2):
* lisp/cedet/ede/locate.el (cedet-cscope-version-check)
(cedet-cscope-support-for-directory):
* lisp/cedet/semantic/grammar.el (semantic-grammar-wy--install-parser):
* lisp/emacs-lisp/package.el (tar-header-name, tar-header-link-type):
Fix declarations.

11 years agoMake a few libraries loadable in isolation
Glenn Morris [Sat, 11 May 2013 02:25:11 +0000 (19:25 -0700)]
Make a few libraries loadable in isolation

* lisp/calc/calc-menu.el: Make it loadable in isolation.

* lisp/gnus/gnus-vm.el: Make it loadable without VM.
(gnus-vm-make-folder, gnus-summary-save-in-vm): Require 'vm.
(vm-forward-message, vm-reply, vm-mail): Remove unused autoloads.

* lisp/net/eudcb-bbdb.el: Make it loadable without bbdb.
(eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
(eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
(eudc-bbdb-query-internal): Require 'bbdb.

11 years agoMore custom :type fixes
Glenn Morris [Sat, 11 May 2013 02:21:29 +0000 (19:21 -0700)]
More custom :type fixes

* lisp/lpr.el (lpr-headers-switches):
* lisp/emacs-lisp/testcover.el (testcover-compose-functions):
* lisp/cedet/ede/project-am.el (project-am-compile-project-command): Fix :type.

* lisp/progmodes/sql.el (sql-login-params): Fix and improve :type.

11 years ago* lisp/emulation/edt-mapper.el: In batch mode, error rather than hang.
Glenn Morris [Sat, 11 May 2013 02:17:45 +0000 (19:17 -0700)]
* lisp/emulation/edt-mapper.el: In batch mode, error rather than hang.

11 years ago* lisp/term.el (term-set-escape-char): Make it idempotent.
Glenn Morris [Sat, 11 May 2013 02:15:46 +0000 (19:15 -0700)]
* lisp/term.el (term-set-escape-char): Make it idempotent.

11 years agoAuto-commit of loaddefs files.
Glenn Morris [Fri, 10 May 2013 10:21:19 +0000 (06:21 -0400)]
Auto-commit of loaddefs files.

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

11 years agoAdd option for cus-test.el to load all Lisp files
Glenn Morris [Fri, 10 May 2013 07:31:34 +0000 (00:31 -0700)]
Add option for cus-test.el to load all Lisp files

* admin/cus-test.el (cus-test-libs-noloads): Add some files.
(cus-test-get-lisp-files): New function.
(cus-test-libs): Add option to load more/all Lisp files.

11 years ago* progmodes/octave.el (inferior-octave-completion-table): No
Leo Liu [Fri, 10 May 2013 06:26:42 +0000 (14:26 +0800)]
* progmodes/octave.el (inferior-octave-completion-table): No
longer a function and all uses changed.  Use cache to speed up
completion due to bug#11906.
(octave-beginning-of-defun): Re-write to be more general.

11 years ago* lisp/emacs-lisp/cl-macs.el (cl-loop): Doc fix.
Glenn Morris [Fri, 10 May 2013 02:01:12 +0000 (22:01 -0400)]
* lisp/emacs-lisp/cl-macs.el (cl-loop): Doc fix.

11 years ago* src/doc.c (get_doc_string): Slightly relax the sanity checking.
Stefan Monnier [Thu, 9 May 2013 18:30:46 +0000 (14:30 -0400)]
* src/doc.c (get_doc_string): Slightly relax the sanity checking.
* src/lread.c (skip_dyn_eof): New function.
(read1): Use it to skip the end of a file in response to #@00.

11 years ago* lisp/comint.el (comint-redirect-send-command-to-process): Use :around
Stefan Monnier [Thu, 9 May 2013 17:54:29 +0000 (13:54 -0400)]
* lisp/comint.el (comint-redirect-send-command-to-process): Use :around
rather than :override for comint-redirect-filter.
(comint-redirect-filter): Add the corresponding `orig-filter' argument.
Call it instead of comint-redirect-original-filter-function (which
is gone).  Reported by Juanma Barranquero <lekktu@gmail.com>.

11 years agoX-Debbugs-CC clarifications
Glenn Morris [Thu, 9 May 2013 16:14:05 +0000 (09:14 -0700)]
X-Debbugs-CC clarifications

11 years agoImplement display-monitor-attributes-list for NS.
Jan Djärv [Thu, 9 May 2013 15:17:38 +0000 (17:17 +0200)]
Implement display-monitor-attributes-list for NS.

* lisp/frame.el (display-monitor-attributes-list): Add NS case.
(ns-display-monitor-attributes-list): Declare.

* src/nsfns.m: Include IOGraphicsLib.h if Cocoa.
(Qgeometry, Qworkarea, Qmm_size, Qframes, Qsource): Declare.
(MonitorInfo): New struct.
(free_monitors, ns_screen_name, ns_make_monitor_attribute_list)
(Fns_display_monitor_attributes_list): New functions.
(display-usable-bounds): Remove.
(syms_of_nsfns): DEFSYM Qgeometry, Qworkarea, Qmm_size, Qframes and
Qsource.

11 years ago* xterm.h (GTK_PREREQ): Remove, replacing with GTK_CHECK_VERSION.
Paul Eggert [Thu, 9 May 2013 14:49:56 +0000 (07:49 -0700)]
* xterm.h (GTK_PREREQ): Remove, replacing with GTK_CHECK_VERSION.

(GTK_CHECK_VERSION): New macro, if not already defined.
All uses of GTK_PREREQ, GTK_MAJOR_VERSION, etc.
replaced by GTK_CHECK_VERSION.

11 years ago* lisp/gnus/mml1991.el: Make it loadable.
Glenn Morris [Thu, 9 May 2013 06:46:51 +0000 (23:46 -0700)]
* lisp/gnus/mml1991.el: Make it loadable.

* lisp/gnus/mml2015.el: Comment.

Fixes: debbugs:13456
11 years agoadmin/cus-test,el misc updates
Glenn Morris [Thu, 9 May 2013 06:09:39 +0000 (23:09 -0700)]
admin/cus-test,el misc updates

Mainly for some files listed in loaddefs.el now being in subdirs that
are not in load-path.

* admin/cus-test.el (cus-test-libs-noloads): Add dunnet in the defvar.
(dunnet): Don't always load it.
(viper-mode): Only set if interactive.
(cus-test-load-custom-loads): Load dunnet if necessary.
(cus-test-load-1): New macro, with common code from cus-test-load-libs
and cus-test-libs.
(cus-test-load-libs, cus-test-libs): Use cus-test-load-1 macro.
Update for cus-test-get-autoload-deps changed result.
(cus-test-get-autoload-deps): Simplify.  Return file names as they
appear in loaddefs.el (directory parts are needed now that not all
lisp subdirs are in load-path).
(cus-test-deps): Explicitly skip dunnet.

11 years ago* admin/cus-test.el: No need to provide bbdb, bbdb-com any more.
Glenn Morris [Thu, 9 May 2013 03:17:44 +0000 (20:17 -0700)]
* admin/cus-test.el: No need to provide bbdb, bbdb-com any more.
Remove some outdated comments.

11 years agoMerge from emacs-24; up to 2012-12-27T17:59:21Z!rgm@gnu.org
Glenn Morris [Thu, 9 May 2013 02:44:12 +0000 (19:44 -0700)]
Merge from emacs-24; up to 2012-12-27T17:59:21Z!rgm@gnu.org

11 years ago* fontset.el (vertical-centering-font-regexp): Set standard-value.
Glenn Morris [Thu, 9 May 2013 02:42:10 +0000 (22:42 -0400)]
* fontset.el (vertical-centering-font-regexp): Set standard-value.

11 years ago* lisp/tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
Glenn Morris [Thu, 9 May 2013 01:42:00 +0000 (21:42 -0400)]
* lisp/tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.

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 ago* lisp/descr-text.el (describe-char): Fix %d/%x typo.
Ulrich Mueller [Wed, 8 May 2013 03:52:54 +0000 (20:52 -0700)]
* lisp/descr-text.el (describe-char): Fix %d/%x typo.

Fixes: debbugs:14360
11 years agoFix some doc/emacs typos
Glenn Morris [Wed, 8 May 2013 03:49:29 +0000 (20:49 -0700)]
Fix some doc/emacs typos

* doc/emacs/sending.texi (Mail Sending): Fix typo.

* doc/emacs/windows.texi (Change Window): Fix typo.

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.