1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-31 17:30:54 -08:00
Commit graph

57584 commits

Author SHA1 Message Date
Glenn Morris
208dee4daa * lisp/subr.el (y-or-n-p): Handle empty prompts.
Fixes: debbugs:14770
2013-07-02 20:13:07 -07:00
Fabián Ezequiel Gallina
20992a8504 * progmodes/python.el: Fix typo in commentary. 2013-05-26 06:06:02 -03:00
Fabián Ezequiel Gallina
f782d53133 * progmodes/python.el (python-indent-block-enders): Add break,
continue and raise keywords.
2013-05-26 05:55:02 -03:00
Ulrich Mueller
b01682fbbe * lisp/descr-text.el (describe-char): Fix %d/%x typo.
Fixes: debbugs:14360
2013-05-07 20:52:54 -07:00
Glenn Morris
e5271cf20c * subr.el (read-number): Once more use `read'
rather than `string-to-number', to trap non-numeric input.

Fixes: debbugs:14254
2013-04-24 10:31:43 -07:00
Erik Charlebois
70203c2ec1 * lisp/emacs-lisp/syntax.el (syntax-propertize-multiline):
Use `syntax-multiline' text property consistently instead of
`font-lock-multiline'..

Fixes: debbugs:14237
2013-04-22 10:11:37 -04:00
Stefan Monnier
f6ae5c5df1 Backport trunk 2013-03-26T00:42:08Z!monnier@iro.umontreal.ca em-prompt fix
* lisp/eshell/em-prompt.el (eshell-emit-prompt):
Make sure we can't insert into the prompt either.

Fixes: debbugs:13963
2013-04-06 16:05:53 -07:00
Glenn Morris
b011a6e801 Standardize license notice 2013-03-30 09:52:28 -07:00
Fabián Ezequiel Gallina
c9886b39eb Un-indent after "pass" and "return" statements
* lisp/progmodes/python.el (python-indent-block-enders): New var.
(python-indent-calculate-indentation): Use it.

* test/automated/python-tests.el
(python-indent-block-enders): New test.
(python-info-current-defun-2): Fix test.

