]> git.eshelyaron.com Git - emacs.git/log
emacs.git
12 years ago* lisp/server.el (server--on-display-p): New function.
Stefan Monnier [Wed, 4 Apr 2012 17:13:00 +0000 (13:13 -0400)]
* lisp/server.el (server--on-display-p): New function.
(server--on-display-p): Use it.

12 years ago* lisp/ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p.
Gabor Vida [Wed, 4 Apr 2012 16:22:09 +0000 (12:22 -0400)]
* lisp/ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p.

Fixes: debbugs:11145
12 years ago* lisp/comint.el (comint--common-quoted-suffix): Check string boundary
Stefan Monnier [Wed, 4 Apr 2012 16:06:59 +0000 (12:06 -0400)]
* lisp/comint.el (comint--common-quoted-suffix): Check string boundary
before comparing.
* lisp/pcomplete.el (pcomplete--common-quoted-suffix): Idem.

Fixes: debbugs:11158
12 years agoChange doc flag for secrets.el
Michael Albinus [Wed, 4 Apr 2012 15:32:59 +0000 (17:32 +0200)]
Change doc flag for secrets.el

12 years ago* auth.texi (Secret Service API): Add the missing text.
Michael Albinus [Wed, 4 Apr 2012 15:28:57 +0000 (17:28 +0200)]
* auth.texi (Secret Service API): Add the missing text.

12 years agoSome more completion updates for Lisp manual.
Chong Yidong [Wed, 4 Apr 2012 10:32:35 +0000 (18:32 +0800)]
Some more completion updates for Lisp manual.

* doc/lispref/minibuf.texi (Reading File Names): minibuffer-local-filename-must-match-map is
not used anymore.
(Minibuffer Completion): Document completing-read-function.
(Completion in Buffers): completion-at-point-functions can return
properties recognized in completion-extra-properties.

12 years agoDocument completion-extra-properties in Lisp manual.
Chong Yidong [Wed, 4 Apr 2012 09:19:32 +0000 (17:19 +0800)]
Document completion-extra-properties in Lisp manual.

* doc/lispref/minibuf.texi (Programmed Completion): Remove obsolete variable
completion-annotate-function.
(Completion Variables): Rename from Completion Styles.  Document
completion-extra-properties.  Document completion-styles-alist
change.

* lisp/minibuffer.el (completion-extra-properties): Doc fix.

12 years ago* doc/lispref/os.texi (Notifications): Copyedits.
Chong Yidong [Wed, 4 Apr 2012 08:11:01 +0000 (16:11 +0800)]
* doc/lispref/os.texi (Notifications): Copyedits.

12 years agoSeveral miscellaneous doc changes.
Chong Yidong [Wed, 4 Apr 2012 07:54:02 +0000 (15:54 +0800)]
Several miscellaneous doc changes.

* doc/lispref/display.texi (Delayed Warnings): New node.

* doc/misc/gnus-faq.texi (FAQ 8-2): Mention EasyPG.

* doc/misc/gnus.texi: Reduce references to obsolete pgg library.
(Security): Note that epg is now the default.

* doc/misc/message.texi (Using PGP/MIME): Note that epg is now the default.

* doc/misc/nxml-mode.texi (Completion): C-RET is no longer bound to
nxml-complete.

* lisp/subr.el (delayed-warnings-hook): Doc fix.

* src/keyboard.c (Vdelayed_warnings_list): Doc fix.

12 years ago* doc/lispref/os.texi (Notifications): Copyedits.
Glenn Morris [Wed, 4 Apr 2012 07:38:30 +0000 (00:38 -0700)]
* doc/lispref/os.texi (Notifications): Copyedits.

12 years agoFix commenting convention in PROBLEMS example
Glenn Morris [Wed, 4 Apr 2012 07:30:02 +0000 (00:30 -0700)]
Fix commenting convention in PROBLEMS example

12 years agoFix NEWS typo
Glenn Morris [Wed, 4 Apr 2012 07:29:06 +0000 (00:29 -0700)]
Fix NEWS typo

12 years agoChangeLog fix
Glenn Morris [Wed, 4 Apr 2012 07:27:58 +0000 (00:27 -0700)]
ChangeLog fix

