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

51067 commits

Author SHA1 Message Date
Katsumi Yamaoka
a3e01263b1 Use insert-image instead of put-image when putting images into a buffer; This makes all the Gnus image-inserting functions work, I think; by Lars Magne Ingebrigtsen <larsi@gnus.org>. 2010-08-30 23:35:19 +00:00
Katsumi Yamaoka
929989ffac Make html image insertion probably work for XEmacs, too by Lars Magne Ingebrigtsen <larsi@gnus.org>. 2010-08-30 23:29:56 +00:00
Katsumi Yamaoka
f5ec697d93 gnus-group-completing-read: Add 'substring to completion-styles for group selection; imap.el, mailcap.el, message.el, mm-util.el, nnheader.el, nnmail.el, pop3.el: Remove references to outdated systems; References to win32 w32 mswindows ms-windows emx were probably cargo-culted, and are removed for clarity; By Lars Magne Ingebrigtsen <larsi@gnus.org>. 2010-08-30 23:24:56 +00:00
Stefan Monnier
e17b68ed83 Use SMIE for octave-mode.
* test/indent/octave.m: New file.
* lisp/progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
(octave-mode-map): Remove special bindings for forward/backward-block
and octave-backward-up-block.  Use smie-close-block.
(octave-continuation-marker-regexp): New var.
(octave-continuation-regexp): Use it.
(octave-operator-table, octave-smie-op-levels)
(octave-operator-regexp, octave-smie-indent-rules): New vars.
(octave-smie-backward-token, octave-smie-forward-token): New funs.
(octave-mode): Use SMIE.
(octave-close-block): Delete.
2010-08-30 22:34:52 +02:00
Eli Zaretskii
42b6a73bc7 Fix bug #6944.
menu-bar.el (menu-bar-edit-menu) <"Paste">: Check selection in
 CLIPBOARD, not in PRIMARY.
