1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-23 04:53:12 -08:00
Commit graph

103605 commits

Author SHA1 Message Date
Chong Yidong
d031f2c7b7 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix. 2011-12-22 18:16:45 +08:00
Chong Yidong
2785d02431 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.
2011-12-22 18:14:41 +08:00
Eli Zaretskii
0ab393996c doc/emacs/building.texi (Debugger Operation): Fix a typo in "@end iftex". 2011-12-22 05:56:49 +02:00
Drew Adams
bace743a4a * files.el (file-remote-p): Fix docstring. (Bug#10319) 2011-12-21 19:33:38 +01:00
Bastien Guerry
5da6dcc815 text.texi: add a section about Org Mode.
This section describes general concepts behind Org Mode
and redirects to the Org Manual when necessary.
2011-12-21 15:02:38 +01:00
Jérémy Compostella
728a1f2bbb * lisp/battery.el (battery-linux-sysfs): Add missing parameters from acpi. 2011-12-21 07:20:40 -05:00
Ted Zlatanov
0d373f73bc * progmodes/cfengine.el: Add CFEngine 3.x syntax highlighting and support. 2011-12-21 06:30:00 -05:00
Paul Eggert
6196cffecf Spelling fixes. 2011-12-21 01:58:39 -08:00
Chong Yidong
d3098e1ec6 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.
2011-12-21 16:39:32 +08:00
Jan Djärv
204ee57fa0 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].
2011-12-21 09:04:19 +01:00
Chong Yidong
bc86f573ee * vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in filename arg. 2011-12-21 15:46:49 +08:00
Jan Djärv
678f4426c3 Attribute Aquamacs code to David Reitter. 2011-12-21 07:37:49 +01:00
Alan Mackenzie
47d42d81af 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.
2011-12-20 16:00:47 +00:00
Martin Rudalics
d45ba96b43 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.
2011-12-20 08:45:20 +01:00
Chong Yidong
2edef1a0a6 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.
2011-12-20 11:00:10 +08:00
Juanma Barranquero
1154d12e5b Fix typos. 2011-12-19 16:46:50 +01:00
Sam Steingold
9954ec0dae * lisp/cedet/semantic/edit.el (semantic-edits-incremental-parser):
Add the autoload cookie, necessary for JDEE.
2011-12-19 10:15:11 -05:00
Glenn Morris
59ff373bd6 Auto-commit of loaddefs files. 2011-12-19 06:21:17 -05:00
Chong Yidong
bc859d5f3e 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.
2011-12-19 15:25:46 +08:00
Chong Yidong
a6198c9097 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.
2011-12-19 15:00:16 +08:00
Vincent Belaïche
34c5fb55c8 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. 2011-12-19 07:30:36 +01:00
Paul Eggert
99d990817c Spelling fixes. 2011-12-18 22:21:24 -08:00
Jan Djärv
3771cb1735 Fix spelling AquaEmacs => Aquamacs 2011-12-18 15:53:01 +01:00
Jan Djärv
5fecd5fce0 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
2011-12-18 15:50:19 +01:00
Jan Djärv
c803b2b767 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.
2011-12-18 14:49:38 +01:00
Ken Brown
e1b01a3a53 * src/fileio.c (check_writable) [CYGWIN]: Return non-zero if UID or
GID is unknown (Bug#10257).
2011-12-17 12:00:49 -05:00
Glenn Morris
e1fefc61a4 Auto-commit of generated files. 2011-12-17 06:17:53 -05:00
Chong Yidong
9cff91f800 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.
2011-12-17 15:50:08 +08:00
Paul Eggert
301b181a14 Spelling fixes. 2011-12-16 22:51:13 -08:00
Paul Eggert
2adb6e8578 * 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.
2011-12-16 17:05:26 -08:00
Paul Eggert
adee8a65c4 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>.
2011-12-16 16:51:40 -08:00
Chong Yidong
f3b316df61 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.
2011-12-17 00:05:59 +08:00
Chong Yidong
99a289d98d * lisp/vc/vc.el (vc-next-action): Doc fix; remove CVS-isms. 2011-12-16 23:55:00 +08:00
Andreas Schwab
f16c898aa3 * calc/calc-misc.el (calc-help): Avoid wrapping help message. 2011-12-16 14:32:35 +01:00
Sam Steingold
763237c468 (Man-getpage-in-background): When running under a window-system, ignore $MANWIDTH and $COLUMNS. 2011-12-15 22:14:07 -05:00
Juri Linkov
92a24ea80e * lisp/gnus/mm-decode.el (mm-inline-media-tests): Add missing `mm-handle-media-subtype'. 2011-12-16 01:35:40 +02:00
Juri Linkov
d1d7b339f8 * 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
2011-12-16 01:28:56 +02:00
Paul Eggert
a87ef89906 Spelling fixes. 2011-12-15 14:14:12 -08:00
Glenn Morris
b6d6d60706 Auto-commit of generated files. 2011-12-15 06:18:13 -05:00
Kenichi Handa
6080e05549 merge trunk 2011-12-15 16:51:01 +09:00
Kenichi Handa
5fc1c122cc Fix Ethiopic related codes for deleted variables and functions. 2011-12-15 16:50:05 +09:00
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