gnus-sum.el (gnus-summary-show-article): Don't load shr unconditionally.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
86ed9fdc
SM
12011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
4 (bug#10116).
5
5580f89d
GM
62011-12-06 Glenn Morris <rgm@gnu.org>
7
8 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
9
28d3917c
CY
102011-12-06 Chong Yidong <cyd@gnu.org>
11
12 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
13
a98edce9
JB
142011-12-06 Juanma Barranquero <lekktu@gmail.com>
15
16 * textmodes/table.el (table-shorten-cell): Fix typo.
17
e65adfac
CG
182011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
19
20 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
21
71cc0b74
EZ
222011-12-05 Eli Zaretskii <eliz@gnu.org>
23
24 * descr-text.el (describe-char): Fix display of strong
25 right-to-left characters and directional embeddings and overrides.
26
27 * simple.el (what-cursor-position): Fix display of codepoints of
28 strong right-to-left characters.
29
315bc30d
CY
302011-12-05 Chong Yidong <cyd@gnu.org>
31
32 * faces.el (read-color): Doc fix.
33
58a70b94
GM
342011-12-05 Glenn Morris <rgm@gnu.org>
35
36 * align.el (align--set-marker): Add doc-string.
37 Don't try to move something that is not a marker. (Bug#10216)
38
5158face
GM
392011-12-04 Glenn Morris <rgm@gnu.org>
40
41 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
42 overly zealous deletion of trailing whitespace.
43
520fca41
JB
442011-12-04 Juanma Barranquero <lekktu@gmail.com>
45
46 * server.el (server-delete-client): On Windows, do not try to delete
47 the only terminal.
48 (server-process-filter): On Windows, treat requests for a tty frame as
49 if they were for a GUI frame if the running server is in GUI mode.
50
5e605a2e
GM
512011-12-03 Glenn Morris <rgm@gnu.org>
52
53 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
54
5c3fe83f
SM
552011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
56
6f5e57e7
SM
57 * electric.el: Streamline electric-indent's hook.
58 (electric-indent-chars): Revert to simple list.
59 (electric-indent-functions): New var.
60 (electric-indent-post-self-insert-function): Use it.
61
5c3fe83f
SM
62 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
63 there's no inferior buffer (bug#10196).
64 (prolog-consult-compile): Don't use toggle-read-only.
65
6bdac736
MA
662011-12-02 Michael Albinus <michael.albinus@gmx.de>
67
68 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
69 interrupt. (Bug#10187)
70
6131ba7f
SM
712011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
72
99c79fee
SM
73 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
74 (bug#9160).
75
6131ba7f
SM
76 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
77 (bug#10191).
78
cb0a02ea
JL
792011-12-02 Juri Linkov <juri@jurta.org>
80
81 * info.el (Info-search): Display "end of manual" when Isearch
82 reaches the end of single-file Info manual. (Bug#9918)
83
66e0570c
EZ
842011-12-02 Eli Zaretskii <eliz@gnu.org>
85
86 * isearch.el (isearch-message-prefix): Run the input method part
87 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
88
02b16839
JL
892011-12-02 Juri Linkov <juri@jurta.org>
90
91 * isearch.el (isearch-occur): Use `word-search-regexp' for
92 `isearch-word'.
93 (isearch-search-and-update): Add condition for `isearch-word' and
94 call `word-search-regexp'. (Bug#10145)
95
0b950688
GM
962011-12-01 Glenn Morris <rgm@gnu.org>
97
98 * eshell/em-hist.el (eshell-hist-initialize):
99 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 100 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 101
9505c3c7
SM
1022011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
103
104 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
105
1bbe96b2 1062011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 107
a1beca85
SM
108 * progmodes/verilog-mode.el (verilog-pretty-expr):
109 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
110 verilog, such as += *= and the like.
111 (verilog-assignment-operator-re): Regular expression to find the
112 assigment operator in a verilog assignment.
113 (verilog-assignment-operation-re): Regular expression to find an
114 assignment statement for pretty-expr.
115 (verilog-in-attribute-p): Query returns true if point is in an
116 attribute context; used to skip these for expression line up from
117 pretty-expr.
118 (verilog-in-parameter-p): Query returns true if point is in an
119 parameter definition context; used to skip these for expression
120 line up from pretty-expr.
121 (verilog-in-parenthesis-p): Query returns true if point is in a
122 parenthetical expression, specifically ( ) but not [ ] or { };
123 used by pretty-expr.
124 (verilog-just-one-space): If there is no space, don't add one.
125 (verilog-get-lineup-indent-2): Specifically skip just attribute
126 contexts for expression lineup, rather than skipping all
127 parenthetical expressions.
128 (verilog-calculate-indent): Fix comment, and fix indent.
129 (verilog-do-indent): Indent declarations in lists (suggested by
130 Joachim Lechner).
131 (verilog-mode-abbrev-table): Populate abbrev mode with the various
132 skeleton items.
133 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
134 by Alain Mellan).
135
1bbe96b2 1362011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
137
138 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
139 parameters with embedded comments. Reported by Ray Stevens.
140 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
141 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
142 Reported by Tim Holt.
143 (verilog-auto): Fix AUTOing a upper module then AUTOing module
144 instantiated by upper module causing wrong expansion until AUTOed a
145 second time. Reported by K C Buckenmaier.
146 (verilog-diff-auto): Fix showing .* as a difference when
147 `verilog-auto-star-save' off. Reported by Dan Dever.
148 (verilog-auto-reset, verilog-read-always-signals)
149 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
150 temporary signals in reset list if
151 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
152 style to each signal's assignment type, bug381.
153 Reported by Thomas Esposito.
6288f0ca
WS
154 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
155 (verilog-uvm-statement-re): Support UVM indentation and
156 highlighting, with old OVM keywords only.
a1beca85
SM
157 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
158 Support AUTOTIEOFF creating non-wire data types. Suggested by Jonathan
6288f0ca
WS
159 Greenlaw.
160 (verilog-auto-insert-lisp, verilog-delete-to-paren)
161 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
162 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
163 (verilog-read-sub-decls, verilog-read-sub-decls-line):
164 Fix mismatching parenthesis inside commented out code when deleting
6288f0ca
WS
165 AUTOINST, bug383. Reported by Jonathan Greenlaw.
166 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
167 non-numeric vector width. Reported by Alex Reed.
168 (verilog-auto-ascii-enum): Add "onehot" option to work around not
169 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
170 (verilog-auto-delete-trailing-whitespace):
171 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
172 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
173 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
174 Fix verilog-scan-cache corruption when running user AUTO expansion
175 hooks that call indentation routines.
176 (verilog-simplify-range-expression): Fix typo ignoring lower case
177 identifiers.
178 (verilog-delete-auto): Fix delete-autos to also remove user created
179 automatics, as long as they start with AUTO.
180 (verilog-batch-diff-auto, verilog-diff-auto)
181 (verilog-diff-function): Add `verilog-diff-auto' and bind to
182 "C-c?" to report differences in AUTO expansion, ignoring spaces.
183 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
184 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
185 (verilog-re-search-forward-quick, verilog-syntax-ppss):
186 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
187 is disabled and its cache will get corrupt, causing AUTOS not to
188 expand. Instead use only -quick functions.
189 (verilog-scan-region): Fix scanning over escaped quotes.
190 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
191 (verilog-re-search-backward-quick)
192 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
193 related functions now ignore strings, to fix misparsing of strings
194 with magic comments embedded in them.
a1beca85
SM
195 (verilog-read-auto-template):
196 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
197 Reported by Brad Dobbie.
198 (verilog-read-auto-template):
199 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 200 Reported by Brad Dobbie.
6288f0ca
WS
201 (verilog-auto-inst, verilog-auto-inst-param)
202 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
203 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
204 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
205 debugging templates without merge conflicts, bug357.
206 Reported by Brad Dobbie.
207 (verilog-read-auto-template):
208 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
209 Reported by Brad Dobbie.
210 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
211 abbrevs so user won't be asked to save.
212 (verilog-read-auto-lisp-present): Fix to start at beginning of
213 buffer in case called outside of verilog-auto.
214 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
215 to "X-2". Reported by Matthew Myers.
216 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
217 all inputs from module templates. Reported by Leith Johnson.
218 (verilog-module-inside-filename-p): Fix locating programs as with
219 modules.
220 (verilog-auto-inst-port): Fix vl-width expressions when using
221 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
222 (verilog-decls-get-regs, verilog-decls-get-signals,
223 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
224 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
225 verilog-read-decls): Combine reg and wire structures into one var
226 structure to represent SystemVerilog concepts.
227 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
228 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
229 (verilog-auto-wire-type, verilog-insert-definition):
230 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
231 SystemVerilog "logic" keyword instead of "wire"/"reg".
232 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
233 to declares outputs that also have assignments (presumably in an
a1beca85
SM
234 ifdef or generate if so there's not a driver conflict).
235 Reported by Matthew Myers.
236 (verilog-auto-declare-nettype, verilog-insert-definition):
237 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
238 `default_nettype none. Reported by Julian Gorfajn.
239 (verilog-read-always-signals-recurse, verilog-read-decls)
240 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
241 malformed end statement, bug325. Reported by Joshua Wise and
242 Andrew Drake.
243 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
244 (verilog-inst-comment-re): Fix not deleting Interfaced comment
245 when expanding .* in interfaces, bug320. Reported by Pierre-David
246 Pfister.
247 (verilog-read-module-name): Fix import statements between module
248 name and open parenthesis, bug317. Reported by Pierre-David
249 Pfister.
250 (verilog-simplify-range-expression): Fix simplification of
251 multiplications inside AUTOWIRE connections, bug303.
252 (verilog-auto-inst-port): Support parameter expansion in
253 multidimensional arrays.
254 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
255 after "assert property". Reported by Julian Gorfajn.
256 (verilog-simplify-range-expression): Fix "couldn't merge" errors
257 with multiplication, bug303.
258 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
259 Reported by Jan Frode Lonnum.
260
1bbe96b2
GM
2612011-11-30 Juanma Barranquero <lekktu@gmail.com>
262
263 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
264 (hfy-shell-file-name, hfy-shell):
265 * international/fontset.el (x-decompose-font-name): Fix typos.
266
2672011-11-29 Ken Brown <kbrown@cornell.edu>
268
269 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
270 (gdb-version): Remove defvar.
271 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
272 (gdb-gud-context-command, gdb-non-stop-handler)
273 (gdb-current-context-command, gdb-stopped): Use it.
274 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
275 (gdb-non-stop-handler): Don't enable pretty-printing here.
276 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
277 non-stop mode. Use the following.
278 (gdb-check-target-async): New defun.
279 (gud-watch, gdb-stopped): Fix whitespace.
280 (gdb-get-source-file): Don't try to display the source file if
281 `gdb-main-file' is nil.
282
2832011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
284
285 * align.el: Try to generate fewer markers (bug#10047).
286 (align--set-marker): New macro.
287 (align-region): Use it.
288
c935221f
SM
2892011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
290
291 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
292
e70b5064
CY
2932011-11-29 Chong Yidong <cyd@gnu.org>
294
295 * indent.el (indent-for-tab-command, indent-according-to-mode):
296 Doc fix.
297 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
298
f3af92b7
MA
2992011-11-29 Michael Albinus <michael.albinus@gmx.de>
300
301 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
302 aware of remote file names. (Bug#10124)
303
ed472be9
CY
3042011-11-29 Chong Yidong <cyd@gnu.org>
305
306 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
307
24510c22
SM
3082011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
309
310 * files.el (find-file): Don't use force-same-window (bug#10144).
311 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
312 use pop-to-buffer if the selected window can't be used.
313 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
314
c60c3703
EZ
3152011-11-28 Eli Zaretskii <eliz@gnu.org>
316
317 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
318 special-mode-map.
319
e95def75
CY
3202011-11-28 Chong Yidong <cyd@gnu.org>
321
322 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
323
c3f1c606
NR
3242011-11-27 Nick Roberts <nickrob@snap.net.nz>
325
326 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
327 gdb-get-source-file-list on gdb-create-source-file-list.
328
00db469c
EZ
3292011-11-26 Eli Zaretskii <eliz@gnu.org>
330
331 * whitespace.el (whitespace-newline): Use a different foreground
332 color for 16-color light-background displays.
333
4ad3bc2a
CY
3342011-11-24 Chong Yidong <cyd@gnu.org>
335
336 * window.el (display-buffer--special-action): Doc fix.
337
e9fce1ac
JB
3382011-11-25 Juanma Barranquero <lekktu@gmail.com>
339
340 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
341 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
342 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
343 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
344 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
345 (avl-tree-stack-first):
346 * emacs-lisp/cconv.el (cconv--analyse-use):
347 * net/gnutls.el (gnutls-negotiate): Fix typos.
348
cb825e5d
GM
3492011-11-24 Glenn Morris <rgm@gnu.org>
350
3adbe224
GM
351 * lpr.el (lpr-windows-system, lpr-lp-system):
352 * mail/binhex.el (binhex-begin-line):
353 * progmodes/grep.el (grep-history, grep-find-history):
354 * textmodes/flyspell.el:
355 * vc/pcvs-defs.el (cvs-global-menu):
356 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
357 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
358 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
359
321decc8
GM
360 * net/tls.el: Fix case of "GnuTLS".
361
420b63ad
GM
362 * paths.el (rmail-file-name): Format doc-string for make-docfile.
363
cb825e5d
GM
364 * version.el (emacs-build-system): Give it a doc-string.
365
a0649f08
JL
3662011-11-24 Juri Linkov <juri@jurta.org>
367
368 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
369
c0bc0fd4
GM
3702011-11-24 Glenn Morris <rgm@gnu.org>
371
372 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
373 if called on a non-mime message just toggle the headers. (Bug#8006)
374
20db1522
JB
3752011-11-24 Juanma Barranquero <lekktu@gmail.com>
376
377 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
378 (allout-lead-with-comment-string, allout-structure-deleted-hook)
379 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
380 (allout-rebullet-heading, allout-open-sibtopic)
381 (allout-toggle-current-subtree-encryption)
382 (allout-toggle-subtree-encryption, allout-encrypt-string)
383 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
384 (allout-distinctive-bullets-string, allout-auto-activation):
385 * window.el (window-normalize-buffer-to-display):
386 * progmodes/verilog-mode.el (verilog-batch-indent):
387 * textmodes/bibtex.el (bibtex-field-braces-opt)
388 (bibtex-field-strings-opt):
389 * vc/cvs-status.el (cvs-tree-merge):
390 Fix typos.
391
7262a87c
MA
3922011-11-23 Michael Albinus <michael.albinus@gmx.de>
393
394 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
395 `non-essential' to t, in order to avoid remote connections.
396
283430a1
EZ
3972011-11-23 Eli Zaretskii <eliz@gnu.org>
398
a1beca85
SM
399 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
400 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
401 case-insensitively.
402
d2992a38
ML
4032011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
404
405 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
406
50419064
GM
4072011-11-23 Glenn Morris <rgm@gnu.org>
408
da94eca1
GM
409 * paths.el (rmail-file-name): Reformat the doc-string so that it
410 is picked up.
411
9aac4de2
GM
412 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
413 (rmail-auto-file): Ignore case in the "special" field names,
414 as mail-fetch-field does for all others.
415
8038d2d2
GM
416 * mail/rmail.el (rmail-forward):
417 * mail/rmailkwd.el (rmail-set-label):
418 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
419 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
420
f3fe222a
GM
421 * mail/rmail.el (rmail-current-message): Doc fix.
422
50419064
GM
423 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
424
28109f49
SM
4252011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
426
427 * server.el (server-eval-and-print): Allow C-g (bug#6585).
428
394c65f1
GM
4292011-11-22 Glenn Morris <rgm@gnu.org>
430
431 * mail/rmailmm.el (test-rmail-mime-handler)
432 (test-rmail-mime-bulk-handler)
433 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
434
f2a0aa3a
JL
4352011-11-21 Juri Linkov <juri@jurta.org>
436
437 * calc/calc.el (calc-read-key-sequence): Let-bind `input-method-function'
438 to nil. (Bug#10018)
439
9c34a344
LMI
4402011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
441
442 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
443 Tell the caller that the next line needs recomputation, even
444 though it doesn't start a sexp (bug#10094).
445
f04a3be9
SM
4462011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
447
448 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
449
7978747f
SM
4502011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
451
f04a3be9
SM
452 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
453 Use force-same-window.
7978747f 454
fe7a3057
JB
4552011-11-20 Juanma Barranquero <lekktu@gmail.com>
456
457 * descr-text.el (describe-char-unicode-data):
458 * json.el (json-string-escape):
459 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
460 (Footnote-unicode, Footnote-style-p):
461 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
462
24901d61
CY
4632011-11-20 Chong Yidong <cyd@gnu.org>
464
465 * window.el (replace-buffer-in-windows): Restore interactive spec.
466
bac7ff22
SM
4672011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
468
24f3d7b9
SM
469 * electric.el (electric-indent-mode): Fix last change (too optimistic).
470
bac7ff22
SM
471 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
472 (byte-compile-global-not-obsolete-vars): New var.
473 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
474 Use it.
475 (byte-compile-warn-obsolete): Align text with the one in *Help*.
476
cd1181db
JB
4772011-11-20 Juanma Barranquero <lekktu@gmail.com>
478
479 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
480 * progmodes/pascal.el (electric-pascal-equal):
481 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
482 * xml.el (xml-substitute-special): Fix typos.
483
7fb18e9e
GM
4842011-11-20 Glenn Morris <rgm@gnu.org>
485
486 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
487 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
488 Doc fixes.
489 (rmail-decode-mime-charset): Mark as obsolete.
490
491 * mail/rmailsum.el (rmail-message-regexp-p-1):
492 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
493 Before using mime functions, check they are set. (Bug#10077)
494
d5a6b3ba
JL
4952011-11-19 Juri Linkov <juri@jurta.org>
496
497 * info.el (Info-finder-find-node): Use `package--builtins' instead
498 of `package-alist'. Use node names formed by the pattern "Keyword "
499 and the keyword name.
500
e981b61f
AS
5012011-11-19 Andreas Schwab <schwab@linux-m68k.org>
502
503 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for
504 bash.
505
3ffbc301
JL
5062011-11-19 Juri Linkov <juri@jurta.org>
507
508 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
509 that calls `revert-buffer' on all Info buffers. (Bug#9915)
510 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
511 `old-history', `old-history-forward'. Add let-binding
512 `window-selected'. Remove calls to `kill-buffer',
513 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
514 before calling `Info-find-node', so `Info-find-node-2' will reread
515 the Info file. Restore window positions only when `window-selected'
516 is non-nil.
517
30c62133
JL
5182011-11-19 Juri Linkov <juri@jurta.org>
519
520 * isearch.el (isearch-lazy-highlight-new-loop):
521 Remove condition `(not isearch-error)'. (Bug#9918)
522
523 * misearch.el (multi-isearch-search-fun): Add condition
524 `(not bound)' to ignore lazy-highlighting search.
525 Add the search-failed message "end of multi" when the end of
526 multi-sequence is reached. Uncapitalize the search-failed
527 message "Repeat for next buffer".
528
529 * info.el (Info-search): Add the search-failed message
530 "end of the manual" when the end of the manual is reached
531 in Isearch mode.
532
645ca9cf
JL
5332011-11-19 Juri Linkov <juri@jurta.org>
534
535 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
536 Use non-destructive `remove' instead of `delete' because
537 `Info-history-list' stored to `Info-isearch-initial-history-list' in
538 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
539
df754f66
JL
5402011-11-19 Juri Linkov <juri@jurta.org>
541
542 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
543 to nil instead of binding `search-ring' and `regexp-search-ring'.
544 (Bug#9185)
545
0e23d96a
EZ
5462011-11-19 Eli Zaretskii <eliz@gnu.org>
547
548 * simple.el (line-move): Force movement by logical lines for any
549 hscrolled window, not only when auto-hscroll-mode is on.
550 (line-move-visual): Update doc string to that effect. (Bug#10076)
551
8a6ccb66
AS
5522011-11-19 Andreas Schwab <schwab@linux-m68k.org>
553
554 * language/european.el (macintosh): Define as alias for mac-roman.
555
49ae5b39
EZ
5562011-11-19 Eli Zaretskii <eliz@gnu.org>
557
558 * mail/rmailmm.el (rmail-mime-display-header)
559 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
560 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
561 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
562 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
563 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
564 of a raw aref.
565 (rmail-mime-entity-segment): To get past the tagline, move forward
566 2 more lines, to account for the 2 empty lines that precede and
567 follow the line with the buttons.
568 (rmail-mime-update-tagline): Move one more line, to get past the
569 empty line that follows the buttons in the tagline. (Bug#9520)
570
c56cad4a
MR
5712011-11-19 Martin Rudalics <rudalics@gmx.at>
572
573 * window.el (window-max-delta-1, window-min-delta-1)
574 (window-min-size-1, window-state-get-1, window-state-put-1)
575 (window-state-put-2): Use "window--" prefix.
576
cbe71af3
SM
5772011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
578
2ad52c60
SM
579 * emacs-lisp/smie.el: Improve warnings and conflict detection.
580 (smie-warning-count): New var.
581 (smie-set-prec2tab): Use it.
582 (smie-bnf->prec2): Improve warnings. Add docstring.
583 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
584 (smie-bnf--set-class): New function.
585 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
586 corner case.
587
6944dbc1
SM
588 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
589 (compilation-error-properties, compilation-move-to-column):
590 Handle compilation-first-column while in the target buffer.
591
c400c4d7
SM
592 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
593 Don't hardcode point-min==1.
594
6dbe3e96
SM
595 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
596 (eshell-rewrite-for-command): Remove workaround.
597 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
598 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
599 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
600
cbe71af3
SM
601 * files-x.el (modify-file-local-variable): Obey commenting conventions.
602
a8e1496d
GM
6032011-11-17 Glenn Morris <rgm@gnu.org>
604
605 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
606 Ignore buffer-local generated-autoload-file if it is the same
607 as the global value. (Bug#10049)
608
df85d315
JB
6092011-11-17 Juanma Barranquero <lekktu@gmail.com>
610
611 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
612 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
613 (reftex-toc-previous-heading, reftex-toc-max-level)
614 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
615 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
616 (reftex-toc-do-promote, reftex-toc-promote-prepare)
617 (reftex-toc-promote-action, reftex-toc-extract-section-number)
618 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
619 (reftex-toc-rename-label, reftex-toc-visit-location)
620 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
621 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
622 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
623 leaving "*toc*" only for references to the buffer.
624
a0c2d0ae
MR
6252011-11-17 Martin Rudalics <rudalics@gmx.at>
626
627 * window.el (window-resize, delete-window, split-window):
628 Replace window-splits by window-combination-resize.
629 * cus-start.el (window-splits): Replace by
630 window-combination-resize.
631
35c0bac8
GM
6322011-11-17 Glenn Morris <rgm@gnu.org>
633
634 * progmodes/sh-script.el (sh-font-lock-keywords-var):
635 Make bash entry derive from sh entry, not shell entry.
636
d0c8fc8a
MA
6372011-11-16 Michael Albinus <michael.albinus@gmx.de>
638
d0c8fc8a
MA
639 * net/tramp-cache.el (tramp-flush-file-property): Flush also
640 properties of linked files. (Bug#9879)
641
7262a87c
MA
642 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
643 local file name.
644
7877f373
JB
6452011-11-16 Juanma Barranquero <lekktu@gmail.com>
646
647 * menu-bar.el (menu-bar-file-menu):
648 * printing.el (pr-ps-utility):
649 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
650 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
651 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
652 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
653 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
654 (icalendar--convert-cyclic-to-ical)
655 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
656 (icalendar--convert-ical-to-diary)
657 (icalendar--convert-recurring-to-diary)
658 (icalendar--convert-non-recurring-all-day-to-diary)
659 (icalendar-import-format-sample):
660 * progmodes/idlw-shell.el (idlwave-shell-mode):
661 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
662 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
663 (vhdl-ps-print-init): Fix typos.
664
10649b82
KM
6652011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
666
9d0cfcd6
GM
667 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
668 FSF and collapse date sequence, obscure author/maintainer email address
669 better, remove extra version line, track relocation of author's webpage.
10649b82 670
9d0cfcd6
GM
671 * progmodes/python.el (python-pdbtrack-input-prompt)
672 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
673 regular python pdb prompts. Adjustments shamelessly taken exactly as
674 suggested in EmacsWiki page (tiny change):
675 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 676
58179cce
JB
6772011-11-16 Juanma Barranquero <lekktu@gmail.com>
678
679 * expand.el (expand-pos, expand-index, expand-point):
680 Remove redundant info from docstring.
681 (expand-add-abbrevs): Doc fix.
682 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
683 (expand-sample-perl-mode-expand-list): Fix typos.
684
685 * net/dbus.el (dbus-event-member-name):
686 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
687 * term/pc-win.el (msdos-create-frame-with-faces):
688 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
689
b6f67890
MR
6902011-11-16 Martin Rudalics <rudalics@gmx.at>
691
692 * window.el (split-window, window-state-get-1)
693 (window-state-put-1, window-state-put-2): Rename occurrences of
694 window-nest to window-combination-limit.
695 * cus-start.el (window-nest): Rename to
696 window-combination-limit.
697
ce7ddba0
CY
6982011-11-16 Chong Yidong <cyd@gnu.org>
699
700 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
701 regexp (Bug#10033).
702
3ae704f4
SM
7032011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
704
705 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
706 `completing-read' will remove *Completions* and will preserve
707 current-buffer for us.
708 (tmm-add-prompt): Users of *Completions* will always (re)set its
709 major mode.
710 (tmm-old-comp-map): Remove.
711
6ad1cdde
GM
7122011-11-16 Glenn Morris <rgm@gnu.org>
713
714 * mail/rmailedit.el: Require rmailmm when compiling.
715 (rmail-old-mime-state): New declaration.
716 (rmail-edit-current-message): If editing a mime message,
717 edit the "raw" message from the mbox buffer.
718 (rmail-cease-edit): Handle mime messages. (Bug#9840)
719
d20faa20
GM
7202011-11-15 Glenn Morris <rgm@gnu.org>
721
722 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
723 which wasn't being used. Add optional arg to force given state.
724 (rmail-mime): Add optional arg to force given state.
725
c7015153
JB
7262011-11-15 Juanma Barranquero <lekktu@gmail.com>
727
728 * allout.el (allout-encryption-plaintext-sanitization-regexps):
729 * frame.el (display-mm-dimensions-alist):
730 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
731 (outline-move-subtree-down):
732 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
733 (newsticker--treeview-do-get-node):
734 * net/quickurl.el (quickurl-list-buffer-name):
735 * progmodes/dcl-mode.el (dcl-mode):
736 * progmodes/gdb-mi.el (gdb-mapcar*):
737 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
738
45261b50
GM
7392011-11-15 Glenn Morris <rgm@gnu.org>
740
741 * mail/rmail.el (rmail-file-coding-system): It's only ever used
742 in a boolean sense, so just make it a boolean, and fix the doc.
743 (rmail-show-mime-function, rmail-mime-feature)
744 (rmail-require-mime-maybe): Doc fixes.
745 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
746
747 * mail/rmailmm.el (rmail-show-mime): Doc fix.
748
0d26e0b6
JB
7492011-11-15 Juanma Barranquero <lekktu@gmail.com>
750
751 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
752 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
753 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
754 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
755
447f30f6
GM
7562011-11-15 Glenn Morris <rgm@gnu.org>
757
672b871d
GM
758 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
759 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
760 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
761 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
762 (rmail-mime, rmail-show-mime): Doc fixes.
763
f6aa5bb1
GM
764 * term/ns-win.el (mode-line-frame-identification):
765 Leave it alone. (Bug#10051)
766
947cd66b
GM
767 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
768
447f30f6
GM
769 * mail/rmailout.el (rmail-output-to-rmail-buffer):
770 Handle empty buffers. (Bug#9978)
771
0b381c7e
JB
7722011-11-14 Juanma Barranquero <lekktu@gmail.com>
773
774 * international/mule.el (define-charset):
775 * mail/rmailmm.el (rmail-mime-find-header-encoding):
776 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
777 * progmodes/verilog-mode.el (verilog-backward-token):
778 * textmodes/ispell.el (lookup-words):
779 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
780
71e027ac
GM
7812011-11-14 Glenn Morris <rgm@gnu.org>
782
56632ce4
GM
783 * progmodes/executable.el
784 (executable-make-buffer-file-executable-if-script-p):
785 Handle file-modes returning nil.
786
40500957
GM
787 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
788 message - not necessary, and causes problems. (Bug#9831)
789
071c2340
GM
790 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
791
d3cfca60
GM
792 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
793
71e027ac
GM
794 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
795 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
796 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
797
89d61221
MR
7982011-11-12 Martin Rudalics <rudalics@gmx.at>
799
800 * window.el (window-resize, delete-window): Use window-splits
801 variable instead of function.
802 (window-state-get-1, window-state-put-2, window-state-put):
803 Don't deal with windows' splits status.
804
98282f6f
GM
8052011-11-12 Glenn Morris <rgm@gnu.org>
806
807 * apropos.el (apropos-do-all, apropos-library, apropos-value)
808 (apropos-documentation): Doc fixes.
809
40a8bdf6
JB
8102011-11-11 Juanma Barranquero <lekktu@gmail.com>
811
812 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
813 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
814
65bd19ff
SM
8152011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
816
817 * electric.el (electric-indent-post-self-insert-function): Make it
818 possible for a char to only indent in some circumstances.
819 (electric-indent-mode): Simplify.
820
54f9154c
MR
8212011-11-11 Martin Rudalics <rudalics@gmx.at>
822
823 * window.el (windows-with-parameter): Remove unused function.
824 (windows-at-side): Rename to window-at-side-list.
825 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
826 (window-side-check, window-size-ignore, window-size-fixed-1)
827 (window-in-direction-2): Prefix with "window--".
828 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 829
68cbc58b
GM
8302011-11-11 Glenn Morris <rgm@gnu.org>
831
832 * subr.el (eval-after-load): If FILE is already loaded,
833 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
834
b2621720
GM
8352011-11-10 Glenn Morris <rgm@gnu.org>
836
9a4de110
GM
837 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
838 Call svn via vc-svn-command rather than vc-do-command.
839 (vc-svn-command): Add --non-interactive. (Bug#9993)
840 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
841
b2621720
GM
842 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
843 Add toggle-read-only. (Bug#7292)
844 * files.el (toggle-read-only): Mention that it should only
845 be used interactively. (Bug#10006)
846
1dce7193
SM
8472011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
848
d9ac1a1e
SM
849 * progmodes/compile.el (compilation-error-regexp-alist-alist):
850 Adjust regexp for OCaml warnings.
851
0c325082
SM
852 * electric.el (electric-pair-post-self-insert-function): Let user
853 turn it off buffer-locally (bug#9932).
854
90132c14
SM
855 * progmodes/python.el (python-beginning-of-statement):
856 Rewrite (bug#2703).
857
1dce7193
SM
858 * progmodes/compile.el: Better handle TABs (bug#9749).
859 (compilation-internal-error-properties)
860 (compilation-next-error-function): Obey the target buffer's
861 compilation-error-screen-columns.
862
c4e7c63a
JB
8632011-11-09 Juanma Barranquero <lekktu@gmail.com>
864
865 * progmodes/meta-mode.el: Remove obsolete comments.
866 (meta-right-comment-regexp, meta-ignore-comment-regexp):
867 Fix typos in docstrings.
868
2cffd681
MR
8692011-11-09 Martin Rudalics <rudalics@gmx.at>
870
871 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 872 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
873 (window--resizable): New function. Make all callers of
874 window-resizable call window--resizable instead.
875 (window-resizable): Rewrite in terms of window--resizable.
876
0edcba87
GM
8772011-11-08 Glenn Morris <rgm@gnu.org>
878
879 * progmodes/delphi.el (delphi-mode-syntax-table):
880 Let define-derived-mode define a proper syntax table. (Bug#9994)
881
4b0d61e3
SM
8822011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
883
884 * window.el: Stay away from defsubst.
885 (window-list-no-nils): Remove.
886 (window-state-get-1, window-state-get): Use backquote instead.
887
fcbcac2e 8882011-11-08 thierry <thierry.volpiatto@gmail.com>
889
4b0d61e3 890 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 891 Fix incorrect use of default argument in `completing-read'.
892
e1c2c6f2
MR
8932011-11-08 Martin Rudalics <rudalics@gmx.at>
894
895 * window.el (display-buffer-function, special-display-function):
896 Mention display-buffer-record-window but do not mention
897 help-setup parameter in doc-strings.
b3f4a882 898 (window-min-delta): Fix doc-string typo.
e1c2c6f2 899
105216ed
CY
9002011-11-08 Chong Yidong <cyd@gnu.org>
901
902 * window.el (window-total-height, window-total-width): Doc fix.
903 (window-body-size): Move from C.
904 (window-body-height, window-body-width): Move to C.
905
0a9f9ab5
SM
9062011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
907
908 * window.el: Make special-display like display-buffer-alist (bug#9532).
909 (display-buffer--special-action): New function, morphed
910 from display-buffer--special.
911 (display-buffer): Use it to handle special-display-buffers at higher
912 priority (just after display-buffer-alist).
913 (display-buffer-fallback-action, display-buffer--other-frame-action)
914 (pop-to-buffer-same-window): Remove display-buffer--special.
915
a769dd15
GM
9162011-11-07 Glenn Morris <rgm@gnu.org>
917
918 * calendar/cal-menu.el (cal-menu-set-date-title):
919 Do nothing if not in a calendar. (Bug#9976)
920
05a61ee3
SM
9212011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
922
923 * files.el (find-file): Always use selected-window.
924
be7f5545
MR
9252011-11-07 Martin Rudalics <rudalics@gmx.at>
926
927 * window.el (window-combinations): Make WINDOW argument
928 mandatory. Rewrite doc-string.
929 (walk-window-subtree, window-atom-check, window-min-delta)
930 (window-max-delta, window--resize-this-window)
931 (window--resize-root-window-vertically, window-tree)
932 (balance-windows, window-state-put): Rewrite doc-strings as to
933 not mention the term "subwindow".
934 (window--resize-subwindows-skip-p): Rename to
935 window--resize-child-windows-skip-p.
936 (window--resize-subwindows-normal): Rename to
937 window--resize-child-windows-normal.
938 (window--resize-subwindows): Rename to
939 window--resize-child-windows.
940 (window-or-subwindow-p): Rename to window--in-subtree-p.
941
3c6702ef
ML
9422011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
943
944 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
945 Ensure that mbox format messages end in two newlines (Bug#9974).
946
49745b39
CY
9472011-11-06 Chong Yidong <cyd@gnu.org>
948
949 * window.el (window-combination-p): Function deleted; its
950 side-effect is not used in any existing code.
951 (window-combinations, window-combined-p): Call window-*-child
952 directly.
953
24300f5f
CY
9542011-11-05 Chong Yidong <cyd@gnu.org>
955
956 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
957 (window-size-ignore, window-state-get): Callers changed.
958 (window-normalize-window): Rename from window-normalize-any-window.
959 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 960 (window-normalize-live-window): Delete.
447f16b8
CY
961 (window-combination-p, window-combined-p, window-combinations)
962 (walk-window-subtree, window-atom-root, window-min-size)
963 (window-sizable, window-sizable-p, window-size-fixed-p)
964 (window-min-delta, window-max-delta, window-resizable)
965 (window-resizable-p, window-full-height-p, window-full-width-p)
966 (window-current-scroll-bars, window-point-1, set-window-point-1)
967 (window-at-side-p, window-in-direction, window-resize)
968 (adjust-window-trailing-edge, maximize-window, minimize-window)
969 (window-deletable-p, delete-window, delete-other-windows)
970 (record-window-buffer, unrecord-window-buffer)
971 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
972 (quit-window, split-window, window-state-put)
973 (set-window-text-height, fit-window-to-buffer)
974 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 975
89bd5ee1
EZ
9762011-11-04 Eli Zaretskii <eliz@gnu.org>
977
53479029
EZ
978 * mail/rmail.el (rmail-simplified-subject): Decode subject with
979 rfc2047-decode-string.
980 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
981 warnings.
982
89bd5ee1
EZ
983 * window.el (window-body-height, window-body-width): Mention in
984 the doc string that the return values are in frame's canonical
985 units. (Bug#9949)
986
bd17fdee
AM
9872011-11-03 Alan Mackenzie <acm@muc.de>
988
989 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
990 change in cc-engine.el.
991
acc825c5
SM
9922011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
993
994 * window.el (switch-to-buffer): Use `force-same-window' interactively.
995
1885e5b8
MR
9962011-11-02 Martin Rudalics <rudalics@gmx.at>
997
998 * window.el (quit-window): Call unrecord-window-buffer after
999 showing another buffer in the window. (Bug#9937)
acc825c5 1000 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 1001
ebe06da9
JB
10022011-11-02 Juanma Barranquero <lekktu@gmail.com>
1003
1004 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
1005 Accept status with more than 9 shelves. (Bug#9935)
1006 Reported by Colin D Bennett <colin@gibibit.com>.
1007
4ee88440
MR
10082011-11-01 Martin Rudalics <rudalics@gmx.at>
1009
1010 * help.el (with-help-window): Don't reference
1011 temp-buffer-show-specifiers in doc-string.
1012
08e1d82c
AS
10132011-10-31 Andreas Schwab <schwab@linux-m68k.org>
1014
1015 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
1016 menu-item.
1017
84bd6e9e
VJL
10182011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
1019
1020 * whitespace.el: New version 13.2.2.
1021 (whitespace-newline-mode): Disable properly. Reported by Sarah
1022 <EmacsWiki>.
1023
dba0634a
UJ
10242011-10-30 Ulf Jasper <ulf.jasper@web.de>
1025
1026 * net/newst-treeview.el: Remove "Time-stamp".
1027 (newsticker--group-manage-orphan-feeds): Do not call
1028 newsticker--treeview-tree-update.
db22a3c2
JB
1029 (newsticker-treeview-update, newsticker-treeview):
1030 Call newsticker--treeview-tree-update if necessary.
dba0634a 1031
3d8daefe
MR
10322011-10-30 Martin Rudalics <rudalics@gmx.at>
1033
1034 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
1035 (window-iso-combinations): Remove "iso-" infix.
1036 Suggested by Chong Yidong.
3d8daefe
MR
1037 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
1038 (window-max-delta-1, window-resize, window--resize-siblings)
1039 (window--resize-this-window, adjust-window-trailing-edge)
1040 (split-window, balance-windows-1)
1041 (shrink-window-if-larger-than-buffer):
1042 * calendar/calendar.el (calendar-generate-window):
db22a3c2 1043 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 1044
1bc4c3ae
SM
10452011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
1046
1047 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
1048 in place (bug#9907).
1049 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
1050 (eshell-rewrite-if-command, eshell-rewrite-for-command)
1051 (eshell-structure-basic-command, eshell-rewrite-while-command)
1052 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
1053 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
1054 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
1055 (eshell-do-pipelines-synchronously, eshell-eval-command):
1056 Use backquotes and prefer setq to set.
1057 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
1058 (eshell-macrop): Use functionp.
c1e2f5fa 1059 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 1060
30b65d9c
CY
10612011-10-30 Chong Yidong <cyd@gnu.org>
1062
1063 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
1064 instead of set-mark (Bug#9810).
1065
2d197ffb
CY
10662011-10-30 Chong Yidong <cyd@gnu.org>
1067
1068 * window.el (split-window-below, split-window-right): Rename from
1069 split-window-above-each-other and split-window-side-by-side
1070 respectively. All callers changed.
1071 (split-window-sensibly, split-window-sensibly): Use them.
1072 (split-window-keep-point): Doc fix.
1073
1074 * isearch.el: Add isearch-scroll property to split-window-below
1075 and split-window-right.
1076
1077 * follow.el (follow-mode):
1078 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
1079 * progmodes/ada-xref.el (ada-gdb-application):
1080 * emulation/vip.el (vip-buffer-in-two-windows):
1081 * image-dired.el (image-dired-dired-with-window-configuration):
1082 * dired-x.el (dired-do-find-marked-files):
1083 * dired.el (dired-pop-to-buffer):
1084 * bs.el (bs--show-with-configuration):
1085 * vc/emerge.el (emerge-setup-windows):
1086 * textmodes/two-column.el (2C-two-columns):
1087 * textmodes/reftex-toc.el (reftex-toc):
1088 * progmodes/gdb-mi.el (gdb-setup-windows):
1089 * progmodes/fortran.el (fortran-window-create):
1090 * net/newst-treeview.el (newsticker--treeview-window-init):
1091 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
1092 * emulation/tpu-edt.el (tpu-gold-map):
1093 * emulation/crisp.el (crisp-mode-map):
1094 * calendar/calendar.el (calendar-basic-setup): Callers changed.
1095
38bb2ca8
CY
10962011-10-29 Chong Yidong <cyd@gnu.org>
1097
aa4de341
CY
1098 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
1099
e1eb5385
CY
1100 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
1101
5d2ece3c
CY
1102 * textmodes/flyspell.el (flyspell-word): Fix char offset for
1103 forged Ispell output (Bug#7904).
1104
38bb2ca8
CY
1105 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
1106
d0af9f77
SM
11072011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
1108
1109 * doc-view.el: Avoid ugly errors about not finding nil.
1110 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
1111 (doc-view-dvipdf-program, doc-view-unoconv-program)
1112 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
1113 Avoid nil or absolute file name as default value.
1114 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
1115
52bedd34
AM
11162011-10-28 Alan Mackenzie <acm@muc.de>
1117
db22a3c2 1118 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 1119
7e43cfa5
AM
11202011-10-28 Alan Mackenzie <acm@muc.de>
1121
1122 Amend the handling of c-beginning/end-of-defun in nested declaration
1123 scopes.
1124
52bedd34
AM
1125 * progmodes/cc-vars.el (c-defun-tactic): Move here from
1126 cc-langs.el. Change it to a defcustom.
7e43cfa5 1127
52bedd34
AM
1128 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
1129 cc-vars.el.
7e43cfa5 1130
d0af9f77
SM
1131 * progmodes/cc-engine.el (c-beginning-of-statement-1):
1132 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 1133
52bedd34 1134 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 1135 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
1136 (c-widen-to-enclosing-decl-scope): New function.
1137 (c-while-widening-to-decl-block): New macro.
1138 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
1139 outward for defun boundaries, and correspondingly change symbol
1140 `respect-enclosure' to `go-outward'.
1141 (c-declaration-limits): Change algorithm to report only the "innermost"
1142 defun's boundaries.
1143
1a2ce9ee
DD
11442011-10-28 Deniz Dogan <deniz@dogan.se>
1145
1146 * net/rcirc.el (rcirc-mode): Use hard newlines.
1147
bc97a826
AM
11482011-10-28 Alan Mackenzie <acm@muc.de>
1149
1150 Amend to indent and fontify macros "which include their own semicolon"
1151 correctly, using the "virtual semicolon" mechanism.
1152
52bedd34 1153 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 1154
d0af9f77 1155 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 1156 Recode to scan one line at a time rather than having \n and \r
58179cce 1157 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 1158 (c-forward-label): Amend for virtual semicolons.
58179cce 1159 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 1160
52bedd34
AM
1161 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
1162 of the new C macros.
bc97a826 1163
52bedd34 1164 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
1165 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
1166 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
1167 (c-opt-cpp-macro-define): Make into a full language variable.
1168 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
1169 AWK Mode (including \n, \r) removed, no longer needed.
1170
d0af9f77
SM
1171 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
1172 Invoke c-make-macro-with-semi-re.
bc97a826 1173
52bedd34
AM
1174 * progmodes/cc-vars.el (c-macro-with-semi-re):
1175 (c-macro-names-with-semicolon): New variables.
58179cce 1176 (c-make-macro-with-semi-re): New function.
bc97a826 1177
7a6c0941
SM
11782011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
1179
1180 * vc/log-edit.el: Fill empty field rather than adding new one.
1181 (log-edit-add-field): New function.
1182 (log-edit-insert-changelog): Use it.
1183
b0c4cdcf
ML
11842011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
1185
1186 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
1187
ee1f1da9
SM
11882011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
1189
1190 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
1191 (gdb--check-interpreter): New function.
1192 (gdb): Use it.
1193
51bc5f8b
GM
11942011-10-27 Glenn Morris <rgm@gnu.org>
1195
416a2c45
GM
1196 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
1197 (least-positive-float, least-negative-float)
1198 (least-positive-normalized-float, least-negative-normalized-float)
1199 (float-epsilon, float-negative-epsilon):
1200 Remove unnecessary declarations.
1201
1202 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
1203 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
1204 (least-positive-float, least-negative-float)
1205 (least-positive-normalized-float, least-negative-normalized-float)
1206 (float-epsilon, float-negative-epsilon): Add doc-strings,
1207 based on those in cl.texi.
1208
51bc5f8b
GM
1209 * files.el (set-visited-file-name): If the major-mode changed,
1210 reload the local variables. (Bug#9796)
1211
15de15c6
CY
12122011-10-27 Chong Yidong <cyd@gnu.org>
1213
1214 * subr.el (change-major-mode-after-body-hook): New hook.
1215 (run-mode-hooks): Run it.
1216
ee1f1da9
SM
1217 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
1218 Use change-major-mode-before-body-hook.
15de15c6
CY
1219
1220 * simple.el (fundamental-mode):
1221 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
1222 change introducing fundamental-mode-hook.
1223
5430d399
JB
12242011-10-26 Juanma Barranquero <lekktu@gmail.com>
1225
acc825c5 1226 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 1227
ad74a69e
MA
12282011-10-26 Michael Albinus <michael.albinus@gmx.de>
1229
1230 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 1231 tramp.el explicitly. (Bug#7583)
ad74a69e 1232
71d4c2a5
SM
12332011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
1234
1235 * progmodes/octave-mod.el:
1236 * progmodes/octave-inf.el: Update maintainer.
1237
b1f6fa26
CY
12382011-10-26 Chong Yidong <cyd@gnu.org>
1239
1240 * subr.el (with-wrapper-hook): Rewrite doc.
1241
3f04efd6
MA
12422011-10-25 Michael Albinus <michael.albinus@gmx.de>
1243
1244 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 1245 filenames "/method:foo:". (Bug#9793)
3f04efd6 1246
410488d3
SM
12472011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
1248
1249 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
1250 (bug#9865).
1251
c1ebb47e
GM
12522011-10-24 Glenn Morris <rgm@gnu.org>
1253
1254 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
1255
7f5c46c7
MA
12562011-10-24 Michael Albinus <michael.albinus@gmx.de>
1257
1258 * notifications.el: Add the requirement of a running D-Bus session
1259 bus to the Commentary.
1260
db2440b6
JL
12612011-10-24 Juri Linkov <juri@jurta.org>
1262
1263 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
1264 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
1265 (Bug#9364)
1266
feecf435
JL
12672011-10-24 Juri Linkov <juri@jurta.org>
1268
1269 * info.el (Info-following-node-name-re): Add newline to the list
1270 of allowed characters for leading space. (Bug#9824)
1271
a3839de2
SM
12722011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
1273
acc825c5
SM
1274 * progmodes/octave-inf.el (inferior-octave-mode-map):
1275 Fix C-c C-h binding.
a3839de2
SM
1276 * progmodes/octave-mod.el (octave-help): Remove.
1277
09388e76
MA
12782011-10-23 Michael Albinus <michael.albinus@gmx.de>
1279
1280 Sync with Tramp 2.2.3.
1281
1282 * net/tramp-cache.el (top): Pacify byte-compiler using
1283 `init-file-user' and `site-run-file'.
1284
1285 * net/trampver.el: Update release number.
1286
86c60681
CY
12872011-10-23 Chong Yidong <cyd@gnu.org>
1288
1289 * files.el (toggle-read-only): Remove obsolete comment about
1290 version control.
1291
1292 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
1293 for toggle-read-only. Note that this hasn't called vc-next-action
1294 since 2008-05-02, though it wasn't documented at the time.
1295
a3839de2
SM
1296 * vc/ediff-init.el (ediff-toggle-read-only-function):
1297 Use toggle-read-only.
86c60681 1298
cd5495ff
AM
12992011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
1300
1301 Fix bug #9560, sporadic wrong indentation; improve instrumentation
1302 of c-parse-state.
1303
00b77525 1304 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 1305 correct faulty logical expression.
cd5495ff
AM
1306 (c-parse-state-state, c-record-parse-state-state):
1307 (c-replay-parse-state-state): New defvar/defuns.
1308 (c-debug-parse-state): Use new functions.
1309
42ee24ed
MR
13102011-10-22 Martin Rudalics <rudalics@gmx.at>
1311
1312 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 1313 last fix. Use window-in-direction correctly.
42ee24ed 1314
a7dee7e7
CY
13152011-10-21 Chong Yidong <cyd@gnu.org>
1316
1317 * progmodes/idlwave.el (idlwave-mode):
1318 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
1319 require-final-newline; that's done in prog-mode.
1320 Suggested by Stefan Monnier.
a7dee7e7 1321
e07b9a6d
MR
13222011-10-21 Martin Rudalics <rudalics@gmx.at>
1323
1324 * mouse.el (mouse-drag-window-above)
1325 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
1326 (mouse-drag-mode-line-1, mouse-drag-header-line)
1327 (mouse-drag-vertical-line-rightward-window): Remove.
1328 (mouse-drag-line): New function.
1329 (mouse-drag-mode-line, mouse-drag-header-line)
1330 (mouse-drag-vertical-line): Call mouse-drag-line.
1331 * window.el (window-at-side-p, windows-at-side): New functions.
1332
7e1361d9
UM
13332011-10-21 Ulrich Mueller <ulm@gentoo.org>
1334
1335 * tar-mode.el (tar-grind-file-mode):
1336 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
1337
30fcaf3a
CY
13382011-10-21 Chong Yidong <cyd@gnu.org>
1339
1340 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
1341 * progmodes/vera-mode.el (vera-mode):
1342 Use mode-require-final-newline.
30fcaf3a 1343
516eddb0
GM
13442011-10-20 Glenn Morris <rgm@gnu.org>
1345
db22a3c2 1346 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 1347
10d5f513
CS
13482011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
1349
1350 * emulation/cua-base.el (cua-set-mark): Fix case of string.
1351
ac6c8639
CY
13522011-10-20 Chong Yidong <cyd@gnu.org>
1353
1354 * emulation/cua-base.el (cua-mode):
1355 * mail/footnote.el (footnote-mode):
1356 * mail/mailabbrev.el (mail-abbrevs-mode):
1357 * net/xesam.el (xesam-minor-mode):
1358 * progmodes/bug-reference.el (bug-reference-mode):
1359 * progmodes/cap-words.el (capitalized-words-mode):
1360 * progmodes/compile.el (compilation-minor-mode)
1361 (compilation-shell-minor-mode):
1362 * progmodes/gud.el (gud-tooltip-mode):
1363 * progmodes/hideif.el (hide-ifdef-mode):
1364 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
1365 * progmodes/subword.el (subword-mode):
1366 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
1367 * progmodes/which-func.el (which-function-mode):
1368 * term/tvi970.el (tvi970-set-keypad-mode):
1369 * term/vt100.el (vt100-wide-mode):
1370 * textmodes/flyspell.el (flyspell-mode):
1371 * textmodes/ispell.el (ispell-minor-mode):
1372 * textmodes/nroff-mode.el (nroff-electric-mode):
1373 * textmodes/paragraphs.el (use-hard-newlines):
1374 * textmodes/refill.el (refill-mode):
1375 * textmodes/reftex.el (reftex-mode):
1376 * textmodes/rst.el (rst-minor-mode):
1377 * textmodes/sgml-mode.el (html-autoview-mode)
1378 (sgml-electric-tag-pair-mode):
1379 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
1380 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
1381 * emulation/crisp.el (crisp-mode):
1382 * emacs-lisp/eldoc.el (eldoc-mode):
1383 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
1384 minor mode behavior.
1385
aa42ab43
JL
13862011-10-19 Juri Linkov <juri@jurta.org>
1387
1388 * descr-text.el (describe-char): Add #x2010 and #x2011 to
1389 the list of hard-coded chars with escape-glyph face.
1390
89400f1d
SM
13912011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
1392
1393 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
1394
305c07f6
MA
13952011-10-19 Michael Albinus <michael.albinus@gmx.de>
1396
1397 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
1398 running process.
1399
13754b54
GM
14002011-10-19 Glenn Morris <rgm@gnu.org>
1401
1402 * vc/vc-bzr.el (vc-bzr-after-dir-status):
1403 Ignore ignored files. (Bug#9726)
1404
06e21633
CY
14052011-10-19 Chong Yidong <cyd@gnu.org>
1406
1407 Doc fix for minor modes, stating that an omitted argument enables
1408 the mode unconditionally when called from Lisp.
1409
1410 * abbrev.el (abbrev-mode):
1411 * allout.el (allout-mode):
1412 * autoinsert.el (auto-insert-mode):
1413 * autoarg.el (autoarg-mode, autoarg-kp-mode):
1414 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
1415 (global-auto-revert-mode):
1416 * battery.el (display-battery-mode):
1417 * composite.el (global-auto-composition-mode)
1418 (auto-composition-mode):
1419 * delsel.el (delete-selection-mode):
1420 * desktop.el (desktop-save-mode):
1421 * dired-x.el (dired-omit-mode):
1422 * dirtrack.el (dirtrack-mode):
1423 * doc-view.el (doc-view-minor-mode):
1424 * double.el (double-mode):
1425 * electric.el (electric-indent-mode, electric-pair-mode):
1426 * emacs-lock.el (emacs-lock-mode):
1427 * epa-hook.el (auto-encryption-mode):
1428 * follow.el (follow-mode):
1429 * font-core.el (font-lock-mode):
1430 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
1431 * help.el (temp-buffer-resize-mode):
1432 * hilit-chg.el (highlight-changes-mode)
1433 (highlight-changes-visible-mode):
1434 * hi-lock.el (hi-lock-mode):
1435 * hl-line.el (hl-line-mode, global-hl-line-mode):
1436 * icomplete.el (icomplete-mode):
1437 * ido.el (ido-everywhere):
1438 * image-file.el (auto-image-file-mode):
1439 * image-mode.el (image-minor-mode):
1440 * iswitchb.el (iswitchb-mode):
1441 * jka-cmpr-hook.el (auto-compression-mode):
1442 * linum.el (linum-mode):
1443 * longlines.el (longlines-mode):
1444 * master.el (master-mode):
1445 * mb-depth.el (minibuffer-depth-indicate-mode):
1446 * menu-bar.el (menu-bar-mode):
1447 * minibuf-eldef.el (minibuffer-electric-default-mode):
1448 * mouse-sel.el (mouse-sel-mode):
1449 * msb.el (msb-mode):
1450 * mwheel.el (mouse-wheel-mode):
1451 * outline.el (outline-minor-mode):
1452 * paren.el (show-paren-mode):
1453 * recentf.el (recentf-mode):
1454 * reveal.el (reveal-mode, global-reveal-mode):
1455 * rfn-eshadow.el (file-name-shadow-mode):
1456 * ruler-mode.el (ruler-mode):
1457 * savehist.el (savehist-mode):
1458 * scroll-all.el (scroll-all-mode):
1459 * scroll-bar.el (scroll-bar-mode):
1460 * server.el (server-mode):
1461 * shell.el (shell-dirtrack-mode):
1462 * simple.el (auto-fill-mode, transient-mark-mode)
1463 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
1464 (line-number-mode, column-number-mode, size-indication-mode)
1465 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
1466 * strokes.el (strokes-mode):
1467 * time.el (display-time-mode):
1468 * t-mouse.el (gpm-mouse-mode):
1469 * tool-bar.el (tool-bar-mode):
1470 * tooltip.el (tooltip-mode):
1471 * type-break.el (type-break-mode-line-message-mode)
1472 (type-break-query-mode):
1473 * view.el (view-mode):
1474 * whitespace.el (whitespace-mode, whitespace-newline-mode)
1475 (global-whitespace-mode, global-whitespace-newline-mode):
1476 * xt-mouse.el (xterm-mouse-mode): Doc fix.
1477
a3839de2
SM
1478 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
1479 Fix autogenerated docstring.
06e21633 1480
5214e501
JL
14812011-10-19 Juri Linkov <juri@jurta.org>
1482
1483 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
1484 by checking environment variables "DESKTOP_SESSION" and
1485 "XDG_CURRENT_DESKTOP". (Bug#9779)
1486
195f8db9
JL
14872011-10-19 Juri Linkov <juri@jurta.org>
1488
1489 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
1490 (browse-url-chromium-program, browse-url-chromium-arguments):
1491 New defcustoms.
1492 (browse-url-default-browser): Check for `browse-url-chromium' and
1493 call `browse-url-chromium-program'.
1494 (browse-url-chromium): New command. (Bug#9779)
1495
343a34ff
JB
14962011-10-18 Juanma Barranquero <lekktu@gmail.com>
1497
1498 * facemenu.el (list-colors-duplicates): On Windows, detect more
1499 duplicates by assuming that only colors matching "^System" are
1500 special "system colors". (Bug#9722)
1501
6978a151
SM
15022011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
1503
1504 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
1505 to distinguish the author from the committer.
1506
6a80b297
MA
15072011-10-18 Michael Albinus <michael.albinus@gmx.de>
1508
1509 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
1510
b31a5677
JK
15112011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
1512
1513 * international/mule.el (sgml-html-meta-auto-coding-function):
1514 Add support for detecting encoding in HTML5 specified only as
1515 <meta charset="UTF-8">. Implementation just makes http-equiv and
1516 content-type parts from HTML4 encoding string optional. (Bug#9716)
1517
80c6d77f
GM
15182011-10-18 Glenn Morris <rgm@gnu.org>
1519
1520 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
1521
08b0fee8
CY
15222011-10-18 Chong Yidong <cyd@gnu.org>
1523
1524 * faces.el (cursor): Doc fix.
1525
67e729a5
CY
15262011-10-17 Chong Yidong <cyd@gnu.org>
1527
1528 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
1529
343a34ff 15302011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
1531
1532 * dirtrack.el (dirtrack): Support shell buffers with path
1533 prefixes, e.g. tramp-based remote shells. (Bug#9647)
1534
0bc06380
TZ
15352011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
1536
1537 * json.el: Bump version to 1.3 and note change in History.
1538 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
1539
8b79f3e0
SM
15402011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
1541
5a7c536b
SM
1542 * comint.el (comint-insert-input, comint-send-input)
1543 (comint-get-old-input-default, comint-backward-matching-input)
1544 (comint-next-prompt): Use nil instead of `input' for field property of
1545 past user input (bug#114).
1546
96a8a0df
SM
1547 * minibuffer.el (completion--replace): Inherit surrounding properties
1548 (bug#114).
1549 (minibuffer-complete-and-exit): Use it.
1550
8b79f3e0
SM
1551 * comint.el (comint--table-subvert): Quote the all-completions output
1552 (bug#9160).
1553
b8f7ff0d
MR
15542011-10-17 Martin Rudalics <rudalics@gmx.at>
1555
8b79f3e0 1556 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 1557
b8f7ff0d 1558 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 1559 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
1560 entries and separate them from frame entries.
1561
c235b555
GM
15622011-10-15 Glenn Morris <rgm@gnu.org>
1563
1564 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
1565 Doc fixes.
1566
6bbfa6e1
CY
15672011-10-15 Chong Yidong <cyd@stupidchicken.com>
1568
8b79f3e0
SM
1569 * net/network-stream.el (network-stream-open-starttls):
1570 Improve detection of failure due to lack of TLS support.
ec5c990d 1571
6bbfa6e1
CY
1572 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
1573 putting the input text in front and in bold.
1574
98488977
SM
15752011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
1576
3d1337be
SM
1577 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
1578
ee0b45e4
SM
1579 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
1580 empty buffer.
1581
98488977
SM
1582 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
1583 unread-command-events rather than pushing yet-another event.
1584
186f4720
EZ
15852011-10-14 Eli Zaretskii <eliz@gnu.org>
1586
1587 * mail/sendmail.el (sendmail-query-once): Improve the wording of
1588 the explanation of the possible choices. Make the options passed
1589 to completing-read shorter.
1590
8b7a997c
AM
15912011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1592
1593 * textmodes/flyspell.el (flyspell-large-region): Make sure
1594 extended character mode is used if defined (Bug#1339).
1595
12587bbb
EZ
15962011-10-13 Eli Zaretskii <eliz@gnu.org>
1597
1598 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
1599 character info for LRE, LRO, RLE, and RLO characters by appending
1600 an invisible PDF.
12587bbb 1601
bad41229
SM
16022011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
1603
1604 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
1605 even in case of error; add debug spec; simplify data flow.
1606 (with-timeout-handler): Remove.
1607
28dbc92f
MA
16082011-10-12 Michael Albinus <michael.albinus@gmx.de>
1609
1610 Fix Bug#6019, Bug#9315.
1611
1612 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
1613 complete `buffer-file-name', the local file name part could look
1614 remotely (for example on VMS).
1615
1616 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
1617 `tramp-run-real-handler'.
1618 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
1619 already quoted by '"'.
1620
1621 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
1622 Let `file-name-handler-alist' be nil, the local file name part
1623 could look remotely (for example on VMS).
1624
e1b0b23a
SM
16252011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
1626
1627 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
1628 from here...
1629 (flyspell-post-command-hook): ...to here.
1630
a120bde9
SM
16312011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
1632
1633 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
1634 if not needed.
1635 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
1636 using completion. Protect against "slow" callers.
1637 Remove the "message hack".
1638
7ce7717b
JL
16392011-10-11 Juri Linkov <juri@jurta.org>
1640
1641 * isearch.el (isearch-lazy-highlight-word): New variable.
1642 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
1643 Use it. (Bug#9727)
1644
c02ee9d6
GM
16452011-10-11 Glenn Morris <rgm@gnu.org>
1646
1647 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
1648 like f90-previous-statement does.
1649
93e616fd 16502011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1651
1f190e73 1652 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
1653 only in interactive use, to avoid error.
1654
af7b6078
SM
16552011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
1656
1657 * minibuffer.el (completion-file-name-table): Fix last change,
1658 i.e. ignore normal errors but not the other ones.
1659
0563dae9
MR
16602011-10-10 Martin Rudalics <rudalics@gmx.at>
1661
1662 * window.el (special-display-buffer-names)
1663 (special-display-regexps): Remove some remnants of earlier
1664 changes from doc-strings.
366ca7f3
MR
1665 (quit-windows-on): New function.
1666
1667 * vc/vc.el (vc-revert, vc-rollback):
1668 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
1669 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 1670 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 1671
49677495
MR
16722011-10-09 Martin Rudalics <rudalics@gmx.at>
1673
1674 * window.el (frame-auto-hide-function): Add version tag.
1675 (Bug#9699)
1676
56f2d1e1
MA
16772011-10-09 Michael Albinus <michael.albinus@gmx.de>
1678
1679 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
1680 condition.
1681
112a6592
LL
16822011-10-09 Leo Liu <sdl.web@gmail.com>
1683
1684 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
1685 (Bug#9701)
1686
0812589b
GM
16872011-10-08 Glenn Morris <rgm@gnu.org>
1688
1689 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
1690 before the first code statement zero indent. (Bug#9690)
1691
b2b0776e
CY
16922011-10-08 Chong Yidong <cyd@stupidchicken.com>
1693
1694 * simple.el (count-words-region): Always count in the region.
1695 Report the number of lines and characters too.
1696 (count-words): New command, which counts in the buffer if the
1697 region is inactive, as count-words-region used to.
1698 (count-words--message): New function. Handle plurals.
1699 (count-lines-region): Make it an alias for count-words-region.
1700
1701 * bindings.el (esc-map): Replace count-lines-region with
1702 count-words-region.
1703
c557cd6b
MR
17042011-10-08 Martin Rudalics <rudalics@gmx.at>
1705
1706 * window.el (window--delete): Delete dedicated frame
1707 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 1708 (switch-to-buffer): Fix doc-string typo.
c557cd6b 1709
61a57ef4 17102011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1711
1712 * lisp/eshell/eshell.el (eshell-command): Avoid using hooks.
1713
c3833279
CY
17142011-10-07 Chong Yidong <cyd@stupidchicken.com>
1715
1716 * bindings.el ([M-left],[M-right]): Bind to left-word and
1717 right-word respectively.
1718
21ce8245
GM
17192011-10-07 Glenn Morris <rgm@gnu.org>
1720
1721 * cus-start.el (debug-on-quit): Fix custom type.
1722
6d823bb2
LMI
17232011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
1724
0181e193
LMI
1725 * subr.el (define-key-after): Clarify that the function is not
1726 useful for non-menu keymaps.
1727
6d823bb2
LMI
1728 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
1729
8e3459ce 17302011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1731
21ce8245 1732 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 1733 in current minibuffer (Fix bug with recursive minibuffers).
1734
a1c2d21e
CY
17352011-10-06 Chong Yidong <cyd@stupidchicken.com>
1736
1737 * progmodes/gdb-mi.el (gdb): Doc fix.
1738
5a4cf282
MR
17392011-10-05 Martin Rudalics <rudalics@gmx.at>
1740
1741 * window.el (frame-auto-hide-function): New option replacing
1742 frame-auto-delete. Suggested by Stefan Monnier.
1743 (window--delete): Call frame-auto-hide-function instead of
1744 investigating frame-auto-delete.
c96111ea
MR
1745 (window-point-1, set-window-point-1): New functions.
1746 (window-in-direction, record-window-buffer, window-state-get-1)
1747 (display-buffer-record-window): Use window-point-1 instead of
1748 window-point.
1749 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 1750
9854542e
SM
17512011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
1752
1753 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
1754
8943cfb0
GM
17552011-10-05 Glenn Morris <rgm@gnu.org>
1756
1757 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
1758 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
1759
647ab967
LL
17602011-10-05 Leo Liu <sdl.web@gmail.com>
1761
1762 * subr.el (read-char-choice): Fix argument to buffer-live-p which
1763 works with buffer object.
1764
3ddfbced
SM
17652011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
1766
1767 * mpc.el (mpc-tool-bar-map): Add labels.
1768
bdfa5dd2
GM
17692011-10-04 Glenn Morris <rgm@gnu.org>
1770
1771 * calendar/holidays.el (calendar-check-holidays): Doc fix.
1772
0e2070b5
MR
17732011-10-04 Martin Rudalics <rudalics@gmx.at>
1774
1775 * window.el (window--delete): New function.
1776 (frame-auto-delete): Resuscitate option.
1777 (bury-buffer, replace-buffer-in-windows)
1778 (quit-window): Rewrite using window--delete.
1779 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
1780 Pass display-buffer-mark-dedicated to window--display-buffer-2
1781 (Bug#9639).
1782
3dc61a09
SM
17832011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
1784
915a9b64
SM
1785 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
1786 returns a list (bug#9554). Add remote file name completion.
1787 * comint.el (comint--table-subvert): Curry and get quote&unquote
1788 functions as arguments.
1789 (comint--complete-file-name-data): Adjust call accordingly.
1790 * pcomplete.el (pcomplete--table-subvert): Remove.
1791 (pcomplete-completions-at-point): Use comint--table-subvert instead.
1792
3dc61a09
SM
1793 * minibuffer.el (completion-table-case-fold): Use currying.
1794 (completion--styles-type, completion--cycling-threshold-type):
1795 New constants.
1796 (completion-styles, completion-category-overrides)
1797 (completion-cycle-threshold): Use them.
1798 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
1799 completion-table-case-fold.
1800
8ea0a993
SB
18012011-10-03 Stephen Berman <stephen.berman@gmx.net>
1802
1803 * minibuffer.el (completion-category-overrides): Fix type of styles
1804 and add more user friendly tags (bug#9660).
1805
8c24b7f6
SM
18062011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
1807
1808 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
1809 (mule-input-method-string): New widget.
1810 (default-input-method, language-info-custom-alist): Use it.
1811
428fe61a
SM
18122011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
1813
32c1fffd
SM
1814 * pcomplete.el: Require comint.
1815 (pcomplete--common-suffix): Remove.
1816 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
1817 (pcomplete--table-subvert): Sync with comint--table-subvert.
1818 (pcomplete--entries): Use comint-completion-file-name-table.
1819 * comint.el (comint-unquote-filename): Simplify.
1820 (comint-completion-file-name-table): New function (bug#9616).
1821 (comint--complete-file-name-data): Use it.
1822
428fe61a
SM
1823 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
1824 (pcmpl-gnu-tar-buffer): Remove.
1825 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
1826 around. Make sure pcomplete-suffix-list is only changed temporarily.
1827 Don't look inside the tar's file if it's too large.
428fe61a 1828
04c52e2f
CY
18292011-10-01 Chong Yidong <cyd@stupidchicken.com>
1830
ce3cefcc
CY
1831 * cus-edit.el (custom-mode-map):
1832 * epa.el (epa-key-list-mode-map):
1833 * man.el (Man-mode-map):
1834 * startup.el (splash-screen-keymap):
1835 * simple.el (special-mode-map): Use scroll-up-command and
1836 scroll-down-command.
1837
1838 * progmodes/idlw-help.el (idlwave-help-mode-map):
1839 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
1840 * net/newst-plainview.el (newsticker-mode-map):
1841 * emulation/ws-mode.el (wordstar-mode-map):
1842 * emulation/vi.el (vi-com-map):
1843 * calc/calc-graph.el (calc-graph-show-dumb):
1844 * term/sun.el (terminal-init-sun):
1845 * term/ns-win.el (global-map):
1846 * progmodes/grep.el (grep-mode-map):
1847 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
1848 * mail/rmail.el (rmail-mode-map):
1849 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
1850
04c52e2f
CY
1851 * custom.el (custom-safe-themes, load-theme): Treat value of t for
1852 custom-safe-themes as special.
1853
79adf8c8
JD
18542011-10-01 Julien Danjou <julien@danjou.info>
1855
1856 * notifications.el (notifications-notify): Fix docstring.
1857
63bd50d3
PS
18582011-10-01 Per Starbäck <per@starback.se>
1859
1860 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
1861
199e4c7e
MR
18622011-09-30 Martin Rudalics <rudalics@gmx.at>
1863
1864 * startup.el (command-line-1): Fix last fix by inserting
1865 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 1866 (Bug#9605) and (Bug#9636)
199e4c7e 1867
fe5f08dd
EZ
18682011-09-29 Eli Zaretskii <eliz@gnu.org>
1869
1870 * simple.el (line-move): If auto-hscroll-mode is disabled and the
1871 window is hscrolled, move by logical lines. (Bug#9607)
1872 (line-move-visual): Update the doc string to the above effect.
1873
b5516bbd
MR
18742011-09-29 Martin Rudalics <rudalics@gmx.at>
1875
ccee00c0
MR
1876 * window.el (display-buffer-record-window): When WINDOW is the
1877 selected window use `point' instead of `window-point'. (Bug#9626)
1878
b5516bbd
MR
1879 * startup.el (command-line-1): Use insert-before-markers when
1880 inserting initial-scratch-message. (Bug#9605)
ccee00c0 1881
b5516bbd
MR
1882 * help.el (help-window): Remove variable.
1883
52aa0014
GM
18842011-09-29 Glenn Morris <rgm@gnu.org>
1885
1886 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
1887
df9a7357
JB
18882011-09-29 Juanma Barranquero <lekktu@gmail.com>
1889
1890 * descr-text.el (describe-char-categories): Accept category
1891 descriptions more than one line long.
1892
a8406c20
SM
18932011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
1894
88d9610c
SM
1895 * simple.el (delete-trailing-whitespace): Fix last change.
1896
a5daf810
SM
1897 * progmodes/perl-mode.el (perl-syntax-propertize-function):
1898 Don't confuse "y => 3" as the beginning of a `y' operation.
1899
a8406c20
SM
1900 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
1901 object has more than 4 slots (bug#9613).
1902
a239d4e9
JB
19032011-09-28 Juanma Barranquero <lekktu@gmail.com>
1904
1905 * subr.el (with-output-to-temp-buffer):
1906 * net/quickurl.el (quickurl, quickurl-browse-url):
1907 Fix typos in docstrings.
1908
693fbdb6
EZ
19092011-09-27 Eli Zaretskii <eliz@gnu.org>
1910
1911 * minibuffer.el (completion-styles)
1912 (completion-category-overrides): Cross reference each other in doc
1913 strings.
1914
8b457e28
GM
19152011-09-27 Glenn Morris <rgm@gnu.org>
1916
1917 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
1918 to split-string. (Bug#9606)
1919
85a16208
LMI
19202011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
1921
1922 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
1923 (bug#9615).
1924
502f9ebd
CY
19252011-09-27 Chong Yidong <cyd@stupidchicken.com>
1926
1927 * emacs-lisp/package.el (list-packages): Fix echo area message.
1928
7690bdea
LL
19292011-09-27 Leo Liu <sdl.web@gmail.com>
1930
1931 * ido.el (ido-read-internal): Accept cons cell HIST arg.
1932
e2ee6f30
MA
19332011-09-25 Michael Albinus <michael.albinus@gmx.de>
1934
1935 * net/dbus.el (dbus-unregister-object): Don't release services for
1936 registered signals. (Bug#9581)
1937
f3f98342
TZ
19382011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
1939
1940 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
1941 function that picks between cfengine 2 and 3 support
1942 automatically. Update docs accordingly.
1943
dd7aa8dd
KH
19442011-09-22 Kenichi Handa <handa@m17n.org>
1945
1946 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
1947 ZERO.
1948 (indian-itrans-v5-table-for-tamil): New variable.
1949 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
1950
3f2b07f8
KM
19512011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
1952
1953 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
1954 that's true if the current command involved collapsing of text.
1955 It's reset to false at the beginning of the next command.
1956 (allout-post-command-business): Move the cursor to the beginning
1957 of entry if the cursor is hidden and collapsing activity just
1958 happened.
1959
371d6a61
CY
19602011-09-24 Chong Yidong <cyd@stupidchicken.com>
1961
1962 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
1963 tracking (Bug#9541).
1964
2ac2721a
UJ
19652011-09-24 Ulf Jasper <ulf.jasper@web.de>
1966
1967 * net/newst-reader.el (newsticker-html-renderer)
1968 (newsticker-show-news): Automatically
343a34ff
JB
1969 load html rendering package if newsticker-html-renderer is set.
1970 Fixes "Warning: defvar ignored because w3m-fill-column is
2ac2721a
UJ
1971 let-bound" and the error "Symbol's value as variable is void:
1972 w3m-fill-column".
1973
fac7ae53
MA
19742011-09-24 Michael Albinus <michael.albinus@gmx.de>
1975
1976 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
1977 Release services only if they are defined. (Bug#9581)
1978
e08b633b
RS
19792011-09-23 Richard Stallman <rms@gnu.org>
1980
e488d29c
RS
1981 * textmodes/paragraphs.el (forward-sentence): For backwards case,
1982 distinguish start of paragraph from start of its text.
1983
19c38752
RS
1984 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
1985
e08b633b
RS
1986 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
1987 (rmail-generate-viewer-buffer): Put that hook on view buffer.
1988 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
1989
0a39f27e
AS
19902011-09-23 Andreas Schwab <schwab@linux-m68k.org>
1991
1992 * international/mule-diag.el (mule-diag): Insert a newline after
1993 each fontset description.
1994
db4e950d
SM
19952011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
1996
1997 * simple.el (delete-trailing-whitespace):
1998 Document last change; simplify.
1999
eca3f3ea
PW
20002011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
2001
d68e189a
PW
2002 * simple.el (delete-trailing-whitespace): Also delete
2003 extra newlines at the end of the buffer.
2004
eca3f3ea
PW
2005 * textmodes/picture.el: Make motion commands obey shift-select-mode.
2006 (picture-newline): Use forward-line so as to ignore fields.
2007
01c157cc
SM
20082011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
2009
2010 * subr.el (with-wrapper-hook): Fix edebug spec.
2011
022de23e
LMI
20122011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
2013
2014 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
2015 (bug#4538).
2016
91683089
MA
20172011-09-23 Michael Albinus <michael.albinus@gmx.de>
2018
eca3f3ea
PW
2019 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
2020 Fix nasty bug using wrong cached values.
91683089 2021
5bdd6fa4
AM
20222011-09-23 Alan Mackenzie <acm@muc.de>
2023
2024 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
2025
97adfb97
CY
20262011-09-23 Chong Yidong <cyd@stupidchicken.com>
2027
2028 * window.el (pop-to-buffer): Ensure right window is selected if we
2029 chose another frame.
2030
d4ef2b50
EZ
20312011-09-22 Eli Zaretskii <eliz@gnu.org>
2032
2033 * simple.el (what-cursor-position): Use get-char-property-change
2034 and next-single-char-property-change, to be able to show display
2035 properties that come from overlays as well as text properties.
2036
72258fe5
CY
20372011-09-22 Chong Yidong <cyd@stupidchicken.com>
2038
2039 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
2040
2041 * cmuscheme.el (run-scheme, switch-to-scheme):
2042 * cus-edit.el (customize-group, custom-buffer-create)
2043 (customize-browse):
2044 * info.el (info):
2045 * shell.el (shell):
2046 * mail/sendmail.el (mail):
2047 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
2048
8f098516
RS
20492011-09-22 Richard Stallman <rms@gnu.org>
2050
2051 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
2052 move back only to line beg, don't move back over blank lines.
2053
e74f1bb6
MA
20542011-09-22 Michael Albinus <michael.albinus@gmx.de>
2055
2056 * files.el (copy-directory): Set directory attributes only in case
2057 they could be retrieved from the source directory. (Bug#9565)
2058
bfeef8b6
DK
20592011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
2060
2061 * progmodes/hideshow.el (hs-looking-at-block-start-p)
2062 (hs-find-block-beginning, hs-hide-level-recursive):
2063 Ignore strings as well as comments. (Bug#9502)
2064
7e423bb8
AS
20652011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
2066
2067 * progmodes/sql.el (sql-comint-postgres):
2068 Convert port number to a string. (Bug#9566)
2069
b4d72fcf
MR
20702011-09-22 Martin Rudalics <rudalics@gmx.at>
2071
2072 * window.el (quit-window): Undedicate window when switching to
2073 previous buffer. Reported by Thierry Volpiatto
2074 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
2075 (special-display-popup-frame): When popping up a new frame reset
2076 its previous buffers to nil. Simplify code.
b4d72fcf 2077
a7b88dc6
MA
20782011-09-21 Michael Albinus <michael.albinus@gmx.de>
2079
2080 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
2081 and process filter, as done also in `shell-command'.
2082
cf4eacfd
MR
20832011-09-21 Martin Rudalics <rudalics@gmx.at>
2084
eca3f3ea
PW
2085 * window.el (set-window-buffer-start-and-point):
2086 Call set-window-start with NOFORCE argument t. Suggested by Thierry
cf4eacfd
MR
2087 Volpiatto <thierry.volpiatto@gmail.com>.
2088 (quit-window): Reword doc-string. Handle new format of
2089 quit-restore parameter. Don't delete window if it has a
2090 previous buffer we can show instead of the present one.
2091 (display-buffer-record-window): Rewrite using a new format for
2092 the quit-restore window parameter
2093 (special-display-popup-frame, display-buffer-same-window)
2094 (display-buffer-reuse-window, display-buffer-pop-up-frame)
2095 (display-buffer-pop-up-window, display-buffer-use-some-window):
2096 Adapt symbol passed to display-buffer-record-window.
2097 * help.el (help-window-setup): Handle new format of quit-restore
2098 parameter.
2099
8d28cb95
SM
21002011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
2101
94ab793f
SM
2102 * faces.el (face-list): Fix docstring (bug#9564).
2103
8d28cb95
SM
2104 * window.el (display-buffer--action-function-custom-type):
2105 Don't include internal functions in the Custom interface.
2106
3820edeb
JL
21072011-09-20 Juri Linkov <juri@jurta.org>
2108
2109 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
2110 (Info-forward-node, Info-backward-node, Info-next-preorder)
2111 (Info-last-preorder): Use it. (Bug#9528)
2112
5147931d
JL
21132011-09-20 Juri Linkov <juri@jurta.org>
2114
2115 * info.el (Info-last-preorder): Visit last menu item only when
2116 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
2117
cf499a1a
JD
21182011-09-20 Julien Danjou <julien@danjou.info>
2119
2120 * password-cache.el (password-cache-remove): Remove entries even if the
2121 value is nil, so that password with a nil value (negative caching) is
2122 possible to invalidate.
2123
f84e2fe2
LM
21242011-09-20 Lawrence Mitchell <wence@gmx.li>
2125
2126 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
2127 all whitespace around breakpoint. (Bug#9553)
2128 (f90-find-breakpoint): Only break at whitespace inside a comment.
2129
78054a46
SM
21302011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
2131
2132 * minibuffer.el (completion-file-name-table): Keep track of errors.
2133 (completion-table-with-predicate): Handle the case where pred1 is nil.
2134 * pcomplete.el (pcomplete-completions-at-point): Simplify.
2135
345083b2
SM
21362011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
2137
e24e27be
SM
2138 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
2139 (debugger-return-value): Signal an error if the debugging context does
2140 not await any return value.
2141
345083b2
SM
2142 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
2143 * image-mode.el (image-toggle-display-text)
2144 (image-toggle-display-image): Stay away from evil `intangible'.
2145
08d355e3
LL
21462011-09-19 Leo Liu <sdl.web@gmail.com>
2147
2148 * replace.el (occur-revert-arguments): Make it permanent-local.
2149 (occur-mode): Don't call font-lock-defontify.
2150
f01da43f
CY
21512011-09-19 Chong Yidong <cyd@stupidchicken.com>
2152
2153 * net/ldap.el (ldap-search-internal): Don't push empty search
2154 result (Bug#9508).
2155
b6072fa6
SM
21562011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
2157
2158 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
2159
443d6696
MA
21602011-09-19 Michael Albinus <michael.albinus@gmx.de>
2161
2162 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
2163 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
2164
7cc6e154
JL
21652011-09-18 Juri Linkov <juri@jurta.org>
2166
2167 * buff-menu.el (Buffer-menu-mode-map):
2168 * dired.el (dired-mode-map):
2169 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
2170 (lisp-interaction-mode-map):
2171 * emacs-lisp/package.el (package-menu-mode-map):
2172 * epa.el (epa-key-list-mode-map):
2173 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
2174 (menu-bar-options-menu):
2175 * outline.el (outline-mode-menu-bar-map):
2176 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
2177 * vc/vc-dir.el (vc-dir-menu-map):
2178 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
2179 Capitalize non-function content words in menu item strings.
2180
2181 * dired.el (dired-mode-map): Add menu item for
2182 `image-dired-dired-toggle-marked-thumbs'.
2183
80302a81
JL
21842011-09-18 Juri Linkov <juri@jurta.org>
2185
2186 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
2187 to `isearch-case-fold-search' and restore its original value
2188 after the `isearch-mode' call.
2189
46c5cf66
JL
21902011-09-18 Juri Linkov <juri@jurta.org>
2191
2192 * progmodes/grep.el (grep-process-setup): Don't check code for 1
2193 because `zgrep' returns 1 for successful matches (bug#9226).
2194
d18b513b
JL
21952011-09-18 Juri Linkov <juri@jurta.org>
2196
2197 * info.el (Info-extract-menu-node-name): Check the second match
2198 for empty string (second test-case of bug#9528).
2199 (Info-last-preorder): Let-bind `Info-history' to nil to not add
2200 intermediate nodes to the history (first test-case of bug#9528).
2201
72753f87
JL
22022011-09-18 Juri Linkov <juri@jurta.org>
2203
2204 * info.el (Info-mode-syntax-table): New variable.
2205 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table'. (Bug#3312)
2206
c9384295
JL
22072011-09-18 Juri Linkov <juri@jurta.org>
2208
2209 * info.el (Info-file-supports-index-cookies): Increment
2210 line-beginning-position's arg from 3 to 4 because makeinfo outputs
2211 one more line for long file names (bug#4142).
2212
d473dce8
CY
22132011-09-18 Chong Yidong <cyd@stupidchicken.com>
2214
2215 * newcomment.el (comment-normalize-vars): If prompting for
2216 comment-start, set comment-start-skip too (Bug#8424).
2217
2176854d
JB
22182011-09-18 Johan Bockgård <bojohan@gnu.org>
2219
2220 * icomplete.el: Fix previous fix of Bug#5849.
2221 (icomplete-mode): Don't set completion-show-inline-help.
2222 (icomplete-minibuffer-setup): Set completion-show-inline-help
2223 locally during icompletion.
2224
3aace4e4
CY
22252011-09-18 Chong Yidong <cyd@stupidchicken.com>
2226
c940224f
CY
2227 * woman.el (woman2-process-escapes): Don't delete unrecognized
2228 escapes (Bug#7843).
2229
3aace4e4
CY
2230 * files.el (inhibit-first-line-modes-regexps): Add image files.
2231 (hack-local-variables-prop-line): Return nil for malformed
2232 prop-lines (Bug#9044).
2233
710dec63
MA
22342011-09-18 Michael Albinus <michael.albinus@gmx.de>
2235
2236 * net/tramp.el (top): Don't require 'shell.
2237 (tramp-methods): Fix docstring.
2238 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
2239 Return complete remote file name. Handle "smb" case.
2240 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
2241 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
2242
2243 * net/tramp-compat.el (top): Require 'shell.
2244
2245 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
2246 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
2247 `tramp-current-host'.
2248 (tramp-get-remote-tmpdir): Remove.
2249
2250 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
2251 `tramp-tmpdir' entries.
2252 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
2253 (tramp-smb-handle-file-attributes): Ignore errors.
2254 (tramp-smb-wait-for-output): Check also for process end.
2255
5d5ac8ec
LMI
22562011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
2257
2258 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
2259 when sending QUIT (bug#9312).
2260
8c0f49f0
CY
22612011-09-17 Chong Yidong <cyd@stupidchicken.com>
2262
2263 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
2264 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
2265 occur-mode-display-occurrence.
2266 (occur-edit-mode): Add usage message.
2267 (occur-cease-edit): New command.
2268 (occur-after-change-function): Use text properties to find the
2269 position of the prefix text.
2270 (occur-engine): Set stickiness of prefix text properties.
2271
8f1383f7
GM
22722011-09-17 Glenn Morris <rgm@gnu.org>
2273
2274 * progmodes/etags.el (complete-tag):
2275 Fix call to completion-in-region. (Bug#9526)
2276
744ba0e3
JL
22772011-09-17 Juri Linkov <juri@jurta.org>
2278
2279 * textmodes/ispell.el (ispell-word): Add to the error message
2280 the word, ispell program name and current dictionary (bug#9121).
2281 (ispell-tex-arg-end): Capitalize "error" in the error message.
2282
d9bbf400
AS
22832011-09-17 Andreas Schwab <schwab@linux-m68k.org>
2284
2285 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
2286 check. (Bug#4251)
2287
8da11505
JL
22882011-09-17 Juri Linkov <juri@jurta.org>
2289
2290 * window.el (window-safe-min-height, window-safe-min-width):
2291 Fix typos (followup to bug#9522).
2292
a91adc7e
SJ
22932011-09-17 Sven Joachim <svenjoac@gmx.de>
2294
2295 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
2296
064f328a
EZ
22972011-09-16 Eli Zaretskii <eliz@gnu.org>
2298
2299 * simple.el (line-move): If goal-column is set, move by logical
2300 lines, not by display lines. (Bug#971)
2301 (next-line, previous-line, goal-column, line-move-visual): Doc fix
2302 to reflect the above change.
2303
e69df516
SM
23042011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
2305
2306 * image.el (imagemagick-register-types): Use regexp-opt.
2307
cbb0f9ab
CY
23082011-09-15 Chong Yidong <cyd@stupidchicken.com>
2309
2310 * window.el (display-buffer-base-action): Rename from
2311 display-buffer-default-action. Make default value empty.
2312 (display-buffer-overriding-action): Convert to defvar.
2313 (display-buffer-fallback-action): New var.
2314
25322144
CY
23152011-09-15 Chong Yidong <cyd@stupidchicken.com>
2316
2317 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
2318 declaration.
2319 (package--add-to-archive-contents): If there is a duplicate entry
2320 with an older version, remove it.
2321 (package-menu-mark-delete, package-menu-mark-install)
2322 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
2323 (package-menu-mark-obsolete-for-deletion):
2324 Use package-menu-get-status instead of a regexp search.
25322144
CY
2325 (package-menu-get-status): Use tabulated-list-entry.
2326 (package-menu-mark-upgrades): New command.
d770725a 2327 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
2328 (package-menu-execute): Do installation before deletion.
2329 (package-menu-refresh, package-menu-execute): Use derived-mode-p
2330 instead of checking major-mode.
2331 (package-menu--find-upgrades): New function.
2332
7520339c
LMI
23332011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
2334
2335 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
2336 passwords in the log buffer.
65a046c4
LMI
2337 (smtpmail-process-filter): Update the process marker so that the
2338 "broken by peer" status message is inserted in the right place.
7520339c 2339
d3c30954
SM
23402011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
2341
3fe48822
SM
2342 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
2343 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
2344 bibtex-completion-at-point-function.
2345 (bibtex-completion-at-point-function): Use them.
2346
1b8b3954
SM
2347 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
2348
d3c30954
SM
2349 * mpc.el (mpc-constraints-tag-lookup): New function.
2350 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
2351 also to browser "album|playlist".
2352
72779976
JL
23532011-09-14 Juri Linkov <juri@jurta.org>
2354
2355 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
2356 (isearch-edit-string): Use length of `isearch-string' when
2357 `isearch-fail-pos' returns nil.
2358 (isearch-message): Remove duplicate code and call
2359 `isearch-fail-pos' with arg `t'.
2360
a0bf2bcd
CY
23612011-09-14 Chong Yidong <cyd@stupidchicken.com>
2362
17bb0a2d
CY
2363 * replace.el (occur-mode-goto-occurrence): Don't force using other
2364 window (Bug#9499).
2365
a0bf2bcd
CY
2366 * dired-aux.el (dired-do-chmod): Don't provide initial input.
2367
f678e0b6
MR
23682011-09-14 Martin Rudalics <rudalics@gmx.at>
2369
2370 * window.el (display-buffer-window): Remove.
2371 (display-buffer-record-window): Use help-setup window parameter
2372 instead of variable display-buffer-window.
2373 (display-buffer-function, special-display-buffer-names)
2374 (special-display-function): Mention help-setup parameter instead
2375 of display-buffer-window in doc-string.
d3c30954
SM
2376 * help.el (help-window-setup): New argument help-window.
2377 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
2378 Reword some messages.
2379 (with-help-window): Pass window used for displaying the buffer
2380 to help-window-setup. Don't set display-buffer-window.
2381
8e39b2e8
GM
23822011-09-13 Glenn Morris <rgm@gnu.org>
2383
2384 * emacs-lisp/debug.el (debugger-make-xrefs):
2385 Preserve point. (Bug#9462)
2386
85e9c04b
CY
23872011-09-13 Chong Yidong <cyd@stupidchicken.com>
2388
2389 * window.el (window-deletable-p): Use next-frame.
2390
1b36ed6a
MR
23912011-09-13 Martin Rudalics <rudalics@gmx.at>
2392
2393 * window.el (window-auto-delete): Remove.
2394 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 2395 dedication and previous buffers.
1b36ed6a
MR
2396 (switch-to-prev-buffer): Don't delete window.
2397 (delete-windows-on): Delete a window's frame if and only if the
2398 window is dedicated.
2399 (replace-buffer-in-windows): Delete buffer's window or frame if
2400 and only if window is dedicated.
2401 (quit-window): Handle quit-restore as before last change.
4d61f28d 2402 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 2403
ef8ef9fb
CY
24042011-09-13 Chong Yidong <cyd@stupidchicken.com>
2405
2406 * window.el (window-deletable-p): Never delete the last frame on a
2407 given terminal.
2408
b2cba41e
GM
24092011-09-13 Glenn Morris <rgm@gnu.org>
2410
2411 * help.el (describe-key-briefly): Copy previous standard-output change.
2412
51553db6 24132011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
2414
2415 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
2416
b7556719
GM
24172011-09-13 Glenn Morris <rgm@gnu.org>
2418
2419 * emacs-lisp/lisp-mode.el (lisp-indent-function):
2420 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
2421
64b51947
CY
24222011-09-12 Chong Yidong <cyd@stupidchicken.com>
2423
2424 * dired-aux.el (dired-mark-read-string): Don't return default
2425 value on empty input (Bug#9361).
2426 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
2427 Omit initial minibuffer contents.
2428 (dired-do-chmod): Signal an error on empty input.
2429 (dired-mark-read-string): Don't return default on empty input.
2430
2431 * files.el (file-modes-symbolic-to-number): Doc fix.
2432
393a301e
SM
24332011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2434
2435 * international/mule-cmds.el (ucs-completions): Remove.
2436 (read-char-by-name): Use complete-with-action instead; add metadata.
2437
fa5660f9
CY
24382011-09-11 Chong Yidong <cyd@stupidchicken.com>
2439
2440 * window.el (display-buffer--action-function-custom-type)
2441 (display-buffer--action-custom-type): New vars.
2442 (display-buffer-alist, display-buffer-default-action)
2443 (display-buffer-overriding-action): Add defcustom types.
2444
4a592f66
CY
2445 * frame.el (delete-other-frames): Doc fix (Bug#276).
2446
73d56dbd
LMI
24472011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
2448
2449 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
2450
37ac18a3
CY
24512011-09-11 Chong Yidong <cyd@stupidchicken.com>
2452
2453 Change modes that used same-window-* vars to use switch-to-buffer.
2454
2455 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
2456 Use switch-to-buffer.
2457
2458 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
2459 (customize-browse, custom-buffer-create-other-window):
2460 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
2461
2462 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
2463 (Info-prev, Info-up, Info-speedbar-goto-node)
2464 (info-display-manual): Use switch-to-buffer.
2465 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
2466
2467 * mail/sendmail.el (mail): Use switch-to-buffer.
2468 (mail-recover): Use switch-to-buffer-other-window.
2469
2470 * cmuscheme.el (run-scheme, switch-to-scheme):
2471 * ielm.el (ielm):
2472 * shell.el (shell):
2473 * net/rlogin.el (rlogin):
2474 * net/telnet.el (telnet, rsh):
2475 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
2476
10195bd6
AS
24772011-09-11 Andreas Schwab <schwab@linux-m68k.org>
2478
2479 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
2480
b322f63a
LMI
24812011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
2482
39d7fed6
LMI
2483 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
2484 so don't mention it (bug#9301).
ba5a81f1 2485 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 2486
ee0e9f11
LMI
2487 * faces.el (face-spec-set-match-display): Make `(type graphic)'
2488 match `x', `w32' and `ns', like the manual says (bug#9029).
2489
0b1c89c1 2490 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
2491 (process-kill-buffer-query-function): Mention the buffer name in
2492 the query.
0b1c89c1 2493
77549ea8
LMI
2494 * image-mode.el (image-next-line): The line parameter is mandatory
2495 (bug#9258).
2496
803ef892
LMI
2497 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
2498 which can be useful (bug#9301).
2499
12980837
LMI
2500 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
2501
91054f8f
LMI
2502 * subr.el (match-string): Mention that the current buffer should
2503 be the same as the search was done in (bug#9282).
2504
b322f63a
LMI
2505 * facemenu.el: Disable the remove-* commands if the mark isn't
2506 active (bug#9162).
2507
3199b96f
CY
25082011-09-10 Chong Yidong <cyd@stupidchicken.com>
2509
2510 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
2511 of display-buffer.
2512 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
2513
2514 * replace.el (occur-mode-goto-occurrence)
2515 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
2516 and display-buffer.
2517
2518 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
2519 display-buffer.
2520
2521 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
2522 special-display and same-window variables.
2523 (mail-other-window): Use switch-to-buffer-other-window.
2524 (mail-other-frame): USe switch-to-buffer-other-frame.
2525
393a301e
SM
2526 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
2527 Use display-buffer-other-frame.
3199b96f
CY
2528 (gdb-display-gdb-buffer): Use pop-to-buffer.
2529
2530 * progmodes/gud.el (gud-goto-info): Use info-other-window.
2531
2532 * progmodes/python.el: Don't set same-window-buffer-names.
2533
2534 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
2535
2536 * window.el (display-buffer-alist): Add *Python*.
2537
8319e0bf
CY
25382011-09-10 Chong Yidong <cyd@stupidchicken.com>
2539
2540 * window.el (display-buffer-alist): Add entry for buffers
2541 previously handled same-window-*.
2542 (display-buffer-alist, display-buffer-default-action)
2543 (display-buffer-overriding-action): Mark as risky.
2544 (display-buffer-alist): Document action function changes.
2545 (display-buffer--same-window-action)
2546 (display-buffer--other-frame-action): New variables.
2547 (switch-to-buffer, display-buffer-other-frame): Use them.
2548 (display-buffer): Rename reuse-frame entry to reusable-frames.
2549 (display-buffer-reuse-selected-window): Function deleted.
2550 (display-buffer-reuse-window): Handle reusable-frames alist entry.
2551 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
2552 (display-buffer-special): New function.
2553 (display-buffer--maybe-pop-up-frame-or-window): Rename from
2554 display-buffer-reuse-or-pop-window. Split off special-display
2555 part into display-buffer-special.
2556 (display-buffer-use-some-window): Don't perform any special
2557 pop-up-frames handling.
2558 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 2559 (display-buffer--maybe-same-window): Rename from
0d3ff375 2560 display-buffer-maybe-same-window.
8319e0bf 2561
919a69aa
CY
2562 * info.el: Don't set same-window-regexps.
2563 (info-setup): New function.
2564 (info-other-window, info): Call it.
2565
2566 * cus-edit.el: Don't set same-window-regexps.
2567 (customize-group): New argument.
2568 (customize-group-other-window): Use it.
2569 (customize-face, customize-face-other-window): Likewise.
2570 (custom-buffer-create-other-window): Use pop-to-buffer directly.
2571
8319e0bf
CY
2572 * net/rlogin.el:
2573 * net/telnet.el:
2574 * progmodes/gud.el: Don't set same-window-regexps.
2575
2576 * cmuscheme.el:
2577 * ielm.el:
2578 * shell.el:
2579 * mail/sendmail.el:
2580 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
2581
25173000
JL
25822011-09-10 Juri Linkov <juri@jurta.org>
2583
2584 * isearch.el (isearch-edit-string): Remove obsolete mention of
2585 `C-w' (`isearch-yank-word-or-char') from docstring.
2586 (isearch-query-replace): Fix typo in docstring (bug#9466).
2587
056e44ef
JL
25882011-09-10 Juri Linkov <juri@jurta.org>
2589
2590 * paren.el (show-paren-function): Don't show escaped parens.
2591 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
2592
c3760c17
EZ
25932011-09-10 Eli Zaretskii <eliz@gnu.org>
2594
2595 * mail/sendmail.el (mml-to-mime, mml-attach-file)
2596 (mm-default-file-encoding): Remove autoload forms, they are
2597 replaced with autoload cookies in mml.el and mm-encode.el.
2598 (mail-add-attachment): New command.
2599 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
2600 (mail-mode): Mention mail-insert-file and mail-add-attachment in
2601 the doc string.
2602 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
2603
fece895e
RT
26042011-09-10 Reuben Thomas <rrt@sc3d.org>
2605
e69df516
SM
2606 * simple.el (count-words-region): Use buffer if there's no region
2607 (bug#9429).
fece895e 2608
5e68ce4a
JL
26092011-09-09 Juri Linkov <juri@jurta.org>
2610
2611 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
2612 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
2613 (wdired-isearch-filter-read-only): New function. (Bug#6362)
2614
0a6b9622
AM
26152011-09-09 Alan Mackenzie <acm@muc.de>
2616
2617 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
2618 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
2619
14a29deb
EZ
26202011-09-09 Eli Zaretskii <eliz@gnu.org>
2621
2622 Fix for Savannah bug#9392.
2623 * simple.el (mail-encode-mml): New defvar.
2624
2625 * mail/rmail.el (mail-encode-mml): Add a defvar.
2626 (rmail-enable-mime-composing): Default to t.
2627 (rmail-forward): Use MIME method of forwarding only if both
2628 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
2629 Set mail-encode-mml non-nil if the MIME method was used.
2630
2631 * mail/sendmail.el (mml-to-mime): Add autoload form.
2632 (mail-encode-mml): Add a defvar.
2633 (mail-mode): Make mail-encode-mml buffer-local and initialize it
2634 to nil.
2635 (mail-send): If mail-encode-mml is non-nil, run the outgoing
2636 message through mml-to-mime, and reset mail-encode-mml to nil.
2637
28c45130
GM
26382011-09-09 Glenn Morris <rgm@gnu.org>
2639
2640 * woman.el (woman-if-body): When processing an .el block,
2641 do not delete the next .el block as well. (Bug#9447)
69f4b618 2642 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 2643
9b1c252e
MR
26442011-09-08 Martin Rudalics <rudalics@gmx.at>
2645
2646 * window.el (window-deletable-p): Make sure window is live before
2647 invoking window-prev-buffers.
2648
567457e3
LL
26492011-09-08 Leo Liu <sdl.web@gmail.com>
2650
2651 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
2652
97f05794
JL
26532011-09-08 Juri Linkov <juri@jurta.org>
2654
2655 * progmodes/compile.el (compilation-environment): Make it
2656 a defcustom (bug#8340).
2657
8b0874b5
MR
26582011-09-08 Martin Rudalics <rudalics@gmx.at>
2659
2660 * window.el (frame-auto-delete): Rename to window-auto-delete.
2661 Make it control auto-deletion of windows and/or frames.
2662 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 2663 for deleting window/frame. (Bug#9419)
8b0874b5
MR
2664 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
2665 Rewrite handling of case when window/frame can be deleted.
2666 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 2667 argument t. (Bug#9456)
8b0874b5 2668
4feb6e73
CY
26692011-09-07 Chong Yidong <cyd@stupidchicken.com>
2670
2671 * help-mode.el (help-mode): Restore autoload.
2672
91ab9c13
JL
26732011-09-07 Juri Linkov <juri@jurta.org>
2674
2675 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
2676 `compilation-environment'. Set buffer-local
2677 `compilation-environment' to `thisenv' later after (funcall mode).
2678 (Bug#8340)
2679
2680 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
2681 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
2682 instead of replacing its value. (Bug#8340)
2683
0527e251
JL
26842011-09-07 Juri Linkov <juri@jurta.org>
2685
2686 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
2687 based on text properties put by `grep-filter' instead of matching
2688 escape sequences.
2689 (grep-mode): Set buffer-local `compilation-error-screen-columns'
2690 to the value of `grep-error-screen-columns' (bug#9438).
2691
249f792c
JL
26922011-09-07 Juri Linkov <juri@jurta.org>
2693
2694 * simple.el (next-error-highlight, next-error-highlight-no-select):
2695 Doc fix (bug#9432).
2696
ff7271b9
OT
26972011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
2698
2699 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
2700 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
2701
183fc730
LL
27022011-09-07 Leo Liu <sdl.web@gmail.com>
2703
2704 * net/rcirc.el (rcirc-mode): Conditionally initialize
2705 rcirc-input-ring.
2706
77694924
SM
27072011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
2708
2709 * emacs-lisp/find-func.el (find-function-C-source): Only set
2710 find-function-C-source-directory after checking that we found a source
2711 file there (bug#9440).
2712
d809b8eb
AM
27132011-09-06 Alan Mackenzie <acm@muc.de>
2714
2715 * isearch.el (isearch-other-meta-char): Wherever a key list is
2716 unread, "unread" the prefix arg, too. This fixes bug #8901.
2717
453de99f
OG
27182011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
2719
2720 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
2721
90439906
JL
27222011-09-05 Juri Linkov <juri@jurta.org>
2723
2724 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
2725
f62bd846
JL
27262011-09-05 Juri Linkov <juri@jurta.org>
2727
2728 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
2729 keeping point where processing of grep matches begins, and
2730 continue to delete remaining escape sequences from the same point.
2731 (grep-filter): Make leading zero optional in "0?1;31m" because
2732 git-grep emits "\033[1;31m" escape sequences unlike expected
2733 "\033[01;31m" as GNU Grep does (bug#9408).
2734 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
2735
045820ec
JL
27362011-09-05 Juri Linkov <juri@jurta.org>
2737
2738 * subr.el (y-or-n-p): Capitalize "yes".
2739
f5e29b9b
MA
27402011-09-04 Michael Albinus <michael.albinus@gmx.de>
2741
2742 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
2743 `tramp-cache-unload-hook' where appropriate.
2744 (tramp-methods): Rename `tramp-remote-sh' to
2745 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
2746 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
2747
2748 * net/tramp-sh.el (top): Don't require 'shell.
2749 (tramp-methods): Add `tramp-remote-shell' and
2750 `tramp-remote-shell-args' entries.
2751 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
2752 (tramp-sh-handle-shell-command): Remove.
2753 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
2754 Use `tramp-remote-shell'.
2755
2784c434
CY
27562011-09-03 Chong Yidong <cyd@stupidchicken.com>
2757
393a301e 2758 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
2759 (sendmail-query-once): Save directly to send-mail-function.
2760 Update message-send-mail-function too.
2761
2762 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
2763
464cdf56
CS
27642011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
2765
2766 * progmodes/python.el (python-mode-map): Use correct function to
2767 start python interpreter from menu-bar (as reported by Geert
2768 Kloosterman).
2769 (inferior-python-mode-map): Fix typo.
393a301e 2770 (python-shell-map): Remove.
464cdf56 2771
d37e5c87
DD
27722011-09-03 Deniz Dogan <deniz@dogan.se>
2773
2774 * net/rcirc.el (rcirc-print): Simplify code for
2775 rcirc-scroll-show-maximum-output. There is no need to walk
2776 through all windows to find the right one.
2777
f3ada0ee
CS
27782011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
2779
2780 * help.el (help-return-method): Doc fix.
2781
1f3c99ca
MR
27822011-09-03 Martin Rudalics <rudalics@gmx.at>
2783
2784 * window.el (window-deletable-p): Don't return a non-nil value
2785 when there's a buffer that was shown in the window before.
2786 (Bug#9419)
393a301e
SM
2787 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
2788 Set window's previous buffers to nil.
1f3c99ca 2789
a3cf097f
EZ
27902011-09-03 Eli Zaretskii <eliz@gnu.org>
2791
2792 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
2793 newline before and after the tag line, so it doesn't interfere
2794 with determining the paragraph direction of bidirectional text.
2795
3d03de90
LL
27962011-09-03 Leo Liu <sdl.web@gmail.com>
2797
2798 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
2799
c3313451
CY
28002011-09-02 Chong Yidong <cyd@stupidchicken.com>
2801
393a301e 2802 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
2803 (pop-to-buffer): Change interactive spec. Pass second argument
2804 directly to display-buffer.
2805 (display-buffer): Fix interactive spec. Use functionp to
2806 distinguish between a function and a list of functions.
2807
2808 * abbrev.el (edit-abbrevs):
2809 * arc-mode.el (archive-extract):
2810 * autoinsert.el (auto-insert):
2811 * bookmark.el (bookmark-bmenu-list):
2812 * files.el (find-file):
2813 * view.el (view-buffer):
2814 * progmodes/compile.el (compilation-goto-locus):
2815 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
2816
89894cd8
CY
28172011-09-02 Chong Yidong <cyd@stupidchicken.com>
2818
2819 * window.el (display-buffer-alist): Doc fix.
2820 (display-buffer): Add docstring. Don't treat
2821 display-buffer-default specially.
2822 (display-buffer-reuse-selected-window)
2823 (display-buffer-same-window, display-buffer-maybe-same-window)
2824 (display-buffer-reuse-window, display-buffer-pop-up-frame)
2825 (display-buffer-pop-up-window)
2826 (display-buffer-reuse-or-pop-window)
2827 (display-buffer-use-some-window): New functions.
2828 (display-buffer-default-action): Use them.
393a301e 2829 (display-buffer-default): Delete.
89894cd8
CY
2830 (pop-to-buffer-1): Fix choice of actions.
2831
ae0bc9fb
SM
28322011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
2833
2834 * minibuffer.el (completion--insert-strings): Don't get confused by
2835 completion entries that end with an LF char.
2836
e9d90883
EZ
28372011-09-01 Eli Zaretskii <eliz@gnu.org>
2838
2839 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
2840
437014c8
CY
28412011-09-01 Chong Yidong <cyd@stupidchicken.com>
2842
2843 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
2844 (display-buffer-same-window, display-buffer-other-window):
2845 New functions.
437014c8
CY
2846 (pop-to-buffer-1): New function. Use the above.
2847 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 2848 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
2849
2850 * view.el (view-buffer-other-window, view-buffer-other-frame):
2851 Just use pop-to-buffer.
2852
a5e063d5
TV
28532011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2854
2855 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
2856
793d32bb
WH
28572011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
2858
2859 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
2860
d65e4c15
RS
28612011-08-31 Richard Stallman <rms@gnu.org>
2862
2863 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
2864 of the separation of rmail-view-buffer from rmail-buffer.
2865 If you say no to "replace original", the decrypt is in the
2866 view buffer. If you say yes, the decrypt goes into the
2867 rmail buffer also.
2868
f818cd2a
MR
28692011-08-31 Martin Rudalics <rudalics@gmx.at>
2870
2871 * window.el (display-buffer-window): Rewrite doc-string.
2872 (display-buffer-record-window): New function.
2873 (display-buffer-macro-specifiers)
2874 (display-buffer-even-window-sizes, display-buffer-set-height)
2875 (display-buffer-set-width, display-buffer-in-window)
2876 (display-buffer-reuse-window, display-buffer-split-specifiers)
2877 (display-buffer-side-specifiers, display-buffer-split-window-1)
2878 (display-buffer-split-window, display-buffer-split-atom-window)
2879 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
2880 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
2881 (display-buffer-other-window-means-other-frame)
2882 (display-buffer-normalize-special)
2883 (display-buffer-normalize-default)
2884 (display-buffer-normalize-argument)
2885 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
2886 (display-buffer-normalize-specifiers, display-buffer-frame)
2887 (display-buffer-same-window, display-buffer-same-frame)
2888 (display-buffer-other-window)
2889 (display-buffer-same-frame-other-window)
2890 (display-buffer-other-frame, pop-to-buffer-same-window)
2891 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
2892 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
2893 (switch-to-buffer-same-frame)
2894 (switch-to-buffer-other-window-same-frame)
2895 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
2896 (display-buffer-alist-set-1, display-buffer-alist-set-2)
2897 (display-buffer-alist-set): Remove.
2898 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
2899 (special-display-regexps, special-display-function):
2900 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
2901 parameter.
2902 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
2903 (special-display-frame-alist, special-display-popup-frame)
2904 (same-window-buffer-names, same-window-regexps, same-window-p)
2905 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
2906 (split-window-preferred-function, split-height-threshold)
2907 (split-width-threshold, window-splittable-p)
2908 (split-window-sensibly, window--try-to-split-window)
2909 (window--frame-usable-p, even-window-heights)
2910 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
2911 (window--display-buffer-2, display-buffer-other-frame):
2912 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
2913 (display-buffer-default, display-buffer-assq-regexp): New functions.
2914 (display-buffer-alist): Rewrite doc-string.
2915 (display-buffer-default-action)
2916 (display-buffer-overriding-action): New variables.
2917 (display-buffer, switch-to-buffer): Rewrite.
2918 (pop-to-buffer): Restore Emacs 23 behavior but use
2919 window-normalize-buffer-to-display.
2920 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
2921 Restore Emacs 23 behavior but use
2922 window-normalize-buffer-to-switch-to.
2923 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
2924 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
2925 Rewrite using Emacs 23 options.
f818cd2a 2926
5bc3b51d
MA
29272011-08-31 Michael Albinus <michael.albinus@gmx.de>
2928
2929 * net/tramp.el (tramp-root-regexp): Remove.
2930 (tramp-completion-file-name-regexp-unified)
2931 (tramp-completion-file-name-regexp-separate)
2932 (tramp-completion-file-name-regexp-url): Don't use leading volume
2933 letter on win32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
2934 (tramp-drop-volume-letter): Simplify definition.
2935 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 2936
b1a4f8e1
SM
29372011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
2938
2939 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
2940 (bug#9356).
2941
5664fa7b
RT
29422011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
2943
b1a4f8e1 2944 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 2945
9a45d6c3
JL
29462011-08-29 Juri Linkov <juri@jurta.org>
2947
2948 * isearch.el (isearch-done): Don't display message "Mark saved"
2949 when arg `edit' is non-nil to prevent its flicker in the echo area.
2950
fb87e0fb
CY
29512011-08-28 Chong Yidong <cyd@stupidchicken.com>
2952
2953 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
2954 obsolete packages for deletion.
2955
09ac1c2a
CS
29562011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
2957
2958 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 2959 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
2960 view-mode from help-mode.
2961 (help-xref-override-view-map): Remove.
2962 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
2963 view-mode is not used anymore.
2964
7a1ff57f
CY
29652011-08-28 Chong Yidong <cyd@stupidchicken.com>
2966
2967 * server.el (server-port): Doc fix.
2968
b9696605
CY
2969 * cus-theme.el (custom-theme-choose-mode): Inherit from
2970 special-mode (Bug#9124).
2971 (custom-theme-choose-mode-map): Add special-mode to parent.
2972
ef8cdf8c
AM
29732011-08-28 Alan Mackenzie <acm@muc.de>
2974
2975 * progmodes/cc-fonts.el
2976 (c-make-font-lock-BO-decl-search-function): New function.
2977 (c-basic-matchers-after - "Fontify the clauses after various
2978 keywords"): Extract the three keyword lists for the 3 erroneous
2979 constructs from the list of four, and use the new function above
2980 in place of an old one.
2981
27de4e20
DD
29822011-08-28 Deniz Dogan <deniz@dogan.se>
2983
2984 * net/rcirc.el (rcirc-insert-prev-input)
2985 (rcirc-insert-next-input): Remove unused argument.
2986
356a3681
SM
29872011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2988
2989 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
2990
3fc9b218
AM
29912011-08-27 Alan Mackenzie <acm@muc.de>
2992
2993 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
2994 handle function pointer parameters properly.
2995
538a061c
MR
29962011-08-27 Martin Rudalics <rudalics@gmx.at>
2997
2998 * window.el (display-buffer-reuse-window): Fix case where
2999 selected window was reused with non-nil OTHER-WINDOW argument.
3000 (Bug#9381)
3001
35b1c40c
DD
30022011-08-27 Deniz Dogan <deniz@dogan.se>
3003
3004 * net/rcirc.el (rcirc-check-auth-status): Adding support for
3005 oftc's NickServ messages.
3006
2f6a3e79
GM
30072011-08-27 Glenn Morris <rgm@gnu.org>
3008
3009 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
3010
7254299e
CY
30112011-08-26 Chong Yidong <cyd@stupidchicken.com>
3012
3013 * emacs-lisp/package.el (package-install): Call package-initialize
3014 if called interactively.
3015
f8ccf167
LL
30162011-08-26 Leo Liu <sdl.web@gmail.com>
3017
3018 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
3019
3e8cd5ce
JL
30202011-08-25 Juri Linkov <juri@jurta.org>
3021
3022 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
3023 `search-whitespace-regexp' (bug#9364).
3024
93eb7113
JL
30252011-08-25 Juri Linkov <juri@jurta.org>
3026
3027 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
3028 `regexp-search-ring' to their global values to protect from
3029 updating by `read-from-minibuffer' (bug#9185).
3030
f65d1611
JL
30312011-08-25 Juri Linkov <juri@jurta.org>
3032
3033 * textmodes/ispell.el (ispell-command-loop): Add newline
3034 at the end of the "Use option `i'..." line.
3035
f1cf7a31
JL
30362011-08-25 Juri Linkov <juri@jurta.org>
3037
3038 * battery.el (display-battery-mode): If `battery-status-function'
3039 or `battery-mode-line-format' is nil, display the message and set
3040 `display-battery-mode' to nil (bug#9363).
3041
0c95fcf7
EZ
30422011-08-25 Eli Zaretskii <eliz@gnu.org>
3043
3044 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
3045 bidi-string-mark-left-to-right; they are unnecessary now.
3046
a2ebe600
DD
30472011-08-25 Deniz Dogan <deniz@dogan.se>
3048
3049 * net/quickurl.el: Documentation typo fixes.
3050
e4ed06f1
CY
30512011-08-25 Chong Yidong <cyd@stupidchicken.com>
3052
3053 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
3054
e5f1c99e
GM
30552011-08-25 Glenn Morris <rgm@gnu.org>
3056
b2948976
GM
3057 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
3058
e5f1c99e
GM
3059 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
3060 (smtpmail-via-smtp): Handle nil response from smtp.
3061
f22f4808
JL
30622011-08-24 Juri Linkov <juri@jurta.org>
3063
3064 * proced.el (proced-marked): Inherit from `error' instead of
3065 `font-lock-warning-face'.
3066
3067 * ibuffer.el (ibuffer-marked-face): Change default face from
3068 `font-lock-warning-face' to `warning'.
3069 (ibuffer-deletion-face): Change default face from
3070 `font-lock-type-face' to `error'.
3071
3072 * battery.el (battery-update): Use the face `error' instead of
3073 `font-lock-warning-face' (bug#6117).
3074
6a93965e
JL
30752011-08-24 Juri Linkov <juri@jurta.org>
3076
3077 * faces.el (success): Change face color from "Green3" to
3078 "ForestGreen" on light background (bug#9353).
3079
1ed43b09
CY
30802011-08-24 Chong Yidong <cyd@stupidchicken.com>
3081
5664fa7b
RT
3082 * window.el (quit-window): Rename from quit-restore-window.
3083 Use same arglist as old quit-window.
1ed43b09
CY
3084 (frame-auto-delete): Doc fix.
3085
3086 * view.el (view-mode-exit): Use quit-window.
3087
11dcdbb2
JL
30882011-08-24 Juri Linkov <juri@jurta.org>
3089
3090 * isearch.el (isearch-ring-adjust1): Start visiting previous
3091 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
3092 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
3093 for empty search string (when the last search string is reused
3094 automatically) to adjust the isearch ring to the last element and
3095 prepare the correct index for further M-p commands (bug#9185).
3096
de62b4df
KH
30972011-08-24 Kenichi Handa <handa@m17n.org>
3098
3099 * international/ucs-normalize.el: If decomposition property of
3100 CHAR is the default one (i.e. a list of CHAR itself), treat it as
3101 nil.
3102 (nfd, nfkd): Likewise.
3103
963b492b
SM
31042011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
3105
3106 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
3107 from process filters aren't reliably transmitted to the surrounding
3108 accept-process-output.
3109 (mpc-proc-check): New function.
3110 (mpc-proc-sync): Use it (bug#8293)
3111
93b6b5e1
SM
31122011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
3113
3114 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
3115 Add compatibility functions (bug#9313).
3116
bca633fb
EZ
31172011-08-23 Eli Zaretskii <eliz@gnu.org>
3118
b177498a
EZ
3119 * cus-start.el (all): Add entry for bidi-paragraph-direction.
3120
bca633fb
EZ
3121 * international/uni-bidi.el: Regenerated.
3122
0902a04e
KH
31232011-08-23 Kenichi Handa <handa@m17n.org>
3124
3125 * international/charprop.el:
3126 * international/uni-bidi.el:
3127 * international/uni-category.el:
3128 * international/uni-combining.el:
3129 * international/uni-comment.el:
3130 * international/uni-decimal.el:
3131 * international/uni-decomposition.el:
3132 * international/uni-digit.el:
3133 * international/uni-lowercase.el:
3134 * international/uni-mirrored.el:
3135 * international/uni-name.el:
3136 * international/uni-numeric.el:
3137 * international/uni-old-name.el:
3138 * international/uni-titlecase.el:
3139 * international/uni-uppercase.el: Regenerate.
3140
3bbf23bc
MR
31412011-08-23 Martin Rudalics <rudalics@gmx.at>
3142
3143 * help.el (help-window-setup): Fix message displayed when other
3144 window is reused. (Bug#9341)
3145
b3fd59bd
SM
31462011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
3147
1802e444
SM
3148 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
3149 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
3150
b3fd59bd
SM
3151 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
3152 Mark obsolete.
3153 * shell.el (shell-parse-pcomplete-arguments): New function.
3154 (shell-completion-vars): Use it instead (bug#9160).
3155
4eb61348
SM
31562011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
3157
867cab74
SM
3158 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
3159 strings and comments (bug#9333).
3160
4eb61348
SM
3161 * emacs-lisp/debug.el (debug-arglist): New function.
3162 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
3163 (debug-on-entry-1): Handle interpreted closures (bug#9120).
3164
262a1439
JL
31652011-08-22 Juri Linkov <juri@jurta.org>
3166
56ee679c
JL
3167 * progmodes/compile.el (compilation-mode-font-lock-keywords):
3168 Revert regexp that highlights output switches to its old
3169 pre-2010-10-28 value and remove one `?' from it (bug#9319).
3170
262a1439
JL
3171 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
3172 to check for empty output (bug#9226).
3173
f13f86fb
CY
31742011-08-22 Chong Yidong <cyd@stupidchicken.com>
3175
3176 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
3177 symbol-constituent as the default, as that stops font-lock from
3178 working properly (Bug#8843).
3179
c65c9622
LMI
31802011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
3181
3182 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
3183 `coding-system-for-*' around the process open call to avoid
3184 auth-source side effects.
e7f2c178 3185 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
3186 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
3187 probe hangs.
c65c9622 3188
23a8a5ab
CY
31892011-08-21 Chong Yidong <cyd@stupidchicken.com>
3190
ff98b2dd
CY
3191 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
3192
23a8a5ab
CY
3193 * emacs-lisp/find-func.el (find-function-noselect): New arg
3194 lisp-only.
3195
3196 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
3197 signal an error for built-in functions (Bug#6664).
3198
f5e3c598
LMI
31992011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
3200
3201 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
3202 (smtpmail-try-auth-methods): Use it.
3203
a3f2468a
CY
32042011-08-21 Chong Yidong <cyd@stupidchicken.com>
3205
2c34e8da
CY
3206 * font-lock.el (font-lock-fontify-region)
3207 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
3208 (font-lock-default-unfontify-buffer)
3209 (font-lock-default-fontify-region)
3210 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
3211
b3fd59bd
SM
3212 * progmodes/compile.el (compilation-error-properties):
3213 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
3214 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
3215 `ant' regexp.
ee31aabc 3216
a3f2468a
CY
3217 * net/browse-url.el (browse-url-firefox): Don't call
3218 browse-url-firefox-sentinel unless using -remote (Bug#9328).
3219
8e999f70
GM
32202011-08-20 Glenn Morris <rgm@gnu.org>
3221
c21a496a
GM
3222 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
3223
59ee0542
GM
3224 * tutorial.el (tutorial--default-keys): Update some default bindings.
3225
8e999f70
GM
3226 * files.el (hack-local-variables): Fully ignore case for "mode:".
3227
e3715033
AM
32282011-08-20 Alan Mackenzie <acm@muc.de>
3229
3230 Resolve invalid use of a regexp in regexp-opt.
3231
4d61f28d
JB
3232 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
3233 detection for a java annotation.
e3715033 3234
4d61f28d 3235 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
3236 detection for a java annotation.
3237
4d61f28d
JB
3238 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
3239 handling for java.
e3715033
AM
3240 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
3241
04ed2e9c
CY
32422011-08-20 Chong Yidong <cyd@stupidchicken.com>
3243
3244 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
3245 (Bug#9274).
3246
826cee64
AM
32472011-08-20 Alan Mackenzie <acm@muc.de>
3248
58179cce 3249 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
3250 such a construct. Mainly for when jit-lock etc. starts a chunk
3251 here.
3252
58179cce 3253 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 3254 variable.
58179cce 3255 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
3256 c-make-font-lock-search-function.
3257 (c-make-font-lock-search-function): Use the above function.
3258 (c-make-font-lock-context-search-function): New function.
3259 (c-cpp-matchers): Enhance the preprocessor expression case with
3260 the above function
3261 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
3262 which takes an expression.
3263
3264 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
3265
13009bd8
MR
32662011-08-20 Martin Rudalics <rudalics@gmx.at>
3267
3268 * window.el (display-buffer-reuse-window)
3269 (display-buffer-pop-up-window): Don't reuse or split a side
3270 window.
3271
9234ff7f
GM
32722011-08-19 Glenn Morris <rgm@gnu.org>
3273
3274 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 3275 Downcase "Mode:". (Bug#9331)
9234ff7f 3276
f635daa1
CY
32772011-08-18 Chong Yidong <cyd@stupidchicken.com>
3278
3279 * international/characters.el: Add L and R categories.
3280
3281 * subr.el (bidi-string-mark-left-to-right): Rename from
3282 string-mark-left-to-right. Use category search.
3283
3284 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
3285
bc987f8b
JL
32862011-08-18 Juri Linkov <juri@jurta.org>
3287
3288 * faces.el (error, warning, success): New faces with definitions
3289 copied from old default values of `font-lock-warning-face',
3290 `compilation-warning', `compilation-info' (bug#6117).
3291
3292 * font-lock.el (font-lock-warning-face): Inherit from `error'.
3293
3294 * progmodes/compile.el (compilation-error): Inherit from `error'.
3295 (compilation-warning): Inherit from `warning'.
3296 (compilation-info): Inherit from `success'.
3297
3298 * dired.el (dired-marked): Inherit from `warning'.
3299 (dired-flagged): Inherit from `error'.
3300
57173b96
LMI
33012011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
3302
3e79eb87
LMI
3303 * mail/smtpmail.el (auth-source): Require to avoid problems with
3304 binding variables (bug#9298). Also clean up some unused
3305 autoloads.
3306
b3fd59bd
SM
3307 * net/network-stream.el (network-stream-open-starttls):
3308 Support using starttls.el without using gnutls-cli.
57173b96 3309
02b404de
JL
33102011-08-17 Juri Linkov <juri@jurta.org>
3311
3312 * progmodes/grep.el (rgrep): Handle the case when
3313 `grep-find-command' is a cons cell (bug#9278).
3314
8c9177f2
MR
33152011-08-17 Martin Rudalics <rudalics@gmx.at>
3316
3317 * window.el (display-buffer-pop-up-frame): Run frame creation
3318 function with BUFFER current (as special-display-popup-frame
3319 does). Reported by Drew Adams.
3320
3644a0ab
DU
33212011-08-17 Daiki Ueno <ueno@unixuser.org>
3322
3323 * epa-mail.el: Simplify GnuPG group expansion using
3324 epg-expand-group.
3325 (epa-mail-group-alist, epa-mail-group-modtime)
3326 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
3327 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
3328 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
3329 Remove.
3330
5e617bc2 33312011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
3332
3333 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
3334
9c4aeabf
AM
33352011-08-16 Alan Mackenzie <acm@muc.de>
3336
3337 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
3338 Correct, to avoid the inside of macros.
3339
3a99bf64
RS
33402011-08-16 Richard Stallman <rms@gnu.org>
3341
04963aa8
RS
3342 * epa-mail.el: Handle GnuPG group definitions.
3343 (epa-mail-group-alist, epa-mail-group-modtime)
3344 (epa-mail-gnupg-conf-file): New variables.
3345 (epa-mail-parse-groups, epa-mail-sync-groups)
3346 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
3347 (epa-mail-expand-recipients): New functions.
3348 (epa-mail-encrypt): Call epa-mail-expand-recipients.
3349
177549d0
RS
3350 * mail/rmail.el (rmail-epa-decrypt): New command.
3351
fe38beef
RS
3352 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
3353 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
3354 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
3355 (epa-decrypt-armor-in-region): Make error message clearer.
3356
934eacb9
SM
33572011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
3358
3359 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
3360 and "a2b" to "ab" for `prefix'.
3361
d024fb4e
CY
33622011-08-14 Chong Yidong <cyd@stupidchicken.com>
3363
3364 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
3365 filter groups.
de148fee
CY
3366 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
3367 Fourquet (Bug#8804).
d024fb4e 3368
62f1ca49
JB
33692011-08-12 Juanma Barranquero <lekktu@gmail.com>
3370
3371 * startup.el (argi): Declare as global variable (bug#9275).
3372
9ccaaa4b
CY
33732011-08-12 Chong Yidong <cyd@stupidchicken.com>
3374
3375 * subr.el (string-mark-left-to-right): Search the entire string
3376 for RTL script, not just the terminating character. Doc fix.
3377
a3dae87a
SM
33782011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
3379
6cd18349
SM
3380 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
3381 New function.
3382 (js--regexp-literal, js-syntax-propertize-function): Remove.
3383 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
3384 (js-mode-map): Don't rebind electric keys.
3385 (js-insert-and-indent): Remove.
3386 (js-mode): Setup electric-layout and electric-indent instead.
3387
a3dae87a
SM
3388 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
3389
9d5cb631
DU
33902011-08-12 Daiki Ueno <ueno@unixuser.org>
3391
3392 * epa.el (epa-progress-callback-function): Fix the logic of
3393 displaying progress.
3394 * epa-file.el (epa-file-insert-file-contents): Make progress
3395 display more user-friendly.
3396 (epa-file-write-region): Ditto.
3397
3e26a4a2
CY
33982011-08-10 Chong Yidong <cyd@stupidchicken.com>
3399
3400 * subr.el (string-mark-left-to-right): New function.
3401
3402 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
3403 Use string-mark-left-to-right.
3404 (list-buffers-noselect): Caller changed.
3405
a3dae87a
SM
3406 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
3407 Use string-mark-left-to-right.
3e26a4a2
CY
3408 (tabulated-list-print): Recenter after moving point.
3409
ac8cf6e6
JL
34102011-08-10 Juri Linkov <juri@jurta.org>
3411
3412 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
3413 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
3414 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
3415
8d96c9a4
CY
34162011-08-09 Chong Yidong <cyd@stupidchicken.com>
3417
3418 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
3419 (Bug#7554).
3420
7be1c708 34212011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
3422
3423 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
3424 character. (Bug#6594)
3425
37e11a63
CY
34262011-08-08 Chong Yidong <cyd@stupidchicken.com>
3427
839dde57
CY
3428 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
3429 (image-dired--with-db-file): New macro.
3430 (image-dired-write-tags, image-dired-remove-tag)
3431 (image-dired-create-gallery-lists, image-dired-write-comments)
3432 (image-dired-get-comment, image-dired-mark-tagged-files)
3433 (image-dired-list-tags, image-dired-gallery-generate): Use it.
3434 (image-dired-gallery-generate): Use insert-file-contents.
3435
37e11a63
CY
3436 * time.el (display-time-world-list, display-time-world-display):
3437 * time-stamp.el (time-stamp-string):
3438 * vc/add-log.el (add-change-log-entry): Use setenv instead of
3439 set-time-zone-rule (Bug#7337).
3440
0b4946c4
DU
34412011-08-08 Daiki Ueno <ueno@unixuser.org>
3442
3443 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
3444 (epg-error-to-string, epg-errors-to-string): New function.
3445 (epg-wait-for-completion): Reverse errors list.
3446 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
3447 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
3448 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
3449 (epg-sign-keys, epg-generate-key-from-file)
3450 (epg-generate-key-from-string): Format errors by using
3451 epg-errors-to-string (bug#9255).
3452 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
3453
75bfc667
JL
34542011-08-07 Juri Linkov <juri@jurta.org>
3455
3456 * faces.el (list-faces-display): Remove extra angle bracket
3457 from `help-mode-map'.
3458
3459 * info.el (Info-history-toc-nodes): Doc fix.
3460
3461 * longlines.el (longlines-mode): Doc fix.
3462
673e08bb
SM
34632011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
3464
4640dd88
SM
3465 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
3466 of statements and in a few more cases (bug#9183).
3467
673e08bb
SM
3468 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
3469 New functions.
3470 (cl-transform-lambda): Use them (bug#9239).
3471
89b3f019
MR
34722011-08-05 Martin Rudalics <rudalics@gmx.at>
3473
3474 * window.el (display-buffer-same-window)
3475 (display-buffer-same-frame, display-buffer-other-window)
3476 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
3477 (pop-to-buffer-other-window)
3478 (pop-to-buffer-same-frame-other-window)
3479 (pop-to-buffer-other-frame): Make them defuns.
3480 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
3481
640c8776
SM
34822011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
3483
3484 * subr.el (make-composed-keymap): Move from C. Change calling
3485 convention, and improve docstring to bring attention to a subtle point.
3486 * minibuffer.el (completing-read-default): Adjust accordingly.
3487
63648a95
MA
34882011-08-03 Michael Albinus <michael.albinus@gmx.de>
3489
3490 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
3491 (tramp-open-shell): Use `tramp-shell-quote-argument'.
3492
3493 * net/trampver.el: Update release number.
3494
b796c9b7
SM
34952011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
3496
3497 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
3498 "in" (bug#9190).
3499
2239d7d5
LMI
35002011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
3501
e07dd7c3
LMI
3502 * mail/sendmail.el (sendmail-query-once): Restore the current
3503 buffer after querying (bug#9074).
3504
0e6a2bd7
LMI
3505 * dired.el (dired-flagged): Use different faces for marked and
3506 flagged files (bug#6117).
3507
ce887515
LMI
3508 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
3509 (bug#4433).
3510
92f2affc
LMI
3511 * ido.el (ido-mode): Switch off the message if called
3512 non-interactively.
3513
57d5aff0
LMI
3514 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
3515 before 587, since it appears that that's more likely to work for
3516 more people.
3517
98cd6c18 3518 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 3519 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
3520 exist.
3521
b96dec83
LMI
3522 * info.el: Remove the `Info-beginning-of-buffer' function
3523 (bug#8325).
3524
b796c9b7
SM
3525 * net/network-stream.el (network-stream-open-starttls):
3526 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 3527
d90e2ea0
MR
35282011-08-01 Martin Rudalics <rudalics@gmx.at>
3529
3530 * window.el (display-buffer-in-window): Don't set dedicated status
3531 of window here (Bug#9215).
3532 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
3533 (display-buffer-pop-up-side-window)
b796c9b7 3534 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 3535
cca09170
SM
35362011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
3537
3538 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
3539 before binding generated-autoload-file.
3540
027b979c
DD
35412011-08-01 Deniz Dogan <deniz@dogan.se>
3542
3543 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
3544
3c7ee4f3
MA
35452011-07-30 Michael Albinus <michael.albinus@gmx.de>
3546
3547 Sync with Tramp 2.2.2.
3548
3549 * net/trampver.el: Update release number.
3550
2cc8e51a
JL
35512011-07-30 Juri Linkov <juri@jurta.org>
3552
3553 * dired-aux.el (dired-touch-initial): Remove function.
3554 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
3555 current time, and `default' to the last modification time of the
3556 current marked file (bug#6887).
3557
a514d856
JM
35582011-07-28 Jose E. Marchesi <jemarch@gnu.org>
3559
3560 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 3561 numeric argument to read-number (bug#9163).
a514d856 3562
8a7eddd7
MA
35632011-07-27 Michael Albinus <michael.albinus@gmx.de>
3564
3565 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
3566 connection process, it could be nil.
3567
1ddd96f5
LL
35682011-07-27 Leo Liu <sdl.web@gmail.com>
3569
3570 Simplify url handling in rcirc-mode.
3571
3572 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
3573 (rcirc-browse-url-at-mouse): Remove.
3574 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
3575
b248a85d
AM
35762011-07-26 Alan Mackenzie <acm@muc.de>
3577
3578 Fontify bitfield declarations properly.
3579
3580 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
3581 (c-symbol-chars): Now exported as a lang variable.
3582 (c-not-primitive-type-keywords): New lang variable.
3583
3584 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
3585 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 3586 parsed as a bitfield declaration.
b248a85d 3587
b796c9b7
SM
3588 * progmodes/cc-engine.el (c-beginning-of-statement-1):
3589 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
3590 (c-punctuation-in): New function.
3591 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
3592 declarations properly.
3593
68575ab0
UJ
35942011-07-26 Ulf Jasper <ulf.jasper@web.de>
3595
3596 * calendar/icalendar.el (icalendar--all-events): Take care of
3597 multiple vcalendars in a single file.
b796c9b7 3598 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 3599
0f0a88b9
DD
36002011-07-25 Deniz Dogan <deniz@dogan.se>
3601
3602 * image.el (insert-image): Clarifying docstring.
3603
0b3f36df
MA
36042011-07-24 Michael Albinus <michael.albinus@gmx.de>
3605
3606 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
3607 `tramp-send-command-and-check' if there is no error.
3608 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
3609
a9901f61
AM
36102011-07-22 Alan Mackenzie <acm@muc.de>
3611
3612 Prevent cc-langs.elc being loaded at run time.
3613
3614 * progmodes/cc-mode.el: Remove two autoload forms which loaded
3615 cc-langs.
3616
4d61f28d 3617 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
3618 "(require 'cc-langs)". Quote a form so it will evaluate at
3619 (cc-mode's) compilation time.
3620
11d074b2
MA
36212011-07-22 Michael Albinus <michael.albinus@gmx.de>
3622
3623 * net/tramp.el (tramp-file-name-handler): Avoid recursive
3624 loading. (Bug#9114)
3625
938b94c8
MR
36262011-07-21 Martin Rudalics <rudalics@gmx.at>
3627
3628 * window.el (display-buffer-pop-up-window)
3629 (display-buffer-pop-up-side-window)
3630 (display-buffer-in-side-window): Call display-buffer-set-height
3631 and display-buffer-set-width after setting the new window's
b796c9b7 3632 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 3633
bfa4f190
SS
36342011-07-20 Sam Steingold <sds@gnu.org>
3635
3636 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
3637 (etags-tags-included-tables): Call `convert-standard-filename' on
3638 the file names contained in TAGS so that windows Emacs can handle
3639 TAGS files created by cygwin ctags.
3640
8ca42262
LMI
36412011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
3642
3643 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
3644 which apparently didn't work.
3645
5db2afd2 36462011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 3647
5db2afd2
RW
3648 * proced.el (proced-send-signal): For *Marked Processes* buffer
3649 put point at beginning of buffer.
3650
92e15d10
SB
36512011-07-19 Stephen Berman <stephen.berman@gmx.net>
3652
3653 * proced.el (proced-format): Make header lines align with the text
3654 (bug#1779).
3655
1bfd59e5
LMI
36562011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
3657
3658 * view.el (view-buffer): Allow running in `special' modes if we're
3659 visiting a file (bug#8615).
3660
f5aae37c
MR
36612011-07-19 Martin Rudalics <rudalics@gmx.at>
3662
3663 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
3664 (display-buffer-alist-set-1, display-buffer-alist-set-2):
3665 New functions.
f5aae37c
MR
3666 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
3667 more accurately.
3668
bf2c1571
AM
36692011-07-18 Alan Mackenzie <acm@muc.de>
3670
3671 Fontify declarators properly when, e.g., a jit-lock chunk begins
3672 inside a declaration.
3673
3674 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
3675
b796c9b7
SM
3676 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
3677 New function.
bf2c1571
AM
3678 (c-complex-decl-matchers): Insert reference to
3679 c-font-lock-enclosing-decls.
3680
3681 * progmodes/cc-engine.el (c-backward-single-comment):
3682 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
3683 to nil around calls to (forward-comment -1).
3684
4e190b80
LMI
36852011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
3686
12dc863d
LMI
3687 * image.el (put-image): Doc typo fix.
3688
a762e966
LMI
3689 * progmodes/etags.el (tags-search): Doc typo fix.
3690
4e190b80
LMI
3691 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
3692 password if we get errors 550 to 554.
3693
f019fb21
LMI
36942011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
3695
b796c9b7 3696 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 3697
81746738
LMI
3698 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
3699 indentation character (bug#6380).
3700
3ee3a1b5
LMI
3701 * files.el (buffer-offer-save): Made permanently local (bug#6241).
3702
c82f64de
LMI
3703 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
3704 to clarify what the problem is (bug#4291).
3705
f019fb21
LMI
3706 * simple.el (current-kill): Clarify what
3707 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
3708 (auto-fill-mode): Document `auto-fill-function' in relation to
3709 `auto-fill-mode' (bug#2470).
f019fb21 3710
0794775d
LM
37112011-07-16 Lawrence Mitchell <wence@gmx.li>
3712
3713 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
3714 method if slot is read-only (bug#9035).
3715
be39b8cc
MR
37162011-07-16 Martin Rudalics <rudalics@gmx.at>
3717
b796c9b7 3718 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 3719 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
3720 selected before, see discussion of (Bug#8615), (Bug#6954).
3721 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 3722
6ccf7859
GM
37232011-07-15 Glenn Morris <rgm@gnu.org>
3724
3725 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 3726 Respect help-form.
6ccf7859 3727
87e86684
LM
37282011-07-09 Lawrence Mitchell <wence@gmx.li>
3729
3730 * net/gnutls.el (gnutls-min-prime-bits): New variable.
3731 (gnutls-negotiate): Use it.
3732
d6066239
LMI
37332011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
3734
b796c9b7
SM
3735 * net/gnutls.el (gnutls-negotiate):
3736 Upcase `gnutls-algorithm-priority'.
d6066239 3737
bd23ebc0
GM
37382011-07-15 Glenn Morris <rgm@gnu.org>
3739
c65bca65
GM
3740 * jka-compr.el (jka-compr-verbose): Move from here...
3741 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
3742 Add missing :version tag.
3743 * info.el: No need to require jka-compr when compiling.
bd23ebc0 3744
478615cc
LMI
37452011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
3746
7b41decb
LMI
3747 * net/gnutls.el (gnutls-algorithm-priority): New variable.
3748 (gnutls-negotiate): Use it.
3749
dbc44fcd
LMI
3750 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
3751
06789f97
LMI
3752 * info.el (Info-beginning-of-buffer): New command.
3753 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
3754 announcing `b' as the key (bug#8325).
ab896c37 3755 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 3756
c39da690
LMI
3757 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
3758
3aa5f34b
LMI
3759 * international/mule-cmds.el
3760 (describe-specified-language-support): Make the error message
3761 clearer (bug#8905).
3762
4bf0979f
LMI
3763 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
3764
478615cc
LMI
3765 * isearch.el (isearch-barrier): Add a doc string, since it's
3766 mentioned in a function doc string (bug#8678).
3767
75c68aa1
MR
37682011-07-15 Martin Rudalics <rudalics@gmx.at>
3769
3770 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
3771 buffer argument (Bug#9083) and self-identifying label argument.
3772
a7c33da2
GM
37732011-07-15 Glenn Morris <rgm@gnu.org>
3774
3775 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
3776
2f5c6024
LMI
37772011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
3778
3779 * man.el (Man-fontify-manpage): Fix message when formatting the
3780 man page (bug#7929).
3781
0bb23927 37822011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
3783
3784 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
3785 argument LRM; if non-nil, append an invisible LRM character to the
3786 buffer name.
3787 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
3788 last argument non-nil, when formatting buffer names.
0bb23927
EZ
3789 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
3790 paragraph direction.
cce4b0a7 3791
621ef9ab
LMI
37922011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
3793
d1583c48
LMI
3794 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
3795 the man page name (bug#7929).
3796
6a57fb5f
LMI
3797 * image.el (put-image): Mention the `put-image' overlay property
3798 (bug#7834).
3799
d7956b14
LMI
3800 * scroll-bar.el (set-scroll-bar-mode): Mention that
3801 `scroll-bar-mode' lists the values (bug#7772).
3802
5b2d4a66
LMI
3803 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
3804 command (bug#7729).
3805
7509a874
LMI
3806 * rect.el (apply-on-rectangle): Return the point after the last
3807 operation.
3808 (string-rectangle): Go to the point after the last operation
3809 (bug#7522).
3810
4fe74b19
LMI
3811 * printing.el (pr-toggle-region): Clarify the documentation
3812 slightly (bug#7493).
3813
b796c9b7
SM
3814 * time.el (display-time-update):
3815 Allow `display-time-mail-function' to return nil (bug#7158).
3816 Fix suggested by Detlev Zundel.
ab283561 3817
fc233c9d
LMI
3818 * vc/diff.el (diff): Clarify the order the file names are read
3819 (bug#7111).
3820
43f5740b
LMI
3821 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
3822 the doc string (bug#7015).
3823
f2182a76
LMI
3824 * font-lock.el (font-lock-maximum-decoration): Mention what
3825 numeric levels mean (bug#6935).
3826
621ef9ab
LMI
3827 * startup.el (initial-buffer-choice): Don't mention the `none'
3828 selection, which is against policy.
3829
adc47434
MR
38302011-07-14 Martin Rudalics <rudalics@gmx.at>
3831
b796c9b7
SM
3832 * window.el (display-buffer-normalize-special):
3833 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 3834
7e5bfb8f
EZ
38352011-07-14 Eli Zaretskii <eliz@gnu.org>
3836
3837 * subr.el (version<, version<=, version=): Mention "-CVS" and
3838 "-12345" alpha version numbers.
3839
27fa387a
CY
38402011-07-14 Chong Yidong <cyd@stupidchicken.com>
3841
3842 * bindings.el: Add advertised binding for set-mark-command
3843 (Bug#5772).
3844
8bdfa064
CY
38452011-07-14 Chong Yidong <cyd@stupidchicken.com>
3846
3847 * bindings.el (mode-line-other-buffer):
3848 * bookmark.el (bookmark-bmenu-2-window):
3849 * bs.el (bs-cycle-next, bs-cycle-previous):
3850 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
3851 switch-to-buffer.
3852
3853 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 3854 Delete.
8bdfa064 3855
5eba16a3
JB
38562011-07-14 Juanma Barranquero <lekktu@gmail.com>
3857
3858 * follow.el (follow-debug-message, follow-redisplay):
3859 * jka-cmpr-hook.el (with-auto-compression-mode):
3860 Fix typos in docstrings.
3861
15853710
LMI
38622011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3863
a28e4607
LMI
3864 * subr.el (with-silent-modifications): Clarify somewhat what the
3865 macro inhibits (bug#6525).
3866
15853710
LMI
3867 * simple.el (eval-expression): Note what it does if called
3868 interactively (bug#6495).
3869
bee0fcef
CY
38702011-07-13 Chong Yidong <cyd@stupidchicken.com>
3871
b796c9b7
SM
3872 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
3873 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
3874
3875 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
3876 Remove switch-to-buffer.
3877
58274504
LMI
38782011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3879
bd2fcc8d
LMI
3880 * files.el (make-directory): Clarify that an error will be raised
3881 if there's an error (bug#6397).
3882
0f04b32c
LMI
3883 * startup.el (initial-buffer-choice): Add `none' as a choice
3884 (bug#6234).
3885
465c5fc8
LMI
3886 * subr.el (add-hook): Clarify section about buffer-local hooks
3887 (bug#6218).
3888
58274504
LMI
3889 * dired.el (dired-flagged): Clarify doc string (bug#6117).
3890
bead9a43
JB
38912011-07-13 Juanma Barranquero <lekktu@gmail.com>
3892
3893 * tabify.el (untabify): Preserve the current column so that point
3894 doesn't move (bug#6032).
3895
3af98a7b
LMI
38962011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3897
b796c9b7
SM
3898 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
3899 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 3900
6240145a
GM
39012011-07-13 Glenn Morris <rgm@gnu.org>
3902
3903 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
3904 (dired-insert-directory): Give a message the first time
3905 if ls is found not to support --dired.
3906
1d8c2ccc
LMI
39072011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3908
3909 * simple.el (toggle-truncate-lines): Clarify what is toggled
3910 (bug#5580). Text by Drew Adams.
3911
5fc4038e
CY
39122011-07-13 Chong Yidong <cyd@stupidchicken.com>
3913
3914 * simple.el (blink-matching-open): Make the error message from the
3915 last change less verbose.
3916
bf6012e5
DN
39172011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
3918
3919 * font-lock.el (font-lock-comment-face): Use the high contrast
3920 "yellow" color for font-lock-comment-face on low color terminals
3921 using a dark background color (bug#4221).
3922
343c3b5a
LMI
39232011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3924
7e9505c5
LMI
3925 * dired.el (dired-insert-set-properties): Make the doc string
3926 reflect what it does now (bug#5325).
3927
c26fdcf5
LMI
3928 * simple.el (blink-matching-open): Say that we were unable to find
3929 the match within the limit, if we're limited (bug#5122).
3930
bb388cc5
LMI
3931 * international/mule-cmds.el (prefer-coding-system): Add an
3932 example (bug#4869).
3933
343c3b5a
LMI
3934 * progmodes/etags.el (tags-search): Document `file-list-form'
3935 (bug#4731).
3936
2a517d45
LM
39372011-07-13 Lawrence Mitchell <wence@gmx.li>
3938
3939 * net/browse-url.el (browse-url-default-browser)
3940 (browse-url-browser-function): Make the default browser choice a
3941 bit more logical (bug#4300). Also clean up the doc string.
3942
b6c78ef2
JB
39432011-07-13 Juanma Barranquero <lekktu@gmail.com>
3944
3945 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
3946 binary endings (bug#4440).
3947
1c4dd947
LMI
39482011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3949
a2014063
LMI
3950 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
3951 which can be pretty annoying (bug#8971).
3952
9c9c2d88
LMI
3953 * jka-compr.el (jka-compr-verbose): New variable, and use
3954 throughout (bug#8971).
3955
1c4dd947
LMI
3956 * info.el (Info-find-file): Fall back on the installation
3957 directory if we can't find the info node anywhere else.
3958
a1c9f41b
SO
39592011-07-13 Sergei Organov <osv@javad.com> (tiny change)
3960
3961 * vc/vc.el (vc-revert-file):
3962 Don't set file time-stamp in the past. (Bug#5181)
3963
536f3d36
LMI
39642011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
3965
7152b011
LMI
3966 * files.el (after-find-file): Give a better error message when
3967 trying to find a symlink that points to a file that doesn't exist
3968 (bug#4398).
3969
536f3d36
LMI
3970 * progmodes/cc-vars.el: Remove (probably) misleading comment
3971 (bug#4396).
3972
460c0fba
JB
39732011-07-12 Johan Bockgård <bojohan@gnu.org>
3974
3975 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
3976
7a6bda45
CY
39772011-07-12 Chong Yidong <cyd@stupidchicken.com>
3978
3979 * mouse-sel.el: Hack restoring functionality, while keeping
3980 compatibility with 2010-07-03 changes to mouse selection.
3981 (mouse-sel-primary-overlay): New var.
3982 (mouse-sel-selection-alist): Use it.
3983 (mouse-sel-mode): Doc fix; remove points that are default features
3984 of mouse.el.
3985
c79598ef
JB
39862011-07-12 Johan Bockgård <bojohan@gnu.org>
3987
3988 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3989 Fix previous fix (bug#2490).
3990
ff8be6ef
RW
39912011-07-12 Roland Winkler <winkler@gnu.org>
3992
b796c9b7
SM
3993 * textmodes/bibtex.el (bibtex-initialize):
3994 Use pop-to-buffer-same-window.
ff8be6ef
RW
3995 (bibtex-search-entries): Fix interactive call.
3996
296ba3ee
LMI
39972011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
3998
f5242a02 3999 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
4000 Fontise bytecomp Error lines more correctly (bug#2490).
4001 Fix suggested by Johan Bockgård.
f5242a02 4002
296ba3ee
LMI
4003 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
4004
4005 * dired-x.el (dired-guess-default): Use `delete-dups'.
4006
f69fd0d2
CY
40072011-07-12 Chong Yidong <cyd@stupidchicken.com>
4008
4009 * dired.el (dired-mark-prompt):
4010 * dired-aux.el (dired-read-shell-command): Doc fix.
4011
eab5dc07
LMI
40122011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4013
b796c9b7
SM
4014 * mail/sendmail.el (sendmail-query-once):
4015 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
4016 emacs -Q.
4017
4018 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
4019
eab5dc07
LMI
4020 * cus-edit.el (custom-file): Take an optional no-error variable.
4021 (customize-save-variable): Set the variable, and give a warning if
4022 running under "emacs -q".
4023
a1e65d42
JB
40242011-07-11 Juanma Barranquero <lekktu@gmail.com>
4025
4026 * loadhist.el (unload-feature-special-hooks):
4027 Add `auto-coding-functions', `fill-nobreak-predicate' and
4028 `find-directory-functions' (bug#5327).
4029
1d52da10
LMI
40302011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4031
be958f1d
LMI
4032 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
4033
5bedb26c
LMI
4034 * cus-edit.el (custom-guess-name-alist): -alist variables should
4035 use the `alist' type (bug#3120). Suggested by Drew Adams.
4036
1d52da10
LMI
4037 * printing.el: Add documentation to all the `pr-toggle-' commands.
4038
481a51b6
LL
40392011-07-11 Leo <sdl.web@gmail.com> (tiny change)
4040
4041 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
4042 backends where it makes sense (bug#2623).
4043
dcc88d8a
LMI
40442011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4045
c3de9feb
LMI
4046 * dired-x.el (dired-guess-default): Remove duplicate shell command
4047 entries (bug#2028).
8a93078b 4048 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 4049 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 4050
dcc88d8a
LMI
4051 * subr.el (remove-duplicates): New conveniency function.
4052
505e3645
LMI
40532011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
4054
4055 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
4056 (bug#1526).
4057
40582011-07-10 Martin Rudalics <rudalics@gmx.at>
4059
4060 * window.el (display-buffer-normalize-default): Don't invert
4061 meaning of even-window-heights. Reported by Eli Zaretskii
4062 <eliz@gnu.org>.
4063
455e4fa1
BR
40642011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
4065
4066 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
4067
8e0bc3e9
CY
40682011-07-10 Chong Yidong <cyd@stupidchicken.com>
4069
4070 * window.el (display-buffer): Fix arguments to
4071 display-buffer-reuse-window in last change.
4072
fa7c3228
CY
4073 * faces.el (link): Use a less saturated blue on light backgrounds.
4074
4075 * startup.el (fancy-startup-text, fancy-about-text)
4076 (fancy-startup-tail): Use font-lock faces, for background safety.
4077
c0a7f300
BN
40782011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
4079
b796c9b7
SM
4080 * emulation/viper-cmd.el (viper-change-state-to-vi):
4081 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 4082
4dc2a129
MR
40832011-07-09 Martin Rudalics <rudalics@gmx.at>
4084
4085 * window.el (display-buffer-default-specifiers): Remove.
4086 (display-buffer-macro-specifiers): Remove default specifiers.
4087 (display-buffer-alist): Default to nil.
b796c9b7 4088 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
4089 (display-buffer-pop-up-window): Allow splitting internal
4090 windows. Check whether a live window was created.
4091 (display-buffer-other-window-means-other-frame)
4092 (display-buffer-normalize-arguments): Rename to
4093 display-buffer-normalize-argument and rewrite. Set the
4094 other-window specifier.
4095 (display-buffer-normalize-special): New function.
4096 (display-buffer-normalize-options): Rename to
4097 display-buffer-normalize-default and rewrite.
4098 (display-buffer-normalize-options-inhibit): Remove.
4099 (display-buffer-normalize-specifiers): Rewrite.
4100 (display-buffer): Process other-window specifier and call
4101 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
4102 more faithfully.
b796c9b7 4103 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 4104 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
4105 (display-buffer-in-window, display-buffer-alist-set):
4106 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
4107 <tassilo@member.fsf.org>.
4108
2d43b8c9
LL
41092011-07-09 Leo Liu <sdl.web@gmail.com>
4110
4111 * register.el (insert-register): Restore accidental change on
4112 2011-06-26. (Bug#9028)
4113
7f9b7c53
GM
41142011-07-09 Glenn Morris <rgm@gnu.org>
4115
4116 * subr.el (remq): Handle the empty list. (Bug#9024)
4117
f042cfd8
AS
41182011-07-08 Andreas Schwab <schwab@linux-m68k.org>
4119
4120 * mail/sendmail.el (send-mail-function): No longer delay custom
4121 initialization.
4122 * custom.el (custom-initialize-delay): Doc fix.
4123
856b2f11
SM
41242011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
4125
4126 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
4127
afae1d68
MA
41282011-07-08 Michael Albinus <michael.albinus@gmx.de>
4129
4130 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
4131 human-friendly prompt.
4132
0757af94
SM
41332011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
4134
4135 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
4136 provided by a particular plugin.
4137
d760b731
LMI
41382011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
4139
4140 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
4141 save customizations (with "emacs -Q"), just set the variable
4142 instead of erroring out.
4143
4144 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
4145
cd79ce90
JL
41462011-07-08 Juri Linkov <juri@jurta.org>
4147
4148 * arc-mode.el (archive-zip-expunge, archive-zip-update)
4149 (archive-zip-update-case): Use 7z if found by `executable-find'.
4150 The order of searching the available programs is the same as in
4151 `archive-zip-extract' (bug#8968).
4152
14cc04aa
CY
41532011-07-07 Chong Yidong <cyd@stupidchicken.com>
4154
4155 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
4156 (menu-bar-options-menu): Tweak descriptions.
4157
0a1848ec
LMI
41582011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
4159
4160 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
4161 menu items into verb phrases (bug#1421). Also refill to fit under
4162 80 columns.
4163
f5bd0689
CY
41642011-07-07 Chong Yidong <cyd@stupidchicken.com>
4165
538e85c6
CY
4166 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
4167 (Info-read-node-name): Doc fix (Bug#1084).
4168
f5bd0689
CY
4169 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
4170 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
4171 (end-of-sexp, beginning-of-sexp)
4172 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
4173 (forward-symbol, forward-same-syntax, word-at-point)
4174 (sentence-at-point): Doc fix (Bug#1144).
4175
56ec5115
LMI
41762011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
4177
f3f8e37f
LMI
4178 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
4179 should cover it (bug#1281).
4180
0757af94 4181 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 4182
e9fce1ac 4183 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
4184 negotiation fails, then possibly try again with a non-encrypted
4185 connection (bug#9017).
4186
56ec5115
LMI
4187 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
4188 be used.
4189
c2f9aec8
RS
41902011-07-07 Richard Stallman <rms@gnu.org>
4191
4192 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
4193 property, and handle its changed format.
4194 Look for the correct line number.
4195 Use file's line contents (but not past first =) to find
4196 correct line in message.
4197
ef7b981d 41982011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
4199
4200 * international/characters.el (build-unicode-category-table):
4201 Delete it.
0757af94 4202 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 4203
0757af94 4204 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
4205 to src/chartab.c.
4206 (get-char-code-property): Call unicode-property-table-internal to
4207 load a file. Call get-unicode-property-internal where necessary.
4208 (put-char-code-property): Call unicode-property-table-internal to
4209 load a file. Call put-unicode-property-internal where necessary.
4210 put-unicode-property-internal where necessary.
0757af94
SM
4211 (char-code-property-description):
4212 Call unicode-property-table-internal to load a file.
c805dec0
KH
4213
4214 * international/charprop.el:
4215 * international/uni-bidi.el:
4216 * international/uni-category.el:
4217 * international/uni-combining.el:
4218 * international/uni-comment.el:
4219 * international/uni-decimal.el:
4220 * international/uni-decomposition.el:
4221 * international/uni-digit.el:
4222 * international/uni-lowercase.el:
4223 * international/uni-mirrored.el:
4224 * international/uni-name.el:
4225 * international/uni-numeric.el:
4226 * international/uni-old-name.el:
4227 * international/uni-titlecase.el:
4228 * international/uni-uppercase.el: Regenerate.
4229
4230 * loadup.el: Load international/charprop.el before
4231 international/characters.
4232
e14b388a
CY
42332011-07-07 Chong Yidong <cyd@stupidchicken.com>
4234
4235 * window.el (next-buffer, previous-buffer): Signal an error if
4236 called from a minibuffer window.
4237
4238 * bindings.el: Revert 2011-07-04 change.
4239
354cf0ba
RS
42402011-07-06 Richard Stallman <rms@gnu.org>
4241
4242 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
4243 (rmail-mime-insert-bulk, rmail-mime-insert-text):
4244 Treat markers like ints.
4245 (rmail-mime-entity): Doc fix.
4246
a48868a7
LMI
42472011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
4248
4906cd3d
LMI
4249 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
4250 defcustom again for backwards compatibility.
4251
e0457abe
LMI
4252 * simple.el (shell-command-on-region): Fill.
4253
d67f7e1f
LMI
4254 * dired-aux.el (dired-kill-line): Add a doc string.
4255
fe204702
LMI
4256 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
4257 to "\\sw\\|\\s_" (bug#358).
4258
a48868a7
LMI
4259 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
4260 (dired-unmark-backward): Ditto.
4261 (dired-flag-backup-files): Ditto.
4262
4263 * dired-x.el (dired-mark-sexp): Ditto.
4264
aa8a705c
RS
42652011-07-06 Richard Stallman <rms@gnu.org>
4266
4267 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
4268 (rmail-mime-entity): New arg TRUNCATED.
4269 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
4270 New functions.
4271 (rmail-mime-save): Warn if entity is truncated.
4272 (rmail-mime-toggle-hidden): Likewise, for showing.
4273 (rmail-mime-process-multipart): Record when an entity is truncated.
4274
a9a936b9
RS
4275 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
4276 if ENTITY is a string.
4277
1f2b92cb
LMI
42782011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
4279
f4f73198 4280 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
4281 of faces when `M-C-x'-ing their definitions (bug#8378).
4282 Also clean up the code slightly.
f4f73198 4283
12b16734 4284 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 4285 because that makes the colors go away.
12b16734 4286
f0691d22
LMI
4287 * mail/sendmail.el (send-mail-function): Change the default to
4288 `sendmail-query-once'.
9e87df06 4289 (sendmail-query-once): Add an autoload cookie.
f0691d22 4290
1f2b92cb
LMI
4291 * net/network-stream.el (network-stream-open-starttls): Try using
4292 a plain connection even if the server offered STARTTLS, and we
4293 kinda wanted to use it, if Emacs doesn't have any STARTTLS
4294 capability. This should make smtpmail.el work in slightly more
4295 configurations.
4296
1cdd2a1b
MA
42972011-07-06 Michael Albinus <michael.albinus@gmx.de>
4298
4299 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
4300 New defun.
4301 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
4302
fbcc67e2
MM
43032011-07-06 Michael R. Mauger <mmaug@yahoo.com>
4304
4305 * progmodes/sql.el: Version 3.0
0757af94 4306 (sql-product-alist): Add product :completion-object,
fbcc67e2 4307 :completion-column, and :statement attributes.
0757af94 4308 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 4309 (sql-mode-syntax-table): Mark all punctuation.
0757af94 4310 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
4311 ansi keywords.
4312 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 4313 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
4314 (sql-oracle-show-reserved-words): New function for development.
4315 (sql-product-font-lock): Simplify for source code buffers.
4316 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
4317 New functions.
4318 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
4319 (sql-mode-map): Add statement movement functions.
4320 (sql-ansi-statement-starters, sql-oracle-statement-starters):
4321 New variable.
fbcc67e2
MM
4322 (sql-statement-regexp, sql-beginning-of-statement)
4323 (sql-end-of-statement, sql-signum): New functions.
0757af94 4324 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
4325 (sql-show-sqli-buffer): Bug fix.
4326 (sql-interactive-mode): Store connection data as buffer local.
0757af94 4327 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
4328 with sql-interactive-mode.
4329 (sql-save-connection): Save buffer local settings.
0757af94 4330 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
4331 (sql-product-interactive): Bug fix.
4332 (sql-preoutput-hold): New variable.
4333 (sql-interactive-remove-continuation-prompt): Bug fixes.
4334 (sql-debug-redirect): New variable.
4335 (sql-str-literal): New function.
4336 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 4337 Redesign.
fbcc67e2
MM
4338 (sql-oracle-save-settings, sql-oracle-restore-settings)
4339 (sql-oracle-list-all, sql-oracle-list-table): New functions.
4340 (sql-completion-object, sql-completion-column)
4341 (sql-completion-sqlbuf): New variables.
4342 (sql-build-completions-1, sql-build-completions)
4343 (sql-try-completion): New functions.
4344 (sql-read-table-name): Use them.
4345 (sql-contains-names): New buffer local variable.
4346 (sql-list-all, sql-list-table): Use it.
4347 (sql-oracle-completion-types): New variable.
4348 (sql-oracle-completion-object, sql-sqlite-completion-object)
4349 (sql-postgres-completion-object): New functions.
4350
d4eaeab1
GM
43512011-07-06 Glenn Morris <rgm@gnu.org>
4352
4353 * window.el (pop-to-buffer): Doc fix.
4354
322b7dab 43552011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
4356
4357 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
4358
322b7dab 43592011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 4360
322b7dab 4361 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 4362
322b7dab 4363 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 4364
605dd5bf
CY
43652011-07-05 Chong Yidong <cyd@stupidchicken.com>
4366
4367 * button.el (button): Inherit from link face. Suggested by Dan
4368 Nicolaescu.
4369
7dbfa719
SM
43702011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
4371
3db614b0
SM
4372 * progmodes/gdb-mi.el: Fit in 80 columns.
4373 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
4374 switch-to-buffer.
4375
7dbfa719
SM
4376 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
4377 if imenu is simply not configured (bug#8941).
4378
919d884a
KM
43792011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
4380
4381 * allout.el (allout-post-undo-hook): New allout outline-change
4382 event hook to signal undo activity.
4383 (allout-post-command-business): Run allout-post-undo-hook if an
4384 undo just occurred.
7dbfa719
SM
4385 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
4386 * allout-widgets.el (allout-widgets-after-undo-function):
4387 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
4388 in the vicinity of an undo.
4389 (allout-widgets-mode): Include allout-widgets-after-undo-function
4390 on the new allout-post-undo-hook.
4391
450a0f09
SM
43922011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
4393
4394 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
4395 Let define-derived-mode define it.
4396 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
4397 cycles of abbrev-table inheritance (bug#8998).
4398
2de69e00
RW
43992011-07-05 Roland Winkler <winkler@gnu.org>
4400
4401 * textmodes/bibtex.el: Add support for biblatex.
4402 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
4403 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
4404 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
4405 (bibtex-entry-alist, bibtex-field-alist): New variables.
4406 (bibtex-entry-field-alist): Obsolete alias for
4407 bibtex-BibTeX-entry-alist.
4408 (bibtex-entry-alist, bibtex-field-alist): New widgets.
4409 (bibtex-set-dialect): New command.
4410 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
4411 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
4412 Bind via bibtex-set-dialect.
2de69e00
RW
4413 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
4414 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
4415 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
4416 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
4417 Define via bibtex-set-dialect.
450a0f09
SM
4418 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
4419 Obey bibtex-no-opt-remove-re.
2de69e00
RW
4420 (bibtex-vec-push, bibtex-vec-incr): New functions.
4421 (bibtex-format-entry, bibtex-field-list)
4422 (bibtex-print-help-message, bibtex-validate)
4423 (bibtex-search-entries): Use new format of bibtex-entry-alist.
4424
2dcdbdd9
SM
44252011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
4426
4427 * progmodes/compile.el (compilation-goto-locus):
4428 * net/tramp-cmds.el (tramp-append-tramp-buffers):
4429 * bs.el (bs-cycle-next, bs-cycle-previous):
4430 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
4431 * bindings.el (mode-line-other-buffer):
4432 * autoinsert.el (auto-insert):
4433 * arc-mode.el (archive-extract):
4434 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
4435
b27640fe
JB
44362011-07-05 Juanma Barranquero <lekktu@gmail.com>
4437
4438 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
4439 Fix check of `emacs-lock-unlockable-modes'.
4440 Coerce true values of `emacs-lock--try-unlocking' to t.
4441
53bbe3ad
JB
44422011-07-05 Juanma Barranquero <lekktu@gmail.com>
4443
4444 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
4445 * emacs-lock.el: New file.
4446
1d3cdbc7
JD
44472011-07-05 Julien Danjou <julien@danjou.info>
4448
4449 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
4450 than `boundp' to check if face is set.
4451
9173deec
JB
44522011-07-05 Juanma Barranquero <lekktu@gmail.com>
4453
4454 * register.el (registerv-make):
4455 * window.el (window-min-height): Fix typos in docstrings.
4456
869795d6
JD
44572011-07-05 Jan Djärv <jan.h.d@swipnet.se>
4458
9173deec 4459 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
4460 Update doc string.
4461
b768cdcd
JB
44622011-07-04 Juanma Barranquero <lekktu@gmail.com>
4463
4464 * server.el (server-execute): Catch quit and call
4465 `server-return-error' to pass the error back to emacsclient and
4466 close the connection (bug#8942).
4467
13aa217b
KM
44682011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
4469
4470 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
4471 insecure exception for current topic. Also note that auto-saves
4472 are handled differently.
4473
4474 (allout-auto-save-temporarily-disabled), (allout-just-did-undo):
4475 State variables for tracking auto-save inhibition situation.
4476
4477 (allout-write-contents-hook-handler): Rename from
4478 'allout-write-file-hook-handler', and describe how it depends on
4479 write-contents-functions sensitivity to non-nil value to prevent
4480 file write.
4481
4482 (allout-auto-save-hook-handler): Remove. auto-save does not check
4483 this in individual buffers, only in the starting buffer, so this
4484 is not the right way for us to inhibit auto-save in a buffer
4485 according to its condition.
4486
4487 (allout-mode): Use new allout-write-contents-hook-handler, and
4488 only with write-contents-functions. Remove auto-save provisions -
4489 they're implemented elsewhere.
4490
4491 (allout-before-change-handler): If undo is in progress, note that
4492 for attention of allout-post-command-business.
4493
4494 (allout-post-command-business): If the command we're following was
4495 an undo, check for change in the status of encrypted items and
4496 adjust auto-save inhibitions accordingly.
4497
4498 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
4499 according to whether there are or aren't any plain-text topics
4500 pending encryption.
4501
2dcdbdd9
SM
4502 (allout-inhibit-auto-save-info-for-decryption):
4503 Adjust buffer-saved-size and some allout state to inhibit auto-saves if
13aa217b
KM
4504 there are plain-text topics pending encryption.
4505
4506 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
4507 buffer-saved-size and some allout state to not inhibit auto-saves
4508 if there are no longer any plain-text topics pending encryption.
4509
0757af94
SM
4510 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
4511 No longer provide for exemption of the current topic.
13aa217b 4512
ac89b32c
JL
45132011-07-04 Juri Linkov <juri@jurta.org>
4514
4515 Add 7z operations to delete and save changed members (bug#8968).
4516 * arc-mode.el (archive-7z-expunge, archive-7z-update):
4517 New defcustoms.
4518 (archive-7z-write-file-member): New function.
4519 (archive-7z-summarize): Fix the number of dashes in the
4520 listing output.
4521
8fa39615
SM
45222011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
4523
4524 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
4525 (bug#8958).
4526
2f11b3f1
CY
45272011-07-04 Chong Yidong <cyd@stupidchicken.com>
4528
d66fef2b
CY
4529 * bindings.el: Ignore next-buffer and previous-buffer in
4530 minibuffer-local-map.
4531
2f11b3f1
CY
4532 * font-lock.el (font-lock-builtin-face): Change light background
4533 color to dark slate blue (Bug#6693).
4534
f932a347
WD
45352011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
4536
4537 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
4538
c8af70e1
SM
45392011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
4540
4541 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
4542 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
4543 Add switch-to-buffer.
4544
f158badc
LMI
45452011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
4546
4547 * isearch.el (isearch-search-fun-function): Clarify further the
4548 meaning of the function returned.
4549
6d95bd46
MA
45502011-07-04 Michael Albinus <michael.albinus@gmx.de>
4551
4552 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
4553
4554 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
4555 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
4556 Use it.
4557 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
4558 `tramp-default-remote-path' does not exist.
4559 (tramp-send-command-and-read): New optional argument NOERROR.
4560 (tramp-open-connection-setup-interactive-shell)
4561 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
4562 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
4563 (tramp-process-sentinel): Flush also process' connection property.
4564 (tramp-sh-handle-start-file-process): Do not set process
4565 sentinel. It is done now ...
4566 (tramp-maybe-open-connection): ... here. (Bug#8929)
4567
909e6b67
MK
45682011-07-04 MON KEY <monkey@sandpframing.com>
4569
4570 * play/animate.el (animate-string): Doc fixes and allow changing
4571 the buffer name (bug#5417).
4572
45732011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
4574
c8af70e1 4575 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 4576
f34755dc
PE
45772011-07-04 Paul Eggert <eggert@cs.ucla.edu>
4578
396cec72
PE
4579 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
4580 This is simpler and helps future-proof the code.
4581 (timer-until): Use time-subtract and float-time.
08235028 4582 (timer--time-less-p): Use time-less-p.
f34755dc 4583
56e6cc31
JB
45842011-07-04 Juanma Barranquero <lekktu@gmail.com>
4585
3abb79e5
JB
4586 * type-break.el (timep): Use the value of `float-time' to avoid a
4587 byte-compiler warning.
4588
56e6cc31
JB
4589 * server.el (server-eval-and-print): Return any result, even nil.
4590
7b9430b4
PE
45912011-07-03 Paul Eggert <eggert@cs.ucla.edu>
4592
4593 * type-break.el: Accept time formats that the builtins accept.
4594 (timep, type-break-time-difference): Accept any format that
4595 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
4596 This is simpler and helps future-proof the code.
4597 (type-break-time-difference): Round rather than ignoring
4598 subseconds components.
4599
3034e9e7
LMI
46002011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
4601
4602 * info.el (Info-apropos-matches): Make non-interactive, since it
4603 doesn't seem to do anything useful as a command (bug#8829).
4604
1485f4c0
CY
46052011-07-03 Chong Yidong <cyd@stupidchicken.com>
4606
4607 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 4608 Move from faces.el.
1485f4c0
CY
4609 (frame-default-terminal-background): New function.
4610
4611 * custom.el (custom-push-theme): Don't record faces in `changed'
4612 theme; this doesn't work correctly for per-frame face settings.
4613 (disable-theme): Use face-set-after-frame-default to reset faces.
4614 (custom--frame-color-default): New function.
4615
9fa3dd45
LMI
46162011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
4617
c8af70e1 4618 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
4619 (bug#8769).
4620
6cbbc20c
KR
46212011-03-29 Kevin Ryde <user42@zip.com.au>
4622
4623 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4624 `perl-Test2' extend to match possible "fail #N" rep count
4625 (bug#8377).
4626
c7f98048
LMI
46272011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
4628
65676592
LMI
4629 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
4630 `smtpmail-via-smtp' now returns the error instead of nil.
4631
c7f98048
LMI
4632 * isearch.el (isearch-search-fun-function): Clarify the doc string
4633 (bug#8101).
4634
56e6cc31 46352011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
4636
4637 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
4638 unnecessary spaces (bug#8987).
4639
2b216704
LMI
46402011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
4641
4642 * net/network-stream.el (open-network-stream): Use the
4643 :end-of-capability command thoughout.
4644
46452011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
4646
4647 * net/network-stream.el (open-network-stream): Add the
4648 :end-of-capability command parameter, used by pop3.el.
4649
36adf6ce
LMI
46502011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
4651
1ca0da0e
LMI
4652 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
4653
fc00f69c
LMI
4654 * fringe.el (fringe-query-style): Remove redundant text " (type ?
4655 for list)" (bug#6475).
4656
28fd8759 4657 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 4658 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
4659 an error (bug#6297).
4660
0dd8b6da
LMI
4661 * man.el (Man-reference-regexp): Allow matching possible
4662 word-wrapped references (bug#6289).
4663
ce1438d6
LMI
4664 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
4665 for consistency with the other vc buffers (bug#6197).
4666 (vc-checkin): Ditto.
4667
4668 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
4669
36adf6ce
LMI
4670 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
4671
e83cc1f7
LMI
46722011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
4673
8a20ca4c
LMI
4674 * custom.el (defcustom): Clarify that :set is only used in the
4675 Customize user interface (bug#6089).
4676
83319045
LMI
4677 * progmodes/flymake.el (flymake-mode): If the buffer isn't
4678 associated with a file, refuse to run instead of erroring out
4679 (bug#6084).
4680
a8392169
LMI
4681 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
4682 the doc string, since it appears that using `fill-column' always
4683 controls the width (bug#7845).
4684
e83cc1f7
LMI
4685 * simple.el (shell-command-on-region): Say where the error output
4686 went if `shell-command-default-error-buffer' is set (bug#6857).
4687
e47ca23b
KM
46882011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
4689
4690 * allout.el (allout-yank-processing): Adjust cursor position for
4691 backwards-deleted space.
4692
4693 (allout-rebullet-heading): Register changes with
4694 allout-exposure-changed-hook, so the modified topic is properly
4695 decorated.
4696
5cf56143
LMI
46972011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
4698
08549772
LMI
4699 * minibuffer.el (completion-in-region): Document PREDICATE
4700 (bug#7136).
4701
48e96771
LMI
4702 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
4703 of keyword/argument pairs (bug#6904).
4704
c8af70e1
SM
4705 * replace.el (multi-occur):
4706 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 4707
e17d05e2
LMI
47082011-07-02 Drew Adams <drew.adams@oracle.com>
4709
4710 * dired.el (dired-mark-if): Make the message about whether it's
4711 marking or unmarking clearer (bug#8523).
4712
063b0e45
LMI
47132011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
4714
4715 * disp-table.el (display-table-print-array): New function.
4716 (describe-display-table): Use it to print the vectors more pretty
4717 (Bug#8859).
4718
28545e04
MR
47192011-07-02 Martin Rudalics <rudalics@gmx.at>
4720
4721 * window.el (window-state-get-1): Don't assign clone numbers.
4722 Add clone-of item to list of window parameters.
4723 (window-state-put-2): Don't process clone numbers.
4724 (display-buffer-alist): Fix doc-string.
4725
3349e122
SM
47262011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
4727
4728 * subr.el (remq): Don't allocate if it's not needed.
4729 (keymap--menu-item-binding, keymap--menu-item-with-binding)
4730 (keymap--merge-bindings): New functions.
4731 (keymap-canonicalize): Use them to refine the canonicalization.
4732 * minibuffer.el (minibuffer-local-completion-map)
4733 (minibuffer-local-must-match-map): Move initialization from C.
4734 (minibuffer-local-filename-completion-map): Move initialization from C;
4735 don't inherit from anything here.
4736 (minibuffer-local-filename-must-match-map): Make obsolete.
4737 (completing-read-default): Use make-composed-keymap to combine
4738 minibuffer-local-filename-completion-map with either
4739 minibuffer-local-must-match-map or
4740 minibuffer-local-filename-completion-map.
4741
d224ac83
GM
47422011-07-01 Glenn Morris <rgm@gnu.org>
4743
3de63bf8
GM
4744 * type-break.el (type-break-time-sum): Use dolist.
4745
d224ac83
GM
4746 * textmodes/flyspell.el (flyspell-word-search-backward):
4747 Replace CL function.
4748
1a1e3f32
SM
47492011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
4750
fe3f64d5
SM
4751 * mouse.el (mouse--strip-first-event): New function.
4752 (function-key-map): Use it to map fringe clicks to normal clicks
4753 by default.
4754
eb604e34
SM
4755 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
4756 (vc-bzr-revision-completion-table): Add support for annotate and date.
4757
1a1e3f32
SM
4758 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
4759 inherit from parent.
4760
5bd35902
LMI
47612011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
4762
ace6c69c 4763 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 4764 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 4765
191e2bed
LMI
4766 * dired.el (dired-mode): Fix up the doc string as suggested by
4767 Drew Adams (bug#8817).
4768
5bd35902
LMI
4769 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
4770 cookie, since the manual says that it should be possible to add
4771 this function to `find-file-hook' (bug#8709).
4772
eee8207a
TZ
47732011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
4774
4775 * progmodes/cfengine.el: Moved all cfengine3.el functionality
4776 here. Noted Ted Zlatanov as the maintainer.
4777 (cfengine-common-settings, cfengine-common-syntax): New functions
4778 to set up common things between `cfengine-mode' and
4779 `cfengine3-mode'.
4780 (cfengine3-mode): New mode.
4781 (cfengine3-defuns cfengine3-defuns-regex
4782 (cfengine3-class-selector-regex cfengine3-category-regex)
4783 (cfengine3-vartypes cfengine3-font-lock-keywords)
4784 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 4785 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 4786
36b148cf
MA
47872011-07-01 Michael Albinus <michael.albinus@gmx.de>
4788
4789 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
4790
4791 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
4792
0bf4ba9a
MR
47932011-07-01 Martin Rudalics <rudalics@gmx.at>
4794
4795 * window.el (same-window-buffer-names, same-window-regexps)
4796 (same-window-p, special-display-frame-alist)
4797 (special-display-popup-frame, special-display-function)
4798 (special-display-buffer-names, special-display-regexps)
4799 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
4800 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
4801 (split-window-preferred-function, split-height-threshold)
4802 (split-width-threshold, even-window-heights)
4803 (display-buffer-mark-dedicated, window-splittable-p)
4804 (split-window-sensibly, window-safely-shrinkable-p):
4805 Un-obsolete.
4806 (display-buffer): Don't spread args with function specifier
4807 because special-display-popup-frame won't like it.
4808
35837f51
PE
48092011-07-01 Paul Eggert <eggert@cs.ucla.edu>
4810
d0672f86
PE
4811 Time-stamp simplifications and fixes.
4812 These improve accuracy slightly, and future-proof the code
4813 against some potential changes to current-time format.
4814
b9444d97
PE
4815 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
4816 by using time-since and float-time.
4817
0ef923dc
PE
4818 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
4819 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
4820 + NNN microseconds".
4821
2f81380d
PE
4822 * type-break.el (type-break-time-sum): Rewrite using time-add.
4823
845b5c3e
PE
4824 * play/hanoi.el (hanoi-current-time-float): Remove.
4825 All uses replaced by float-time.
4826
ee6f1be0
PE
4827 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
4828 This yields a more-accurate answer.
4829 (rng-time-to-float): Remove; no longer needed.
4830
fe955043
PE
4831 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
4832
5777162a
PE
4833 * calendar/timeclock.el (timeclock-seconds-to-time):
4834 Defalias to seconds-to-time, since they're the same thing.
4835
3103f8b6 4836 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 4837 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
4838 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
4839
0e61a35f
SM
48402011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
4841
4842 * window.el (bury-buffer): Don't iconify the only frame.
4843 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
4844 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
4845
ddd63a1e
CY
48462011-07-01 Chong Yidong <cyd@stupidchicken.com>
4847
0e61a35f
SM
4848 * eshell/em-smart.el (eshell-smart-display-navigate-list):
4849 Add mouse-yank-primary.
ddd63a1e 4850
055f4923
TZ
48512011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
4852
4853 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
4854
6a2fb145
SM
48552011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
4856
4857 * emacs-lisp/find-func.el (find-library--load-name): New fun.
4858 (find-library-name): Use it to find relative load names when provided
4859 absolute file name (bug#8803).
4860
fd4983f2
LMI
48612011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
4862
887d14ad
LMI
4863 * textmodes/flyspell.el (flyspell-word): Consider words that
4864 differ only in case as potential doublons (bug#5687).
4865
c53dc7fc
LMI
4866 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
4867 Remove two rather uninteresting debugging-like messages to make
4868 debbugs.el more silent.
4869
fd4983f2
LMI
4870 * comint.el (comint-password-prompt-regexp): Accept "Response" as
4871 a password-like phrase.
4872
b14c0c55
AM
48732011-06-30 Mastake YAMATO <yamato@redhat.com>
4874
4875 * progmodes/cc-guess.el: New file.
4876
6a2fb145 4877 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
4878
4879 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
4880 derived from `c-basic-common-init'.
4881
4882 * progmodes/cc-mode.el (top-level): Require cc-guess.
4883 (c-basic-common-init): Use `cc-choose-style-for-mode'.
4884
1fa280a3
LM
48852011-06-30 Lawrence Mitchell <wence@gmx.li>
4886
4887 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
4888
e6597158
AM
48892011-06-30 Alan Mackenzie <acm@muc.de>
4890
1fa280a3
LM
4891 * progmodes/cc-engine.el (c-guess-continued-construct):
4892 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
4893 lock is disabled. Name this case as "CASE G".
4894
68ba37fb
KM
48952011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
4896
4897 * allout.el (allout-yank-processing): Fix injection of extra space
4898 between bullet and non-whitespace character in first topic when
4899 pasting, ensuring that the actual spacing in the pasted topic
4900 following the bullet char is preserved. This extra space was
4901 causing pasted encrypted topics to get a decrypted status even
4902 when the content was actually still encrypted. Now the decryption
4903 status from before the paste is preserved.
4904
4905 (allout-flag-region): Set all allout overlays so they evaporate
4906 when reduced to zero length (evanescent), to prevent overlay
4907 leakage.
4908
887a0b34
GM
49092011-06-30 Glenn Morris <rgm@gnu.org>
4910
94b9acce
GM
4911 * w32-fns.el (w32-charset-info-alist): Declare.
4912
1d9b46d4
GM
4913 * find-dired.el (find-grep-options): Simplify.
4914
cc232200
GM
4915 * term/ns-win.el (ns-set-resource): Declare.
4916
28e77c46
GM
4917 * ses.el (row, col): Declare dynamic variables honestly.
4918
887a0b34
GM
4919 * textmodes/reftex-parse.el (index-tags): Declare.
4920
658d8eb8
CY
49212011-06-30 Chong Yidong <cyd@stupidchicken.com>
4922
4923 * cus-edit.el (customize-push-and-save): New function.
4924
4925 * files.el (hack-local-variables-confirm): Use it.
4926
1fa280a3
LM
4927 * custom.el (load-theme): New arg NO-CONFIRM.
4928 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
4929 (custom-enabled-themes): Doc fix.
4930
4931 * cus-theme.el (customize-create-theme)
4932 (custom-theme-merge-theme): Callers to load-theme changed.
4933
bb617717
LMI
49342011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
4935
d61bdd5d
LMI
4936 * thingatpt.el (thing-at-point-short-url-regexp): Require that
4937 short URLs have at least one dot in them (bug #7614).
4938
bb617717
LMI
4939 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
4940 nil, because using a pty is apparently too slow (bug #895).
4941
2f31f37a
LMI
49422011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
4943
4944 * mail/sendmail.el (sendmail-query-once): New function.
4945 (sendmail-query-once-function): New variable.
4946
3076b24e
GM
49472011-06-29 Glenn Morris <rgm@gnu.org>
4948
faf2a174
GM
4949 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
4950
3076b24e
GM
4951 * ses.el (top-level): Require cl when compiling.
4952 (ses-set-localvars): Fix error statement.
4953 Call it at compile time to silence a storm of warnings.
4954
5386012d
MR
49552011-06-29 Martin Rudalics <rudalics@gmx.at>
4956
4957 * window.el (normalize-live-buffer): Rename to
4958 window-normalize-buffer.
4959 (normalize-live-frame): Rename to window-normalize-frame.
4960 (normalize-any-window): Rename to window-normalize-any-window.
4961 (normalize-live-window): Rename to window-normalize-live-window.
4962 (make-window-atom): Rename to window-make-atom.
4963 (window-resize-reset): Rename to window--resize-reset.
4964 (window-resize-reset-1): Rename to window--resize-reset-1.
4965 (resize-mini-window): Rename to window--resize-mini-window.
4966 (resize-subwindows-skip-p): Rename to
4967 window--resize-subwindows-skip-p.
4968 (resize-subwindows-normal): Rename to
4969 window--resize-subwindows-normal.
4970 (resize-subwindows): Rename to window--resize-subwindows.
4971 (resize-other-windows): Rename to window--resize-siblings.
4972 (resize-this-window): Rename to window--resize-this-window.
4973 (resize-root-window): Rename to window--resize-root-window.
4974 (resize-root-window-vertically): Rename to
4975 window--resize-root-window-vertically.
4976 (normalize-buffer-to-display): Rename to
4977 window-normalize-buffer-to-display.
4978 (normalize-buffer-to-switch-to): Rename to
4979 window-normalize-buffer-to-switch-to.
4980 Correspondingly update all callers of the functions listed
4981 above.
4982 (display-buffer-alist, display-buffer-normalize-arguments)
4983 (display-buffer-normalize-options, display-buffer)
4984 (display-buffer-alist-set): Use "function" instead of
4985 "fun-with-args".
4986
1176868d
CY
49872011-06-28 Chong Yidong <cyd@stupidchicken.com>
4988
4989 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
4990 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
4991 debbugs.gnu.org. Mention acknowledgment email.
4992
20a7a65f
LMI
49932011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
4994
4995 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
4996 buffer multibyteness, since it shouldn't matter.
4997
5f45cca5
MR
49982011-06-28 Martin Rudalics <rudalics@gmx.at>
4999
5000 * window.el (display-buffer-in-side-window): Handle dedicated
5001 windows as in display-buffer-reuse-window.
5002 (display-buffer-normalize-alist): Use value of override
5003 specifier.
5004 (display-buffer-normalize-specifiers): Use value of
5005 other-window-means-other-frame specifier.
5006 (display-buffer-alist): Rewrite some texts in widgets.
5007 (display-buffer): Spread arguments when calling function
5008 specified by fun-with-args.
5009
ad85fe1f
DD
50102011-06-28 Deniz Dogan <deniz@dogan.se>
5011
1fa280a3
LM
5012 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
5013 Unnest `let'.
da68c4c8 5014
ad85fe1f
DD
5015 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
5016 selectors (Bug#5732).
ec49bd31 5017 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 5018
a08cc025
JA
50192011-06-27 Jari Aalto <jari.aalto@cante.net>
5020
5021 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
5022 (eshell-ls-date-format): New defcustom.
5023 (eshell-ls-file): Use it.
5024
e2b551c5
SM
50252011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
5026
5027 * help-fns.el (describe-variable): Fix message for terminal-local vars.
5028
8982b231
KY
50292011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
5030
5031 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
5032 (ange-ftp-make-tmp-name): New arg.
5033 (ange-ftp-file-local-copy): Use it.
5034
36c9fa27
J
50352011-06-27 Jambunathan K <kjambunathan@gmail.com>
5036
5037 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
5038 no-conversion (Bug#8870).
5039
d68443dc
MR
50402011-06-27 Martin Rudalics <rudalics@gmx.at>
5041
5042 * window.el (window-right, window-left, window-child)
5043 (window-child-count, window-last-child)
5044 (window-iso-combination-p, walk-window-tree-1)
5045 (window-atom-check-1, window-tree-1, delete-window)
5046 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
5047 new naming conventions - window-vchild, window-hchild,
5048 window-next and window-prev are now called window-top-child,
5049 window-left-child, window-next-sibling and window-prev-sibling
5050 respectively.
d615d6d2
MR
5051 (resize-window-reset): Rename to window-resize-reset.
5052 (resize-window-reset-1): Rename to window-resize-reset-1.
5053 (resize-window): Rename to window-resize.
5054 (window-min-height, window-min-width)
5055 (resize-mini-window, resize-this-window, resize-root-window)
5056 (resize-root-window-vertically, adjust-window-trailing-edge)
5057 (enlarge-window, shrink-window, maximize-window)
5058 (minimize-window, delete-window, quit-restore-window)
5059 (split-window, balance-windows, balance-windows-area-adjust)
5060 (balance-windows-area, window-state-put-2)
5061 (display-buffer-even-window-sizes, display-buffer-set-height)
5062 (display-buffer-set-width, set-window-text-height)
5063 (fit-window-to-buffer): Rename all "resize-window" prefixed
5064 calls to use the "window-resize" prefix convention.
5065 (display-buffer-alist): Fix symbol for label specifier.
5066 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
5067 corresponding specifier.
5068 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 5069
b6458526
VB
50702011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
5071
5072 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
5073 convention.
5074 (ses-call-printer): Does not pass an empty string to formatter when the
5075 cell is empty to keep from barking printer Calc math-format-value.
5076
d31fd9ac
RS
50772011-06-27 Richard Stallman <rms@gnu.org>
5078
43d5bf84
RS
5079 * battery.el (battery-mode-line-limit): New variable.
5080 (battery-update): Handle it.
5081
d31fd9ac
RS
5082 * mail/rmailmm.el (rmail-mime-process-multipart):
5083 Handle truncated messages.
5084
819a6054
GM
50852011-06-27 Glenn Morris <rgm@gnu.org>
5086
5087 * progmodes/flymake.el (flymake-err-line-patterns):
5088 Allow for column numbers in the ant/javac pattern. (Bug#8866)
5089
cedc73f2
VB
50902011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
5091
819a6054 5092 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
5093 (ses--clean-!, ses--clean-_): New functions.
5094 (ses-range): Add configurability of readout order, and conversion
5095 to Calc vector.
5096
5e5d49b6
VB
5097 * ses.el (ses-repair-cell-reference-all): New function.
5098 (ses-cell-symbol): Set macro as safe, so that it can be used in
5099 formulas.
5100
56e6cc31 5101 * ses.el: Update cycle detection algorithm.
90ca8b49 5102 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 5103 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
5104 (ses-set-localvars): New function.
5105 (ses-make-cell): Add property-list as a cell element.
5106 (ses-cell-property-get-fun, ses-cell-property-get)
5107 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
5108 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
5109 New functions.
90ca8b49
VB
5110 (ses-cell-property-set, ses-cell-property-pop)
5111 (ses-cell-property-get-handle): New macro.
5112 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
5113 New aliases, used for code readability.
5114 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
5115 cycle detection.
5116 (ses-self-reference-early-detection): New defcustom.
5117 (ses-formula-references): Robustify against self-refering cells.
5118 (ses-mode): Use ses-set-localvars.
5119 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
5120 before lauching the update processing.
5121 (ses-initialize-Dijkstra-attempt): New function.
5122 (ses-recalculate-cell): Update for cycle detection based on
5123 Dijkstra algorithm.
5124
2bb63e81
VB
5125 * ses.el: Fix commenting and indenting convention.
5126
c9d29fb8
SM
51272011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
5128
5129 * bs.el (bs-cycle-next): Complete last change.
5130
d8e4b68b
JB
51312011-06-27 Drew Adams <drew.adams@oracle.com>
5132
5133 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
5134
40098786
LMI
51352011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
5136
c9d29fb8
SM
5137 * net/network-stream.el (network-stream-open-starttls):
5138 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
5139 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
5140
40098786
LMI
5141 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
5142 to binary to possibly avoid line encoding issues on Windows (among
5143 other things).
5144
468d09d4
LMI
51452011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
5146
5147 * net/network-stream.el (open-network-stream): Return an :error
5148 saying what the problem was, if possible.
5149
5150 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
5151 server.
5152
5153 * net/network-stream.el (network-stream-open-starttls): If we
5154 wanted to use STARTTLS, and the server offered it, but we weren't
5155 able to because we had no STARTTLS support, then close the connection.
5156 (open-network-stream): Return an :error element, if present.
5157
16f07dd7
CY
51582011-06-26 Chong Yidong <cyd@stupidchicken.com>
5159
88821ca0
CY
5160 * hl-line.el (hl-line-sticky-flag): Doc fix.
5161 (global-hl-line-sticky-flag): New option (Bug#8323).
5162 (global-hl-line-highlight): Obey it.
5163
16f07dd7
CY
5164 * vc/vc.el (vc-revert-show-diff): Default to t.
5165
6b5ccddf
KM
51662011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
5167
c9d29fb8
SM
5168 * allout-widgets.el (allout-widgets-post-command-business):
5169 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
5170 undecorated when an isearch is continued past, and isearch
5171 automatically collapses them. This leads to "widget leaks", where
5172 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
5173 hidden widgets can slow down cursor travel, substantially.
5174 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
5175 so we're doing without this nicety.
5176
5177 (allout-widgets-tally-string): Don't try to do a hash-table-count
5178 of allout-widgets-tally when it's nil. This eliminates spurious "Error
5179 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
5180 *Messages* when allout-widgets-maintain-tally is t.
5181
355f2e07
MR
51822011-06-26 Martin Rudalics <rudalics@gmx.at>
5183
5184 * window.el (display-buffer-normalize-argument): Rename to
5185 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
5186 LABEL argument. Respect special-display-function when popping up
5187 a new frame. Fix code searching for a window showing the buffer
5188 on another frame.
c9d29fb8
SM
5189 (display-buffer-normalize-specifiers):
5190 Call display-buffer-normalize-arguments.
355f2e07
MR
5191 (display-buffer-in-window): Don't undedicate the window if its
5192 buffer remains the same.
5193 Reported by Drew Adams <drew.adams@oracle.com>.
5194 (display-buffer-alist): Add choice for same-window macro
5195 specfier.
5196 (display-buffer): Mention special meaning of LABEL argument in
5197 doc-string. Fix quoting. Don't pop up a new frame even as
5198 fallback.
5199
7ca8fc42
JB
52002011-06-26 Juanma Barranquero <lekktu@gmail.com>
5201
5202 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
5203 avoid deleting the current window in some cases (bug#8911).
5204
bc312254
AS
52052011-06-26 Andreas Schwab <schwab@linux-m68k.org>
5206
5207 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
5208 (Bug#8934)
5209
2db18f3f
LMI
52102011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
5211
c9d29fb8
SM
5212 * net/network-stream.el (network-stream-open-starttls):
5213 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
5214 (network-stream-open-tls): Ditto.
5215
6302e0d3
LL
52162011-06-26 Leo Liu <sdl.web@gmail.com>
5217
5218 * register.el (registerv): New struct.
5219 (registerv-make): New function.
c9d29fb8
SM
5220 (jump-to-register, describe-register-1, insert-register):
5221 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
5222 struct. (Bug#8415)
5223
5fdd4046
CY
52242011-06-26 Chong Yidong <cyd@stupidchicken.com>
5225
2afef60a
CY
5226 * vc/vc.el (vc-revert-show-diff): New defcustom.
5227 (vc-diff-internal): New arg specifying diff buffer.
5228 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
5229 reuse an existing *vc-diff* buffer (Bug#8927).
5230
5fdd4046
CY
5231 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
5232
e93db24a
GM
52332011-06-26 Glenn Morris <rgm@gnu.org>
5234
5235 * progmodes/f90.el (f90-critical-indent): New option.
5236 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
5237 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
5238 (f90-mode): Doc fix.
5239 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
5240 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
5241 (f90-beginning-of-block, f90-next-block, f90-indent-region)
5242 (f90-match-end): Handle block, critical.
5243
eefff499
GM
52442011-06-25 Glenn Morris <rgm@gnu.org>
5245
f6ba4cc9
GM
5246 * calendar/diary-lib.el (diary-included-files): Doc fix.
5247 (diary-include-files): New function, extracted from
5248 diary-include-other-diary-files and diary-mark-included-diary-files.
5249 (diary-include-other-diary-files, diary-mark-included-diary-files):
5250 Just call diary-include-files.
5251 (diary-mark-entries): Reset diary-included-files on first call.
5252
16712304
GM
5253 * calendar/diary-lib.el (diary-mark-entries)
5254 (diary-mark-included-diary-files):
5255 Visit included diary-files in temp buffers.
5256
5d8e0d43
GM
5257 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
5258 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
5259 (f90-start-block-re, f90-imenu-generic-expression)
5260 (f90-looking-at-program-block-start, f90-no-block-limit):
5261 Add support for submodules.
5262
ccf7a5d5
GM
5263 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
5264 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 5265
11fdef7d 52662011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
5267
5268 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
5269 buffer-file-type before setting its value, to avoid disastrous
eefff499 5270 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 5271
74f53697
JB
52722011-06-25 Juanma Barranquero <lekktu@gmail.com>
5273
5274 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
5275
5276 * ses.el (ses-unload-function):
5277 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
5278
5279 * proced.el (proced-unload-function):
5280 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
5281
18a4ce5e
AR
52822011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
5283
5284 * server.el (server-create-window-system-frame): Add parameters arg.
5285 (server-process-filter): Doc fix. Handle frame-parameters.
5286
519d22cc
JB
52872011-06-25 Juanma Barranquero <lekktu@gmail.com>
5288
5289 Fix bug#8730, bug#8781.
5290
5291 * loadhist.el (unload--set-major-mode): New function.
5292 (unload-feature): Use it.
5293
5294 * progmodes/python.el (python-after-info-look): Add autoload cookie.
5295 (python-unload-function): New function.
5296
c206f5b0
SM
52972011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
5298
5299 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
5300
f9ad64f3
GS
53012011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
5302
5303 * net/browse-url.el (browse-url-firefox-program): Add icecat to
5304 the candidates list.
5305
7d0da90e
JB
53062011-06-24 Juanma Barranquero <lekktu@gmail.com>
5307
5308 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
5309
14b4e83d
RS
53102011-06-23 Richard Stallman <rms@gnu.org>
5311
5312 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
5313 (rmail-variables): Set next-error-move-function.
5314 (rmail-what-message): Take argument POS.
5315 (rmail-next-error-move): New function.
5316
273d2baf
SM
53172011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
5318
5319 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
5320 messages for adjacent non-terminals.
5321
56c2cc9a
RS
53222011-06-23 Richard Stallman <rms@gnu.org>
5323
5324 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 5325 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
5326 (rmail-start-mail): Don't specify use of rmail-mail-return;
5327 that's done by mail-bury now.
5328 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 5329
d59eb518
MA
53302011-06-23 Michael Albinus <michael.albinus@gmx.de>
5331
5332 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
5333 SIZE is a number.
5334
02cfc6d6
MR
53352011-06-23 Martin Rudalics <rudalics@gmx.at>
5336
5337 * window.el (get-lru-window, get-mru-window)
5338 (get-largest-window): Never return a minibuffer window.
5339 (display-buffer-pop-up-window): Fix a bug that could lead to
5340 reusing the minibuffer window.
5341 (display-buffer): Pass original specifier argument to
5342 display-buffer-function instead of the normalized one.
5343 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
5344
4e323265
LL
53452011-06-22 Leo Liu <sdl.web@gmail.com>
5346
5347 * minibuffer.el (completing-read-function)
5348 (completing-read-default): Move from minibuf.c
5349
7a70468f
RS
53502011-06-22 Richard Stallman <rms@gnu.org>
5351
50718fc2
RS
5352 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
5353 to Rmail even if not started by a special Rmail command.
5354
7a70468f
RS
5355 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
5356 Copy the buffer currently showing just one message.
5357
297dde5a
RW
53582011-06-22 Roland Winkler <winkler@gnu.org>
5359
5360 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
5361 (bibtex-clean-entry): First delete the old key so that a
5362 customized algorithm for generating the new key does not get
5363 confused by the old key.
5364 (bibtex-url): Obey regexp of first step.
5365 (bibtex-search-entries): Do not use add-to-list with local
5366 list-var.
5367
97bb1093
LMI
53682011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
5369
5370 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
5371 stored a user name, then query for the password first, instead of
5372 waiting for SMTP to give an error message and the trying again.
5373
1c0f1a19
JD
53742011-06-22 Lawrence Mitchell <wence@gmx.li>
5375
5376 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
5377 BUFFER in call-process.
5378
396f7c9d
LMI
53792011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
5380
5381 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
5382 QUIT twice.
ddb7ffee
LMI
5383 (smtpmail-try-auth-methods): Require user name and password from
5384 auth-source.
396f7c9d 5385
8998d1b3
MR
53862011-06-22 Martin Rudalics <rudalics@gmx.at>
5387
5388 * window.el (display-buffer-default-specifiers)
5389 (display-buffer-alist): Remove entries for pop-up-frame-alist.
5390 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 5391 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
5392
5393 * frame.el (pop-up-frame-alist, pop-up-frame-function)
5394 (special-display-frame-alist, special-display-popup-frame):
5395 Remove duplicate declarations. These are now in window.el.
5396
4ea31e07
LMI
53972011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5398
c9d29fb8
SM
5399 * mail/smtpmail.el (smtpmail-via-smtp):
5400 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
5401 server supports it. SMTP servers that support STARTTLS commonly
5402 require it.
5403
5404 * net/network-stream.el (network-stream-open-starttls): Support
5405 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 5406 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 5407
95f41d9a
LMI
5408 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
5409 upgrades with `open-network-stream', and rely solely on
5410 auth-source for all credentials. Big changes throughout the file,
5411 but in particular:
c9d29fb8
SM
5412 (smtpmail-auth-credentials): Remove.
5413 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
5414 (smtpmail-via-smtp): Check for servers saying they want AUTH after
5415 MAIL FROM, too.
95f41d9a 5416
c9d29fb8
SM
5417 * net/network-stream.el (network-stream-open-starttls):
5418 Provide support for client certificates both for external and built-in
4ea31e07
LMI
5419 STARTTLS.
5420 (auth-source): Require.
5421 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
5422 (network-stream-certificate): Change cert-cert to cert and
5423 cert-key to key.
4ea31e07 5424
065ec2c7
MA
54252011-06-21 Michael Albinus <michael.albinus@gmx.de>
5426
5427 * net/tramp-cache.el (top): Don't load the persistency file when
5428 "emacs -Q" has been called.
5429
cd93b359
DR
54302011-06-21 Tim Harper <timcharper@gmail.com>
5431
d8e4b68b
JB
5432 * term/ns-win.el (ns-initialize-window-system):
5433 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
5434 resource to NO as it is not yet supported by the NS port.
5435
ae9c0411
JB
54362011-06-21 Juanma Barranquero <lekktu@gmail.com>
5437
5438 * misc.el (list-dynamic-libraries--refresh): Compute header here...
5439 (list-dynamic-libraries): ...not here.
5440
7f3f739f
LL
54412011-06-21 Leo Liu <sdl.web@gmail.com>
5442
5443 * subr.el (sha1): Implement sha1 using secure-hash.
5444
327c8fb1
MR
54452011-06-21 Martin Rudalics <rudalics@gmx.at>
5446
5447 * window.el (display-buffer-alist): In default value do not
5448 enforce searching a window on any but the selected frame.
5449 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
5450 (display-buffer-select-window): Remove function.
5451 (display-buffer-in-window): When a window on another frame gets
5452 reused, do not select it any more but just raise its frame if
5453 necessary (Bug#8851) and (Bug#8856).
5454 (display-buffer-normalize-options): Handle pop-up-frames related
5455 options more faithfully.
5456 (pop-to-buffer): Don't rely on `display-buffer' selecting the
5457 window if it is on another frame.
c9d29fb8
SM
5458 (display-buffer-alist, display-buffer-default-specifiers):
5459 Don't make new frame unsplittable by default.
9e9de014
MR
5460 (display-buffer-normalize-argument): Fix doc-string typo and use
5461 'same-frame-other-window instead of 'other-window when associating
5462 with display-buffer-macro-specifiers.
327c8fb1 5463
7cf3f556
VB
54642011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
5465
5466 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
5467 New functions.
5468 (5x5-mode-map, 5x5-mode-menu): Bind them.
5469 (5x5-draw-grid): Tweak the solver's rendering.
5470
60a406cf
SM
54712011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
5472
5473 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
5474 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
5475
d8e4b68b 54762011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
5477
5478 * menu-bar.el: Use function variable instead of switch-to-buffer.
5479 (menu-bar-select-buffer-function): New variable.
60a406cf 5480 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 5481
478d6f95
SM
54822011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
5483
5484 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
5485 variable's status.
5486
ca530739
JD
54872011-06-20 Jan Djärv <jan.h.d@swipnet.se>
5488
5489 * x-dnd.el (x-dnd-version-from-flags)
5490 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
5491 and long as number (Bug#8899).
5492 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
5493
bcd70d97
SM
54942011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
5495
60a406cf 5496 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
5497 (completion-try-completion, completion-all-completions): Compute the
5498 metadata argument if it's missing; make it optional (bug#8795).
5499
60a406cf 5500 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
5501 (widget-complete): Use new :completion-function property.
5502 (widget-completions-at-point): New function.
5503 (default): Use :completion-function instead of :complete.
60a406cf
SM
5504 (widget-default-completions): Rename from widget-default-complete;
5505 Rewrite.
bcd70d97
SM
5506 (widget-string-complete, widget-file-complete, widget-color-complete):
5507 Remove functions.
5508 (file, symbol, function, variable, coding-system, color):
5509 * international/mule-cmds.el (default-input-method, charset)
5510 (language-info-custom-alist):
5511 * cus-edit.el (face): Use new property :completions.
5512
5513 * progmodes/pascal.el (pascal-completions-at-point): New function.
5514 (pascal-mode): Use it.
5515 (pascal-mode-map): Use completion-at-point.
5516 (pascal-toggle-completions): Make obsolete.
5517 (pascal-complete-word, pascal-show-completions):
5518 * progmodes/octave-mod.el (octave-complete-symbol):
5519 Redefine as obsolete alias.
5520 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
5521 Signal absence of completion info for old Octave,
5522 (inferior-octave-complete): Redefine as obsolete alias.
5523 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
5524 (meta-completions-at-point): Rename from meta-complete-symbol and
5525 adapt it for use on completion-at-point-functions.
5526 (meta-common-mode): Use it.
5527 (meta-looking-at-backward, meta-match-buffer): Remove.
5528 (meta-complete-symbol): Redefine as obsolete alias.
5529 (meta-common-mode-map): Use completion-at-point.
5530 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
5531 (makefile-mode-map): Use completion-at-point.
5532 (makefile-completions-at-point): Rename from makefile-complete and
5533 adapt it for use on completion-at-point-functions.
5534 (makefile-mode): Use it.
5535 (makefile-complete): Redefine as obsolete alias.
5536
aebf69c8
DD
55372011-06-20 Deniz Dogan <deniz@dogan.se>
5538
5539 * net/rcirc.el: Delete trailing whitespaces once and for all.
5540
bfbbb27d
DC
55412011-06-20 Daniel Colascione <dan.colascione@gmail.com>
5542
5543 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
5544
d264a46b
CY
55452011-06-19 Chong Yidong <cyd@stupidchicken.com>
5546
4ca009e5
CY
5547 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
5548
d264a46b
CY
5549 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
5550
fbf5b3ce
MR
55512011-06-19 Martin Rudalics <rudalics@gmx.at>
5552
5553 * window.el (display-buffer-other-window-means-other-frame):
5554 Call display-buffer-normalize-alist.
5555 (display-buffer-normalize-specifiers-1): Rename to
5556 display-buffer-normalize-argument. New argument other-frame.
5557 Rewrite.
5558 (display-buffer-normalize-specifiers-2): Rename to
5559 display-buffer-normalize-options.
5560 (display-buffer-normalize-alist-1): New function.
5561 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
5562 display-buffer-normalize-alist.
5563 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
5564 (display-buffer-normalize-options-inhibit): New variable.
5565 (display-buffer-normalize-specifiers): Rewrite calling
5566 display-buffer-normalize-alist,
5567 display-buffer-normalize-argument, and
5568 display-buffer-normalize-options. Don't call the latter if
5569 display-buffer-normalize-options-inhibit is non-nil.
5570 (frame-auto-delete): New option.
5571 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
5572 (window-list-no-nils, window-state-ignored-parameters)
5573 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
5574 (window-state-put-1, window-state-put-2, window-state-put):
5575 New functions.
9a028c23
MR
5576 (display-buffer-normalize-options): Move special-display-p group
5577 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 5578
6d10d800
CY
55792011-06-18 Chong Yidong <cyd@stupidchicken.com>
5580
6420d28b
CY
5581 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
5582 groups (Bug#8776).
5583 (rx-submatch-n): New function.
5584 (rx): Document it.
5585
ddb8b596
CY
5586 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
5587 (Bug#8768).
5588
5589 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
5590
77080289
CY
5591 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
5592
61dfb316
CY
5593 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
5594 anytime existing face settings are present (Bug#8889).
5595
6d10d800
CY
5596 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
5597 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
5598 Remove unused argument.
5599
be3fb2b8
MR
56002011-06-18 Martin Rudalics <rudalics@gmx.at>
5601
bcd70d97
SM
5602 * window.el (display-buffer-default-specifiers):
5603 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
5604 pop-up-window-min-width, and another reuse-window specifier
5605 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
5606 (display-buffer-normalize-specifiers-2):
5607 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
5608 pop-up-windows is unset. Add a reuse-window specifier for the
5609 case popping up a new window fails.
5610 (special-display-popup-frame): Remove double quoting.
28dec25a 5611 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 5612
1c6d8c76
SM
56132011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
5614
5615 * shell.el (shell-completion-vars): Set pcomplete-termination-string
5616 according to comint-completion-addsuffix.
5617
5618 * pcomplete.el: Convert to lexical binding and fix bug#8819.
5619 (pcomplete-suffix-list): Mark as obsolete.
5620 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
5621 pcomplete-seen in the closure.
5622 (pcomplete-comint-setup): Setup completion-at-point as well.
5623 (pcomplete--entries): New function.
5624 (pcomplete--env-regexp): New var.
5625 (pcomplete-entries): Rewrite to work with partial-completion and
5626 without relying on pcomplete-suffix-list.
5627 (pcomplete-pare-list): Remove, unused.
5628
25aef8b8
MR
56292011-06-17 Martin Rudalics <rudalics@gmx.at>
5630
5631 * window.el (display-buffer-alist): Set pop-up-window-min-height
5632 and pop-up-window-min-width in default value. Reported by
5633 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
5634 other-window-means-other-frame.
5635 (display-buffer-macro-specifiers): Comment out entry for
5636 other-window specifier.
5637 (display-buffer-other-window-means-other-frame): New function.
5638 (display-buffer-normalize-specifiers-1): New arguments
5639 buffer-name and label. Treat other-window case specially.
5640 (display-buffer-normalize-specifiers-2): Treat other-window case
5641 specially.
5642 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
5643 (display-buffer-normalize-specifiers):
5644 Call display-buffer-normalize-specifiers-3.
25aef8b8 5645
dbad4f69
MR
56462011-06-17 Martin Rudalics <rudalics@gmx.at>
5647
5648 * window.el (same-window-p): Fix two typos introduced when
5649 adding with-no-warnings.
d1067961
MR
5650 (display-buffer-normalize-specifiers-1): Don't check
5651 pop-up-frames for 'unset initialization.
5652 (display-buffer-normalize-specifiers-2): Major rewrite using
5653 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
5654 (pop-up-frames, display-buffer-reuse-frames)
5655 (display-buffer-mark-dedicated): Don't initialize to 'unset.
5656 Suggested by David Engster <deng@randomsample.de>.
5657 (even-window-heights): Initialize to 'unset.
5658 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
5659 (display-buffer-macro-specifiers): Don't pop up a new frame in the
5660 other window case.
dbad4f69 5661
9b9c9e3a
MR
56622011-06-16 Martin Rudalics <rudalics@gmx.at>
5663
bcd70d97
SM
5664 * window.el (display-buffer-normalize-specifiers-1):
5665 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 5666 second argument of display-buffer (Bug#8865).
981d5c09
MR
5667 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
5668 (switch-to-buffer-other-window-same-frame)
5669 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
5670 Adams (Bug#8875).
9c2755e9
MR
5671 (display-buffer): Don't check noninteractive when calling
5672 display-buffer-pop-up-frame.
5673 (display-buffer-pop-up-frame): Never pop up a frame in
5674 noninteractive mode (Bug#8857).
67222e1d
MR
5675 (enlarge-window, shrink-window): Don't report an error when the
5676 window can't be resized as requested (Bug#8862).
9b9c9e3a 5677
2b75be67
SM
56782011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
5679
9ffdd3ba
SM
5680 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
5681
cb581a67
SM
5682 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
5683
2b75be67
SM
5684 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
5685
8c0e3589
AM
56862011-06-15 Alan Mackenzie <acm@muc.de>
5687
cb581a67
SM
5688 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
5689 for declarators, disable knr checking to speed up for normal files.
5690 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 5691
b96e6cde
LMI
56922011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
5693
4bba86e6
LMI
5694 * net/network-stream.el (open-network-stream): Add the keyword
5695 :always-query-capabilities for the case where you want to force a
5696 `plain' network connection, but the protocol still requires the
5697 capabilitiy command (i.e., SMTP and EHLO).
5698
2b75be67 5699 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
5700 consistency with other `-live-p' functions.
5701
efdcdbf8
SM
57022011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
5703
5704 * window.el (same-window-buffer-names, same-window-regexps)
5705 (special-display-frame-alist, special-display-popup-frame)
5706 (special-display-function, special-display-buffer-names)
5707 (special-display-regexps, pop-up-frame-alist)
5708 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
5709 (pop-up-windows, split-window-preferred-function)
5710 (split-height-threshold, split-width-threshold, even-window-heights)
5711 (display-buffer-mark-dedicated): Don't encourage the use of
5712 display-buffer-alist from Elisp code.
5713
c5cde042
DN
57142011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
5715
5716 * progmodes/python.el (python-mode): Derive from prog-mode.
5717 * progmodes/ps-mode.el (ps-mode):
5718 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 5719 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
5720 * progmodes/ld-script.el (ld-script-mode): Likewise.
5721
baa1c9ab
MR
57222011-06-15 Martin Rudalics <rudalics@gmx.at>
5723
5724 * window.el (display-buffer-alist): Trim default value to avoid
5725 popping up a new frame (Bug#8857) or reusing an arbitrary window
5726 on another frame.
5727 (display-buffer): Do not fall back on popping up a new frame in
5728 batch mode (Bug#8857).
5729
c5dd5a51
CY
57302011-06-14 Chong Yidong <cyd@stupidchicken.com>
5731
5732 * cus-theme.el (describe-theme-1): Use custom-theme-p.
5733 (custom-theme-summary): New function.
5734 (customize-themes): Use it.
5735
d647b7c4
GM
57362011-06-13 Glenn Morris <rgm@gnu.org>
5737
5738 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
5739
9481c002
MR
57402011-06-13 Martin Rudalics <rudalics@gmx.at>
5741
357f93d2
MR
5742 * help.el (help-window): Remove variable.
5743 (help-window-point-marker, temp-buffer-max-height)
5744 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
5745 (help-print-return-message): Don't set help-window.
5746 (resize-temp-buffer-window): Rewrite cod eand doc-string.
5747 (help-window-setup-finish): Remove.
5748 (help-window-display-message, help-window-setup)
5749 (with-help-window): Major rewrite based on new
5750 display-buffer-window variable.
5751
5752 * help-mode.el (help-mode-finish): Remove help-window related
5753 code.
5754
5755 * view.el (view-exits-all-viewing-windows): Remove reference to
5756 view-return-to-alist in doc-string.
5757 (view-return-to-alist): Make obsolete.
5758 (view-buffer): Call pop-to-buffer-same-window and remove
5759 undo-window code.
5760 (view-buffer-other-window): Call pop-to-buffer-other-window and
5761 simplify code. Ignore second argument.
5762 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
5763 simplify code. Ignore second argument.
5764 (view-return-to-alist-update): Make obsolete.
5765 (view-mode-enter): Rename second argument to QUIT-RESTORE.
5766 Rewrite using quit-restore window parameters.
2b75be67
SM
5767 (view-mode-exit): Rename second argument to EXIT-ONLY.
5768 Rewrite using quit-restore-window.
357f93d2
MR
5769 (View-exit, View-exit-and-edit, View-leave, View-quit)
5770 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
5771 appropriate arguments.
5772 (view-end-message): Use quit-restore window parameter.
5773
9481c002
MR
5774 * window.el (display-buffer-function): Rewrite doc-string.
5775 (display-buffer-window, display-buffer-alist): New variables.
5776 (display-buffer-split-specifiers)
5777 (display-buffer-side-specifiers)
5778 (display-buffer-macro-specifiers): New constants.
5779 (display-buffer-even-window-sizes, display-buffer-set-height)
5780 (display-buffer-set-width, display-buffer-select-window)
5781 (display-buffer-in-window, display-buffer-reuse-window)
5782 (display-buffer-split-window-1, display-buffer-split-window)
5783 (display-buffer-split-atom-window, display-buffer-pop-up-window)
5784 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
5785 (display-buffer-in-side-window, normalize-buffer-to-display)
5786 (display-buffer-normalize-specifiers-1)
5787 (display-buffer-normalize-specifiers-2)
2b75be67
SM
5788 (display-buffer-normalize-specifiers, display-buffer-frame):
5789 New functions.
9481c002
MR
5790 (display-buffer): Major rewrite.
5791 (display-buffer-other-window, display-buffer-other-frame)
5792 (pop-to-buffer, switch-to-buffer-other-window)
5793 (switch-to-buffer-other-frame): Rewrite.
5794 (display-buffer-same-window, display-buffer-same-frame)
5795 (display-buffer-same-frame-other-window)
5796 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
5797 (pop-to-buffer-other-window)
5798 (pop-to-buffer-same-frame-other-window)
5799 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
5800 (switch-to-buffer-other-window-same-frame): New functions.
5801 (same-window-p, special-display-p): Rewrite disabling warnings.
5802 Make obsolete.
5803 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
5804 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
5805 Make obsolete
5806 (same-window-buffer-names, same-window-regexps)
5807 (special-display-frame-alist, special-display-popup-frame)
5808 (special-display-function, special-display-buffer-names)
5809 (special-display-regexps, pop-up-frame-alist)
5810 (pop-up-frame-function, split-window-preferred-function)
5811 (split-height-threshold, split-width-threshold)
5812 (even-window-heights): Make obsolete.
5813
9db51aca
GM
58142011-06-12 Glenn Morris <rgm@gnu.org>
5815
5816 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 5817 Misc simplifications.
9db51aca 5818
39cffb44
MR
58192011-06-12 Martin Rudalics <rudalics@gmx.at>
5820
5821 * window.el (window-safely-shrinkable-p): Restore function which
5822 was inadvertently removed in change from 2011-06-11. Declare as
5823 obsolete.
5824
2b75be67
SM
5825 * calendar/calendar.el (calendar-generate-window):
5826 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
5827 window-safely-shrinkable-p.
5828
a8955be7
GM
58292011-06-12 Glenn Morris <rgm@gnu.org>
5830
5831 * progmodes/fortran.el (fortran-mode-syntax-table):
5832 * progmodes/f90.el (f90-mode-syntax-table):
5833 Set % to punctuation. (Bug#8820)
5834 (f90-find-tag-default): Remove, no longer needed.
5835
f0d4059d
DC
58362011-06-12 Daniel Colascione <dan.colascione@gmail.com>
5837
5838 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
5839
1100a63c
CY
58402011-06-11 Chong Yidong <cyd@stupidchicken.com>
5841
5842 * image.el (image-animated-p): Return animation delay in seconds.
5843 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
5844 (image-animate-timeout): Remove DELAY argument. Don't assume
5845 every subimage has the same delay; get it from image-animated-p.
5846 (image-animate): Caller changed.
5847
def722bf
MA
58482011-06-11 Michael Albinus <michael.albinus@gmx.de>
5849
5850 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
5851 to ignored backtrace functions.
5852
0a2bb1a9
GM
58532011-06-11 Glenn Morris <rgm@gnu.org>
5854
5855 * calendar/appt.el (appt-disp-window-function): Doc fix.
5856 (appt-check): Handle overlapping appointments. (Bug#8337)
5857
6198ccd0
MR
58582011-06-11 Martin Rudalics <rudalics@gmx.at>
5859
5860 * window.el (window-tree-1, window-tree): New functions, moving
5861 the latter to window.el.
5862 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
5863 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
5864 (bw-refresh-edges): Remove.
5865 (balance-windows-1, balance-windows-2): New functions.
5866 (balance-windows): Rewrite in terms of window tree functions,
5867 balance-windows-1 and balance-windows-2.
5868 (bw-adjust-window): Remove.
5869 (balance-windows-area-adjust): New function with functionality of
5870 bw-adjust-window but using resize-window.
2b75be67
SM
5871 (set-window-text-height): Rewrite doc-string.
5872 Use normalize-live-window and resize-window.
5873 (enlarge-window-horizontally, shrink-window-horizontally):
5874 Rename argument to DELTA.
6198ccd0
MR
5875 (window-buffer-height): New function.
5876 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
5877 Rewrite using new window resize routines.
2b75be67
SM
5878 (kill-buffer-and-window, mouse-autoselect-window-select):
5879 Use ignore-errors instead of condition-case.
6198ccd0
MR
5880 (quit-window): Call delete-frame instead of delete-windows-on
5881 for the only buffer on frame.
5882
9397e56f
MR
58832011-06-10 Martin Rudalics <rudalics@gmx.at>
5884
5885 * loadup.el (top-level): Load window before files for the sake
5886 of replace-buffer-in-windows.
5887
5888 * files.el (read-buffer-to-switch)
5889 (switch-to-buffer-other-window)
2b75be67
SM
5890 (switch-to-buffer-other-frame, display-buffer-other-frame):
5891 Move to window.el.
9397e56f
MR
5892
5893 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
5894 (previous-buffer): Move to window.el.
5895
5896 * bindings.el (unbury-buffer): Move to window.el.
5897
5898 * window.el (delete-other-windows-vertically): Move after
5899 definition of delete-other-windows.
5900 (other-window, delete-windows-on, replace-buffer-in-windows):
5901 Move here from window.c.
5902 (record-window-buffer, unrecord-window-buffer)
5903 (set-window-buffer-start-and-point, switch-to-prev-buffer)
5904 (switch-to-next-buffer): New functions.
5905 (get-next-valid-buffer, last-buffer, next-buffer): Move here
5906 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
5907 (previous-buffer): Move here from simple.el.
5908 Call switch-to-prev-buffer.
9397e56f
MR
5909 (bury-buffer): Move here from buffer.c. Switch to previous
5910 buffer when window cannot be deleted.
5911 (unbury-buffer): Move here from bindings.el.
5912 (ctl-x-map): Move binding for other-window from window.c to
5913 here.
5914 (read-buffer-to-switch, switch-to-buffer-other-window)
5915 (switch-to-buffer-other-frame): Move here from files.el.
5916 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
5917 (switch-to-buffer): Move here from buffer.c.
5918 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 5919
562dd5e9
MR
59202011-06-10 Martin Rudalics <rudalics@gmx.at>
5921
5922 * window.el (window-min-height, window-min-width): Move here
5923 from window.c. Add defcustoms and rewrite doc-strings.
5924 (resize-mini-window, resize-window): New functions.
5925 (adjust-window-trailing-edge, enlarge-window, shrink-window):
5926 Move here from window.c.
5927 (maximize-window, minimize-window): New functions.
5928 (delete-window, delete-other-windows, split-window): Move here
5929 from window.c.
5930 (window-split-min-size): New function.
5931 (split-window-keep-point): Mention split-window-above-each-other
5932 instead of split-window-vertically.
2b75be67
SM
5933 (split-window-above-each-other, split-window-vertically):
5934 Rename split-window-vertically to split-window-above-each-other and
562dd5e9
MR
5935 provide defalias for old definition.
5936 (split-window-side-by-side, split-window-horizontally): Rename
5937 split-window-horizontally to split-window-side-by-side and provide
5938 defalias for the old definition.
5939 (ctl-x-map): Move bindings for delete-window,
5940 delete-other-windows and enlarge-window here from window.c.
5941 Replace bindings for split-window-vertically and
5942 split-window-horizontally by bindings for
5943 split-window-above-each-other and split-window-side-by-side.
5944
5945 * cus-start.el (all): Remove entries for window-min-height and
5946 window-min-width. Add entries for window-splits and
5947 window-nest.
5948
f0da764a
GM
59492011-06-09 Glenn Morris <rgm@gnu.org>
5950
80675c21
GM
5951 * calendar/appt.el (appt-mode-line): New function.
5952 (appt-check, appt-disp-window): Use it.
5953
f0da764a
GM
5954 * files.el (hack-one-local-variable-eval-safep):
5955 Allow minor-modes with explicit +/-1 arguments.
5956
59f623b7
TZ
59572011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
5958
5959 * term/xterm.el (xterm): Add defgroup.
5960 (xterm-extra-capabilities): Add defcustom to supply known xterm
5961 capabilities, skip querying them, or query them (default).
5962 (terminal-init-xterm): Use it.
5963 (terminal-init-xterm-modify-other-keys): New function to set up
5964 modifyOtherKeys support to simplify `terminal-init-xterm'.
5965
9aab8e0d
MR
59662011-06-09 Martin Rudalics <rudalics@gmx.at>
5967
5968 * window.el (resize-window-reset, resize-window-reset-1)
5969 (resize-subwindows-skip-p, resize-subwindows-normal)
5970 (resize-subwindows, resize-other-windows, resize-this-window)
5971 (resize-root-window, resize-root-window-vertically)
5972 (window-deletable-p, window-or-subwindow-p)
5973 (frame-root-window-p): New functions.
5974
e8b08aee
GM
59752011-06-09 Glenn Morris <rgm@gnu.org>
5976
5977 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
5978 (ange-ftp-get-files): Use it.
5979
254c37a5
AK
59802011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
5981
5982 * mail/sendmail.el (mail-recover-1, mail-recover):
5983 * files.el (recover-file, recover-session):
5984 Handle dired-listing-switches not being just a single short option.
5985
35d7dbd3
GM
59862011-06-09 Glenn Morris <rgm@gnu.org>
5987
5988 * calendar/appt.el (appt-display-message, appt-disp-window):
5989 Handle lists of appointments.
5990
387522b2
MR
59912011-06-08 Martin Rudalics <rudalics@gmx.at>
5992
2b75be67
SM
5993 * window.el (one-window-p): Move down in code.
5994 Rewrite doc-string.
5995 (window-current-scroll-bars): Rewrite doc-string.
5996 Normalize live window argument.
387522b2
MR
5997 (walk-windows, get-window-with-predicate, count-windows):
5998 Rewrite doc-string. Use window-list-1.
5999 (window-in-direction-2, window-in-direction, get-mru-window):
6000 New functions.
6001
d8e4b68b 60022011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
6003
6004 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
6005 Doc fix (Bug#8713).
6006
60072011-06-08 Chong Yidong <cyd@stupidchicken.com>
6008
6009 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
6010
60112011-06-08 Juanma Barranquero <lekktu@gmail.com>
6012
6013 * loadhist.el (unload-feature-special-hooks):
6014 Add `comint-output-filter-functions'.
6015
0de12c52
IK
60162011-06-08 Ivan Kanis <gnu@kanis.fr>
6017
6018 * calendar/appt.el (appt-check): Move some initializations into the let.
6019
f3d1777e
MR
60202011-06-08 Martin Rudalics <rudalics@gmx.at>
6021
6022 * window.el (window-height): Defalias to window-total-height.
6023 (window-width): Defalias to window-body-width.
6024
18af70d0
CY
60252011-06-07 Chong Yidong <cyd@stupidchicken.com>
6026
6027 * image-mode.el (image-toggle-animation): New command.
6028 (image-mode-map): Bind it to RET.
6029 (image-mode): Update message.
6030 (image-toggle-display-image): Avoid a spurious cache flush.
6031 (image-transform-rotation): Doc fix.
6032 (image-transform-properties): Return quickly in the normal case.
6033 (image-animate-loop): Rename from image-animate-max-time.
6034
2b75be67 6035 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
6036 (create-animated-image): Remove unnecessary function.
6037 (image-animate): Rename from image-animate-start. New arg.
2b75be67 6038 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
6039 (image-animate-timer): Use car-safe.
6040 (image-animate-timeout): Rename argument.
6041
190b47e6
MR
60422011-06-07 Martin Rudalics <rudalics@gmx.at>
6043
6044 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
6045 window.c. Rename first argument to ALL-FRAMES.
6046 Rephrase doc-strings.
6047 (get-buffer-window-list): Rewrite using window-list-1.
6048 Rephrase doc-string.
a1511caf
MR
6049 (window-safe-min-height, window-safe-min-width): New constants.
6050 (window-size-ignore, window-min-size, window-min-size-1)
6051 (window-sizable, window-sizable-p, window-size-fixed-1)
6052 (window-size-fixed-p, window-min-delta-1, window-min-delta)
6053 (window-max-delta-1, window-max-delta, window-resizable)
6054 (window-resizable-p, window-total-height, window-total-width)
6055 (window-body-width): New functions.
6056 (window-full-height-p, window-full-width-p): Rewrite using
6057 window-total-size.
6058 (window-body-height): Rewrite using window-body-size.
190b47e6 6059
85cc1f11
MR
60602011-06-06 Martin Rudalics <rudalics@gmx.at>
6061
6062 * window.el (window-right, window-left, window-child)
6063 (window-child-count, window-last-child, window-any-p)
6064 (normalize-live-buffer, normalize-live-frame)
6065 (normalize-any-window, normalize-live-window)
6066 (window-iso-combination-p, window-iso-combined-p)
6067 (window-iso-combinations)
6068 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
6069 (windows-with-parameter, window-with-parameter)
6070 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
6071 (window-atom-check, window-side-check, window-check):
6072 New functions.
85cc1f11
MR
6073 (ignore-window-parameters, window-sides, window-sides-vertical)
6074 (window-sides-slots): New variables.
6075 (window-size-fixed): Move down in code. Minor doc-string fix.
6076
e7156492
AS
60772011-06-05 Andreas Schwab <schwab@linux-m68k.org>
6078
6079 * comint.el (comint-dynamic-complete-as-filename)
6080 (comint-dynamic-complete-filename): Correctly call
6081 completion-in-region.
6082
7e821d0d
DD
60832011-06-05 Deniz Dogan <deniz@dogan.se>
6084
6085 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
6086 in last change.
6087
ac09b8a1
DD
60882011-06-05 Deniz Dogan <deniz@dogan.se>
6089
6090 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
6091 (rcirc): Use it to prompt for encryption.
6092
34699b85
RW
60932011-06-05 Roland Winkler <winkler@gnu.org>
6094
6095 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
6096 (bibtex-search-entries): New command bound to C-c C-a.
6097 (bibtex-display-entries): New function.
6098
004dedd3
RW
60992011-06-05 Roland Winkler <winkler@gnu.org>
6100
6101 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
6102 (bibtex-insert-kill): After yanking insert newline if necessary.
6103 (bibtex-initialize): Call bibtex-string-files-init only once.
6104 (bibtex-mode): Do not call easy-menu-add.
6105 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
6106 (bibtex-yank): Set arg properly if nil.
6107
022fe7ce
RW
61082011-06-05 Roland Winkler <winkler@gnu.org>
6109
2b75be67
SM
6110 * textmodes/bibtex.el (bibtex-search-entry-globally):
6111 New variable.
022fe7ce
RW
6112 (bibtex-search-entry): Use it.
6113
b7c3692a
RW
61142011-06-05 Roland Winkler <winkler@gnu.org>
6115
6116 * textmodes/bibtex.el (bibtex-entry-format): New option
6117 sort-fields.
6118 (bibtex-format-entry, bibtex-reformat): Honor this option.
6119 (bibtex-parse-entry): Return fields in proper order.
6120
8eda563d
JB
61212011-06-05 Juanma Barranquero <lekktu@gmail.com>
6122
6123 * doc-view.el (doc-view-remove-if): Move computation of result out
6124 of `dolist' to silence misleading lexical-binding warning.
6125
7dbe3dbc
CY
61262011-06-04 Chong Yidong <cyd@stupidchicken.com>
6127
6128 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
6129 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
6130
0c33dd17
MA
61312011-06-04 Michael Albinus <michael.albinus@gmx.de>
6132
6133 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
6134 "SunOS 5.10".
6135
f8f91c2b
MA
61362011-06-04 Michael Albinus <michael.albinus@gmx.de>
6137
6138 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
6139 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
6140 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
6141 (tramp-parse-putty):
6142 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
6143 (tramp-completion-function-alist-ssh)
6144 (tramp-completion-function-alist-telnet)
6145 (tramp-completion-function-alist-su)
6146 (tramp-completion-function-alist-putty): Set `tramp-autoload'
6147 cookie.
6148
6149 * net/tramp-ftp.el:
6150 * net/tramp-sh.el:
6151 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
6152 load "tramp.el" `tramp-set-completion-function'.
6153
e17d9003
SM
61542011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
6155
6156 * shell.el: Require and use pcomplete.
6157 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
6158 (shell-completion-vars): Set pcomplete-default-completion-function.
6159
6c4cab03
DD
61602011-06-04 Deniz Dogan <deniz@dogan.se>
6161
6162 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
6163 `memq' (Bug#8799).
6164
ea9fafe0
SM
61652011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
6166
6167 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
6168
b3e945d3
JB
61692011-06-02 Juanma Barranquero <lekktu@gmail.com>
6170
6171 * bs.el (bs--mark-unmark, bs--nth-wrapper):
6172 * mpc.el (mpc-select-extend, mpc-songpointer-context):
6173 * vc/log-view.el (log-view-beginning-of-defun):
6174 * vc/smerge-mode.el (smerge-apply-resolution-patch)
6175 (smerge-refine-forward, smerge-refine-chopup-region):
6176 Silence warning for unused `dotimes' counter variables.
6177
7d520089
SM
61782011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
6179
6180 * net/tramp.el (tramp-with-progress-reporter): Rename from
6181 with-progress-reporter. Use `declare'.
6182 * net/tramp-smb.el:
6183 * net/tramp-sh.el:
6184 * net/tramp-gvfs.el: Update all uses.
6185
a1c2400f
JB
61862011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
6187
6188 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
6189 buffer isn't killed before making it current.
6190
2403c841
SM
61912011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
6192
6193 Silence various byte-compiler warnings.
6194 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
6195 `access-type' and new obsolescence format.
6196 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
6197 new format.
6198 (byte-compile-check-variable): New `access-type' argument.
6199 Only warn if the access-type is obsolete.
6200 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
6201 (byte-compile-variable-set): Adjust callers.
6202 * help-fns.el (describe-variable): Adjust to new obsolescence format.
6203 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
6204 setting it as obsolete.
6205 * simple.el (minibuffer-completing-symbol):
6206 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
6207 access as obsolete.
6208 * minibuffer.el (minibuffer-completing-file-name): Don't make it
6209 obsolete yet.
6210 * international/quail.el (quail-mouse-choose-completion): Remove unused
6211 code referring to obsolete var.
6212 (quail-choose-completion-string): Remove.
6213 * server.el (server-clients-with, server-kill-buffer-query-function)
6214 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
6215 * proced.el (proced-send-signal):
6216 * emacs-lisp/lisp.el (lisp-complete-symbol):
6217 Replace completion-annotate-function with completion-extra-properties.
6218
2462470b
SM
62192011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
6220
fb5b2591
SM
6221 * simple.el (goto-line): Use read-number.
6222 (overriding-map-is-bound): Remove.
6223 (saved-overriding-map): Change default.
6224 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
6225 Take the map as argument.
6226 (universal-argument, negative-argument, digit-argument): Use it.
6227 (restore-overriding-map): Adjust.
6228 (do-auto-fill): Use fill-forward-paragraph.
6229 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
6230
fd6fa53f
SM
6231 * minibuffer.el (minibuffer-inactive-mode-map): New var.
6232 (minibuffer-inactive-mode): New major mode.
6233 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
6234 the *Messages* buffer" hack.
6235 (mouse-popup-menubar): Don't burp if the event is a normal key.
6236
2462470b
SM
6237 Miscellaneous tweaks.
6238 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
6239 lexical scoping as in subr.el's dolist and dotimes.
6240 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
6241 Silence compiler warning.
6242 * thingatpt.el (forward-whitespace): Trivial coding style fix.
6243 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
6244 * international/ccl.el (ccl-compile): Trivial simplification.
6245 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
6246 * emacs-lisp/testcover.el (testcover-end): Remove spurious
6247 `printflag' argument.
6248 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
6249 Purecopy the whole obsolescence data.
6250
108bf785
LL
62512011-06-01 Leo Liu <sdl.web@gmail.com>
6252
6253 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
6254 improve doc-string as suggested by Marco Pessotto
6255 <melmothx@gmail.com>.
6256 (rcirc-print): Fix last change.
6257
30a23501
SM
62582011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
6259
6260 * minibuffer.el (complete-with-action): Return nil for the metadata and
6261 boundaries of non-functional tables.
6262 (completion-table-dynamic): Return nil for the metadata.
6263 (completion-table-with-terminator): Add default case, using
6264 complete-with-action.
6265 (completion--metadata): New function.
6266 (completion-all-sorted-completions, minibuffer-completion-help): Use it
6267 to try and avoid pathological performance problems.
6268 (completion--embedded-envvar-table): Return `category' metadata.
6269
bcd54f83
LMI
62702011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
6271
6272 * subr.el (process-alive-p): New tiny convenience function.
6273
e227544d
SM
62742011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
6275
6276 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
6277 content but also its previous major mode.
6278
e8296fdc
HE
62792011-05-31 Helmut Eller <eller.helmut@gmail.com>
6280
4d61f28d 6281 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
6282 *Backtrace* buffer when we exit with C-M-c.
6283
620c53a6
SM
62842011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
6285
6286 * minibuffer.el: Add metadata method to completion tables.
6287 (completion-category-overrides): New defcustom.
6288 (completion-metadata, completion--field-metadata)
6289 (completion-metadata-get, completion--styles)
6290 (completion--cycle-threshold): New functions.
6291 (completion-try-completion, completion-all-completions):
6292 Add `metadata' argument to choose completion-styles.
6293 (completion--do-completion): Use metadata to choose cycling.
6294 (completion-all-sorted-completions): Use metadata for sorting.
6295 Remove :completion-cycle-penalty which is not needed any more.
6296 (completion--try-word-completion): Add `metadata' argument.
6297 (minibuffer-completion-help): Check metadata for annotation function
6298 and sorting.
6299 (completion-file-name-table): Return `category' metadata.
6300 (minibuffer-completing-file-name): Make obsolete.
6301 * simple.el (minibuffer-completing-symbol): Make obsolete.
6302 * icomplete.el (icomplete-completions): Pass new `metadata' param to
6303 completion-try-completion.
6304
1257e755
SM
63052011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
6306
6307 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
6308
3767e706
LL
63092011-05-30 Leo Liu <sdl.web@gmail.com>
6310
6311 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
6312 (rcirc-print): Decode all incoming messages (bug#8744).
6313 (rcirc-decode-coding-system): Allow value nil for automatic coding
6314 system detection.
3767e706 6315
d1a5d56a
GM
63162011-06-01 Glenn Morris <rgm@gnu.org>
6317
6318 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
6319
e8cbec34
CY
63202011-05-29 Chong Yidong <cyd@stupidchicken.com>
6321
6322 * image.el (image-animate-max-time): Allow nil and t values.
6323 Default to nil.
6324 (create-animated-image): Doc fix.
6325 (image-animate-start): Remove second arg; just use
6326 image-animate-max-time.
6327 (image-animate-timeout): Doc fix. Args changed.
6328
6329 * image-mode.el (image-toggle-display-image): Ensure that the
6330 image spec passed to the animate timer is the same object as in
58179cce 6331 the buffer's display property (Bug#6981).
e8cbec34
CY
6332 (image-transform-properties): Doc fix.
6333
6334 * image.el (image-animate-max-time): Default to nil.
6335
159daf87
MR
63362011-05-29 Martin Rudalics <rudalics@gmx.at>
6337
6338 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
6339 entire buffer list (Bug#8184).
6340
d66c4c7c
CY
63412011-05-29 Chong Yidong <cyd@stupidchicken.com>
6342
6343 * image.el (imagemagick-types-inhibit)
6344 (imagemagick-register-types): Doc fix.
6345
80aec780
DD
63462011-05-29 Deniz Dogan <deniz@dogan.se>
6347
6348 * net/rcirc.el (rcirc): Use the user's stored encryption method by
6349 default.
6350
1dd3c2d9
CY
63512011-05-29 Chong Yidong <cyd@stupidchicken.com>
6352
6353 * select.el: Don't perform clipboard-manager saving in hooks;
6354 leave the hooks empty.
6355
60e56523
LL
63562011-05-28 Leo Liu <sdl.web@gmail.com>
6357
6358 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
6359 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
6360 (occur-edit-mode): New major mode (Bug#8463).
6361 (occur-after-change-function): New function.
6362 (occur-engine): Give Occur tags a read-only property.
6363
2b1e1a22
KR
63642011-05-28 Kevin Ryde <user42@zip.com.au>
6365
6366 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
6367
5d344e88
CY
63682011-05-28 Chong Yidong <cyd@stupidchicken.com>
6369
8e6ca83d
CY
6370 * bindings.el (help-echo): Make the initial non-indicator dash
6371 empty on graphical terminals (Bug#7295).
6372
5d344e88
CY
6373 * files.el (auto-mode-alist): Move config rule after the
6374 in-stripping one (Bug#8547).
6375
bfbbace7
CY
6376 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
6377
fbeba6e2
CY
6378 * startup.el (normal-splash-screen): Remove gratuitous mode-line
6379 setting (Bug#8740).
6380
60ed8c72
AA
63812011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
6382
4ac619f0
AA
6383 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
6384 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
6385 (Bug#8539).
60ed8c72 6386
23db196e
CY
63872011-05-28 Chong Yidong <cyd@stupidchicken.com>
6388
6389 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
6390
5012f24c
DK
63912011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
6392
6393 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
6394 (hs-hide-block-at-point, hs-find-block-beginning)
6395 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
6396 (Bug#8279).
6397
6a639b16
GM
63982011-05-28 Glenn Morris <rgm@gnu.org>
6399
6400 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
6401
d43eaf2c
CY
64022011-05-28 Chong Yidong <cyd@stupidchicken.com>
6403
5199bde1
CY
6404 * help-fns.el (describe-function-1): If the function is a derived
6405 major mode, print the parent mode.
6406
d43eaf2c
CY
6407 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
6408 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
6409
423428a8
SM
64102011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
6411
0ff8e1ba 6412 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 6413 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
6414 * progmodes/etags.el (tags-completion-at-point-function):
6415 * info-look.el (info-lookup-completions-at-point): Mark as
6416 non-exclusive.
6417 (info-complete): Adjust accordingly.
6418
423428a8
SM
6419 * info-look.el: Convert to lexical-binding and completion-at-point.
6420 (info-lookup-completions-at-point): New function.
6421 (info-complete): Use it and completion-in-region.
6422
b74aa22b
DA
64232011-05-28 Drew Adams <drew.adams@oracle.com>
6424
6425 * isearch.el: Let M-e start with point at the first mismatched char.
6426 (isearch-fail-pos): New function.
6427 (isearch-edit-string): Use it.
6428
66e2e71d
DK
64292011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
6430
6431 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
6432
eb95d01d
TC
64332009-11-23 Toby Cubitt <toby-predictive@dr-qubit.org>
6434
6435 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
6436 traversal functions for avl-trees.
6437 (avl-tree--stack): New struct.
6438 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
6439 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
6440 (avl-tree--do-enter): Add optional `updatefun' arg.
6441 Change return value.
eb95d01d 6442 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
6443 (avl-tree--do-delete): Add `test' and `nilflag' args.
6444 Change return value.
eb95d01d
TC
6445 (avl-tree-member): Add optional `nilflag'
6446 (avl-tree-member-p): New function.
6447 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
6448 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
6449 (avl-tree-stack-empty-p): New functions.
6450
3769ddcf
TC
64512009-11-23 Toby Cubitt <toby-predictive@dr-qubit.org>
6452
6453 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
6454 avl-tree--del-balance1 and make it work both ways.
6455 (avl-tree--del-balance2): Remove.
6456 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
6457 make it work both ways.
6458 (avl-tree--enter-balance2): Remove.
6459 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
6460 New macros.
6461 (avl-tree--mapc, avl-tree-map): Add direction argument.
6462
eb95d01d 64632011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
6464
6465 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
6466
a9f737ee
CY
64672011-05-27 Chong Yidong <cyd@stupidchicken.com>
6468
6469 * select.el: Support clipboard managers with built-in function
6470 x-clipboard-manager-save, via delete-frame-functions and
6471 kill-emacs-hook.
6472 (xselect-convert-to-targets): Add MULTIPLE target to list.
6473 (xselect-convert-to-save-targets): New function.
6474
c92a1e54
KH
64752011-05-27 Kenichi Handa <handa@m17n.org>
6476
6477 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
6478 let-binding rfc2047-encode-encoded-words to nil.
6479
e145f188
GM
64802011-05-27 Glenn Morris <rgm@gnu.org>
6481
5ec8a862
GM
6482 * mail/emacsbug.el: Don't require url-util.
6483
4b29d9fb
GM
6484 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
6485
e145f188
GM
6486 * files.el (set-auto-mode):
6487 Also respect mode: entries at the end of the file. (Bug#8586)
6488
7d15102b
GM
64892011-05-26 Glenn Morris <rgm@gnu.org>
6490
98f593b8
GM
6491 * files.el (hack-local-variables-prop-line, hack-local-variables):
6492 Downcase mode names, as seems to be traditional.
27b48e63 6493 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 6494
7d15102b
GM
6495 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
6496 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
6497
51d5b4ec
JD
64982011-05-25 Julien Danjou <julien@danjou.info>
6499
6500 * textmodes/rst.el (rst-define-level-faces): Do not define face
6501 symbol if it is already defined.
6502
91513f63
VB
65032011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
6504
6505 * play/5x5.el (5x5-new-game, 5x5-randomize):
6506 Reset 5x5-solver-output to nil when a new grid is cast.
6507 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
6508 these debugging traces, as defmacro breaks the compiled code.
6509
4d90d6d0
DK
65102011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
6511
6512 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
6513
e1b90ef6
LL
65142011-05-24 Leo Liu <sdl.web@gmail.com>
6515
6516 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
6517 (vc-bzr-sha1): Adapt.
6518
d8e4b68b 6519 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
6520
6521 * bindings.el: Provide sha1 feature.
6522
db0406bb 65232011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
6524
6525 * mail/sendmail.el: Require `rfc2047'.
6526 (mail-insert-from-field): Do not perform RFC2047 encoding.
6527 (mail-encode-header): New function.
6528 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
6529 buffer to the return value of select-message-coding-system.
6530 Call mail-encode-header.
b8d747b9
KH
6531
6532 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
6533
db0406bb 65342011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 6535
4d90d6d0
DK
6536 * mail/supercite.el (sc-default-cite-frame):
6537 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 6538
eb8a5e9b
GM
65392011-05-24 Glenn Morris <rgm@gnu.org>
6540
f8630703
GM
6541 * progmodes/python.el (brm-menu): Declare.
6542
8831bbed
GM
6543 * emulation/viper.el (viper-set-hooks): Declare.
6544
eb8a5e9b
GM
6545 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
6546 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
6547 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
6548 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
6549 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
6550 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
6551
a2a25d24
SM
65522011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
6553
6554 Add an :exit-function for completion-at-point.
6555
6556 * minibuffer.el (completion--done): New fun.
6557 (completion--do-completion): Use it. New arg `expect-exact'.
6558 (minibuffer-complete, minibuffer-complete-word): Don't output message,
6559 since completion--do-completion does it for us now.
6560 (minibuffer-force-complete): Use completion--done and
6561 completion--replace. Handle sole-completion case with more care.
6562 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
6563 (completion-extra-properties): New var.
6564 (completion-annotate-function): Make obsolete.
6565 (minibuffer-completion-help): Adjust accordingly.
6566 Use completion-list-insert-choice-function.
6567 (completion-at-point, completion-help-at-point):
6568 Bind completion-extra-properties.
6569 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
6570 * simple.el (completion-list-insert-choice-function): New var.
6571 (completion-setup-function): Preserve it.
6572 (choose-completion): Pay attention to it, shuffle the code a bit.
6573 (choose-completion-string): New arg `insert-function'.
6574
6575 * textmodes/bibtex.el: Convert to lexical binding.
6576 (bibtex-mode-map): Use completion-at-point.
6577 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
6578 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
6579 (bibtex-complete): Define as obsolete alias.
6580 (bibtex-complete-internal): Remove.
6581 (bibtex-format-entry): Remove unused sub-group in regexp.
6582 * shell.el (shell--command-completion-data)
6583 (shell-environment-variable-completion):
6584 * pcomplete.el (pcomplete-completions-at-point):
6585 * comint.el (comint--complete-file-name-data): Use :exit-function
6586 instead of completion-table-with-terminator so it also works for
6587 choose-completion.
6588
e44e373d
SM
65892011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
6590
4f91a816
SM
6591 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
6592
782fc819
SM
6593 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
6594 (bug#8710).
6595
e44e373d
SM
6596 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
6597
381987c3
KM
65982011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
6599
6600 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
6601 customization variable and implement: If non-nil, auto-fill will
6602 be inhibited while on topic's header line.
6603
b776bc70
VB
66042011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
6605
6606 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 6607 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
6608 always have a solution in grid size = 5 cases.
6609 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
6610 (5x5-solver-output, 5x5-log-buffer): New vars.
6611 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
6612 Make these variables buffer local to achieve 5x5 multi-session-ness.
6613 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
6614 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
6615 (5x5-solve-suggest): New funs.
6616 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
6617 randomize a grid so that we ensure that there is always a solution.
6618 (5x5-make-random-grid): Allow other movement than flipping.
6619
7de88b6e
KR
66202011-05-23 Kevin Ryde <user42@zip.com.au>
6621
6622 * emacs-lisp/advice.el (ad-read-advised-function):
6623 Use `function-called-at-point' as the default default, if it has
6624 advice and passes PREDICATE.
6625
b1ef1257
SM
66262011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
6627
bbca48fe
SM
6628 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
6629 byte-compile-lambda if it's actually a lambda.
6630
b1ef1257
SM
6631 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
6632 Fix function quoting. Use backquote better.
6633
92a9cc65
YS
66342011-05-22 Yuanle Song <sylecn@gmail.com>
6635
6636 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
6637 matching (Bug#8516).
6638
f0fb8059
JA
66392011-01-22 Jari Aalto <jari.aalto@cante.net>
6640
6641 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
6642 different face (Bug#8178).
6643
d5b44c93
CY
66442011-05-22 Chong Yidong <cyd@stupidchicken.com>
6645
6646 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
6647 defface (Bug#8144).
6648
79106a44
SM
66492011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
6650
9c848d8a
SM
6651 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
6652 funcall as well (bug#8712). Warn when performing those conversions.
6653 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
6654
79106a44
SM
6655 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
6656
88dfa756
GM
66572011-05-22 Glenn Morris <rgm@gnu.org>
6658
6659 * files.el (hack-local-variables-prop-line): Small simplifications.
6660 (hack-local-variables, hack-local-variables-prop-line):
6661 If MODE-ONLY, return the mode, rather than just `t'.
6662
b7cf2c79
SM
66632011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
6664
6665 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
6666
3f1a8558
GM
66672011-05-21 Glenn Morris <rgm@gnu.org>
6668
7e4ccca3
GM
6669 * files.el (hack-local-variables-prop-line, hack-local-variables):
6670 If only interested in the mode, don't bother doing the other stuff.
6671
637d46ca
GM
6672 * image-mode.el (image-after-revert-hook):
6673 Redraw all frames on which the image is visible. (Bug#8567)
6674
973d955b
GM
6675 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
6676
3f1a8558
GM
6677 * wid-edit.el (widget-checklist-match-inline):
6678 Fix 2011-04-19 change. (Bug#8649)
6679
96479927
SM
66802011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
6681
1dcf791f
SM
6682 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
6683 Also allow singlespace after single-letter capitals followed by a dot.
6684
96479927
SM
6685 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
6686 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
6687
35fd0881
N
66882011-05-20 Nix <nix@esperi.org.uk>
6689
6690 * files.el (basic-save-buffer-2):
6691 Fix handling of break-hardlink-on-save with non-existent files.
6692
82745640
DD
66932011-05-19 Deniz Dogan <deniz@dogan.se>
6694
6695 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 6696 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 6697
4a720484
GM
66982011-05-19 Glenn Morris <rgm@gnu.org>
6699
d1f21341
GM
6700 * progmodes/f90.el (f90-type-def-re):
6701 Handle "type, bind(c)". (Bug#8691)
6702
4a720484
GM
6703 * emacs-lisp/autoload.el (batch-update-autoloads):
6704 Set autoload-excludes by parsing loadup.el rather than Makefiles.
6705
2fb0a219
MA
67062011-05-18 Michael Albinus <michael.albinus@gmx.de>
6707
6708 * net/tramp.el (tramp-process-actions): Set "first-password-request"
6709 property for the correct connection in case of multihops.
6710
e565dd37
GM
67112011-05-18 Glenn Morris <rgm@gnu.org>
6712
c2571358 6713 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
6714 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
6715
e565dd37
GM
6716 Rationalize calendar handling of day and month abbrev-arrays.
6717 * calendar/calendar.el (calendar-customized-p): New function.
6718 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
6719 (calendar-day-name-array, calendar-month-name-array): Doc fix.
6720 Add :set function.
6721 (calendar-abbrev-length, calendar-day-abbrev-array)
6722 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
6723 (calendar-day-abbrev-array, calendar-month-abbrev-array):
6724 Elements may no longer be nil.
6725 (calendar-day-name, calendar-month-name):
6726 Update for changed nature of abbrev arrays.
6727 * calendar/diary-lib.el (diary-name-pattern):
6728 Update for changed nature of abbrev arrays.
6729 (diary-mark-entries-1): Update calendar-make-alist calls.
6730 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
6731 * calendar/cal-html.el (cal-html-day-abbrev-array):
6732 Simply inherit from calendar-day-abbrev-array.
6733
1d99a745
SM
67342011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6735
6736 * progmodes/grep.el (grep-mode): Disable default
6737 compilation-directory-matcher setting (bug#8684).
6738
7c1d9aa0
MA
67392011-05-17 Michael Albinus <michael.albinus@gmx.de>
6740
6741 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
6742 instead of "head" and "tail". There were problems with SunOS 5.9,
6743 and it performs better.
6744
3952e9d8
GM
67452011-05-17 Glenn Morris <rgm@gnu.org>
6746
2dd12e7f
GM
6747 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
6748
e4157b9c
GM
6749 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
6750 Replace obsolete function.
6751
8e249bbd
GM
6752 * shell.el (pcomplete-parse-arguments-function): Declare.
6753
3952e9d8
GM
6754 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
6755 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
6756 (appt-check): Doc fixes.
6757 (appt-disp-window-function, appt-delete-window-function):
6758 Remove needless special case in custom :type.
6759 (appt-display-count): Default to 0, not nil.
6760 (appt-check): Reset appt-display-count to 0, not nil.
6761
c71a0d48 67622011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 6763
c71a0d48
GM
6764 * progmodes/python.el (python-font-lock-keywords):
6765 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 6766
31d55be9
SM
67672011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
6768
6769 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
6770
3bfacb2f
KR
67712011-05-16 Kevin Ryde <user42@zip.com.au>
6772
6773 * info-look.el (makefile-automake-mode): New setups, looking in
6774 automake manual, then makefile-mode.
6775 (makefile-mode): Remove automake manual, have it just in
6776 makefile-automake-mode since there's various things different or
6777 not relevant to plain make.
6778 (makefile-mode): Remove "other-modes" non-existent automake-mode,
6779 believe a hypothetical automake-mode would go to makefile-mode,
6780 not the other way around.
6781
c8e83751
CY
67822011-05-15 Chong Yidong <cyd@stupidchicken.com>
6783
5e9e35cd
CY
6784 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
6785 hunk-end tags (Bug#8672).
6786
c8e83751
CY
6787 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
6788 vc-annotate-show-diff-revision-at-line (Bug#8671).
6789
50b23e5a
GM
67902011-05-14 Glenn Morris <rgm@gnu.org>
6791
7210a739
GM
6792 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
6793 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
6794 (change-log-font-lock-keywords): Also handle multiple author lines
6795 with leading tabs. (Bug#8644)
7210a739 6796
4691905a
GM
6797 * calendar/appt.el (appt-check): Rename some local variables.
6798 Some simplification/reordering.
6799
50b23e5a
GM
6800 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
6801 (feedmail-sendmail-f-doesnt-sell-me-out)
6802 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
6803 (feedmail-debug-sit-for, feedmail-queue-express-hook)
6804 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
6805 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
6806 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
6807 (feedmail-binmail-gnulinuxish-template):
6808 Rename from feedmail-binmail-linuxish-template.
6809 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
6810 Use insert-buffer-substring.
6811
215cda7c
BC
68122011-05-14 Bill Carpenter <bill@carpenter.org>
6813
6814 * mail/feedmail.el (feedmail-patch-level): Increase.
6815 (feedmail-debug): New custom group.
6816 (feedmail-confirm-outgoing-timeout)
6817 (feedmail-sendmail-f-doesnt-sell-me-out)
6818 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
6819 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
6820 (feedmail-sender-line, feedmail-from-line)
6821 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 6822 (feedmail-spray-this-address)
215cda7c
BC
6823 (feedmail-spray-address-fiddle-plex-list)
6824 (feedmail-queue-use-send-time-for-date)
6825 (feedmail-queue-use-send-time-for-message-id)
6826 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
6827 (feedmail-buffer-eating-function):
6828 Doc fixes.
6829 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
6830 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
6831 (feedmail-message-action-scroll-down): New functions.
6832 (feedmail-queue-directory, feedmail-queue-draft-directory):
6833 Use expand-file-name.
6834 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
6835 Remove C-v help entry.
6836 (feedmail-queue-buffer-file-name): New variable.
6837 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
6838 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
6839 (feedmail-message-action-send-strong, feedmail-message-action-edit)
6840 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
6841 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
6842 (feedmail-message-action-toggle-spray)
6843 (feedmail-run-the-queue-no-prompts)
6844 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
6845 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
6846 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
6847 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
6848 (feedmail-envelope-deducer, feedmail-fiddle-from)
6849 (feedmail-fiddle-sender, feedmail-default-date-generator)
6850 (feedmail-fiddle-date, feedmail-fiddle-message-id)
6851 (feedmail-fiddle-spray-address)
6852 (feedmail-fiddle-list-of-spray-fiddle-plexes)
6853 (feedmail-fiddle-list-of-fiddle-plexes)
6854 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
6855 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
6856 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
6857 Change default. Doc fix.
6858 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
6859 (feedmail-binmail-linuxish-template): New constant.
6860 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
6861 Respect feedmail-sendmail-f-doesnt-sell-me-out.
6862 (feedmail-send-it): Add debug call.
6863 Use feedmail-queue-buffer-file-name, and
6864 feedmail-send-it-immediately-wrapper.
6865 (feedmail-message-action-send): Add debug call.
6866 Use feedmail-send-it-immediately-wrapper.
6867 (feedmail-queue-express-to-queue): Add debug call.
6868 Run feedmail-queue-express-hook.
6869 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
6870 (feedmail-message-action-help-blat):
6871 Rename from feedmail-queue-send-edit-prompt-help-first.
6872 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
6873 Check line-endings. Handle errors better.
6874 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
6875 Doc fix. Add debug call.
6876 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
6877 Use feedmail-queue-send-edit-prompt-inner.
6878 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
6879 (feedmail-queue-send-edit-prompt-inner): New function, extracted
6880 from feedmail-queue-send-edit-prompt.
6881 (feedmail-queue-send-edit-prompt-help)
6882 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
6883 (feedmail-tidy-up-slug): Add debug call.
6884 Respect feedmail-queue-slug-suspect-regexp.
6885 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
6886 (feedmail-dump-message-to-queue): Add debug call.
6887 Expand queue-directory.
6888 (feedmail-dump-message-to-queue): Change message slightly.
6889 Use feedmail-say-chatter.
6890 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
6891 (feedmail-send-it-immediately-wrapper): New function.
6892 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
6893 Insert empty string rather than newline. Handle full-frame case.
6894 Use catch/throw. Use feedmail-say-chatter.
6895 (feedmail-fiddle-from): Try mail-host-address.
6896 (feedmail-default-message-id-generator): Doc fix.
6897 Bind system-time-locale. Handle missing end.
6898 (feedmail-fiddle-x-mailer): Add debug call.
6899 Handle feedmail-x-mailer-line being nil.
6900 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
6901 Add debug call. Use buffer-substring-no-properties.
6902 (feedmail-say-debug, feedmail-say-chatter): New functions.
6903 (feedmail-find-eoh): Give an explicit error.
6904
42c7e61e
UJ
69052011-05-13 Ulf Jasper <ulf.jasper@web.de>
6906
c2571358 6907 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 6908 family from helvetica to sans.
c2571358 6909 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
6910 etc/images/newsticker.
6911
c2571358 6912 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
6913 family from helvetica to sans.
6914
6915 * net/newst-plainview.el (newsticker-new-item-face)
6916 (newsticker-old-item-face, newsticker-immortal-item-face)
6917 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 6918 (newsticker-statistics-face): Change default family from
42c7e61e 6919 helvetica to sans.
c2571358 6920 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
6921 etc/images/newsticker.
6922
6923 * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
6924 (newsticker--process-auto-mark-filter-match): : Tell user about
6925 auto-marking.
6926
8497a297
DV
69272011-05-13 Didier Verna <didier@xemacs.org>
6928
6929 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
6930 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
6931 TODO entries.
8497a297
DV
6932 (lisp-lambda-list-keyword-parameter-indentation)
6933 (lisp-lambda-list-keyword-parameter-alignment)
6934 (lisp-lambda-list-keyword-alignment): New customizable user options.
6935 (lisp-indent-defun-method): Improve docstring.
6936 (extended-loop-p): Fix comment.
6937 (lisp-indent-lambda-list-keywords-regexp): New variable.
6938 (lisp-indent-lambda-list): New function.
6939 (lisp-indent-259): Use it.
6940 (lisp-indent-defmethod): Support for more than one
6941 method qualifier and properly indent methods lambda-lists.
6942 (defgeneric): Provide a missing common-lisp-indent-function property.
6943
f278f87f
SM
69442011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
6945
6946 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
6947 bounds for the empty string (bug#8667).
6948
5233edd7
GM
69492011-05-13 Glenn Morris <rgm@gnu.org>
6950
5237a44f
GM
6951 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
6952
8340026c 6953 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 6954 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 6955
5233edd7 6956 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 6957 (appt-time-msg-list): Doc fix.
a5464014 6958 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 6959
92d10796
AS
69602011-05-12 Andreas Schwab <schwab@linux-m68k.org>
6961
6962 * progmodes/ld-script.el (ld-script-keywords)
6963 (ld-script-builtins): Update keywords list.
6964
914a0ae1
SM
69652011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
6966
c89be45f
SM
6967 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
6968
914a0ae1
SM
6969 * shell.el (shell-completion-vars): New function.
6970 (shell-mode):
6971 * simple.el (read-shell-command): Use it.
6972 (blink-matching-open): No need for " [...]" in minibuffer-message.
6973
98dc3df3
GM
69742011-05-12 Glenn Morris <rgm@gnu.org>
6975
6976 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
6977 (appt-check): Simplify.
6978
d2fc7e3d 69792011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 6980
4d61f28d 6981 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
6982 literal "/dev/null".
6983
d2fc7e3d 69842011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
6985
6986 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
6987 Fix typo.
6988
d2fc7e3d 69892011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 6990
3f254caa
SM
6991 * progmodes/which-func.el (which-function):
6992 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
6993 which might not be defined (Bug#8260).
6994
d45885f7
GM
69952011-05-12 Glenn Morris <rgm@gnu.org>
6996
6997 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
6998 Let byte-compile-initial-macro-environment always take precedence.
6999
488086f4
SM
70002011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
7001
7002 * net/rcirc.el: Add support for SSL/TLS connections.
7003 (rcirc-server-alist): New field `encryption'.
7004 (rcirc): Check `encryption' settings.
7005 (rcirc-connect): New arg `encryption'. Use open-network-stream.
7006 Merge make-local-variable into `set'.
7007 (rcirc--connection-open-p): New function.
7008 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
7009 the process is not a network process (e.g. running gnutls-cli).
7010 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
7011 Make rcirc-(en|de)code-coding-system local here.
7012 (rcirc-mode): Merge make-local-variable into `set'.
7013 (rcirc-parent-buffer): Make permanent buffer-local.
7014 (rcirc-multiline-minor-mode): Don't do it here.
7015 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
7016 there's no server buffer.
7017
7d3b9d44
GM
70182011-05-11 Glenn Morris <rgm@gnu.org>
7019
f64049c6
GM
7020 * newcomment.el (comment-kill): Prefix "unused" local.
7021
93c9df73
GM
7022 * term/w32console.el (get-screen-color): Declare.
7023
7d3b9d44
GM
7024 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
7025 Handle symbol elements of byte-compile-initial-macro-environment.
7026
9e2dd53f
LL
70272011-05-10 Leo Liu <sdl.web@gmail.com>
7028
488086f4
SM
7029 * bookmark.el (bookmark-bmenu-mode-map):
7030 Bind bookmark-bmenu-search to `/'.
8b340240 7031
9e2dd53f 7032 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
7033 (footnote-unicode-string, footnote-unicode-regexp): New variable.
7034 (Footnote-unicode): New function.
7035 (footnote-style-alist): Add unicode style to the list.
7036 (footnote-style): Doc fix.
9e2dd53f 7037
79b70037
GM
70382011-05-10 Jim Meyering <meyering@redhat.com>
7039
7040 Fix doubled-word typos.
7041 * international/quail.el (quail-insert-kbd-layout): and and -> and
7042 * kermit.el: and and -> and
7043 * net/ldap.el (ldap-search-internal): to to -> to
7044 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
7045 * progmodes/js.el (js-mode): and and -> and
7046 * textmodes/artist.el (artist-move-to-xy): at at -> at
7047 (artist-draw-region-trim-line-endings): if if -> if
7048 And Safetyc -> Safety.
7049 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
7050
b8f82dc1 70512011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 7052 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
7053
7054 * files.el (hack-one-local-variable-eval-safep):
7055 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
7056
4f99f44b
GM
70572011-05-10 Glenn Morris <rgm@gnu.org>
7058
7059 * calendar/diary-lib.el (diary-list-entries-hook)
7060 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
7061 (diary-nongregorian-marking-hook, diary-list-entries)
7062 (diary-include-other-diary-files, diary-mark-entries)
7063 (diary-mark-included-diary-files): Doc fixes.
7064
84f29e6b
JB
70652011-05-09 Juanma Barranquero <lekktu@gmail.com>
7066
7067 * misc.el: Require tabulated-list.el during compilation.
7068
9bedd73a
CY
70692011-05-09 Chong Yidong <cyd@stupidchicken.com>
7070
488086f4
SM
7071 * progmodes/compile.el (compilation-start):
7072 Run compilation-filter-hook for the async case too.
9bedd73a
CY
7073 (compilation-filter-hook): Doc fix.
7074
797c735c
DD
70752011-05-09 Deniz Dogan <deniz@dogan.se>
7076
7077 * wdired.el: Remove outdated installation comment. Fix usage
7078 comment.
7079
5f4b1dfe
JB
70802011-05-09 Juanma Barranquero <lekktu@gmail.com>
7081
7082 * misc.el: Implement new command `list-dynamic-libraries'.
7083 (list-dynamic-libraries--loaded-only-p): New variable.
7084 (list-dynamic-libraries--refresh): New function.
7085 (list-dynamic-libraries): New command.
7086
4c44026c
CY
70872011-05-09 Chong Yidong <cyd@stupidchicken.com>
7088
488086f4
SM
7089 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7090 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
7091 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
7092 higher priority to avoid clobbering by gnu.
7093
027f966d
CY
70942011-05-08 Chong Yidong <cyd@stupidchicken.com>
7095
7096 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
7097 if the face has existing theme settings (Bug#8454).
7098
085f5d7d
CY
70992011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
7100
488086f4
SM
7101 * progmodes/perl-mode.el (perl-imenu-generic-expression):
7102 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 7103
2a86a00c
RS
7104 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
7105 special file names `.' and `..' (Bug#8259).
7106
d9c54a06
CY
71072011-05-08 Chong Yidong <cyd@stupidchicken.com>
7108
488086f4
SM
7109 * progmodes/grep.el (grep-mode-font-lock-keywords):
7110 Remove buffer-changing entries.
d9c54a06
CY
7111 (grep-filter): New function.
7112 (grep-mode): Add it to compilation-filter-hook.
7113
7114 * progmodes/compile.el (compilation-filter-hook)
7115 (compilation-filter-start): New defvars.
7116 (compilation-filter): Call compilation-filter-hook prior to
7117 updating the process mark.
7118
c4662635
SM
71192011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
7120
7121 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
7122
b0512a1d
EZ
71232011-05-07 Eli Zaretskii <eliz@gnu.org>
7124
605c9376
EZ
7125 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
7126 mailclient-send-it even if window-system is nil. (Bug#8595)
7127
c4662635
SM
7128 * term/w32console.el (terminal-init-w32console):
7129 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
7130 background-mode. (Bug#8597)
7131
d1dc2cc2
SM
71322011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
7133
7134 Make bytecomp.el understand that defmethod defines funs (bug#8631).
7135 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
7136 New functions.
7137 (defgeneric, eieio--defmethod): Use them.
7138 (eieio-defgeneric): Remove.
7139 (defmethod): Call defgeneric in a way visible to the byte-compiler.
7140
915d1300
GM
71412011-05-07 Glenn Morris <rgm@gnu.org>
7142
a3961c3e
GM
7143 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
7144 Use let rather than let*.
7145 (timeclock-find-discrep): Remove unused local.
7146
314347b9
GM
7147 * calendar/diary-lib.el (diary-comment-start): Doc fix.
7148
915d1300
GM
7149 * calendar/appt.el (appt-time-msg-list): Doc fix.
7150
275b59b0
NF
71512011-05-06 Noah Friedman <friedman@splode.com>
7152
7153 * apropos.el (apropos-print-doc): Only use
7154 emacs-lisp-docstring-fill-column when it is bound to an integer,
7155 per that variable's documentation.
7156
6c19f744
SM
71572011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
7158
7159 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 7160 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 7161
60f884b2
GM
71622011-05-06 Glenn Morris <rgm@gnu.org>
7163
5006e634
GM
7164 * calendar/appt.el (appt-message-warning-time): Doc fix.
7165 (appt-warning-time-regexp): New option.
7166 (appt-make-list): Respect appt-message-warning-time.
7167
548d0a63
GM
7168 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
7169 New options.
7170 (diary-add-to-list): Strip comments from the displayed string.
7171 (diary-mode): Set comment-start and comment-end.
7172
60f884b2
GM
7173 * vc/diff-mode.el (smerge-refine-subst): Declare.
7174 (diff-refine-hunk): Don't require smerge-mode when compiling.
7175
989681bb
JB
71762011-05-06 Juanma Barranquero <lekktu@gmail.com>
7177
7178 * simple.el (list-processes): Return nil as the docstring says.
7179
a6bc05e1
MA
71802011-05-05 Michael Albinus <michael.albinus@gmx.de>
7181
7182 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
7183 to "".
7184 (ange-ftp-write-region, ange-ftp-insert-file-contents)
7185 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
7186 determining of binary transfer. (Bug#7383)
7187
23c22e9a
MA
71882011-05-05 Michael Albinus <michael.albinus@gmx.de>
7189
c4662635
SM
7190 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
7191 Fix port computation bug. (Bug#8618)
23c22e9a 7192
0bff894f
GM
71932011-05-05 Glenn Morris <rgm@gnu.org>
7194
b8296902
GM
7195 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
7196
1f522ce8
GM
7197 * simple.el (shell-dynamic-complete-functions)
7198 (comint-dynamic-complete-functions): Declare.
7199
cf5bee67
GM
7200 * net/network-stream.el (gnutls-negotiate):
7201 * simple.el (tabulated-list-print): Fix declarations.
7202
7203 * progmodes/gud.el (syntax-symbol, syntax-point):
7204 Remove unnecessary and incorrect declarations.
7205
0bff894f
GM
7206 * emacs-lisp/check-declare.el (check-declare-scan):
7207 Handle byte-compile-initial-macro-environment in bytecomp.el
7208
9869b3ae
SM
72092011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
7210
7211 Fix earlier half-done eieio-defmethod change (bug#8338).
7212 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
7213 Streamline and change calling convention.
7214 (defmethod): Adjust accordingly and simplify.
7215 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
7216 new eieio--defmethod.
7217 (slot-boundp): Minor CSE simplification.
7218
9c1d5ac5
MZ
72192011-05-05 Milan Zamazal <pdm@zamazal.org>
7220
7221 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
7222 (glasses-make-readable): Use glasses-separate-capital-groups.
7223
455c834e
JB
72242011-05-05 Juanma Barranquero <lekktu@gmail.com>
7225
7226 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
7227 (warning-series): Doc fix.
7228 (display-warning): Don't try to create the buffer if we just found it.
7229
9ed7c8cb
CY
72302011-05-04 Chong Yidong <cyd@stupidchicken.com>
7231
7232 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
7233 (autoload-find-generated-file): New function.
7234 (generate-file-autoloads): Bind generated-autoload-file to
7235 buffer-file-name.
9869b3ae
SM
7236 (update-file-autoloads, update-directory-autoloads):
7237 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
7238 output file (Bug#7989).
7239 (batch-update-autoloads): Doc fix.
7240
0898ca10
JB
72412011-05-04 Juanma Barranquero <lekktu@gmail.com>
7242
7243 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
7244
31dfb76c
GM
72452011-05-04 Glenn Morris <rgm@gnu.org>
7246
f330b642
GM
7247 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
7248 function, so it follows changes in calendar-date-style.
7249 (diary-fancy-date-matcher): New function.
7250 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
7251 (diary-fancy-font-lock-fontify-region-function):
7252 Use diary-fancy-date-pattern as a function.
7253
31dfb76c
GM
7254 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
7255 non-numbers for `year' etc pseudo-variables. (Bug#8583)
7256
48e79d6a
TZ
72572011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
7258
7259 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
7260 instead of positional arguments. Allow :keylist and :crlfiles
7261 arguments.
7262 (open-gnutls-stream): Call it.
7263
7264 * net/network-stream.el (network-stream-open-starttls): Adjust to
7265 call `gnutls-negotiate' with :process and :hostname arguments.
7266
dd5a5ee0
SM
72672011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
7268
ef80fc09
SM
7269 * minibuffer.el (completion--message): New function.
7270 (completion--do-completion, minibuffer-complete)
7271 (minibuffer-force-complete, minibuffer-complete-word): Use it.
7272 (completion--do-completion): Don't ignore completion-auto-help when in
7273 icomplete-mode.
7274
dd5a5ee0
SM
7275 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
7276 internal encoding (e.g. tibetan zero is not whitespace).
7277 (global-whitespace-mode): Prefer save-current-buffer.
7278 (whitespace-trailing-regexp): Remove useless save-match-data.
7279 (whitespace-empty-at-bob-regexp): Minor simplification.
7280
b7d22a83
CY
72812011-05-03 Chong Yidong <cyd@stupidchicken.com>
7282
7283 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
7284
5192af46
AM
72852011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7286
7287 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 7288 Use `concat' to create string for insertion.
5192af46 7289
5767d190
SM
72902011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
7291
7292 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
7293 Avoid open-line which runs post-self-insert-hook.
7294 (bibtex-fill-entry): Remove unused `end' var.
7295
bf242939
AM
72962011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
7297
5767d190
SM
7298 * textmodes/ispell.el (ispell-add-per-file-word-list):
7299 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 7300
25666126
LL
73012011-05-03 Leo Liu <sdl.web@gmail.com>
7302
7303 * isearch.el (isearch-yank-pop): New command.
5767d190 7304 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
7305 (isearch-forward): Mention it.
7306
52d3c2d0
SM
73072011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
7308
1bcace58
SM
7309 * simple.el (minibuffer-complete-shell-command): Remove.
7310 (minibuffer-local-shell-command-map): Use completion-at-point.
7311 (read-shell-command): Setup completion vars here instead.
7312 (read-expression-map): Bind TAB to symbol completion.
7313
52d3c2d0
SM
7314 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
7315 error directly rather via storing it into `results'.
7316
35813471
LL
73172011-05-02 Leo Liu <sdl.web@gmail.com>
7318
7319 * vc/diff.el: Fix description.
7320
e793a940
LMI
73212011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
7322
7323 * server.el (server-eval-at): New function.
7324
8de66e05
LMI
73252011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
7326
7327 * net/network-stream.el (open-network-stream): Take a :nowait
7328 parameter and pass it on to `make-network-process'.
7329 (network-stream-open-plain): Ditto.
7330
dcb79f20
AS
73312011-04-30 Andreas Schwab <schwab@linux-m68k.org>
7332
7333 * faces.el (face-spec-set-match-display): Don't match toolkit
7334 options on terminal frames.
7335
14a7fbd8
SM
73362011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
7337
7eabc1be
SM
7338 * progmodes/pascal.el: Use lexical binding.
7339 (pascal-mode-map): Remove author preferences.
7340
14a7fbd8
SM
7341 * pcomplete.el (pcomplete-std-complete): Don't abuse
7342 completion-at-point.
7343
50f84510
JB
73442011-04-28 Juanma Barranquero <lekktu@gmail.com>
7345
6e087a44
JB
7346 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
7347 removing code that has been dead since 1991 or so.
7348
50f84510
JB
7349 * startup.el (command-line): When warning about "_emacs", use a
7350 delayed warning to allow the user to filter it out.
7351
0ba690bd
DD
73522011-04-28 Deniz Dogan <deniz@dogan.se>
7353
7354 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
7355 user has not joined.
7356
08abfaad
SM
73572011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
7358
7359 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
7360 aren't any completions at point.
7361
638f053a
JB
73622011-04-28 Juanma Barranquero <lekktu@gmail.com>
7363
7364 * subr.el (display-delayed-warnings): New function.
7365 (delayed-warnings-hook): New variable.
7366
8fff8daa
SM
73672011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
7368
08abfaad
SM
7369 * minibuffer.el (completion-at-point, completion-help-at-point):
7370 Don't presume that a given completion-at-point-function will always
7371 use the same calling convention.
7372
8fff8daa
SM
7373 * pcomplete.el (pcomplete-completions-at-point):
7374 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
7375 pcomplete-seen is non-nil.
7376 (pcomplete-comint-setup): Also recognize the new comint/shell
7377 completion functions.
7378 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
7379 pcomplete-seen is non-nil.
7380
841a1577 73812011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 7382
841a1577 7383 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 7384 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 7385 the first character in the entry. This allows for code to add its
211ec907
UJ
7386 own uid to the entry.
7387 (icalendar--convert-float-to-ical): Add export of
7388 `diary-float'-entries save for those with the optional DAY
7389 argument.
7390
2a782793
DC
73912011-04-27 Daniel Colascione <dan.colascione@gmail.com>
7392
7393 * subr.el (shell-quote-argument): Use alternate escaping strategy
7394 when we spot a variable reference in a string.
7395
0438ce91
DC
73962011-04-26 Daniel Colascione <dan.colascione@gmail.com>
7397
7398 * cus-start.el (all): Define customization for debug-on-event.
7399
841a1577 74002011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
7401
7402 * subr.el (shell-quote-argument): Escape correctly under Windows.
7403
d090ed6c
SM
74042011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
7405
7406 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
7407
bfd31217
MA
74082011-04-25 Michael Albinus <michael.albinus@gmx.de>
7409
d090ed6c
SM
7410 * net/tramp.el (tramp-process-actions): Add POS argument.
7411 Delete region between POS and (pos).
bfd31217 7412
d090ed6c
SM
7413 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
7414 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
7415 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
7416
7417 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
7418 position in `tramp-process-actions' call.
7419
7420 * net/trampver.el: Update release number.
7421
e92f3bd3
SM
74222011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
7423
850256b5
SM
7424 * custom.el (defcustom): Obey lexical-binding.
7425
e92f3bd3
SM
7426 Fix octave-inf completion problems reported by Alexander Klimov.
7427 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
7428 Inherit from octave-mode-syntax-table.
7429 (inferior-octave-mode): Set info-lookup-mode.
7430 (inferior-octave-completion-at-point): New function.
7431 (inferior-octave-complete): Use it and completion-in-region.
7432 (inferior-octave-dynamic-complete-functions): Use it as well, and use
7433 comint-filename-completion.
7434 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
7435 symbol elements which shouldn't be word elements.
7436 (octave-font-lock-keywords, octave-beginning-of-defun)
7437 (octave-function-header-regexp): Adjust regexps accordingly.
7438 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
7439
cd22b309
JB
74402011-04-25 Juanma Barranquero <lekktu@gmail.com>
7441
7442 * net/gnutls.el (gnutls-errorp): Declare before first use.
7443
8b492194
TZ
74442011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
7445
7446 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
7447 verify-error, and verify-hostname-error parameters. Check whether
cd22b309
JB
7448 default trustfile exists before going to use it. Add missing
7449 argument to gnutls-message-maybe call. Return return value.
8b492194
TZ
7450 Reported by Claudio Bley <claudio.bley@gmail.com>.
7451 (open-gnutls-stream): Add usage example.
7452
7453 * net/network-stream.el (network-stream-open-starttls): Give host
7454 parameter to `gnutls-negotiate'.
7455 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 7456 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 7457
841a1577 74582011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 7459
cd22b309
JB
7460 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
7461 Use correct match group (bug#8438).
05842630 7462
3ba7869c
CY
74632011-04-24 Chong Yidong <cyd@stupidchicken.com>
7464
512e3ae1
CY
7465 * emacs-lisp/package.el (package-built-in-p): Fix typo.
7466 (package-menu--generate): New arg specifying packages to show.
7467 (package-menu-refresh, package-menu-execute, list-packages):
7468 Callers changed.
7469 (package-show-package-list): New function, replacing deleted
7470 package--list-packages (renamed because it is non-internal).
7471
7472 * finder.el (finder-list-matches): Use package-show-package-list
7473 instead of deleted package--list-packages.
7474
e92f3bd3
SM
7475 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
7476 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
7477 (vc-annotate-mode-map): Bind it to RET.
7478
7031be6d
UR
74792011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
7480
7481 * progmodes/etags.el (next-file): Don't use set-buffer to change
7482 buffers (Bug#8478).
7483
4ef177aa
CY
74842011-04-24 Chong Yidong <cyd@stupidchicken.com>
7485
c8d173eb
CY
7486 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
7487
4ef177aa
CY
7488 * apropos.el (apropos-label-face): Avoid variable-pitch face.
7489 (apropos-accumulator): Doc fix.
7490 (apropos-function, apropos-macro, apropos-command)
7491 (apropos-variable, apropos-face, apropos-group, apropos-widget)
7492 (apropos-plist): Add face property.
7493 (apropos-symbols-internal): Fix indentation.
7494 (apropos-print): Simplify help, and recognize apropos-multi-type.
7495 (apropos-print-doc): Use button-type-get to extract the button's
7496 face property. Fill docstring (Bug#8352).
7497
4ffd0d6b 74982011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
7499
7500 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
7501
c6c32125 7502 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 7503 (mpuz-mode-map): Use mapc.
c6c32125
JB
7504 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
7505 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
7506 Fix typos in docstrings.
7507
58d468b4
JB
7508 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
7509 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
7510
6470c3c6
JB
7511 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
7512
4ffd0d6b 75132011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
7514
7515 * minibuffer.el (completion--do-completion): Avoid the "Next char
7516 not unique" prompt if icomplete-mode is enabled (Bug#5849).
7517
3ad8bad0
CY
7518 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
7519 mouse-2 into unread-command-events, it is interpreted correctly.
7520
71d73c9c 7521 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 7522 (image-toggle-display): Doc fix.
71d73c9c 7523
841a1577 75242011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 7525
4ffd0d6b
GM
7526 * textmodes/page.el (what-page): Use line-number-at-pos to
7527 calculate line number (Bug#6825).
6e1dbaa9 7528
c2fb1b60
JB
75292011-04-22 Juanma Barranquero <lekktu@gmail.com>
7530
7531 * eshell/esh-mode.el (find-tag-interactive): Declare function.
7532 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
7533 Pass argument NO-DEFAULT to `find-tag-interactive'.
7534
e02f48d7
JB
75352011-04-22 Juanma Barranquero <lekktu@gmail.com>
7536
7537 Lexical-binding cleanup.
7538
7539 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
7540 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
7541 * progmodes/ada-prj.el (ada-prj-initialize-values)
7542 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
7543 (ada-prj-show-value):
7544 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
7545 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
7546 (antlr-invalidate-context-cache, antlr-options-menu-filter)
7547 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
7548 * progmodes/bug-reference.el (bug-reference-push-button):
7549 * progmodes/fortran.el (fortran-line-length):
7550 * progmodes/glasses.el (glasses-change):
7551 * progmodes/octave-mod.el (octave-fill-paragraph):
7552 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
7553 (python-pdbtrack-grub-for-buffer, python-sentinel):
7554 * progmodes/sql.el (sql-save-connection):
7555 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
7556 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
7557 Mark unused parameters.
7558
7559 * progmodes/compile.el (compilation--flush-directory-cache)
7560 (compilation--flush-parse, compile-internal): Mark unused parameters.
7561 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
7562 (compilation-next-error-function): Remove unused variable `timestamp'.
7563
7564 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
7565 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
7566
7567 * progmodes/dcl-mode.el (dcl-end-of-command):
7568 Remove unused variable `start'.
7569 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
7570 (dcl-option-value-basic, dcl-option-value-offset)
7571 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
7572 Mark unused parameters.
7573 (dcl-save-local-variable): Remove unused variable `val'.
7574 (mode): Declare.
7575
7576 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
7577 Mark unused parameters.
7578 (delphi-ignore-changes): Move before first use.
7579 (delphi-charset-token-at): Remove unused variable `start'.
7580 (delphi-else-start): Remove unused variable `if-count'.
7581 (delphi-comment-block-start, delphi-comment-block-end):
7582 Remove unused variable `kind'.
7583 (delphi-indent-line): Remove unused variable `new-point'.
7584
7585 * progmodes/ebrowse.el (ebrowse-files-list)
7586 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
7587 Mark unused parameters. Don't quote `lambda'.
7588 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
7589 Don't quote `lambda'.
7590 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
7591 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
7592 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
7593 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
7594 Use `ignore-errors'.
7595 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
7596 (ebrowse-view/find-file-and-search-pattern)
7597 (ebrowse-view/find-member-declaration/definition):
7598 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
7599 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
7600 Rename parameter PREFIX-ARG to PREFIX.
7601 (ebrowse-tags-read-name): Remove unused variables `start' and
7602 `member-info'.
7603 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
7604 to `tags-file'.
7605
7606 * progmodes/etags.el (local-find-tag-hook): Declare.
7607 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
7608 Mark unused parameters.
7609
7610 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
7611 (executable-interpret): Mark unused parameter.
7612
7613 * progmodes/flymake.el (flymake-process-sentinel)
7614 (flymake-after-change-function)
7615 (flymake-create-temp-with-folder-structure)
7616 (flymake-get-include-dirs-dot): Mark unused parameters.
7617 (flymake-safe-delete-directory): Remove unused variable `err'.
7618
7619 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
7620 (speedbar-timer-fn, speedbar-line-text)
7621 (speedbar-change-expand-button-char, speedbar-delete-subblock)
7622 (speedbar-center-buffer-smartly): Declare functions.
7623 (gdb-find-watch-expression): Remove unused variable `array'.
7624 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
7625 (gdb-starting): Mark unused parameters.
7626 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
7627 (gdb-table-string): Remove unused variable `res'.
7628 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
7629 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
7630 (gdb-display-buffer): Remove unused variable `cur-size'.
7631
7632 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
7633 allow lexical-binding compilation.
7634 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
7635 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
7636 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
7637 Mark unused parameters.
7638 (gud-gdb-marker-filter): Remove unused variable `match'.
7639 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
7640 lambda expressions and funcall them, instead of using `fset'.
7641
7642 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
7643 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
7644
7645 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
7646 variable `header-beg'; use `let'.
7647
7648 * progmodes/icon.el (indent-icon-exp): Remove unused variables
7649 `restart', `last-sexp' and `at-do'.
7650
7651 * progmodes/js.el (js--debug): Mark unused parameter.
7652 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
7653 (js--splice-into-items): Remove unused variable `item'.
7654 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
7655
7656 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
7657 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
7658 (makefile-complete): Remove unused variable `try'.
7659 (makefile-fill-paragraph, makefile-match-function-end):
7660 Mark unused parameters.
7661
7662 * progmodes/octave-inf.el (inferior-octave-complete):
7663 Remove unused variable `proc'.
7664 (inferior-octave-output-digest): Mark unused parameter.
7665
7666 * progmodes/perl-mode.el (perl-calculate-indent):
7667 Remove unused variable `err'.
7668
7669 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
7670 (prolog-indent-line): Mark unused parameters.
7671 (prolog-indent-line): Remove unused variable `beg'.
7672
7673 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
7674 (reporter-dont-compact-list): Declare.
7675
7676 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
7677 Remove unused variable `char'.
7678 (sh-debug): Mark unused parameter.
7679 (sh-get-indent-info): Remove unused variable `start'.
7680 (sh-calculate-indent): Remove unused variable `var'.
7681
7682 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
7683 (simula-electric-keyword): Remove unused variable `null'.
7684 (simula-search-backward, simula-search-forward): Remove unused
7685 variables `begin' and `end'.
7686
7687 * progmodes/vera-mode.el (vera-guess-basic-syntax):
7688 Remove unused variable `pos'.
7689 (vera-electric-tab, vera-comment-uncomment-region):
7690 Mark unused parameters.
7691 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
7692
7ede3b65
CY
76932011-04-22 Chong Yidong <cyd@stupidchicken.com>
7694
7695 * emacs-lisp/package.el (package--builtins, package-alist)
7696 (package-load-descriptor, package-built-in-p, package-activate)
7697 (define-package, package-installed-p)
7698 (package-compute-transaction, package-buffer-info)
7699 (package--push): Doc fix. Distinguish more clearly between
7700 version strings and version lists.
7701
121656e9
JB
77022011-04-21 Juanma Barranquero <lekktu@gmail.com>
7703
7704 Lexical-binding cleanup.
7705
7706 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
7707 (5x5-make-mutate-best):
7708 * play/fortune.el (fortune-in-buffer):
7709 * play/gomoku.el (gomoku-init-display):
7710 * play/solitaire.el (solitaire, solitaire-do-check):
7711 * play/tetris.el (tetris-default-update-speed-function):
7712 Mark unused parameters.
7713
7714 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
7715 (bubbles--shift): Remove unused variable `char-org'.
7716 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
7717 (bubbles--show-images): Remove unused variable `char'.
7718
7719 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
7720 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
7721 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
7722 (decipher-analyze-buffer): Use ?\s.
7723 (decipher-make-checkpoint): Remove unused variable `mapping'.
7724
7725 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
7726
7727 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
7728 Remove unused variable `result'; use `let'.
7729
7730 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
7731 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
7732 (gametree-children-shown-p, gametree-compute-reduced-score):
7733 Use `ignore-errors'.
7734
7735 * play/handwrite.el (ps-lpr-switches): Declare.
7736 (handwrite): Remove unused variables `pmin' and `lastp'.
7737
7738 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
7739
7740 * play/landmark.el (landmark-init-display)
7741 (landmark-update-naught-weights): Mark unused parameters.
7742 (landmark-y): Remove unused variable `noise'. Simplify.
7743 (landmark-human-plays): Remove unused variable `score'.
7744
7745 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
7746 (mpuz-try-proposal): Remove unused variable `game'.
7747
7748 * play/zone.el (life-patterns): Declare.
7749
80f499c7
JB
77502011-04-20 Juanma Barranquero <lekktu@gmail.com>
7751
7752 * vc/vc.el (ediff-vc-internal): Declare function.
7753
024ff170
SM
77542011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
7755
c0a193ea
SM
7756 * shell.el: Use lexical-binding and std completion UI.
7757 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
7758 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
7759 comint-preoutput-filter-functions rather than on
7760 comint-output-filter-functions.
7761 (shell-command-completion, shell--command-completion-data)
7762 (shell-filename-completion, shell-environment-variable-completion)
7763 (shell-c-a-p-replace-by-expanded-directory): New functions.
7764 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
7765 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
7766 (shell-dynamic-complete-environment-variable): Use them.
7767 (shell-dynamic-complete-as-environment-variable)
7768 (shell-dynamic-complete-as-command): Remove.
7769 (shell-match-partial-variable): Match past point.
7770 * comint.el: Clean up use of completion-at-point-functions.
7771 (comint-completion-at-point): New function.
7772 (comint-mode): Use it completion-at-point-functions.
7773 (comint-dynamic-complete): Make it obsolete.
7774 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
7775 (comint-c-a-p-replace-by-expanded-history): New function.
7776 (comint-dynamic-complete-functions)
7777 (comint-replace-by-expanded-history): Use it.
7778 * minibuffer.el (completion-table-with-terminator): Allow dynamic
7779 termination strings. Try harder to avoid second try-completion.
7780 (completion-in-region-mode-map): Disable bindings that don't work yet.
7781
2dbaa080
SM
7782 * comint.el: Use lexical-binding. Require CL.
7783 (comint-dynamic-complete-functions): Use comint-filename-completion.
7784 (comint-completion-addsuffix): Tweak custom type.
7785 (comint-filename-completion, comint--common-suffix)
7786 (comint--common-quoted-suffix, comint--table-subvert)
7787 (comint--complete-file-name-data): New functions.
7788 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
7789 (comint-dynamic-list-filename-completions): Use them.
7790 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 7791
2dbaa080
SM
7792 * minibuffer.el (completion-in-region-mode):
7793 Keep completion-in-region-mode--predicate global.
7794 (completion-in-region--postch):
7795 Assume completion-in-region-mode--predicate is not null.
7796
c79a6f38
SM
7797 * progmodes/flymake.el (flymake-start-syntax-check-process):
7798 Obey `dir'. Simplify.
7799
024ff170
SM
7800 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
7801 we're in VC after all.
7802
1c6c854e
CS
78032011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
7804
7805 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 7806 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
7807 (vc-version-diff): Use vc-diff-build-argument-list-internal.
7808
bed7f140
SM
78092011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
7810
332e62ab
SM
7811 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
7812 add sanity check.
7813
bed7f140
SM
7814 * obsolete/erc-hecomplete.el: Make obsolete.
7815 * obsolete/: Standardize obsolescence info in the header.
7816
f195c582
GM
78172011-04-20 Glenn Morris <rgm@gnu.org>
7818
7819 * calendar/solar.el (solar-horizontal-coordinates):
7820 Use the longitude argument rather than `calendar-longitude'.
7821 (solar-date-next-longitude): Remove unused locals.
7822
cb79b8c0
VJL
78232011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
7824
7825 * whitespace.el: New version 13.2.1.
7826
78272011-04-20 felix <EmacsWiki> (tiny change)
7828
d8e4b68b 7829 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
7830 switching between major modes on a file.
7831
602ea69d
SM
78322011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
7833
7834 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
7835 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
7836 multi-line comments as well.
7837
06b60517
JB
78382011-04-19 Juanma Barranquero <lekktu@gmail.com>
7839
7840 Lexical-binding cleanup.
7841
7842 * arc-mode.el (archive-mode-revert):
7843 * cmuscheme.el (scheme-interactively-start-process):
7844 * custom.el (custom-initialize-delay):
7845 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
7846 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
7847 * emacs-lock.el (emacs-lock-clear-sentinel):
7848 * ezimage.el (defezimage):
7849 * follow.el (follow-avoid-tail-recenter):
7850 * fringe.el (set-fringe-mode-1):
7851 * generic-x.el (bat-generic-mode-compile):
7852 * help-mode.el (help-info-variable, help-do-xref)
7853 (help-mode-revert-buffer):
7854 * help.el (view-emacs-todo):
7855 * iswitchb.el (iswitchb-completion-help):
7856 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
7857 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
7858 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
7859 * locate.el (locate-update):
7860 * longlines.el (longlines-encode-region)
7861 (longlines-after-change-function):
7862 * outline.el (outline-isearch-open-invisible):
7863 * ps-def.el (declare-function, charset-dimension, char-width)
7864 (encode-char):
7865 * ps-mule.el (ps-mule-plot-string):
7866 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
7867 (recentf-edit-list-select, recentf-edit-list-validate)
7868 (recentf-open-files-action):
7869 * rect.el (delete-whitespace-rectangle-line)
7870 (rectangle-number-line-callback):
7871 * register.el (window-configuration-to-register)
7872 (frame-configuration-to-register):
7873 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
7874 * select.el (xselect-convert-to-string, xselect-convert-to-length)
7875 (xselect-convert-to-targets, xselect-convert-to-delete)
7876 (xselect-convert-to-filename, xselect-convert-to-charpos)
7877 (xselect-convert-to-lineno, xselect-convert-to-colno)
7878 (xselect-convert-to-os, xselect-convert-to-host)
7879 (xselect-convert-to-user, xselect-convert-to-class)
7880 (xselect-convert-to-name, xselect-convert-to-integer)
7881 (xselect-convert-to-atom, xselect-convert-to-identity):
7882 * subr.el (declare, ignore, process-kill-without-query)
7883 (text-clone-maintain):
7884 * terminal.el (te-get-char, te-tic-sentinel):
7885 * tool-bar.el (tool-bar-make-keymap):
7886 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
7887 * type-break.el (type-break-mode, type-break-noninteractive-query):
7888 * view.el (View-back-to-mark):
7889 * wid-browse.el (widget-browse-action, widget-browse-widget)
7890 (widget-browse-widgets, widget-browse-sexp):
7891 * widget.el (define-widget-keywords):
7892 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
7893 Mark unused parameters.
7894
7895 * align.el (align-adjust-col-for-rule): Mark unused parameter.
7896 (align-areas): Remove unused variable `look'.
7897 (align-region): Remove unused variables `real-end' and `pos-list'.
7898
7899 * apropos.el (apropos-score-doc): Remove unused variable `i'.
7900
7901 * bindings.el (mode-line-modified, mode-line-remote):
7902 Mark unused parameters.
7903 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
7904
7905 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
7906 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
7907
7908 * comint.el (comint-history-isearch-pop-state)
7909 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
7910 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
7911 (comint-substitute-in-file-name): Doc fix.
7912
7913 * completion.el (cmpl-statistics-block): Mark unused parameter.
7914 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
7915 (save-completions-to-file, load-completions-from-file):
7916 Remove unused local variable `e'.
7917
7918 * composite.el (compose-chars): Remove unused variable `len'.
7919 (lgstring-insert-glyph): Remove unused variable `g'.
7920 (compose-glyph-string): Remove unused variables `ascent',
7921 `descent', `lbearing' and `rbearing'.
7922 (compose-glyph-string-relative): Remove unused variables
7923 `lbearing', `rbearing' and `wadjust'.
7924 (compose-gstring-for-graphic): Remove unused variables `header',
7925 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
7926 (compose-gstring-for-terminal): Remove unused variables `header'
7927 and `nchars'. Use `let', not `let*'.
7928
7929 * cus-edit.el (Custom-set, Custom-save, custom-reset)
7930 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
7931 (Custom-buffer-done, custom-buffer-create-internal)
7932 (custom-browse-visibility-action, custom-browse-group-tag-action)
7933 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
7934 (widget-magic-mouse-down-action, custom-toggle-parent)
7935 (custom-add-parent-links, custom-toggle-hide-variable)
7936 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
7937 (custom-toggle-hide-face, face, hook, custom-group-link-action)
7938 (custom-face-menu-create, custom-variable-menu-create, get)
7939 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
7940 (custom-reset-standard-save-and-update): Remove unused variable `value'.
7941 (customize-apropos): Remove unused variable `tests'.
7942 (custom-group-value-create): Remove unused variable `hidden-p'.
7943 (sort-fold-case): Declare.
7944
7945 * cus-theme.el (custom-reset-standard-faces-list)
7946 (custom-reset-standard-variables-list): Declare.
7947 (customize-create-theme, custom-theme-revert, custom-theme-write)
7948 (custom-theme-choose-mode, customize-themes, custom-theme-save):
7949 Mark unused parameters.
7950
7951 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
7952
7953 * delim-col.el (delimit-columns-max): Move defvar before first use.
7954
7955 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 7956 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
7957
7958 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
7959 (auto-insert): Declare.
7960 (desktop-restore-file-buffer): Rename desktop-* parameters;
7961 mark unused ones.
7962 (desktop-create-buffer): Rename desktop-* parameters and bind them.
7963 (desktop-buffer): Rename desktop-* parameters.
7964
7965 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
7966 (dframe-reposition-frame-xemacs, dframe-help-echo)
7967 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
7968 Mark unused parameters.
7969
7970 * dired-aux.el (backup-extract-version-start, overwrite-query)
7971 (overwrite-backup-query, rename-regexp-query)
7972 (rename-non-directory-query): Declare.
7973 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
7974 (dired-add-entry): Remove unused variable `orig-file-name'.
7975 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
7976 Use parameter PRESERVE-TIME instead of accessing dynamic variable
7977 `dired-copy-preserve-time' directly.
7978 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
7979 (dired-insert-subdir-newpos): Rename unused variable `pos'.
7980
7981 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
7982 (dired-virtual-revert, dired-make-relative-symlink):
7983 Mark unused parameters.
7984 (manual-program): Declare.
7985 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
7986 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
7987 wrapped in `with-no-warnings' to avoid replacing one warning by another.
7988
7989 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
7990
7991 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
7992
7993 * echistory.el (electric-history-in-progress, Helper-return-blurb):
7994 Declare.
7995
7996 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
7997
7998 * electric.el (Electric-command-loop): Rename parameter
7999 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
8000
8001 * expand.el (expand-in-literal): Remove unused variable `here'.
8002
8003 * facemenu.el (facemenu-add-new-color):
8004 Remove unused variable `docstring'.
8005
8006 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
8007 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
8008 (face-attr-construct): Mark unused parameter. Doc fix.
8009 (read-color): Remove unused variable `hex-string'.
8010
8011 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
8012 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
8013 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
8014 (display-buffer-other-frame): Remove unused variable `old-window'.
8015 (kill-buffer-hook): Declare.
8016 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
8017 Mark unused parameters.
8018 (after-find-file): Pass 1 to `auto-save-mode', not t.
8019
8020 * files-x.el (auto-insert): Declare.
8021 (modify-file-local-variable-prop-line): Remove unused variable `val'.
8022
8023 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 8024 variable `buf'. Mark unused parameter.
06b60517
JB
8025 (find-lisp-insert-directory): Mark unused parameter.
8026
8027 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
8028 (format-encode-region): Remove unused variables `cur-buf' and `result'.
8029 (format-common-tail): Remove, unused.
8030 (format-deannotate-region): Remove unused variable `loc'.
8031 (format-annotate-region): Remove unused variable `p'.
8032 (format-annotate-single-property-change): Remove unused variables
8033 `default' and `tail'.
8034
8035 * forms.el (read-file-filter): Declare.
8036 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
8037
8038 * frame.el (frame-creation-function-alist): Mark unused parameter.
8039 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
8040
8041 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
8042 Remove unused parameters.
8043 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
8044 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
8045
8046 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
8047 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
8048 (hfy-prepare-tag-map): Mark unused parameters.
8049 (htmlfontify-buffer): Use `called-interactively-p'.
8050
8051 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
8052 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
8053 (ibuffer-do-occur): Mark unused parameters.
8054 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
8055 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
8056
8057 * ibuffer.el: Don't quote `lambda'.
8058 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
8059 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
8060 Mark unused parameters.
8061
8062 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
8063 (ido-completing-read): Mark unused parameters.
8064 (ido-copy-current-word): Mark unused parameters;
8065 remove unused variable `name'.
8066 (ido-sort-merged-list): Remove unused parameter `dirs'.
8067
8068 * ielm.el (ielm-input-sender): Mark unused parameter.
8069 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
8070 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
8071 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
8072 `ielm-string' as a dynamic variable accessible from the IELM prompt.
8073 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
8074
8075 * image-dired.el (image-dired-display-thumbs): Remove unused
8076 variables `curr-file' and `count'.
8077 (image-dired-remove-tag): Remove unused variable `start'.
8078 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
8079 variable `curr-file'
8080 (image-dired-rotate-original): Remove unused variable `temp-file'.
8081 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
8082 Remove unused variable `file'.
8083 (image-dired-gallery-generate): Remove unused variable `curr'.
8084 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
8085
8086 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
8087
8088 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
8089
8090 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
8091
8092 * isearch.el (minibuffer-history-symbol): Declare.
8093 (isearch-edit-string): Remove unused variable `err'.
8094 (isearch-message-prefix, isearch-message-suffix):
8095 Mark unused parameters.
8096
8097 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
8098
8099 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
8100
8101 * makesum.el (double-column): Remove unused variable `cnt'.
8102
8103 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
8104 (ido-ignore-item-temp-list): Declare.
8105
8106 * mouse-drag.el (mouse-drag-throw): Remove unused variables
8107 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
8108 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
8109 (mouse-drag-drag): Remove unused variables `mouse-delta' and
8110 `mouse-col-delta'.
8111
8112 * mouse-sel.el (mouse-extend-internal):
8113 Remove unused variable `orig-window-frame'.
8114
8115 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
8116 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
8117 Move declarations before first use.
8118 (pcomplete-opt): Mark unused parameters; doc fix.
8119
8120 * proced.el (proced-revert): Mark unused parameter.
8121 (proced-send-signal): Remove unused variable `err'.
8122
8123 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
8124 Rename parameter PREFIX-ARG to ARG.
8125 (ps-basic-plot-string, ps-basic-plot-whitespace):
8126 Mark unused parameters.
8127
8128 * replace.el (replace-count): Define.
8129 (occur-revert-function): Mark unused parameters.
8130 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
8131 (isearch-case-fold-search, isearch-string): Declare.
8132 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
8133 bind `case-fold-search'. Remove unused variables `beg' and `end',
8134 and simplify.
8135 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
8136 COUNT and bind `replace-count'.
8137 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
8138 to COUNT.
8139
8140 * savehist.el (print-readably, print-string-length): Declare.
8141
8142 * shadowfile.el (shadow-expand-cluster-in-file-name):
8143 Remove unused variable `cluster'.
8144 (shadow-copy-file): Remove unused variable `i'.
8145 (shadow-noquery, shadow-clusters, shadow-site-cluster)
8146 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
8147 (shadow-define-literal-group, shadow-define-regexp-group)
8148 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
8149
8150 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
8151 (shell): Use `called-interactively-p'.
8152 (shell-directory-tracker): Remove unused variable `chdir-failure'.
8153
8154 * simple.el (compilation-context-lines, comint-file-name-quote-list)
8155 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
8156 (delete-backward-char): Remove unused variable `ocol'.
8157 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
8158 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
8159 (event-apply-hyper-modifier, event-apply-shift-modifier)
8160 (event-apply-control-modifier, event-apply-meta-modifier):
8161 Mark unused parameters.
8162 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
8163 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
8164
8165 * speedbar.el (speedbar-ignored-directory-expressions)
8166 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
8167 (speedbar-find-file, speedbar-dir-follow)
8168 (speedbar-directory-buttons-follow, speedbar-tag-find)
8169 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
8170 (speedbar-buffers-line-directory, speedbar-buffer-click):
8171 Mark unused parameters.
8172 (speedbar-tag-file): Remove unused variable `mode'.
8173 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
8174
8175 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
8176
8177 * talk.el (talk): Remove unused variable `display'.
8178
8179 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
8180 (tar-write-region-annotate): Mark unused parameter.
8181
8182 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
8183 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
8184 Declare them, wrapped in `with-no-warnings' to avoid replacing one
8185 warning by another.
8186
8187 * time-stamp.el (time-stamp-string-preprocess):
8188 Remove unused variable `require-padding'.
8189
8190 * tree-widget.el (widget-glyph-enable): Declare.
8191 (tree-widget-action): Mark unused parameter.
8192
8193 * w32-fns.el (x-get-selection): Mark unused parameter.
8194 (autoload-make-program, generated-autoload-file): Declare.
8195
8196 * wdired.el (wdired-revert): Mark unused parameters.
8197 (wdired-xcase-word): Remove unused variable `err'.
8198
8199 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
8200 (whitespace-help-scroll): Remove unused variable `data-help'.
8201
8202 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
8203 (widget-image-insert, widget-after-change, default)
8204 (widget-default-format-handler, widget-default-notify)
8205 (widget-default-prompt-value, widget-info-link-action)
8206 (widget-url-link-action, widget-function-link-action)
8207 (widget-variable-link-action, widget-file-link-action)
8208 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
8209 (widget-field-prompt-internal, widget-field-action, widget-field-match)
8210 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
8211 (widget-insert-button-action, widget-delete-button-action, visibility)
8212 (widget-documentation-link-action, widget-documentation-string-action)
8213 (widget-const-prompt-value, widget-regexp-match, symbol)
8214 (widget-coding-system-prompt-value)
8215 (widget-key-sequence-value-to-external, sexp)
8216 (widget-sexp-value-to-internal, character, vector, cons)
8217 (widget-choice-prompt-value, widget-boolean-prompt-value)
8218 (widget-color--choose-action): Mark unused parameters.
8219 (widget-item-match-inline, widget-choice-match-inline)
8220 (widget-checklist-match, widget-checklist-match-inline)
8221 (widget-group-match): Rename parameter VALUES to VALS.
8222 (widget-field-value-set): Remove unused variable `size'.
8223 (widget-color-action): Remove unused variables `value' and `start'.
8224
8225 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 8226 variable `dir'. Doc fix.
06b60517
JB
8227 (windmove-find-other-window): Don't pass it.
8228
8229 * window.el (count-windows): Mark unused parameter.
8230 (bw-adjust-window): Remove unused variable `err'.
8231
8232 * woman.el (woman-file-name): Remove unused variable `default'.
8233 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
8234 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
8235 (global-font-lock-mode): Declare.
8236 (woman-decode-region): Mark unused parameter.
8237 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
8238
8239 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
8240 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
8241 (x-dnd-handle-moz-url): Remove unused variable `title'.
8242 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
8243
8244 * xml.el (xml-parse-tag, xml-parse-attlist):
8245 Remove unused variable `pos'.
8246
bc4f7f3d
GM
82472011-04-19 Glenn Morris <rgm@gnu.org>
8248
8249 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
8250 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
8251 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
8252 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
8253 * calendar/cal-html.el (cal-html-insert-minical):
8254 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
8255 (calendar-mark-date-pattern):
8256 Prefix "unused" locals.
8257
8258 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
8259 optional argument `style'.
8260
8261 * calendar/appt.el (appt-make-list):
8262 * calendar/cal-china.el (calendar-chinese-date-string):
8263 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
8264 (diary-hebrew-yahrzeit):
8265 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
8266 * calendar/calendar.el (calendar-generate-window):
8267 * calendar/time-date.el (time-to-days):
8268 Remove unused local variables.
8269
16a43933
CY
82702011-04-18 Chong Yidong <cyd@stupidchicken.com>
8271
8272 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
8273 glyphless-char-display table.
8274 (tabulated-list-glyphless-char-display): New var.
8275
7eed1860
SS
82762011-04-18 Sam Steingold <sds@gnu.org>
8277
8278 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
8279 to acknowledgments.
8280
4d2d1ccd
GM
82812011-04-17 Glenn Morris <rgm@gnu.org>
8282
8283 * calendar/diary-lib.el (diary-sexp-entry):
8284 * calendar/holidays.el (holiday-sexp):
8285 Set debug-on-error rather than the removed stack-trace-on-error.
8286
239da61d
GM
82872011-04-16 Glenn Morris <rgm@gnu.org>
8288
8289 * progmodes/f90.el: Use lexical-binding.
8290 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
8291
8b05752a
SM
82922011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
8293
daca8ba5
SM
8294 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
8295 (mail-mode): Setup mailalias completion here instead.
8296 * mail/mailalias.el: Use lexical-binding.
8297 (pattern, mailalias-done): Declare dynamic.
8298 (mail-completion-at-point-function): New function, from mail-complete.
8299 (mail-complete): Use it.
8300 (mail-completion-expand): New function.
8301 (mail-get-names): Use it.
8302 (mail-directory, mail-directory-process, mail-directory-stream):
8303 Don't use `pattern' for lexically bound arg.
8304
6f542485
SM
8305 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
8306
037e7c3f
SM
8307 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
8308 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
8309 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
8310
8b05752a
SM
8311 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
8312 (byte-save-window-excursion, byte-temp-output-buffer-setup)
8313 (byte-interactive-p): Define them again, for use when inlining
8314 old code.
8315
49093f60
JB
83162011-04-15 Juanma Barranquero <lekktu@gmail.com>
8317
8318 * loadup.el: Use `string-to-number', not `string-to-int'.
8319
b5b8e7de
SM
83202011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
8321
8322 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
8323 gud-gdb-complete-command.
8324 (gud-gdb-completions): New function, from gud-gdb-complete-command.
8325 (gud-gdb-completion-at-point): New function.
8326 (gud-gdb-completions): Remove.
8327
f42efeb5
MA
83282011-04-14 Michael Albinus <michael.albinus@gmx.de>
8329
49093f60
JB
8330 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
8331 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
8332 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
8333 whether `executable-find' is bound.
f42efeb5
MA
8334
8335 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
8336
e240cc21
SM
83372011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
8338
8339 * minibuffer.el (completion-in-region-mode-predicate)
8340 (completion-in-region-mode--predicate): New vars.
8341 (completion-in-region, completion-in-region--postch)
8342 (completion-in-region-mode): Use them.
8343 (completion--capf-wrapper): Also return the hook function.
8344 (completion-at-point, completion-help-at-point):
8345 Adjust and provide a predicate.
c2bd2ab0
SM
8346
8347 Preserve arg names for advice of subr and lexical functions (bug#8457).
8348 * help-fns.el (help-function-arglist): Consolidate the subr and
8349 new-byte-code cases. Add argument `preserve-names' to extract names
8350 from the docstring when needed.
8351 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
8352 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
8353 (ad-arglist): Use help-function-arglist's new arg.
8354 (ad-definition-type): Use cond.
8355
c183f693
JB
83562011-04-13 Juanma Barranquero <lekktu@gmail.com>
8357
06641a47
JB
8358 * autorevert.el (auto-revert-handler):
8359 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
8360 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
8361 Don't quote lambda.
8362
c183f693
JB
8363 * image-mode.el (image-transform-set-scale):
8364 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
8365
1e3b6001
G
83662011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
8367
8368 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 8369 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
8370 Upgrades via gnutls-cli are too slow to be done opportunistically.
8371
2d6af8dd
JB
83722011-04-12 Juanma Barranquero <lekktu@gmail.com>
8373
8374 * dframe.el (dframe-current-frame): Remove spurious quote.
8375
c0749a51
GM
83762011-04-12 Glenn Morris <rgm@gnu.org>
8377
088d0d61
GM
8378 * calendar/cal-tex.el (cal-tex-end-document):
8379 Try to automatically use latin1 input if needed.
8380
c0749a51
GM
8381 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
8382 Don't try to cons a mark onto an empty element.
8383
5c90fde0
LL
83842011-04-11 Leo Liu <sdl.web@gmail.com>
8385
8386 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
8387 buffers.
8388 (ido-kill-buffer-at-head): Support killing virtual buffers.
8389
369e974d
CY
83902011-04-10 Chong Yidong <cyd@stupidchicken.com>
8391
8392 * minibuffer.el (completion-show-inline-help): New var.
8393 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
8394 (minibuffer-force-complete, minibuffer-complete-word):
8395 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
8396
8397 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
8398 to avoid interference from inline help (Bug#5849).
8399
37f1c930
LL
84002011-04-10 Leo Liu <sdl.web@gmail.com>
8401
099c39a4
JB
8402 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
8403 Fix typo.
37f1c930 8404
a32d4040
CY
84052011-04-09 Chong Yidong <cyd@stupidchicken.com>
8406
8407 * image-mode.el (image-toggle-display-image): Signal an error if
8408 not in Image mode.
8409 (image-transform-mode, image-transform-resize)
8410 (image-transform-set-rotation): Doc fix.
daca8ba5 8411 (image-transform-set-resize): Delete.
a32d4040
CY
8412 (image-transform-set-scale, image-transform-fit-to-height)
8413 (image-transform-fit-to-width): Handle image-toggle-display-image
8414 and image-transform-resize directly.
8415
099c39a4 84162011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
8417
8418 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
8419 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
8420 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
8421 (doc-view-mode-map): Add bindings for the new functions.
8422
099c39a4 84232011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 8424
4d61f28d 8425 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
8426 Fix typo in docstring.
8427
3726838a
EZ
84282011-04-08 Eli Zaretskii <eliz@gnu.org>
8429
04f33f1e
EZ
8430 * files.el (file-size-human-readable): Produce one digit after
8431 decimal, like "ls -lh" does.
8432
8433 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
8434 the file size representation.
8435
3726838a
EZ
8436 * simple.el (list-processes): If async subprocesses are not
8437 available, error out with a clear error message.
8438
cbb59342
CY
84392011-04-08 Chong Yidong <cyd@stupidchicken.com>
8440
8441 * help.el (help-form-show): New function, to be called from C.
8442 Put help-form output in a buffer named differently than *Help*.
8443
e3971c44
EZ
84442011-04-08 Eli Zaretskii <eliz@gnu.org>
8445
8446 * files.el (file-size-human-readable): New function.
8447
8448 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
8449 computing the representation inline. Don't require `cl'.
8450
12544bbe
GM
84512011-04-08 Glenn Morris <rgm@gnu.org>
8452
a1de6c6a
GM
8453 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
8454
3c4671f4
GM
8455 * net/browse-url.el (browse-url-firefox):
8456 Test system-type, not system-configuration.
8457
b605679c
GM
8458 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
8459 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
8460 Use log-edit-empty-buffer-p. (Bug#7598)
8461
56442f0c
GM
8462 * net/rlogin.el (rlogin-process-connection-type): Simplify.
8463 (rlogin-mode-map): Initialize in the defvar.
8464 (rlogin): Use ignore-errors.
8465
12544bbe
GM
8466 * replace.el (occur-mode-map): Some fixes for menu items.
8467
eb237b0f
AH
84682011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
8469
8470 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
8471
7d668f2c
CY
84722011-04-06 Chong Yidong <cyd@stupidchicken.com>
8473
e67a13ab
CY
8474 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
8475 issuing unused warnings.
8476
8477 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
8478 macro directly.
8479
7d668f2c
CY
8480 * simple.el: Lisp reimplement of list-processes. Based on an
8481 earlier reimplementation by Leo Liu, but using tabulated-list.el.
8482 (process-menu-mode): New major mode.
8483 (list-processes--refresh, list-processes):
8484 (process-menu-visit-buffer): New functions.
8485
8486 * files.el (save-buffers-kill-emacs): Don't assume any return
8487 value of list-processes, which is undocumented anyway.
8488
a83ec3c9
CY
84892011-04-06 Chong Yidong <cyd@stupidchicken.com>
8490
8491 * emacs-lisp/tabulated-list.el: New file.
8492
e91a96fe
CY
8493 * emacs-lisp/package.el: Use Tabulated List mode.
8494 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
8495 (package-menu-mode): Derive from tabulated-list-mode. Set up the
8496 table format using Tabulated List mode variables.
8497 (package--push): New macro, replacing package-list-maybe-add.
8498 (package-menu--generate): Use package--push. Renamed from
8499 package--generate-package-list.
8500 (package-menu-refresh, list-packages): Use it.
daca8ba5 8501 (package-menu--print-info): Rename from package-print-package.
e91a96fe 8502 Return insertion data instead of inserting it directly.
099c39a4
JB
8503 (package-menu-describe-package, package-menu-execute):
8504 Use tabulated-list-get-id.
e91a96fe
CY
8505 (package-menu-mark-delete, package-menu-mark-install)
8506 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
8507 (package-menu-mark-obsolete-for-deletion):
8508 Use tabulated-list-put-tag.
e91a96fe
CY
8509 (package--list-packages, package-menu-revert)
8510 (package-menu-get-package, package-menu-get-version)
8511 (package-menu-sort-by-column): Functions deleted.
8512 (package-menu-package-list, package-menu-sort-key): Vars deleted.
8513 (package-menu--status-predicate, package-menu--version-predicate)
8514 (package-menu--name-predicate)
8515 (package-menu--description-predicate): Handle arguments in the
8516 Tabulated List format.
8517 (package-list-packages-no-fetch): Call list-packages.
8518
3e214b50
JB
85192011-04-06 Juanma Barranquero <lekktu@gmail.com>
8520
8521 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 8522 (after-find-file): Don't bind it.
3e214b50
JB
8523 (revert-buffer-in-progress-p): New variable.
8524 (revert-buffer): Bind it.
8525 Pass nil for `after-find-file-from-revert-buffer'.
8526
8527 * saveplace.el (save-place-find-file-hook): Use new variable
8528 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
8529
3f0f1700
GM
85302011-04-06 Glenn Morris <rgm@gnu.org>
8531
c0274801
GM
8532 * Makefile.in (AUTOGEN_VCS): New variable.
8533 (autoloads): Use $AUTOGEN_VCS.
8534
3f0f1700
GM
8535 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
8536 * calendar/calendar.el (calendar-mode-map):
8537 Check for toolkit scroll bars. (Bug#8305)
8538
41ea9e48
CY
85392011-04-05 Chong Yidong <cyd@stupidchicken.com>
8540
8541 * minibuffer.el (completion-in-region--postch)
8542 (completion-in-region-mode): Remove unnecessary messages.
8543
6194c800
JB
85442011-04-05 Juanma Barranquero <lekktu@gmail.com>
8545
33256f14
JB
8546 * font-lock.el (font-lock-refresh-defaults):
8547 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
8548 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
8549
6194c800
JB
8550 * info.el (Info-directory-list, Info-read-node-name-2)
8551 (Info-split-parameter-string): Doc fixes.
8552 (Info-virtual-nodes): Reflow docstring.
8553 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
8554 (Info-apropos-toc-nodes, info-finder, Info-get-token)
8555 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
8556 Fix typos in docstrings.
8557 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
8558 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
8559 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
8560 (Info-restore-desktop-buffer): Mark unused parameters.
8561 (Info-directory-find-file, Info-directory-find-node)
8562 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
8563 (Info-virtual-index-find-node, Info-apropos-find-file)
8564 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 8565 Mark unused parameters; fix typos in docstrings.
6194c800
JB
8566 (Info-virtual-index): Remove unused local variable `nodename'.
8567
b87a8200 85682011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 8569
b87a8200
DD
8570 * net/rcirc.el: Update my e-mail address.
8571 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 8572
3b2ff876
CY
85732011-04-05 Chong Yidong <cyd@stupidchicken.com>
8574
8575 * startup.el (command-line): Save the cursor's theme-face
8576 directly, instead of using face-override-spec.
8577
8578 * custom.el (load-theme): Minor optimization in assigning faces.
8579
8d17e7ca
JB
85802011-04-04 Juanma Barranquero <lekktu@gmail.com>
8581
8582 * help-fns.el (describe-variable): Complete all variables having
8583 documentation, including keywords.
8584 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
8585
2fbc1934
JB
85862011-04-04 Juanma Barranquero <lekktu@gmail.com>
8587
8588 Convert to lexical-binding.
8589
8590 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
8591 (bs--get-marked-string, bs--get-modified-string)
8592 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
8593 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
8594 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
8595
8596 * ehelp.el (electric-help-execute-extended)
8597 (electric-help-ctrl-x-prefix):
8598 * hexl.el (hexl-revert-buffer-function):
8599 * linum.el (linum-after-change, linum-after-scroll):
8600 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
8601
8602 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
8603
74f50695
DU
86042011-04-04 Daiki Ueno <ueno@unixuser.org>
8605
8606 * epa-dired.el:
8607 * epa-mail.el:
8608 * epa-hook.el:
8609 * epa-file.el:
8610 * epa.el:
8611 * epg.el: Use lexical binding.
8612
c11325f7
CY
86132011-04-03 Chong Yidong <cyd@stupidchicken.com>
8614
0d9e9a12
CY
8615 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
8616
c11325f7 8617 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
8618 dictionary case for flyspell-mark-duplications-exceptions.
8619 Use regexp matching for languages.
c11325f7
CY
8620 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
8621 default dictionary (Bug#7926).
8622
da91b5f2
CY
86232011-04-02 Chong Yidong <cyd@stupidchicken.com>
8624
099c39a4
JB
8625 * emacs-lisp/package.el (package--with-work-buffer):
8626 Recognize https URLs.
da91b5f2 8627
099c39a4
JB
8628 * net/network-stream.el: Move from gnus/proto-stream.el.
8629 Change prefix to network-stream throughout.
da91b5f2
CY
8630 (open-protocol-stream): Merge into open-network-stream, leaving
8631 open-protocol-stream as an alias. Handle nil BUFFER args.
8632
8633 * subr.el (open-network-stream): Move to net/network-stream.el.
8634
afa8e9f6
GM
86352011-04-02 Glenn Morris <rgm@gnu.org>
8636
1d2e369d
GM
8637 * find-dired.el (find-exec-terminator): New option.
8638 (find-ls-option): Test for -ls support.
8639 (find-ls-subdir-switches): Test for -b in find-ls-option.
8640 (find-dired, find-grep-dired): Doc fixes.
8641 (find-dired): Use find-exec-terminator.
8642
8abb7da8 8643 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
8644 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
8645 (find-name-arg): Remove purecopy.
8abb7da8 8646
f3ca7378
GM
8647 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
8648 (grep-compute-defaults): Check for `-exec COMMAND +' support.
8649 Set grep-find-use-xargs, grep-find-command, and grep-find-template
8650 accordingly. Don't add the null-device if not needed.
8651
afa8e9f6
GM
8652 * files.el (save-some-buffers): Doc fix.
8653
35eae264
EZ
86542011-04-02 Eli Zaretskii <eliz@gnu.org>
8655
8656 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
8657
26b51db5
JB
86582011-04-01 Juanma Barranquero <lekktu@gmail.com>
8659
8660 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
8661 Use `dolist' rather than `mapcar'.
8662
7200d79c
SM
86632011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
8664
03408648 8665 Add lexical binding.
7200d79c 8666
03408648
SM
8667 * subr.el (apply-partially): Use new closures rather than CL.
8668 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
8669 (dolist, dotimes): Use slightly different expansion for lexical code.
8670 (functionp): Move to C.
8671 (letrec): New macro.
8672 (with-wrapper-hook): Use it and apply-partially instead of CL.
8673 (eval-after-load): Preserve lexical-binding.
8674 (save-window-excursion, with-output-to-temp-buffer): Turn them
8675 into macros.
7200d79c 8676
03408648
SM
8677 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
8678
8679 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
8680 than the arglist.
8681 (help-add-fundoc-usage): Don't add `Not documented'.
8682 (help-function-arglist): Handle closures, subroutines, and new
8683 byte-code-functions.
8684 (help-make-usage): Remove leading underscores.
8685 (describe-function-1): Handle closures.
8686 (describe-variable): Use special-variable-p for completion.
8687
8688 * files.el (lexical-binding): Declare safe.
f488fb65 8689
03408648
SM
8690 * emacs-lisp/pcase.el: Don't use destructuring-bind.
8691 (pcase--memoize): Rename from pcase-memoize. Change weakness.
8692 (pcase): Add `let' pattern.
8693 Change memoization so it actually works.
8694 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
8695 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
8696 <let>: New case.
f488fb65 8697
03408648
SM
8698 * emacs-lisp/macroexp.el: Use lexical binding.
8699 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
8700 Don't convert ' to #' without checking that it's indeed quoting
8701 a lambda.
8702
8703 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 8704 Use eval-sexp-add-defvars.
03408648
SM
8705 (eval-sexp-add-defvars): New fun.
8706
8707 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
8708
8709 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
8710 Don't autoload.
8711 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
8712 than the internal `byte-compile-lambda'.
8713 (defmethod): Don't hide code under quotes.
8714 (eieio-defmethod): New `code' argument.
8715
8716 * emacs-lisp/eieio-comp.el: Remove.
8717
8718 * emacs-lisp/edebug.el (edebug-eval-defun)
8719 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
8720 (edebug-toggle): Avoid `eval'.
8721
8722 * emacs-lisp/disass.el (disassemble-internal): Handle new
8723 `closure' objects.
8724 (disassemble-1): Handle new byte codes.
8725
8726 * emacs-lisp/cl.el (pushnew): Silence warning.
8727
8728 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
8729 (cl-byte-compile-throw): Remove.
8730 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
8731
8732 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
8733 closures.
8734
8735 * emacs-lisp/cconv.el: New file.
8736
8737 * emacs-lisp/bytecomp.el: Use lexical binding instead of
8738 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
8739 (byte-compile-initial-macro-environment):
8740 Handle declare-function here.
8741 (byte-compile--lexical-environment): New var.
8742 (byte-stack-ref, byte-stack-set, byte-discardN)
8743 (byte-discardN-preserve-tos): New lap codes.
8744 (byte-interactive-p): Don't use any more.
8745 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
8746 New macros.
8747 (byte-compile-lapcode): Use them and handle new lap codes.
8748 (byte-compile-obsolete): Remove.
8749 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
8750 (byte-compile-arglist-warn): Check late def of inlinable funs.
8751 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
8752 since they should have been expanded by now.
8753 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
8754 (byte-compile-from-buffer): Remove unused second arg.
8755 (byte-compile-preprocess): New function.
8756 (byte-compile-toplevel-file-form): New function to distinguish
8757 file-form calls from outside from file-form calls from hunk-handlers.
8758 (byte-compile-file-form): Simplify.
8759 (byte-compile-file-form-defsubst): Remove.
8760 (byte-compile-file-form-defmumble): Simplify now that
8761 byte-compile-lambda always returns a byte-code-function.
8762 (byte-compile): Preprocess.
8763 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
8764 Remove, not used any more.
8765 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
8766 (byte-compile-make-args-desc): New funs.
8767 (byte-compile-lambda): Handle lexical functions. Always return
8768 a byte-code-function.
8769 (byte-compile-reserved-constants): New var, to make up room for
8770 closed-over variables.
8771 (byte-compile-constants-vector): Obey it.
8772 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
8773 (byte-compile-macroexpand-declare-function): New function.
8774 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
8775 byte-code-functions.
8776 (byte-compile-form): Check obsolescence here.
8777 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
8778 (byte-compile-variable-ref): Remove.
8779 (byte-compile-dynamic-variable-op): New fun.
8780 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
8781 (byte-compile-variable-set): New funs.
8782 (byte-compile-discard): Add 2 args.
8783 (byte-compile-stack-ref, byte-compile-stack-set)
8784 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
8785 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
8786 macroexpand-all instead.
8787 (byte-compile-quote-form): Remove.
8788 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
8789 (byte-compile-bind, byte-compile-unbind): New funs.
8790 (byte-compile-let): Handle let* and lexical binding.
8791 (byte-compile-let*): Remove.
8792 (byte-compile-catch, byte-compile-unwind-protect)
8793 (byte-compile-track-mouse, byte-compile-condition-case):
8794 Handle a new :fun-body form, used for lexical scoping.
8795 (byte-compile-save-window-excursion)
8796 (byte-compile-with-output-to-temp-buffer): Remove.
8797 (byte-compile-defun): Simplify.
8798 (byte-compile-stack-adjustment): New fun.
8799 (byte-compile-out): Use it.
8800 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
8801
8802 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
8803 handler any more.
8804
8805 * emacs-lisp/byte-opt.el: Use lexical binding.
8806 (byte-inline-lapcode): Remove (to bytecomp).
8807 (byte-compile-inline-expand): Pay attention to inlining to/from
8808 lexically bound code.
8809 (byte-compile-unfold-lambda): Don't handle byte-code-functions
8810 any more.
8811 (byte-optimize-form-code-walker): Don't handle save-window-excursion
8812 any more and don't call compiler-macros.
8813 (byte-compile-splice-in-already-compiled-code): Remove.
8814 (byte-code): Don't inline any more.
8815 (disassemble-offset): Receive `bytes' as argument rather than via
8816 dynamic scoping.
8817 (byte-compile-tag-number): Declare before first use.
8818 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
8819 `return' even if make-spliceable.
8820 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
8821 obsolete interactive-p.
8822 (byte-optimize-lapcode): Optimize new lap-codes.
8823 Don't trip up on new form of `byte-constant' lap code.
8824
8825 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
8826
8827 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
8828
8829 * custom.el (custom-initialize-default, custom-declare-variable):
8830 Use `defvar'.
8831
8832 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
8833 New variables.
8834 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
8835 (COMPILE_FIRST): Add macroexp and cconv.
8836 * makefile.w32-in: Mirror changes in Makefile.in.
8837
8838 * vc/cvs-status.el:
8839 * vc/diff-mode.el:
8840 * vc/log-edit.el:
8841 * vc/log-view.el:
8842 * vc/smerge-mode.el:
8843 * textmodes/bibtex-style.el:
8844 * textmodes/css.el:
8845 * startup.el:
8846 * uniquify.el:
da91b5f2
CY
8847 * minibuffer.el:
8848 * newcomment.el:
8849 * reveal.el:
8850 * server.el:
8851 * mpc.el:
8852 * emacs-lisp/smie.el:
8853 * doc-view.el:
8854 * dired.el:
03408648
SM
8855 * abbrev.el: Use lexical binding.
8856
0f0c1f27
EZ
88572011-04-01 Eli Zaretskii <eliz@gnu.org>
8858
8859 * info.el (info-display-manual): New function.
8860
c82b2579
SM
88612011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
8862
8863 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
8864
221ddf68
TH
88652011-03-31 Tassilo Horn <tassilo@member.fsf.org>
8866
8867 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 8868 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 8869
cba6e77e
GM
88702011-03-31 Glenn Morris <rgm@gnu.org>
8871
e040639f
GM
8872 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
8873
cba6e77e
GM
8874 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
8875
6d0f1c9e
CS
88762011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
8877
8878 * progmodes/python.el (python-default-interpreter)
8879 (python-python-command-args, python-jython-command-args)
8880 (python-which-shell, python-which-args, python-which-bufname)
8881 (python-file-queue, python-comint-output-filter-function)
8882 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
8883 variables and functions.
8884
3e2d70fd
SM
88852011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
8886
8887 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
8888 (completion-in-region-mode): New minor mode.
8889 (completion-in-region): Use it.
8890 (completion-in-region--data, completion-in-region-mode-map): New vars.
8891 (completion-in-region--postch): New function.
8892 (completion--capf-misbehave-funs, completion--capf-safe-funs):
8893 New vars.
8894 (completion--capf-wrapper): New function.
8895 (completion-at-point): Use it to track well-behavedness of
8896 hook functions.
8897 (completion-help-at-point): New command.
8898
f3e4086c
JM
88992011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
8900
8901 * vc/add-log.el (add-change-log-entry): Don't use whitespace
8902 syntax class to search for whitespace on a single line
8903 (Message-ID: <4D938140.4030905@redhat.com>).
8904
eb7ffc14
LL
89052011-03-30 Leo Liu <sdl.web@gmail.com>
8906
8907 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
8908 New commands.
8909 (edit-abbrevs-map): Bind them here.
8910 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
8911
d806ab68
KM
89122011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
8913
8914 * allout.el (allout-hide-by-annotation, allout-flag-region):
8915 Reduce possibility of overlay leakage by making them volatile.
8916
8917 * allout-widgets.el (allout-widgets-tally): Define as nil so the
8918 hash is not shared between buffers. Mode initialization is
8919 responsible for giving it a useful starting value.
8920 (allout-item-span): Reduce possibility of overlay leakage by
8921 making them volatile.
8922 (allout-widgets-count-buttons-in-region): Add diagnostic function
8923 for tracking down button overlay leaks.
8924
ea622834
LL
89252011-03-29 Leo Liu <sdl.web@gmail.com>
8926
8927 * ido.el (ido-read-internal): Use the default history var
8928 minibuffer-history if no HISTORY is specified.
8929
b62f8267
G
89302011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
8931
03408648
SM
8932 * net/imap.el (imap-shell-open, imap-process-connection-type):
8933 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
8934 Kerberos, SSL, other subprocesses.
8935
947b6566
LL
89362011-03-28 Leo Liu <sdl.web@gmail.com>
8937
8938 * abbrev.el (abbrev-table-empty-p): New function.
8939 (prepare-abbrev-list-buffer): Place empty abbrev tables after
8940 nonempty ones. (Bug#5937)
8941
5ffb62aa
JD
89422011-03-27 Jan Djärv <jan.h.d@swipnet.se>
8943
8944 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
8945
7a097943
LL
89462011-03-27 Leo Liu <sdl.web@gmail.com>
8947
8948 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
8949 for foreground and background colors.
8950 (ansi-color-make-color-map): Adapt.
8951
c5b40130
LL
89522011-03-25 Leo Liu <sdl.web@gmail.com>
8953
1f48f7d2
LL
8954 * midnight.el (midnight-time-float): Remove. Note it calculates
8955 the microsecond component incorrectly and seconds-to-time does the
8956 same job.
625897ec 8957 Remove redundant (require 'timer).
1f48f7d2 8958
c5b40130
LL
8959 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
8960 (ido-completions): Remove unused arguments. (Bug#8329)
8961
d86d2721
SM
89622011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
8963
8964 * minibuffer.el (completion--flush-all-sorted-completions):
8965 Remove itself from hook.
8966 (completion-at-point): Let the functions perform the completion
8967 immediately and return nil or t.
8968 * comint.el (comint-dynamic-complete-functions): Now identical to
8969 completion-at-point-functions.
8970 (comint-dynamic-list-input-ring): Remove unused var `index'.
8971 (comint--match-partial-filename, comint--unquote&expand-filename):
8972 New funs, split from comint-match-partial-filename.
8973 (comint-dynamic-complete): Use completion-at-point.
8974 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
8975
e8974c48
DA
89762011-03-24 Drew Adams <drew.adams@oracle.com>
8977
8978 * thingatpt.el: Support `defun'.
8979
def71b5e
LL
89802011-03-23 Leo Liu <sdl.web@gmail.com>
8981
cb5af48e
LL
8982 * abbrevlist.el: Move to obsolete/abbrevlist.el.
8983
def71b5e
LL
8984 * help-mode.el (help-mode-finish): Tweak regexp.
8985
927c53e7
GM
89862011-03-23 Glenn Morris <rgm@gnu.org>
8987
18d05bed
GM
8988 * eshell/esh-opt.el (eshell-eval-using-options):
8989 Do not bind unused local variable `eshell-option-stub'.
8990
927c53e7
GM
8991 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
8992
9d0da923
JB
89932011-03-22 Juanma Barranquero <lekktu@gmail.com>
8994
8995 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
8996 keymap variable in `with-no-warnings' to avoid a warning when the
8997 keymap has been already `defconst'ed.
8998
4b978a67
LL
89992011-03-22 Leo Liu <sdl.web@gmail.com>
9000
9001 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
9002 encode all chars in abbrevs; otherwise use emacs-mule or
9003 utf-8-emacs. (Bug#8308)
9004
5fd62452
JB
90052011-03-22 Juanma Barranquero <lekktu@gmail.com>
9006
0b1596c6
JB
9007 * simple.el (backward-delete-char-untabify):
9008 Avoid warning about using `delete-backward-char'.
9009
5fd62452
JB
9010 * image.el (image-type-file-name-regexps): Make it variable.
9011 `imagemagick-register-types' modifies it, and the user may want
9012 to add new extensions for known image types.
9013 (imagemagick-register-types): Throw error if not using ImageMagick.
9014
0b4e93f1
LL
90152011-03-22 Leo Liu <sdl.web@gmail.com>
9016
9017 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
9018 located before rcirc-prompt-end-marker.
9019 (rcirc-complete): Error if point is not after rcirc prompt.
9020 Handle the case when table is nil.
9882e214 9021 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 9022
fccee4ab
CY
90232011-03-22 Chong Yidong <cyd@stupidchicken.com>
9024
9025 * custom.el (custom--inhibit-theme-enable): Make it affect only
9026 custom-theme-set-variables and custom-theme-set-faces.
9027 (provide-theme): Ignore custom--inhibit-theme-enable.
9028 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
9029 (custom-enabling-themes): Delete variable.
d86d2721
SM
9030 (enable-theme): Accept only loaded themes as arguments.
9031 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
9032 (custom-enabled-themes): Forbid themes from setting this.
9033 Eliminate use of custom-enabling-themes.
9034 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 9035
af896da6
LL
90362011-03-21 Leo Liu <sdl.web@gmail.com>
9037
9038 * ido.el (ido-read-internal): Add ido-selected to history instead
9039 of user input.
9040
78f64af0
SM
90412011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
9042
9043 * subr.el (deferred-action-list, deferred-action-function):
9044 Mark obsolete.
9045
b16ac1ec
LL
90462011-03-21 Leo Liu <sdl.web@gmail.com>
9047
810f7698
LL
9048 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
9049 change on 2011-02-13 (bug#8309).
9050
b16ac1ec
LL
9051 * minibuffer.el (read-file-name-function): Change default value.
9052 (read-file-name--defaults): Rename from read-file-name-defaults.
9053 (read-file-name-default): Rename from read-file-name.
9054 (read-file-name): Call read-file-name-function.
9055
4e05e67e
GM
90562011-03-21 Glenn Morris <rgm@gnu.org>
9057
9058 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
9059 Doc fixes.
9060
4359915b
CY
90612011-03-21 Chong Yidong <cyd@stupidchicken.com>
9062
9063 * cus-theme.el: Add missing provide statement.
9064 (customize-create-theme): Extract theme value correctly.
9065 (custom-theme-visit-theme): Autoload.
9066 (customize-create-theme): Prompt before inserting default faces.
9067
1fe275ee
JB
90682011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
9069
9070 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
9071 units and musical notes.
9072
3ec03f7e
LL
90732011-03-20 Leo <sdl.web@gmail.com>
9074
9075 * ido.el (ido-read-internal): Use completing-read-default.
9076 (ido-completing-read): Fix compatibility with completing-read.
9077
7d476bde
CO
90782011-03-20 Christian Ohler <ohler@gnu.org>
9079
9080 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
9081 (ert-delete-all-tests): Use `called-interactively-p' rather than
9082 `interactive-p'.
9083 (ert--make-xrefs-region): Respect END.
9084
fe0fb33e
CY
90852011-03-19 Chong Yidong <cyd@stupidchicken.com>
9086
ff854b0b
CY
9087 * dired-aux.el (dired-create-directory): Signal an error if the
9088 directory already exists (Bug#8246).
9089
fe0fb33e
CY
9090 * facemenu.el (list-colors-display): Call list-faces-display
9091 inside with-help-window.
9092 (list-colors-print): Use display property to align the final
9093 column, instead of checking window-width.
9094
576bce32
EZ
90952011-03-19 Eli Zaretskii <eliz@gnu.org>
9096
4d61f28d 9097 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
9098 windows-nt systems.
9099 (emerge-protect-metachars): Quote correctly for ms-dos and
9100 windows-nt systems.
9101
89c41d68 91022011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
9103
9104 * info.el (info-initialize): Replace all uses of `:' with
9105 path-separator for compatibility with non-Unix systems.
9106 Cache quoting of path-separator. (Bug#8258)
9107
b14e3e21 91082011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
9109
9110 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
9111 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
9112 (mouse-avoidance-mode): Fix typos in docstrings.
9113
4525ce3e
CY
91142011-03-19 Chong Yidong <cyd@stupidchicken.com>
9115
9116 * startup.el (package-subdirectory-regexp): Move from package.el.
9117 Omit \\` and \\', and let callers add them.
9118
9119 * emacs-lisp/package.el (package-strip-version)
9120 (package-load-all-descriptors): Add \\` and \\' to
9121 package-subdirectory-regexp before using it.
9122 (package-untar-buffer): New arg DIR; ensure that file untars only
9123 into this expected directory. Remove superfluous delete-region.
9124 (package-unpack): Caller changed.
9125 (package-tar-file-info): Use package-subdirectory-regexp.
9126
a904a09a 91272011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 9128
a904a09a
SM
9129 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
9130 diff-mode-shared-map (bug#8284).
9131 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
9132
91332011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
9134
9135 * calendar/time-date.el (format-seconds): Use assoc instead of
9136 assoc-string, since assoc-string doesn't exist in XEmacs.
9137
171fc304
JB
91382011-03-17 Juanma Barranquero <lekktu@gmail.com>
9139
9140 * custom.el (custom-known-themes): Reflow docstring.
9141 (custom-theme-load-path): Fix typo in docstring.
9142 (load-theme): Fix typo in error message.
9143 (custom-available-themes, custom-variable-theme-value):
9144 Use `let', not `let*'.
9145
d71990a1
JB
91462011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
9147
9148 * calc/README: Mention inclusion of musical notes.
9149
9150 * calc/calc-units.el (calc-lu-quant): Rename from
9151 `calc-logunits-quantity'.
9152 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
9153 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
9154 (calc-db): Rename from `calc-dblevel'.
9155 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
9156 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
9157 (calc-np): Rename from `calc-nplevel'.
9158 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
9159 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
9160 (calc-lu-plus): Rename from `calc-logunits-add'.
9161 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
9162 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
9163 (calc-lu-minus): Rename from `calc-logunits-sub'.
9164 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
9165 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
9166 (calc-lu-times): Rename from `calc-logunits-mul'.
9167 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
9168 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
9169 (calc-lu-divide): Rename from `calc-logunits-div'.
9170 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
9171 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
9172
9173 * calc/calc-ext.el (calc-init-extensions): Update the names of the
9174 functions being autoloaded.
9175
9176 * calc/calc.el (calc-lu-power-reference): Rename from
9177 `calc-logunits-power-reference'.
9178 (calc-lu-field-reference): Rename from
9179 `calc-logunits-field-reference'.
9180
9181 * calc/calc-help (calc-l-prefix-help): Mention musical note functions.
9182
40c2934b
SM
91832011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
9184
9185 * minibuffer.el (completion-all-sorted-completions):
9186 Use :completion-cycle-penalty text property if present.
9187
b0911414
KM
91882011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
9189
9190 * allout.el (allout-yank-processing): Adjust for new rebulleting
9191 regime so bullet being yanked is used without prompting the user
9192 for a choice.
9193
8a05b668
JB
91942011-03-16 Juanma Barranquero <lekktu@gmail.com>
9195
9196 * startup.el (command-line): Warn the user that _emacs is deprecated.
9197
5ba5fb81
JB
91982011-03-16 Juanma Barranquero <lekktu@gmail.com>
9199
9200 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
9201 (delphi-verbose, delphi-comment-face, delphi-string-face)
9202 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
9203 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
9204 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
9205 (delphi-new-comment-line, delphi-font-lock-defaults)
9206 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
9207 Fix typos in docstrings.
9208
2dab465b
KM
92092011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
9210
5ba5fb81 9211 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
9212 Invert the roles of character and string values for INSTEAD, so a
9213 string is used for the more common case of a defaulting prompt.
9214
0adf5618
SM
92152011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
9216
9217 * progmodes/ruby-mode.el (ruby-backward-sexp):
9218 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
9219 * play/gamegrid.el (gamegrid-make-face):
9220 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
9221 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
9222 * notifications.el (notifications-notify):
9223 * net/xesam.el (xesam-search-engines):
9224 * net/quickurl.el (quickurl-list-insert):
9225 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
9226
d72700e5
CY
92272011-03-15 Chong Yidong <cyd@stupidchicken.com>
9228
9229 * startup.el (command-line): Update package subdirectory regexp.
9230
49c5410a
SM
92312011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
9232
c6eee9aa
SM
9233 * allout.el (allout-abbreviate-flattened-numbering)
9234 (allout-mode-deactivate-hook): Fix up obsolescence "date".
9235
49c5410a
SM
9236 * subr.el (read-char-choice): Only show the cursor after the prompt,
9237 not after the answer.
9238
047b2bb9
KR
92392011-03-15 Kevin Ryde <user42@zip.com.au>
9240
9241 * help-fns.el (variable-at-point): Skip leading quotes, if any
9242 (bug#8253).
9243
0a57d256
SM
92442011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
9245
9246 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
9247 warning message.
9248
77c992bc
MA
92492011-03-14 Michael Albinus <michael.albinus@gmx.de>
9250
9251 * shell.el (shell): When called interactively, offer to change the
9252 shell file name on remote hosts.
9253
eebc475d
TZ
92542011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
9255
9256 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
9257 integration for LDAP parameters. The host, base, user or binddn,
9258 and secret tokens can be specified in a netrc file, for instance.
9259 This is optional because an `auth-source' parameter must be
9260 specified in the search attributes.
9261
9d05d1ba
JB
92622011-03-13 Juanma Barranquero <lekktu@gmail.com>
9263
9264 * help.el (describe-mode): Link to the mode's definition (bug#8185).
9265
09d9db2c
GM
92662011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9267
9268 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
9269 into declaration. Remove redundant and harmful binding.
9270
92712011-03-12 Eli Zaretskii <eliz@gnu.org>
9272
9273 * files.el (file-ownership-preserved-p): Pass `integer' as an
9274 explicit 2nd argument to `file-attributes'. If the file's owner
9275 is the Administrators group on Windows, and the current user is
9276 Administrator, consider that a match.
9277
9278 * server.el (server-ensure-safe-dir): Consider server directory
9279 safe on MS-Windows if its owner is the Administrators group while
9280 the current Emacs user is Administrator. Use `=' to compare
9281 numerical UIDs, since they could be integers or floats.
9282
219bd536
JB
92832011-03-12 Juanma Barranquero <lekktu@gmail.com>
9284
9285 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
9286
f3afd36b
MA
92872011-03-12 Michael Albinus <michael.albinus@gmx.de>
9288
9289 Sync with Tramp 2.2.1.
9290
9291 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
9292
9293 * net/trampver.el: Update release number.
9294
3aaaa6f1
SM
92952011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9296
94642599
SM
9297 * progmodes/compile.el (compilation--previous-directory): Fix up
9298 various nil/dead-marker mismatches (bug#8014).
9299 (compilation-directory-properties, compilation-error-properties):
9300 Don't call it at a position past the one we're about to change.
9301
3aaaa6f1
SM
9302 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
9303 Disable obsolescence warnings in the file that declares it.
9304
14239447
KM
93052011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
9306
099c39a4
JB
9307 * allout-widgets.el (allout-widgets-tally):
9308 Initialize allout-widgets-tally as a hash table rather than nil to
9309 prevent mode-line redisplay warnings. Also, clarify the module
9310 description and fix a comment typo.
14239447 9311
135e287c
JB
93122011-03-11 Juanma Barranquero <lekktu@gmail.com>
9313
9314 * help-fns.el (describe-variable): Don't complete keywords.
9315 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
9316
ffbf300e
CY
93172011-03-10 Chong Yidong <cyd@stupidchicken.com>
9318
ba08b241
CY
9319 * emacs-lisp/package.el (package-version-join): Impose a standard
9320 string representation for pre/alpha/beta version lists.
9321 (package-unpack-single): Standardize the directory name by passing
9322 it through package-version-join.
9323 (package-strip-rcs-id): Accept any version string that does not
9324 signal an error in version-to-list.
ffbf300e 9325
f346fd6b
MA
93262011-03-10 Michael Albinus <michael.albinus@gmx.de>
9327
9328 * simple.el (delete-trailing-whitespace): Return nil for the
9329 benefit of `write-file-functions'.
9330
ccb55d27
GM
93312011-03-10 Glenn Morris <rgm@gnu.org>
9332
5ceaac0c
GM
9333 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
9334
02da65ff
GM
9335 * vc/vc-git.el (vc-git-program): New option.
9336 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
9337 (vc-git--call): Use it.
9338
b2f603cc
GM
9339 * eshell/esh-util.el (eshell-condition-case): Doc fix.
9340
5772caab
GM
9341 * cus-edit.el (Custom-newline): If no button at point, look
9342 for a subgroup button at start-of-line. (Bug#2298)
9343
ccb55d27
GM
9344 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
9345
ec6ecaed
JD
93462011-03-10 Julien Danjou <julien@danjou.info>
9347
9348 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
9349 `cursor-type' is nil.
9350
9d5aa01d
JB
93512011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
9352
9353 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
9354
b6a5875b
KM
93552011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
9356
9357 * allout.el Summary: Change so yank of distinctive-bullet items
9358 preserves the existing header prefix, rebulleting it if necessary,
9359 rather than replacing it. This is necessary for proper operation
9360 of cooperative addons like allout-widgets.
219bd536 9361 (allout-make-topic-prefix, allout-rebullet-heading): Change
b6a5875b
KM
9362 SOLICIT arg to INSTEAD, and interpret additionally a string value
9363 as alternate bullet to be used, instead of prompting the user for
9364 a bullet character.
9365
ee545c35
MA
93662011-03-09 Michael Albinus <michael.albinus@gmx.de>
9367
d86d2721
SM
9368 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
9369 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
9370 `tramp-default-port'.
9371
c47971d7
DD
93722011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
9373
9374 * net/rcirc.el (rcirc-handler-001): Remove useless
9375 with-rcirc-process-buffer.
9376 (rcirc-check-auth-status): Swap arguments to string-match.
9377
13522cb4
GM
93782011-03-09 Glenn Morris <rgm@gnu.org>
9379
0be6f4f1
GM
9380 * shell.el (shell-mode):
9381 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
9382
13522cb4
GM
9383 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
9384 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
9385
515de2e3
CY
93862011-03-08 Chong Yidong <cyd@stupidchicken.com>
9387
9388 * emacs-lisp/package.el (package-refresh-contents)
9389 (package-menu-execute): Use condition-case-no-debug.
9390
b511b994
MA
93912011-03-08 Michael Albinus <michael.albinus@gmx.de>
9392
9393 * simple.el (shell-command-to-string): Use `process-file'.
9394
9395 * emacs-lisp/package.el (package-tar-file-info): Handle also
9396 remote files.
9397
d86d2721
SM
9398 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9399 Use `equal' for upload base check.
b511b994 9400
25bbfb31
AM
94012011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
9402
9403 * textmodes/texinfo.el (texinfo-environments):
9404 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
9405
be996521
GM
94062011-03-08 Glenn Morris <rgm@gnu.org>
9407
e9c8529f
GM
9408 * cus-start.el (cursor-in-non-selected-windows):
9409 Fix :set quoting oddness. (Bug#8192)
9410
be996521
GM
9411 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
9412 in some setf expressions. (Bug#2159)
9413
2bb5649e
CY
94142011-03-08 Chong Yidong <cyd@stupidchicken.com>
9415
9416 * custom.el (custom-available-themes): Return themes in
9417 alphabetical order.
9418
33383987 9419See ChangeLog.15 for earlier changes.
e3d51b27
MR
9420
9421;; Local Variables:
9422;; coding: utf-8
e3d51b27
MR
9423;; End:
9424
33383987 9425 Copyright (C) 2011 Free Software Foundation, Inc.
e3d51b27
MR
9426
9427 This file is part of GNU Emacs.
9428
9429 GNU Emacs is free software: you can redistribute it and/or modify
9430 it under the terms of the GNU General Public License as published by
9431 the Free Software Foundation, either version 3 of the License, or
9432 (at your option) any later version.
9433
9434 GNU Emacs is distributed in the hope that it will be useful,
9435 but WITHOUT ANY WARRANTY; without even the implied warranty of
9436 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
9437 GNU General Public License for more details.
9438
9439 You should have received a copy of the GNU General Public License
9440 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.