]> git.eshelyaron.com Git - emacs.git/log
emacs.git
12 years agoStop adding Fink directories to search path on OS X
Glenn Morris [Fri, 18 May 2012 07:14:45 +0000 (00:14 -0700)]
Stop adding Fink directories to search path on OS X

* configure.in (GCC_TEST_OPTIONS, NON_GCC_TEST_OPTIONS) <darwin>:
No longer unconditonally add /sw directories.

* etc/NEWS: Mention this.

Fixes: debbugs:2280
12 years agoRemove some old comments
Glenn Morris [Fri, 18 May 2012 07:06:23 +0000 (00:06 -0700)]
Remove some old comments

12 years agotextmodes/flyspell.el: Protect delay handling for otherchars against empty otherchars.
Agustín Martín [Fri, 18 May 2012 07:04:04 +0000 (09:04 +0200)]
textmodes/flyspell.el: Protect delay handling for otherchars against empty otherchars.

(flyspell-check-pre-word-p, flyspell-check-word-p,flyspell-debug-signal-word-checked)

12 years agoTweak dependencies in top-level install rules
Glenn Morris [Fri, 18 May 2012 07:00:09 +0000 (00:00 -0700)]
Tweak dependencies in top-level install rules

* Makefile.in (install-arch-dep): Depend on install-arch-indep.
(install-arch-indep): Depend on install-leim.
(install): Remove explicit install-leim dependence.

12 years agoRemove the mkdir rule from the top-level Makefile
Glenn Morris [Fri, 18 May 2012 06:54:28 +0000 (23:54 -0700)]
Remove the mkdir rule from the top-level Makefile

* Makefile.in (install-arch-indep): Move last element of mkdir rule here.
(mkdir): Remove rule.

12 years ago* Makefile.in (install-arch-indep): Remove unneeded chmods.
Glenn Morris [Fri, 18 May 2012 06:48:14 +0000 (23:48 -0700)]
* Makefile.in (install-arch-indep): Remove unneeded chmods.
INSTALL_DATA does this for us.

12 years agoMakefile simplifications related to creating installation directories
Glenn Morris [Fri, 18 May 2012 06:46:05 +0000 (23:46 -0700)]
Makefile simplifications related to creating installation directories

A separate mkdir rule is not needed, since MKDIR_P is thread-safe.

* Makefile.in (install-arch-dep): Ensure bindir exists.
Drop mkdir dependency.
(install-arch-indep): Ensure docdir, infodir, mandir exist.
(install-leim): Drop mkdir dependency.
(mkdir): Remove most directories, now made in relevant rules.

12 years ago* Makefile.in (install-arch-indep): Combine adjacent loops.
Glenn Morris [Fri, 18 May 2012 06:39:52 +0000 (23:39 -0700)]
* Makefile.in (install-arch-indep): Combine adjacent loops.

12 years ago* lib-src/Makefile.in (install): Ensure $bindir exists.
Glenn Morris [Fri, 18 May 2012 06:33:04 +0000 (23:33 -0700)]
* lib-src/Makefile.in (install): Ensure $bindir exists.

12 years agoReplace obsolete form for minor-mode in file local variables
Glenn Morris [Fri, 18 May 2012 06:31:25 +0000 (23:31 -0700)]
Replace obsolete form for minor-mode in file local variables

12 years agoRefresh ldefs-boot.
Stefan Monnier [Fri, 18 May 2012 01:48:05 +0000 (21:48 -0400)]
Refresh ldefs-boot.

12 years ago* lisp/emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
Stefan Monnier [Fri, 18 May 2012 01:46:20 +0000 (21:46 -0400)]
* lisp/emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
their respective macro declarations.
* lisp/skeleton.el (define-skeleton):
* lisp/progmodes/compile.el (define-compilation-mode):
* lisp/ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
(define-ibuffer-filter):
* lisp/emacs-lisp/generic.el (define-generic-mode):
* lisp/emacs-lisp/easy-mmode.el (define-minor-mode)
(define-globalized-minor-mode):
* lisp/emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
* lisp/emacs-lisp/byte-run.el (defsubst):
* lisp/custom.el (deftheme): Add doc-string metadata.

12 years ago* lisp/emacs-lisp/cl-macs.el, lisp/emacs-lisp/cl.el: Move indent info.
Stefan Monnier [Thu, 17 May 2012 21:51:15 +0000 (17:51 -0400)]
* lisp/emacs-lisp/cl-macs.el, lisp/emacs-lisp/cl.el: Move indent info.

12 years ago* lisp/emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
Stefan Monnier [Thu, 17 May 2012 21:40:47 +0000 (17:40 -0400)]
* lisp/emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).

