1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-12 16:23:57 +00:00
Commit Graph

103507 Commits

Author SHA1 Message Date
Stefan Monnier
a7cdbfce11 * doc/lispref/text.texi (Special Properties): Warn against `intangible' properties.
Fixes: debbugs:10222
2011-12-05 11:50:25 -05:00
Chong Yidong
315bc30ddb * lisp/faces.el (read-color): Minor doc fix. 2011-12-05 23:23:56 +08:00
Chong Yidong
3a6ad4f050 Handle X selection requests in input-pending-p.
* src/keyboard.c (process_special_events): New function.
(swallow_events, Finput_pending_p): Use it.

Fixes: debbugs:10195
2011-12-05 23:21:48 +08:00
Chong Yidong
ebf10822d1 More updates to Programs chapter of Emacs manual.
* doc/emacs/programs.texi (Comment Commands): Fix description of for M-; on
blank lines.  Move documentation of comment-region here.
(Multi-Line Comments): Clarify the role of comment-multi-line.
Refer to Comment Commands for comment-region doc.
(Options for Comments): Refer to Multi-Line Comments for
comment-multi-line doc, instead of duplicating it.  Fix default
values of comment-padding and comment-start-skip.
2011-12-05 23:20:13 +08:00
Juanma Barranquero
e7926664f3 Fix typo. 2011-12-05 12:59:28 +01:00
Glenn Morris
ea824a4594 Auto-commit of loaddefs files. 2011-12-05 06:21:43 -05:00
Paul Eggert
75a3b399a3 * coding.c (encode_designation_at_bol): Don't use uninitialized
local variable (Bug#9318).
2011-12-05 01:05:10 -08:00
Paul Eggert
fa46310344 Spelling fixes. 2011-12-05 00:55:25 -08:00
Kenichi Handa
c3c9e25e5d ftfont.c (get_adstyle_property): If the font is not BDF nor PCF, return Qnil (Bug#8046, Bug#10193). 2011-12-05 16:48:29 +09:00
Kenichi Handa
2ab04b9565 merge trunk 2011-12-05 16:03:31 +09:00
Kenichi Handa
a79703f53c src/ChangeLog: Fix previous change. 2011-12-05 16:02:09 +09:00
Kenichi Handa
5eb05ea3f9 Pay attetion to the buffer relocation on encoding (Bug#9318). 2011-12-05 15:39:26 +09:00
Glenn Morris
58a70b943c align.el marker fix.
* lisp/align.el (align--set-marker): Add doc-string.
Don't try to move something that is not a marker. 
Eg the first call from align-region passes eol == 0.

Fixes: debbugs:10216
2011-12-04 18:47:53 -08:00
Juanma Barranquero
7dbda6dfe8 src/lisp.h (process_quit_flag): Fix external declaration. 2011-12-05 01:15:15 +01:00
Glenn Morris
5158face2e appt.el trivia.
* lisp/calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
overly zealous deletion of trailing whitespace.
2011-12-04 11:41:44 -08:00
Glenn Morris
55dc42fcf3 * appt.el: Restore significant whitespace deleted by "spelling fix". 2011-12-04 11:31:41 -08:00
Juanma Barranquero
520fca41d6 Fix emacsclient bug where "-n -c" does not open a new frame on Windows.
* lib-src/emacsclient.c (decode_options) [WINDOWSNT]: Don't force tty = 0;
instead, treat both -c and -t as always requesting a new "tty" frame,
and let server.el decide which kind is actually required.
Reported by Uwe Siart <usenet@siart.de> in this thread:
http://lists.gnu.org/archive/html/emacs-devel/2011-11/msg00303.html

* lisp/server.el (server-delete-client): On Windows, do not try to delete
the only terminal.
(server-process-filter): On Windows, treat requests for a tty frame as
if they were for a GUI frame if the running server is in GUI mode.
2011-12-04 18:13:01 +01:00
Chong Yidong
ec7ae0329e Updates to Programs chapter of Emacs manual.
* programs.texi (Program Modes): Mention modes that are not
included with Emacs.  Fix references to other manuals for tex.
Add index entry for backward-delete-char-untabify.  Mention
prog-mode-hook.
(Which Function): Use "global minor mode" terminology.
(Basic Indent, Multi-line Indent): Refer to previous descriptions
in Indentation chapter to avoid duplication.
(Expressions): Copyedit.
(Matching): Document Electric Pair mode.

* ack.texi (Acknowledgments):
* rmail.texi (Movemail, Other Mailbox Formats):
* frames.texi (Frames): Don't capitalize "Unix".
2011-12-05 00:19:57 +08:00
Stefan Monnier
6d5eb5b0d2 Don't macro-inline non-performance-critical code.
* src/eval.c (process_quit_flag): New function.
* src/lisp.h (QUIT): Use it.
2011-12-04 10:46:07 -05:00
Jan Djärv
a0c3fad023 * nsfns.m (get_geometry_from_preferences): New function.
(Fx_create_frame): Call get_geometry_from_preferences.

Fixes: debbugs:10103
2011-12-04 14:25:16 +01:00
Glenn Morris
cdbbc22d1f Auto-commit of loaddefs files. 2011-12-04 06:25:33 -05:00
Glenn Morris
c3a461a5ac Auto-commit of generated files. 2011-12-04 06:19:46 -05:00
Andreas Schwab
6c07aac283 Don't call Lisp in signal handler
* emacs.c (Qkill_emacs): Define.
(syms_of_emacs): Initialize it.
* keyboard.c (interrupt_signal): Don't call Fkill_emacs here, set
Qquit_flag to `kill-emacs' instead.
(quit_throw_to_read_char): Add parameter `from_signal'.  All
callers changed.  Call Fkill_emacs if requested and safe.
* lisp.h (QUIT): Call Fkill_emacs if requested.
2011-12-04 10:26:30 +01:00
Paul Eggert
c80e3b4aed Spelling fixes. 2011-12-04 00:02:42 -08:00
Chong Yidong
a24bf23e0f More updates to Text chapter of Emacs manual.
* text.texi (Nroff Mode): Mention what nroff is.
(Text Based Tables, Table Recognition): Don't say "Table mode"
since it's not a major or minor mode.
(Text Based Tables): Reduce the size of the example.
(Table Definition): Clarify definitions.
(Table Creation): Add key table.
(Cell Commands): Use kbd for commands.
(Table Rows and Columns): Combine nodes Row Commands and Column
Commands.
(Fixed Width Mode): Node deleted; contents moved to parent.
(Table Conversion): Shorten example.
(Measuring Tables): Merge into Table Misc.
2011-12-04 13:55:36 +08:00
Chong Yidong
a92f50ad7e message.el (message-pop-to-buffer): Use pop-to-buffer-same-window for last change. 2011-12-04 10:02:45 +08:00
Chong Yidong
527497423d * message.el (message-pop-to-buffer): Partially revert 2011-11-30 change (Bug#10200). 2011-12-04 09:55:49 +08:00
Glenn Morris
5e605a2e52 * lisp/textmodes/texinfmt.el (batch-texinfo-format): Doc fix.
Fixes: debbugs:10207
2011-12-03 12:44:19 -08:00
Paul Eggert
4eec8d6f4c * INSTALL.BZR: Mention configure -C, --disable-maintainer-mode. 2011-12-03 12:28:21 -08:00
Paul Eggert
1350a3cc86 Fix typo in my most-recent ChangeLog entry. 2011-12-03 12:23:44 -08:00
Paul Eggert
6c269a38cc Propagate configure flags to sub-configures.
* Makefile.in (cache_file, ENABLE_MAINTAINER_MODE, CONFIGUREFLAGS):
New macros.
(config.status, bootstrap): Use them to propagate configure flags
to sub-configures.
* configure.in (cache_file): AC_SUBST this, for Makefile.in.
2011-12-03 12:19:03 -08:00
Jan Djärv
c052ead41f * widget.c (update_wm_hints): Return if wmshell is null.
(widget_update_wm_size_hints): New function.

* widget.h (widget_update_wm_size_hints): Declare.

* xterm.c (x_wm_set_size_hint): If USE_X_TOOLKIT, call
widget_update_wm_size_hints.

Fixes: debbugs:10104
2011-12-03 20:15:20 +01:00
Eli Zaretskii
cac8708fde admin/MAINTAINERS: Update Eli Z.'s responsibilities & interests. 2011-12-03 18:25:26 +02:00
Chong Yidong
8863a584c2 More updates to the Text chapter of the Emacs manual, and related nodes.
Make the documentation of Enriched Mode shorter, since it's
practically unused.

* text.texi (TeX Mode): Mention AUCTeX package.
(TeX Editing): Add xref to documentation for Occur.
(LaTeX Editing): Add xref to Completion node.
(TeX Print): Fix description of tex-directory.
(Enriched Text): Renamed from Formatted Text.  Make this node and
its subnodes less verbose, since text/enriched files are
practically unused.
(Enriched Mode): Renamed from Requesting Formatted Text.
(Format Colors): Node deleted.
(Enriched Faces): Renamed from Format Faces.  Describe commands
for applying colors too.
(Forcing Enriched Mode): Node deleted; merged into Enriched Mode.

* frames.texi (Menu Mouse Clicks): Tweak description of C-Mouse-2.

* display.texi (Colors): New node.

* cmdargs.texi (Colors X):
* xresources.texi (GTK styles):
* custom.texi (Face Customization): Reference it.

* glossary.texi (Glossary): Remove "formatted text" and "WYSIWYG".
Link to Fill Commands for Justification entry.
2011-12-04 00:17:29 +08:00
Eli Zaretskii
6fdebe9371 Minor doc fixes in doc/emacs/display.texi.
doc/emacs/display.texi (Auto Scrolling): More accurate description of what
 scroll-*-aggressively does, including the effect of non-zero
 margin.  Fix "i.e." markup.
2011-12-03 15:32:29 +02:00
Glenn Morris
b902223709 Auto-commit of loaddefs files. 2011-12-03 06:18:40 -05:00
Eli Zaretskii
e9a494263c Fix bug #10192 with assertion violation when scrolling.
src/xdisp.c (redisplay_window): Don't let `margin' become negative.
 This could happen when scroll-margin is zero and scroll-*-aggressively
 is a small float number.