Fixes: debbugs:13888
2013-03-25 22:55:11 -03:00
Michael Albinus
4430bd5399 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
defun.  Defining it as defalias could introduce too eager
byte-compiler optimization.  (Bug#14030)
2013-03-25 10:16:31 +01:00
Chong Yidong
89468837db * iswitchb.el (iswitchb-read-buffer): Fix typo. 2013-03-25 11:53:46 +08:00
Leo Liu
67ed8fcd04 * progmodes/scheme.el: Add indentation and font-locking for λ.
Fixes: debbugs:13975
2013-03-16 23:24:39 +08:00
Stefan Monnier
efe8bf5d9b * lisp/emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
token before point.

Fixes: debbugs:13942
2013-03-14 10:48:03 -04:00
Leo Liu
95b43468a4 * thingatpt.el (end-of-sexp): Use syntax-after. 2013-03-14 22:16:00 +08:00
Leo Liu
00094c26f3 * thingatpt.el (end-of-sexp): Fix bug#13952. 2013-03-14 19:48:05 +08:00
Glenn Morris
24958590a0 Add 24.3 release to ChangeLogs 2013-03-10 19:35:23 -07:00
Bastien Guerry
f186a0b537 Fix critical bug in Org. 2013-03-08 07:37:21 +01:00
Glenn Morris
408ffa0fef Regenerate AUTHORS and ldefs-boot.el 2013-03-04 19:55:25 -08:00
Glenn Morris
fa4c60b8e4 Auto-commit of loaddefs files. 2013-03-01 07:17:43 -05:00
Bastien Guerry
8a28a5b8d8 Merge latest Org fixes (commit 7524ef2). 2013-02-28 01:31:26 +01:00
Glenn Morris
f0e19dc15d * lisp/textmodes/paragraphs.el (mark-paragraph): Doc fix. 2013-02-25 14:43:44 -05:00
Juri Linkov
54d9de1168 * lisp/isearch.el (isearch-lazy-highlight-new-loop):
Set `isearch-lazy-highlight-start' and `isearch-lazy-highlight-end'
to `isearch-other-end' if it is not nil. 

* lisp/replace.el (replace-highlight): Let-bind `isearch-other-end'
to `match-beg'.

* lisp/textmodes/ispell.el (ispell-highlight-spelling-error-overlay):
Let-bind `isearch-other-end' to `start', `isearch-forward' to t
and `isearch-error' to nil.

Fixes: debbugs:13402
2013-02-21 19:45:12 +02:00
Fabián Ezequiel Gallina
c132ab7921 * progmodes/python.el (python-info-current-defun): Enhance
match-data cluttering prevention.
2013-02-20 17:41:46 -03:00
Glenn Morris
e233e1000e * lisp/net/tramp.el (tramp-get-debug-buffer): Ensure outline.el is not
loaded while outline-regexp is let bound.  (Bug#9584)
2013-02-19 16:21:30 -05:00
Fabián Ezequiel Gallina
33c0cb2549 * progmodes/python.el (python-info-current-defun): Fix failed
defun name retrieval because of unwanted match-data cluttering.
2013-02-19 15:53:57 -03:00
Fabián Ezequiel Gallina
2af3b9c16e * progmodes/python.el (python-indent-context): Fix
python-info-line-ends-backslash-p call.
(python-info-line-ends-backslash-p)
(python-info-beginning-of-backslash): Respect line-number
argument.
(python-info-current-line-comment-p): Fix behavior when not at
beginning-of-line.
(python-util-position): Remove function.
(python-util-goto-line): New function.
2013-02-19 00:18:32 -03:00
Glenn Morris
6db17b0200 Remove some defunct/no longer relevant MORE.STUFF links.
Move info-look stuff to info-look.el commentary.
2013-02-18 19:10:46 -08:00
Michael Albinus
c9bcc580e8 * eshell/em-unix.el (eshell/su): Require tramp.
(eshell/sudo): Require tramp.  Remove now unnecessary check.

* net/tramp-sh.el (tramp-sh-handle-start-file-process): Let-bind
`tramp-current-connection' in order to avoid an error when several
commands are invoked in a short time in eshell and friends.
2013-02-18 20:13:21 +01:00
Didier Verna
e5b246e9f3 * lisp/net/network-stream.el (network-stream-open-starttls):
Check that response to the starttls-command is non-nil.

Fixes: debbugs:13706
2013-02-15 18:45:24 -08:00
Glenn Morris
9e16c3b44b * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix re setf. 2013-02-14 09:16:47 -08:00
Stefan Monnier
213ac1686c * lisp/net/goto-addr.el (goto-address-fontify): Add start and end args.
(goto-address-fontify-region): Use them instead of narrowing, so
syntax-ppss has access to the whole buffer.
2013-02-14 10:53:46 -05:00
Fabián Ezequiel Gallina
ea5f4192b9 * progmodes/python.el: Explain how to restore "cc-mode"-like
forward-sexp movement in header documentation.
(python-nav--forward-sexp): Behave like emacs-lisp-mode in
comments and strings (GH bug 114).

Fixes: debbugs:13642
2013-02-13 21:42:11 -03:00
Fabián Ezequiel Gallina
5cd3d1e56e Push ChangeLog entry for previous commit. 2013-02-13 20:09:12 -03:00
Fabián Ezequiel Gallina
dcbec5e2e6 * progmodes/python.el (python-info-current-defun): Fix current
defun detection.

Fixes: debbugs:13618
2013-02-13 20:07:59 -03:00
Chong Yidong
a1d23eb505 * xml.el (xml-parse-string): Fix typo in handling of bad character references. 2013-02-13 15:24:11 +08:00
Paul Eggert
65e7ca35a6 In doc, use standard American English style for e.g., etc., i.e. 2013-02-12 09:36:54 -08:00
Michael Albinus
e08e7d9154 * net/ange-ftp.el (ange-ftp-make-directory): Don't raise an error,
if DIR exists and PARENTS is non-nil.
2013-02-10 11:07:09 +01:00
Glenn Morris
7171926321 ChangeLog typo fix 2013-02-09 17:32:14 -08:00
Katsumi Yamaoka
ac0215a325 lisp/gnus/nnir.el ("nnir"): Add 'virtual ability to nnir backend 2013-02-10 00:51:34 +00:00
Chong Yidong
e78e7e486d Correct non-standard binding of report-emacs-bug-insert-to-mailer.
* lisp/mail/emacsbug.el (report-emacs-bug): Change binding of
report-emacs-bug-insert-to-mailer to C-c M-i.

Fixes: debbugs:13510
2013-02-09 12:43:42 +08:00
Glenn Morris
4d34e0a7bf Regenerate AUTHORS and ldefs-boot.el 2013-02-07 00:03:47 -08:00
Glenn Morris
a8e4d516cc ChangeLog author fix 2013-02-06 23:40:58 -08:00
Bastien Guerry
d351707783 Merge Org 7.9.3e (commit b07a9bb). 2013-02-07 08:11:59 +01:00
Gabor Vida
17d14f7e29 * auth-source.el (auth-source-format-prompt): Don't get confused by any "\"
in replacement text.

Fixes: debbugs:13637
2013-02-06 20:53:26 -05:00
Alan Mackenzie
d23b0804fb Fix bug in the state cache mechanism. Remove 'BOD "strategy". Refactor.
cc-engine.el (c-get-fallback-scan-pos): Remove.
(c-parse-state-get-strategy): Don't return 'BOD any more.
(c-append-lower-brace-pair-to-state-cache): Extra parameter HERE instead
of narrowing.  Widen to top of buffer before searching backwards for a
brace pair.
(c-state-push-any-brace-pair): Add HERE parameter to function call.
(c-append-to-state-cache): Extra parameter HERE in place of narrowing.
Narrow to parameter HERE, in place of being called narrowed.
(c-remove-stale-state-cache): Extra parameter HERE in place of narrowing.
Check there's an open brace in the cache before searching for its match.
(c-invalidate-state-cache-1): Add HERE parameter to function call.
(c-parse-state-1): Don't narrow here for 'forward strategy, instead
passing extra parameter HERE to several functions.  Remove 'BOD strategy.
2013-02-02 18:24:10 +00:00
Stefan Monnier
13841bfcc2 * lisp/mouse.el (mouse-drag-track): Always deactivate the mark before
running the final event's command since that command is in charge of
activating the mark if needed.

Fixes: debbugs:13523
2013-02-01 18:40:55 -05:00
Juri Linkov
dc2bc29527 * lisp/replace.el (perform-replace): Move let-bindings of isearch-*
variables deeper to the loop that searches for the next match.
Add bindings for `isearch-nonincremental' and `isearch-adjusted'.
Use `isearch-search-fun-default' instead of `isearch-search-fun'.

* lisp/isearch.el (isearch-search-fun-default): Check for null
first element of isearch-cmds as a precaution when it's used
with inactive isearch.

Fixes: debbugs:13579
2013-02-02 01:38:41 +02:00
Andrew W. Nosenko
f864e0ea83 * net/tramp.el (tramp-check-for-regexp): Avoid "Args out of range"
error when buffer in question is narrowed so position 1 is out of
visible part.
2013-02-01 22:10:08 +01:00
Glenn Morris
25b4eb90f9 Auto-commit of loaddefs files. 2013-02-01 07:18:14 -05:00
David Engster
be798504fa Sync CEDET and EIEIO version numbers with upstream. 2013-01-31 20:58:56 +01:00