1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-03-04 04:52:10 -08:00
Commit graph

55629 commits

Author SHA1 Message Date
Stefan Monnier
e75e89ba41 * lisp/emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
the region on shift if the binding is already shifted.

Fixes: debbugs:11221
2012-04-13 09:32:37 -04:00
Glenn Morris
82f289a4ef Obsolete lisp/mail/mailpost.el 2012-04-12 19:47:13 -04:00
Drew Adams
d333dc4c96 * imenu.el (imenu--generic-function): Ignore invisible definitions.
Fixes: debbugs:10123
2012-04-12 22:00:24 +02:00
Glenn Morris
da748f050e New defcustoms should get :version tags 2012-04-12 09:33:13 -07:00
Vivek Dasmohapatra
0d15b5ba4d Allow the user to alter the bit grouping in hexl.el
* hexl.el (hexl-bits): New variable.
(hexl-options): Mention the variable in the doc string.
(hexl-rulerise): New function.
(hexl-line-displen): New function
(hexl-mode): Mention the new variable.
(hexl-mode, hexl-current-address, hexl-current-address): Use the
displen.
(hexl-ascii-start-column): New function.
(hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
(hexl-insert-char, hexl-mode-ruler): Use the displen.

Fixes: debbugs:4941
2012-04-12 17:58:53 +02:00
Agustín Martín
64a440db71 textmodes/flyspell.el (flyspell-large-region): Specify encoding for hunspell with ("-i" ENCODING).
As done for ispell in in 2012-04-08T17:09:03Z!eliz@gnu.org, in flyspell-large-region we also need
to specify encoding for hunspell with ("-i" ENCODING), in 2 separate
command-line arguments, as expected by hunspell.
2012-04-12 16:19:40 +02:00
Stefan Monnier
6decb6c229 Make generic sysfs support apply for yeeloong as well.
* lisp/battery.el (battery--linux-sysfs-regexp): New const.
(battery-status-function): Use it.  Remove yeeloong special case.
(battery-yeeloong-sysfs): Remove.
(battery-echo-area-format): Remove yeeloong special case.
2012-04-11 22:04:29 -04:00
Stefan Monnier
6622e4169b * lisp/imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
Reported by Noah Friedman.
2012-04-11 17:37:13 -04:00
Stefan Monnier
088be6fbd2 * lisp/subr.el (read-passwd): Use read-string. 2012-04-11 14:13:20 -04:00
Glenn Morris
c4fc691b6e Changelog fix 2012-04-11 09:09:39 -07:00
Lars Magne Ingebrigtsen
b49f886ef4 * vcursor.el (vcursor-move): Increase the priority of the overlay.
Fixes: debbugs:9663
2012-04-11 16:26:55 +02:00
Deniz Dogan
a63067fcfe Kill channel buffers when killing rcirc server buffers
* net/rcirc.el (rcirc-kill-channel-buffers): New variable.
(rcirc-kill-buffer-hook): Use it to kill channel buffers.

Fixes: debbugs:5128
2012-04-11 16:22:36 +02:00
Vivek Dasmohapatra
68d32a5128 (erc-nickserv-passwords): Don't display the password.
Fixes: debbugs:4459
2012-04-11 15:43:03 +02:00
William Stevenson
ac3cf14a97 (artist-mode): Convert artist-mode to use define-minor-mode.
Fixes: debbugs:10760
2012-04-11 13:57:21 +02:00
Wolfgang Jenkner
49a2697c1e rgrep ignored file tweak
* lisp/progmodes/grep.el (rgrep): Tweak the find command line so
that directories matching `grep-find-ignored-files' won't be
pruned.

Fixes: debbugs:10351
2012-04-11 13:39:35 +02:00
Chong Yidong
af23e2e5ec * startup.el (command-line): Remove support for font-lock-face-attributes. 2012-04-11 13:43:47 +08:00
Glenn Morris
ab7ce8c155 Add another vc-bzr test
* lisp/vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.

* test/automated/vc-bzr.el (vc-bzr-test-faulty-bzr-autoloads): New test.
2012-04-10 20:24:26 -07:00
Stefan Monnier
de8c03dc51 * src/window.c (save_window_save): Obey window-point-insertion-type.
* lisp/window.el (window--state-get-1): Idem.
2012-04-10 22:36:04 -04:00
Lennart Borgman
050cc68b40 `narrow-to-defun' fixup
* emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
to previous function when point is on the first character of a
function. Take care of that in `narrow-to-defun'.

Fixes: debbugs:6157
2012-04-11 04:12:20 +02:00
Glenn Morris
effed0c27e * lisp/vc/vc-bzr.el (vc-bzr-status): Handle all errors, not just file-errors.
Ref: http://lists.gnu.org/archive/html/help-gnu-emacs/2012-04/msg00145.html
2012-04-10 22:06:59 -04:00
Glenn Morris
a38c310cdd Use internal sha1 in vc-bzr
* lisp/vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
These were only added in 24.1 when sha1.el was removed in favor of an
internal sha1 implementation.  Frankly, I can't see why the internal
sha1 wasn't immediately used here.
(vc-bzr-sha1): Use internal sha1.
(Comments): Remove reference to abandoned upstream bug report that
contains no extra information.
2012-04-10 21:16:48 -04:00
Stefan Monnier
0221e32392 * lisp/progmodes/flymake.el (flymake-mode): Beware read-only dirs.
Fixes: debbugs:8954
2012-04-10 20:21:00 -04:00
Sébastien Gross
43956923c0 (hs-hide-all): Don't infloop on comments that start in the middle of the line.
Fixes: debbugs:10496
2012-04-11 01:34:25 +02:00
Dan Nicolaescu
6a8c9eafb9 battery.el not working when multiple batteries are present
* battery.el (battery-linux-proc-acpi): Only one battery is
discharged at a time, but that seems to confuse battery.el when
computing `rate-type' for the battery not being discharged.

Fixes: debbugs:10332
2012-04-11 01:24:31 +02:00
Stefan Monnier
2a718f6fbc * lisp/emacs-lisp/autoload.el (autoload-make-program): Remove, unused. 2012-04-10 16:15:08 -04:00
Stefan Monnier
599430d001 * lisp/international/quail.el: Use dolist and simplify.
(quail-define-package, quail-update-keyboard-layout)
(quail-define-rules): Use dolist.
(quail-insert-kbd-layout, quail-get-translation): CSE.
2012-04-10 16:14:33 -04:00
Stefan Monnier
a2754b6c31 * lisp/tmm.el: Use dolist, remove left over hook.
(tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind): Use dolist.
(calendar-load-hook): Don't mess with it.
2012-04-10 16:12:07 -04:00
Stefan Monnier
1930bf5dc3 * lisp/vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
Use derived-mode-p.  Run the diff asynchronously.
2012-04-10 16:08:43 -04:00
Lars Magne Ingebrigtsen
9f67961ce6 * obsolete/mouse-sel.el: Add an Obsolete-since header. 2012-04-10 19:09:34 +02:00
Lars Magne Ingebrigtsen
8c906ebab6 Moved mouse-sel.el to the lisp/obsolete directory 2012-04-10 19:08:36 +02:00
Lars Magne Ingebrigtsen
d3f7611b03 Tiny url-util.el code clean-up. 2012-04-10 19:03:34 +02:00
Lars Magne Ingebrigtsen
8d8d31f91e Revert previous url-util patch.
The caller can as easily do the decoding themselves.
2012-04-10 19:02:04 +02:00
Juanma Barranquero
2a8ce227d0 Record and display absolute path of DLLs loaded (bug#10424).
* lisp/misc.el (list-dynamic-libraries--loaded): New function.
  (list-dynamic-libraries--refresh): Use it.

* src/w32.c (w32_delayed_load): Record the full path of the library
  being loaded.
2012-04-10 16:16:05 +02:00
Nathan Weizenbaum
8f33b5f873 `python-fill-paragraph' filling fixup when font-lock is disabled
* progmodes/python.el (python-fill-paragraph): Make
python-fill-region in a multiline string work when font-lock is
disabled.

Fixes: debbugs:7018
2012-04-10 13:27:44 +02:00
William Xu
a967e26b40 (url-retrieve-internal): Hexify multibye URL string first when necessary.
Also mention this in the relevant doc strings.

Fixes: debbugs:7017
2012-04-10 13:22:08 +02:00
Laimonas V bra
b12f0439bf Added new charset cp775
* language/european.el (cp775): Added oem/legacy (en)coding on
DOS/MS Windows for the Baltic languages. There are still plenty of
texts written in this encoding/codepage.

Fixes: debbugs:6519
2012-04-10 13:15:11 +02:00
Eli Zaretskii
8faa68b767 Fix changes in 2012-04-09T18:12:40Z!schwab@linux-m68k.org. 2012-04-10 13:54:17 +03:00
Glenn Morris
57c3bd0133 Remove some more "rogue" defcustoms that show up in emacs -Q
* lisp/cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
2012-04-10 00:19:38 -07:00
Glenn Morris
78658677a2 Comment trivia. 2012-04-10 00:15:09 -07:00
Lars Magne Ingebrigtsen
b245988452 Make erc use auth-source to look up channel keys
* lisp/erc/erc-join.el (erc-server-join-channel): New function to look up
the channel password via auth-source.
(erc-autojoin-channels): Use it.
(erc-autojoin-after-ident): Ditto.
(erc-autojoin-channels-alist): Mention auth-source.
2012-04-10 06:43:35 +02:00
Deniz Dogan
ec3e5f739a Add field' to erc-display-prompt'
* erc.el (erc-display-prompt): Adds the field text property to the
ERC prompt.  This allows users to use `kill-whole-line' to kill
all text back to the prompt given that it's on a single line.

Fixes: debbugs:10841
2012-04-10 04:51:39 +02:00
Florian Adamsky
6c3eab3008 Two new recentf.el keybindings
* recentf.el (recentf-dialog-mode-map): Added two keybindings for
next-line "n" and previous-line "p" in order to make recentf more
consistent with ibuffer, dired or org-mode.

Fixes: debbugs:9387
2012-04-10 04:45:10 +02:00
Lars Magne Ingebrigtsen
bc72b5d984 Make `put-image' return the overlay created
* image.el (put-image): Return the overlay created instead of the
optional input string.  Note that this may break code
that is (for some reason or other) depending on `put-image'
returning the string.

Fixes: debbugs:7834
2012-04-10 04:34:57 +02:00
Lars Magne Ingebrigtsen
bd2dba5afe * mouse-sel.el (mouse-sel-mode): Mark as obsolete.
Fixes: debbugs:6174
2012-04-10 04:31:09 +02:00
Lars Magne Ingebrigtsen
74beb59f81 * simple.el (zap-to-char): Allow zapping using input methods.
Fixes: debbugs:1580
2012-04-10 04:23:21 +02:00
Lars Magne Ingebrigtsen
4bbc3323df (url-unhex-string): Add an optional CODING-SYSTEM parameter.
Fixes: debbugs:6252
2012-04-10 04:14:13 +02:00
Lars Magne Ingebrigtsen
24d78a88ad (fill-region): Leave point and mark where they were before filling
Fixes: debbugs:5399
2012-04-10 04:06:19 +02:00
Lars Magne Ingebrigtsen
9ea49b28ab Add a policy list of domains that url.el can set cookies for
* etc/publicsuffix.txt: New file.

* lisp/url/url-cookie.el (url-cookie-two-dot-domains): Remove.
(url-cookie-host-can-set-p): Use `url-domsuf-cookie-allowed-p'
instead of the variable above.

Fixes: debbugs:1401
2012-04-10 03:57:45 +02:00
Glenn Morris
263f20cd0a emacs-bzr-get-version tweak
* lisp/version.el (emacs-bzr-get-version):
Handle lightweight checkouts of local branches.
2012-04-09 19:03:33 -04:00
Andreas Schwab
58d1f79757 Fixes: debbugs:11209
* international/characters.el: Recover lost case pairs.
2012-04-09 20:12:40 +02:00