1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-14 23:40:39 -08:00
Commit graph

26180 commits

Author SHA1 Message Date
Kim F. Storm
71477684db Restore cua-delete-copy-to-register-0 and M-v command.
* lisp/delsel.el (delete-selection-save-to-register)
(delsel--replace-text-or-position): New vars.
(delete-active-region): Use them.
(delete-selection-repeat-replace-region): New command, moved from
cua-base.el.
* lisp/emulation/cua-base.el (cua--repeat-replace-text): Remove var.
(cua-repeat-replace-region): Move command to delsel.el.
(cua--init-keymaps): Update binding accordingly.
(cua-mode): Set delete-selection-save-to-register.

Fixes: debbugs:18886
2014-10-30 15:19:49 -04:00
Stefan Monnier
237bf45a48 * lisp/progmodes/cc-defs.el (c--macroexpand-all): New function.
(c-lang-defconst):
* lisp/progmodes/cc-langs.el (c-make-init-lang-vars-fun): Use it.

Fixes: debbugs:18845
2014-10-29 23:50:15 -04:00
Glenn Morris
6b3093be63 ChangeLog date fix 2014-10-29 20:33:08 -07:00
Eli Zaretskii
091d3228b7 Fix bug #18874 with rgrep not obeying grep-scroll-output.
lisp/progmodes/compile.el (compilation-start): If
 compilation-scroll-output is non-nil, don't force window-start of
 the compilation buffer to be at beginning of buffer.
2014-10-29 17:17:18 +02:00
Tassilo Horn
9e147f750b Backport latest doc-view fix
* doc/emacs/misc.texi (Document View): Adapt to latest doc-view changes wrt
viewing the document's plain text contents.  [Backport]

* lisp/doc-view.el (doc-view-open-text): View the document's plain text
in the current buffer instead of a new one.
(doc-view-toggle-display): Handle the case where the current
buffer contains the plain text contents of the document.
(doc-view-initiate-display): Don't switch to fallback mode if the
user wants to view the doc's plain text.  [Backport]
2014-10-23 21:17:00 +02:00
Eli Zaretskii
ac0f1b8597 Fix bug #18760 with incorrect decoding of tutorial for "About Emacs" screen.
lisp/startup.el (fancy-about-text): Read the entire tutorial, not
 just its first 256 bytes.
2014-10-23 19:32:51 +03:00
Stefan Monnier
acc443ad03 * lisp/emacs-lisp/bytecomp.el: Require cl-extra.
* lisp/emacs-lisp/cl-extra.el: Add missing provide.

Fixes: debbugs:18804
2014-10-23 09:31:20 -04:00
Stefan Monnier
be603ee9b6 * lisp/emacs-lisp/bytecomp.el (byte-compile-and-folded): Optimize case where
all args are copyable.
(=, <, >, <=, >=): Re-enable the optimization.

Fixes: debbugs:18767
2014-10-22 09:38:47 -04:00
Santiago Payà i Miralta
739ba4636b * lisp/vc/vc-hg.el (vc-hg-log-graph): New var.
(vc-hg-print-log): Use it.
(vc-hg-root-log-format): Include branch name and bookmarks; ignore
graph output.

