1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-04 08:47:11 +00:00
Commit Graph

115611 Commits

Author SHA1 Message Date
Michael Albinus
39e98ed4ff * tramp.texi (Frequently Asked Questions): Add fish shell settings. 2014-03-24 09:09:42 +01:00
Glenn Morris
33f0ba7e49 * src/fileio.c (Ffile_symlink_p): Doc fix.
Fixes: debbugs:17073
2014-03-23 16:38:40 -07:00
Stefan Monnier
f6614a4770 * lisp/simple.el (redisplay-highlight-region-function): Increase priority of
overlay to make sure boundaries are visible.
* src/buffer.c (struct sortvec): Add field `spriority'.
(compare_overlays): Use it.
(sort_overlays): Set it.

Fixes: debbugs:15899
2014-03-23 18:30:47 -04:00
Juanma Barranquero
ee79b33f49 lisp/frameset.el (frameset-restore): Compare display strings with equal. 2014-03-23 23:14:11 +01:00
Juanma Barranquero
3ea2c7811b lisp/frame.el (make-frame): Don't quote display name in error message. 2014-03-23 23:11:59 +01:00
Eli Zaretskii
9729c262eb Fix ChangeLog entry of last commit. 2014-03-23 17:59:15 +02:00
Eli Zaretskii
88c569ef11 Fix bug #17047 with cursor motion when invisible text starts a line.
src/xdisp.c (redisplay_window): If all previous attempts to find the
 cursor row failed, try a few alternatives before falling back to
 the top-most row of the window.  Use row_containing_pos.
2014-03-23 17:57:25 +02:00
Thierry Volpiatto
f1e06f7bff * net/tramp.el (tramp-read-passwd): Suspend the timers while reading
the password.
2014-03-23 10:22:16 +01:00
Dmitry Gutov
2614c1af39 * lisp/emacs-lisp/package.el (package-show-package-list): If the buffer
is already displayed in another window, switch to that window.
2014-03-23 10:35:56 +02:00
Daniel Colascione
a41475e146 Backport memory info in bug reports (2014-03-21T21:27:25Z!dancol@dancol.org) from trunk 2014-03-22 23:16:14 -07:00
Daniel Colascione
e4e40f72f3 Backport memory fix (2014-03-22T03:04:53Z!dancol@dancol.org) from trunk 2014-03-22 23:07:54 -07:00
Daniel Colascione
e611af505f Backport memory fix (2014-03-23T05:15:48Z!dancol@dancol.org) from trunk 2014-03-22 23:05:54 -07:00
Daniel Colascione
7eab98da1b Fix keyword argument parsing. Please bootstrap. 2014-03-22 23:00:18 -07:00
Dmitry Gutov
0ceba22e53 Fix test failure in non-graphical mode
* test/automated/package-test.el (package-test-describe-package):
Fix test failure in non-graphical mode.

Add some missing ChangeLog entries.
2014-03-23 05:26:13 +02:00
Richard M. Stallman
9e37f3b9c3 Backport Yeeloong battery.el fix from trunk
Ref: http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00782.html

* lisp/battery.el (battery-linux-sysfs):
Search for each field from the beginning of the buffer.
2014-03-22 17:08:47 -07:00
Glenn Morris
3e702d1649 * etc/PROBLEMS: Small copyedits. 2014-03-22 15:56:29 -07:00
Glenn Morris
4118be693d * lispref/commands.texi (Defining Commands): Tweak previous change. 2014-03-22 14:41:31 -07:00
Glenn Morris
eb6f0d5663 * lispref/commands.texi (Defining Commands): List interactive-only values. 2014-03-22 12:54:48 -07:00
Dmitry Gutov
1197f2e665 Fix bug#16873
* lisp/emacs-lisp/package.el (package-desc): Use the contents of the
quoted form, not its cdr.
2014-03-22 10:43:30 +02:00
Eli Zaretskii
4568178886 doc/lispref/functions.texi (Core Advising Primitives): Fix cross-reference in last change. 2014-03-22 10:35:03 +02:00
Eli Zaretskii
e74e1d1bf8 Revert last commit. 2014-03-22 10:28:20 +02:00
Matthias Dahl
7c326d7116 Fix bug #16694 with face attributes changed by themes.
lisp/faces.el (face-spec-recalc): Doc fix.  Call
 make-face-x-resource-internal earlier, and condition that on
 no-init-from-resources being nil.
2014-03-22 10:18:42 +02:00
Juanma Barranquero
aac06179d8 lisp/w32-common-fns.el (x-selection-owner-p): Get documentation from DOC.
Add empty docstring for the benefit of doc.c; change parameter profile
to match the X function.
2014-03-22 01:24:00 +01:00
Stefan Monnier
0c0ec04163 * doc/lispref/functions.texi (Advising Functions): Explain a bit more how
arguments work.
(Advice combinators): New node.
(Core Advising Primitives): Use it.  Expand description of "depth".
(Advising Named Functions): Document limitation of advices on macros.
2014-03-21 17:47:52 -04:00
Michael Albinus
1e92a8a3aa * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
and `tramp-copy-env'.

