1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-31 20:02:42 +00:00
Commit Graph

104788 Commits

Author SHA1 Message Date
Glenn Morris
f12242679a * doc/lispref/edebug.texi (Jumping): Give name of `i' binding. 2012-03-30 09:12:37 -07:00
Agustín Martín
935d1290a6 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.
2012-03-30 11:45:11 +02:00
Eli Zaretskii
65a0a73847 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.
2012-03-30 11:45:27 +03:00
Glenn Morris
61c6e8fd0e 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
2012-03-29 20:59:52 -07:00
Stefan Monnier
81fdff0036 * lisp/progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
(perl-calculate-indent): Return `noindent' in strings.
2012-03-29 23:13:04 -04:00
Eli Zaretskii
581355cc06 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.
2012-03-29 22:06:39 +02:00
Sam Steingold
6e7a6ec037 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.
2012-03-29 10:00:00 -04:00
Glenn Morris
fee88ca0e8 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.
2012-03-28 12:30:12 -07:00
Stefan Monnier
e8fc049ff7 * src/keyboard.c (safe_run_hooks_error): Don't unquote strings. 2012-03-28 11:54:54 -04:00
Andreas Schwab
38de3354b7 Fixes: debbugs:11109
* vc/vc-git.el (vc-git-state): Don't try to match all of the diff
contents.
2012-03-28 12:12:02 +02:00
Glenn Morris
efdf29daf8 Comment 2012-03-28 01:02:53 -07:00
Glenn Morris
d14daa28e4 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.
2012-03-28 00:57:42 -07:00
Paul Eggert
425df10c7b Spelling fixes. 2012-03-28 00:24:26 -07:00
Stefan Monnier
b973155e95 * 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
2012-03-27 16:43:09 -04:00
Glenn Morris
5d956bc22e NEWS pedantry 2012-03-27 16:24:48 -04:00
Martin Rudalics
dcb6e7b38a 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.
2012-03-27 11:22:01 +02:00
Glenn Morris
4fb9a54314 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.
2012-03-26 23:46:42 -07:00
Glenn Morris
b4fa35fa9c * lisp/startup.el (mail-host-address): Doc fix. 2012-03-26 23:45:12 -07:00
Glenn Morris
9364727b19 * doc/lispref/processes.texi (Network Servers): Standardize apostrophe usage. 2012-03-26 20:50:49 -04:00
Glenn Morris
cf0495f2cd 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.
2012-03-26 20:49:32 -04:00
Stefan Monnier
f9210e18be * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
than 197 variables.
2012-03-26 15:10:00 -04:00
Kenichi Handa
679910f18b dispextern.h (struct glyph): Fix previous change. Change the bit length of glyphless.ch to 25 (Bug#11082). 2012-03-26 14:43:05 +09:00
Chong Yidong
90d49b7fb2 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
2012-03-26 12:06:31 +08:00
Ami Fischman
c0bf77531e * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking. 2012-03-26 11:08:15 +08:00
Glenn Morris
02243d9dc1 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.
2012-03-25 18:35:47 -07:00
Glenn Morris
33da7b164b 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.
2012-03-25 17:37:04 -07:00
Fabrice Popineau
f514f6f0e3 Remove dead MSVC-specific code.
src/w32heap.c (_heap_init, _heap_term): Remove dead MSVC-specific code.
2012-03-25 20:30:50 +02:00
Eli Zaretskii
e5a69fd00a 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.
2012-03-25 20:17:46 +02:00
Kenichi Handa
bf43fa51a6 dispextern.h (struct glyph): Change the bit length of glyphless.ch to 22 to make the member glyphless fit in 32 bits. 2012-03-26 00:35:23 +09:00
Chong Yidong
4125cb8b65 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.
2012-03-25 22:05:51 +08:00
Lars Magne Ingebrigtsen
e0fe1d5589 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.
2012-03-25 15:38:22 +02:00
Chong Yidong
dd47096027 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
2012-03-25 20:52:49 +08:00
Chong Yidong
9a69676ae6 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.
2012-03-25 15:58:59 +08:00
Eli Zaretskii
8a0c01dd25 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.
2012-03-24 15:43:21 +02:00
Simon Leinen
6e7e90fa24 * vc/vc.el (vc-merge): Fix a prompt. 2012-03-24 21:23:23 +08:00
Chong Yidong
f06e2758ba * mwheel.el (mwheel-scroll): Call deactivate-mark at the right point.
Fixes: debbugs:9623
2012-03-24 19:05:39 +08:00
Andreas Schwab
8ed7952375 * xdisp.c (produce_glyphless_glyph): Limit length of acronym to 6
characters.
2012-03-24 10:29:00 +01:00
Andreas Schwab
7d1c3a76cf Fixes: debbugs:11080
* xterm.c (XTread_socket): Only modify handling_signal if
!SYNC_INPUT.
2012-03-24 09:32:50 +01:00
Eli Zaretskii
e99a9b8bdc Fix bug #11073 with bidi-related crashes displaying some byte sequences.
src/bidi.c (bidi_fetch_char): Use STRING_CHAR_AND_LENGTH instead of
 FETCH_MULTIBYTE_CHAR followed by CHAR_BYTES.  Prevents crashes
 when fetching a multibyte character consumes more bytes than
 CHAR_BYTES returns, due to unification of CJK characters in
 string_char.
2012-03-23 14:32:23 +02:00
Troels Nielsen
5063c0e1a2 * src/process.c (wait_reading_process_output): Handle pty disconnect
by refraining from sending oneself a SIGCHLD.

Fixes: debbugs:10933
2012-03-23 08:23:14 -04:00
Gnus developers
005a89ffd3 Merge changes made in No Gnus
2012-03-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
 * auth-source.el (auth-source-netrc-create): Quote tokens that contain
 "#" to avoid having them interpreted as comments.
2012-03-22  Peder O. Klingenberg  <peder@klingenberg.no>  (tiny change)
 * gnus.texi (Archived Messages): Update `gnus-message-archive-group' to
 reflect the new default.
2012-03-23 11:22:21 +00:00
Stefan Monnier
b9d0879b49 * lisp/newcomment.el (comment-choose-indent): No space after BOL. 2012-03-22 22:46:31 -04:00
Sam Steingold
e71cebb3c3 * lisp/window.el (switch-to-prev-buffer): Revert last patch because the
bug turned out to be an advertised feature (Elisp manual 28.14).
2012-03-22 16:49:04 -04:00
Glenn Morris
9e1a1109f7 Tweak previous vz-bzr change yet again 2012-03-22 15:57:43 -04:00
Glenn Morris
b4715d2a08 Tweak previous vc-bzr change 2012-03-22 15:17:43 -04:00
Glenn Morris
335aff3569 Use bzr status --no-classify when supported (bug#6724)
* lisp/vc/vc-bzr.el (vc-bzr-status-switches): New option.
(vc-bzr-command): If running "status", pass vc-bzr-status-switches.
2012-03-22 15:06:03 -04:00
Lars Magne Ingebrigtsen
c676576a42 Fix starttls-related error message under Windows
* net/network-stream.el (network-stream-open-starttls): Make error
message under Windows be less misleading.
2012-03-22 19:42:12 +01:00
Liang Wang
126f3d39bb * lisp/progmodes/etags.el (etags-list-tags): Only use tags which goto-func
understands.

Fixes: debbugs:9942
2012-03-22 10:46:05 -04:00
Chong Yidong
64fee3118a Fix corner case in end-of-visible-line.
* lisp/simple.el (end-of-visible-line): Handle return value of
next-single-property-change properly.

Fixes: debbugs:9371
2012-03-22 15:38:05 +08:00
Chong Yidong
9f851fbd28 For line prefixes, use default face; don't inherit from previous line.
* src/dispextern.h (struct it): New member string_from_prefix_prop_p.

* src/xdisp.c (push_prefix_prop): Renamed from push_display_prop.
Mark string as coming from a prefix property.
(handle_face_prop): Use default face for prefix strings.
(pop_it, reseat_1): Save and restore string_from_prefix_prop_p.

Fixes: debbugs:4281
2012-03-22 15:08:17 +08:00