1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-26 07:33:47 +00:00
Commit Graph

103564 Commits

Author SHA1 Message Date
Paul Eggert
bbd240ceee Spelling fixes. 2011-12-14 23:24:10 -08:00
Kenichi Handa
100d5755ed xftfont.c (xftfont_draw): Use the font metrics of s->font to fill background (Bug#8992). 2011-12-15 11:12:08 +09:00
Paul Eggert
fac916bfd7 Spelling fixes. 2011-12-14 13:05:20 -08:00
Alan Mackenzie
898169a2d8 Add the switch statement to AWK Mode. 2011-12-13 21:13:51 +00:00
Alan Mackenzie
13d49cbb26 Large brace-block initialisation makes CC Mode slow: Fix.
Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
routines.  Limit backward searching in c-font-lock-enclosing.decl.

cc-engine.el (c-state-pp-to-literal): Return the pp-state and literal
type in addition to the limits.
(c-state-safe-place): New defun, extracted from c-state-literal-at.
(c-state-literal-at): Use the above new defun.
(c-slow-in-literal, c-fast-in-literal): Removed.
(c-in-literal, c-literal-limits): Amended to use c-state-pp-to-literal.

cc-fonts.el (c-font-lock-enclosing-decls): Check for being in a literal.
Add a limit for backward searching.

cc-mode.el (awk-mode): Don't alias c-in-literal to c-slow-in-literal.
2011-12-13 18:47:08 +00:00
Stefan Monnier
15e0efc7dc * lisp/progmodes/pascal.el: Declare `ind' as dyn-bound.
Fixes: debbugs:10264
2011-12-13 10:33:25 -05:00
Martin Rudalics
53524d9377 Fix doc-string typo. 2011-12-13 14:58:20 +01:00
Martin Rudalics
61d4b438e6 Fix doc-string of recenter-redisplay. 2011-12-13 14:53:00 +01:00
Martin Rudalics
454592a615 Minor fixes in window handling code and docs.
* window.c (Vwindow_combination_resize)
(Vwindow_combination_limit): Use t instead of non-nil in
doc-strings.
* window.el (delete-other-windows): Use correct frame in call to
window-with-parameter.
* windows.texi (Splitting Windows): Use t instead of non-nil
when describing window-combination-resize.
2011-12-13 14:37:48 +01:00
Daniel Pfeiffer
87393f2618 * lisp/progmodes/make-mode.el: Bring it up to date with makepp V2.0.
(makefile-make-font-lock-keywords): Extend meaning of `keywords'.
(makefile-gmake-statements, makefile-makepp-statements):
Use it and add new makepp keywords.
(makefile-makepp-font-lock-keywords): Add new patterns.
(makefile-match-function-end): Match new [...] and [[...]].
2011-12-12 16:23:42 -05:00
Glenn Morris
8d3c0ff211 Auto-commit of loaddefs files. 2011-12-12 06:27:47 -05:00
Chong Yidong
29eabb8eff More updates to Building chapter of Emacs manual.
* doc/emacs/building.texi (Executing Lisp): Fix xref for C-M-x.
(Lisp Libraries): Add xref to node explaining `load' in Lisp
manual.  Note that load-path is not customizable.
(Lisp Eval): Note that listed commands are available globally.
Explain the meaning of "defun" in the C-M-x context.
(Lisp Interaction): Copyedits.
(External Lisp): Fix name of inferior Lisp buffer.  Mention Scheme.
(Compilation): Define "inferior process".
2011-12-12 15:25:58 +08:00
Paul Eggert
333f9019e2 Spelling fixes. 2011-12-11 21:32:49 -08:00
Juanma Barranquero
11636b221d Fix typos. 2011-12-11 18:08:11 +01:00
Vincent Belaïche
cf01819325 The overall change is to add cell renaming, that is
setting fancy names for cell symbols other than name matching
	"\\`[A-Z]+[0-9]+\\'" regexp .
	(ses-create-cell-variable): New defun.
	(ses-relocate-formula): Relocate formulas only for cells the
	symbols of which are not renamed, i.e. symbols whose names do not
	match regexp "\\`[A-Z]+[0-9]+\\'".
	(ses-relocate-all): Relocate values only for cells the symbols of
	which are not renamed.
	(ses-load): Create cells variables as the (ses-cell ...) are read,
	in order to check row col consistency with cell symbol name only
	for cells that are not renamed.
	(ses-replace-name-in-formula): New defun.
	(ses-rename-cell): New defun.
2011-12-11 15:49:48 +01:00
Chong Yidong
ee95746181 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp
which is required for completion via gud-gdb-fetch-lines-filter.

Fixes: debbugs:10274
2011-12-11 21:17:07 +08:00
Kenichi Handa
d93a1e3467 merge trunk 2011-12-11 21:11:01 +09:00
Kenichi Handa
3633e3aa59 coding.c (Funencodable_char_position): Pay attention to the buffer text relocation (Bug#9389). 2011-12-11 21:08:51 +09:00
Glenn Morris
d7932d31e3 Auto-commit of generated files. 2011-12-11 06:20:56 -05:00
Martin Rudalics
9a9e9ef0e8 Fix docstring of other-window. 2011-12-11 11:38:11 +01:00
Jan Djärv
7b9d523a07 * src/xterm.c (x_term_init): Move call to gdk_window_add_filter before
gtk_init.

Fixes: debbugs:10100
2011-12-10 23:53:28 +01:00
Eli Zaretskii
b73189c64f 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.
2011-12-10 21:54:45 +02:00
Jan Djärv
83faebb47a * nsterm.h (x_free_frame_resources): Declare. 2011-12-10 15:16:35 +01:00
Jan Djärv
f7dfe5d679 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
2011-12-10 15:01:08 +01:00
Eli Zaretskii
2ce2526364 Commit auto-generated files. 2011-12-10 15:48:35 +02:00
Eli Zaretskii
92a8eba505 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.
2011-12-10 15:46:25 +02:00
Juanma Barranquero
e152e577f0 update-subdirs: Don't set no-byte-compile twice (bug#10260).
lisp/makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
2011-12-10 13:49:33 +01:00
Jan Djärv
46d14be754 * configure.in (HAVE_ALSA, HAVE_GSETTINGS): Save and restore LIBS
instead of LDFLAGS.

Fixes: debbugs:10230
2011-12-10 13:33:07 +01:00
Eli Zaretskii
b8830d2864 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.
2011-12-10 14:22:25 +02:00
Eli Zaretskii
e5d84bfe06 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
2011-12-10 12:49:33 +02:00
Eli Zaretskii
cd0314dd85 Minor improvement in MS-Windows specific usage info.
doc/emacs/msdog.texi (Windows Fonts): Document how to force GDI font
 backend on MS-Windows.
2011-12-10 11:12:00 +02:00
Chong Yidong
0595bd7e90 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.
2011-12-10 15:39:43 +08:00
Lars Magne Ingebrigtsen
ffdcbd1c7b Clarify auth-source in conjuction with smtpmail in NEWS. 2011-12-10 07:58:12 +01:00
Tassilo Horn
bacede64e6 message.el (message-valid-fqdn-regexp): Udate with newly approved top-level domain names ".tel" and ".asia". 2011-12-10 01:51:53 +00:00
Manuel Gómez
1d84e9bbab lisp/speedbar.el (speedbar-supported-extension-expressions): Add .adb, .ads.
Fixes: debbugs:10256
2011-12-09 20:54:01 +01:00
Eli Zaretskii
7cd4e72cff Fix bug #10170 with extra scrolling after C-s.
src/xdisp.c (try_scrolling): Don't set scroll_down_p if dy is zero.
2011-12-09 20:40:42 +02:00
YAMAMOTO Mitsuharu
b34d731717 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).
2011-12-09 21:33:20 +09:00
Kenichi Handa
2fac818033 Add a bug number to a ChangeLog entry. 2011-12-09 14:24:26 +09:00
Juanma Barranquero
382c953bbe Fix typos. 2011-12-09 04:12:38 +01:00
Stefan Monnier
98449af85c * lisp/emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt.
Fixes: debbugs:10244
2011-12-08 08:23:43 -05:00
Chong Yidong
b09d01daef 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.
2011-12-08 21:21:58 +08:00
Stefan Monnier
39c9faef2f * 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
2011-12-08 08:20:20 -05:00
Katsumi Yamaoka
8b8059decd gnus-sum.el (gnus-summary-show-article): Don't load shr unconditionally. 2011-12-08 06:22:03 +00:00
Kenichi Handa
76470ad1a0 coding.c (encode_coding_ccl): Check (charbuf < charbuf_end) after the loop to call ccl_driver at least once. 2011-12-08 14:54:20 +09:00
Kenichi Handa
745fff94a0 ftfont.c (get_adstyle_property): Fix previous change (Bug#10233). 2011-12-08 11:34:09 +09:00
Juanma Barranquero
6e44397c4a src/w32.c: Implement --no-site-lisp on Windows (bug#10208). 2011-12-08 00:14:13 +01:00
Katsumi Yamaoka
1ea1c2fa5f message.el (message-pop-to-buffer): Use pop-to-buffer instead of pop-to-buffer-same-window for old Emacsen. 2011-12-07 06:07:53 +00:00
Glenn Morris
7efa6272f0 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.
2011-12-06 21:16:53 -05:00
Stefan Monnier
86ed9fdc57 * lisp/pcmpl-gnu.el (pcomplete/make): Also allow filename arguments.
Fixes: debbugs:10116
2011-12-06 17:14:32 -05:00
Chong Yidong
f6fc4d8702 * src/minibuf.c (Fread_from_minibuffer): Doc fix.
Fixes: debbugs:10228
2011-12-06 16:50:46 +08:00