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

115438 Commits

Author SHA1 Message Date
Lars Ingebrigtsen
4571592624 lisp/gnus/gnus-group.el (gnus-group-make-group): Clarify prompt 2014-03-05 22:54:48 +00:00
Glenn Morris
41dc0fed82 Tweak previous tweak 2014-03-05 15:35:38 -05:00
Glenn Morris
bdd85f3177 * configure.ac: Tweak the "unported" error message.
"Has not been ported to" usually isn't quite correct these days.
Eg it could be an old platform that we dropped support for.
2014-03-05 14:57:36 -05:00
Glenn Morris
f889ebcefa Fix ChangeLog bug# typo 2014-03-05 14:04:44 -05:00
Glenn Morris
2a55bc7ab5 * lisp/progmodes/sh-script.el: Fix whitespace in previous change. 2014-03-05 14:02:55 -05:00
Glenn Morris
bd2d43dc74 Recognize dash shell
* lisp/files.el (interpreter-mode-alist):
* lisp/progmodes/sh-script.el (sh-ancestor-alist): Add dash.

Fixes: debbugs:16938
2014-03-05 13:58:16 -05:00
Lars Ingebrigtsen
6952100dc3 (eww-textarea-map): [tab] doesn't work on tty.
Reported by Mario Lang.

* net/shr.el (shr-map): Ditto.
2014-03-05 19:44:58 +01:00
Glenn Morris
dffe37a8b1 * etc/NEWS: Fix paren typo from earlier change 2014-03-05 09:14:48 -08:00
Juanma Barranquero
9284000e10 lisp/frameset.el (frameset--initial-params): Filter out null entries. 2014-03-05 17:22:47 +01:00
Martin Rudalics
e1a2cb1ce5 Various window code related fixes and documentation changes.
* dispnew.c (change_frame_size_1): Add new_lines instead of
new_height, the latter may be still zero if passed as such.
* window.c (Fwindow_pixel_height): Mention bottom divider in
doc-string.
* window.el (window-min-height, window-min-width): Rewrite
doc-strings.
(window-body-size): Add PIXELWISE argument to make it consistent
with its callees.
* display.texi (Window Dividers): New section.
* frames.texi (Layout Parameters): Add right-divider-width and
bottom-divider-width.
* windows.texi (Window Sizes): Redraw schematic and rewrite its
description.  Rewrite descriptions of `window-total-height',
`window-total-width', `window-total-size', `window-body-height',
`window-body-width' and `window-size-fixed'.  Add descriptions
for `window-pixel-height', `window-pixel-width',
`window-min-height' and `window-min-width'.  Remove description
of `window-size-fixed-p' moving part of it to that of
`window-size-fixed'.
(Resizing Windows): Mention dividers when talking about minimum
sizes.
2014-03-05 14:50:48 +01:00
Juanma Barranquero
6bf67038d9 lisp/finder.el: Revert part of 2014-02-28 change. 2014-03-05 14:09:17 +01:00
Lars Ingebrigtsen
90f04e4c85 * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
* net/eww.el (eww-mode-map): [tab] doesn't work on tty.
(eww-setup-buffer): Clear next/prev/etc more reliably.
2014-03-05 13:39:13 +01:00
Glenn Morris
47b73b35c1 Try to document some smie changes
* doc/lispref/modes.texi (SMIE Customization): New section.

* doc/lispref/elisp.texi (Top): Update detailed menu.

* etc/NEWS: Related edits.
2014-03-04 23:41:48 -08:00
Bastien Guerry
65cdacb51b Revert 2014-03-04T14:33:56Z!bzg@gnu.org.
Thanks to Leo for reporting this.
2014-03-05 08:04:01 +01:00
Paul Eggert
e6e8a5eb4d Fix "resource temporarily unavailable" with xgselect.
* xgselect.c: Include <stdbool.h>.
(xg_select) [!USE_GTK]: Don't lose track of errno.

Fixes: debbugs:16925
2014-03-04 22:31:57 -08:00
Paul Eggert
d2f720acf5 Fix minor --enable-gcc-warnings issues.
* widget.c (update_various_frame_slots, EmacsFrameResize):
Avoid unused locals.  Prefer 'if' to '#if' when either will do.
2014-03-04 22:28:20 -08:00
Paul Eggert
59587ee455 Fix configuration bug on Solaris 2.5.1.
* configure.ac: Fix a bug in shell pattern matching that caused
'configure' to treat Solaris 2.5.1 as if it were Solaris 10 or later.