Fixes: debbugs:17515
2014-10-20 20:14:07 -04:00
Juri Linkov
4ede14b986 * lisp/vc/diff-mode.el (diff-refine-changed): Rename from
`diff-refine-change' for consistency with `diff-changed'.
(diff-refine-change): Add obsolete face alias. 
* lisp/vc/smerge-mode.el (smerge-refined-changed): Rename from
`smerge-refined-change'.
(smerge-refined-change): Add obsolete face alias.
[Backport]

Fixes: debbugs:10181
2014-10-20 20:11:58 -04:00
Stefan Monnier
24421aa68b * lisp/subr.el (call-process-shell-command, process-file-shell-command):
Make the `args' obsolete.
(start-process-shell-command, start-file-process-shell-command):
Use `declare'.

Fixes: debbugs:18409
2014-10-20 18:44:11 -04:00
Juanma Barranquero
531f56f59b * lisp/skeleton.el (skeleton-autowrap): Mark as obsolete. [Backport] 2014-10-20 18:41:19 -04:00
Glenn Morris
3ac4e4c0eb * lisp/dired.el (dired-read-regexp): Make obsolete. [Backport]
(dired-mark-files-regexp, dired-mark-files-containing-regexp)
(dired-flag-files-regexp):
* lisp/dired-aux.el (dired-mark-read-regexp):
* lisp/dired-x.el (dired-mark-unmarked-files): Use read-regexp directly.
2014-10-20 18:39:30 -04:00
Stefan Monnier
c9f7e33c60 * lisp/progmodes/python.el (inferior-python-mode): Use add-hook. 2014-10-20 18:37:04 -04:00
Stefan Monnier
3e7807011b * lisp/Makefile.in (AUTOGEN_VCS): Remove emulation/tpu-edt.el. [Backport] 2014-10-20 18:21:56 -04:00
Glenn Morris
ef65424de8 Make most emulation packages obsolete. [Backport]
* emulation/crisp.el, emulation/tpu-edt.el, emulation/tpu-extras.el:
* emulation/tpu-mapper.el, emulation/vi.el, emulation/vip.el:
* emulation/ws-mode.el: Move to obsolete/.
* doc/emacs/ack.texi (Acknowledgments): Remove some obsolete items.
* doc/emacs/misc.texi (Emulation): Remove section.
* doc/lispintro/emacs-lisp-intro.texi (Autoload): Update loaddefs.el details.
* doc/misc/efaq.texi (Finding a package with particular functionality):
Update example.
* doc/misc/vip.texi: Mention this is obsolete.
2014-10-20 18:12:13 -04:00
Glenn Morris
d9a72916e5 * src/minibuf.c (history-length): Increase default from 30 to 100.
* lisp/cus-start.el (history-length): Bump :version.  [Backport]
2014-10-20 18:02:40 -04:00
Stefan Monnier
1fc82d89a8 * lisp/obsolete/cc-compat.el: Make obsolete.
Fixes: debbugs:18561
2014-10-20 17:55:12 -04:00
Stefan Monnier
1c9c88b402 * lisp/epg-config.el (epg-gpg-program): Don't use the absolute names by default. 2014-10-20 17:51:44 -04:00
Stefan Monnier
d20b72d9fa Restore temporarily reverted bytecomp change
* lisp/emacs-lisp/bytecomp.el (=, <, >, <=, >=): Don't optimize multi-arg case.

Fixes: debbugs:18767
2014-10-20 20:23:50 +01:00
Glenn Morris
83bad90efe Add 24.4 release ChangeLog entries 2014-10-20 20:21:15 +01:00
Glenn Morris
dfccf2f60d Temporarily revert previous bytecomp change 2014-10-20 20:19:15 +01:00
Stefan Monnier
41e856b539 * lisp/emacs-lisp/bytecomp.el (=, <, >, <=, >=): Don't optimize multi-arg
case.

Fixes: debbugs:18767
2014-10-19 22:36:22 -04:00
Alan Mackenzie
e68b715772 cus-edit.el (custom-command-apply): Specify the return value in the doc
string.
(Custom-reset-standard): Save custom-file (e.g. .emacs) only when
custom-command-apply has returned non-nil.
2014-10-15 15:23:27 +00:00
Stefan Monnier
6d81466ac6 * lisp/emacs-lisp/lisp.el (lisp--local-variables-1): Handle `quote'.
Backported.

Fixes: debbugs:18688
2014-10-14 22:00:20 -04:00
Eli Zaretskii
1d4795e866 Fix display of R2L entries in tabulated-list-mode.
lisp/emacs-lisp/tabulated-list.el (tabulated-list-mode): Force
 bidi-paragraph-direction to 'left-to-right'.  This fixes
 buffer-menu display when the first buffer happens to start with
 R2L letter.
