1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-06 11:50:51 -08:00
Commit graph

61390 commits

Author SHA1 Message Date
Lars Ingebrigtsen
79278d0313 * subr.el (butlast): Document what an omitted N means.
* subr.el (butlast): Document what an omitted N means.
(nbutlast): Ditto.

Fixes: debbugs:13437
2014-01-31 23:54:29 -08:00
Lars Ingebrigtsen
cc477daa01 Make shr respect privacy when viewing documents with SVG images
(shr-tag-svg): Respect `shr-inhibit-images'.
(shr-dom-to-xml): Respect `shr-blocked-images'.

Fixes: debbugs:15882
2014-01-31 13:44:11 -08:00
Lars Ingebrigtsen
dba6e3ec42 Make shr-generic into a defsusbt to make the stack shallower
* net/shr.el (shr-generic): Make into a defsubst to make the stack
depth shallower.
2014-01-31 13:08:13 -08:00
Dmitry Gutov
2f313daf4a Fixup the documentation for the previous change
* etc/NEWS: Mention `ruby-align-chained-calls'.

* lisp/progmodes/ruby-mode.el (ruby-align-chained-calls): Update the
  docstring and add :version tag.

Fixes: debbugs:16593
2014-01-31 19:33:12 +02:00
Dmitry Gutov
e2a67bd08e Implement user option ruby-align-chained-calls
* lisp/progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
(ruby-smie-grammar): Make "." right-associative.  Make its priority
lower than the ternary and all binary operators.
(ruby-smie-rules): Indent "(" relative to the first non-"."
parent, or the first "." parent at indentation.  Use
`ruby-align-chained-calls' for indentation of "." tokens.

* test/automated/ruby-mode-tests.el (ruby-align-chained-calls):
New test.

Fixes: debbugs:16593
2014-01-31 19:13:49 +02:00
Lars Ingebrigtsen
ec80e68933 lisp/gnus/nnimap.el (nnimap-transform-headers): Partially revert mistakenly checked-in test code from last checkin 2014-01-31 10:13:28 +00:00
Juri Linkov
bd21bf41c0 Misc small fixes.
* doc/lispref/searching.texi (String Search): Incremental word search fixes.

* lisp/sort.el (delete-duplicate-lines): Remove `:weakness 'key'
from `make-hash-table'.

* lisp/textmodes/ispell.el (ispell-init-process): Change message format
to be consistent with other messages.
2014-01-31 11:41:54 +02:00
Lars Ingebrigtsen
579d49fa6e lisp/gnus/nnimap.el (nnimap-transform-headers): Fix Davmail header parsing 2014-01-31 08:33:13 +00:00
Glenn Morris
a69ecd19fe Delete Selection mode doc updates
* lisp/delsel.el (delete-selection-mode): Doc fix.

* doc/misc/efaq.texi (Replacing highlighted text):
Update delete-selection-mode doc.

* etc/NEWS: Related edit.
2014-01-30 23:28:17 -08:00
Glenn Morris
9997d7e3e3 trace.el doc updates
* lisp/emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
(trace-function-background): Doc fixes.

Commentary update for this package now using nadvice.el, not advice.el.

* etc/NEWS: Related edits.
2014-01-30 23:15:54 -08:00
Glenn Morris
23dc6d0ccd * lisp/erc/erc.el (erc-accidental-paste-threshold-seconds): Doc tweak.
* etc/NEWS: Related markup.
2014-01-30 22:39:51 -08:00
Glenn Morris
fbb764b8bc * lisp/ido.el (ido-use-virtual-buffers): Doc fix.
Reset :version, since the default value has not changed.

* etc/NEWS: Related edits.
2014-01-30 22:34:44 -08:00
Glenn Morris
da942af18c Some doc related to register-preview
* lisp/register.el (register-preview-delay, register-read-with-preview):
Doc fixes.