12 years agoMore small edits for doc/emacs/glossary.texi
Glenn Morris [Wed, 4 Apr 2012 07:27:17 +0000 (00:27 -0700)]
More small edits for doc/emacs/glossary.texi

* doc/emacs/glossary.texi (Glossary): Copyedits.
New items: Bidirectional Text, Client, Directory Local Variable,
File Local Variable, Server, Theme, Trash Can.

* admin/FOR-RELEASE: Related markup.

12 years agoadmin/notes/tags small update
Glenn Morris [Wed, 4 Apr 2012 02:11:56 +0000 (22:11 -0400)]
admin/notes/tags small update

12 years agoSmall edits for doc/emacs/glossary.texi
Glenn Morris [Wed, 4 Apr 2012 01:44:33 +0000 (21:44 -0400)]
Small edits for doc/emacs/glossary.texi

* doc/emacs/glossary.texi (Glossary): Copyedits.
Use Texinfo-recommended convention for quotes and punctuation.
Comment out a few specialized (Rmail) items.

12 years agoepa: bind C-c C-c to finish key selection.
Daiki Ueno [Wed, 4 Apr 2012 01:38:37 +0000 (10:38 +0900)]
epa: bind C-c C-c to finish key selection.

12 years agoreport-emacs-bug: cope with read-only signature.
Richard M. Stallman [Wed, 4 Apr 2012 01:05:29 +0000 (21:05 -0400)]
report-emacs-bug: cope with read-only signature.

12 years agoNew admin/notes file
Glenn Morris [Tue, 3 Apr 2012 20:03:34 +0000 (16:03 -0400)]
New admin/notes file

12 years agoChange doc flag for D-Bus
Michael Albinus [Tue, 3 Apr 2012 13:44:41 +0000 (15:44 +0200)]
Change doc flag for D-Bus

12 years agoAdd :version tag to new Org options in Emacs 24.1
Bastien Guerry [Tue, 3 Apr 2012 12:02:21 +0000 (14:02 +0200)]
Add :version tag to new Org options in Emacs 24.1

12 years agoFix small regressions in Org
Bastien Guerry [Tue, 3 Apr 2012 10:28:31 +0000 (12:28 +0200)]
Fix small regressions in Org

12 years agoTwo minor doc/consistency fixes.
Chong Yidong [Tue, 3 Apr 2012 10:21:47 +0000 (18:21 +0800)]
Two minor doc/consistency fixes.

* doc/emacs/sending.texi (Mail Misc): Fix an index entry.

* lisp/mail/sendmail.el (mail-mode-map): Bind C-c C-i to
mail-insert-file, not its obsolete alias mail-attach-file.

12 years agoReorder and edit some NEWS entries.
Chong Yidong [Tue, 3 Apr 2012 10:16:54 +0000 (18:16 +0800)]
Reorder and edit some NEWS entries.

12 years agoChange doc flag for notifications.el and soap-client.el
Michael Albinus [Tue, 3 Apr 2012 08:18:10 +0000 (10:18 +0200)]
Change doc flag for notifications.el and soap-client.el

12 years ago* os.texi (Terminal-Specific): Fix typo.
Michael Albinus [Tue, 3 Apr 2012 08:10:17 +0000 (10:10 +0200)]
* os.texi (Terminal-Specific): Fix typo.
(Notifications): New section.

* elisp.texi (Top):
* vol1.texi (Top):
* vol2.texi (Top): Add "Notifications" and "Dynamic Libraries"
menu entries.

12 years ago* notifications.el (notifications-notify): Fix docstring.
Michael Albinus [Tue, 3 Apr 2012 07:20:32 +0000 (09:20 +0200)]
* notifications.el (notifications-notify): Fix docstring.

12 years agoAdd details about emacsclient -c and -t on MS-Windows.
Eli Zaretskii [Mon, 2 Apr 2012 17:33:41 +0000 (20:33 +0300)]
Add details about emacsclient -c and -t on MS-Windows.

 doc/emacs/msdog.texi (Windows Startup): Add description of emacsclient
 operation under -c and -t on MS-Windows.
 doc/emacs/misc.texi (emacsclient Options): Add cross-reference to "Windows
 Startup".

