1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-28 00:01:33 -08:00
Commit graph

21569 commits

Author SHA1 Message Date
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
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
Kenichi Handa
0e85d2cf54 merge trunk 2012-03-22 13:23:16 +09:00
Kenichi Handa
a640d29ae4 international/quail.el (quail-insert-kbd-layout): Fix previous change. To avoid unwanted bidi reordering, use bidi-string-mark-left-to-right instead of inserting LRO and PDF. 2012-03-22 13:20:07 +09:00
Dmitry Gutov
396750161e * lisp/progmodes/ruby-mode.el: Don't confuse "end:" for "end".
(ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
(ruby-beginning-of-indent): Be more careful with the difference
between word-boundary and symbol boundary.
(ruby-mode-syntax-table): Make : a symbol constituent.

Fixes: debbugs:10786
2012-03-21 14:33:07 -04:00
Stefan Monnier
0a6934fc04 Fix last ChangeLog + Andreas Politz has signed paperwork. 2012-03-21 14:27:05 -04:00
Stefan Monnier
3d008e4f23 * lisp/outline.el (outline-flag-region): Evaporate overlays.
Fixes: debbugs:10789
2012-03-21 14:21:24 -04:00
Stefan Monnier
af67c9d7cd * progmodes/etags.el (tags-completion-at-point-function): Improve last fix. 2012-03-21 13:50:28 -04:00
Stefan Monnier
1acad97c3e * lisp/files.el (move-file-to-trash): Files aren't regexps.
Fixes: debbugs:11055
2012-03-21 13:44:55 -04:00
Sam Steingold
e298b5da3d * lisp/progmodes/etags.el (tags-completion-at-point-function):
Avoid the error when point is inside the pattern.
2012-03-21 13:17:23 -04:00
John Yates
91d82a7029 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first line.
Fixes: debbugs:10855
2012-03-22 01:02:09 +08:00
Chong Yidong
69188b79df * info.el (Info-menu): Handle string value of FORK arg.
Fixes: debbugs:10858
2012-03-22 00:56:55 +08:00
Anmol Khirbat
99fc91fecd Handle nil value of ido-completion-buffer.
* lisp/ido.el (ido-set-current-directory, ido-read-internal)
(ido-choose-completion-string, ido-completion-help): Handle nil
value of ido-completion-buffer.

Fixes: debbugs:11008
2012-03-22 00:41:01 +08:00
Sam Steingold
087bbb4cac * lisp/window.el (switch-to-prev-buffer): Do not switch to a visible
window previous buffer, just like with the frame previous buffers.
2012-03-21 12:01:18 -04:00
Chong Yidong
fb5b8aca99 Updates to Display chapter of Lisp manual.
* doc/lispref/display.texi (The Echo Area): Add xref to Output Streams.
(Displaying Messages): Improve doc of message.
(Echo Area Customization, Invisible Text): Copyedits.
(Invisible Text): Mention that spec comparison is done with eq.
(Width): Improve doc of char-width.
(Faces): Recommend using symbol instead of string for face name.
Minor clarifications.
(Defining Faces): Copyedits.  Update face example.
(Attribute Functions): Mark set-face-foreground etc as commands.
(Face Remapping): Mention text-scale-adjust.  Clarify
face-remapping-alist and related docs.
(Face Functions): Don't document make-face or copy-face.

* lisp/faces.el (make-face, make-empty-face, copy-face):
* lisp/face-remap.el (face-remap-add-relative, face-remap-set-base):
Doc fixes.

* src/xfaces.c (Vface_remapping_alist): Doc fix.
2012-03-21 15:02:13 +08:00
Stefan Monnier
dc9924b8bd * lisp/wid-edit.el (widget-complete-field): Remove.
(widget-complete): Remove broken use of it.

Fixes: debbugs:11051
2012-03-20 22:13:52 -04:00
Chong Yidong
f0bcceb995 Improve column width calculation in tabulated-list.el.
* lisp/emacs-lisp/tabulated-list.el (tabulated-list-print-entry): Use
string-width and truncate-string-width to handle arbitrary
characters.
2012-03-20 23:44:45 +08:00
Tassilo Horn
ee52ebf3e2 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
to draw rectangles, not squares.  (Regression introduced by
  2011-03-02T03:48:01Z!cyd@stupidchicken.com)
2012-03-20 09:13:11 +01:00
Chong Yidong
4c5779ab90 * faces.el (face-spec-reset-face): Don't run display-graphic-p if undefined. 2012-03-18 22:18:01 +08:00
Leo Liu
153609342a * lisp/net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with
prefix.
2012-03-18 11:27:28 +08:00
Eli Zaretskii
d9a8eb664e Fix doc strings in ispell.el/.
lisp/textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
 (ispell-choices-win-default-height, ispell-silently-savep)
 (ispell-dictionary-alist, ispell-encoding8-command)
 (ispell-check-version, ispell-aspell-find-dictionary)
 (ispell-valid-dictionary-list, ispell-words-keyword)
 (ispell-get-word, ispell-internal-change-dictionary)
 (ispell-region, ispell-skip-region-list)
 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
 (ispell-message-text-end, ispell-message)
 (ispell-buffer-local-parsing): Doc fix.
2012-03-17 21:46:52 +02:00
Jambunathan K
f02ff80d33 * htmlfontify.el: Add support for code block fontification
for ODT export.
(hfy-optimisations): Define new option
`body-text-only'
(hfy-fontify-buffer): Honor above setting.
(hfy-begin-span, hfy-end-span): New routines factored out form
`hfy-fontify-buffer'.
(hfy-begin-span-handler, hfy-end-span-handler): New variables
that permit insertion of custom tags.
(hfy-fontify-buffer): Use above handlers.
(hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
(hfy-face-to-css): Re-defined to be a variable.
(hfy-compile-stylesheet): Modified.  Allow stylesheet to be built
over multiple runs. This is made possible by having the caller let
bind a special variable `hfy-user-sheet-assoc'.
(htmlfontify-string): New defun.
(hfy-compile-face-map): Make sure that the last char in the
buffer is correctly fontified.
(hfy-face-resolve-face): Whitespace only change.

Fixes: debbugs:9914
2012-03-17 22:03:54 +08:00
Eli Zaretskii
9ac7a13f08 Improve error message in ispell-get-decoded-string.
lisp/textmodes/ispell.el (ispell-get-decoded-string): Make the error
 message mention the alists that need to be fixed.
2012-03-17 11:13:19 +02:00
Leo Liu
e2b5bdd73a * lisp/emacs-lisp/copyright.el (copyright-year-ranges): Fix typo. 2012-03-17 00:36:27 +08:00
Alan Mackenzie
2e492df3cd Further optimise the handling of large macros. 2012-03-16 14:10:54 +00:00
Leo Liu
50e94f0c5d * lisp/font-lock.el (lisp-font-lock-keywords-2): Add letrec. 2012-03-16 20:26:22 +08:00
Aaron S. Hawley
6f09f6ed08 tar-mode buffer-read-only fix
* lisp/tar-mode.el (tar-mode): Fix saving by conditionally undoing
`special-mode' setting of `buffer-read-only'.

Fixes: debbugs:11010
2012-03-16 00:21:23 -07:00
Glenn Morris
da98623081 Doc fixes for view-mode and special major-modes
Ref: http://debbugs.gnu.org/10650

* doc/lispref/modes.texi (Major Mode Conventions):
Mention the strange (IMO) relationship between View mode and special modes.

* lisp/view.el (view-buffer, view-buffer-other-window)
(view-buffer-other-frame): Doc fixes re special mode-class.
2012-03-15 21:40:20 -04:00
Glenn Morris
0835f01e98 eval-after-load fix for bug#10946
* lisp/subr.el (eval-after-load): If named feature is provided not
from a file, run after-load forms.
2012-03-15 21:27:23 -04:00
Glenn Morris
c7e73d5177 calendar-insert-at-column small fix for bug#10978
* lisp/calendar/calendar.el (calendar-insert-at-column):
Handle non-unit-width characters a bit better.
2012-03-15 21:10:46 -04:00
Chong Yidong
3f2eafd1fb Fix ring extension code in ring.el, and tweak comint-input-ring handling.
* lisp/emacs-lisp/ring.el (ring-extend): New function.
(ring-insert+extend): Extend the ring correctly.

* lisp/comint.el (comint-read-input-ring)
(comint-add-to-input-history): Grow comint-input-ring lazily.

Fixes: debbugs:11019
2012-03-15 16:00:43 +08:00
Stefan Monnier
663b16775f * lisp/progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
Fix up parsing of multiline twoarg non-paired elements.

Fixes: debbugs:11014
2012-03-14 23:09:26 -04:00
Stefan Monnier
103af3fe87 * lisp/imenu.el: Fix multiple inheritance breakage.
(imenu-add-to-menubar): Don't add a redundant index.
(imenu-update-menubar): Handle a dynamically composed keymap.

Fixes: debbugs:9199
2012-03-14 21:38:40 -04:00
Katsumi Yamaoka
899cb7cb68 mail/sendmail.el (mail-encode-header): Bind rfc2047-encode-encoded-words to nil. 2012-03-13 23:27:56 +00:00
Glenn Morris
3809f91dfa Small calendar-string-spread fix for bug#10978
* lisp/calendar/calendar.el (calendar-string-spread):
Handle non-unit-width characters a bit better.
2012-03-13 13:56:31 -04:00
Leo Liu
9e345a01ba * lisp/vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
directory and file as argument.

Fixes: debbugs:10822
2012-03-13 18:40:29 +08:00
Kaushik Srenevasan
4a07df36a5 GDB change for dynamically generated code (tiny change)
Ref: http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00753.html

* lisp/progmodes/gdb-mi.el (gdb-invalidate-disassembly):
For dynamically generated code, follow $PC.
(gdb-disassembly-handler-custom): Handle no function name case.

Fixes: debbugs:10597
2012-03-13 00:07:10 -07:00
Tim Landscheidt
4aaa93566b Fix some missing trailing whitespace (tiny change)
* lisp/calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
* lisp/emulation/ws-mode.el (ws-query-replace):
* lisp/sort.el (sort-regexp-fields):
Fix missing trailing whitespace in interactive prompts.

Fixes: debbugs:11002
2012-03-12 23:54:37 -07:00
Stefan Monnier
225979daf9 * lisp/dabbrev.el: Fix cycle completion order.
(dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
(dabbrev-completion): Don't use an obarray; provide
a cycle-sort-function.

Fixes: debbugs:10963
2012-03-12 16:07:45 -04:00
Leo Liu
e2f1fdab91 * lisp/simple.el (kill-new): Use equal-including-properties for
comparison.
(kill-do-not-save-duplicates): Doc fix.
2012-03-13 02:21:35 +08:00
Stefan Monnier
b19490edc3 * lisp/dabbrev.el: Fix cycle completion.
Use lexical binding and wrap to 80 columns.
(dabbrev-completion): Delay computing the list of completions.

Fixes: debbugs:10963
2012-03-12 09:03:10 -04:00
Kenichi Handa
4b05d72231 international/quail.el (quail-insert-kbd-layout): Surround each row by LRO and PDF instead of inserting many LRMs. Pad the left and right of each non-spacing marks. Insert invisible space between lower and upper characters to prevent composition. 2012-03-12 16:42:02 +09:00
Stefan Monnier
dbbc2e69e4 * lisp/minibuffer.el (minibuffer-complete): Don't get confused when the
function is run twice via different commands.
(complete-with-action): Fix docstring.

Fixes: debbugs:10958
2012-03-12 00:10:59 -04:00
Chong Yidong
5d1ac394e1 Adapt nXML mode to Emacs 24 completion scheme.
* lisp/nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET.
(nxml-completion-at-point-function): New function.
(nxml-mode): Use it.
(nxml-bind-meta-tab-to-complete-flag): Default to t.

Fixes: debbugs:6776
2012-03-12 11:58:20 +08:00
Chong Yidong
292112ed3b Load a package's generated autoloads file before byte compiling it.
* lisp/emacs-lisp/package.el (package-unpack, package-unpack-single):
Load generated autoloads file before byte compiling.
(package--make-autoloads-and-compile): New helper fun.

Fixes: debbugs:10970
2012-03-12 11:03:16 +08:00
Christopher Schmidt
4098f8f73c * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error. 2012-03-12 10:41:22 +08:00