1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-23 07:19:15 +00:00
Commit Graph

115614 Commits

Author SHA1 Message Date
Paul Eggert
acc112c7a7 * mule.texi (International, Language Environments): Update
the list of language environments to what Emacs currently
supports.  Add the full list to the index.  Suggest C-h L for
details rather than trying to give very brief details here.
2014-03-12 22:27:28 -07:00
Glenn Morris
6cd46bdb24 * nextstep/templates/Info.plist.in: Make it strictly valid xml.
Fixes: debbugs:17002
2014-03-12 20:43:30 -04:00
Juanma Barranquero
a5765a3dc2 lisp/register.el (register-separator, copy-to-register): Doc fixes.
(register-preview-default): Remove unnecessary call to concat.
2014-03-12 22:16:34 +01:00
Glenn Morris
46e3f6b506 * doc/emacs/cmdargs.texi (General Variables): Don't mention INCPATH,
from the obsolete complete.el.
2014-03-12 17:00:36 -04:00
Glenn Morris
e51f0cb2a1 * doc/misc/eww.texi (History and Acknowledgments): Don't list everyone
who changed the code.

It was a nice gesture, but seems likely to just become a pain to keep
up-to-date.  Also not really needed, given ChangeLogs and VCS logs.
2014-03-12 16:57:34 -04:00
Glenn Morris
d29fbf47e4 Use @file for buffers, per the Texinfo manual
* doc/misc/ada-mode.texi, doc/misc/auth.texi, doc/misc/calc.texi:
* doc/misc/ebrowse.texi, doc/misc/efaq.texi, doc/misc/emacs-gnutls.texi:
* doc/misc/epa.texi, doc/misc/ert.texi, doc/misc/eshell.texi:
* doc/misc/eww.texi, doc/misc/flymake.texi, doc/misc/gnus.texi:
* doc/misc/info.texi, doc/misc/message.texi, doc/misc/mh-e.texi: 
* doc/misc/newsticker.texi, doc/misc/pcl-cvs.texi, doc/misc/rcirc.texi:
* doc/misc/sem-user.texi, doc/misc/smtpmail.texi, doc/misc/url.texi:
* doc/misc/viper.texi, doc/misc/wisent.texi, doc/misc/woman.texi: 
Use @file for buffers, per the Texinfo manual.
2014-03-12 16:52:34 -04:00
Glenn Morris
991f63c0f4 Fix ChangeLog typo 2014-03-12 16:47:03 -04:00
Juanma Barranquero
d27a1a7b39 lisp/frameset.el: Optimize check for visible frame.
(frameset-restore): When checking for a visible frame,
use the action map instead of calling visible-frame-list.
2014-03-12 19:36:26 +01:00
Jonas Bernoulli
08dfa0b75e lisp/emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998). 2014-03-12 16:02:45 +01:00
Martin Rudalics
8960529e6b Two adjustments in window/frame resizing.
* frame.c (x_set_frame_parameters): Always calculate new sizes
pixelwise to avoid potential loss when rounding.
* window.el (fit-frame-to-buffer): Get maximum width from
display's width instead of height.
2014-03-12 08:28:23 +01:00
Glenn Morris
e2bd66b7a1 * doc/emacs/misc.texi (Saving Emacs Sessions): Make previous change
slightly less brief.
2014-03-12 00:26:07 -07:00
Paul Eggert
9cb1f379d1 * org.texi: Don't set txicodequoteundirected and txicodequotebacktick
so that the Org Manual's style for ` and ' in code is consistent
with the other Emacs manuals.  This affects PDF, not .info files.
2014-03-12 00:20:43 -07:00
Glenn Morris
464560055f Some doc edits related to desktop-restore-frames
* doc/emacs/misc.texi (Saving Emacs Sessions):
Be briefer about desktop's handling of frames.
The manual does not need to mention every option, nor should
it just repeat the doc-strings.

