Eli Zaretskii [Sat, 10 Dec 2011 19:54:45 +0000 (21:54 +0200)]
Fix bug #10263 with assertion violation using telugu-itrans input method.
src/xdisp.c (RECORD_MAX_MIN_POS): Use IT->cmp_it.charpos only if
IT->string is nil.
Jan Djärv [Sat, 10 Dec 2011 14:16:35 +0000 (15:16 +0100)]
* nsterm.h (x_free_frame_resources): Declare.
Jan Djärv [Sat, 10 Dec 2011 14:01:08 +0000 (15:01 +0100)]
Don't crash on bad user input.
* nsfns.m (ns_get_defaults_value): New function.
(Fns_get_resource, x_get_string_resource): Call ns_get_defaults_value.
* nsterm.h (ns_get_defaults_value): Declare.
* nsterm.m (ns_default): Call ns_get_defaults_value.
Fixes: debbugs:10103
Eli Zaretskii [Sat, 10 Dec 2011 13:48:35 +0000 (15:48 +0200)]
Commit auto-generated files.
Eli Zaretskii [Sat, 10 Dec 2011 13:46:25 +0000 (15:46 +0200)]
Fix incorrect display of RFC2047 encoded names in Rmail summary buffers
lisp/mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
`from' or `to' address before taking its substring. Fixes
incorrect display in Rmail summary buffer whereby an RFC2047
encoded name is chopped in the middle of the encoded string, and
thus displayed encoded.
Juanma Barranquero [Sat, 10 Dec 2011 12:49:33 +0000 (13:49 +0100)]
update-subdirs: Don't set no-byte-compile twice (bug#10260).
lisp/makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
Jan Djärv [Sat, 10 Dec 2011 12:33:07 +0000 (13:33 +0100)]
* configure.in (HAVE_ALSA, HAVE_GSETTINGS): Save and restore LIBS
instead of LDFLAGS.
Fixes: debbugs:10230
Eli Zaretskii [Sat, 10 Dec 2011 12:22:25 +0000 (14:22 +0200)]
Fix bug #2975 with insufficient docs of texinfo-master-menu.
lisp/textmodes/texnfo-upd.el: Correct outdated description about
texinfo-master-menu.
(texinfo-master-menu): Explain better in the doc string what the
function really does.
(texinfo-insert-master-menu-list): Improve the error message
displayed if there's no menu in the Top node.
Eli Zaretskii [Sat, 10 Dec 2011 10:49:33 +0000 (12:49 +0200)]
Fix documentation and one misfeature of Texinfo mode update commands.
lisp/textmodes/texnfo-upd.el: Update commentary. Add a warning not
to use texinfo-update-node and commands that call it if the
Texinfo file uses @node lines without next/prev/up pointers.
(texinfo-all-menus-update, texinfo-master-menu)
(texinfo-update-node, texinfo-every-node-update)
(texinfo-multiple-files-update): Doc fix. Warn against updating
all the @node lines.
(texinfo-master-menu): Only call texinfo-update-node if the prefix
argument is numeric. See also this thread:
http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
Fixes: debbugs:2975
Eli Zaretskii [Sat, 10 Dec 2011 09:12:00 +0000 (11:12 +0200)]
Minor improvement in MS-Windows specific usage info.
doc/emacs/msdog.texi (Windows Fonts): Document how to force GDI font
backend on MS-Windows.
Chong Yidong [Sat, 10 Dec 2011 07:39:43 +0000 (15:39 +0800)]
More updates to Building chapter of Emacs manual.
* doc/emacs/building.texi (Compilation): Say what the -k flag to make does.
Move subprocess discussion to Compilation Shell.
(Compilation Mode): Add xref for grep, occur, and mouse
references. Define "locus".
(Grep Searching): Use @command.
(Debuggers, Commands of GUD, GDB Graphical Interface): Clarify
intro.
(Starting GUD): Clarify how arguments are specified.
(Debugger Operation): Index entry for "GUD interaction buffer",
and move basic description here from Commands of GUD node.
(GDB User Interface Layout): Copyedits.
(Source Buffers): Remove gdb-find-source-frame, which is not in
gdb-mi.el.
(Other GDB Buffers): Remove gdb-use-separate-io-buffer and
toggle-gdb-all-registers, which are not in gdb-mi.el. Don't
re-document GUD interaction buffers.
Lars Magne Ingebrigtsen [Sat, 10 Dec 2011 06:58:12 +0000 (07:58 +0100)]
Clarify auth-source in conjuction with smtpmail in NEWS.
Tassilo Horn [Sat, 10 Dec 2011 01:51:53 +0000 (01:51 +0000)]
message.el (message-valid-fqdn-regexp): Udate with newly approved top-level domain names ".tel" and ".asia".
Manuel Gómez [Fri, 9 Dec 2011 19:54:01 +0000 (20:54 +0100)]
lisp/speedbar.el (speedbar-supported-extension-expressions): Add .adb, .ads.
Fixes: debbugs:10256
Eli Zaretskii [Fri, 9 Dec 2011 18:40:42 +0000 (20:40 +0200)]
Fix bug #10170 with extra scrolling after C-s.
src/xdisp.c (try_scrolling): Don't set scroll_down_p if dy is zero.
YAMAMOTO Mitsuharu [Fri, 9 Dec 2011 12:33:20 +0000 (21:33 +0900)]
Fix for GNUstep build failure during dumping.
* unexelf.c (unexec) [NS_IMPL_GNUSTEP]: Take account of the case
that where the value of an _OBJC_* symbol points to is in the .bss
section (Bug#10240).
Kenichi Handa [Fri, 9 Dec 2011 05:24:26 +0000 (14:24 +0900)]
Add a bug number to a ChangeLog entry.
Juanma Barranquero [Fri, 9 Dec 2011 03:12:38 +0000 (04:12 +0100)]
Fix typos.
Stefan Monnier [Thu, 8 Dec 2011 13:23:43 +0000 (08:23 -0500)]
* lisp/emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt.
Fixes: debbugs:10244
Chong Yidong [Thu, 8 Dec 2011 13:21:58 +0000 (21:21 +0800)]
Updates to Building chapter of Emacs manual.
* doc/emacs/building.texi (Compilation): Say what the -k flag to make does.
Move subprocess discussion to Compilation Shell.
(Compilation Mode): Add xref for grep, occur, and mouse
references. Define "locus".
(Grep Searching): Use @command.
* doc/emacs/programs.texi (Symbol Completion): M-TAB can now use Semantic.
(Semantic): Add cindex entries for Semantic.
Stefan Monnier [Thu, 8 Dec 2011 13:20:20 +0000 (08:20 -0500)]
* lisp/pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
(pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
end in ".mk".
(pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
when reading the makefile.
Fixes: debbugs:10116
Katsumi Yamaoka [Thu, 8 Dec 2011 06:22:03 +0000 (06:22 +0000)]
gnus-sum.el (gnus-summary-show-article): Don't load shr unconditionally.
Kenichi Handa [Thu, 8 Dec 2011 05:54:20 +0000 (14:54 +0900)]
coding.c (encode_coding_ccl): Check (charbuf < charbuf_end) after the loop to call ccl_driver at least once.
Kenichi Handa [Thu, 8 Dec 2011 02:34:09 +0000 (11:34 +0900)]
ftfont.c (get_adstyle_property): Fix previous change (Bug#10233).
Juanma Barranquero [Wed, 7 Dec 2011 23:14:13 +0000 (00:14 +0100)]
src/w32.c: Implement --no-site-lisp on Windows (bug#10208).
Katsumi Yamaoka [Wed, 7 Dec 2011 06:07:53 +0000 (06:07 +0000)]
message.el (message-pop-to-buffer): Use pop-to-buffer instead of pop-to-buffer-same-window for old Emacsen.
Glenn Morris [Wed, 7 Dec 2011 02:16:53 +0000 (21:16 -0500)]
Small init_lread fix for bug#10208
* src/lread.c (init_lread): If no_site_lisp, exclude site-lisp/ in
installation and source directories as well.
Stefan Monnier [Tue, 6 Dec 2011 22:14:32 +0000 (17:14 -0500)]
* lisp/pcmpl-gnu.el (pcomplete/make): Also allow filename arguments.
Fixes: debbugs:10116
Chong Yidong [Tue, 6 Dec 2011 08:50:46 +0000 (16:50 +0800)]
* src/minibuf.c (Fread_from_minibuffer): Doc fix.
Fixes: debbugs:10228
Glenn Morris [Tue, 6 Dec 2011 08:31:42 +0000 (00:31 -0800)]
* lisp/emacs-lisp/package.el (package-archives): Doc fix re riskiness.
Glenn Morris [Tue, 6 Dec 2011 08:17:35 +0000 (00:17 -0800)]
* src/process.c (start_process_unwind): Treat any pid <= 0, except -2,
as an error, not just -1.
For example, make_process inits the pid to 0.
Fixes: debbugs:10217
Chong Yidong [Tue, 6 Dec 2011 08:12:18 +0000 (16:12 +0800)]
More updates to Programs chapter of Emacs manual.
* doc/emacs/programs.texi (Man Page): Clarify how to use Man-switches.
Don't bother documenting Man-fontify-manpage-flag.
(Lisp Doc): Add xref to Name Help node.
(Hideshow): Add cindex. Mention role of ellipses, and default
value of hs-isearch-open. Don't bother documenting
hs-special-modes-alist.
(Symbol Completion): Add kindex for C-M-i. Don't recommend
changing the window manager binding of M-TAB.
Chong Yidong [Tue, 6 Dec 2011 02:22:48 +0000 (10:22 +0800)]
* progmodes/cc-fonts.el (c-annotation-face): Use
defface.
Juanma Barranquero [Tue, 6 Dec 2011 01:30:54 +0000 (02:30 +0100)]
Fix typos.
Christopher Genovese [Mon, 5 Dec 2011 22:22:15 +0000 (17:22 -0500)]
* lisp/emacs-lisp/assoc.el (aput): Fix return value
Fixes: debbugs:10146
Eli Zaretskii [Mon, 5 Dec 2011 17:46:27 +0000 (19:46 +0200)]
Fix "C-x =" wrt display of strong RTL characters and directional controls.
lisp/descr-text.el (describe-char): Fix display of strong
right-to-left characters and directional embeddings and overrides.
lisp/simple.el (what-cursor-position): Fix display of codepoints of
strong right-to-left characters by appending LRM.
Stefan Monnier [Mon, 5 Dec 2011 16:50:25 +0000 (11:50 -0500)]
* doc/lispref/text.texi (Special Properties): Warn against `intangible' properties.
Fixes: debbugs:10222
Chong Yidong [Mon, 5 Dec 2011 15:23:56 +0000 (23:23 +0800)]
* lisp/faces.el (read-color): Minor doc fix.
Chong Yidong [Mon, 5 Dec 2011 15:21:48 +0000 (23:21 +0800)]
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
Chong Yidong [Mon, 5 Dec 2011 15:20:13 +0000 (23:20 +0800)]
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.
Juanma Barranquero [Mon, 5 Dec 2011 11:59:28 +0000 (12:59 +0100)]
Fix typo.
Glenn Morris [Mon, 5 Dec 2011 11:21:43 +0000 (06:21 -0500)]
Auto-commit of loaddefs files.
Paul Eggert [Mon, 5 Dec 2011 09:05:10 +0000 (01:05 -0800)]
* coding.c (encode_designation_at_bol): Don't use uninitialized
local variable (Bug#9318).
Paul Eggert [Mon, 5 Dec 2011 08:55:25 +0000 (00:55 -0800)]
Spelling fixes.
Kenichi Handa [Mon, 5 Dec 2011 07:48:29 +0000 (16:48 +0900)]
ftfont.c (get_adstyle_property): If the font is not BDF nor PCF, return Qnil (Bug#8046, Bug#10193).
Kenichi Handa [Mon, 5 Dec 2011 07:03:31 +0000 (16:03 +0900)]
merge trunk
Kenichi Handa [Mon, 5 Dec 2011 07:02:09 +0000 (16:02 +0900)]
src/ChangeLog: Fix previous change.
Kenichi Handa [Mon, 5 Dec 2011 06:39:26 +0000 (15:39 +0900)]
Pay attetion to the buffer relocation on encoding (Bug#9318).
Glenn Morris [Mon, 5 Dec 2011 02:47:53 +0000 (18:47 -0800)]
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
Juanma Barranquero [Mon, 5 Dec 2011 00:15:15 +0000 (01:15 +0100)]
src/lisp.h (process_quit_flag): Fix external declaration.
Glenn Morris [Sun, 4 Dec 2011 19:41:44 +0000 (11:41 -0800)]
appt.el trivia.
* lisp/calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
overly zealous deletion of trailing whitespace.
Glenn Morris [Sun, 4 Dec 2011 19:31:41 +0000 (11:31 -0800)]
* appt.el: Restore significant whitespace deleted by "spelling fix".
Juanma Barranquero [Sun, 4 Dec 2011 17:13:01 +0000 (18:13 +0100)]
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.
Chong Yidong [Sun, 4 Dec 2011 16:19:57 +0000 (00:19 +0800)]
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".
Stefan Monnier [Sun, 4 Dec 2011 15:46:07 +0000 (10:46 -0500)]
Don't macro-inline non-performance-critical code.
* src/eval.c (process_quit_flag): New function.
* src/lisp.h (QUIT): Use it.
Jan Djärv [Sun, 4 Dec 2011 13:25:16 +0000 (14:25 +0100)]
* nsfns.m (get_geometry_from_preferences): New function.
(Fx_create_frame): Call get_geometry_from_preferences.
Fixes: debbugs:10103
Glenn Morris [Sun, 4 Dec 2011 11:25:33 +0000 (06:25 -0500)]
Auto-commit of loaddefs files.
Glenn Morris [Sun, 4 Dec 2011 11:19:46 +0000 (06:19 -0500)]
Auto-commit of generated files.
Andreas Schwab [Sun, 4 Dec 2011 09:26:30 +0000 (10:26 +0100)]
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.
Paul Eggert [Sun, 4 Dec 2011 08:02:42 +0000 (00:02 -0800)]
Spelling fixes.
Chong Yidong [Sun, 4 Dec 2011 05:55:36 +0000 (13:55 +0800)]
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.
Chong Yidong [Sun, 4 Dec 2011 02:02:45 +0000 (10:02 +0800)]
message.el (message-pop-to-buffer): Use pop-to-buffer-same-window for last change.
Chong Yidong [Sun, 4 Dec 2011 01:55:49 +0000 (09:55 +0800)]
* message.el (message-pop-to-buffer): Partially revert 2011-11-30 change (Bug#10200).
Glenn Morris [Sat, 3 Dec 2011 20:44:19 +0000 (12:44 -0800)]
* lisp/textmodes/texinfmt.el (batch-texinfo-format): Doc fix.
Fixes: debbugs:10207
Paul Eggert [Sat, 3 Dec 2011 20:28:21 +0000 (12:28 -0800)]
* INSTALL.BZR: Mention configure -C, --disable-maintainer-mode.
Paul Eggert [Sat, 3 Dec 2011 20:23:44 +0000 (12:23 -0800)]
Fix typo in my most-recent ChangeLog entry.
Paul Eggert [Sat, 3 Dec 2011 20:19:03 +0000 (12:19 -0800)]
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.
Jan Djärv [Sat, 3 Dec 2011 19:15:20 +0000 (20:15 +0100)]
* 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
Eli Zaretskii [Sat, 3 Dec 2011 16:25:26 +0000 (18:25 +0200)]
admin/MAINTAINERS: Update Eli Z.'s responsibilities & interests.
Chong Yidong [Sat, 3 Dec 2011 16:17:29 +0000 (00:17 +0800)]
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.
Eli Zaretskii [Sat, 3 Dec 2011 13:32:29 +0000 (15:32 +0200)]
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.
Glenn Morris [Sat, 3 Dec 2011 11:18:40 +0000 (06:18 -0500)]
Auto-commit of loaddefs files.
Eli Zaretskii [Sat, 3 Dec 2011 09:55:27 +0000 (11:55 +0200)]
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.
Eli Zaretskii [Sat, 3 Dec 2011 07:59:23 +0000 (09:59 +0200)]
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.
Stefan Monnier [Sat, 3 Dec 2011 05:01:41 +0000 (00:01 -0500)]
* 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.
Stefan Monnier [Sat, 3 Dec 2011 04:12:11 +0000 (23:12 -0500)]
* 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
Paul Eggert [Sat, 3 Dec 2011 04:06:45 +0000 (20:06 -0800)]
* .bzrignore: Add config.cache.
Chong Yidong [Sat, 3 Dec 2011 03:04:21 +0000 (11:04 +0800)]
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).
Michael Albinus [Fri, 2 Dec 2011 19:23:19 +0000 (20:23 +0100)]
* net/tramp-sh.el (tramp-maybe-open-connection): Handle user
interrupt. (Bug#10187)
Chong Yidong [Fri, 2 Dec 2011 16:50:10 +0000 (00:50 +0800)]
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.
Stefan Monnier [Fri, 2 Dec 2011 14:44:19 +0000 (09:44 -0500)]
* lisp/pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil.
Fixes: debbugs:9160
Stefan Monnier [Fri, 2 Dec 2011 14:18:18 +0000 (09:18 -0500)]
* lisp/dired-aux.el (dired-query): Don't assume help-char is modifier-free.
Fixes: debbugs:10191
Juri Linkov [Fri, 2 Dec 2011 10:45:44 +0000 (12:45 +0200)]
* lisp/info.el (Info-search): Display "end of manual" when Isearch
reaches the end of single-file Info manual.
Fixes: debbugs:9918
Eli Zaretskii [Fri, 2 Dec 2011 10:37:53 +0000 (12:37 +0200)]
Fix commentary for the last commit.
Eli Zaretskii [Fri, 2 Dec 2011 10:35:17 +0000 (12:35 +0200)]
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.
Juri Linkov [Fri, 2 Dec 2011 10:19:49 +0000 (12:19 +0200)]
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
Katsumi Yamaoka [Fri, 2 Dec 2011 04:00:32 +0000 (04:00 +0000)]
Gnus: Update the header format of icon data for the most recent icontopbm program.
Glenn Morris [Thu, 1 Dec 2011 22:34:24 +0000 (17:34 -0500)]
Fix some em-hist custom types.
* lisp/eshell/em-hist.el (eshell-history-file-name, eshell-history-size):
Fix custom type.
Glenn Morris [Thu, 1 Dec 2011 22:30:12 +0000 (17:30 -0500)]
Tweak previous em-hist.el change.
Glenn Morris [Thu, 1 Dec 2011 22:28:10 +0000 (17:28 -0500)]
Small eshell-history-size fix.
* lisp/eshell/em-hist.el (eshell-hist-initialize):
Handle eshell-history-size nil and HISTSIZE set or unset.
Stefan Monnier [Thu, 1 Dec 2011 20:19:38 +0000 (15:19 -0500)]
* src/fileio.c (Finsert_file_contents): Move after-change-function call
to before the "handled:" label, since all "goto handled" appear in
cases where the *-change-functions have already been properly called.
Fixes: debbugs:10117
Stefan Monnier [Thu, 1 Dec 2011 19:38:24 +0000 (14:38 -0500)]
* lisp/man.el (Man-completion-table): Fix the lambda case.
Fixes: debbugs:10168
Andreas Schwab [Thu, 1 Dec 2011 18:27:52 +0000 (19:27 +0100)]
Fixes: debbugs:10169
* src/keyboard.c (interrupt_signal): Don't call kill-emacs when
waiting for input.
Glenn Morris [Thu, 1 Dec 2011 11:22:19 +0000 (06:22 -0500)]
Auto-commit of loaddefs files.
Glenn Morris [Thu, 1 Dec 2011 11:17:53 +0000 (06:17 -0500)]
Auto-commit of generated files.
Katsumi Yamaoka [Thu, 1 Dec 2011 04:55:39 +0000 (04:55 +0000)]
Gnus: Share the value of the buffer-local `message-options' variable between a draft buffer and temprary working buffers.
Glenn Morris [Thu, 1 Dec 2011 04:37:04 +0000 (20:37 -0800)]
Relocate ChangeLog entries to correct date.
Michael McNamara [Thu, 1 Dec 2011 02:41:47 +0000 (19:41 -0700)]
Update verilog-mode.el from master.
* progmodes/verilog-mode.el (verilog-pretty-expr): Rework
verilog-pretty-expr to handle new assignment operators in system
verilog, such as += *= and the like.
(verilog-assignment-operator-re): Regular expression to find the
assigment operator in a verilog assignment.
(verilog-assignment-operation-re): Regular expression to find an
assignment statement for pretty-expr.
(verilog-in-attribute-p): Query returns true if point is in an
attribute context; used to skip these for expression line up from
pretty-expr.
(verilog-in-parameter-p): Query returns true if point is in an
parameter definition context; used to skip these for expression
line up from pretty-expr.
(verilog-in-parenthesis-p): Query returns true if point is in a
parenthetical expression, specifically ( ) but not [ ] or { };
used by pretty-expr.
(verilog-just-one-space): If there is no space, don't add one.
(verilog-get-lineup-indent-2): Specifically skip just attribute
contexts for expression lineup, rather than skipping all
parenthetical expressions.
(verilog-calculate-indent): Fix comment, and fix indent.
(verilog-do-indent): Indent declarations in lists (suggested by
Joachim Lechner).
(verilog-mode-abbrev-table): Populate abbrev mode with the various
skeleton items.
(verilog-sk-ovm-class): Add skeleton for OVM classes (reported
by Alain Mellan).
* verilog-mode.el (verilog-read-defines): Fix reading parameters
with embedded comments. Reported by Ray Stevens.
(verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
Reported by Tim Holt.
(verilog-auto): Fix AUTOing a upper module then AUTOing module
instantiated by upper module causing wrong expansion until AUTOed a
second time. Reported by K C Buckenmaier.
(verilog-diff-auto): Fix showing .* as a difference when
`verilog-auto-star-save' off. Reported by Dan Dever.
(verilog-auto-reset, verilog-read-always-signals)
(verilog-auto-reset-blocking-in-non): Fix AUTORESET including
temporary signals in reset list if
verilog-auto-reset-blocking-in-non is nil, and match assignment
style to each signal's assignment type, bug381. Reported by
Thomas Esposito.
(verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
(verilog-uvm-statement-re): Support UVM indentation and
highlighting, with old OVM keywords only.
(verilog-auto-tieoff, verilog-auto-tieoff-declaration): Support
AUTOTIEOFF creating non-wire data types. Suggested by Jonathan
Greenlaw.
(verilog-auto-insert-lisp, verilog-delete-to-paren)
(verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
(verilog-inject-sense, verilog-read-inst-pins)
(verilog-read-sub-decls, verilog-read-sub-decls-line): Fix
mismatching parenthesis inside commented out code when deleting
AUTOINST, bug383. Reported by Jonathan Greenlaw.
(verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
non-numeric vector width. Reported by Alex Reed.
(verilog-auto-ascii-enum): Add "onehot" option to work around not
detecting signals with parameter widths. Reported by Alex Reed.
(verilog-auto-delete-trailing-whitespace): With
`verilog-auto-delete-trailing-whitespace' remove trailing
whitespace in auto expansion, bug371. Reported by Brad Dobbie.
(verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
Fix verilog-scan-cache corruption when running user AUTO expansion
hooks that call indentation routines.
(verilog-simplify-range-expression): Fix typo ignoring lower case
identifiers.
(verilog-delete-auto): Fix delete-autos to also remove user created
automatics, as long as they start with AUTO.
(verilog-batch-diff-auto, verilog-diff-auto)
(verilog-diff-function): Add `verilog-diff-auto' and bind to
"C-c?" to report differences in AUTO expansion, ignoring spaces.
(verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
(verilog-in-paren-quick, verilog-re-search-backward-quick)
(verilog-re-search-forward-quick, verilog-syntax-ppss): Fix
calling `syntax-ppss' when inside auto expansions as the ppss hook
is disabled and its cache will get corrupt, causing AUTOS not to
expand. Instead use only -quick functions.
(verilog-scan-region): Fix scanning over escaped quotes.
(verilog-inside-comment-or-string-p, verilog-inside-comment-p)
(verilog-re-search-backward-quick)
(verilog-re-search-forward-quick, verilog-scan): verilog-scan and
related functions now ignore strings, to fix misparsing of strings
with magic comments embedded in them.
(verilog-read-auto-template): Fix
'verilog-auto-inst-template-numbers' with extra newline before (.
Reported by Brad Dobbie.
(verilog-read-auto-template): Fix
'verilog-auto-inst-template-numbers' with comments. Reported by
Brad Dobbie.
(verilog-auto-inst, verilog-auto-inst-param)
(verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
(verilog-auto-inst-template-numbers): Add 'lhs' policy for
debugging templates without merge conflicts, bug357. Reported by
Brad Dobbie.
(verilog-read-auto-template): Fix
verilog-auto-inst-template-numbers with multiple templates.
Reported by Brad Dobbie.
(verilog-define-abbrev): Fix verilog-mode abbrevs to be system
abbrevs so user won't be asked to save.
(verilog-read-auto-lisp-present): Fix to start at beginning of
buffer in case called outside of verilog-auto.
(verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
to "X-2". Reported by Matthew Myers.
(verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
all inputs from module templates. Reported by Leith Johnson.
(verilog-module-inside-filename-p): Fix locating programs as with
modules.
(verilog-auto-inst-port): Fix vl-width expressions when using
verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
(verilog-decls-get-regs, verilog-decls-get-signals,
verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
verilog-read-decls): Combine reg and wire structures into one var
structure to represent SystemVerilog concepts.
(verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
(verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
(verilog-auto-wire-type, verilog-insert-definition): Add
verilog-auto-wire-type and AUTOLOGIC to support using
SystemVerilog "logic" keyword instead of "wire"/"reg".
(verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
to declares outputs that also have assignments (presumably in an
ifdef or generate if so there's not a driver conflict). Reported
by Matthew Myers.
(verilog-auto-declare-nettype, verilog-insert-definition): Add
verilog-auto-declare-nettype to fix declarations using
`default_nettype none. Reported by Julian Gorfajn.
(verilog-read-always-signals-recurse, verilog-read-decls)
(verilog-read-sub-decls-gate): Fix infinite loop with (*) and
malformed end statement, bug325. Reported by Joshua Wise and
Andrew Drake.
(verilog-auto-star-safe, verilog-delete-auto-star-implicit)
(verilog-inst-comment-re): Fix not deleting Interfaced comment
when expanding .* in interfaces, bug320. Reported by Pierre-David
Pfister.
(verilog-read-module-name): Fix import statements between module
name and open parenthesis, bug317. Reported by Pierre-David
Pfister.
(verilog-simplify-range-expression): Fix simplification of
multiplications inside AUTOWIRE connections, bug303.
(verilog-auto-inst-port): Support parameter expansion in
multidimensional arrays.
(verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
after "assert property". Reported by Julian Gorfajn.
(verilog-simplify-range-expression): Fix "couldn't merge" errors
with multiplication, bug303.
(verilog-read-decls): Fix parsing of unsigned data types, bug302.
Chong Yidong [Wed, 30 Nov 2011 17:38:41 +0000 (01:38 +0800)]
Regenerate ldefs-boot.el
Eli Zaretskii [Wed, 30 Nov 2011 16:50:38 +0000 (18:50 +0200)]
REALLY fix bug #10164 with crashes when linum-mode is turned on.
src/dispnew.c (adjust_glyph_matrix): Remove the assertion that
verifies glyph row's hash code--we have just reallocated the
glyphs, so their contents can be complete garbage.