2010-08-30 21:11:34 +03:00
Stefan Monnier
ee992a8ced * lisp/emacs-lisp/smie.el (smie-indent-offset-rule): Let :parent take
a list of parents.
(smie-indent-column): Allow indirection through variables.
2010-08-30 17:21:14 +02:00
Stefan Monnier
d36b74ca27 Use with-silent-modifications.
* lisp/composite.el (save-buffer-state): Delete, unused.
* lisp/font-lock.el (save-buffer-state): Use with-silent-modifications.
(font-lock-default-fontify-region): Use with-syntax-table.
* lisp/jit-lock.el (with-buffer-unmodified): Remove.
(with-buffer-prepared-for-jit-lock): Use with-silent-modifications.
2010-08-30 15:57:42 +02:00
Stefan Monnier
f291fe60fb Use `declare' in defmacros.
* lisp/window.el (save-selected-window):
* lisp/subr.el (with-temp-file, with-temp-message, with-syntax-table):
* lisp/progmodes/python.el (def-python-skeleton):
* lisp/net/dbus.el (dbus-ignore-errors):
* lisp/jka-cmpr-hook.el (with-auto-compression-mode):
* lisp/international/mule.el (with-category-table):
* lisp/emacs-lisp/timer.el (with-timeout):
* lisp/emacs-lisp/lisp-mnt.el (lm-with-file):
* lisp/emacs-lisp/eieio.el (with-slots):
* lisp/emacs-lisp/easymenu.el (easy-menu-define):
* lisp/emacs-lisp/debug.el (debugger-env-macro):
* lisp/emacs-lisp/cl-compat.el (Multiple-value-bind, Multiple-value-setq)
(Multiple-value-call, Multiple-value-prog1):
* lisp/emacs-lisp/cl-seq.el (cl-parsing-keywords, cl-check-key)
(cl-check-test-nokey, cl-check-test, cl-check-match): Move indent and
edebug rule to definition.
* lisp/emacs-lisp/lisp-mode.el (save-selected-window)
(with-current-buffer, combine-after-change-calls)
(with-output-to-string, with-temp-file, with-temp-buffer)
(with-temp-message, with-syntax-table, read-if, eval-after-load)
(dolist, dotimes, when, unless):
* lisp/emacs-lisp/byte-run.el (inline): Remove indent rule, redundant.
2010-08-30 15:03:05 +02:00
Katsumi Yamaoka
5ec440915c gnus-score-string: Fix regex for matching extra headers and regexp-quote the match if necessary by Andreas Schwab <schwab@suse.de>.
2009-02-04  Andreas Schwab  <schwab@suse.de>
 * gnus-score.el (gnus-score-string): Fix regex for matching extra
 headers and regexp-quote the match if necessary.
2010-08-30 06:32:33 +00:00
Katsumi Yamaoka
07466c8e7b smiley-regexp-alist: Don't delete the semicolon before the blinking smiley by Miles Bader <miles@gnu.org>; Disallow ;;) from being treated as a blink smiley by Simon Josefsson <simon@josefsson.org>.
2009-03-24  Miles Bader  <miles@gnu.org>
 * smiley.el (smiley-regexp-alist): Don't delete the semicolon before
 the blinking smiley.
2009-03-24  Simon Josefsson  <simon@josefsson.org>
 * smiley.el (smiley-regexp-alist): Disallow ;;) from being treated as a
 blink smiley.
2010-08-30 06:28:53 +00:00
Katsumi Yamaoka
8bff7c00b7 Misc Gnus fixes by Lars Magne Ingebrigtsen <larsi@gnus.org>.
2010-08-29  Lars Magne Ingebrigtsen  <larsi@gnus.org>
 * gnus-start.el (gnus-dribble-read-file): Ensure that the directory
 where the dribbel file lives exists.

 * message.el (message-send-mail-partially-limit): Change the default to
 nil, since most people don't want this.

 * mm-url.el (mm-url-decode-entities): Also decode entities like
 &#x3212.
2010-08-30 06:25:05 +00:00
Katsumi Yamaoka
0b10e43782 gnus-summary-idna-message, nnrss-normalize-date, nnrss-discover-feed: Hyperlink urls in docstrings with URL `...' by Kevin Ryde <user42@zip.com.au>.
2009-07-16  Kevin Ryde  <user42@zip.com.au>  (tiny change)
 * gnus-sum.el (gnus-summary-idna-message):
 * nnrss.el (nnrss-normalize-date, nnrss-discover-feed):
 Hyperlink urls in docstrings with URL `...'.
2010-08-30 06:21:33 +00:00
Katsumi Yamaoka
b1992461d7 Misc Gnus fixes by Lars Magne Ingebrigtsen <larsi@gnus.org>.
2010-08-29  Adam Sjøgren  <asjo@koldfront.dk>
 * gnus-html.el (gnus-html-put-image): Use XEmacs-compatible image
 functions.

2010-08-29  Lars Magne Ingebrigtsen  <larsi@gnus.org>
 * gnus-art.el (gnus-article-add-button): Take an optional parameter to
 say what the mouseover text should be.

 * gnus-html.el (gnus-html-prefetch-images): Use the summary-local
 version of the mm-w3m-safe-url-regexp variable to only download images
 in the groups where we want that to happen.

 * gnus-sum.el (gnus-summary-stop-at-end-of-message): New variable.

 * gnus-art.el (gnus-article-beginning-of-window): Make into defun for
 easier debugging.
 (gnus-article-beginning-of-window): Add kludge to allow spacing past
 big pictures in the article buffer.

 * mm-decode.el (mm-text-html-renderer): Default the html renderer to
 gnus-article-html.
 (mm-text-html-renderer): gnus-article-html needs curl in addition to
 w3m.
2010-08-30 06:17:45 +00:00
Katsumi Yamaoka
655efd7175 Add a new super-simple HTML renderer based on w3m -halfdump by Lars Magne Ingebrigtsen <larsi@gnus.org>.
* gnus-html.el: Start a new super-simple HTML renderer based on w3m.
2010-08-30 06:13:50 +00:00
Katsumi Yamaoka
6b8382e49d Misc Gnus fixes by Lars Magne Ingebrigtsen <larsi@gnus.org>.
2010-08-28  Lars Magne Ingebrigtsen  <larsi@gnus.org>
 * gnus.el (gnus-valid-select-methods): Remove reference to nngoogle,
 which doesn't exist.

 * message.el (message-inhibit-ecomplete): New variable to allow some
 function to inhibit ecomplete address storage.
 (message-resend): Disable ecomplete message storage when resending
 messages.

 * nntp.el (nntp-async-kluge): Remove the Emacs 20.3-related kluge.
2010-08-30 06:10:18 +00:00
Chong Yidong
96ae4c8fa7 Merge Finder and package-menu functionality.
* lisp/finder.el: Require `package'.
(finder-known-keywords): Tweak descriptions.  Retire `oop' keyword.
(finder-package-info): Var deleted.
(finder-keywords-hash, finder--builtins-alist): New vars.
(finder-compile-keywords): Compute package--builtins and
finder-keywords-hash instead of finder-keywords-hash, respecting
the "Package" header.
(finder-unknown-keywords, finder-list-matches): Use
finder-keywords-hash and package--list-packages.
(finder-mode): Don't set font-lock-defaults.
(finder-exit): We don't use "*Finder-package*" and "*Finder
Category*" buffers anymore.

* lisp/info.el (Info-finder-find-node): Search package-alist instead of
finder-package-info.

* lisp/emacs-lisp/package.el (package--builtins-base): Var deleted.
(package--builtins): Set default value to nil.
(package-initialize): Load precomputed value of package--builtins
from finder-inf.el.
(package-alist, package-compute-transaction)
(package-download-transaction): Improve docstring.
(package-read-all-archive-contents): Do not change
package--builtins here.
(list-packages): Make package-list-packages an alias for this.
Sort by status by default.
(package--list-packages): Add optional PACKAGES arg.
(describe-package-1): Use font-lock-face property.  For built-in
packages, insert file commentary.
(package--generate-package-list): Rename from
package-list-packages-internal; all callers changed.  Add optional
PACKAGES arg.  Add alphabetical sort fallbacks.
(package-menu--version-predicate, package-menu--status-predicate)
(package-menu--description-predicate)
(package-menu--name-predicate): New functions.
2010-08-29 18:15:09 -04:00
Chong Yidong
aad4679e7d Add "Version:" and "Package:" Lisp file headers. 2010-08-29 16:10:43 -04:00
Chong Yidong
bd78fa1d54 Add "Package:" file headers to denote built-in packages. 2010-08-29 12:17:13 -04:00
Chong Yidong
e2046ecf21 Let version-to-list handle versions like "10.3d".
* lisp/subr.el (version-regexp-alist): Don't use "a" and "b" for
"alpha" and "beta".
(version-to-list): Handle versions like "10.3d".
2010-08-28 21:31:45 -04:00
Stefan Monnier
6fe79b7c7c * lisp/emacs-lisp/macroexp.el (macroexpand-all-1): Use pcase.
(macroexp-accumulate): Use `declare'.
2010-08-28 20:52:36 +02:00
Vinicius Jose Latorre
1a868076f5 Adjust type declaration. 2010-08-27 00:24:17 -03:00
Katsumi Yamaoka
dc6de55363 gnus-summary-(move,delete)-article: Save excursion while copying, moving,
and deleting articles in order to prevent the cursor from jumping to
 unforeseen place.