Fixes: debbugs:16896
2014-03-04 18:39:05 -08:00
Ken Brown
94a089b5f8 Further follow-up to last change in gmalloc.c.
* src/gmalloc.c (aligned_alloc): Clarify the code by making `adj'
represent the actual adjustment needed for alignment.
2014-03-04 14:02:49 -05:00
Eli Zaretskii
201572eca8 Follow-up improvements for last change in gmalloc.c.
src/gmalloc.c (aligned_alloc): Don't allocate more memory than
 needed, and don't reallocate if the initial allocation already
 fits the bill.  Suggested by Ken Brown <kbrown@cornell.edu>.

Fixes: debbugs:16901
2014-03-04 19:35:15 +02:00
Glenn Morris
3106d59bce * minibuffer.el (completion-hilit-commonality): Revert 2014-03-01 short-cut,
which changed the return value.

Fixes: debbugs:16933
2014-03-04 09:01:37 -08:00
Juanma Barranquero
f604dfdc36 lisp/hilit-chg.el (hilit-chg-unload-function): New function.
(highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
(hilit-chg-map-changes): Prefer cardinal number to digit.
(hilit-chg-display-changes): Reflow docstring.
(highlight-changes-rotate-faces): Remove superfluous backslash.
2014-03-04 16:07:59 +01:00
Michael Albinus
5dc65319bc * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
`tramp-send-command-and-check'.
2014-03-04 15:40:38 +01:00
Bastien Guerry
c3701c7d94 minibuffer.el (minibuffer-completion-help): Use 0 as thefallback value for `base-size'
* minibuffer.el (minibuffer-completion-help): Use 0 as the
fallback value for `base-size'.  (Bug#16933)
2014-03-04 15:33:56 +01:00
Juanma Barranquero
b01fa8381f lisp/hexl.el: Fix typos in docstrings.
(hexl-address-region, hexl-ascii-region)
(hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
(hexl-backward-short, hexl-forward-short, hexl-backward-word)
(hexl-forward-word, hexl-previous-line, hexl-next-line):
Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
(hexl-mode): Doc fix.
(hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
(hexl-mode-ruler): Fix typos in docstrings.
2014-03-04 15:13:41 +01:00
Juanma Barranquero
4242d21d55 lisp/strokes.el: Fix typos.
(strokes-xpm-header, strokes-rate-stroke): Fix typos.
(strokes-character, strokes-get-grid-position, strokes-list-strokes):
Remove superfluous backslashes.
(strokes-last-stroke, strokes-global-map, strokes-mode):
Reflow docstrings.
(strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
(strokes-xpm-for-compressed-string): Use quotes with buffer name.
(strokes-distance-squared, strokes-global-set-stroke)
(strokes-global-set-stroke-string): Doc fixes.
(strokes-help): Fix typos; reflow docstring.
2014-03-04 14:01:48 +01:00
YAMAMOTO Mitsuharu
a55130ca10 * xterm.c (x_draw_stretch_glyph_string): Reset clipping. (Bug#16932) 2014-03-04 20:02:36 +09:00
Martin Rudalics
87132570ad Fix some window code related doc-string and info entries.
* window.el (window-in-direction): Fix doc-string.
* windows.texi (Windows and Frames): Add some missing &optional
designators.  Adjust description of window-in-direction.
2014-03-04 11:44:46 +01:00
Glenn Morris
c60ed8728a * lisp/cedet/semantic/util.el (semantic-complete-symbol):
Replace use of obsolete argument of display-completion-list.
2014-03-04 00:37:48 -08:00
Glenn Morris
d82e752c05 Small smie.el doc and fix
* lisp/emacs-lisp/smie.el (smie-config-guess): Doc fix.
Explicit error if no grammar.
(smie-config-save): Doc fix.  Fix quote typo.

* etc/NEWS: Related edit.
2014-03-04 00:35:11 -08:00
Stefan Monnier
8d4901dc71 * lisp/electric.el (electric-indent-mode-has-been-called): Remove.
(electric-indent-mode): Fix accordingly.
* lisp/progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
electric-indent-mode-hook if we obey electric-indent-mode.
(c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
decide whether we obey electric-indent-mode.
(c-change-set-fl-decl-start, c-extend-after-change-region):
Silence warnings.
(c-electric-indent-mode-hook): Assume we do want to obey
electric-indent-mode.
2014-03-03 23:03:34 -05:00
Stefan Monnier
092c12b253 * lisp/files.el (hack-local-variables): Mention file name in warning. 2014-03-03 22:26:17 -05:00
Stefan Monnier
62528af05e * lisp/htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message. 2014-03-03 22:18:55 -05:00
Michal Nazarewicz
5b87d0d9cd * binding.el: Add comment describing why C-d binds to `delete-char'.
* lisp/simple.el (delete-forward-char): Mark as interactive-only.
* src/cmds.c (delete-char): Update docstring pointing out that the
function ignores `delete-active-region' and `overwrite-mode'.
2014-03-03 22:14:11 -05:00
Eli Zaretskii
757c70af04 Fix bug #16930 with broken build --without-x.
src/font.c (Fframe_font_cache): Fix last change.
2014-03-03 21:58:20 +02:00
Juanma Barranquero
c19ad068c5 doc/misc/*.texi: Fix typos and whitespace.
* doc/misc/ede.texi (Android projects):
* doc/misc/eieio.texi (Class Options, Making New Objects)
  (Method Invocation, CLOS compatibility):
* doc/misc/sem-user.texi (Tag Decoration Mode): Fix typos.

* doc/misc/gnus.texi:
* doc/misc/semantic.texi: Fix whitespace.
2014-03-03 18:15:42 +01:00
Glenn Morris
f2d2402ec6 ChangeLog entries should be usable without the VCS 2014-03-03 09:03:32 -08:00
Eli Zaretskii
bd650c2420 Fix crashes in lisp_align_free in a build with GC_MCHECK.
src/gmalloc.c (aligned_alloc): Fix adjustment of size of the
 allocated buffer due to alignment.
 (freehook): If the block to be freed was allocated by
 'aligned_alloc', find its real pointer before calling 'free'.
 (mabort) [emacs]: Call 'emacs_abort', not 'abort', to provide a
 backtrace.

Fixes: debbugs:16901
2014-03-03 18:46:36 +02:00
Dmitry Antipov
19dae293f9 Avoid crashes when X fonts are erroneously freed on reused X
'Display *' connection data (Bug#16069).  Note that X font
resources still may be leaked, but currently there is no way
to completely avoid it.
* xterm.h (struct x_display_info): New member x_id.  Add comments.
* xterm.c (x_display_id): New variable.
(x_term_init): Assign identifier to each opened X connection.
* xfont.c (struct xfont): New member x_display_id.
(xfont_open): Initialize it with frame's display id.
(xfont_close): Check whether font's display id matches the one
recorded for the given display.  Adjust comment.
* xftfont.c (struct xftfont_info):
(xftfont_open, xftfont_close): Exactly as above with xfont stuff.
2014-03-03 12:27:58 +04:00
Dmitry Antipov
8c1c761122 * font.c (toplevel): Adjust comment about font cache layout.
(font_clear_cache): Fix to match real font cache layout.
Suggested by <namespace_collision@yahoo.com> in Bug#16069.
(Fframe_font_cache) [FONT_DEBUG]: New function.
(syms_of_font) [FONT_DEBUG]: Defsubr it.
2014-03-03 11:46:08 +04:00
Paul Eggert
fbaddd63ab Spelling fixes. 2014-03-02 21:12:12 -08:00
Juanma Barranquero
35e951cd4b */ChangeLog: Trivial fixes. 2014-03-03 05:57:26 +01:00
Juanma Barranquero
542a38406d lisp/icomplete.el (icomplete-completions): Follow-up to 2014-03-01T01:25:29Z!lekktu@gmail.com. 2014-03-03 04:40:48 +01:00
Juanma Barranquero
d11320e517 lisp/icomplete.el, lisp/ido.el: Doc fixes.
lisp/icomplete.el: Miscellaneous doc fixes.
Use Icomplete everywhere instead of icomplete for consistency.
(icomplete-max-delay-chars): Fix typo.
(icomplete-mode): Use \[].
(icomplete-tidy, icomplete-exhibit): Reflow.
(icomplete-minibuffer-setup-hook, icomplete-completions):
Remove superfluous backlashes.

lisp/ido.el: Miscellaneous doc fixes.
Use Ido everywhere instead of ido or `ido' for consistency.
(ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
(ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
(ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
(ido-separator): Extract obsolescence info from docstring and declare
with make-obsolete-variable.
(ido-minibuffer-setup-hook): Simplify example.
(ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
(ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
(ido-completion-help, ido-completing-read): Fix typos in docstrings.
(ido-everywhere): Reflow docstring.
(ido-toggle-vc): Doc fix.
(ido-switch-buffer, ido-find-file): Use tabs to improve legibility
of long list of keybindings.
2014-03-03 03:27:08 +01:00
Glenn Morris
185fbd2762 * etc/NEWS: Tweak previous change. 2014-03-02 17:41:28 -08:00
Glenn Morris
b20e120e69 * etc/NEWS: Minor edit 2014-03-02 17:16:58 -08:00
Glenn Morris
7ebd57e9d6 Minor doc tweaks for display-*-width, height
* lisp/frame.el (display-pixel-height, display-pixel-width)
(display-mm-dimensions-alist, display-mm-height)
(display-mm-width): Doc tweaks.

* doc/lispref/frames.texi: Remove FIXME comments.  The x- versions of
these functions are internal details that do not need documenting.

* etc/NEWS: Related markup.
2014-03-02 17:00:27 -08:00
Barry O'Reilly
62d81bd7cb * markers.texi (Moving Marker Positions): Clarify guidance about
when to move markers and when to create a new one, as discussed at
http://debbugs.gnu.org/cgi/bugreport.cgi?bug=16818#17
2014-03-02 12:49:02 -05:00
Barry O'Reilly
e3d090b4c5 * simple.el (undo-elt-in-region): Fix buffer corruption for edge
case of undo in region.
* automated/undo-tests.el (undo-test-in-region-not-most-recent):
Add new test of undo in region.
(undo-test-in-region-eob): Add test case described at
http://debbugs.gnu.org/cgi/bugreport.cgi?bug=16411#41
2014-03-02 12:37:32 -05:00
Martin Rudalics
b923819c10 In fit-window-to-buffer fix argument in window-size call.
* window.el (fit-window-to-buffer): Fix argument in window-size
call when window is horizontally combined.
2014-03-02 13:04:29 +01:00
Xue Fuqiao
209fcf3d83 * doc/misc/sem-user.texi (Create System Databases): Markup fix. 2014-03-02 17:32:46 +08:00