1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-25 05:52:42 -08:00
Commit graph

26057 commits

Author SHA1 Message Date
Stefan Monnier
d4f0427be7 * lisp/emacs-lisp/cl-macs.el: Improve type->predicate mapping.
(cl--macroexp-fboundp): New function.
(cl--make-type-test): Use it.

Fixes: debbugs:16520
2014-01-23 10:01:41 -05:00
Glenn Morris
1670e27f38 Doc fixes related to zero prefix argument of eval-expression etc
* emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
* simple.el (eval-expression): Doc fixes.
2014-01-22 23:53:56 -08:00
Glenn Morris
80efa207d4 * lisp/emacs-lisp/authors.el (authors-fixed-entries): Addition. 2014-01-22 15:05:03 -05:00
Glenn Morris
e2a095b16f ChangeLog fix.
* lisp/ChangeLog: The installed change was based on this one:
http://lists.gnu.org/archive/html/emacs-devel/2013-10/msg00372.html

* etc/NEWS: Fix based on the fact that this does not work out of the box,
unless you fetch the notes, as described in
  http://lists.gnu.org/archive/html/emacs-devel/2013-10/msg00015.html
Seems very non-intuitive to me...
2014-01-22 14:26:45 -05:00
Stefan Monnier
29afcbab15 * lisp/emacs-lisp/package.el: Write files silently.
(package-autoload-ensure-default-file)
(package-generate-description-file, package--write-file-no-coding)
(package-install-from-archive, package--download-one-archive):
Tell `write-region' to stay quiet.
(package-menu-mode, package-menu--print-info): Omit the Archive column
if there's only one archive.
(package-all-keywords, package--has-keyword-p): Remove dead code.
2014-01-22 14:22:45 -05:00
Glenn Morris
edace89f26 * lisp/version.el (emacs-bzr-version-bzr): Fix typo. 2014-01-22 13:29:40 -05:00
Glenn Morris
983664c0b4 * version.el (emacs-repository-get-version): Avoid error if .git exists but
the git executable is not found.
2014-01-22 09:34:27 -08:00
Glenn Morris
2a5bce4f0c Fixes for emacs-repository-get-version
* lisp/version.el (emacs-repository-get-version):
Check either .bzr or .git, but not both.
Make the git case actually use the DIR argument, and return nil
rather than the empty string.

* etc/NEWS: Don't mention that emacs-repository-version works for git,
because it only returns nil (since it uses %N and there seem to be no
notes in the git version of the Emacs repo.)
No idea why this change is in trunk during a feature freeze anyway.
2014-01-22 09:26:14 -08:00
Martin Rudalics
6cb4da45dc Fixes in window size functions around Bug#16430 and Bug#16470.
* window.c (Fwindow_pixel_width, Fwindow_pixel_height)
(Fwindow_mode_line_height, Fwindow_header_line_height)
(Fwindow_right_divider_width, Fwindow_bottom_divider_width):
Minor doc-string adjustments.
(Fwindow_total_height, Fwindow_total_width): New argument ROUND.
Rewrite doc-strings.
(window_body_height, window_body_width): Do not count partially
visible lines/columns when PIXELWISE is nil (Bug#16470).
(Qfloor, Qceiling): New symbols.
* window.el (window-total-size, window-size): New argument
ROUND.
(window--min-delta-1, window-min-delta, window--max-delta-1): Be
more conservative when calculating the numbers of lines or
columns a window can shrink (Bug#16430).
(fit-window-to-buffer): Simplify code.
* term.el (term-window-width): Call window-body-width again.
2014-01-22 11:29:23 +01:00
Glenn Morris
7b997b1458 Some doc for image-format-suffixes
* doc/lispref/display.texi (ImageMagick Images):
Expand on image-format-suffixes.

* lisp/image.el (image-format-suffixes): Doc fix.

* etc/NEWS: Related markup.
2014-01-22 00:30:00 -08:00
Glenn Morris
44e76f9dd1 * lisp/international/quail.el (quail-define-package): Doc fix.
* etc/NEWS: Related edit.
2014-01-21 23:55:53 -08:00
Glenn Morris
73c1c6d795 authors.el small additions
* lisp/emacs-lisp/authors.el (authors-valid-file-names):
(authors-renamed-files-alist): Additions.

* lisp/ChangeLog.5, etc/ChangeLog: Clarify old entries.
2014-01-21 23:35:50 -08:00
Glenn Morris
7bfc1caa62 Unduplicate the lib-src/ and etc/ ChangeLogs
* lisp/emacs-lisp/authors.el (authors-valid-file-names): Related additions.
2014-01-21 21:44:44 -05:00
Glenn Morris
85a5f61f29 * lisp/vc/vc-git.el (vc-git-print-log): Remove --follow;
reverts 2014-01-09 change.

Fixes: debbugs:16422
2014-01-21 21:01:40 -05:00
Glenn Morris
cc0f2ece47 Fix some function declarations
* lisp/calc/calc-embed.el (thing-at-point-looking-at):
* lisp/emacs-lisp/map-ynp.el (x-popup-dialog):
* lisp/obsolete/lmenu.el (x-popup-dialog):
* lisp/emacs-lisp/package.el (url-recreate-url):
* lisp/mail/mailclient.el (clipboard-kill-ring-save):
* lisp/subr.el (x-popup-dialog): Update declaration.

* lisp/mail/rmail.el (rmail-mime-message-p):
* lisp/window.el (tool-bar-lines-needed): Remove unnecessary declaration.
2014-01-21 20:50:40 -05:00
Daniel Colascione
00d2a6bb26 Fix here-doc highlighting 2014-01-21 15:42:59 -08:00
Glenn Morris
79b61bccf8 ChangeLog fix 2014-01-21 09:21:19 -08:00
Stefan Monnier
dd9d2e9d1e * lisp/emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
(eldoc--message-command-p): New function.
(eldoc-display-message-p): Use it.
(eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
message is not automatically erased for us.
(eldoc-print-current-symbol-info): Erase previous message, if any.
2014-01-21 08:09:55 -05:00
Glenn Morris
38942b9cf5 ChangeLog fixes 2014-01-21 00:49:46 -08:00
Tassilo Horn
4ff0a0e5c0 Fix reftex-create-bibtex-file autoload.
* lisp/textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
specify it's an interactive function.
2014-01-21 09:26:31 +01:00
Tassilo Horn
e7d807cae8 Fix regex used for searching citation keys.
* lisp/textmodes/reftex-cite.el (reftex-all-used-citation-keys): Fix
regex used for scanning for citation keys which failed for
citations with optional arguments.
2014-01-21 09:18:30 +01:00
Leo Liu
8750379121 * simple.el (read--expression): Don't enable eldoc-mode. 2014-01-21 09:58:16 +08:00
Glenn Morris
a6c4680aa2 Fix spelling of "GNUstep" 2014-01-20 14:44:56 -05:00
Stefan Monnier
6cc750eec4 * lisp/simple.el (move-beginning-of-line): Make sure we don't move forward.
Fixes: debbugs:16497
2014-01-20 14:15:10 -05:00
Juri Linkov
71f16bdad4 * lisp/saveplace.el (toggle-save-place, save-place-to-alist)
(save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
'dired-mode) before checking for dired-directory.

Fixes: debbugs:16477
2014-01-20 10:52:44 +02:00
Juri Linkov
3c5a4839a1 * lisp/indent.el (indent-line-to): Use backward-to-indentation
instead of back-to-indentation.

Fixes: debbugs:16461
2014-01-20 10:45:56 +02:00
Paul Eggert
f952002e0a Revert some of the CANNOT_DUMP fix.
Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
but fixing this can wait until after the next release.
* leim/Makefile.in (RUN_EMACS): Keep EMACSLOADPATH empty.
* lisp/Makefile.in (emacs): Keep EMACSLOADPATH empty.
* src/lread.c (init_lread): Fix typo: NILP, not !NILP.

Fixes: debbugs:16494
2014-01-19 23:56:28 -08:00
Michael Albinus
9367550017 * eshell/esh-mode.el (eshell-password-prompt-regexp):
Use `password-word-equivalents'.
(eshell-watch-for-password-prompt): Let-bind `case-fold-search'
to t.  (Bug#5664, Bug#13124)
2014-01-19 14:23:18 +01:00
Alan Mackenzie
e3af763f4d Bind open-paren-in-column-0-is-defun-start to nil at some entry points.
* progmodes/cc-engine.el (c-invalidate-state-cache-1)
(c-parse-state-1, c-guess-basic-syntax):  Bind it here.
* progmodes/cc-mode.el (c-before-change, c-after-change)
(c-font-lock-fontify-region): Bind it here.
2014-01-19 12:32:47 +00:00
Martin Rudalics
4ff6d92ddd In term-window-width call window-text-width instead of window-width (Bug#16470).
* term.el (term-window-width): Call window-text-width instead of
window-width (Bug#16470).
2014-01-19 10:24:26 +01:00
Paul Eggert
9a685cf6bd * simple.el (password-word-equivalents): Remove duplicates.
Sort, to make this easier next time.
Downcase.  Omit ": " after "jelszó".
2014-01-18 14:23:38 -08:00
Jan Djärv
5aa78c2dba * lisp/term/common-win.el (saved-region-selection): Defvar it.
(x-select-text): Set saved-region-selection.

Fixes: debbugs:16382
2014-01-18 16:11:03 +01:00
Glenn Morris
cabb250c0d Add some entries to authors.el variables
* lisp/emacs-lisp/authors.el (authors-aliases)
(authors-renamed-files-alist): Add some entries.
2014-01-17 20:29:25 -05:00
Michael Albinus
a134044028 Fix Bug#13124.
* net/tramp.el (tramp-password-prompt-regexp): Use
`password-word-equivalents' if available.
(tramp-action-password, tramp-process-one-action)
(tramp-read-passwd): Let-bind `case-fold-search' to t.
2014-01-17 19:20:39 +01:00
Chong Yidong
681ce5d251 Fix Bug#13124.
* simple.el (password-word-equivalents): New defcustom.
* comint.el (comint-password-prompt-regexp): Use it.  Bump version to 24.4.
(comint-watch-for-password-prompt): Let-bind `case-fold-search' to t.
2014-01-17 17:45:45 +01:00
Bastien Guerry
502963bbf2 Revert 2014-01-17T13:05:09Z!bzg@gnu.org. 2014-01-17 15:58:34 +01:00
Bastien Guerry
2afb07b2e1 * simple.el (define-alternatives): Fix docstring by advising
developers to (defvar COMMAND-alternatives).
2014-01-17 14:05:09 +01:00
Dmitry Gutov
fb3d479c91 ruby-mode: Align def...end to the beginning of statement
* lisp/progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
(ruby-align-to-stmt-keywords): Change the default value.  Use
`ruby-alignable-keywords' to generate the possible customization
choices.
(ruby-smie-rules): Instead of using a hardcoded list of alignable
keywords, check against the value of `ruby-alignable-keywords'
(http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
2014-01-17 05:15:02 +02:00
Glenn Morris
fc23fe2d52 * lisp/emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
* lisp/jka-cmpr-hook.el, lisp/jka-compr.el, lisp/progmodes/antlr-mode.el:
* doc/misc/autotype.texi: Fix author header comments.

* lisp/org/ChangeLog: ChangeLog fix.
2014-01-16 21:59:24 -05:00
Glenn Morris
0d61348390 Make M-x authors return zero *Authors Errors* from current logs
* lisp/emacs-lisp/authors.el (authors-obsolete-files-regexps):
(authors-ignored-files): Add some entries, remove others.
(authors-ambiguous-files, authors-valid-file-names): Add some entries.
(authors-renamed-files-alist): Add, remove, and adjust entries.
(authors-renamed-files-regexps): Add some entries.
Remove some very broad ones.  Make some entries `lax'.
(authors-lax-changelogs): New constant.
(authors-disambiguate-file-name): Treat top-level specially.
(authors-lax-changelog-p): New function.
(authors-canonical-file-name): Check file as written against
authors-valid-file-names.  Do not special-case etc/.
Handle `lax' logs and authors-renamed-files-regexps elements.

* admin/make-tarball.txt: Update for no expected *Authors Errors*.
2014-01-16 21:11:36 -05:00
Dmitry Gutov
39903fd1fc Finally make package-desc--keywords work
* lisp/emacs-lisp/package.el (package-desc--keywords): Use `nth'
  instead of `cdr'.
2014-01-16 18:44:17 +02:00
Dmitry Gutov
2dbf4ffdda * lisp/emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
`assoc'.  Make private.  Update all callers.
2014-01-16 14:23:14 +02:00
Stefan Monnier
87b2a7f2da * lisp/follow.el (follow-adjust-window): Remove `dest' argument.
Assume we're already in the proper buffer.
Inspired by Anders Lindgren <andlind@gmail.com>.
(follow-post-command-hook): Call it from the right buffer.
(follow-comint-scroll-to-bottom): Adjust call.
(follow-all-followers): Use get-buffer-window-list.

Fixes: debbugs:16426
2014-01-15 19:26:45 -05:00
Daniel Colascione
93acfb0eff Use whole file-name-history'. 2014-01-15 15:49:40 -08:00
Juri Linkov
ccc6b208d5 * lisp/indent.el (indent-rigidly): Set deactivate-mark to nil
in transient indentation mode.

Fixes: debbugs:16438
2014-01-15 10:22:41 +02:00
Dmitry Gutov
5c92e00da4 * lisp/emacs-lisp/package.el (package-desc-keywords): New function.
(describe-package-1, package-all-keywords)
(package--has-keyword-p): Use it.

Fixes: debbugs:16222
2014-01-15 06:58:06 +02:00
Glenn Morris
39c871402f ChangeLog fixes 2014-01-14 22:06:07 -05:00
Nicolas Richard
dac696602d simple.el (define-alternatives): Add 'definition-name to COMMAND-alternatives
* simple.el (define-alternatives): When creating the
COMMAND-alternatives variable, assign COMMAND as its definition
name so that `describe-variable' can relocate it.

See http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01340.html
2014-01-14 23:30:42 +01:00
Matthew Leach
8b63edf8c6 font-lock.el (font-lock-keywords): Fix typo in docstring
* font-lock.el (font-lock-keywords): Fix typo in docstring
(bug#16307).
2014-01-14 21:37:28 +01:00
Agustín Martín
c6a0b8eb25 ispell.el (ispell-region): Reset in-comment' for new line instead of add-coment' (bug#13577). 2014-01-14 11:50:28 +01:00