2010-08-27 01:53:01 +00:00
Nathan Weizenbaum
4142607e2f * progmodes/js.el: Make indentation more customizable (Bug#6914).
(js-paren-indent-offset, js-square-indent-offset)
(js-curly-indent-offset): New options.
(js--proper-indentation): Use them.
2010-08-26 16:09:31 -04:00
Daniel Colascione
88a36e604a Avoid using font-lock properties to indent in sh-get-indent-info.
* progmodes/sh-script.el (sh-get-indent-info): Use syntax-ppss
instead of inspecting font-lock properties (Bug#6916).
2010-08-26 11:26:33 -04:00
David Reitter
38dbc4d81a server.el (server-visit-files): Run pre-command-hook and
post-command-hook for each buffer while it is current
(Bug#6910).
(server-execute): Do not run hooks here.
2010-08-26 09:46:19 -04:00
Michael Albinus
44ffae9672 Sync with Tramp 2.1.19.
* net/trampver.el: Update release number.
2010-08-26 09:33:16 +02:00
Chong Yidong
cb6c4991ef Improvements to describe-package buffer.
* lisp/help.el (help-map): Bind `C-h P' to describe-package.

* lisp/menu-bar.el (menu-bar-describe-menu): Add describe-package.

* lisp/emacs-lisp/package.el (package-refresh-contents): Catch errors
when downloading archives.
(describe-package-1): Add package commentary.
(package-install-button-action): New function.
(package-menu-mode-map): Bind ? to package-menu-describe-package.
(package-menu-view-commentary): Function removed.
(package-list-packages-internal): Hide the `package' package too.
2010-08-25 23:31:34 -04:00
Kenichi Handa
2c94aa8db6 merge trunk 2010-08-25 17:15:45 +09:00
Jan D
a0c16be48f * menu-bar.el (menu-bar-set-tool-bar-position): Set frame parameter on all frames. 2010-08-25 08:53:55 +02:00
Kenichi Handa
4e603db342 merge trunk 2010-08-25 14:15:20 +09:00
Kenichi Handa
b60f961f6c Add Arabic support. 2010-08-25 14:13:27 +09:00
Vinicius Jose Latorre
85cc3d4fd8 Fix some bugs. New version 13.1. 2010-08-24 23:27:58 -03:00
Chong Yidong
cb8759ca5a * emacs-lisp/package.el (list-packages): Alias for package-list-packages. 2010-08-24 17:36:33 -04:00
Kevin Ryde
be7748e70a * textmodes/flyspell.el (flyspell-check-tex-math-command): Doc fix
(Bug#5651).
2010-08-24 16:58:07 -04:00
Kevin Ryde
44a41a47d1 * progmodes/ruby-mode.el (ruby): Add defgroup. 2010-08-24 16:29:44 -04:00
Chong Yidong
edfd00fa82 * lisp/progmodes/python.el: Add Ipython support (Bug#5390).
Based on a patch by Fabian Ezequiel Gallina.

(python-shell-prompt-alist)
(python-shell-continuation-prompt-alist): New options.
(python--set-prompt-regexp): New function.
(inferior-python-mode, run-python, python-shell): Require
ansi-color.  Use python--set-prompt-regexp to set the comint
prompt based on the Python interpreter.
(python--prompt-regexp): New var.
(python-check-comint-prompt)
(python-comint-output-filter-function): Use it.
(run-python): Use a pipe (Bug#5694).
(python-send-region): Send a different Python command if Ipython is in use.
(python-check-version): Use a Python command to find the version.
2010-08-24 16:20:21 -04:00
Chong Yidong
1c409d0b96 Avoid clobbering primary selection when switching frames (Bug#6872).
* lisp/mouse.el (mouse-yank-primary): Avoid setting primary when
deactivating the mark (Bug#6872).

* src/keyboard.c (command_loop_1): Don't set primary selection during
handle-switch-frame (Bug#6872).
2010-08-24 11:48:14 -04:00
Michael Albinus
e73f184c42 * net/dbus.el: Accept UNIX domain sockets as bus address.
(top): Don't initialize `dbus-registered-objects-table' anymore,
this is done in dbusbind,c.
(dbus-check-event): Adapt test for bus.
(dbus-return-values-table, dbus-unregister-service)
(dbus-event-bus-name, dbus-introspect, dbus-register-property):
Adapt doc string.
2010-08-23 15:08:54 +02:00
Juanma Barranquero
1a14074711 * ido.el (ido-use-virtual-buffers): Fix typo in docstring. 2010-08-23 12:21:01 +02:00
Juri Linkov
7133b7ee62 Move reading an extended command to Elisp (bug#5364, bug#5214).
* lisp/simple.el (read-extended-command): New function with the logic
for `completing-read' moved to Elisp from `execute-extended-command'.
Use `function-called-at-point' in `minibuffer-default-add-function'
to get a command name for M-n (bug#5364, bug#5214).

* src/keyboard.c (Fexecute_extended_command): Move reading a command name
with `completing-read' to a new Elisp function `read-extended-command'.
Call it to read a command to `function'  (bug#5364, bug#5214).
2010-08-23 00:27:59 +01:00
Chong Yidong
198a7a97ff Make obsolete --unibyte argument do nothing (Bug#6886).
* src/emacs.c (main): Remove --unibyte handling (Bug#6886).

* lisp/startup.el (command-line-1): Issue warning for ignored arguments
--unibyte, etc (Bug#6886).

* doc/lispref/nonascii.texi (Text Representations):
* doc/lispref/loading.texi (Loading Non-ASCII):
* doc/lispref/compile.texi (Byte Compilation): Don't mention obsolete
--unibyte command-line argument.
2010-08-22 17:15:20 -04:00
Chong Yidong
b0126eac41 Merge changes from emacs-23 branch. 2010-08-22 16:02:16 -04:00
Chong Yidong
bc7d7ea63b Doc fix for define-minor-mode (Bug#6880).
* doc/lispref/modes.texi (Defining Minor Modes): Doc fix (Bug#6880).

* emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix (Bug#6880).
2010-08-22 15:30:26 -04:00
Chong Yidong
41a20de9f4 merge whitespace.el change from trunk 2010-08-22 00:12:25 -04:00
Vinicius Jose Latorre
91bdeb6639 Insert bug number. 2010-08-21 16:26:43 -03:00
Chong Yidong
d64b8a68f9 * cus-edit.el (custom-group-value-create): Add extra newline before end line (Bug#6876). 2010-08-21 10:46:43 -04:00
Stefan Monnier
537ffaf3c9 * lisp/vc/add-log.el (add-log-file-name): Don't get confused by symlinks. 2010-08-21 16:09:46 +02:00
Leo Liu
e014333552 Fix buffer-list rename&refresh after after killing a buffer in ido.
* lisp/ido.el: Revert Óscar's.
(ido-kill-buffer-at-head): Exit the minibuffer with ido-exit=refresh.
Remember the buffers at head, rather than their name.
* lisp/iswitchb.el (iswitchb-kill-buffer): Re-make the list.
2010-08-21 15:35:27 +02:00
Stefan Monnier
8f081e96de * progmodes/make-mode.el (makefile-fill-paragraph): Account for the
extra backslash added to each line.

Fixes: debbugs:6890
2010-08-21 11:19:38 +02:00
Stefan Monnier
3ff7862473 * subr.el (read-key): Don't echo keystrokes.
Fixes: debbugs:6883
2010-08-21 10:56:54 +02:00