* etc/NEWS: Related edits.
2014-01-30 22:20:29 -08:00
Glenn Morris
f2726fa259 ChangeLog fixes 2014-01-30 21:43:03 -05:00
Glenn Morris
b7e615b9bc Fix for c-submit-bug-report and reporter.el void-variable handling
* lisp/mail/reporter.el (reporter-dump-variable): In case of void-variable,
do not mess with mail-buffer position (fixes 2009-11-03 change).

* lisp/progmodes/cc-mode.el (c-submit-bug-report):
Check auto-fill-mode is bound.

Fixes: debbugs:16592
2014-01-30 21:39:40 -05:00
Darren Hoo
0a25002dc2 Fix for fancy-splash image inconsistency
* lisp/startup.el (fancy-splash-image-file): New function,
split from fancy-splash-head.
(fancy-splash-head, use-fancy-splash-screens-p): Use it,
so that we are both using the same image.

Fixes: debbugs:16574
2014-01-30 20:58:51 -05:00
Gnus developers
4e2b87d871 Misc bugfixes made in Gnus master
2014-01-31 Alex Schroeder <alex@gnu.org> (tiny change)
  * gnus-tut.txt (Message-ID): Typo fix (bug#15556).
2014-01-31 Dave Abrahams <dave@boostpro.com>
  * gnus-salt.el (gnus-tree-highlight-article): Don't move point around
  in the summary buffer (bug#13769).
2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
  * gnus-art.el (gnus-article-setup-buffer): Refresh the summary buffer
  name if we're using a single article buffer. Otherwise, it may point
  to a killed buffer (bug#13756).
2014-01-30 Lars Ingebrigtsen <larsi@gnus.org>
  * nnmail.el (nnmail-split-it): Instead of redoing the search to restore
  the match data, just save and restore it explictly (bug#12375).
  * gnus-sum.el (gnus-summary-read-group-1): Initialize the spam code if
  that's needed.
  * spam.el (spam-initialize): Allow calling repeatedly, but only run the
  the code once (bug#9069).
2014-01-31 01:56:00 +00:00
Eli Zaretskii
a1a04df94c Revert last commit in mouse.el. 2014-01-30 19:42:48 +02:00
Martin Rudalics
df18345936 In mouse-drag-line obey window-resize-pixelwise (Bug#16594).
* mouse.el (mouse-drag-line): When window-resize-pixelwise is
nil call adjust-window-trailing-edge with suitable arguments
(Bug#16594).
2014-01-30 14:19:19 +01:00
Glenn Morris
b169c4cc37 Auto-commit of loaddefs files. 2014-01-30 06:19:16 -05:00
Glenn Morris
314ff31814 * etc/NEWS: ElDoc related edit.
* lisp/emacs-lisp/eldoc.el: Related commentary.
2014-01-29 23:54:28 -08:00
Glenn Morris
6bbc0c845f * lisp/simple.el (eval-expression): Doc fix.
* etc/NEWS: Add missing entry.
2014-01-29 23:48:06 -08:00
Glenn Morris
ad78f43200 Replace refs to obsolete alias turn-on-eldoc-mode' with eldoc-mode'
* lisp/hexl.el (hexl-mode-hook):
* lisp/ielm.el (ielm-mode-hook):
* lisp/emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
(lisp-interaction-mode-hook):
* lisp/progmodes/cfengine.e (cfengine3-documentation-function):
Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.

* lisp/emacs-lisp/eldoc.el: Same in commentary.
2014-01-29 23:42:57 -08:00
Stefan Monnier
566cb04bdf * eieio-opt.el (eieio-help-generic): Fix last change.
Fixes: debbugs:16584
2014-01-29 23:13:00 -05:00
Stefan Monnier
7b2f049c83 * lisp/emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
is a symbol.

Fixes: debbugs:16584
2014-01-29 23:02:28 -05:00
Glenn Morris
0c633f135a * lisp/help.el (help-for-help-internal): Add "P" to text. 2014-01-29 21:40:19 -05:00
Glenn Morris
2e0633c8d1 * lisp/hippie-exp.el: Header comment changes.
Remove pointless+wrong "last change" header.
Set Maintainer to FSF, since original author has made no changes in 16+ years.
2014-01-29 00:31:50 -08:00
Glenn Morris
5e61c1ef5c Some doc for cycle-spacing
* lisp/simple.el (just-one-space, cycle-spacing): Doc fixes.

* doc/emacs/killing.texi (Deletion): Mention cycle-spacing.

* doc/lispref/text.texi: Comment.

* etc/NEWS: Related edits.
2014-01-29 00:27:55 -08:00
Martin Rudalics
1dcb169c81 Fix Fwindow_text_pixel_size and fit-frame-to-buffer.
* xdisp.c (last_max_ascent): Re-remove after erroneously
reintroducing it on 2013-11-30 and abolishing Dmitry's removal
from 2013-03-29.
(move_it_to): Re-remove reference to last_max_ascent.
(Fwindow_text_pixel_size): Add iterator's max_ascent and
max_descent here instead of calling line_bottom_y.  Fix
doc-string.

* window.el (fit-frame-to-buffer): Fix calculations for margins and
height constraints.
2014-01-28 10:45:37 +01:00
Luke Lee
a91289312d Aggregate hideif parser enhancements for a complete supporting of C/C++
expressions and operator precedence. Also apply code review changes.

* lisp/progmodes/hideif.el : Related enhancements.
2014-01-28 15:02:34 +08:00
Glenn Morris
0a60cc0dbc Tweak previous fill-single-char-nobreak-p doc change 2014-01-27 22:00:20 -05:00
Glenn Morris
793ffe8195 Doc for fill-single-char-nobreak-p
* doc/emacs/text.texi (Fill Commands): Mention fill-single-char-nobreak-p.

* lisp/textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.

* etc/NEWS: Related edit.
2014-01-27 21:50:16 -05:00
Glenn Morris
e3bd7eed8c Some doc related to tab-stops
* doc/lispref/text.texi (Indent Tabs): Update related to tab-stops.

* lisp/indent.el (tab-stop-list): Doc fix.  Add :version.
2014-01-27 20:49:02 -05:00
Glenn Morris
a22359a767 * lisp/vc/pcvs.el (cvs-append-to-ignore): Add compatibility alias.
(vc-editable-p, vc-checkout): Remove unused declarations.

* etc/NEWS: Small edits.
2014-01-27 19:39:50 -05:00
Paul Eggert
2c09a9f479 Spelling fix. 2014-01-27 14:22:17 -08:00
Glenn Morris
bac524e036 * lisp/dired.el (dired-hide-details-mode): Don't autoload it,
since it cannot be used outside Dired buffers anyway.
2014-01-27 16:42:53 -05:00
Glenn Morris
52695556f3 Small doc updates for CUA and dired
* doc/emacs/dired.texi (Misc Dired Features): Copyedits for hide-details.

* lisp/dired.el (dired-hide-details-hide-symlink-targets)
(dired-hide-details-hide-information-lines)
(dired-hide-details-mode): Doc fixes.

* lisp/emulation/cua-base.el (cua-mode): Doc fix.

* etc/NEWS: Related edits.

* lisp/ChangeLog: Comment changes do not need ChangeLog entries.
2014-01-27 16:26:48 -05:00
Reuben Thomas
d269bb9964 * whitespace.el (whitespace-enable-predicate): fix sense of comment.
Fixes bug #16564, from change of 2013-03-10.
2014-01-27 12:30:17 +00:00
Glenn Morris
ece4bae50f Doc, comment, etc updates for increased use of locate-user-emacs-file
This should have been a prerequisite for making these changes in the
first place.

* doc/emacs/calendar.texi (Time Intervals):
* doc/misc/idlwave.texi (Lesson III---User Catalog, Online Help)
(Starting the Shell, Catalogs, User Catalog):
* doc/misc/remember.texi (Quick Start):
* doc/misc/viper.texi:
* doc/misc/vip.texi (Customization, Customizing Constants)
(Customizing Key Bindings): Update for files being in ~/.emacs.d/.

* lisp/ido.el (ido-save-directory-list-file):
* lisp/saveplace.el (save-place-file):
* lisp/calendar/timeclock.el (timeclock-file):
* lisp/net/quickurl.el (quickurl-url-file):
* lisp/obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
* lisp/progmodes/idlwave.el (idlwave-config-directory):
* lisp/textmodes/remember.el (remember-data-file):
Bump :version.

* lisp/shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
* lisp/strokes.el (strokes-file): Doc fix.  Bump :version.
(strokes-help): Doc fix.
* lisp/emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
* lisp/emulation/viper.el (viper): Doc fix for custom group.
(top-level): Remove oh-so-no-longer-relevant text about vip.
* lisp/obsolete/otodo-mode.el (todo-prefix): Doc fix.

* etc/NEWS: Related edits.
2014-01-26 18:02:28 -08:00
Glenn Morris
de6a923b0b Doc updates for opascal.el
* lisp/progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
Doc fix.  Make obsolete.
(opascal-mode): No longer mention opascal-tab-always-indents in doc.

* doc/emacs/ack.texi (Acknowledgments):
* doc/emacs/programs.texi (Program Modes):
Update for delphi.el -> opascal.el renaming.

* etc/NEWS: Edits.
2014-01-25 19:39:34 -08:00
Glenn Morris
169d6004f9 Some doc for delete-duplicate-lines
* doc/emacs/killing.texi (Deletion): Mention delete-duplicate-lines.

* lisp/sort.el (delete-duplicate-lines): Doc fix.

* etc/NEWS: Related edit.
2014-01-25 17:10:18 -08:00
Juanma Barranquero
3fcfc4ee80 Fix ChangeLog typos. 2014-01-26 01:47:40 +01:00
Rüdiger Sonderfeld
ed85dee69d Link to info manual in `defgroup'.
* lisp/progmodes/ada-mode.el (ada):
* lisp/woman.el (woman): Link to info manual and Commentary section.

* lisp/url/url-vars.el (url):
* lisp/erc/erc.el (erc):
* lisp/progmodes/flymake.el (flymake):
* lisp/nxml/nxml-mode.el (nxml):
* lisp/net/eww.el (eww):
* lisp/speedbar.el (speedbar, speedbar-faces, speedbar-vc):
* lisp/htmlfontify.el (htmlfontify):
* lisp/ses.el (ses):
* lisp/epa.el (epa):
* lisp/ido.el (ido): Link to info manual.
2014-01-25 20:15:42 +01:00
Leo Liu
e0c67e1dce * progmodes/flymake.el (flymake-make-overlay): No rear advance. 2014-01-26 02:32:34 +08:00
Adam Sjøgren
35408b1a6c * net/shr.el (shr-tag-img): Prefer the title over the alt text.
Fixes: debbugs:16537
2014-01-24 17:52:16 -07:00
Glenn Morris
03f3b3182d Misc small doc updates
* doc/emacs/ack.texi (Acknowledgments): No longer mention obsolete xesam.el.

* lisp/woman.el (woman-default-faces, woman-monochrome-faces):
Fix obsolescence specification.

* etc/NEWS: Related markup.
2014-01-23 23:29:39 -08:00
Juanma Barranquero
f77c7a99c1 * net/eww.el (eww-download-callback): Fix reference to eww-download-directory. 2014-01-24 05:15:13 +01:00
Juanma Barranquero
76c3fa958f Silence byte-compiler warning.
* emacs-lisp/bytecomp.el (byte-compile-file):
Remove unused local variable `file-name'.
2014-01-24 05:13:35 +01:00
Glenn Morris
1e548e4056 Doc updates for with-demoted-errors
* doc/lispref/control.texi (Handling Errors): Update with-demoted-errors.

* lisp/subr.el (with-demoted-errors): Doc fix.

* etc/NEWS: Related edit.
2014-01-23 20:11:48 -08:00
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