2014-10-14 22:29:47 +03:00
Glenn Morris
7dbd8a2cb6 Small authors.el updates
* lisp/emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
(authors-obsolete-files-regexps): Additions.
(authors-no-scan-regexps): New constant.
(authors-no-scan-file-p): New function.
(authors): Respect authors-no-scan-file-p.
2014-10-13 15:32:14 -04:00
Fabián Ezequiel Gallina
b1be0eda33 Fix import completion.
* lisp/progmodes/python.el (python-shell-completion-get-completions):
Fix import case regexp.

Fixes: debbugs:18582
2014-10-12 12:12:04 -03:00
Stefan Monnier
4b9d951ee1 * lisp/progmodes/bat-mode.el (bat-font-lock-keywords): Fix \\<_ typo.
Reported by Arni Magnusson <arnima@hafro.is>.
* lisp/progmodes/prolog.el (prolog-electric--underscore): Same.

Fixes: debbugs:18622
2014-10-10 00:03:27 -04:00
Glenn Morris
01058f734a Doc tweaks
* doc/lispref/frames.texi (Multiple Terminals): Copyedits.

* lisp/frame.el (display-monitor-attributes-list): Doc tweaks.

* nt/README.W32, src/ChangeLog.10, src/w32term.c:
Standardize on "taskbar" rather than "task bar", since that is what
most references seem to use; e.g.
http://en.wikipedia.org/wiki/Taskbar
http://windows.microsoft.com/en-us/windows7/products/features/windows-taskbar
2014-10-08 20:47:30 -04:00
Eli Zaretskii
28ec0a87ca Fix bug #18636 with documentation of multi-monitor displays.
doc/lispref/frames.texi (Multiple Terminals): Improve the description of X
 display names.  Add index entries.
 (Basic Parameters): Add a cross-reference to where X display names
 are described.
 (Position Parameters): Mention that positional parameters of the
 form (+ POS) can be negative if they are on a non-primary monitor
 of a multi-monitor display.
 (Creating Frames): Mention that on multi-monitor displays the
 frame might be positioned differently than specified by the frame
 parameters alist.

 lisp/faces.el (display-grayscale-p): Mention in the doc string that
 the argument can be either a display name or a frame.
 lisp/frame.el (display-pixel-height, display-pixel-width)
 (display-mm-height, display-mm-width, display-backing-store)
 (display-save-under, display-planes, display-color-cells)
 (display-visual-class, display-monitor-attributes-list)
 (display-screens): Mention in the doc string that the argument can
 be either a display name or a frame.  Improve the docs of the
 monitor attributes.