Fixes: debbugs:11091
12 years ago* emacs-lisp/authors.el (authors-aliases): Another addition.
Glenn Morris [Mon, 2 Apr 2012 16:32:06 +0000 (09:32 -0700)]
* emacs-lisp/authors.el (authors-aliases): Another addition.

12 years agoFix regressions in Org.
Bastien Guerry [Mon, 2 Apr 2012 15:42:03 +0000 (17:42 +0200)]
Fix regressions in Org.

12 years agoAuto-commit of generated files.
Glenn Morris [Mon, 2 Apr 2012 10:17:30 +0000 (06:17 -0400)]
Auto-commit of generated files.

12 years agoNEWS: Add CC Mode entries.
Alan Mackenzie [Mon, 2 Apr 2012 09:59:52 +0000 (09:59 +0000)]
NEWS: Add CC Mode entries.

12 years ago* net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
Michael Albinus [Mon, 2 Apr 2012 08:50:26 +0000 (10:50 +0200)]
* net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
`tramp-compat-call-process' instead of `tramp-local-call-process'.
Reported by Magnus Henoch <magnus.henoch@gmail.com>.

12 years agoBump version to 24.0.95. emacs-pretest-24.0.05 emacs-pretest-24.0.95
Chong Yidong [Mon, 2 Apr 2012 04:38:31 +0000 (12:38 +0800)]
Bump version to 24.0.95.
Regenerate AUTHORS and ldefs-boot.el.

12 years ago* doc/emacs/custom.texi (Changing a Variable): Fix example.
Dani Moncayo [Mon, 2 Apr 2012 04:18:06 +0000 (12:18 +0800)]
* doc/emacs/custom.texi (Changing a Variable): Fix example.

12 years agoSpelling fixes.
Paul Eggert [Mon, 2 Apr 2012 00:43:32 +0000 (17:43 -0700)]
Spelling fixes.

12 years agoMore tweaks about emacsclient on MS-Windows.
Eli Zaretskii [Sun, 1 Apr 2012 20:47:58 +0000 (23:47 +0300)]
More tweaks about emacsclient on MS-Windows.

Fixes: debbugs:11091
12 years agoFix copyright and authors lines in Org
Bastien Guerry [Sun, 1 Apr 2012 20:27:06 +0000 (22:27 +0200)]
Fix copyright and authors lines in Org

12 years agoFix copyright declaration in ob-fortran.el
Bastien Guerry [Sun, 1 Apr 2012 19:55:11 +0000 (21:55 +0200)]
Fix copyright declaration in ob-fortran.el

12 years agoNEWS fix.
Glenn Morris [Sun, 1 Apr 2012 19:32:29 +0000 (12:32 -0700)]
NEWS fix.

12 years agoFix bug in org-todo.
Bastien Guerry [Sun, 1 Apr 2012 18:37:50 +0000 (20:37 +0200)]
Fix bug in org-todo.

12 years agoImprove documentation of emacsclient -c and -t on MS-Windows.
Eli Zaretskii [Sun, 1 Apr 2012 17:44:17 +0000 (20:44 +0300)]
Improve documentation of emacsclient -c and -t on MS-Windows.

 doc/emacs/misc.texi (emacsclient Options): More clarifications about -t
 and -c on MS-Windows.

Fixes: debbugs:11091
12 years agoFix unsafe use of alloca reported in bug #11138.
Eli Zaretskii [Sun, 1 Apr 2012 16:55:30 +0000 (19:55 +0300)]
Fix unsafe use of alloca reported in bug #11138.

 src/w32menu.c (simple_dialog_show, add_menu_item): Use SAFE_ALLOCA
 instead of alloca.

12 years agoFixes: debbugs:11141
Andreas Schwab [Sun, 1 Apr 2012 16:42:57 +0000 (18:42 +0200)]
Fixes: debbugs:11141
* w32menu.c (is_simple_dialog): Properly check lisp types.

12 years agoAuto-commit of loaddefs files.
Glenn Morris [Sun, 1 Apr 2012 10:22:13 +0000 (06:22 -0400)]
Auto-commit of loaddefs files.

