1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-14 15:30:29 -08:00
Commit graph

25457 commits

Author SHA1 Message Date
Daiki Ueno
02bf443d2e * epa-file.el: Respect buffer-file-format when writing
* epa-file.el (epa-file-write-region): Encode the region according
to `buffer-file-format'.  Problem reported at:
<http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
2014-01-14 17:41:09 +09:00
Glenn Morris
689c9ca51e ChangeLog fixes 2014-01-14 00:13:13 -08:00
Stefan Monnier
fd7fde1590 * lisp/emacs-lisp/edebug.el (edebug--display): Move protective let-binding
so it applies in the right buffer.

Fixes: debbugs:16410
2014-01-13 21:51:52 -05:00
Daniel Colascione
c176054fe1 Fix rst-mode deprecated keybindings 2014-01-13 15:50:20 -08:00
Bastien Guerry
e3f33e5dbb `define-alternatives' bugfix and UI enhancement
* simple.el (define-alternatives): Call the selected command
interactively.  When setting `COMMAND--implementation' for the
first time, tell the user how to chose another implementation.
Enhance the docstring.
2014-01-13 23:13:44 +01:00
Stefan Monnier
c055d65460 * lisp/vc/log-edit.el: Fix highlighting of summary when it's the first line.
(log-edit--match-first-line): New function.
(log-edit-font-lock-keywords): Use it.
(log-edit-mode): Make jit-lock-defer-multiline work.
2014-01-13 10:33:01 -05:00
Bastien Guerry
d791cc3bc2 Partially fix Bug#16403.
* rect.el (rectangle-mark-mode): When the region is not active,
display a message saying that the mark as been set and that
rectangle mode is in use.
(rectangle--highlight-for-redisplay): Only put an overlay with a
visible vertical bar when (display-graphic-p) is non-nil.
This partially fixes Bug#16403.
2014-01-13 11:55:22 +01:00
Juri Linkov
3c0c4562d1 * lisp/info.el (Info-find-file): Go to DIR before displaying the error
about a nonexistent file if no previous Info file is visited.
Use `user-error' instead of `error' for "Info file %s does not exist".
(Info-find-node-2): In case of a nonexistent node in unwind forms
go to the Top node if there is no previous node to revert to.

