1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-02 02:10:46 -08:00
Commit graph

103856 commits

Author SHA1 Message Date
Jérémy Compostella
fa8eafefbe In window states don't deal with the mark.
* window.el (window--state-get-1, window--state-put-2): Don't
save and restore the mark.
2012-01-25 15:28:01 +01:00
Glenn Morris
40047858c6 dired-goto-file fix for some `ls -b' escapes.
* lisp/dired.el (dired-goto-file):
Handle some of the more common characters that `ls -b' escapes.

Fixes: debbugs:10596
2012-01-25 00:20:24 -08:00
Mats Lidell
21f5018395 Update TUTORIAL.sv. 2012-01-25 14:12:10 +08:00
Chong Yidong
14af5f7fc4 Merge from emacs-23 branch 2012-01-25 13:55:01 +08:00
Chong Yidong
0b21c100be Tweak custom-variable-p and user-variable-p docs.
* lisp/custom.el (custom-variable-p): Doc fix.

* src/eval.c (Fuser_variable_p): Doc fix; mention custom-variable-p.
2012-01-25 13:48:11 +08:00
Glenn Morris
5ddce96c61 compile/grep fix for bug#10594
* lisp/progmodes/compile.el (compilation-next-error-function):
Respect compilation-first-column in the "*compilation*" buffer.
* lisp/progmodes/grep.el (grep-first-column): New variable.
2012-01-24 21:01:22 -05:00
Glenn Morris
5ae1a6c8a2 * lisp/vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513) 2012-01-24 19:07:04 -05:00
Glenn Morris
b559f1a908 * lisp/pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457) 2012-01-24 13:10:39 -05:00
Chong Yidong
1021c7615d Update Variables chapter of Lisp manual to handle lexical binding.
* doc/lispref/variables.texi (Variables, Local Variables, Void Variables):
Edit to make the descriptions less specific to dynamic binding.
(Local Variables): Default max-specpdl-size is now 1300.
(Defining Variables): Edits for lexical scoping.  Delete
information about starting docstrings with *.  De-document
user-variable-p.
(Tips for Defining): Remove an unimportant discussion of quitting
in the middle of a load.
(Accessing Variables, Setting Variables): Discuss lexical binding.
(Variable Scoping): Rewrite.
(Scope, Extent, Impl of Scope): Nodes deleted.
(Dynamic Binding): New node, with material from Scope, Extent, and
Impl of Scope nodes.
(Dynamic Binding Tips): Rename from Using Scoping.
(Lexical Binding): Rewrite.
(Using Lexical Binding): Rename from Converting to Lexical
Binding.  Convert to subsection.

* doc/lispref/customize.texi (Variable Definitions): Add custom-variable-p.
Move user-variable-p documentation here.
2012-01-25 00:08:00 +08:00
Julien Danjou
6725d21a1b color.el: Add saturate, lighten functions. 2012-01-24 12:06:51 +00:00
Glenn Morris
70df4bbe29 Fix rcs and sccs create-tag commands.
* lisp/vc/vc-rcs.el (vc-rcs-create-tag):
* lisp/vc/vc-sccs.el (vc-sccs-create-tag):
Fix argument spec to be what vc-create-tag expects.

Fixes: debbugs:10515
2012-01-24 00:22:50 -08:00
Paul Eggert
b13f806e12 Spelling fix. 2012-01-23 11:44:28 -08:00
Glenn Morris
cb5850f27c Replace vc-dired references in comments with vc-dir. 2012-01-23 00:45:59 -08:00
Glenn Morris
b8fe8712d0 * pcl-cvs.texi (About PCL-CVS): Refer to vc-dir rather than vc-dired. 2012-01-23 00:38:22 -08:00
Mike Lamb
d7128bb164 * lisp/eshell/esh-util.el (pcomplete/ssh): Remove alias. (tiny change)
There is a better pcomplete/ssh defined in pcmpl-unix.el.

Fixes: debbugs:10548
2012-01-23 00:18:22 -08:00
Mike Lamb
802a2ae21f Handle comments in eshell-read-hosts-file (tiny change)
* lisp/eshell/esh-util.el (eshell-read-hosts-file): Skip comment lines.

Fixes: debbugs:10549
2012-01-23 00:12:10 -08:00
Chong Yidong
f088cb8b2f Fix last change. 2012-01-23 14:54:20 +08:00
Chong Yidong
20d2304d18 * doc/emacs/anti.texi (Antinews): Add Emacs 24 antinews. 2012-01-23 14:52:18 +08:00
Chong Yidong
31cbea1d3d Update several Lisp manual chapters.
* doc/lispref/eval.texi (Intro Eval, Symbol Forms): Minor tweaks for
correctness with lexical scoping.
(Eval): Copyedits.