12 years agoUpdate to Org version 7.8.07 (commit da0e6f in Org's repo)
Bastien Guerry [Sun, 1 Apr 2012 09:49:25 +0000 (11:49 +0200)]
Update to Org version 7.8.07 (commit da0e6f in Org's repo)

12 years agoRename file-subdir-of-p to file-in-directory-p.
Chong Yidong [Sun, 1 Apr 2012 02:44:24 +0000 (10:44 +0800)]
Rename file-subdir-of-p to file-in-directory-p.

* lisp/files.el (file-in-directory-p): Rename from file-subdir-of-p.
Handle root directory properly.
(copy-directory): Caller changed.

* lisp/dired-aux.el (dired-copy-file-recursive, dired-create-files):
* lisp/net/tramp.el (tramp-file-name-for-operation): Callers changed.

* doc/lispref/files.texi (Kinds of Files): file-subdir-of-p renamed to
file-in-directory-p.

12 years agoDoc fix for xterm-extra-capabilities
Glenn Morris [Sat, 31 Mar 2012 20:22:04 +0000 (13:22 -0700)]
Doc fix for xterm-extra-capabilities

* lisp/term/xterm.el (xterm-extra-capabilities): Doc fix.

* etc/PROBLEMS: Mention xterm-extra-capabilities issue.

12 years ago* lisp/language/indian.el ("Devanagari"): Fix typo.
Glenn Morris [Sat, 31 Mar 2012 20:05:46 +0000 (13:05 -0700)]
* lisp/language/indian.el ("Devanagari"): Fix typo.

Fixes: debbugs:11103
12 years agoRevert 2012-03-28 calendar change
Glenn Morris [Sat, 31 Mar 2012 20:03:59 +0000 (13:03 -0700)]
Revert 2012-03-28 calendar change

* lisp/calendar/calendar.el (calendar-window-list)
(calendar-hide-window): Restore.
(calendar-exit): Use calendar-window-list, calendar-hide-window again.

Fixes: debbugs:11140
12 years agoEdebug doc fixes
Glenn Morris [Sat, 31 Mar 2012 19:58:05 +0000 (12:58 -0700)]
Edebug doc fixes

* doc/lispref/edebug.texi (Instrumenting Macro Calls):
Mention defining macros at instrumentation time.
(Edebug Options): Mention edebug-unwrap-results.

* lisp/emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
Comments.

* admin/FOR-RELEASE: Markup.

12 years agoFix bug #11063 with move_it_by_lines when there's a before-string at bol.
Eli Zaretskii [Sat, 31 Mar 2012 19:30:53 +0000 (22:30 +0300)]
Fix bug #11063 with move_it_by_lines when there's a before-string at bol.

 src/xdisp.c (move_it_by_lines): When DVPOS is positive, and the
 position we get to after a call to move_it_to fails the
 IS_POS_VALID_AFTER_MOVE_P test, move to the next buffer position
 only if we wind up in a string from display property.

12 years agoFix bug #7464 with mouse highlight after "C-x 1".
Eli Zaretskii [Sat, 31 Mar 2012 18:10:34 +0000 (21:10 +0300)]
Fix bug #7464 with mouse highlight after "C-x 1".

 src/window.c (Fdelete_other_windows_internal): Invalidate the row
 and column information about mouse highlight, so that redisplay
 restores it after reallocating the glyph matrices.

12 years agoRemove an incorrect assertion on move_it_by_lines.
Eli Zaretskii [Sat, 31 Mar 2012 17:08:38 +0000 (20:08 +0300)]
Remove an incorrect assertion on move_it_by_lines.

 src/xdisp.c (move_it_by_lines): Remove the assertion that
 "it->current_x == 0 && it->hpos == 0" which can be legitimately
 violated when there's a before-string at the beginning of a line.
 (Bug#11063)

12 years agoImprove documentation of 'cursor' text property.
Eli Zaretskii [Sat, 31 Mar 2012 10:27:04 +0000 (13:27 +0300)]
Improve documentation of 'cursor' text property.

 doc/lispref/text.texi (Special Properties): Clarify the description of the
 effect of integer values of the 'cursor' property on cursor
 position.  See the discussions in bug#11068 for more details and
 context.

12 years agoFix bug #11091 with inaccurate docs of emacsclient on MS-Windows.
Eli Zaretskii [Sat, 31 Mar 2012 09:52:20 +0000 (12:52 +0300)]
Fix bug #11091 with inaccurate docs of emacsclient on MS-Windows.

 doc/emacs/misc.texi (emacsclient Options): Document peculiarities of new
 frame creation on MS-Windows under -c or -t options.

12 years agoFix cursor positioning in rows completely covered by display strings.
Eli Zaretskii [Sat, 31 Mar 2012 07:45:33 +0000 (10:45 +0300)]
Fix cursor positioning in rows completely covered by display strings.

 src/xdisp.c (set_cursor_from_row): If `cursor' property on a display
 string comes from a `display' text property, use the buffer
 position of that property as if we actually saw that position in
 the row's glyphs.

12 years agolispref/edebug.texi copyedits
Glenn Morris [Sat, 31 Mar 2012 01:09:30 +0000 (21:09 -0400)]
lispref/edebug.texi copyedits

* doc/lispref/edebug.texi (Edebug Eval, Specification List, Edebug Options):
Copyedits.

12 years agoRemove debug code.
Chong Yidong [Fri, 30 Mar 2012 16:52:52 +0000 (00:52 +0800)]
Remove debug code.

12 years agoFix copying of symlinks.
Thierry Volpiatto [Fri, 30 Mar 2012 16:49:29 +0000 (00:49 +0800)]
Fix copying of symlinks.

* dired-aux.el (dired-copy-file-recursive, dired-create-files):
Check if file is a symlink (Bug#10489).

* files.el (copy-directory): Likewise.

12 years agoUpdates for Display chapter of Lisp manual.
Chong Yidong [Fri, 30 Mar 2012 16:31:24 +0000 (00:31 +0800)]
Updates for Display chapter of Lisp manual.

* doc/lispref/display.texi (Image Formats): Add imagemagick type.
(Image Descriptors): Mention how they are used.
(ImageMagick Images): Clarify role of imagemagick-register-types.
(Character Display): Don't mention glyph tables.
(Display Tables): Use make-glyph-code in example.
(Glyphs): Avoid "simple glyph code" terminology.  Note that glyph
tables are semi-obsolete.  De-document create-glyph.
(Glyphless Chars): Note that display tables override this.
(Bidirectional Display): Copyedits.  Introduce "bidirectional
reordering" terminology, and use it.

* doc/emacs/files.texi (File Conveniences): Clarify Imagemagick discussion.

* lisp/image.el (imagemagick-types-inhibit)
(imagemagick-register-types): Doc fix.

12 years agoComment.
Glenn Morris [Fri, 30 Mar 2012 16:21:11 +0000 (09:21 -0700)]
Comment.

12 years ago* doc/lispref/edebug.texi (Jumping): Give name of `i' binding.
Glenn Morris [Fri, 30 Mar 2012 16:12:37 +0000 (09:12 -0700)]
* doc/lispref/edebug.texi (Jumping): Give name of `i' binding.

12 years agoispell.el (ispell-get-extended-character-mode): Make sure extended-character-mode...
Agustín Martín [Fri, 30 Mar 2012 09:45:11 +0000 (11:45 +0200)]
ispell.el (ispell-get-extended-character-mode): Make sure extended-character-mode is nil for hunspell

Work around hunspell not ignoring extended-character-mode
set from pipe mode by making sure extended-character-mode
is nil for hunspell.

12 years agoFix bug #11068 with window display when default face was remapped.
Eli Zaretskii [Fri, 30 Mar 2012 08:45:27 +0000 (11:45 +0300)]
Fix bug #11068 with window display when default face was remapped.

 src/xdisp.c (append_space_for_newline): If the default face was
 remapped, use the remapped face for the appended newline.
 (extend_face_to_end_of_line): Use the remapped default face for
 extending the face to the end of the line.
 (display_line): Call extend_face_to_end_of_line when the default
 face was remapped.

12 years agohelp-with-tutorial buffer-read-only fix
Glenn Morris [Fri, 30 Mar 2012 03:59:52 +0000 (20:59 -0700)]
help-with-tutorial buffer-read-only fix

* lisp/tutorial.el (help-with-tutorial):
Ensure local variables don't happen to make the buffer read-only.

Fixes: debbugs:11127
12 years ago* lisp/progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
Stefan Monnier [Fri, 30 Mar 2012 03:13:04 +0000 (23:13 -0400)]
* lisp/progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
(perl-calculate-indent): Return `noindent' in strings.

12 years agoDiscourage in comments from defining HAVE_GETCWD on MS-Windows.
Eli Zaretskii [Thu, 29 Mar 2012 20:06:39 +0000 (22:06 +0200)]
Discourage in comments from defining HAVE_GETCWD on MS-Windows.

 src/s/ms-w32.h: Discourage from defining HAVE_GETCWD.
 nt/config.nt: Discourage from defining HAVE_GETCWD.

12 years agocalendar/calendar.el (calendar-exit): Use `quit-windows-on' instead of
Sam Steingold [Thu, 29 Mar 2012 14:00:00 +0000 (10:00 -0400)]
calendar/calendar.el (calendar-exit): Use `quit-windows-on' instead of
the broken adhockery which does not prevent calendar buffers from
being displayed at random after exit.
(calendar-window-list, calendar-hide-window): Remove the broken adhockery.

12 years agoDoc and lispref updates related to searching
Glenn Morris [Wed, 28 Mar 2012 19:30:12 +0000 (12:30 -0700)]
Doc and lispref updates related to searching

* doc/lispref/searching.texi (Regexp Functions, Regexp Search):
(Simple Match Data, Saving Match Data, Standard Regexps): Copyedits.
(Regexp Functions): Mention regexp-opt is not guaranteed.
Mention regexp-opt-charset.
(Regexp Search): Recommend against looking-back.
(Search and Replace): Use Texinfo recommended quote convention.
Add more query-replace-map items.  List multi-query-replace-map items.

* lisp/replace.el (query-replace-map): Doc fix.

* admin/FOR-RELEASE: Related markup.

12 years ago* src/keyboard.c (safe_run_hooks_error): Don't unquote strings.
Stefan Monnier [Wed, 28 Mar 2012 15:54:54 +0000 (11:54 -0400)]
* src/keyboard.c (safe_run_hooks_error): Don't unquote strings.

12 years agoFixes: debbugs:11109
Andreas Schwab [Wed, 28 Mar 2012 10:12:02 +0000 (12:12 +0200)]
Fixes: debbugs:11109
* vc/vc-git.el (vc-git-state): Don't try to match all of the diff
contents.

12 years agoComment
Glenn Morris [Wed, 28 Mar 2012 08:02:53 +0000 (01:02 -0700)]
Comment

12 years agolispref/searching.tex small edits
Glenn Morris [Wed, 28 Mar 2012 07:57:42 +0000 (00:57 -0700)]
lispref/searching.tex small edits

* doc/lispref/searching.texi (Regular Expressions, Regexp Special):
(Regexp Backslash, Regexp Example): Copyedits.
(Regexp Special): Mention collation.
Clarify char classes with an example.

12 years agoSpelling fixes.
Paul Eggert [Wed, 28 Mar 2012 07:24:26 +0000 (00:24 -0700)]
Spelling fixes.

12 years ago* lisp/emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo.
Stefan Monnier [Tue, 27 Mar 2012 20:43:09 +0000 (16:43 -0400)]
* lisp/emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo.
(avl-tree--check, avl-tree--check-node): New funs.

Fixes: debbugs:11077
12 years agoNEWS pedantry
Glenn Morris [Tue, 27 Mar 2012 20:24:48 +0000 (16:24 -0400)]
NEWS pedantry

12 years agoOptionally avoid that switching to previous or next buffer shows that buffer twice.
Martin Rudalics [Tue, 27 Mar 2012 09:22:01 +0000 (11:22 +0200)]
Optionally avoid that switching to previous or next buffer shows that buffer twice.

* window.el (switch-to-visible-buffer): New option.
(switch-to-prev-buffer, switch-to-next-buffer): Observe
switch-to-visible-buffer.  Make sure that checking for a window
showing a buffer already is done on the same frame.

* windows.texi (Window History): Describe new option
switch-to-visible-buffer.

12 years agoSmall doc and elisp manual fixes related to searching
Glenn Morris [Tue, 27 Mar 2012 06:46:42 +0000 (23:46 -0700)]
Small doc and elisp manual fixes related to searching

* doc/lispref/searching.texi (String Search): Add xref to Emacs manual.
Copyedits.  Mention the function word-search-regexp.
(Searching and Case): Add xref to Emacs manual.  Copyedits.

* src/search.c (Fword_search_backward_lax, Fword_search_forward_lax):
Doc fixes.

12 years ago* lisp/startup.el (mail-host-address): Doc fix.
Glenn Morris [Tue, 27 Mar 2012 06:45:12 +0000 (23:45 -0700)]
* lisp/startup.el (mail-host-address): Doc fix.

12 years ago* doc/lispref/processes.texi (Network Servers): Standardize apostrophe usage.
Glenn Morris [Tue, 27 Mar 2012 00:50:49 +0000 (20:50 -0400)]
* doc/lispref/processes.texi (Network Servers): Standardize apostrophe usage.

12 years agoMore lispref/os.texi small edits
Glenn Morris [Tue, 27 Mar 2012 00:49:32 +0000 (20:49 -0400)]
More lispref/os.texi small edits

* doc/lispref/os.texi (System Environment): Copyedits.
Remove some examples that do not seem useful.  Mention setenv third arg.
tty-erase-char does not seem to be nil under a window-system.
(User Identification): Copyedits.
Remove some examples that do not seem useful.

12 years ago* emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
Stefan Monnier [Mon, 26 Mar 2012 19:10:00 +0000 (15:10 -0400)]
* emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
than 197 variables.

12 years agodispextern.h (struct glyph): Fix previous change. Change the bit length of glyphless...
Kenichi Handa [Mon, 26 Mar 2012 05:43:05 +0000 (14:43 +0900)]
dispextern.h (struct glyph): Fix previous change.  Change the bit length of glyphless.ch to 25 (Bug#11082).

12 years agoNew variable selection-inhibit-update-commands, for inhibiting selection updates.
Chong Yidong [Mon, 26 Mar 2012 04:06:31 +0000 (12:06 +0800)]
New variable selection-inhibit-update-commands, for inhibiting selection updates.

* keyboard.c (Vselection_inhibit_update_commands): New variable.
(command_loop_1): Use it; inhibit selection update for
handle-select-window too.

Fixes: debbugs:8996
12 years ago* vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
Ami Fischman [Mon, 26 Mar 2012 03:08:15 +0000 (11:08 +0800)]
* vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.

12 years agoMore small edits for lispref/os.texi
Glenn Morris [Mon, 26 Mar 2012 01:35:47 +0000 (18:35 -0700)]
More small edits for lispref/os.texi

* doc/lispref/os.texi (Killing Emacs): Copyedits.
(Suspending Emacs): Copyedits.  Mention not very relevant with GUIs.
Shorten the example, use more standard shell prompts.

* lisp/files.el (save-buffers-kill-emacs): Doc fix.

12 years agoSmall edits for lispref/os.texi
Glenn Morris [Mon, 26 Mar 2012 00:37:04 +0000 (17:37 -0700)]
Small edits for lispref/os.texi

* doc/lispref/os.texi (Startup Summary): Copyedits.  Fix startup screen logic.
(Init File): Copyedits.
(Command-Line Arguments): Copyedits.  Do not mention argv alias.

* lisp/startup.el (normal-top-level, command-line, command-line-1):
Give them doc strings.

12 years agoRemove dead MSVC-specific code.
Fabrice Popineau [Sun, 25 Mar 2012 18:30:50 +0000 (20:30 +0200)]
Remove dead MSVC-specific code.

 src/w32heap.c (_heap_init, _heap_term): Remove dead MSVC-specific code.

12 years agoFix parallel "make install" on MS-Windows.
Eli Zaretskii [Sun, 25 Mar 2012 18:17:46 +0000 (20:17 +0200)]
Fix parallel "make install" on MS-Windows.

 nt/makefile.w32-in (install-bin): Don't copy addpm.exe here.  Use
 $(DIRNAME)_same-dir.tst instead of same-dir.tst, to avoid stepping
 on other (parallel) Make job's toes.
 (install-other-dirs-nmake, install-other-dirs-gmake): Depend on `all'.
 (install-shortcuts): Depend on $(INSTALL_DIR)/bin.  Copy addpm.exe
 here.
 (maybe-copy-distfiles-CMD, maybe-copy-distfiles-SH, dist): Depend
 on create-tmp-dist-dir.
 nt/nmake.defs (DIRNAME): New variable.
 (IFNOTSAMEDIR): Use $(DIRNAME)_same-dir.tst instead of
 same-dir.tst.
 nt/gmake.defs (DIRNAME): New variable.
 (IFNOTSAMEDIR): Use $(DIRNAME)_same-dir.tst instead of
 same-dir.tst, to avoid conflicts between several (parallel) Make
 jobs.
 lisp/makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
 of same-dir.tst, to avoid stepping on other (parallel) Make job's
 toes.
 leim/makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
 of same-dir.tst, to avoid stepping on other (parallel) Make job's
 toes.

12 years agodispextern.h (struct glyph): Change the bit length of glyphless.ch to 22 to make...
Kenichi Handa [Sun, 25 Mar 2012 15:35:23 +0000 (00:35 +0900)]
dispextern.h (struct glyph): Change the bit length of glyphless.ch to 22 to make the member glyphless fit in 32 bits.

12 years agoFix interaction of load-theme with cust-theme.el.
Chong Yidong [Sun, 25 Mar 2012 14:05:51 +0000 (22:05 +0800)]
Fix interaction of load-theme with cust-theme.el.

* lisp/custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
theme if it was previously enabled before (Bug#11031).

* lisp/cus-theme.el (customize-create-theme, custom-theme-revert): Doc fixes.

12 years agoFix race condition in url-queue when doing the callback
Lars Magne Ingebrigtsen [Sun, 25 Mar 2012 13:38:22 +0000 (15:38 +0200)]
Fix race condition in url-queue when doing the callback

* url-queue.el (url-queue-kill-job): Check whether the buffer has
been killed asynchronously before selecting it.

12 years agoFix for custom-theme-write-faces.
Chong Yidong [Sun, 25 Mar 2012 12:52:49 +0000 (20:52 +0800)]
Fix for custom-theme-write-faces.

* lisp/cus-theme.el (custom-theme-write-faces): Retrieve current face
spec with custom-face-get-current-spec if its :shown-value is not
determined yet.

Fixes: debbugs:9337
12 years agoUpdates to Display chapter of Lisp manual.
Chong Yidong [Sun, 25 Mar 2012 07:58:59 +0000 (15:58 +0800)]
Updates to Display chapter of Lisp manual.

* doc/lispref/display.texi (Fringes): Note that fringes are shown on graphical
displays only.
(Fringe Size/Pos, Fringe Bitmaps, Making Buttons): Clarifications.
(Replacing Specs): Clarify example.
(Manipulating Buttons): Note that button-at can return a marker.
(Buttons): Minor rewrite.
(Character Display): New node.  Consolidate all character display
related nodes into its subsections.
(Usual Display): Character 127 is also affected by ctl-arrow.
(Display Tables): Improve example.

* lisp/button.el (button-at): Minor addition to docstring.

12 years agoFix bug #9960 with MSVC build on MS-Windows.
Eli Zaretskii [Sat, 24 Mar 2012 13:43:21 +0000 (15:43 +0200)]
Fix bug #9960 with MSVC build on MS-Windows.

 src/s/ms-w32.h (tzname): Include time.h before redirecting to
 _tzname.  Fixes the MSVC build.

12 years ago* vc/vc.el (vc-merge): Fix a prompt.
Simon Leinen [Sat, 24 Mar 2012 13:23:23 +0000 (21:23 +0800)]
* vc/vc.el (vc-merge): Fix a prompt.

12 years ago* mwheel.el (mwheel-scroll): Call deactivate-mark at the right point.
Chong Yidong [Sat, 24 Mar 2012 11:05:39 +0000 (19:05 +0800)]
* mwheel.el (mwheel-scroll): Call deactivate-mark at the right point.

Fixes: debbugs:9623
12 years ago* xdisp.c (produce_glyphless_glyph): Limit length of acronym to 6
Andreas Schwab [Sat, 24 Mar 2012 09:29:00 +0000 (10:29 +0100)]
* xdisp.c (produce_glyphless_glyph): Limit length of acronym to 6
characters.

12 years agoFixes: debbugs:11080
Andreas Schwab [Sat, 24 Mar 2012 08:32:50 +0000 (09:32 +0100)]
Fixes: debbugs:11080
* xterm.c (XTread_socket): Only modify handling_signal if
!SYNC_INPUT.