Fabián Ezequiel Gallina [Thu, 17 May 2012 03:03:03 +0000 (00:03 -0300)]
Enhanced python-shell-send-file function
python-shell-send-file function now can be called interactively and
will do the right thing.
Also the python code that sent the file was improved so the shell
considers the correct path when evaluating the file.
Removed the inferior-python-mode-current-temp-file variable, after
this update inferior-python-mode-current-file is enough.
Fabián Ezequiel Gallina [Thu, 17 May 2012 03:03:02 +0000 (00:03 -0300)]
Added commentary about auto-indentation on newlines for python-mode.el users
Fabián Ezequiel Gallina [Thu, 17 May 2012 03:03:02 +0000 (00:03 -0300)]
Use convert-standard-filename to fix temp files path
Fabián Ezequiel Gallina [Thu, 17 May 2012 03:03:02 +0000 (00:03 -0300)]
Fixed highlighting for dictionary assignments
Fabián Ezequiel Gallina [Thu, 17 May 2012 03:03:01 +0000 (00:03 -0300)]
Fixed pdb-track on Windows
make-temp-file is returning the temp file path with the wrong type of
slashes.
Fabián Ezequiel Gallina [Thu, 17 May 2012 03:03:01 +0000 (00:03 -0300)]
Fixed incorrect syntax highlighting for variable assignations
Fabián Ezequiel Gallina [Thu, 17 May 2012 03:03:01 +0000 (00:03 -0300)]
Fixed indentation guess logic to never accept 0 as a possible value
Fabián Ezequiel Gallina [Thu, 17 May 2012 03:03:00 +0000 (00:03 -0300)]
Implemented python-eldoc-at-point (python-describe-symbol replacement)
Fabián Ezequiel Gallina [Thu, 17 May 2012 03:03:00 +0000 (00:03 -0300)]
Implemented python-check
Fabián Ezequiel Gallina [Thu, 17 May 2012 03:03:00 +0000 (00:03 -0300)]
Small changes to ffap support
Fabián Ezequiel Gallina [Thu, 17 May 2012 03:02:59 +0000 (00:02 -0300)]
Added ffap support
Fabián Ezequiel Gallina [Thu, 17 May 2012 03:02:59 +0000 (00:02 -0300)]
Simplified python-eldoc-function using python-shell-send-and-clear-output
Fabián Ezequiel Gallina [Thu, 17 May 2012 03:02:59 +0000 (00:02 -0300)]
Implemeneted python-shell-clear-latest-output and python-shell-send-and-clear-output
Also Simplified python-shell-completion--get-completions using
python-shell-send-and-clear-output
Fabián Ezequiel Gallina [Thu, 17 May 2012 03:02:58 +0000 (00:02 -0300)]
Eldoc integration is now compatible with python 3
Fabián Ezequiel Gallina [Thu, 17 May 2012 03:02:58 +0000 (00:02 -0300)]
Make shell use completion-at-point for autocompletion.
Fabián Ezequiel Gallina [Thu, 17 May 2012 03:02:57 +0000 (00:02 -0300)]
Fixed called-interactively-p invocation.
Fabián Ezequiel Gallina [Thu, 17 May 2012 03:02:57 +0000 (00:02 -0300)]
Cleaned up TODO
Fabián Ezequiel Gallina [Thu, 17 May 2012 03:02:57 +0000 (00:02 -0300)]
Enhanced shell and code autocompletion.
python-shell-completion-complete-at-point and
python-completion-complete-at-point now share common code.
Also lots of fixes related to the cleanup of shell output has been
made so completion code is really robust now.
Fabián Ezequiel Gallina [Thu, 17 May 2012 03:02:57 +0000 (00:02 -0300)]
Fixes to shell completion at point
Fabián Ezequiel Gallina [Thu, 17 May 2012 03:02:56 +0000 (00:02 -0300)]
Fixed shell region sending
Fabián Ezequiel Gallina [Thu, 17 May 2012 03:02:56 +0000 (00:02 -0300)]
Documentation fixes
Fabián Ezequiel Gallina [Thu, 17 May 2012 03:02:56 +0000 (00:02 -0300)]
Do not indent at the beginning of buffer fix
Fabián Ezequiel Gallina [Thu, 17 May 2012 03:02:55 +0000 (00:02 -0300)]
Do not indent at the beginning of buffer
Fabián Ezequiel Gallina [Thu, 17 May 2012 03:02:55 +0000 (00:02 -0300)]
Fixed infinite while loop in python-info-current-defun
Was caused when a beginning of defun was in the beginning of buffer
because python-beginning-of-innermost-defun never reached the real
start when (bobp)
Fabián Ezequiel Gallina [Thu, 17 May 2012 03:02:54 +0000 (00:02 -0300)]
Modified autocompletion code setup
Now it is compatible with python 2.x and python 3.x
Fabián Ezequiel Gallina [Thu, 17 May 2012 03:02:54 +0000 (00:02 -0300)]
Fixed indentation inside parens when comments are around
Fabián Ezequiel Gallina [Thu, 17 May 2012 03:02:54 +0000 (00:02 -0300)]
python-indent-guess-indent-offset improvements
Fabián Ezequiel Gallina [Thu, 17 May 2012 03:02:53 +0000 (00:02 -0300)]
Fixed backspace behavior for delete-selection-mode.
Fabián Ezequiel Gallina [Thu, 17 May 2012 03:02:53 +0000 (00:02 -0300)]
Enhanced python-indent-guess-indent-offset logic.
Fabián Ezequiel Gallina [Thu, 17 May 2012 03:02:53 +0000 (00:02 -0300)]
python-shell-get-or-create-process preserves current buffer.
Fabián Ezequiel Gallina [Thu, 17 May 2012 03:02:52 +0000 (00:02 -0300)]
Generalized use of python-shell-send-file with cleanup of prompts.
Fabián Ezequiel Gallina [Thu, 17 May 2012 03:02:52 +0000 (00:02 -0300)]
Cleanup prompts when sending region to shell.
Fabián Ezequiel Gallina [Thu, 17 May 2012 03:02:52 +0000 (00:02 -0300)]
First commit.
Fabián Ezequiel Gallina [Thu, 17 May 2012 03:02:42 +0000 (00:02 -0300)]
Added blank python.el to workaround bzr git-apply issues
Fabián Ezequiel Gallina [Thu, 17 May 2012 03:01:30 +0000 (00:01 -0300)]
Deleted lisp/progmodes/python.el as first step of the new python.el merge.
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.
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.
Glenn Morris [Wed, 16 May 2012 10:17:25 +0000 (06:17 -0400)]
Auto-commit of generated files.
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.
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.
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
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
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.
Stefan Monnier [Tue, 15 May 2012 20:20:18 +0000 (16:20 -0400)]
* src/lread.c (init_obarray): Declare Qt and Qnil as special.
Glenn Morris [Tue, 15 May 2012 19:17:24 +0000 (15:17 -0400)]
Tweak line-breaks in previous change
Glenn Morris [Tue, 15 May 2012 19:13:17 +0000 (15:13 -0400)]
* Makefile.in (install-arch-dep): Replace last user of MV_DIRS.
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.
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.
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.
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.
Glenn Morris [Tue, 15 May 2012 17:38:41 +0000 (13:38 -0400)]
NEWS fixes
Glenn Morris [Tue, 15 May 2012 17:32:42 +0000 (13:32 -0400)]
* Makefile.in (install-arch-dep): Do not hard-code version number.
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.
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
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.
Ted Zlatanov [Tue, 15 May 2012 08:53:49 +0000 (04:53 -0400)]
mention bug#8706 in the last url-util.el ChangeLog entry
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.
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 '&'.
Stefan Merten [Mon, 14 May 2012 20:39:14 +0000 (22:39 +0200)]
(rst-re-alist): Fix loading (bug#11462).
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.
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").
Glenn Morris [Mon, 14 May 2012 16:11:24 +0000 (09:11 -0700)]
ChangeLog merge fixes
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.
Paul Eggert [Mon, 14 May 2012 15:22:29 +0000 (08:22 -0700)]
* keyboard.c (kbd_buffer_get_event) [!HAVE_DBUS]: Omit unused local.
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.
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
Stefan Merten [Mon, 14 May 2012 09:31:08 +0000 (11:31 +0200)]
(rst-re-alist): Fix loading (bug#11462).
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.
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)
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
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
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.
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
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.
Stefan Monnier [Sun, 13 May 2012 16:04:37 +0000 (12:04 -0400)]
*** empty log message ***
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.
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
Glenn Morris [Sun, 13 May 2012 10:23:39 +0000 (06:23 -0400)]
Auto-commit of loaddefs files.
Glenn Morris [Sun, 13 May 2012 10:18:50 +0000 (06:18 -0400)]
Auto-commit of generated files.
Chong Yidong [Sun, 13 May 2012 09:16:46 +0000 (17:16 +0800)]
Backport fix for Bug#11382 from trunk
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)
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.
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.
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 "/".
Glenn Morris [Sat, 12 May 2012 18:04:06 +0000 (11:04 -0700)]
* doc/misc/Makefile.in (mostlyclean): Add still 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.
Andreas Schwab [Sat, 12 May 2012 17:23:16 +0000 (19:23 +0200)]
* Makefile.in (gnus.dvi): Use $@ instead of $*.dvi.
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.
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
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
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.
Glenn Morris [Sat, 12 May 2012 10:17:24 +0000 (06:17 -0400)]
Auto-commit of generated files.
Glenn Morris [Sat, 12 May 2012 02:05:05 +0000 (22:05 -0400)]
* doc/misc/Makefile.in (.SUFFIXES): Disable implicit rules.
Fixes previous change.
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.
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.
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.
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.
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.
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/.
Stefan Monnier [Fri, 11 May 2012 17:11:03 +0000 (13:11 -0400)]
* lisp/minibuffer.el (completion--twq-all): Again, allow case differences.