12 years ago* lisp/emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
Stefan Monnier [Thu, 17 May 2012 21:39:36 +0000 (17:39 -0400)]
* lisp/emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
* lisp/emacs-lisp/cl-macs.el: Idem.
* lisp/emacs-lisp/cl-specs.el: Remove.

12 years agoMinor renaming of internal CL functions and variables.
Stefan Monnier [Thu, 17 May 2012 20:04:56 +0000 (16:04 -0400)]
Minor renaming of internal CL functions and variables.
* lisp/emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
(cl--position): Rename from cl-position.
(cl--delete-duplicates): Rename from cl-delete-duplicates.
* lisp/emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
(cl--random-state): Rename from *random-state*.

12 years ago* Makefile.in (install-etc): Fix previous change.
Glenn Morris [Thu, 17 May 2012 19:30:42 +0000 (15:30 -0400)]
* Makefile.in (install-etc): Fix previous change.

Remember to always call MKDIR_P and INSTALL_DATA from the top-level
directory, for the case in which we are falling back to build-aux/install-sh.
It would make life much easier if autoconf would use an absolute path
in this case.

12 years agoSimplify install-etc rule
Glenn Morris [Thu, 17 May 2012 19:13:02 +0000 (15:13 -0400)]
Simplify install-etc rule

* Makefile.in (install-etc, mkdir):
Make relevant directories in install-etc rather than mkdir.

12 years agoMore simplification for installation of site-lisp directories
Glenn Morris [Thu, 17 May 2012 18:47:52 +0000 (14:47 -0400)]
More simplification for installation of site-lisp directories

* Makefile.in (write_subdir): Create the directory if needed.
(install-arch-dep, mkdir): No need to make site-lisp directories.

12 years ago* Makefile.in (write_subdir): Move definition before use.
Glenn Morris [Thu, 17 May 2012 18:38:20 +0000 (14:38 -0400)]
* Makefile.in (write_subdir): Move definition before use.

12 years agoFurther simplify install-arch-dep for self-contained NS builds
Glenn Morris [Thu, 17 May 2012 18:28:24 +0000 (14:28 -0400)]
Further simplify install-arch-dep for self-contained NS builds

* Makefile.in (install-arch-dep): Use $write_subdir.

12 years agoReduce some code duplication in Makefile.in
Glenn Morris [Thu, 17 May 2012 18:26:51 +0000 (14:26 -0400)]
Reduce some code duplication in Makefile.in

* Makefile.in (write_subdir): New.
(install-arch-indep): Use $write_subdir.

12 years ago* lisp/emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
Stefan Monnier [Thu, 17 May 2012 15:15:51 +0000 (11:15 -0400)]
* lisp/emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
parens around the arg list.

Fixes: debbugs:11499
12 years agoAuto-commit of generated files.
Glenn Morris [Thu, 17 May 2012 10:17:26 +0000 (06:17 -0400)]
Auto-commit of generated files.

12 years agoMinor optimization for install of self-contained NS info files
Glenn Morris [Thu, 17 May 2012 06:07:26 +0000 (23:07 -0700)]
Minor optimization for install of self-contained NS info files

* configure.in (etcdir): For a self-contained ns build,
set it to the appropriate values.
* Makefile.in (install-arch-dep): No need to move info/ any more.

12 years agoSet more installation directories for self-contained ns builds
Glenn Morris [Thu, 17 May 2012 05:55:29 +0000 (22:55 -0700)]
Set more installation directories for self-contained ns builds

* configure.in (docdir, etcdir, lispdir):
For a self-contained ns build, set these to the appropriate values.

12 years agoFix previous change, for NS builds that are not self-contained
Glenn Morris [Thu, 17 May 2012 05:32:37 +0000 (22:32 -0700)]
Fix previous change, for NS builds that are not self-contained

* configure.in (ns_self_contained): New output variable.
* Makefile.in (ns_self_contained): New, set by configure.
(install-arch-dep): Use $ns_self_contained.

12 years agoMinor optimization for install-arch-dep with self-contained ns build
Glenn Morris [Thu, 17 May 2012 05:14:50 +0000 (22:14 -0700)]
Minor optimization for install-arch-dep with self-contained ns build

* Makefile.in (install-arch-dep): For a self-contained ns build,
don't bother installing binaries then immediately deleting them.

12 years agoInstall a self-contained NS build's libexec directly into the right place
Glenn Morris [Thu, 17 May 2012 01:23:03 +0000 (21:23 -0400)]
Install a self-contained NS build's libexec directly into the right place
This is rather than installing it in one place then moving it.

* configure.in (archlibdir): Set it for self-contained ns builds.
(libexecdir): Don't expand it now (this is mainly cosmetic).

* Makefile.in (ns_appbindir, ns_appresdir):
Move them before things that may refer to them.
(install-arch-dep): No need to relocate self-contained ns libexec.

* lib-src/Makefile.in (ns_appbindir): New, set by configure.