* lisp/desktop.el (desktop-restore-frames)
(desktop-restore-in-current-display, desktop-restore-forces-onscreen)
(desktop-restore-reuses-frames): Doc tweaks.

* etc/NEWS: Related edits.
2014-03-12 00:14:30 -07:00
Paul Eggert
7195b84120 * mule.texi (International Chars): Adjust C-u C-x = description.
Change it to match Emacs's current behavior.  Also, change the
example to use ê instead of À, as the isolated grave accent in the
latter's decomposition listing was confusingly transliterated to
left single quote in the PDF version of the manual.
2014-03-12 00:03:40 -07:00
Glenn Morris
e655facf8d * doc/misc/octave-mode.texi (Using Octave Mode): Remove outdated stuff
about RET and indentation.  E.g., octave-reindent-then-newline-and-indent
was removed three years ago.

When you delete commands, please use grep to check for references to them.
2014-03-11 23:52:54 -07:00
Glenn Morris
8a51e8e417 * emacs/indent.texi (Indent Convenience): Mention electric-indent-local-mode.
* lisp/electric.el (electric-indent-mode): Doc fix.

* etc/NEWS: Related markup.
2014-03-11 23:48:20 -07:00
Juanma Barranquero
5983b317f4 lisp/vc/pcvs*.el: Fix typos.
* lisp/vc/pcvs-defs.el (cvs-auto-remove-handled)
(cvs-auto-remove-directories, cvs-default-ignore-marks)
(cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
(cvs-execute-single-dir): Fix docstring typos.

* lisp/vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
(cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.

* lisp/vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.

* lisp/vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
Fix docstring typos.

* lisp/vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
(cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
(cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
(cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
(cvs-dired-use-hook): Fix docstring typos.
(cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
Doc fixes.
2014-03-12 05:00:03 +01:00
Juanma Barranquero
13c00cf02f lisp/frameset.el (frameset--jump-to-register): Add autoload. 2014-03-12 03:21:09 +01:00
Stefan Monnier
536a17e3c6 * lisp/simple.el (set-mark): Ensure mark-active is nil if the mark is nil.
Deactivate the mark before setting it to nil.
(activate-mark): Do nothing if region is already active.

Fixes: debbugs:16975
2014-03-11 13:10:07 -04:00
Martin Rudalics
3d8bb58a99 Add comment for 2014-03-10T10:31:13Z!rudalics@gmx.at and 2014-03-10T18:53:39Z!rudalics@gmx.at. 2014-03-11 08:20:49 +01:00
Dmitry Antipov
b0b486db04 * xfns.c (x_set_mouse_color): Recolor vertical_drag_cursor.
* xterm.c (x_free_frame_resources): Free all allocated cursors.
2014-03-11 10:50:01 +04:00
Juanma Barranquero
baf8d0ac7d lisp/frameset.el: Let-bind frameset--target-display.
* frameset.el (frameset--target-display): Remove definition; declare.
(frameset-save, frameset-restore): Let-bind frameset--target-display.
2014-03-11 02:44:51 +01:00
Stefan Monnier
1ea2256000 * lisp/emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
(advice-add): Add a :advice--pending marker, so advice--make-1 knows
when the advice is pending.
(advice-remove): Remove this marker when not needed any more.
2014-03-10 21:22:24 -04:00
Juanma Barranquero
4538c058d0 lisp/frameset.el: Separate frame reusing from cleaning up.
* lisp/desktop.el (desktop-restore-forces-onscreen)
  (desktop-restore-reuses-frames): Use non-keyword values.
  (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.

* lisp/frameset.el: Separate options for reusing frames and cleaning up.
  (frameset--reuse-list): Remove definition; declare.
  (frameset--action-map): Declare.
  (frameset--find-frame-if): Doc fix.
  (frameset--restore-frame): Cache frame action.
  (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
  how to clean up the frame list after restoring.  Remove cleaning
  options from REUSE-FRAMES.  Change all keyword values to symbols.
  (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
2014-03-11 01:46:07 +01:00
Martin Rudalics
f38145ba81 Revert last change to w32_read_socket. 2014-03-10 19:53:39 +01:00
Glenn Morris
776aa43207 * lisp/files.el (find-file): Doc fix: update info node name. 2014-03-10 14:48:35 -04:00
Glenn Morris
ba1a5c78f2 * lisp/emacs-lisp/advice.el (ad-add-advice, defadvice): Doc fix
remove references to deleted info nodes.
2014-03-10 14:16:13 -04:00
Paul Eggert
4cafb413cc Fix "\" problem in tutorials by using natural-language quotes.
* tutorials/TUTORIAL, tutorials/TUTORIAL.cs, tutorials/TUTORIAL.eo:
* tutorials/TUTORIAL.es, tutorials/TUTORIAL.it, tutorials/TUTORIAL.ja:
* tutorials/TUTORIAL.ko, tutorials/TUTORIAL.nl, tutorials/TUTORIAL.pl:
* tutorials/TUTORIAL.pt_BR, tutorials/TUTORIAL.ro:
* tutorials/TUTORIAL.ru, tutorials/TUTORIAL.sk, tutorials/TUTORIAL.sv:
* tutorials/TUTORIAL.th:
Avoid using ` for natural-language quotes.  Instead, work around
the problem with "\" by using non-" quotation marks appropriate
for the natural language in question, e.g., «...» for Spanish.
For English “...” could be used, but use '...' instead so that
TUTORIAL continues to be encoded in ASCII.
2014-03-10 11:12:25 -07:00
Juanma Barranquero
6ecdd988b1 doc/lispref/ChangeLog: Add bug reference. 2014-03-10 18:33:52 +01:00
Eli Zaretskii
316d9327d7 src/w32.c (stat_worker): Fix commentary. 2014-03-10 19:31:17 +02:00
Eli Zaretskii
70db0db7bf Fix an obscure bug in fstatat on Windows 9X.
src/w32.c (fstatat): Don't add an extra slash if the argument ends
 with a slash: this fails the subsequent call to stat_worker on
 Windows 9X.  Reported by oslsachem <oslsachem@gmail.com>.
2014-03-10 19:26:45 +02:00
Glenn Morris
4f9700e529 In tutorials, replace "\" with `\'
Otherwise Emacs can get confused and think the rest of the buffer is
a string.
2014-03-10 09:00:15 -07:00
Glenn Morris
5b7853e3c8 Add missing NEWS entry 2014-03-10 08:49:01 -07:00
Bastien Guerry
265c290e5e * tutorials/TUTORIAL.fr: Adapt to the recent changes in TUTORIAL. 2014-03-10 15:05:54 +01:00
Michael Albinus
183d706e35 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
Do not add `nil' to the environment, when there's no remote `locale'.
(tramp-find-inline-encoding): Check, that the remote host has
installed perl, before sending scripts.
2014-03-10 14:36:39 +01:00
Martin Rudalics
d988d8a475 Unconditionally set visibility to 1 when restoring frame size (Bug#16967).
* w32term.c (w32_read_socket): In SIZE_RESTORED case
unconditionally set visibility of frame to 1.
2014-03-10 11:31:13 +01:00
Leo Liu
6f0f96e756 * emacs-lisp/eldoc.el (eldoc-minibuffer-message): Clear
eldoc-last-message.

Fixes: debbugs:16920
2014-03-10 13:33:31 +08:00
Stefan Monnier
ca70fe789c * lisp/desktop.el (desktop-create-buffer): Don't run activate-mark-hook.
Fixes: debbugs:14430
2014-03-09 22:18:29 -04:00
Juanma Barranquero
f11352e68b lib-src/emacsclient.c (main): #ifdef out previous change on Windows. 2014-03-10 01:09:30 +01:00
Juanma Barranquero
8cf07e5a55 etc/ChangeLog: Add missing bug reference.
doc/emacs/ChangeLog, doc/lispref/ChangeLog, lisp/ChangeLog*: Fix typos.
2014-03-10 00:55:11 +01:00
Paul Eggert
d050de754c Fix emacsclient terminal corruption when in background.
* emacsclient.c (handle_sigcont): Check for tcgetpgrp failure.
Cancel the continue only if tty.  Send SIGTTIN to the process
group, not SIGSTOP to self, as this is what the glibc manual
recommends.
(main): If tty, and if started in the background, send SIGTTIN
to the process group.

Fixes: debbugs:16892
2014-03-09 15:38:15 -07:00
Juri Linkov
eb67db4111 * lisp/ansi-color.el (ansi-color-names-vector): Copy default colors
from `xterm-standard-colors' that look well on the default white
background (and also on the black background) to avoid illegible
color combinations like yello-on-white and white-on-white.
http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
2014-03-09 23:55:35 +02:00
Martin Rudalics
7e940b6546 Update docs for window dividers and `window-text-pixel-size'.
* xdisp.c (Fwindow_text_pixel_size): Adjust doc-string.
* elisp.texi (Top): Rename section "Width" to "Size of Displayed
Text".
* text.texi (Primitive Indent):
* strings.texi (String Basics):
* sequences.texi (Sequence Functions): Update references
accordingly.
* display.texi (Size of Displayed Text): Rename section from
"Width".  Add description for `window-text-pixel-size'.
(Window Dividers): Reword description of window dividers.
* frames.texi (Layout Parameters): Improve description of window
divider parameters.
* windows.texi (Window Sizes): Add descriptions of
`window-mode-line-height' and `window-header-line-height'.
(Coordinates and Windows): Mention window dividers.
2014-03-09 12:36:51 +01:00
Juanma Barranquero
e7db54476d lisp/frameset.el: Avoid computing frame-list unnecessarily.
(frameset-restore): When no frame is visible, do not generate
a list of frames, just make visible the selected one.
2014-03-08 23:26:20 +01:00
Luis Felipe López Acevedo
7359e7a832 etc/tutorials/TUTORIAL.es: Fix typos. 2014-03-08 21:12:42 +01:00
Jan Djärv
e61a31bf99 * nsterm.h (MAC_OS_X_VERSION_10_9): Add.
* nsterm.m (constrainFrameRect:toScreen:): Constrain normally when frame
is only on one screen.

Fixes: debbugs:14713
2014-03-08 16:49:59 +01:00
Eli Zaretskii
281ae1808d src/xdisp.c (Fmove_point_visually): Fix previous change.
Fixes: debbugs:16961
2014-03-08 15:18:43 +02:00
Eli Zaretskii
2c65ad215a Fix more failures of visual-order cursor movement under word-wrap (bug#16961).
src/xdisp.c (move_it_in_display_line_to): If word-wrap is ON, and
 there's a valid wrap point in the display line, the last glyph
 cannot "just barely fit" on this row, because display_line doesn't
 let it.  Instead, proceed as if the last glyph didn't fit, so that
 we eventually back up the iterator to the wrap point.  This avoids
 delusional behavior of move_it_to, whereby it proceeds to the next
 display line, but sets current_x to zero for all the glyphs that
 without word-wrap would fit on the previous display line.  One
 result was that visual-order cursor movement behaved erratically
 under word-wrap.
 (Fmove_point_visually): Add code to find the x coordinate of the
 last character before wrap point, under word-wrap on a TTY.
2014-03-08 12:54:43 +02:00
Eli Zaretskii
543d692e4f tutorials/TUTORIAL.he: Adapt to the recent changes in TUTORIAL. 2014-03-08 10:28:43 +02:00
Dmitry Gutov
f0a4c8d764 Fix #16897
* lisp/vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
it only contains the repository root.
2014-03-08 08:56:22 +02:00