* doc/lispref/sequences.texi (Sequence Functions): Don't repeat the
introduction already given in the parent.
(Vectors): Copyedits.
(Rings): Move from lists.texi.  Note that this is specific to the
ring package.

* doc/lispref/lists.texi (Cons Cells): Copyedits.
(List Elements): Mention push.
(List Variables): Mention pop.
(Rings): Move to sequences.texi.

* doc/lispref/strings.texi (Text Comparison): Minor qualification.

* doc/lispref/symbols.texi (Definitions, Symbol Components): Mention variable
scoping issues.
(Plists and Alists): Copyedits.
2012-01-23 12:23:50 +08:00
Juanma Barranquero
2724d9c71e lisp/subr.el: Rework previous change.
* lisp/subr.el (display-delayed-warnings): Doc fix.
  (collapse-delayed-warnings): New function to collapse identical
  adjacent warnings.
  (delayed-warnings-hook): Add it.
2012-01-23 03:10:36 +01:00
Juanma Barranquero
d1a5c3b450 lisp/subr.el (display-delayed-warnings): Collapse identical adjacent messages. 2012-01-23 02:10:50 +01:00
Michael Albinus
a5509865d7 * net/tramp.el (tramp-action-login): Set connection property "login-as".
* net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
properties, when "login-as" is set.