12 years agoMove word search functions from search.c to isearch.el (bug#10145, bug#11381).
Juri Linkov [Thu, 17 May 2012 00:03:49 +0000 (03:03 +0300)]
Move word search functions from search.c to isearch.el (bug#10145, bug#11381).

* lisp/isearch.el (word-search-regexp, word-search-backward)
(word-search-forward, word-search-backward-lax)
(word-search-forward-lax): Move functions from search.c.

* src/search.c (Fword_search_regexp, Fword_search_backward)
(Fword_search_forward, Fword_search_backward_lax)
(Fword_search_forward_lax): Move functions to isearch.el.

12 years agoAuto-commit of generated files.
Glenn Morris [Wed, 16 May 2012 10:17:25 +0000 (06:17 -0400)]
Auto-commit of generated files.

12 years ago* configure.in: Simplify by removing CPP etc.
Paul Eggert [Wed, 16 May 2012 09:01:55 +0000 (02:01 -0700)]
* configure.in: Simplify by removing CPP etc.

(CPP_TEST_OPTIONS, NON_GNU_CPP, cc_specified, SPECIFIED_CFLAGS)
(SPECIFED_CPP, CPP, NON_GNU_CC, AC_PROG_CPP): Remove; not needed.
In particular we no longer need to fiddle with CPP, since we don't
use CPP specially any more.
(gl_EARLY): Invoke this after adjusting CC, so that it uses the
adjusted compiler.
(AC_PROG_INSTALL, AC_PROG_MKDIR_P, AC_PROG_RANLIB): Comment out,
since gl_EARLY and/or Autoconf already does these.

12 years agotextmodes/flyspell.el: Delay for otherchars as for normal word components.
Agustín Martín [Wed, 16 May 2012 08:35:11 +0000 (10:35 +0200)]
textmodes/flyspell.el: Delay for otherchars as for normal word components.

(flyspell-check-pre-word-p,
 flyspell-check-word-p,
 flyspell-debug-signal-word-checked):

Use for otherchars the same delay used for other word components, so word
is not inmediately checked unless we are in a char that is neither a normal
word component nor an otherchar.

12 years agoTry to fix building with gcc >= 4.6 on Darwin.
Glenn Morris [Wed, 16 May 2012 06:15:52 +0000 (23:15 -0700)]
Try to fix building with gcc >= 4.6 on Darwin.
Eg, hydra builds have been failing for some time because (?) of this.
In gcc < 4.6, unrecognized -no-fo options just cause a warning.
In 4.6 and later, they cause an error.

* configure.in: (CPP): Do not unconditionally set it on Darwin.
Instead, try to test if -no-cpp-precomp is accepted.
(CPP_TEST_OPTIONS, SPECIFIED_CPP): New.

Fixes: debbugs:9755
12 years ago* xgselect.c (xg_select): Just invoke 'select' if -nw.
Paul Eggert [Wed, 16 May 2012 02:22:53 +0000 (19:22 -0700)]
* xgselect.c (xg_select): Just invoke 'select' if -nw.

Suggested by Ken Brown.

Fixes: debbugs:9754
12 years ago* lisp/minibuffer.el (completion--sifn-requote): Fix last change.
Stefan Monnier [Wed, 16 May 2012 01:57:20 +0000 (21:57 -0400)]
* lisp/minibuffer.el (completion--sifn-requote): Fix last change.
(minibuffer-local-must-match-filename-map):
Move define-obsolete-variable-alias before its var.

12 years ago* src/lread.c (init_obarray): Declare Qt and Qnil as special.
Stefan Monnier [Tue, 15 May 2012 20:20:18 +0000 (16:20 -0400)]
* src/lread.c (init_obarray): Declare Qt and Qnil as special.

12 years agoTweak line-breaks in previous change
Glenn Morris [Tue, 15 May 2012 19:17:24 +0000 (15:17 -0400)]
Tweak line-breaks in previous change

12 years ago* Makefile.in (install-arch-dep): Replace last user of MV_DIRS.
Glenn Morris [Tue, 15 May 2012 19:13:17 +0000 (15:13 -0400)]
* Makefile.in (install-arch-dep): Replace last user of MV_DIRS.

12 years ago* lisp/emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
Stefan Monnier [Tue, 15 May 2012 18:45:27 +0000 (14:45 -0400)]
* lisp/emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.

12 years ago* lisp/minibuffer.el (completion--sifn-requote): Handle sifn's truncation
Stefan Monnier [Tue, 15 May 2012 18:07:36 +0000 (14:07 -0400)]
* lisp/minibuffer.el (completion--sifn-requote): Handle sifn's truncation
behavior.
(completion--string-equal-p): New function.
(completion--twq-all): Use it to get better assertion failure data.

12 years ago* Makefile.in (install-arch-dep): Replace use of MV_DIRS with libexec.
Glenn Morris [Tue, 15 May 2012 17:55:39 +0000 (13:55 -0400)]
* Makefile.in (install-arch-dep): Replace use of MV_DIRS with libexec.

12 years ago* Makefile.in (install-arch-dep): Replace use of MV_DIRS with info.
Glenn Morris [Tue, 15 May 2012 17:49:59 +0000 (13:49 -0400)]
* Makefile.in (install-arch-dep): Replace use of MV_DIRS with info.
This make it easier to see what is going on.

12 years agoNEWS fixes
Glenn Morris [Tue, 15 May 2012 17:38:41 +0000 (13:38 -0400)]
NEWS fixes

12 years ago* Makefile.in (install-arch-dep): Do not hard-code version number.
Glenn Morris [Tue, 15 May 2012 17:32:42 +0000 (13:32 -0400)]
* Makefile.in (install-arch-dep): Do not hard-code version number.

12 years agoStop NS install symlinking libexec/* into bin/
Glenn Morris [Tue, 15 May 2012 17:09:00 +0000 (13:09 -0400)]
Stop NS install symlinking libexec/* into bin/

* Makefile.in (install-arch-dep): NS install no longer needs to
symlink libexec/* into bin/, since 2012-05-14 ns_init_paths change.

12 years agoOnly handle ".." and '..' quoting in shell-mode.
Stefan Monnier [Tue, 15 May 2012 16:58:35 +0000 (12:58 -0400)]
Only handle ".." and '..' quoting in shell-mode.
* lisp/shell.el (shell--unquote&requote-argument, shell--unquote-argument)
(shell--requote-argument): New functions.
(shell-completion-vars): Use them.
(shell--parse-pcomplete-arguments): Rename from
shell-parse-pcomplete-arguments.
* lisp/comint.el (comint-word): Obey comint-file-name-quote-list.  Simplify.
(comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
Obey comint-file-name-quote-list.

Fixes: debbugs:11466
12 years ago* lisp/emacs-lisp/smie.el (smie-indent--bolp-1): New function.
Stefan Monnier [Tue, 15 May 2012 13:25:03 +0000 (09:25 -0400)]
* lisp/emacs-lisp/smie.el (smie-indent--bolp-1): New function.
(smie-indent-keyword): Use it.

12 years agomention bug#8706 in the last url-util.el ChangeLog entry
Ted Zlatanov [Tue, 15 May 2012 08:53:49 +0000 (04:53 -0400)]
mention bug#8706 in the last url-util.el ChangeLog entry

12 years agoadd url-util.el test file
Ted Zlatanov [Tue, 15 May 2012 08:52:15 +0000 (04:52 -0400)]
add url-util.el test file

* automated/url-util-tests.el: New file to test
lisp/url/url-util.el.  Only `url-build-query-string' and
`url-parse-query-string' are tested right now.

12 years agoadd url-build-query-string and improve url-parse-query-string as per bug#8706
Ted Zlatanov [Tue, 15 May 2012 08:47:38 +0000 (04:47 -0400)]
add url-build-query-string and improve url-parse-query-string as per bug#8706

* url/url-util.el (url-build-query-string): New function.
(url-parse-query-string): Allow that '=' is not required and split
URL parameters on ';', not just '&'.

12 years ago(rst-re-alist): Fix loading (bug#11462).
Stefan Merten [Mon, 14 May 2012 20:39:14 +0000 (22:39 +0200)]
(rst-re-alist): Fix loading (bug#11462).

12 years agoMake a self-contained ns build able to find its own libexec directory
Glenn Morris [Mon, 14 May 2012 16:33:11 +0000 (09:33 -0700)]
Make a self-contained ns build able to find its own libexec directory

Ref: http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00298.html

* src/nsterm.m (ns_init_paths):
Put "libexec" before "bin", for the sake of init_callproc_1.

12 years ago* src/nsterm.m (ns_init_paths): Fix typo ("libexec" not "lib-exec").
Glenn Morris [Mon, 14 May 2012 16:23:11 +0000 (09:23 -0700)]
* src/nsterm.m (ns_init_paths): Fix typo ("libexec" not "lib-exec").

12 years agoChangeLog merge fixes
Glenn Morris [Mon, 14 May 2012 16:11:24 +0000 (09:11 -0700)]
ChangeLog merge fixes

12 years agoFix a regression in erc-dcc
Julien Danjou [Mon, 14 May 2012 15:42:23 +0000 (17:42 +0200)]
Fix a regression in erc-dcc

* erc-dcc.el (erc-dcc-handle-ctcp-send): Fix a regression
introduced on 2011-11-28 when fixing quoted filenames matching,
the regex group was not corrected.

12 years ago* keyboard.c (kbd_buffer_get_event) [!HAVE_DBUS]: Omit unused local.
Paul Eggert [Mon, 14 May 2012 15:22:29 +0000 (08:22 -0700)]
* keyboard.c (kbd_buffer_get_event) [!HAVE_DBUS]: Omit unused local.

12 years ago* unexaix.c: Port to more-recent AIX compilers.
Paul Eggert [Mon, 14 May 2012 15:11:10 +0000 (08:11 -0700)]
* unexaix.c: Port to more-recent AIX compilers.

(report_error, report_error_1, make_hdr, copy_sym)
(mark_x, adjust_lnnoptrs, unrelocate_symbols):
Make arguments const char *, not char *, to avoid violations of C
standard and to fix some AIX warnings reported by Gilles Pion.

12 years agoMerge from emacs-24; up to 2012-04-22T13:58:00Z!cyd@gnu.org
Chong Yidong [Mon, 14 May 2012 11:59:28 +0000 (19:59 +0800)]
Merge from emacs-24; up to 2012-04-22T13:58:00Z!cyd@gnu.org

12 years ago(rst-re-alist): Fix loading (bug#11462).
Stefan Merten [Mon, 14 May 2012 09:31:08 +0000 (11:31 +0200)]
(rst-re-alist): Fix loading (bug#11462).

12 years agoMake URL redirection work again.
Lars Magne Ingebrigtsen [Mon, 14 May 2012 07:56:04 +0000 (09:56 +0200)]
Make URL redirection work again.

The previous changes would make redirection fail, since the expansion
would end up with URLs that looked like "http:www.bing.com/hello".

* url-expand.el (url-default-expander): Copy over the fullness of
the new URL object based on the definition URL object.

12 years ago* keyboard.c (kbd_buffer_get_event): Read special events also in
Michael Albinus [Mon, 14 May 2012 07:05:03 +0000 (09:05 +0200)]
* keyboard.c (kbd_buffer_get_event): Read special events also in
batch mode.  (Bug#11415)

12 years ago* lisp/image-mode.el: Fit to width/height for rotated images.
Wolfgang Jenkner [Mon, 14 May 2012 05:19:46 +0000 (01:19 -0400)]
* lisp/image-mode.el: Fit to width/height for rotated images.
(image-transform-scale, image-transform-right-angle-fudge): New vars.
(image-transform-width, image-transform-fit-width): New functions.
(image-transform-properties): Use them.
(image-transform-check-size): New function.
(image-toggle-display-image): Use it (for testing).
(image-transform-set-rotation): Reduce angle mod 360.
Delete obsolete comment.

Fixes: debbugs:11431
12 years ago* lisp/image-mode.el: Fix scaling.
Wolfgang Jenkner [Mon, 14 May 2012 05:15:59 +0000 (01:15 -0400)]
* lisp/image-mode.el: Fix scaling.
(image-transform-resize): Doc fix.
(image-transform-properties): Default scale is 1 and height should
be an integer.

Fixes: debbugs:11399
12 years agoNew defcustoms need :version tags. They don't need "*" in the doc.
Glenn Morris [Mon, 14 May 2012 00:27:21 +0000 (17:27 -0700)]
New defcustoms need :version tags.  They don't need "*" in the doc.

12 years agoAllow specifying the erc timestamp format
Teemu Likonen [Sun, 13 May 2012 18:51:14 +0000 (20:51 +0200)]
Allow specifying the erc timestamp format

* erc-backend.el (erc-server-timestamp-format): New variable to
allow specifying the timestamp format.

Fixes: debbugs:10779
12 years agoFix bug #11464 with pos-visible-in-window-p and R2L text in L2R paragraph.
Eli Zaretskii [Sun, 13 May 2012 18:22:35 +0000 (21:22 +0300)]
Fix bug #11464 with pos-visible-in-window-p and R2L text in L2R paragraph.

 src/xdisp.c (pos_visible_p): Don't report a position visible when move_it_to
 stopped at the last line of window, which happens to be scanned
 backwards by the bidi iteration.

12 years ago*** empty log message ***
Stefan Monnier [Sun, 13 May 2012 16:04:37 +0000 (12:04 -0400)]
*** empty log message ***

12 years agoFix bug #11417 with infloop when left-fringe/right-fringe spec is used on TTY.
Eli Zaretskii [Sun, 13 May 2012 15:35:13 +0000 (18:35 +0300)]
Fix bug #11417 with infloop when left-fringe/right-fringe spec is used on TTY.

 src/xdisp.c (handle_stop): Don't call get_overlay_strings_1 if we
 already have overlays loaded.
 (handle_single_display_spec): Before returning without displaying
 fringe bitmap, synchronize the bidi iterator with the main display
 iterator, by calling iterate_out_of_display_property.
 (iterate_out_of_display_property): Detect buffer iteration by
 testing that it->string is a Lisp string.
 (get_next_display_element): When the current object is exhausted,
 and there's something on it->stack, call set_iterator_to_next to
 proceed with what's on the stack, instead of returning zero.
 (set_iterator_to_next): If called at the end of a Lisp string,
 proceed to consider_string_end without incrementing string
 position.  Don't increment display vector index past the end of
 the display vector.

12 years agoAdapt Electric Buffer Menu to recent Buffer Menu changes.
Chong Yidong [Sun, 13 May 2012 14:23:45 +0000 (22:23 +0800)]
Adapt Electric Buffer Menu to recent Buffer Menu changes.

* lisp/ebuff-menu.el (electric-buffer-list): Put electric buffer menu
command descriptions in this docstring, instead of the docstring
of electric-buffer-menu-mode.  Code cleanups.
(electric-buffer-menu-mode): Use define-derived-mode.  Rename from
Electric-buffer-menu-mode.
(electric-buffer-update-highlight): Minor code cleanup.

* lisp/emacs-lisp/tabulated-list.el (tabulated-list-format)
(tabulated-list-entries, tabulated-list-padding)
(tabulated-list-sort-key): Make permanent-local.

Fixes: debbugs:11455
12 years agoAuto-commit of loaddefs files.
Glenn Morris [Sun, 13 May 2012 10:23:39 +0000 (06:23 -0400)]
Auto-commit of loaddefs files.

12 years agoAuto-commit of generated files.
Glenn Morris [Sun, 13 May 2012 10:18:50 +0000 (06:18 -0400)]
Auto-commit of generated files.

12 years agoBackport fix for Bug#11382 from trunk
Chong Yidong [Sun, 13 May 2012 09:16:46 +0000 (17:16 +0800)]
Backport fix for Bug#11382 from trunk

12 years ago* net/dbus.el (dbus-call-method): Restore events not from D-Bus. (Bug#11447)
Michael Albinus [Sun, 13 May 2012 09:05:04 +0000 (11:05 +0200)]
* net/dbus.el (dbus-call-method): Restore events not from D-Bus.  (Bug#11447)

12 years agoMove define-obsolete-variable-alias before the var's definition.
Stefan Monnier [Sun, 13 May 2012 03:05:06 +0000 (23:05 -0400)]
Move define-obsolete-variable-alias before the var's definition.
* lisp/vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
* lisp/tooltip.el (tooltip-hook):
* lisp/textmodes/reftex-toc.el (reftex-toc-map):
* lisp/textmodes/reftex-sel.el (reftex-select-label-map)
(reftex-select-bib-map):
* lisp/textmodes/reftex-index.el (reftex-index-map)
(reftex-index-phrases-map):
* lisp/speedbar.el (speedbar-syntax-table, speedbar-key-map):
* lisp/progmodes/meta-mode.el (meta-mode-map):
* lisp/novice.el (disabled-command-hook):
* lisp/loadhist.el (unload-hook-features-list):
* lisp/frame.el (blink-cursor):
* lisp/files.el (find-file-not-found-hooks, write-file-hooks)
(write-contents-hooks):
* lisp/emulation/tpu-edt.el (GOLD-map):
* lisp/emacs-lock.el (emacs-lock-from-exiting):
* lisp/emacs-lisp/generic.el (generic-font-lock-defaults):
* lisp/emacs-lisp/chart.el (chart-map):
* lisp/dos-fns.el (register-name-alist):
* lisp/dired-x.el (dired-omit-files-p):
* lisp/desktop.el (desktop-enable):
* lisp/cus-edit.el (custom-mode-hook):
* lisp/buff-menu.el (buffer-menu-mode-hook):
* lisp/bookmark.el (bookmark-read-annotation-text-func)
(bookmark-exit-hooks):
* lisp/allout.el (allout-mode-deactivate-hook)
(allout-exposure-change-hook, allout-structure-added-hook)
(allout-structure-deleted-hook, allout-structure-shifted-hook):
* lisp/dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
(dirtrack-debug): Move call to define-obsolete-variable-alias so it
comes before the corresponding variable's definition.

12 years ago* cc-mode.texi: Avoid space before macro in 4th argument of cross
Andreas Schwab [Sat, 12 May 2012 19:00:30 +0000 (21:00 +0200)]
* cc-mode.texi: Avoid space before macro in 4th argument of cross
reference commands.

12 years agoRemove trailing / from $ns_appbindir
Glenn Morris [Sat, 12 May 2012 18:10:37 +0000 (11:10 -0700)]
Remove trailing / from $ns_appbindir

* configure.in (ns_appbindir): Remove trailing "/".
* src/ns.mk: Update for ns_appbindir no longer having trailing "/".

12 years ago* doc/misc/Makefile.in (mostlyclean): Add still more TeX intermediates.
Glenn Morris [Sat, 12 May 2012 18:04:06 +0000 (11:04 -0700)]
* doc/misc/Makefile.in (mostlyclean): Add still more TeX intermediates.

12 years ago* .bzrignore, doc/misc/Makefile.in (mostlyclean): Add more TeX intermediates.
Glenn Morris [Sat, 12 May 2012 18:03:18 +0000 (11:03 -0700)]
* .bzrignore, doc/misc/Makefile.in (mostlyclean): Add more TeX intermediates.

12 years ago* Makefile.in (gnus.dvi): Use $@ instead of $*.dvi.
Andreas Schwab [Sat, 12 May 2012 17:23:16 +0000 (19:23 +0200)]
* Makefile.in (gnus.dvi): Use $@ instead of $*.dvi.

12 years agoMake doc/misc/Makefile.in look more like the other doc Makefiles
Glenn Morris [Sat, 12 May 2012 16:44:01 +0000 (09:44 -0700)]
Make doc/misc/Makefile.in look more like the other doc Makefiles

* doc/misc/Makefile.in:
Use explicit $srcdir in all dependencies.
Remove cd $srcdir from rules.
(VPATH): Remove.
(infodir): Set to an absolute path.
(INFO_TARGETS): Use short names.
(mkinfodir): infodir is now absolute.
(echo-info, maintainer-clean): Update for new format of INFO_TARGETS.

12 years agoFix mouse links in new Buffer Menu.
Chong Yidong [Sat, 12 May 2012 15:04:11 +0000 (23:04 +0800)]
Fix mouse links in new Buffer Menu.

* buff-menu.el (Buffer-menu-mouse-select): Restore function.
(Buffer-menu-mode-map): Bind it.
(Buffer-menu--pretty-name): Add a mouse-face property.

Fixes: debbugs:11459
12 years ago* buff-menu.el (Buffer-menu-buffer+size-width): Doc fix.
Chong Yidong [Sat, 12 May 2012 14:28:04 +0000 (22:28 +0800)]
* buff-menu.el (Buffer-menu-buffer+size-width): Doc fix.

Fixes: debbugs:11454
12 years agoUpdate src/lisp.mk as required by 2012-05-07T20:48:41Z!monnier@iro.umontreal.ca.
Eli Zaretskii [Sat, 12 May 2012 13:05:12 +0000 (16:05 +0300)]
Update src/lisp.mk as required by 2012-05-07T20:48:41Z!monnier@iro.umontreal.ca.

 src/lisp.mk (lisp): Add newcomment.elc.

12 years agoAuto-commit of generated files.
Glenn Morris [Sat, 12 May 2012 10:17:24 +0000 (06:17 -0400)]
Auto-commit of generated files.

12 years ago* doc/misc/Makefile.in (.SUFFIXES): Disable implicit rules.
Glenn Morris [Sat, 12 May 2012 02:05:05 +0000 (22:05 -0400)]
* doc/misc/Makefile.in (.SUFFIXES): Disable implicit rules.
Fixes previous change.

12 years ago* doc/misc/Makefile.in (info.info): Rename from info, to avoid duplication.
Glenn Morris [Sat, 12 May 2012 01:32:19 +0000 (21:32 -0400)]
* doc/misc/Makefile.in (info.info): Rename from info, to avoid duplication.

12 years agoDon't use build-aux/install-sh -d directly
Glenn Morris [Sat, 12 May 2012 01:19:47 +0000 (21:19 -0400)]
Don't use build-aux/install-sh -d directly

* leim/Makefile.in (MKDIR_P): New, set by configure.
(install): Use $MKDIR_P.

* lib-src/Makefile.in (MKDIR_P): New, set by configure.
($(DESTDIR)${archlibdir}): Use $MKDIR_P.

12 years agoLet configure test for a suitable mkdir -p
Glenn Morris [Sat, 12 May 2012 00:57:48 +0000 (20:57 -0400)]
Let configure test for a suitable mkdir -p

* configure.in (AC_PROG_MKDIR_P): Call it, to set MKDIR_P.
(MKDEPDIR): Use $MKDIR_P.

* Makefile.in (MKDIR_P): New, set by configure.
(mkdir): Use $MKDIR_P.

* doc/emacs/Makefile.in (MKDIR_P): New, set by configure.
(mkinfodir): Use $MKDIR_P.

* doc/lispintro/Makefile.in (MKDIR_P): New, set by configure.
(mkinfodir): Use $MKDIR_P.

* doc/lispref/Makefile.in (MKDIR_P): New, set by configure.
(mkinfodir): Use $MKDIR_P.

* doc/misc/Makefile.in (MKDIR_P): New, set by configure.
(mkinfodir): Use $MKDIR_P.

* src/Makefile.in (MKDIR_P): New, set by configure.

* src/ns.mk (${ns_appdir}, ${ns_appbindir}Emacs): Use $MKDIR_P.

12 years ago* lisp/progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
Stefan Monnier [Fri, 11 May 2012 20:05:19 +0000 (16:05 -0400)]
* lisp/progmodes/prolog.el: Use SMIE.  Cleanup regexp setup.
(prolog-upper-case-string, prolog-lower-case-string)
(prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
(prolog-use-smie, prolog-smie-grammar): New vars.
(prolog-smie-forward-token, prolog-smie-backward-token)
(prolog-smie-rules): New funs.
(prolog-comment-indent): Remove.
(prolog-mode-variables): Use default comment indentation instead.
Setup SMIE.
(prolog-build-case-strings, prolog-set-atom-regexps): Remove.
(prolog-mode): Don't call them any more.
(prolog-electric-colon, prolog-electric-dash)
(prolog-edit-menu-insert-move): Use indent-according-to-mode.

12 years ago* lisp/dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
Stefan Monnier [Fri, 11 May 2012 17:31:30 +0000 (13:31 -0400)]
* lisp/dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.

12 years ago* Makefile.in (install-arch-indep): Remove dead code.
Glenn Morris [Fri, 11 May 2012 17:13:18 +0000 (13:13 -0400)]
* Makefile.in (install-arch-indep): Remove dead code.

./lisp/simpl.ele never exists in the _build_ directory,
the Lisp files are always in the _source_ directory.
Even if they were not, it would be wrong to install just
*.el and *.elc, since there are subdirectories in lisp/.

12 years ago* lisp/minibuffer.el (completion--twq-all): Again, allow case differences.
Stefan Monnier [Fri, 11 May 2012 17:11:03 +0000 (13:11 -0400)]
* lisp/minibuffer.el (completion--twq-all): Again, allow case differences.

12 years ago* lisp/term.el: Move keymap initialization code to be more idiomatic.
Stefan Monnier [Fri, 11 May 2012 15:05:03 +0000 (11:05 -0400)]
* lisp/term.el: Move keymap initialization code to be more idiomatic.
(term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
(term-terminal-menu): Move initialization into declaration.
(term-escape-char): Let the user set it in her .emacs.

12 years ago* lisp/progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
Stefan Monnier [Fri, 11 May 2012 14:24:50 +0000 (10:24 -0400)]
* lisp/progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
Provide SMIE-based indentation (not enabled by default yet).
(sh-mode-map): Don't bind electric keys.
Use electric-pair-mode instead of skeleton-pair.
(sh-assignment-regexp): Fit within 80 columns.
(sh-indent-supported): Specify actual shell name instead of boolean.
(sh--maybe-here-document): New fun, from sh-maybe-here-document.
(sh-maybe-here-document): Use it.  Make obsolete.
(sh-electric-here-document-mode) New minor mode.
(sh-mode): Use it.  Don't set sh-indent-supported-here here.
(sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
(sh-smie--sh-operators-back-re, sh-indent-after-continuation)
(sh-smie-rc-grammar, sh-use-smie): New vars.
(sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
(sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
(sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
(sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
(sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
(sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
(sh-set-shell): Use smie-setup if requested.

12 years agoFix display when left-fringe/right-fringe display spec is invalid.
Eli Zaretskii [Fri, 11 May 2012 14:05:06 +0000 (17:05 +0300)]
Fix display when left-fringe/right-fringe display spec is invalid.

 src/xdisp.c (handle_single_display_spec): Return 1 for left-margin
 and right-margin display specs even if the spec is invalid or we
 are on a TTY, and thus unable to display on the fringes.  That's
 because the text with the property will not be displayed anyway,
 so we need to signal to the caller that this is a "replacing"
 display spec.  This fixes display when the spec is invalid or we
 are on a TTY.

12 years ago* lisp/term.el (term-set-escape-char): Properly set term-escape-char.
Stefan Monnier [Fri, 11 May 2012 13:13:09 +0000 (09:13 -0400)]
* lisp/term.el (term-set-escape-char): Properly set term-escape-char.

12 years ago* net/rlogin.el (rlogin-mode-map): Fix last change.
Stefan Monnier [Fri, 11 May 2012 12:40:43 +0000 (08:40 -0400)]
* net/rlogin.el (rlogin-mode-map): Fix last change.

12 years ago* Makefile.in (install-arch-indep): Use INSTALL_DATA for the DOC file.
Glenn Morris [Fri, 11 May 2012 08:10:52 +0000 (01:10 -0700)]
* Makefile.in (install-arch-indep): Use INSTALL_DATA for the DOC file.

12 years ago* Makefile.in (install-arch-indep): There are no more Makefile.c files.
Glenn Morris [Fri, 11 May 2012 07:51:31 +0000 (00:51 -0700)]
* Makefile.in (install-arch-indep): There are no more Makefile.c files.