Fixes: debbugs:16405
2014-01-13 10:04:09 +02:00
Martin Rudalics
25a700d0fd fit-frame/window-to-buffer code fixes including one for Bug#14096.
* window.el (fit-frame-to-buffer): Fix doc-string.  Respect
window-min-height/-width.  Fit pixelwise when
frame-resize-pixelwise is non-nil.  Adjust right/bottom edge
when avoiding that frame goes partially off-screen.
(fit-window-to-buffer): Respect window-min-height/-width
(Bug#14096).
2014-01-13 08:47:15 +01:00
Stefan Monnier
6ae948d87e * lisp/indent.el (indent-according-to-mode): Flush to column 0 in text-mode
after an empty line.
2014-01-13 00:03:31 -05:00
Stefan Monnier
6137cb82db * lisp/net/shr.el (shr-render-region): Autoload. 2014-01-12 18:34:33 -05:00
Eric S. Raymond
841a6d0cb8 Remove broken VCSWITNESS code, and explain the problem. 2014-01-12 09:54:50 -05:00
Xue Fuqiao
e6344e177a Rename eww-download-path to eww-download-directory.
* lisp/net/eww.el (eww-download-directory): Rename from
`eww-download-path' (Bug#16419).
* doc/misc/eww.texi (Basics): Use "directory" instead of "path" (Bug#16419).
2014-01-12 22:25:10 +08:00
Leo Liu
3b922c70d6 Some minor fixes
* dired-x.el (dired-mode-map): Fix last change.
* emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
2014-01-12 18:29:59 +08:00
Paul Eggert
4fa5174182 Spelling fixes.
* lisp/emacs-lisp/generic.el (generic--normalize-comments):
Rename from generic--normalise-comments.  All uses changed.
* lisp/play/bubbles.el (bubbles--neighborhood-score):
(bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
(bubbles--neighborhood-available)
(bubbles--update-neighborhood-score):
Rename from names with 'neighbourhood'.  All uses changed.
2014-01-11 21:29:11 -08:00
Leo Liu
9b335362d0 Re-implement the feature of showing eldoc info after editing.
* emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
(eldoc-edit-message-commands): New function.
(eldoc-print-after-edit): New variable.
(eldoc-pre-command-refresh-echo-area): Emit message only by
eldoc-message-commands.
(eldoc-mode): Restrict eldoc-message-commands to editing commands
if eldoc-print-after-edit is set. 

* progmodes/octave.el (octave-mode-menu): Adapt to change in
eldoc.

Fixes: debbugs:16346
2014-01-12 12:00:03 +08:00
Eric S. Raymond
0abf413468 Make the function emacs-repository-get-version polyvalent.
* version.el (emacs-repository-get-version): Enhance so the
function works correctly in either a Bazaar or Git repo. The
Bazaar case can be discarded  after the repo transition.
2014-01-11 18:59:49 -05:00
Eric S. Raymond
9685190b46 /etc cleanup: Removal of joke man pages and associated Lisp file.
* etc/celibacy.1, etc/sex.6, etc/condom.1, etc/echo.msg:
	Deleted at RMS's suggestion. Not lost to posterity as they are
	part of the widely distributed funny-manpages collection.

	* lisp/play/meese.el: It's 2014 and Ed Meese is justly forgotten. Goes
	with removal of the joke manpages from /etc.
2014-01-11 09:15:17 -05:00
Kenichi Handa
af05bef2d1 merge trunk 2014-01-11 22:00:54 +09:00
Glenn Morris
a12bf61ed4 ChangeLog fixes 2014-01-10 19:55:50 -08:00
Kenichi Handa
3923e7bde9 mail/rmail.el (rmail-get-coding-system): Check rmail-get-coding-function before "funcall"ing it. 2014-01-11 08:29:10 +09:00
Glenn Morris
d2f16e93d2 * lisp/emacs-lisp/authors.el (authors-fixed-entries): Update
for files that no longer exist.
2014-01-10 15:19:31 -05:00
Eric S. Raymond
7e03bb327b Restore compatibilty with 23.1 (Tested) 2014-01-10 12:13:10 -05:00
Bozhidar Batsov
dd80671031 * lisp/progmodes/ruby-mode.el (auto-mode-alist): Add .podspec and Podfile. 2014-01-10 18:32:45 +02:00
Eli Zaretskii
ed6ec139ac Update Eli Zaretskii's entry in authors.el.
lisp/emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
2014-01-10 14:22:58 +02:00
Chong Yidong
cc33cac98a * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded. 2014-01-10 18:35:36 +08:00
Anders Lindgren
d9d836b5c4 Add right-char and left-char to Follow Mode cached commands.
lisp/follow.el (follow-cache-command-list): Include right-char and
 left-char.
2014-01-10 11:30:43 +02:00
Paul Eggert
06827ec842 Spelling fixes.
* mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
* woman.el (woman-mark-horizontal-position):
Rename from woman-mark-horizonal-position.  Use changed.
2014-01-09 23:10:37 -08:00
Glenn Morris
dad6fae748 If running uninstalled, always put our own info files first
* lisp/info.el (info-initialize): If running uninstalled, ensure our
own info files are always found first, even if INFOPATH is set.
2014-01-09 21:39:29 -08:00
Glenn Morris
458dbf5e47 Make etc/FTP and etc/ORDERS obsolete
* etc/FTP: Mark as obsolete.

* etc/ORDERS: Replace contents with pointer to emacs.info, mark obsolete.

* doc/emacs/emacs.texi (Distrib): Add donate URL.  Add anchor.

* lisp/help.el (view-order-manuals): Open emacs.info rather than ORDERS.
2014-01-09 21:44:51 -05:00
David Engster
05e0afceb9 Restore generated autoloads in eieio.el.
* emacs-lisp/eieio-custom.el:
* emacs-lisp/eieio-opt.el: Set generated autoload file to
'eieio.el'.  This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
* emacs-lisp/eieio.el: Regenerate autoloads.
2014-01-09 21:31:21 +01:00
Glenn Morris
fb14cb489a ChangeLog fix
Not a Debian bug; use format that bug-reference-mode understands
2014-01-09 08:52:04 -08:00
Eric S. Raymond
32f82e0ca5 Remove stray conflicty markar that the VCS somehow ignored. 2014-01-09 11:49:05 -05:00
Eric S. Raymond
f29778b343 Minor bug fix.
Fixes: debbugs:8756
2014-01-09 11:46:56 -05:00
Stefan Monnier
684d44ef81 * lisp/simple.el (deactivate-mark, activate-mark): Force-mode-line-update.
(activate-mark): Add `no-tmm' argument.
(set-mark, push-mark-command): Use it instead of running
activate-mark-hook by hand.

Fixes: debbugs:16382
2014-01-08 20:59:19 -05:00
Eric S. Raymond
ceb885a181 Create a needed obsolete-variable alias. Fix up some docstrings. 2014-01-08 20:32:45 -05:00
Eric S. Raymond
9475054f3c In preparation for the move to git, sanitize out some Bazaar-specific names.
* version.el (emacs-bzr-version): Name changed to
emacs-repository-version.
* loadup.el: Follow through on this name change.
* lisp/mail/emacsbug.el (report-emacs-bug): Factor out any
assumption about the version control system in use.
2014-01-08 17:57:47 -05:00
David Engster
0116ee837a Proper help support for EIEIO classes and methods. 2014-01-08 22:59:19 +01:00
David Engster
0f918d96d7 Rewrite EIEIO help functions and hook them into help system.
* help-fns.el (help-fns-describe-function-functions): New
variable to call functions for augmenting help buffers.
(describe-function-1): Remove explicit calls to
`help-fns--compiler-macro', `help-fns--parent-mode' and
`help-fns--obsolete'.  Put them in above new variable instead, and
call them through `run-hook-with-args'.
* emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
`eieio-describe-class'.  Not meant for interactive use anymore,
but to augment existing help buffers.  Remove optional second
argument.  Create proper button for file location.  Rewrite
function to use `insert' instead of `princ' and `prin1' where
possible.
(eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
(eieio-method-def, eieio-class-def): Move further up.
(describe-method, describe-generic, eieio-describe-method): Remove
aliases.
(eieio-help-constructor, eieio-help-generic): Rename from
`eieio-describe-constructor' and `eieio-describe-generic', resp.
Rewrite to use `insert' in the current buffer and use proper help
buttons.
(eieio-help-find-method-definition)
(eieio-help-find-class-definition): Also accept symbols as
arguments.
(eieio-help-mode-augmentation-maybee): Remove.
(eieio-describe-class-sb): Use `describe-function'.
* emacs-lisp/eieio.el (help-fns-describe-function-functions): Add
`eieio-help-generic' and `eieio-help-constructor'.
2014-01-08 22:30:12 +01:00
Glenn Morris
4b9e6087a0 ChangeLog fix
(When reverting a change _immediately_ after making it, just delete
the original ChangeLog entry, rather than adding a new one.)
2014-01-08 14:39:25 -05:00
Paul Eggert
136b74c53a Spelling fixes.
* lisp/language/china-util.el (hz-ascii-designation):
Rename from hz-ascii-designnation.
(hz-ascii-designation): Rename from hz-ascii-designnation.
All uses changed.
* lisp/cedet/semantic/decorate/include.el (semantic-decoration-mouse-3):
Rename from semantic-decoratiton-mouse-3.  All uses changed.
* lisp/org/org-irc.el (org-irc-ellipsify-description): Rename from
org-irc-elipsify-description.  All uses changed.
2014-01-08 11:16:10 -08:00
Bastien Guerry
2167f25d0f Fix 2014-01-08T11:19:30Z!bzg@gnu.org
* emacs-lisp/package.el (package-installed-p): Fix my previous
commit (2014-01-08T11:19:30Z!bzg@gnu.org).
2014-01-08 18:39:31 +01:00
Stefan Monnier
ec6c7de239 * lisp/emacs-lisp/package.el (package-delete): Only remove pkg-desc from
package-alist.
2014-01-08 09:19:27 -05:00
Bastien Guerry
d6262c7c39 package.el: various fixes.
* emacs-lisp/package.el (package-installed-p): First check if the
package name is in package-alist.
(package-delete): Correctly delete the package from package-alist.
2014-01-08 12:19:30 +01:00
Daiki Ueno
0a3eec3270 emacs-lisp/package.el (package--check-signature): Fix download error handling
* emacs-lisp/package.el (url-recreate-url): Declare.
(url-http-target-url): Declare.
(package-handle-response): Include requested URL in the error
message.
(package--check-signature): Don't re-signal errors from
package--with-work-buffer.  Suggested by Stefan Monnier.
2014-01-08 15:25:21 +09:00
Bastien Guerry
68f0bb9791 Fix bug 15980
* minibuffer.el (completion--try-word-completion): When both a
hyphen and a space are possible candidates for the character
following a word, display both candidates.
2014-01-08 00:36:29 +01:00
David Engster
abb82152dc Add new hook to augment help buffers.
* help-fns.el (help-fns-describe-function-functions): New variable to
call functions for augmenting help buffers.
(describe-function-1): Remove explicit calls to
`help-fns--compiler-macro', `help-fns--parent-mode' and
`help-fns--obsolete'.  Put them in above new variable instead.  Call
all of them through `run-hook-with-args'.
2014-01-07 21:40:44 +01:00
Martin Rudalics
7e1899d7cd Fix Bugs 16351 and 16383 when rounding in balance-windows-2.
* window.el (balance-windows-2): While rounding don't give a
window more than the remainder.  Bug#16351, Bug#16383.
2014-01-07 18:16:24 +01:00
Glenn Morris
0030ec15c3 * lisp/menu-bar.el (menu-bar-help-extra-packages): Remove.
(menu-bar-help-menu): Use view-external-packages instead.

* doc/misc/faq.texi: Comment.
2014-01-07 08:50:03 -08:00
Bastien Guerry
2b6b4f204c emacs-lisp/package.el (package-delete): Delete package completely
* emacs-lisp/package.el (package-delete): Also delete the package
name from `package-alist', not its description only.
2014-01-07 11:58:03 +01:00