1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-24 06:20:43 -08:00
Commit graph

50664 commits

Author SHA1 Message Date
Stefan Monnier
171eda5358 Merge from emacs-23 2010-05-24 20:54:13 -04:00
Stefan Monnier
dd9b52a693 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
Add delete-backward-char.
2010-05-24 17:01:10 -04:00
Chong Yidong
110683addc Rename image-refresh to image-flush.
* image.c (Fimage_flush): Rename from image-refresh.

* image.el (image-refresh): Define as an alias for image-flush.

* image-mode.el (image-toggle-display-image): Caller changed.

* display.texi (Image Cache): Update documentation about image
caching.
2010-05-22 12:48:01 -04:00
Juri Linkov
df9db1517e * progmodes/grep.el (grep-read-files): Fix multi-pattern aliases.
Remove "all" from grep-files-aliases.  Split grep-files-aliases by
whitespace, call wildcard-to-regexp on substrings and concat them
with "\\|".  (Bug#6114)
2010-05-21 23:43:04 +03:00
Alan Mackenzie
c0209c2c68 Fix a bug which happens when doing (c-parse-state) in a CPP construct:
Exclude any "new" CPP construct from taking part in the scanning.
2010-05-21 19:51:48 +00:00
Michael Albinus
655bded0bf * net/tramp.el (tramp-do-copy-or-rename-file)
(tramp-handle-file-local-copy, tramp-maybe-open-connection): Tune
`with-progress-reporter' messages.
(tramp-handle-vc-registered):
* net/tramp-fish.el (tramp-fish-handle-file-local-copy)
(tramp-fish-handle-insert-file-contents)
(tramp-fish-maybe-open-connection):
* net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
* net/tramp-imap.el (tramp-imap-do-copy-or-rename-file)
(tramp-imap-handle-insert-file-contents)
(tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
2010-05-21 16:16:42 +02:00
Juanma Barranquero
bf1e8d4a02 * add-log.el: Highlight all authors in multi-author ChangeLog entries. 2010-05-21 03:46:38 +02:00
Glenn Morris
e75c1e7dc4 Derive Fortran modes from prog-mode.
* progmodes/fortran.el (fortran-mode):
* progmodes/f90.el (f90-mode): Derive from prog-mode.
2010-05-20 18:13:57 -07:00
Juanma Barranquero
3e17a1a7d7 * smerge-mode.el: Fix typos. 2010-05-21 03:05:50 +02:00
Glenn Morris
969e684aa5 Minor loadup.el fix.
* lisp/loadup.el [CANNOT_DUMP]: Update for bootstrap-emacs no longer
having a relative path in src/Makefile.in.
2010-05-20 17:22:58 -07:00
Kevin Ryde
a50878fabd * help-mode.el (help-make-xrefs): For Info node links turn
newlines into spaces.  Link node names with newlines are matched
by help-xref-info-regexp and buttonized, this change ensures they
can be followed successfully with RET.  (Bug#6206)
2010-05-21 02:54:55 +03:00
Kevin Ryde
e1b9db1a25 * gnus-start.el (gnus-level-unsubscribed): Doc fix. (Bug#6206) 2010-05-21 02:43:54 +03:00
Juri Linkov
f66a2f90f6 * locate.el (locate): Use pop-to-buffer instead of
switch-to-buffer-other-window.  (Bug#6204)
2010-05-21 01:55:11 +03:00
Juri Linkov
201d895a4a * replace.el (replace-highlight): Fix lazy-highlighting
for `M-s w str M-% str RET'.
2010-05-21 01:49:53 +03:00
Masatake YAMATO
1ddb2ea0f3 * isearch.el (isearch-yank-word-or-char): Pull next subword
when `subword-mode' is activated.  (Bug#6220)
2010-05-21 01:33:09 +03:00
Mark A. Hershberger
a602033560 * isearch.el (isearch-update-post-hook): New hook.
(isearch-update): Use the new hook.  (Bug#6225)
2010-05-21 01:16:19 +03:00
Juri Linkov
50de6a38df * isearch.el (isearch-mode-map): Bind more keys to isearch-help-map:
[f1], [help], and (char-to-string help-char) instead of "\C-h".
(Bug#6222)
2010-05-21 01:01:57 +03:00
Juri Linkov
5d944a8f7f * isearch.el (isearch-yank-string): Use isearch-process-search-string.
(Bug#6223)
2010-05-21 00:49:49 +03:00
Juri Linkov
2ee13033a8 Remove obsolete comment. 2010-05-21 00:38:59 +03:00
Juri Linkov
f5d6548ac9 * dired-x.el (dired-jump, dired-jump-other-window): Add arg
FILE-NAME to read from the minibuffer when called interactively
with prefix argument instead of using buffer-file-name.
http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00534.html

* dired.el: Update autoloads.
2010-05-21 00:33:58 +03:00
Chong Yidong
f8e6369193 * nxml/nxml-mode.el (nxml-mode-map): Bind C-c / to
nxml-finish-element, for consistency with SGML mode.

* progmodes/octave-mod.el (octave-mode-map): Bind C-c / to
octave-close-block.
2010-05-20 11:12:20 -04:00
Juanma Barranquero
49a817b3b3 * emacs-lisp/cl-loaddefs.el: Update autoload checksum. 2010-05-20 03:32:08 +02:00
Juanma Barranquero
07d7c3bdc9 * composite.el: Require cl when compiling; fix typos in docstrings. 2010-05-20 03:27:49 +02:00
Juri Linkov
7bce851099 * emacs-lisp/cl-macs.el (window-parameter): Add defsetf with
set-window-parameter.
2010-05-19 23:37:57 +03:00
Michael Albinus
a7723e050f * net/tramp.el (tramp-methods): Add `tramp-async-args' attribute
where appropriate.
(tramp-maybe-open-connection): Use it.
2010-05-19 20:56:18 +02:00
Eli Zaretskii
3f2e77354e Fix C-e when bidi reordering is in effect.
simple.el (move-end-of-line): Make sure we are at line beginning
 before backing up to end of previous line.
2010-05-19 20:16:07 +03:00
Stefan Monnier
c3bb441dd0 * url-util.el (url-unhex-string): Don't accidentally decode as latin-1.
* editfns.c (Fbyte_to_string): New function.
* NEWS: Add sections for Emacs-23.3.
2010-05-19 11:23:53 -04:00
Michael Albinus
8c4ec20f01 * password-cache.el (password-cache-remove): Fix docstring. 2010-05-19 14:52:27 +02:00
Michael Albinus
8d9181c799 * net/secrets.el: Autoload the widget functions.
(secrets-search-items, secrets-create-item)
(secrets-get-attributes, secrets-expand-item): Attributes will be
stored on the password database without leading ":", as all other
clients do as well.
(secrets-mode): Fix docstring.
(secrets-show-secrets): Provide it as autoloaded command only when
D-Bus support is available.  Check existence of Secret Service API.
2010-05-19 14:47:37 +02:00
Peter S Galbraith
b59ee24dfb Decode RFC2047 encoded Subject lines for mail replies. 2010-05-19 08:23:40 -04:00
Stefan Monnier
ab0c07c020 * textmodes/fill.el (fill-region): Don't fill past the end.
Fixes: debbugs:6201
2010-05-18 23:51:55 -04:00
Stefan Monnier
2a96c2a765 * indent.el (indent-region): Deactivate region (bug#6200). 2010-05-18 23:06:48 -04:00
Glenn Morris
d24e10b1b2 * vc-dir.el (vc-dir): Don't pop-up-windows. (Bug#6204) 2010-05-18 20:01:24 -07:00
Kenichi Handa
9ba3dd4898 merge trunk 2010-05-19 10:16:01 +09:00
Kenichi Handa
134d1bcded merge trunk 2010-05-19 10:10:29 +09:00
Kenichi Handa
2833d9158d composite.el: Register compose-gstring-for-graphic in composition-function-table only for combining characters (Mn, Mc, Me). 2010-05-19 10:09:50 +09:00
Jay Belanger
134c2f29ce calc-trail.el (calc-trail-isearch-forward)
(calc-trail-isearch-backward): Ensure that the new window
point is set correctly.
2010-05-18 17:49:56 -05:00
Chong Yidong
29031d52fe Stefan Monnier <monnier@iro.umontreal.ca> 2010-05-18 16:51:12 -04:00
Stefan Monnier
278847cd92 * subr.el (read-quoted-char): Resolve modifiers after key remapping.
Fixes: debbugs:6212
2010-05-18 16:31:44 -04:00
Michael Albinus
3a8e7cbdae Add visualization code for secrets.
* net/secrets.el (secrets-mode): New major mode.
(secrets-show-secrets, secrets-show-collections)
(secrets-expand-collection, secrets-expand-item)
(secrets-tree-widget-after-toggle-function)
(secrets-tree-widget-show-password): New defuns.
2010-05-18 21:34:26 +02:00
Stefan Monnier
224b70cbc5 * emacs-lisp/smie.el (smie-next-sexp): Break inf-loop at BOB.
(smie-backward-sexp, smie-forward-sexp): Remove boundary condition now
handled in smie-next-sexp.
(smie-indent-calculate): Provide a starting indentation (so the
recursion is well-founded ;-).
2010-05-18 15:24:24 -04:00
Stefan Monnier
472e7ec1e1 Fix handling of non-associative equal levels.
* emacs-lisp/smie.el (smie-prec2-levels): Choose distinct levels even
when it's not needed.
(smie-op-left, smie-op-right): New functions.
(smie-next-sexp): New function, extracted from smie-backward-sexp.
Better handle equal levels to distinguish the associative case from
the "multi-keyword construct" case.
(smie-backward-sexp, smie-forward-sexp): Use it.
2010-05-18 12:03:51 -04:00
Juanma Barranquero
560bb7ae8e Fix ChangeLog typos. 2010-05-18 10:33:29 +02:00
Juanma Barranquero
5d8fe0ba81 * progmodes/prolog.el (smie-indent-basic): Declare for byte-compiler. 2010-05-18 09:52:10 +02:00
Juanma Barranquero
35e53abd43 * emacs-lisp/smie.el: Fix typos in docstrings. 2010-05-18 09:44:07 +02:00
Stefan Monnier
5ad4bef575 Provide a simple generic indentation engine and use it for Prolog.
* emacs-lisp/smie.el: New file.
* progmodes/prolog.el (prolog-smie-op-levels)
(prolog-smie-indent-rules): New var.
(prolog-mode-variables): Use them to configure SMIE.
(prolog-indent-line, prolog-indent-level): Remove.
2010-05-17 15:27:26 -04:00
Jay Belanger
00681a3c86 calc-vec.el (math-vector-avg): Put the vector elements in order
before computing the averages.
2010-05-16 23:16:29 -05:00
Jay Belanger
597517ef8d calc-vec.el (calc-histogram):
(calcFunc-histogram):  Allow vectors as inputs.
(math-vector-avg): New function.

calc.texi (Manipulating Vectors): Mention that vectors can be used to
determine bins for `calc-histogram'.
2010-05-15 23:43:09 -05:00
Jay Belanger
eba62f7a59 calc-ext.el (math-group-float): Have the number of digits being
grouped depend on the radix (Bug#6189).
2010-05-15 21:18:52 -05:00
Ken Raeburn
8c5ff6dd24 Handle --version reasonably in CANNOT_DUMP configuration.
* src/emacs.c (emacs_version, emacs_copyright): New string
variables.
(Vemacs_version, Vemacs_copyright): New Lisp_Object variables.
(syms_of_emacs): Defvar them, and initialize them from the C
string variables.
(main): If initialization hasn't been done, print initial version
info from the C strings, instead of starting an interactive session.
* lisp/version.el (emacs-copyright, emacs-version): Don't define
here.
* configure.in: Look for version string in its new place.
2010-05-15 17:11:37 -04:00