* net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
(tramp-default-user-alist): Don't add "pscp".
(tramp-do-copy-or-rename-file-out-of-band): Use connection
property "login-as", if set.  (Bug#10530)
2012-01-22 13:55:36 +01:00
Lars Magne Ingebrigtsen
0dc422898a mm-decode.el (mm-interactively-view-part): Fix prompt. 2012-01-22 00:54:58 +00:00
Chong Yidong
fead402ddd Emacs Lisp manual updates.
* doc/lispref/intro.texi (A Sample Function Description): Special notation
used for macros too.

* doc/lispref/objects.texi (Ctl-Char Syntax, Other Char Bits): Copyedits.
(Symbol Type): Add xref for keyword symbols.
(Sequence Type): Clarify differences between sequence types.
(Cons Cell Type): Add "linked list" index entry.
(Non-ASCII in Strings): Copyedits.
(Equality Predicates): Symbols with same name need not be eq.

* doc/lispref/numbers.texi (Float Basics): Document isnan, copysign, frexp and
ldexp.  Move float-e and float-pi to Math Functions node.
2012-01-22 00:04:55 +08:00
Michael Albinus
cc6d5805ba * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
"plink1" and "psftp".  (Bug#10530)
2012-01-21 17:02:53 +01:00
Chong Yidong
3c2907f7e8 Make second arg of copysign non-optional.
* src/floatfns.c (Fcopysign): Make the second argument non-optional,
since nil is not allowed anyway.
2012-01-21 23:52:46 +08:00
Ognyan Kulev
7a22e70011 Update TUTORIAL.bg. 2012-01-21 22:58:38 +08:00
Kenichi Handa
678fb70666 merge trunk 2012-01-21 20:36:42 +09:00
Andreas Schwab
959ad23fb9 * process.c (read_process_output): Use p instead of XPROCESS (proc).
(send_process): Likewise.
2012-01-21 11:54:19 +01:00
Jérémy Compostella
f096042862 Fix windmove-reference-loc miscalculation. 2012-01-21 11:02:34 +01:00
Glenn Morris
61086eb66b Document inhibit-local-variables-regexps in the lispref.
* doc/lispref/modes.texi (Auto Major Mode):
* doc/lispref/variables.texi (File Local Variables):
Mention inhibit-local-variables-regexps.

* etc/NEWS: Markup.
2012-01-20 19:15:07 -08:00
Jay Belanger
dd6f2a637d calc/calc-units.el (math-put-default-units): Don't use "1" as a
default unit.
2012-01-20 18:46:09 -06:00
Glenn Morris
117a9ea130 * lisp/international/mule.el (auto-coding-alist): Add .tbz. 2012-01-20 16:42:09 -08:00
Glenn Morris
7b447e9bda File-local variable fixes.
* lisp/files.el (local-enable-local-variables): Doc fix.
(inhibit-local-variables-regexps): Rename from inhibit-first-line-modes-regexps.
Keep old name as obsolete alias.  Doc fix.
Add some extensions from auto-coding-alist.
(inhibit-local-variables-suffixes):
Rename from inhibit-first-line-modes-suffixes.  Doc fix.
(inhibit-local-variables-p): New function, extracted from set-auto-mode-1.
(set-auto-mode): Doc fix.  Respect inhibit-local-variables-regexps.
(set-auto-mode-1): Doc fix.  Use inhibit-local-variables-p.
(hack-local-variables): Doc fix.
Make the mode-only case respect enable-local-variables and friends.
Respect inhibit-local-variables-regexps for file-locals,
but not for directory-locals.
(set-visited-file-name): Take account of inhibit-local-variables-regexps.
Whether it applies may change as the file name is changed.
* lisp/jka-cmpr-hook.el (jka-compr-install):
* lisp/jka-compr.el (jka-compr-uninstall):
Update for inhibit-first-line-modes-suffixes name change.

* etc/NEWS: Mention this change.

Fixes: debbugs:10506
2012-01-20 16:41:05 -08:00
Glenn Morris
a2f0118ce5 * etc/NEWS: Relocate MS Windows change to "non-free" section. 2012-01-20 16:26:00 -08:00
Eric Hanchrow
02dc2fd7cb * tramp.texi (File): Tweak wording for the `scpc' option. 2012-01-20 21:12:38 +01:00
Martin Rudalics
dd6e3cdd5a In make-help-screen make original minor-mode-map-alist temporarily visible.
* help-macro.el (make-help-screen): Temporarily restore original binding
for minor-mode-map-alist (Bug#10454).
2012-01-20 09:12:35 +01:00
Julien Danjou
0d0deb382b color.el (color-name-to-rgb): Use the white color to find the max color component value and return correctly computed values.
(color-name-to-rgb): Add missing float conversion for max value.
2012-01-19 23:06:49 +00:00
Juanma Barranquero
1ef1768148 doc/lispref/emacs-lisp-intro.texi (count-words-in-defun): Fix bug#10544. 2012-01-19 16:04:24 +01:00
Martin Rudalics
34a02f46dc Fix handling of persistent window parameters.
* window.c (save_window_save, Fcurrent_window_configuration)
(Vwindow_persistent_parameters): Do not use Qstate.  Rewrite
doc-strings.
* window.el (window--state-get-1, window-state-get): Do not use
special state value for window-persistent-parameters.  Rename
argument IGNORE to WRITABLE.  Rewrite doc-string.
(window--state-put-2): Reset all window parameters to nil before
assigning values of persistent parameters.
* windows.texi (Window Configurations): Rewrite references to
persistent window parameters.
(Window Parameters): Fix description of persistent window
parameters.
2012-01-19 11:38:31 +01:00
Glenn Morris
1259009aa1 Merge from emacs-23; up to 2012-01-19T07:15:48Z!rgm@gnu.org. 2012-01-18 23:21:25 -08:00
Glenn Morris
685305ebe0 Copy copyright fix from 2010-06-26T12:01:31Z!eliz@gnu.org to one more file. 2012-01-18 23:15:48 -08:00
Glenn Morris
110544dea0 Revert unintentional addition of 2012 to Ecma copyright years.
This was done by mistake in emacs-23 2010-06-25T08:19:11Z!agustin.martin@hispalinux.es, and then propagated
to one more file in 2010-06-26T12:01:31Z!eliz@gnu.org.
2012-01-18 23:03:15 -08:00
Glenn Morris
54de86ac62 Small bzrmerge.el change.
* admin/bzrmerge.el (bzrmerge-missing): Allow a definitive "no" answer
to the "skip?" question, since there can be multiple such for any revision.
2012-01-18 22:42:57 -08:00
Chong Yidong
073938ec1d Fix python-wy.el copyright header. 2012-01-18 23:11:11 +08:00
Yoshiaki Kasahara
893d44a169 Fix init_buffer for USE_MMAP_FOR_BUFFERS case (backport from trunk)
* buffer.c (init_buffer) [USE_MMAP_FOR_BUFFERS]: Adjust to
aliasing change.
2012-01-18 23:01:35 +08:00
Chong Yidong
c3fae8e7fa Reorganize Emacs 23.4 NEWS. 2012-01-18 22:58:01 +08:00
Alan Mackenzie
606c44c4cf Update ChangeLog. 2012-01-18 13:39:32 +00:00
Alan Mackenzie
9657183b6f Eliminate sluggishness and hangs in fontification of "semicolon deserts".
cc-engine.el (c-state-nonlit-pos-interval): change value 10000 -> 3000.
(c-state-safe-place): Reformulate so it doesn't stack up an infinite
number of wrong entries in c-state-nonlit-pos-cache.
(c-determine-limit-get-base, c-determine-limit): New functions to
determine backward search limits disregarding literals.
(c-find-decl-spots): Amend commenting.
(c-cheap-inside-bracelist-p): New function which detects "={".

cc-fonts.el (c-make-font-lock-BO-decl-search-function): Give a limit to a
backward search.
(c-font-lock-declarations): Fix an occurrence of point being undefined.
Check additionally for point being in a bracelist or near a macro
invocation without a semicolon so as to avoid a fruitless time consuming
search for a declarator.  Give a more precise search limit for
declarators using the new c-determine-limit.
2012-01-18 13:19:31 +00:00
Alan Mackenzie
e8afb1265f Merge from trunk. 2012-01-18 11:50:27 +00:00