bpt/emacs.git
12 years ago* etags.c (C_entries): Properly skip over string and character
Andreas Schwab [Sun, 25 Dec 2011 09:55:37 +0000 (10:55 +0100)]
* etags.c (C_entries): Properly skip over string and character
constants inside brackets.  (Bug#10357)

12 years ago* callint.c (Fcall_interactively): Don't truncate prompt string.
Andreas Schwab [Sun, 25 Dec 2011 09:06:42 +0000 (10:06 +0100)]
* callint.c (Fcall_interactively): Don't truncate prompt string.

12 years agoIntroduce a mechanism to widen the region used in context font locking.
Alan Mackenzie [Sat, 24 Dec 2011 19:32:31 +0000 (19:32 +0000)]
Introduce a mechanism to widen the region used in context font locking.
Use this to protect declarations from losing their contexts.

12 years agoAdd the bug number #10360 to the entry for 2011-12-23T14:51:51Z!eliz@gnu.org.
Eli Zaretskii [Sat, 24 Dec 2011 19:24:10 +0000 (21:24 +0200)]
Add the bug number #10360 to the entry for 2011-12-23T14:51:51Z!eliz@gnu.org.

The real fix for bug 10360 is in 2011-12-23T14:51:51Z!eliz@gnu.org.

12 years ago* lisp/window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
Juri Linkov [Sat, 24 Dec 2011 19:16:53 +0000 (21:16 +0200)]
* lisp/window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.

Fixes: debbugs:10348

12 years agoFix assertion violation in pop_it when org-indent-mode is used.
Eli Zaretskii [Fri, 23 Dec 2011 14:51:51 +0000 (16:51 +0200)]
Fix assertion violation in pop_it when org-indent-mode is used.

 src/xdisp.c (handle_invisible_prop): Handle correctly an invisible
 property that ends at ZV, so that the bidi iteration could be
 resumed from there (after widening).

12 years ago* net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
Michael Albinus [Fri, 23 Dec 2011 14:31:35 +0000 (15:31 +0100)]
* net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
existence of source file.  (Bug#10325)

12 years agoFix bug#10354.
Juanma Barranquero [Fri, 23 Dec 2011 13:14:12 +0000 (14:14 +0100)]
Fix bug#10354.

* doc/lispref/variables.texi (Variables with Restricted Values):
  Change reference to variable.

12 years agoFix unstable fontification inside templates.
Alan Mackenzie [Fri, 23 Dec 2011 11:48:54 +0000 (11:48 +0000)]
Fix unstable fontification inside templates.

12 years agolisp/desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
Juanma Barranquero [Fri, 23 Dec 2011 00:44:27 +0000 (01:44 +0100)]
lisp/desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).

12 years agoSmall doc fixes.
Juri Linkov [Thu, 22 Dec 2011 23:30:10 +0000 (01:30 +0200)]
Small doc fixes.

12 years ago* progmodes/grep.el (rgrep): Fix docstring.
Juri Linkov [Thu, 22 Dec 2011 22:32:46 +0000 (00:32 +0200)]
* progmodes/grep.el (rgrep): Fix docstring.

Fixes: debbugs:10185

12 years ago* nsfont.m (ns_spec_to_descriptor): Do not autorelease fdesc.
Jan Djärv [Thu, 22 Dec 2011 13:58:40 +0000 (14:58 +0100)]
* nsfont.m (ns_spec_to_descriptor): Do not autorelease fdesc.

12 years ago* vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
Chong Yidong [Thu, 22 Dec 2011 10:16:45 +0000 (18:16 +0800)]
* vc/vc-hooks.el (vc-keep-workfiles): Doc fix.

12 years agoMore updates for VC documentation.
Chong Yidong [Thu, 22 Dec 2011 10:14:41 +0000 (18:14 +0800)]
More updates for VC documentation.

* doc/emacs/vc1-xtra.texi (Version Headers): Note that these are for
Subversion, CVS, etc. only.
(General VC Options): De-document vc-keep-workfiles.  Fix RCS-isms.

* doc/emacs/maintaining.texi (Change Log Commands): Don't specially mention
vc-update-change-log which is CVS-only.

12 years agodoc/emacs/building.texi (Debugger Operation): Fix a typo in "@end iftex".
Eli Zaretskii [Thu, 22 Dec 2011 03:56:49 +0000 (05:56 +0200)]
doc/emacs/building.texi (Debugger Operation): Fix a typo in "@end iftex".

12 years ago* files.el (file-remote-p): Fix docstring. (Bug#10319)
Drew Adams [Wed, 21 Dec 2011 18:33:38 +0000 (19:33 +0100)]
* files.el (file-remote-p): Fix docstring.  (Bug#10319)

12 years agotext.texi: add a section about Org Mode.
Bastien Guerry [Wed, 21 Dec 2011 14:02:38 +0000 (15:02 +0100)]
text.texi: add a section about Org Mode.

This section describes general concepts behind Org Mode
and redirects to the Org Manual when necessary.

12 years ago* lisp/battery.el (battery-linux-sysfs): Add missing parameters from acpi.
Jérémy Compostella [Wed, 21 Dec 2011 12:20:40 +0000 (07:20 -0500)]
* lisp/battery.el (battery-linux-sysfs): Add missing parameters from acpi.

12 years ago* progmodes/cfengine.el: Add CFEngine 3.x syntax highlighting and support.
Ted Zlatanov [Wed, 21 Dec 2011 11:30:00 +0000 (06:30 -0500)]
* progmodes/cfengine.el: Add CFEngine 3.x syntax highlighting and support.

12 years agoSpelling fixes.
Paul Eggert [Wed, 21 Dec 2011 09:58:39 +0000 (01:58 -0800)]
Spelling fixes.

12 years agoMore updates for VC documentation.
Chong Yidong [Wed, 21 Dec 2011 08:39:32 +0000 (16:39 +0800)]
More updates for VC documentation.

* files.texi (Misc File Ops): Mention vc-rename-file.

* maintaining.texi (Advanced C-x v v): Use fileset terminology.
(VC With A Merging VCS, VC Change Log): Add xref to VC Pull node.
(VC Pull): Mention vc-log-incoming.
(Log Buffer): Add CVS/RCS only disclaimer.

* vc1-xtra.texi (Remote Repositories): Update introduction.
(Local Version Control): Node deleted (obsolete with DVCSes).
(Remote Repositories, Version Backups): Node deleted.  Move
documentation of vc-cvs-stay-local to CVS Options.
(CVS Options): Reduce verbosity of description of obscure CVS
locking feature.
(Making Revision Tags, Revision Tag Caveats): Merge into Revision
Tags node.
(Revision Tags): Move under Miscellaneous VC subsection.
(Change Logs and VC): Note that this is wrong for DVCSs.
De-document log entry manipulating features.
(Renaming and VC): Describe how it works on modern VCSes.

* programs.texi (Custom C Indent): Add index entries.

12 years agoFix biggest memory leaks in NS-port. More remain.
Jan Djärv [Wed, 21 Dec 2011 08:04:19 +0000 (09:04 +0100)]
Fix biggest memory leaks in NS-port.  More remain.

* emacs.c (ns_pool): New variable.
(main): Assign ns_pool.
(Fkill_emacs): Call ns_release_autorelease_pool.

* nsfns.m (x_set_background_color): Assign return value from
ns_index_color to face-background instead of NSColor*.
(ns_implicitly_set_icon_type): Fix indentation.
Change assignment in for loop to comparison.

* nsfont.m (ns_spec_to_descriptor): Fix indentation,
autorelease fdesc, release fdAttrs and tdict.
(ns_get_covering_families): Release charset.
(ns_findfonts): Release NSFontDescriptor created with new.
(ns_uni_to_glyphs): Fix indentation.
(setString): Release attrStr before assigning new value.

* nsmenu.m (ns_update_menubar): Call free_menubar_widget_value_tree
before returning.

* nsterm.m (x_free_frame_resources): Release
f->output_data.ns->miniimage
(ns_index_color): Fix indentation.  Do not retain
color_table->colors[i].

12 years ago* vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in filename arg.
Chong Yidong [Wed, 21 Dec 2011 07:46:49 +0000 (15:46 +0800)]
* vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in filename arg.

12 years agoAttribute Aquamacs code to David Reitter.
Jan Djärv [Wed, 21 Dec 2011 06:37:49 +0000 (07:37 +0100)]
Attribute Aquamacs code to David Reitter.

12 years agoUpdate programs.texi and cc-mode.texi for new CC Mode features:
Alan Mackenzie [Tue, 20 Dec 2011 16:00:47 +0000 (16:00 +0000)]
Update programs.texi and cc-mode.texi for new CC Mode features:
cc-mode.texi: Update version string to 5.32.
programs.texi: Describe "guessing" of indentation style.  Update C-M-a/e.

12 years agoRestore Emacs 23 handling of display-buffer's BUFFER-OR-NAME argument.
Martin Rudalics [Tue, 20 Dec 2011 07:45:20 +0000 (08:45 +0100)]
Restore Emacs 23 handling of display-buffer's BUFFER-OR-NAME argument.

* window.el (window-normalize-buffer-to-display): Remove.
(display-buffer): Handle buffer-or-name argument as in Emacs 23.

12 years agoMore updates for VC documentation.
Chong Yidong [Tue, 20 Dec 2011 03:00:10 +0000 (11:00 +0800)]
More updates for VC documentation.

* doc/emacs/maintaining.texi (VCS Concepts): Add "working tree" terminology.
(Old Revisions): Use it.
(VCS Repositories): Add "distributed" terminology.
(Log Buffer): Remove duplicate description
about changesets.  Fix "current VC fileset" ambiguity.
(Multi-User Branching): Node deleted.
(Branches, Switching Branches): Discuss decentralized version control systems.
(VC Pull): New node.
(Merging): Document merging on decentralized systems.
(Creating Branches): Note that this is specific to CVS and related systems.

12 years agoFix typos.
Juanma Barranquero [Mon, 19 Dec 2011 15:46:50 +0000 (16:46 +0100)]
Fix typos.

12 years ago* lisp/cedet/semantic/edit.el (semantic-edits-incremental-parser):
Sam Steingold [Mon, 19 Dec 2011 15:15:11 +0000 (10:15 -0500)]
* lisp/cedet/semantic/edit.el (semantic-edits-incremental-parser):
Add the autoload cookie, necessary for JDEE.

12 years agoAuto-commit of loaddefs files.
Glenn Morris [Mon, 19 Dec 2011 11:21:17 +0000 (06:21 -0500)]
Auto-commit of loaddefs files.

12 years agoMore updates for VC documentation.
Chong Yidong [Mon, 19 Dec 2011 07:25:46 +0000 (15:25 +0800)]
More updates for VC documentation.

* doc/emacs/maintaining.texi (VCS Merging, VCS Changesets): Index entries.
(VC Mode Line): Add index entry for "version control status".
(VC Undo): Use vc-revert instead of its vc-revert-buffer alias.
Document vc-revert-show-diff.  De-document vc-rollback.
(VC Directory Mode): Rewrite introduction.  Move prefix arg
documentation here from VC Directory Buffer node.
(VC Directory Buffer): Use a decentralized VCS example.
(VC Directory Commands): Use a table.  Remove material duplicated
in previous nodes on multi-file VC filsets.

12 years agoFix bugs in vc-dir-mark-unmark and vc-dir-mark-all-files.
Chong Yidong [Mon, 19 Dec 2011 07:00:16 +0000 (15:00 +0800)]
Fix bugs in vc-dir-mark-unmark and vc-dir-mark-all-files.

* lisp/vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
Don't signal an error in a predicate function; return non-nil.
(vc-dir-mark-file): Move the error here.
(vc-dir-mark-unmark): If acting on the region, keep going if one
of the entries cannot be marked/unmarked.
(vc-dir-mark-all-files): If current entry is a directory, mark
only child files, as documented.

12 years agoOoops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as...
Vincent Belaïche [Mon, 19 Dec 2011 06:30:36 +0000 (07:30 +0100)]
Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature addition.

12 years agoSpelling fixes.
Paul Eggert [Mon, 19 Dec 2011 06:21:24 +0000 (22:21 -0800)]
Spelling fixes.

12 years agoFix spelling AquaEmacs => Aquamacs
Jan Djärv [Sun, 18 Dec 2011 14:53:01 +0000 (15:53 +0100)]
Fix spelling AquaEmacs => Aquamacs

12 years agoAdapt code from AquaEmacs to handle occasional blank menus.
Jan Djärv [Sun, 18 Dec 2011 14:50:19 +0000 (15:50 +0100)]
Adapt code from AquaEmacs to handle occasional blank menus.

* nsmenu.m (trackingMenu): New variable.
(NSMenuDidBeginTrackingNotification): Declare if OSX < 10.5 and
NS_IMPL_COCOA.
(trackingNotification): New method (from AquaEmacs).
(menuNeedsUpdate): Expand comment and return if trackingMenu is 0,
from AquaEmacs.
(syms_of_nsmenu): Set trackingMenu to 1 if not NS_IMPL_COCOA.

* nsterm.m (ns_term_init): Subscribe for notifications
NSMenuDidBeginTrackingNotification and NSMenuDidEndTrackingNotification
to method trackingNotification in EmacsMenu.

Fixes: debbugs:7030

12 years agoNS selection bug fix and cleanup, see thread C-g crash in C-x C-f (OSX Lion).
Jan Djärv [Sun, 18 Dec 2011 13:49:38 +0000 (14:49 +0100)]
NS selection bug fix and cleanup, see thread C-g crash in C-x C-f (OSX Lion).
Thread is on emacs-devel.

* lisp/term/ns-win.el (ns-get-selection-internal)
(ns-store-selection-internal): Declare.
(ns-store-cut-buffer-internal, ns-get-cut-buffer-internal): Declare
as obsolete.
(ns-get-pasteboard, ns-paste-secondary): Use
ns-get-selection-internal.
(ns-set-pasteboard,  ns-copy-including-secondary): Use
ns-store-selection-internal.

* src/nsselect.m (CUT_BUFFER_SUPPORT): Remove define.
(symbol_to_nsstring): Fix indentation.
(ns_symbol_to_pb): New function.
(Fns_get_selection_internal): Renamed from Fns_get_cut_buffer_internal.
(Fns_rotate_cut_buffers_internal): Removed.
(Fns_store_selection_internal): Renamed from
Fns_store_cut_buffer_internal.
(ns_get_foreign_selection, Fx_own_selection_internal)
(Fx_disown_selection_internal, Fx_selection_exists_p)
(Fns_get_selection_internal, Fns_store_selection_internal): Use
ns_symbol_to_pb and check if return value is nil.
(syms_of_nsselect): Remove ifdef CUT_BUFFER_SUPPORT.  Remove
defsubr Sns_rotate_cut_buffers_internal.  Sns_get_cut_buffer_internal
renamed to Sns_get_selection_internal, Sns_store_cut_buffer_internal
renamed to Sns_store_selection_internal.
(ns_handle_selection_request): Move code to Fx_own_selection_internal
and remove this function.
(ns_handle_selection_clear): Remove, never used.
(Fx_own_selection_internal): Move code from ns_handle_selection_request
here.

12 years ago* src/fileio.c (check_writable) [CYGWIN]: Return non-zero if UID or
Ken Brown [Sat, 17 Dec 2011 17:00:49 +0000 (12:00 -0500)]
* src/fileio.c (check_writable) [CYGWIN]: Return non-zero if UID or
GID is unknown (Bug#10257).

12 years agoAuto-commit of generated files.
Glenn Morris [Sat, 17 Dec 2011 11:17:53 +0000 (06:17 -0500)]
Auto-commit of generated files.

12 years agoMore updates for VC documentation.
Chong Yidong [Sat, 17 Dec 2011 07:50:08 +0000 (15:50 +0800)]
More updates for VC documentation.

* doc/emacs/maintaining.texi (VCS Concepts): Make "revision" terminology
less CVS-specific.
(VC With A Merging VCS, VC With A Locking VCS): Add xref to
Registering node.
(Secondary VC Commands): Deleted.  Promote subnodes.
(Log Buffer): Add command name for C-c C-c.  Fix the name of the
log buffer.  Add index entries.
(VCS Changesets, Types of Log File, VC With A Merging VCS): Use
"commit" terminology.
(Old Revisions): Move it to just before VC Change Log.  "Tag" here
doesn't refer to tags tables.  Note other possible forms of the
revision ID.  C-x v = does not save.
(Registering): Note similarity to C-x v v action.  Fix description
of how backends are chosen.  De-document vc-default-init-revision.
(VC Change Log): Document C-x v l in VC-Dir buffer.  Document RET
in root log buffers.

* lisp/vc/vc.el (vc-deduce-fileset): Minor doc fix.

12 years agoSpelling fixes.
Paul Eggert [Sat, 17 Dec 2011 06:51:13 +0000 (22:51 -0800)]
Spelling fixes.

12 years ago* s/gnu-linux.h: Fix mark_memory typo (Bug#10286).
Paul Eggert [Sat, 17 Dec 2011 01:05:26 +0000 (17:05 -0800)]
* s/gnu-linux.h: Fix mark_memory typo (Bug#10286).

(GC_MARK_SECONDARY_STACK): Omit removed 3rd arg to mark_memory,
which caused a build failure on GNU/Linux IA-64.  This problem was
introduced by my 2011-10-07 patch.

12 years agoPort HAVE_PTHREAD configuration to MirBSD 10 (Bug#10201).
Paul Eggert [Sat, 17 Dec 2011 00:51:40 +0000 (16:51 -0800)]
Port HAVE_PTHREAD configuration to MirBSD 10 (Bug#10201).

* configure.in (HAVE_PTHREAD): Check for pthread_atforkif linking
to gmalloc.c.  This should prevent a MirBSD 10 build failure reported
by Nelson H. F. Beebe in
<http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00065.html>.

12 years agoFixes for Maintaining chapter of Emacs manual.
Chong Yidong [Fri, 16 Dec 2011 16:05:59 +0000 (00:05 +0800)]
Fixes for Maintaining chapter of Emacs manual.

* doc/emacs/maintaining.texi (Version Control Systems): Drop Meta-CVS.
(Basic VC Editing): Remove redundant descriptions.
(VC With A Merging VCS): Make description more general instead of
CVS-specific.
(VC With A Locking VCS): Use VC fileset terminology.

12 years ago* lisp/vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
Chong Yidong [Fri, 16 Dec 2011 15:55:00 +0000 (23:55 +0800)]
* lisp/vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.

12 years ago* calc/calc-misc.el (calc-help): Avoid wrapping help message.
Andreas Schwab [Fri, 16 Dec 2011 13:32:35 +0000 (14:32 +0100)]
* calc/calc-misc.el (calc-help): Avoid wrapping help message.

12 years ago(Man-getpage-in-background): When running under a window-system, ignore $MANWIDTH...
Sam Steingold [Fri, 16 Dec 2011 03:14:07 +0000 (22:14 -0500)]
(Man-getpage-in-background): When running under a window-system, ignore $MANWIDTH and $COLUMNS.

12 years ago* lisp/gnus/mm-decode.el (mm-inline-media-tests): Add missing `mm-handle-media-subtype'.
Juri Linkov [Thu, 15 Dec 2011 23:35:40 +0000 (01:35 +0200)]
* lisp/gnus/mm-decode.el (mm-inline-media-tests): Add missing `mm-handle-media-subtype'.

12 years ago* src/image.c (imagemagick_error): New function.
Juri Linkov [Thu, 15 Dec 2011 23:28:56 +0000 (01:28 +0200)]
* src/image.c (imagemagick_error): New function.
(imagemagick_load_image): Comment out `MagickSetResolution' call.
Use `imagemagick_error' where ImageMagick functions return
`MagickFalse'.
(Fimagemagick_types): Add `Fnreverse' to return the list in the
proper order.

Fixes: debbugs:10112

12 years agoSpelling fixes.
Paul Eggert [Thu, 15 Dec 2011 22:14:12 +0000 (14:14 -0800)]
Spelling fixes.

12 years agoAuto-commit of generated files.
Glenn Morris [Thu, 15 Dec 2011 11:18:13 +0000 (06:18 -0500)]
Auto-commit of generated files.

12 years agomerge trunk
Kenichi Handa [Thu, 15 Dec 2011 07:51:01 +0000 (16:51 +0900)]
merge trunk

12 years agoFix Ethiopic related codes for deleted variables and functions.
Kenichi Handa [Thu, 15 Dec 2011 07:50:05 +0000 (16:50 +0900)]
Fix Ethiopic related codes for deleted variables and functions.

12 years agoSpelling fixes.
Paul Eggert [Thu, 15 Dec 2011 07:24:10 +0000 (23:24 -0800)]
Spelling fixes.

12 years agoxftfont.c (xftfont_draw): Use the font metrics of s->font to fill background (Bug...
Kenichi Handa [Thu, 15 Dec 2011 02:12:08 +0000 (11:12 +0900)]
xftfont.c (xftfont_draw): Use the font metrics of s->font to fill background (Bug#8992).

12 years agoSpelling fixes.
Paul Eggert [Wed, 14 Dec 2011 21:05:20 +0000 (13:05 -0800)]
Spelling fixes.

12 years agoAdd the switch statement to AWK Mode.
Alan Mackenzie [Tue, 13 Dec 2011 21:13:51 +0000 (21:13 +0000)]
Add the switch statement to AWK Mode.

12 years agoLarge brace-block initialisation makes CC Mode slow: Fix.
Alan Mackenzie [Tue, 13 Dec 2011 18:47:08 +0000 (18:47 +0000)]
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.

12 years ago* lisp/progmodes/pascal.el: Declare `ind' as dyn-bound.
Stefan Monnier [Tue, 13 Dec 2011 15:33:25 +0000 (10:33 -0500)]
* lisp/progmodes/pascal.el: Declare `ind' as dyn-bound.

Fixes: debbugs:10264

12 years agoFix doc-string typo.
Martin Rudalics [Tue, 13 Dec 2011 13:58:20 +0000 (14:58 +0100)]
Fix doc-string typo.

12 years agoFix doc-string of recenter-redisplay.
Martin Rudalics [Tue, 13 Dec 2011 13:53:00 +0000 (14:53 +0100)]
Fix doc-string of recenter-redisplay.

12 years agoMinor fixes in window handling code and docs.
Martin Rudalics [Tue, 13 Dec 2011 13:37:48 +0000 (14:37 +0100)]
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.

12 years ago* lisp/progmodes/make-mode.el: Bring it up to date with makepp V2.0.
Daniel Pfeiffer [Mon, 12 Dec 2011 21:23:42 +0000 (16:23 -0500)]
* 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 [[...]].

12 years agoAuto-commit of loaddefs files.
Glenn Morris [Mon, 12 Dec 2011 11:27:47 +0000 (06:27 -0500)]
Auto-commit of loaddefs files.

12 years agoMore updates to Building chapter of Emacs manual.
Chong Yidong [Mon, 12 Dec 2011 07:25:58 +0000 (15:25 +0800)]
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".

12 years agoSpelling fixes.
Paul Eggert [Mon, 12 Dec 2011 05:32:49 +0000 (21:32 -0800)]
Spelling fixes.

12 years agoFix typos.
Juanma Barranquero [Sun, 11 Dec 2011 17:08:11 +0000 (18:08 +0100)]
Fix typos.

12 years agoThe overall change is to add cell renaming, that is
Vincent Belaïche [Sun, 11 Dec 2011 14:49:48 +0000 (15:49 +0100)]
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.

12 years ago* progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp
Chong Yidong [Sun, 11 Dec 2011 13:17:07 +0000 (21:17 +0800)]
* progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp
which is required for completion via gud-gdb-fetch-lines-filter.

Fixes: debbugs:10274

12 years agomerge trunk
Kenichi Handa [Sun, 11 Dec 2011 12:11:01 +0000 (21:11 +0900)]
merge trunk

12 years agocoding.c (Funencodable_char_position): Pay attention to the buffer text relocation...
Kenichi Handa [Sun, 11 Dec 2011 12:08:51 +0000 (21:08 +0900)]
coding.c (Funencodable_char_position): Pay attention to the buffer text relocation (Bug#9389).

12 years agoAuto-commit of generated files.
Glenn Morris [Sun, 11 Dec 2011 11:20:56 +0000 (06:20 -0500)]
Auto-commit of generated files.

12 years agoFix docstring of other-window.
Martin Rudalics [Sun, 11 Dec 2011 10:38:11 +0000 (11:38 +0100)]
Fix docstring of other-window.

12 years ago* src/xterm.c (x_term_init): Move call to gdk_window_add_filter before
Jan Djärv [Sat, 10 Dec 2011 22:53:28 +0000 (23:53 +0100)]
* src/xterm.c (x_term_init): Move call to gdk_window_add_filter before
gtk_init.

Fixes: debbugs:10100

12 years agoFix bug #10263 with assertion violation using telugu-itrans input method.
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.

12 years ago* nsterm.h (x_free_frame_resources): Declare.
Jan Djärv [Sat, 10 Dec 2011 14:16:35 +0000 (15:16 +0100)]
* nsterm.h (x_free_frame_resources): Declare.

12 years agoDon't crash on bad user input.
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

12 years agoCommit auto-generated files.
Eli Zaretskii [Sat, 10 Dec 2011 13:48:35 +0000 (15:48 +0200)]
Commit auto-generated files.

12 years agoFix incorrect display of RFC2047 encoded names in Rmail summary buffers
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.

12 years agoupdate-subdirs: Don't set no-byte-compile twice (bug#10260).
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.

12 years ago* configure.in (HAVE_ALSA, HAVE_GSETTINGS): Save and restore LIBS
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

12 years agoFix bug #2975 with insufficient docs of texinfo-master-menu.
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.

12 years agoFix documentation and one misfeature of Texinfo mode update commands.
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

12 years agoMinor improvement in MS-Windows specific usage info.
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.

12 years agoMore updates to Building chapter of Emacs manual.
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.

12 years agoClarify auth-source in conjuction with smtpmail in NEWS.
Lars Magne Ingebrigtsen [Sat, 10 Dec 2011 06:58:12 +0000 (07:58 +0100)]
Clarify auth-source in conjuction with smtpmail in NEWS.

12 years agomessage.el (message-valid-fqdn-regexp): Udate with newly approved top-level domain...
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".

12 years agolisp/speedbar.el (speedbar-supported-extension-expressions): Add .adb, .ads.
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

12 years agoFix bug #10170 with extra scrolling after C-s.
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.

12 years agoFix for GNUstep build failure during dumping.
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).

12 years agoAdd a bug number to a ChangeLog entry.
Kenichi Handa [Fri, 9 Dec 2011 05:24:26 +0000 (14:24 +0900)]
Add a bug number to a ChangeLog entry.

12 years agoFix typos.
Juanma Barranquero [Fri, 9 Dec 2011 03:12:38 +0000 (04:12 +0100)]
Fix typos.

12 years ago* lisp/emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt.
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

12 years agoUpdates to Building chapter of Emacs manual.
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.

12 years ago* lisp/pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
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

12 years agognus-sum.el (gnus-summary-show-article): Don't load shr unconditionally.
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.

12 years agocoding.c (encode_coding_ccl): Check (charbuf < charbuf_end) after the loop to call...
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.

12 years agoftfont.c (get_adstyle_property): Fix previous change (Bug#10233).
Kenichi Handa [Thu, 8 Dec 2011 02:34:09 +0000 (11:34 +0900)]
ftfont.c (get_adstyle_property): Fix previous change (Bug#10233).

12 years agosrc/w32.c: Implement --no-site-lisp on Windows (bug#10208).
Juanma Barranquero [Wed, 7 Dec 2011 23:14:13 +0000 (00:14 +0100)]
src/w32.c: Implement --no-site-lisp on Windows (bug#10208).