1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00
Commit graph

105428 commits

Author SHA1 Message Date
Stefan Monnier
c41045e6f2 * lisp/emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec. 2012-05-15 14:45:27 -04:00
Stefan Monnier
036dfb8b56 * 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.
2012-05-15 14:07:36 -04:00
Glenn Morris
c184265d03 * Makefile.in (install-arch-dep): Replace use of MV_DIRS with libexec. 2012-05-15 13:55:39 -04:00
Glenn Morris
a3f7efb87d * Makefile.in (install-arch-dep): Replace use of MV_DIRS with info.
This make it easier to see what is going on.
2012-05-15 13:49:59 -04:00
Glenn Morris
f9e7d610b5 NEWS fixes 2012-05-15 13:38:41 -04:00
Glenn Morris
75a9f5f5b6 * Makefile.in (install-arch-dep): Do not hard-code version number. 2012-05-15 13:32:42 -04:00
Glenn Morris
ec3ca9ec47 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.
2012-05-15 13:09:00 -04:00
Stefan Monnier
2473256d7b 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
2012-05-15 12:58:35 -04:00
Stefan Monnier
fdb058c228 * lisp/emacs-lisp/smie.el (smie-indent--bolp-1): New function.
(smie-indent-keyword): Use it.
2012-05-15 09:25:03 -04:00
Ted Zlatanov
4f0f72be56 mention bug#8706 in the last url-util.el ChangeLog entry 2012-05-15 04:53:49 -04:00
Ted Zlatanov
5e561bc76d 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.
2012-05-15 04:52:15 -04:00
Ted Zlatanov
530e968e58 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 '&'.
2012-05-15 04:47:38 -04:00
Stefan Merten
3a427266b6 (rst-re-alist): Fix loading (bug#11462). 2012-05-14 22:39:14 +02:00
Glenn Morris
985584aed1 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.
2012-05-14 09:33:11 -07:00
Glenn Morris
4374de8319 * src/nsterm.m (ns_init_paths): Fix typo ("libexec" not "lib-exec"). 2012-05-14 09:23:11 -07:00
Glenn Morris
2f4cadd1da ChangeLog merge fixes 2012-05-14 09:11:24 -07:00
Julien Danjou
d372248073 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.
2012-05-14 17:42:23 +02:00
Paul Eggert
078c97cbff * keyboard.c (kbd_buffer_get_event) [!HAVE_DBUS]: Omit unused local. 2012-05-14 08:22:29 -07:00
Paul Eggert
dc44c39ad5 * 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.
2012-05-14 08:11:10 -07:00
Chong Yidong
e18afed7d6 Merge from emacs-24; up to 2012-04-22T13:58:00Z!cyd@gnu.org 2012-05-14 19:59:28 +08:00
Stefan Merten
51fa99f1e6 (rst-re-alist): Fix loading (bug#11462). 2012-05-14 11:31:08 +02:00
Lars Magne Ingebrigtsen
ac9f0b75eb 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.
2012-05-14 09:56:04 +02:00
Michael Albinus
9d0a235ab2 * keyboard.c (kbd_buffer_get_event): Read special events also in
batch mode.  (Bug#11415)
2012-05-14 09:05:03 +02:00
Wolfgang Jenkner
2d21d7f676 * 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
2012-05-14 01:19:46 -04:00
Wolfgang Jenkner
7102e6d0a7 * 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
2012-05-14 01:15:59 -04:00
Glenn Morris
16245de59c New defcustoms need :version tags. They don't need "*" in the doc. 2012-05-13 17:27:21 -07:00
Teemu Likonen
56551c4327 Allow specifying the erc timestamp format
* erc-backend.el (erc-server-timestamp-format): New variable to
allow specifying the timestamp format.

Fixes: debbugs:10779
2012-05-13 20:51:14 +02:00
Eli Zaretskii
c8fb9dc689 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.
2012-05-13 21:22:35 +03:00
Stefan Monnier
06bc5e6ea6 *** empty log message *** 2012-05-13 12:04:37 -04:00
Eli Zaretskii
ac268e6786 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.
2012-05-13 18:35:13 +03:00
Chong Yidong
0ae03b6aae 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
2012-05-13 22:23:45 +08:00
Glenn Morris
c3b16428ea Auto-commit of loaddefs files. 2012-05-13 06:23:39 -04:00
Glenn Morris
64eee0dacd Auto-commit of generated files. 2012-05-13 06:18:50 -04:00
Chong Yidong
6cb820bab5 Backport fix for Bug#11382 from trunk 2012-05-13 17:16:46 +08:00
Michael Albinus
205a7391f7 * net/dbus.el (dbus-call-method): Restore events not from D-Bus. (Bug#11447) 2012-05-13 11:05:04 +02:00
Stefan Monnier
e5bd0a2895 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.
2012-05-12 23:05:06 -04:00
Andreas Schwab
9879e263b1 * cc-mode.texi: Avoid space before macro in 4th argument of cross
reference commands.
2012-05-12 21:00:30 +02:00
Glenn Morris
9e6b06ed73 Remove trailing / from $ns_appbindir
* configure.in (ns_appbindir): Remove trailing "/".
* src/ns.mk: Update for ns_appbindir no longer having trailing "/".
2012-05-12 11:10:37 -07:00
Glenn Morris
beb57c77e4 * doc/misc/Makefile.in (mostlyclean): Add still more TeX intermediates. 2012-05-12 11:04:06 -07:00
Glenn Morris
9598ef0bda * .bzrignore, doc/misc/Makefile.in (mostlyclean): Add more TeX intermediates. 2012-05-12 11:03:18 -07:00
Andreas Schwab
78e91d0834 * Makefile.in (gnus.dvi): Use $@ instead of $*.dvi. 2012-05-12 19:23:16 +02:00
Glenn Morris
7d326a2900 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.
2012-05-12 09:44:01 -07:00
Chong Yidong
0d90978655 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
2012-05-12 23:04:11 +08:00
Chong Yidong
ac59c2f6d1 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix.
Fixes: debbugs:11454
2012-05-12 22:28:04 +08:00
Eli Zaretskii
c1a1d7a36a Update src/lisp.mk as required by 2012-05-07T20:48:41Z!monnier@iro.umontreal.ca.
src/lisp.mk (lisp): Add newcomment.elc.
2012-05-12 16:05:12 +03:00
Glenn Morris
70d9b051a4 Auto-commit of generated files. 2012-05-12 06:17:24 -04:00
Glenn Morris
9583393ff6 * doc/misc/Makefile.in (.SUFFIXES): Disable implicit rules.
Fixes previous change.
2012-05-11 22:05:05 -04:00
Glenn Morris
c7f95930c7 * doc/misc/Makefile.in (info.info): Rename from info, to avoid duplication. 2012-05-11 21:32:19 -04:00
Glenn Morris
005ad20498 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.
2012-05-11 21:19:47 -04:00
Glenn Morris
3fe7cdc86d 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.
2012-05-11 20:57:48 -04:00