2014-10-08 13:16:45 +03:00
Martin Rudalics
e76955cbb5 In term-window-width subtract 1 from width when any fringe has zero width. (Bug#18601)
* term.el (term-window-width): Subtract 1 from the width when
any fringe has zero width, not just the right fringe.  (Bug#18601)
2014-10-06 08:45:10 +02:00
Leo Liu
c938c07bf3 * imenu.el (imenu-default-goto-function): Fix typo. 2014-10-05 08:58:38 +08:00
Glenn Morris
62cd8845a3 Doc tweaks re multi-monitor
* doc/lispref/frames.texi (Multiple Terminals): Copyedits re multiple monitors.

* lisp/frame.el (frame-monitor-attributes, display-monitor-attributes-list):
Doc fixes.
2014-10-03 20:03:52 -07:00
Glenn Morris
caafef5ddc ChangeLog fixes 2014-10-03 09:06:02 -07:00
Dmitry Gutov
c799337f12 Fix vc-svn-ignore
* lisp/vc/vc-svn.el (vc-svn-ignore-completion-table): Implement.
(vc-svn-ignore): Use it.

Fixes: debbugs:18619
2014-10-03 17:15:05 +04:00
Martin Rudalics
f63bd04be9 Mention `frame-resize-pixelwise' to make frames truly fullscreen or maximized.
* frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
In doc-string mention need of setting `frame-resize-pixelwise'.

* frames.texi (Frame Commands):
* cmdargs.texi (Window Size X): Mention the use of
`frame-resize-pixelwise' to make frames truly fullscreen or
maximized.

* frames.texi (Size Parameters, Size and Position): Mention that
with some window managers you have to set
`frame-resize-pixelwise' in order make a frame truly fullscreen
or maximized.
2014-10-03 11:18:49 +02:00
Stefan Monnier
f0db348816 * lisp/vc/vc-svn.el (vc-svn-after-dir-status): Fix the non-remote regexp,
similarly to Roger's 2010-06-12 change for the remote change.

Fixes: debbugs:18605
2014-10-02 20:42:28 -04:00
Glenn Morris
c8ea4b9f3d * package.el (package-import-keyring): Create gnupg directory private.
See bug#17625#155.
2014-10-01 19:39:50 -04:00
Stefan Monnier
85ee81a08f * lisp/progmodes/python.el (python-shell-completion-get-completions):
Use python-shell--prompt-calculated-input-regexp from the
process buffer.
Don't assume that `line' comes from the process buffer.

Fixes: debbugs:18582
2014-09-30 20:41:51 -04:00
Leonardo Nobrega
d3b7a90bc2 * lisp/progmodes/python.el (python-fill-paren): Don't inf-loop at EOB.
Fixes: debbugs:18462
2014-09-30 19:00:57 -04:00
Stefan Monnier
a5426ef3c2 * lisp/emacs-lisp/package.el (package-check-signature): Default to nil if
GPG is not available.
(package-refresh-contents): Don't mess with the keyring if we won't
check the signatures anyway.
2014-09-27 12:25:53 -04:00
Kan-Ru Chen
df2ead390d Fix `fit-window-to-buffer' (Bug#18498).
* window.el (fit-window-to-buffer): When counting buffer width,
count the whole visible buffer.  Correctly convert the body-height
to pixel size for window-text-pixel-size (Bug#18498).
2014-09-18 14:06:17 +02:00
Glenn Morris
d4dc0e1691 * lisp/image.el (image-multi-frame-p): Fix thinko
do not force a delay if none was specified.

Fixes: debbugs:18334
2014-09-14 16:59:57 -07:00
Kan-Ru Chen
c4ea7c9612 Fix fit-window-to-buffer doc-string. 2014-09-12 08:26:46 +02:00
Ivan Shmakov
2776a6502b * lisp/desktop.el (desktop-create-buffer): Check that buffers are still live
before burying them.

Fixes: debbugs:18373
2014-09-09 20:47:20 -04:00
Glenn Morris
d7a3bb022c * calendar/diary-lib.el (diary-list-entries): Restore 24.3 display behavior.
Fixes: debbugs:18381
2014-09-09 14:09:54 -04:00
Eli Zaretskii
da604136b9 Fix mouse-dragging mode lines on text-mode terminals.
lisp/mouse.el (mouse-drag-line): On text-mode frames, count the mode
 line and header line as 1 pixel.  This fixes the 1-"pixel" (row)
 discrepancy between window-pixel-edges and mouse events, and
 avoids moving mode line up when the mouse click is on the modeline
 and no drag is attempted.
2014-09-09 18:00:51 +03:00
Glenn Morris
6e82d877a4 * calendar.el (calendar-basic-setup): Avoid clobbering calendar with diary.
Fixes: debbugs:18381
2014-09-07 22:57:24 -07:00
Stefan Monnier
6ac5571c62 * lisp/vc/vc-dir.el (vc-dir-update): Don't burp in corner case. 2014-09-05 13:37:12 -04:00