2011-12-03 11:55:27 +02:00
Eli Zaretskii
9e49252b2d Fix parts 1 & 2 of bug #10183 with RTL headings in Org mode.
src/xdisp.c (handle_invisible_prop): If the invisible text ends just
 before a newline, prepare the bidi iterator for consuming the
 newline, and keep the current paragraph direction.
2011-12-03 09:59:23 +02:00
Stefan Monnier
6f5e57e773 * lisp/electric.el: Streamline electric-indent's hook.
(electric-indent-chars): Revert to simple list.
(electric-indent-functions): New var.
(electric-indent-post-self-insert-function): Use it.
2011-12-03 00:01:41 -05:00
Stefan Monnier
5c3fe83faf * lisp/progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
there's no inferior buffer.
(prolog-consult-compile): Don't use toggle-read-only.

Fixes: debbugs:10196
2011-12-02 23:12:11 -05:00
Paul Eggert
63e94eb818 * .bzrignore: Add config.cache. 2011-12-02 20:06:45 -08:00
Chong Yidong
5c09001c73 Fix for compilation-tests.el testsuite
* automated/compile-tests.el (compile-tests--test-regexps-data):
Increase column numbers by one to reflect change in how
compilation-message is recorded	(Bug#10172).
2011-12-03 11:04:21 +08:00
Michael Albinus
6bdac7360d * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
interrupt.  (Bug#10187)
2011-12-02 20:23:19 +01:00
Chong Yidong
95ca9bc734 More updates to Text chapter of Emacs manual.
* text.texi (Pages): Mention how formfeed chars are displayed.
(Auto Fill): Note convention for calling auto-fill-mode from Lisp.
Describe adaptive filling more precisely.
(Fill Commands): Note that filling removes excess whitespace.
(Text Mode): Note auto-mode-alist entries for Text mode.  TAB is
now bound to indent-for-tab-command in Text mode.
(Outline Mode): Copyedits.
(Outline Visibility): Note that Reveal mode is a buffer-local
minor mode.

* modes.texi (Major Modes): Move note about checking major-mode in
a hook function here, from Text mode.
2011-12-03 00:50:10 +08:00
Stefan Monnier
99c79fee51 * lisp/pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil.
Fixes: debbugs:9160
2011-12-02 09:44:19 -05:00
Stefan Monnier
6131ba7f18 * lisp/dired-aux.el (dired-query): Don't assume help-char is modifier-free.
Fixes: debbugs:10191
2011-12-02 09:18:18 -05:00
Juri Linkov
cb0a02ea73 * lisp/info.el (Info-search): Display "end of manual" when Isearch
reaches the end of single-file Info manual.

Fixes: debbugs:9918
2011-12-02 12:45:44 +02:00
Eli Zaretskii
dd782f24e5 Fix commentary for the last commit. 2011-12-02 12:37:53 +02:00
Eli Zaretskii
66e0570cde Fix part 3 of bug #10183 with input-method prompt in I-search.
lisp/isearch.el (isearch-message-prefix): Run the input method part
 of the prompt through bidi-string-mark-left-to-right.
2011-12-02 12:35:17 +02:00
Juri Linkov
02b16839f5 Change wordify' to word-search-regexp'.
* lisp/isearch.el (isearch-occur): Use `word-search-regexp' for
`isearch-word'.
(isearch-search-and-update): Add condition for `isearch-word' and
call `word-search-regexp'. 

* src/search.c (Fword_search_regexp): New Lisp function created from
`wordify'.  Change type of arg `lax' from `int' to `Lisp_Object'.
(Fword_search_backward, Fword_search_forward)
(Fword_search_backward_lax, Fword_search_forward_lax):
Use `Fword_search_regexp' instead of `wordify'.  Doc fix.
(syms_of_search): Define `Sword_search_regexp'.

Fixes: debbugs:10145
2011-12-02 12:19:49 +02:00