* net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
  (tramp-maybe-open-connection): Handle `tramp-login-env'.
2014-03-21 14:02:25 +01:00
YAMAMOTO Mitsuharu
fef27dc1ad Fix regression introduced by patch for Bug#10500.
* xterm.c (x_draw_image_relief): Respect Vtool_bar_button_margin.
* w32term.c (x_draw_image_relief): Likewise.
2014-03-21 19:14:10 +09:00
Martin Rudalics
21e18b30e2 Truly maximize w32 frames with odd fonts and some texi fixes.
* w32fns.c (w32_wnd_proc): For WM_WINDOWPOSCHANGING don't
constrain frame size in SW_SHOWMAXIMIZED case so we can truly
maximize a frame for odd default fonts.
* frames.texi (Size and Position): In `frame-resize-pixelwise'
description drop remark about frame maximization.
* windows.texi (Display Action Functions): Add description for
`display-buffer-no-window' and explain use of `allow-no-window'
alist entries.
2014-03-21 10:23:22 +01:00
Glenn Morris
78540c42f1 * lisp/electric.el (electric-indent-post-self-insert-function): Add doc. 2014-03-21 00:19:21 -07:00
Glenn Morris
9ee59bca7a * lispref/commands.texi (Defining Commands): Copyedit re `interactive-only'. 2014-03-21 00:06:55 -07:00
Glenn Morris
f167458b5e Tiny doc/misc edits
* doc/misc/ede.texi (ede-linux):
* doc/misc/vip.texi (New Bindings): Tiny copyedits.
2014-03-21 00:00:21 -07:00
Glenn Morris
3e77f05d91 Add some standard finder Keywords: to lisp/nxml/*.el. 2014-03-20 23:56:55 -07:00
Dmitry Gutov
dcf7866712 Fix bug#16826
* lisp/emacs-lisp/package.el (package-compute-transaction):
Use `version-list-<=' to compare the requirement version against
the package version already to be installed.  Update the error
message.
2014-03-21 08:06:52 +02:00
Dmitry Gutov
1fc8f6559a Fix bug#17050
* lisp/progmodes/ruby-mode.el (ruby-smie-rules):
Add indentation rule for ` @ '.
2014-03-21 06:26:39 +02:00
Juanma Barranquero
dada060d9f lisp/*.el: Fix typos.
* lisp/align.el (align-regexp): Remove superfluous backslash.

* lisp/ffap.el (ffap-ftp-default-user, ffap-url-regexp)
  (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
  (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
  Fix docstring typos.
  (ffap-next): Use C-u in docstring.
  (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
  (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
  Remove superfluous backslashes.
  (ffap-string-at-point): Reflow docstring.

* lisp/server.el (server-host): Reflow docstring.
  (server-unload-function): Fix docstring typo.
  (server-eval-at): Remove superfluous backslash.

* lisp/skeleton.el (skeleton-insert): Remove superfluous backslash.
  (skeleton-insert): Doc fix.
  (skeleton-insert): Reflow docstring.

* lisp/term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
  (tty-color-approximate, tty-color-by-index, tty-color-values)
  (tty-color-desc): Remove superfluous backslashes.
2014-03-21 02:12:57 +01:00
Paul Eggert
1271626ab5 Backport doc.c fix from trunk.
* doc.c (store_function_docstring): Fix pointer signedness mismatch.
2014-03-20 17:10:29 -07:00
Paul Eggert
a2326811fc Backport doc fix from trunk.
* internals.texi (C Integer Types): Prefer 'false' and 'true'
to '0' and '1' for booleans.
2014-03-20 16:15:19 -07:00
Stefan Monnier
b88eed604a * electric.el (global-map): Really bind C-j.
Fixes: debbugs:16770
2014-03-20 18:00:20 -04:00
Stefan Monnier
494ec1e71d * lisp/electric.el (electric-newline-and-maybe-indent): New command.
Bind it globally to C-j.
(electric-indent-mode): Don't mess with the global map any more.
Don't drop the post-self-insert-hook is some buffer is still using it.
* lisp/bindings.el (global-map): Remove C-j binding.

Fixes: debbugs:16770
2014-03-20 13:14:45 -04:00
Stefan Monnier
049fac7c94 * lisp/emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
the docstring of functions advised before dumping.
* src/doc.c (store_function_docstring): Warn when we don't know where to
put a docstring.
(Fsubstitute_command_keys): Don't advertise the fact that
text-properties are dropped, since we think it's a bug that we'll fix
in 24.5.

Fixes: debbugs:16993
2014-03-20 12:00:17 -04:00
Stefan Monnier
caecb91c58 * src/frame.h (SET_FRAME_VISIBLE): Keep frame_garbaged up to date.
* src/xterm.c (handle_one_xevent) <MapNotify>: Don't garbage the frame.
* src/frame.c (frame_garbaged): Make "docstring" more precise.
2014-03-20 10:09:37 -04:00
Glenn Morris
7b9cb54487 * src/charset.c (init_charset): When we cannot find the charsets directory,
mention if EMACSDATA is set.
2014-03-19 21:21:52 -04:00
Glenn Morris
f15ec1bac8 Mark tiny change 2014-03-19 21:20:15 -04:00
Paul Eggert
c7dff2f665 * numbers.texi: Improve and clarify a bit, and fix some minor bugs.
Remove now-obsolete hypothetical note about negative division,
as the C standard has changed.
2014-03-19 14:21:01 -07:00
Paul Eggert
d16ae62288 * fns.c (Frandom): Fix rare bug where the result isn't random. 2014-03-19 14:14:32 -07:00
Paul Eggert
37ca907722 Fix porting inconsistency about rounding to even.
* doc/lispref/numbers.texi (Numeric Conversions, Rounding Operations):
Document that 'round' and 'fround' round to even.
* src/floatfns.c (emacs_rint) [!HAVE_RINT]: Round to even.
This way, the unusual !HAVE_RINT case acts like the usual
HAVE_RINT case, and we can fix the documentation accordingly.
2014-03-19 14:09:08 -07:00
Stefan-W. Hahn
6a72e40553 * lisp/ps-print.el (ps-generate-postscript-with-faces):
Explicitly deactivate the mark.
* lisp/simple.el (deactivate-mark): Update region highlight.

Fixes: debbugs:16866
2014-03-19 15:12:50 -04:00
Eli Zaretskii
722493d794 Fix minor memory-related problems on MS-Windows revealed by Dr. Memory.
src/w32fns.c (reset_modifiers): Zero out keystate[] before using it.
 (w32_wnd_proc): Initialize the dwHoverTime member of
 TRACKMOUSEEVENT structure.
2014-03-19 19:43:18 +02:00
Juanma Barranquero
f88bdc45e0 lisp/emacs-lisp/package.el (describe-package-1): Decode commentary (bug#16733). 2014-03-19 17:14:26 +01:00
Juanma Barranquero
51a7978ae8 lisp/iimage.el: Remove obsolete URL from Commentary (bug#17038). 2014-03-19 03:24:51 +01:00
Juanma Barranquero
6b88e570d8 Recommend not modifying :set's value arg in defcustom (bug#16755).
* doc/lispref/customize.texi (Variable Definitions):
* lisp/custom.el (defcustom): Recommend avoiding
  destructive modification of the value argument of :set.
2014-03-19 00:31:17 +01:00