* lisp/textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
98a5e33b
SM
12012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
4
de82e29b
GM
52012-09-29 Glenn Morris <rgm@gnu.org>
6
5cc2e639
GM
7 * winner.el (winner-mode): Remove variable (let define-minor-mode
8 handle it).
9 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
10 Doc fixes.
11 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
12 (winner-mode): Use define-minor-mode.
13
7bd302eb
GM
14 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
15 the full definition in loaddefs, rather than duplicating it.
16
2923922f 17 * help-macro.el (three-step-help): No need to autoload defcustom.
ced08382 18
0e3e4156
GM
19 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
20 (inferior-lisp-program, inferior-lisp-load-command)
21 (inferior-lisp-prompt, inferior-lisp-mode-hook):
2923922f 22 No need to autoload defcustoms.
0e3e4156 23
de82e29b
GM
24 * hippie-exp.el (hippie-expand-try-functions-list)
25 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
26 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
27 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
2923922f 28 (hippie-expand-only-buffers): No need to autoload defcustoms.
de82e29b
GM
29 * progmodes/vhdl-mode.el (vhdl-line-expand):
30 Explicitly load hippie-exp, so it does not get autoloaded
31 while hippie-expand-try-functions-list is let-bound.
32
e60b51ab
GM
332012-09-28 Glenn Morris <rgm@gnu.org>
34
277f0cfa
GM
35 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
36
e60b51ab
GM
37 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
38 Only "cl.el" counts as cl these days.
39
53baf48a
JL
402012-09-28 Juri Linkov <juri@jurta.org>
41
42 Display archive errors in the echo area instead of inserting
43 to the file buffer.
44
45 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
46 to STDERR-TEST that can be a regexp matching a successful output.
47 Create a temporary file and redirect stderr to it. Search for
48 STDERR-TEST in the stderr output and display it in the echo area
49 if no match is found.
50 (archive-extract-by-file): New function like
51 `archive-extract-by-stdout' but extracting archives to files
52 and looking for successful matches in stdout. Function body is
53 mostly copied from `archive-rar-extract'.
54 (archive-rar-extract): Use `archive-extract-by-file'.
55 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
56
9c1228c3
LL
572012-09-28 Leo Liu <sdl.web@gmail.com>
58
147c0425
LL
59 * pcomplete.el (pcomplete-show-completions): Use
60 minibuffer-message to make pcomplete usable in minibuffer.
61
9c1228c3
LL
62 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
63
7f457c06
SM
642012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
65
3df749b0
SM
66 * type-break.el: Use lexical-binding.
67 (type-break-mode): Use define-minor-mode.
68
7f457c06
SM
69 * emacs-lisp/pcase.el (pcase--mark-used): New.
70 (pcase--u1): Use it (bug#12512).
71
72 * custom.el (load-theme): Set buffer-file-name so the load is recorded
73 in load-history with the right file name.
74
c00ebc98
TH
752012-09-28 Tassilo Horn <tsdh@gnu.org>
76
77 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
78 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
79 (doc-view-get-bounding-box): Make bounding box slicing work for
80 ODF and DVI documents.
81
96fb7170
GM
822012-09-28 Glenn Morris <rgm@gnu.org>
83
84 * type-break.el (type-break-mode, type-break-interval)
85 (type-break-good-rest-interval, type-break-keystroke-threshold):
86 No need to autoload.
87 (type-break-good-rest-interval, type-break-keystroke-threshold):
88 Add :set-after.
89
5bc93c67
CY
902012-09-28 Chong Yidong <cyd@gnu.org>
91
92 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
93 Add :version tag.
94
9cad61d6
SM
952012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
96
e28e67b3 97 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
9cad61d6 98
daee954c
GM
992012-09-27 Glenn Morris <rgm@gnu.org>
100
a88324d4
GM
101 * faces.el (x-display-name): Declare (for without-x builds).
102
8e5064e5
GM
103 * linum.el (linum-format): Don't autoload it. Improve :type.
104
cc1783c2
GM
105 * progmodes/tcl.el: Don't require outline when compiling.
106 (outline-regexp, outline-level): Declare.
1dddcf4c
GM
107 * textmodes/sgml-mode.el: Don't require outline when compiling.
108 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
109
48c339f2
GM
110 * term.el (term-ansi-reset):
111 Try setting term-ansi-face-already-done to nil. (Bug#11785)
112
daee954c
GM
113 * vc/vc.el (vc-next-action): Only gripe about committing read-only
114 files for RCS and SCCS. (Bug#9781)
115
b7f42161
CY
1162012-09-27 Chong Yidong <cyd@gnu.org>
117
118 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
119 change; value should be t.
120
a2e770db
SM
1212012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
122
83600dc8
SM
123 * image-mode.el: Use lexical-binding.
124 (image-mode-winprops): Use t to stand for the window of
125 a buffer that's not displayed.
126 * doc-view.el (doc-view-new-window-function): Handle the new
127 t in winprops.
128 (doc-view-enlarge): Make it a real nop if the size is not changed.
129 (doc-view-display): Handle the case where the buffer is not (yet?)
130 displayed in any window.
131 (doc-view-saved-settings): New var.
132 (doc-view-mode): Use it.
133 (doc-view-fallback-mode): Set it.
134
a2e770db
SM
135 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
136 Set lexical-binding.
137 (minibuffer-eldef-shorten-default): New var.
138 (minibuffer-default-in-prompt-regexps): Use it for new default.
139 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
140
e3b60857
JB
1412012-09-26 Juanma Barranquero <lekktu@gmail.com>
142
143 * international/uni-bidi.el:
144 * international/uni-category.el:
145 * international/uni-name.el:
146 * international/uni-numeric.el: Regenerate.
147
3a880af4
SM
1482012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
149 Stefan Monnier <monnier@iro.umontreal.ca>
150
151 * profiler.el: New file.
152
07b1a5fb
SM
1532012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
154
155 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
156 (testcover-reinstrument): Simplify with CSE.
157
42019c2e
JB
1582012-09-26 Juanma Barranquero <lekktu@gmail.com>
159
160 * window.el (temp-buffer-window-setup): Fix typo in docstring.
161
179f044b
WS
1622012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
163
164 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
165 (verilog-auto-input, verilog-auto-insert-lisp)
166 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
167 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
168 (verilog-auto-unused, verilog-auto-wire)
169 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
170 newline. Reported by Andrew Jones.
171 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
172 Reported by Brad Dobbie.
07b1a5fb
SM
173 (verilog-batch-delete-trailing-whitespace):
174 Create verilog-batch-delete-trailing-whitespace.
175 Reported by Brad Dobbie.
179f044b
WS
176 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
177 parameters from another module. Reported by Dan Katz.
178 (verilog-auto, verilog-auto-assign-modport)
179 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
180 AUTOINOUTMODPORT for UVM interface module shell generation.
181 Reported by Brad Dobbie.
182 (verilog-auto-inst-interfaced-ports): Make default nil, as more
183 standard behavior.
184 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
185 Reported by Matt Martin.
186
9c52dd5a
MR
1872012-09-25 Martin Rudalics <rudalics@gmx.at>
188
189 * window.el (window--resize-child-windows): When resizing child
190 windows proportionally, process them in reverse order to
191 preserve the "when splitting a window the new one gets the odd
192 line" behavior.
193 (window--resize-root-window-vertically): When resizing the
194 minibuffer window try to affect only windows at the bottom of the
195 frame. (Bug#12419)
196
863666eb
CY
1972012-09-25 Chong Yidong <cyd@gnu.org>
198
199 * subr.el (declare): Doc fix.
200
201 * help-fns.el (help-fns--obsolete): Handle macros properly.
202
59f7af81
CY
2032012-09-25 Chong Yidong <cyd@gnu.org>
204
205 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
206 this function obsolete.
207
208 * calendar/cal-x.el (calendar-two-frame-setup)
209 (calendar-only-one-frame-setup, calendar-one-frame-setup):
210 * calendar/calendar.el (american-calendar, european-calendar)
211 (calendar-for-loop):
212 * comint.el (comint-dynamic-simple-complete)
213 (comint-dynamic-complete-as-filename, comint-unquote-filename):
214 * desktop.el (desktop-load-default):
215 * dired-x.el (dired-omit-here-always)
216 (dired-hack-local-variables, dired-default-directory):
217 * emacs-lisp/derived.el (derived-mode-class):
218 * emacs-lisp/timer.el (timer-set-time-with-usecs):
219 * emacs-lock.el (toggle-emacs-lock):
220 * epa.el (epa-display-verify-result):
221 * epg.el (epg-sign-keys, epg-start-sign-keys)
222 (epg-passphrase-callback-function):
223 * eshell/esh-util.el (eshell-for):
224 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
225 (eshell-add-to-window-buffer-names):
226 * files.el (locate-file-completion):
227 * imenu.el (imenu-example--create-c-index)
228 (imenu-example--create-lisp-index)
229 (imenu-example--lisp-extract-index-name)
230 (imenu-example--name-and-position):
231 * international/mule-cmds.el (princ-list):
232 * international/mule-diag.el (decode-codepage-char):
233 * international/mule-util.el (detect-coding-with-priority):
234 * iswitchb.el (iswitchb-read-buffer):
235 * mail/mailalias.el (mail-complete):
236 * mail/sendmail.el (mail-sent-via):
237 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
238 (mouse-major-mode-menu):
239 * password-cache.el (password-read-and-add):
240 * pcomplete.el (pcomplete-parse-comint-arguments):
241 * progmodes/sh-script.el (sh-maybe-here-document):
242 * replace.el (query-replace-regexp-eval):
243 * savehist.el (savehist-load):
244 * simple.el (choose-completion-delete-max-match):
245 * term.el (term-dynamic-simple-complete):
246 * vc/ediff-init.el (ediff-check-version):
247 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
248 * vc/vc.el (vc-diff-switches-list):
249 * view.el (view-return-to-alist-update): Likewise.
250
251 * subr.el (eval-next-after-load, makehash, insert-string)
252 (assoc-ignore-representation, assoc-ignore-case): Use declare to
253 mark obsolete.
254 (mode-line-inverse-video): Variable deleted.
255
256 * international/mule-util.el (string-to-sequence): Remove.
257
258 * calendar/calendar.el (calendar-version):
259 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
260 (icalendar-convert-diary-to-ical):
261 * cus-edit.el (custom-mode):
262 * ansi-color.el (ansi-color-unfontify-region):
263 * international/latin1-disp.el (latin1-char-displayable-p):
264 * progmodes/cwarn.el (turn-on-cwarn-mode):
07b1a5fb
SM
265 * progmodes/which-func.el (which-func-update-1):
266 Use define-obsolete-function-alias.
59f7af81
CY
267
268 * net/newst-backend.el (newsticker-cache-filename):
07b1a5fb
SM
269 * net/newst-treeview.el (newsticker-groups-filename):
270 Fix incorrect obsolescence declaration.
59f7af81
CY
271
272 * allout.el (allout-passphrase-hint-string): Likewise.
273 (allout-init): Use a declare form to mark obsolete.
274
275 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
276 this applies to functions.
277
278 * iswitchb.el (iswitchb-read-buffer): Move code of
279 iswitchb-define-mode-map here, and delete that obsolete function.
280
281 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
282 font-lock-reference-face.
283
cca96c97
GM
2842012-09-25 Glenn Morris <rgm@gnu.org>
285
b06eeda8
GM
286 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
287 Doc fixes.
288
cca96c97
GM
289 * eshell/em-term.el (eshell-term-name):
290 Default to term-term-name. (Bug#12485)
291
dc4f818b
FEG
2922012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
293
cca96c97
GM
294 * progmodes/python.el (python-shell-send-buffer): Better handling
295 of "if __name__ == '__main__':" conditionals when sending the buffer.
dc4f818b 296
289c24bd
GM
2972012-09-24 Glenn Morris <rgm@gnu.org>
298
299 * eshell/esh-cmd.el (eshell-find-alias-function):
300 Tighten up file-name regexp. (Bug#12499)
301
8fb8b88f
FEG
3022012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
303
304 Enhancements for triple-quote string syntax.
305 * progmodes/python.el (python-quote-syntax): Remove.
306 (python-syntax-propertize-function): New value.
07b1a5fb
SM
307 (python-syntax-count-quotes, python-syntax-stringify):
308 New functions.
8fb8b88f 309
6c27f0f8
CY
3102012-09-24 Chong Yidong <cyd@gnu.org>
311
a5f2b6ec
CY
312 * mail/supercite.el (sc-version): Remove obsolete function.
313 (sc-describe): Don't mark as obsolete, since it is bound.
314 (sc-submit-bug-report): Remove.
315
316 * vc/log-edit.el (cvs-changelog-full-paragraphs)
317 (cvs-commit-buffer-require-final-newline): Remove.
0c765e5f
CY
318 (log-edit-require-final-newline)
319 (log-edit-changelog-full-paragraphs): Default to t.
a5f2b6ec
CY
320
321 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
322 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
323 * vc/vc.el (vc-checkout-carefully): Likewise.
324
325 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
326 (emerge-version): Remove.
327
328 * progmodes/compile.el (compile-internal): Remove.
329 (compilation-parse-errors-function): Fix typo.
330
331 * international/mule.el (set-char-table-default): Remove.
332 (set-coding-priority, make-coding-system, generic-char-p)
333 (charset-list, charset-bytes, charset-id): Use declare to mark
334 functions as obsolete.
335
336 * vc/pcvs-defs.el (cvs-buffer-name-alist)
337 (cvs-invert-ignore-marks): Remove references to obsolete vars.
338 * vc/vc-hooks.el (vc-default-registered): Don't use
339 vc-master-templates.
340
07b1a5fb
SM
341 * font-lock.el (font-lock-reference-face):
342 Use define-obsolete-variable-alias.
6c27f0f8
CY
343
344 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
345 * calendar/calendar.el (calendar-font-lock-keywords):
346 * calendar/diary-lib.el (diary-font-lock-keywords)
347 (diary-fancy-font-lock-keywords):
348 * textmodes/reftex-sel.el (reftex-insert-docstruct):
349 * textmodes/reftex-index.el (reftex-insert-index):
350 * textmodes/reftex-cite.el (reftex-format-bib-entry):
351 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
352 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
353 * progmodes/prolog.el (prolog-font-lock-keywords):
354 * progmodes/idlwave.el (idlwave-idl-keywords):
355 * progmodes/ada-mode.el (ada-font-lock-keywords):
356 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
357
bcc0adbf
GM
3582012-09-24 Glenn Morris <rgm@gnu.org>
359
360 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
361
095bb823
FEG
3622012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
363
364 * progmodes/python.el (python-indent-line): More consistent cursor
365 movement behavior.
366
70efc5c9
SM
3672012-09-23 Stefan Merten <smerten@oekonux.de>
368
369 * textmodes/rst.el: Fix compiler warning.
370
2f438239
RW
3712012-09-23 Roland Winkler <winkler@gnu.org>
372
07b1a5fb
SM
373 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
374 Transcribe also LaTeX hyphenation.
2f438239
RW
375 (bibtex-reformat): Bug fix. Do not quote twice the elements of
376 bibtex-reformat-previous-options.
377
936ad041
RW
3782012-09-23 Roland Winkler <winkler@gnu.org>
379
380 * proced.el (proced-renice-command): New variable.
381 (proced-marked-processes): New function.
382 (proced-with-processes-buffer): New macro.
383 (proced-send-signal): Use them.
384 (proced-renice): New command bound to r.
385
6fab0274
RW
3862012-09-23 Roland Winkler <winkler@gnu.org>
387
388 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
389 ibuffer-saved-filter-groups has one element, shortcut the call of
390 completing-read. (Bug#12331)
391
9a930676
CY
3922012-09-23 Chong Yidong <cyd@gnu.org>
393
394 * bindings.el (mode-line-toggle-read-only):
395 * bs.el (bs-toggle-readonly):
396 * buff-menu.el (Buffer-menu-toggle-read-only):
397 * dired.el (dired-toggle-read-only):
398 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
399
d07ff9db
CY
4002012-09-23 Chong Yidong <cyd@gnu.org>
401
402 * image.el (image-type-available-p): Adapt to init-image-library
403 argument changes.
404
51c4474e
JL
4052012-09-22 Juri Linkov <juri@jurta.org>
406
407 * dired.el (dired-mode-map): Add [remap read-only-mode] for
408 `dired-toggle-read-only'. (Bug#12462)
409
43bf5e8e
MR
4102012-09-22 Martin Rudalics <rudalics@gmx.at>
411
412 * subr.el (temp-output-buffer-show): New function.
413 (with-output-to-temp-buffer): Call temp-output-buffer-show
414 instead of internal-temp-output-buffer-show.
415
c88b867f
CY
4162012-09-22 Chong Yidong <cyd@gnu.org>
417
3df47cd5
CY
418 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
419 (Bug#12462).
420
c88b867f
CY
421 * repeat.el (repeat): Doc fix (Bug#12348).
422
423 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
424 (Bug#10909).
425
426 * simple.el (shell-command-on-region): Doc fix.
3171e303 427 (read-only-mode): Doc fix.
c88b867f 428
df9685f3
EZ
4292012-09-22 Eli Zaretskii <eliz@gnu.org>
430
431 * emacs-lisp/timer.el (run-with-idle-timer)
432 (timer-activate-when-idle): Warn against reinvoking an idle timer
433 from within its own timer action. (Bug#12447)
434
8e17c9ba
MR
4352012-09-22 Martin Rudalics <rudalics@gmx.at>
436
437 * cus-start.el (window-combination-limit): Add new optional
438 values.
439 * window.el (temp-buffer-window-show)
440 (window--try-to-split-window): Handle new values of
441 window-combination-limit (Bug#1806).
442 (split-window): Test window-combination-limit for t instead of
443 non-nil.
444 (display-buffer-at-bottom): New buffer display action function.
445 * help.el (temp-buffer-resize-regexps): New option.
446 (temp-buffer-resize-mode): Rewrite doc-string.
447 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
bd909927 448 Don't resize reused window. Suggested by Glenn Morris.
8e17c9ba 449
48a24920
SM
4502012-09-22 Stefan Merten <smerten@oekonux.de>
451
70efc5c9 452 * textmodes/rst.el: Revamp section title faces.
48a24920
SM
453 (rst-official-version)
454 (rst-package-emacs-version-alist): Sync with official version
455 V1.4.0.
456 (rst-faces-defaults, rst-set-level-default)
457 (rst-level-face-max, rst-level-face-base-color)
458 (rst-level-face-base-light, rst-level-face-format-light)
459 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
460 (rst-adornment-faces-alist): Match new setup.
461 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
462 (rst-level-5, rst-level-6): New faces.
463
82f8cd94
CY
4642012-09-22 Chong Yidong <cyd@gnu.org>
465
466 * simple.el (undo): Handle indirect buffers (Bug#8207).
467
acfa068f 4682012-09-21 Leo Liu <sdl.web@gmail.com>
a8c14da8
LL
469
470 IDO: Disable match re-ordering for buffer switching.
2bc9406c 471 * ido.el (ido-buffer-disable-smart-matches): New variable.
a8c14da8
LL
472 (ido-set-matches-1): Use it. (Bug#2042)
473
acfa068f 4742012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
a316d229
JM
475
476 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
477 Fix 2011-05-17 change. (Bug#12418)
478
acfa068f 4792012-09-21 Leo Liu <sdl.web@gmail.com>
d02e58f8
LL
480
481 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
482
acfa068f 4832012-09-21 Glenn Morris <rgm@gnu.org>
511fd0b2
GM
484
485 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
486 Be more robust about locating simple.el.
487
acfa068f 4882012-09-21 Glenn Morris <rgm@gnu.org>
fa05bfe0
GM
489
490 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
491
acfa068f
CY
4922012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
493
494 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
495
41a97e6f
JL
4962012-09-20 Juri Linkov <juri@jurta.org>
497
eb2deaff
JL
498 * replace.el (query-replace-read-from): Use `read-regexp' instead
499 of `read-from-minibuffer' when `regexp-flag' is non-nil.
500 (occur-read-primary-args): Use `read-regexp' instead of
501 `read-string'.
502 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
503 `read-from-minibuffer'.
504 * isearch.el (isearch-occur): Use `read-regexp' instead of
505 `read-string'.
506 * dired.el (dired-read-regexp): Use `read-regexp' instead of
507 `read-from-minibuffer'.
508 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
509 of `read-string'. (Bug#7567)
510
5825610b
JL
511 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
512 and allow accepting a list of strings prepended to a list of
513 standard default values. Doc fix. (Bug#12321)
514
eebbf404
JL
515 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
516
41a97e6f
JL
517 * replace.el (read-regexp): Don't add ": " when PROMPT already
518 ends with a colon and space. (Bug#12321)
519
c9e452d3
TH
5202012-09-20 Tassilo Horn <tsdh@gnu.org>
521
522 * doc-view.el (doc-view-display): Better fix for the cl-assertion
523 error.
524
ee97deee
SM
5252012-09-20 Stefan Merten <smerten@oekonux.de>
526
70efc5c9 527 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
ee97deee
SM
528 Fixes feature request bug#11711.
529 (rst-mode): Create `imenu-create-index-function'.
530 (rst-get-stripped-line): Delete after refactoring.
531 (rst-section-tree, rst-section-tree-rec)
532 (rst-section-tree-point): Refactor and document properly.
533 (rst-imenu-find-adornments-for-position)
07b1a5fb
SM
534 (rst-imenu-convert-cell, rst-imenu-create-index):
535 New function.
ee97deee 536
f490dab9
SM
5372012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
538
95b9712e
SM
539 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
540 (macroexp--expand-all): Use it.
541 (macroexp--funcall-and-return): Remove by folding it into its sole
542 caller (macroexp--warn-and-return).
543 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
544 Use macroexp--obsolete-warning.
545
f490dab9
SM
546 * calc/calc.el: Fix last change by removing the whole chunk, since it
547 was only needed back when Calc was not bundled.
548
96e8d411
MR
5492012-09-20 Martin Rudalics <rudalics@gmx.at>
550
551 * emacs-lisp/debug.el (debug): Restore assignment to
552 debugger-old-buffer removed on 2012-09-08.
553
0876a82d
JL
5542012-09-20 Juri Linkov <juri@jurta.org>
555
556 * dired-aux.el (dired-diff): Remove (require 'diff) since
557 `diff-latest-backup-file' is now autoloaded.
558
9f7c28f0
CY
5592012-09-20 Chong Yidong <cyd@gnu.org>
560
561 * vc/diff.el (diff-latest-backup-file): Autoload.
562
7a04bee9
SM
5632012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
564
e6f0a80d
SM
565 * calc/calc.el: Remove redundant autoload shape check.
566 (sel-mode): Don't defvar.
567 (calc-get-stack-element): Add `sel-mode' arg instead.
568 (calc-top, calc-top-list): Pass it this additional argument.
569 * calc/calc-store.el (calc-store-map):
570 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
571 (calc-map-equation, calc-outer-product, calc-inner-product):
572 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
573
7a04bee9
SM
574 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
575
12734222
JL
5762012-09-19 Juri Linkov <juri@jurta.org>
577
578 * dired-aux.el (dired-diff): Add (require 'diff) because
579 `diff-latest-backup-file' is not autoloaded.
580 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
581 of `dired-get-filename' to t to not report error when there is
582 no default file on the current line.
583
46624b4f
SM
5842012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
585
ce97595b
SM
586 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
587 macroexp--eval-if-compile.
588 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
589 (macroexp--expand-all): Use them (bug#12371).
590
46624b4f
SM
591 * doc-view.el (doc-view-guess-paper-size)
592 (doc-view-scale-bounding-box): Fix unbound `caddr'.
593
db8a5a18
TH
5942012-09-19 Tassilo Horn <tsdh@gnu.org>
595
596 New feature: set optimal slice from BoundingBox information.
597 * doc-view.el (doc-view-mode-map): Add keybinding.
598 (doc-view-menu): Add menu entry.
599 (doc-view-set-slice): Adapt docstring.
600 (doc-view-get-bounding-box, doc-view-guess-paper-size)
601 (doc-view-scale-bounding-box)
602 (doc-view-set-slice-from-bounding-box): New functions.
603 (doc-view-paper-sizes): New defvar.
604
69f6644c
GM
6052012-09-19 Glenn Morris <rgm@gnu.org>
606
35f5b19d
GM
607 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
608 (byte-compile-log-warning): Autoload. (Bug#12371)
609
69f6644c
GM
610 * calendar/calendar.el (calendar-american-month-header)
611 (calendar-european-month-header, calendar-iso-month-header)
612 (calendar-month-header): New options.
613 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
614 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
615
e543ae91
JD
6162012-09-19 Jan Djärv <jan.h.d@swipnet.se>
617
618 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
619
2fd5e67d
JL
6202012-09-18 Juri Linkov <juri@jurta.org>
621
622 * dired-aux.el (dired-diff): Restore original functionality of
623 getting the default value, but keep new feature of using the
624 latest existing backup file (`diff-latest-backup-file').
625
42917e79
JL
6262012-09-18 Juri Linkov <juri@jurta.org>
627
628 * dired.el (dired-mark): If the region is active in Transient Mark
629 mode, mark all files in the active region. Doc fix.
630 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
631 Doc fix. (Bug#10624)
632
20f70ede
JL
6332012-09-18 Juri Linkov <juri@jurta.org>
634
635 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
636 attributes for M-n are pulled from the file at point.
637 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
638 Suggested by Drew Adams. (Bug#10624)
639
32fb8162
DG
6402012-09-18 Dmitry Gutov <dgutov@yandex.ru>
641
642 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
643 whitespace after "end".
644 (ruby-do-end-to-brace): Collapse block to one line if it fits
645 within fill-column.
646
37ab5092
MR
6472012-09-18 Martin Rudalics <rudalics@gmx.at>
648
649 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
650 value.
651 (debug): Don't remove debugger window when debugger is expected
652 to be back.
653
ed1f0bd3
CY
6542012-09-18 Chong Yidong <cyd@gnu.org>
655
656 * custom.el (defface): Doc fix.
657
658 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
659
a11035b8
MB
6602012-09-18 Martin Blais <blais@furius.ca> (tiny change)
661
662 * progmodes/compile.el (compilation-start): Use compilation-always-kill
663 to initialize query-on-exit; then test that instead (bug#12288).
664
64f6a736
SM
6652012-09-17 Stefan Merten <smerten@oekonux.de>
666
70efc5c9 667 * textmodes/rst.el: Add support for `testcover'.
64f6a736
SM
668 (rst-defcustom-testcover, rst-testcover-add-compose)
669 (rst-testcover-add-1value): New functions.
670 (rst-portable-mark-active-p): Replace by `use-region-p'.
671 (rst-update-section, rst-classify-adornment)
672 (rst-find-title-line): Mark `1value' forms.
673 (rst-classify-adornment): Remove superfluous form.
674 (rst-update-section, rst-get-adornments-around)
675 (rst-adornment-complete-p, rst-get-next-adornment)
676 (rst-adjust, rst-promote-region)
677 (rst-display-adornments-hierarchy, rst-straighten-adornments)
678 (rst-find-pfx-in-region, rst-section-tree-rec)
679 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
680 (rst-toc-node, rst-toc, rst-forward-section)
681 (rst-iterate-leftmost-paragraphs)
682 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
683 (rst-bullet-list-region)
684 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
685 (rst-compile-find-conf, rst-compile)
686 (rst-repeat-last-character): Fix style.
687
580bd868
CY
6882012-09-17 Chong Yidong <cyd@gnu.org>
689
690 * comint.el (comint--complete-file-name-data): Don't add a space
691 if the status is `sole'; that adds a gratuitous space in the
692 completion-cycling case (Bug#12092).
693
694 * pcomplete.el (pcomplete-completions-at-point): Likewise.
695
69de3ec6
RS
6962012-09-17 Richard Stallman <rms@gnu.org>
697
0dee970c
RS
698 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
699 only in the mime-shown mode, not in raw mode.
700 (rmail-mime): Toggle off mime by displaying the message without
6b250df6 701 mime processing. (Bug#12305)
0dee970c 702
6b250df6
GM
703 * mail/rmail.el (rmail-retry-failure):
704 Turn off mime processing first. (Bug#12037)
acb1c47b 705
69de3ec6
RS
706 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
707
d079ee5f
CY
7082012-09-17 Chong Yidong <cyd@gnu.org>
709
710 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
711 (shell-dynamic-complete-functions): Convert to defcustom.
712 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
713
865fe16f
CY
714 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
715 * comint.el (comint-prompt-read-only):
716 * custom.el (defcustom):
717 * hi-lock.el (hi-lock-mode):
718 * ibuffer.el (ibuffer-formats):
719 * ielm.el (ielm-prompt-read-only):
720 * novice.el (disable-command):
721 * saveplace.el (toggle-save-place):
722 * speedbar.el (speedbar-supported-extension-expressions):
723 * startup.el (auto-save-list-file-prefix, init-file-user)
724 (after-init-hook, inhibit-startup-echo-area-message):
725 * strokes.el (strokes-help):
726 * time-stamp.el (time-stamp):
727 * calendar/calendar.el (calendar, diary-file):
728 * calendar/diary-lib.el (diary-mail-entries, diary)
729 (diary-list-entries-hook):
730 * calendar/holidays.el (holidays, calendar-holidays):
731 * calendar/lunar.el (lunar-phases):
732 * calendar/solar.el (sunrise-sunset):
733 * emulation/edt.el (edt-load-keys):
734 * emulation/viper.el (viper-mode):
735 * eshell/em-alias.el (eshell-command-aliases-list):
736 * eshell/esh-util.el (eshell-convert-numeric-arguments):
737 * international/ogonek.el (ogonek-information):
738 * net/tramp-cmds.el (tramp-bug):
739 * net/quickurl.el (quickurl-reread-hook-postfix):
740 * play/decipher.el (decipher-font-lock-keywords):
741 * progmodes/cc-styles.el (c-set-style):
742 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
743 * progmodes/inf-lisp.el (inferior-lisp-prompt):
744 * progmodes/octave-mod.el (octave-mode):
745 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
746 * progmodes/verilog-mode.el (verilog-read-defines):
747 * textmodes/two-column.el (2C-mode): Likewise.
748
48093eb9
KY
7492012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
750
751 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
752 that holds many addresses.
753
c584eaf9
CY
7542012-09-16 Chong Yidong <cyd@gnu.org>
755
40d70ecb
CY
756 * align.el (align-areas): Call the indication function with
757 positions instead of markers for arguments (Bug#12343).
758
1667e065
CY
759 * files.el (parse-colon-path): Use split-string (Bug#12351).
760
fdc2806d 761 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
71ce58e7 762 (display-buffer-function): Mark as obsolete.
fdc2806d 763
f1be615c 764 * progmodes/compile.el (compilation-parse-errors): Accept list
ce97595b
SM
765 values similar to font-lock-keywords (Bug#12136).
766 Suggested by Oleksandr Manzyuk.
c584eaf9
CY
767 (compilation-error-regexp-alist): Doc fix.
768
f40a9709
GM
7692012-09-15 Glenn Morris <rgm@gnu.org>
770
72aa16e1
GM
771 * version.el (emacs-bzr-version-bzr): New function.
772 (emacs-bzr-get-version): Add optional EXTERNAL argument.
773
82375160
GM
774 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
775 checkouts, check the parent dirstate matches the branch.
776 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
777 empty string.
778
f40a9709
GM
779 * version.el (emacs-bzr-version): Doc fix.
780 (emacs-bzr-version-dirstate): New function.
781 (emacs-bzr-get-version): For lightweight checkouts, if the parent
782 is local try and check that it matches the branch. If not, just
783 use dirstate information. (Bug#12441)
784
cb26b7f5
JL
7852012-09-14 Juri Linkov <juri@jurta.org>
786
787 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
788 (Bug#12399)
789
2de39f08
SM
7902012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
791
0fb3cb7c
SM
792 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
793
2de39f08
SM
794 * emacs-lisp/edebug.el: Miscellaneous cleanup.
795 Remove obsolete byte-compiler hack that tried to silence some warnings.
796 (edebug-submit-bug-report): Remove.
797 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
798 Remove aliases, use the un-prefixed name instead.
799 (edebug-pop-to-buffer): Consider other frames.
800 (edebug-original-read):: Make it more obvious that it's always defined.
801 (edebug--make-form-data-entry, edebug--form-data-name)
802 (edebug--form-data-begin, edebug--form-data-end): Rename from the
803 single-dashed name, and implement with cl-defstruct.
804 (edebug-set-form-data-entry): Use the standard accessors.
805 (edebug-make-top-form-data-entry): Use push.
806 (edebug-no-match): Drop useless `funcall'.
807 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
808 to functions.
809 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
810 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
811 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
812 (easy-menu-define, with-custom-print): Remove redundant specs.
813 (edebug-outside-overriding-local-map)
814 (edebug-outside-overriding-terminal-local-map): Remove, unused.
815 (edebug--display): Bind unread-command-events directly to nil rather
816 than binding it to unread-command-events and later setting it to nil.
817 (edebug--display): Kill edebug-eval-buffer here...
818 (edebug--recursive-edit): ...rather than here.
819 Bind standard-output and standard-input.
820 (edebug-eval): Check cl-macroexpand-all is fboundp.
821 (edebug-temp-display-freq-count): Fix last change.
822
823 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
824 * subr.el (noreturn, 1value): Add `debug' spec.
825 * emacs-lisp/advice.el: Require cl-lib.
826 (ad-copy-tree): Remove, use copy-tree instead.
827 (ad-dolist): Remove use dolist or cl-dolist instead.
828 (ad-do-return): Remove, use cl-return instead.
829 (defadvice): Add `debug' spec.
830
5b68b333
JL
8312012-09-13 Juri Linkov <juri@jurta.org>
832
833 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
834 (Bug#12399)
835
b9800ec4
GM
8362012-09-13 Glenn Morris <rgm@gnu.org>
837
6a2e6868
GM
838 * calc/calc.el (math-compose-expr):
839 * calc/calc-ext.el (math-compose-expr):
840 * progmodes/cc-defs.el (cl-macroexpand-all):
841 * progmodes/cc-langs.el (delete-duplicates, mapcan)
842 (cl-macroexpand-all): Update declarations.
843
b9800ec4
GM
844 * vc/vc.el: No need to require ediff.
845 (ediff-load-version-control): Declare.
846 (ediff-vc-internal): Fix declaration.
847 (vc-version-ediff): Require ediff.
848
c18e885b
PE
8492012-09-13 Paul Eggert <eggert@cs.ucla.edu>
850
851 Use a more backwards-compatible timer format (Bug#12430).
852 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
853 being right after USECS, as that better supports old code that
854 inadvisedly looked directly at the timer vector.
855
d607d303
KH
8562012-09-13 Kenichi Handa <handa@gnu.org>
857
858 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
859 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
860 `coding-priority' property of these language environment.
861
72eac303
PE
8622012-09-13 Paul Eggert <eggert@cs.ucla.edu>
863
864 Fix glitches caused by addition of psec to timers (Bug#12430).
865 * image.el (image-animate-timer):
866 * time.el (display-time-world-timer):
867 Use timer--function and timer--args rather than raw access to
868 timer vector.
869
2168fe4f
GM
8702012-09-13 Glenn Morris <rgm@gnu.org>
871
872 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
873 If not compiling a file, try using load-file-name.
874
bd8d6108
SM
8752012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
876
c0c54fbd
SM
877 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
878 Fix last change.
879 (edebug-update-eval-list): Use `push'.
880
bd8d6108
SM
881 * emacs-lisp/edebug.el: Use lexical-binding.
882 Remove the "edebug-" prefix from non-dynamically-scoped variables.
883 Mark unused args with underscore.
884 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
885 (edebug-form-data): Use defvar-local.
886 (edebug-make-before-and-after-form, edebug-make-after-form):
887 Use backquote.
888 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
889 Not dynamically scoped any more.
890 (edebug--enter-trace): Add arguments `function' and `args'.
891 Rename from edebug-enter-trace.
892 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
893 (edebug--update-coverage): Add `after-index' and `value' args.
894 Rename from edebug-update-coverage.
895 (edebug-slow-after): Call it accordingly.
896 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
897 edebug-recursive-edit.
898 (edebug--display): Call it accordingly. Add args `value',
899 `offset-index', and `arg-mode'. Rename from edebug-display.
900 (edebug-debugger, edebug): Call it accordingly.
901 (edebug-eval-display-list): Use dolist.
902
a9f9d9de
JL
9032012-09-12 Juri Linkov <juri@jurta.org>
904
905 * info.el (Info-search): Don't check for isearch-mode and
906 isearch-regexp before let-binding search-spaces-regexp to
907 Info-search-whitespace-regexp.
908 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
909 search-whitespace-regexp if isearch-lax-whitespace or
910 isearch-regexp-lax-whitespace is non-nil.
911 (Info-mode): Don't set local variable search-whitespace-regexp.
912 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
913
bfeae2cf
SM
9142012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
915
916 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
917 (debugger-env-macro): Remove support for unread-command-char.
918
919 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
920 the temporary map re-appearing on emulation-mode-map-alists.
921
922 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
923 since 22.1.
924
925 * ehelp.el (with-electric-help): Accept functions in
926 electric-help-form-to-execute.
927 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
928 And replace unread-command-char -> unread-command-events.
929
fbbcaf1b
MA
9302012-09-12 Michael Albinus <michael.albinus@gmx.de>
931
932 Sync with Tramp 2.2.6.
933
934 * net/tramp.el (tramp-accept-process-output): Don't use
935 JUST-THIS-ONE in the XEmacs case.
936
937 * net/trampver.el: Update release number.
938
4dece104
MR
9392012-09-12 Martin Rudalics <rudalics@gmx.at>
940
bfeae2cf
SM
941 * emacs-lisp/debug.el (debugger-previous-window-height):
942 New variable.
4dece104
MR
943 (debug): When debugger-jumping-flag is non-nil try to restore
944 height of debugger window. (Bug#8789)
945
45b82ad0
SM
9462012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
947
60c49c0f
SM
948 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
949 overriding-local-map and pre/post-command-hook here.
950 (edebug-recursive-edit): Do it here instead (bug#12345).
951 (edebug-outside-unread-command-char): Remove all uses of
952 unread-command-char.
953
45b82ad0
SM
954 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
955 inhibit-debugger is bound instead.
956
baa26ea0
BG
9572012-09-11 Bastien Guerry <bzg@gnu.org>
958
959 * subr.el (set-temporary-overlay-map): Add a docstring.
fc0c31f8 960 (Bug#12346)
baa26ea0 961
04e8abfa
BG
9622012-09-11 Bastien Guerry <bzg@gnu.org>
963
96d03571 964 * minibuffer.el (completion-table-subvert): Fix docstring.
fc0c31f8 965 (Bug#12347)
96d03571
BG
966
9672012-09-11 Bastien Guerry <bzg@gnu.org>
968
fc0c31f8 969 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
04e8abfa 970
04e082b0
MM
9712012-09-10 Michael R. Mauger <mmaug@yahoo.com>
972
973 * progmodes/sql.el: Version 3.1
974 (sql-db2-escape-newlines): New variable.
975 (sql-escape-newlines-filter): Use it.
976
399a361b
JB
9772012-09-10 Juanma Barranquero <lekktu@gmail.com>
978
979 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
980
0780c517
DN
9812012-09-10 Dan Nicolaescu <dann@gnu.org>
982
45b82ad0
SM
983 * vc/diff-mode.el (diff-mode-menu):
984 Bind diff-remove-trailing-whitespace.
0780c517 985
9b851e25
SM
9862012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
987
988 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
fc0c31f8
JB
989 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
990 (emacs-lisp-byte-code-mode): New functions.
9b851e25
SM
991 (eval-sexp-add-defvars): Don't skip defvars in column >0.
992 (eval-defun-2): Remove bogus interactive spec.
993 (lisp-indent-line): Remove redundant whole-exp code, now done in
994 indent-according-to-mode.
995 (save-match-data): Remove redundant indent data.
996
997 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
998 Use `declare'.
999
3231d532
JL
10002012-09-09 Juri Linkov <juri@jurta.org>
1001
1002 * replace.el (replace-regexp-lax-whitespace): New defcustom.
1003 (replace-lax-whitespace, query-replace-regexp)
1004 (query-replace-regexp-eval, replace-regexp): Doc fix.
1005 (perform-replace, replace-highlight): Let-bind
1006 isearch-lax-whitespace to replace-lax-whitespace and
1007 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
1008
1009 * isearch.el (isearch-query-replace): Let-bind
1010 replace-lax-whitespace to isearch-lax-whitespace and
1011 replace-regexp-lax-whitespace to
1012 isearch-regexp-lax-whitespace. (Bug#10885)
1013
70fe8236
SM
10142012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
1015
1016 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
1017
8ed43f15
AM
10182012-09-09 Alan Mackenzie <acm@muc.de>
1019
70fe8236
SM
1020 * progmodes/cc-engine.el (c-state-cache-init):
1021 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
1022 (c-record-parse-state-state):
1023 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
8ed43f15 1024
bfabf70a
AS
10252012-09-09 Andreas Schwab <schwab@linux-m68k.org>
1026
1027 * register.el (register-separator): Rename from
1028 separator-register. All uses changed. Doc fix.
1029 (register): Fix version.
1030
011474aa
CY
10312012-09-09 Chong Yidong <cyd@gnu.org>
1032
1033 * replace.el (query-replace-map): Bind four new symbols for
1034 requesting window scrolling.
1035
1036 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
1037 query-replace-map (Bug#8948).
1038
1039 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
1040
1041 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
1042 since they are now in query-replace-map.
1043
1044 * window.el (scroll-other-window-down): Make the arg optional.
1045
a8b7cd8d
CY
10462012-09-09 Chong Yidong <cyd@gnu.org>
1047
1048 * files.el (hack-local-variables-confirm): Use quit-window to kill
1049 the *Local Variables* buffer.
1050
c3268831
DG
10512012-09-08 Dmitry Gutov <dgutov@yandex.ru>
1052
1053 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
1054 not just expect to be at its beginning. Adjust callees.
1055 Succeed when do-end block has no space before the pipe character.
1056 (ruby-brace-to-do-end): When the original block is one-liner,
1057 convert to multiline. Reindent the result.
1058
0979429b
J
10592012-09-08 Jambunathan K <kjambunathan@gmail.com>
1060
1061 * register.el (register): New group.
1062 (register-separator): New user option.
1063 (increment-register): Route it to `append-to-register', if
1064 register contains text. Implication is that `C-x r +' can now be
1065 used for appending to a text register (bug#12217).
1066 (append-to-register, prepend-to-register): Add separator based on
1067 `register-separator.
1068
ace2989a
AM
10692012-09-08 Alan Mackenzie <acm@muc.de>
1070
1071 AWK Mode: make auto-newline work when there's "==" in the pattern.
1072 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
1073 correctly.
0979429b
J
1074 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
1075 Test more rigorously for "=" token.
ace2989a 1076
616c6c36
DG
10772012-09-08 Dmitry Gutov <dgutov@yandex.ru>
1078
0979429b
J
1079 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
1080 Only fail when reached LIMIT.
616c6c36 1081
35d98877
CY
10822012-09-08 Chong Yidong <cyd@gnu.org>
1083
1084 * dired.el (dired-mode-map): Don't bind M-=.
1085
1086 * dired-aux.el (dired-diff): Use backup file as default.
1087
1715f2db
DA
10882012-09-08 Drew Adams <drew.adams@oracle.com>
1089
1090 * subr.el (add-to-history): Fix delete usage (Bug#12314).
1091
6dcef6ec
CY
10922012-09-08 Chong Yidong <cyd@gnu.org>
1093
1094 * subr.el (syntax-after, syntax-class): Doc fix.
1095
fa2bcf43
MR
10962012-09-08 Martin Rudalics <rudalics@gmx.at>
1097
1098 * window.el (display-buffer-in-previous-window): New buffer
1099 display action function.
1100
1101 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
1102 (debugger-previous-window): New variable.
1103 (debug): Rewrite using display-buffer-in-previous-window,
1104 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
1105
daac280a
SM
11062012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
1107
1108 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
1109
9dd40b00
MM
11102012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
1111
daac280a
SM
1112 * progmodes/python.el (python-shell-send-string):
1113 When default-directory is remote, create temp file on remote
9dd40b00
MM
1114 filesystem.
1115 (python-shell-send-file): When file is remote, pass local view of
1116 file paths to remote Python interpreter. (Bug#12340)
1117
145823ec
CY
11182012-09-07 Chong Yidong <cyd@gnu.org>
1119
cee2e90d
CY
1120 * window.el (switch-to-buffer): Doc fix (Bug#12181).
1121
0d7eb2ea
CY
1122 * files.el (after-find-file): Don't fail on a read-only buffer if
1123 require-final-newline is `visit' or `visit-save' (Bug#11156).
1124
145823ec
CY
1125 * subr.el (read-char-choice): Allow quitting via ESC ESC.
1126
daac280a
SM
1127 * userlock.el (ask-user-about-supersession-threat):
1128 Use read-char-choice (Bug#12093).
145823ec 1129
74c582e6
CY
11302012-09-07 Chong Yidong <cyd@gnu.org>
1131
e5c2edf7
CY
1132 * subr.el (buffer-narrowed-p): New function.
1133
1134 * ses.el (ses-widen):
1135 * simple.el (count-words--buffer-message):
1136 * net/browse-url.el (browse-url-of-buffer): Use it
1137
1138 * simple.el (count-words-region): Don't signal an error if there
1139 is a non-nil prefix arg and the mark is not set.
c640e87d 1140
74c582e6
CY
1141 * help.el (describe-key-briefly): Allow the message to be seen
1142 when invoked from the minibuffer (Bug#7014).
1143
d81ceaaf
DG
11442012-09-07 Dmitry Gutov <dgutov@yandex.ru>
1145
1146 * progmodes/ruby-mode.el (ruby-end-of-defun)
1147 (ruby-beginning-of-defun): Simplify, allow indentation before
1148 block beginning and end keywords.
8f06acce
DG
1149 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
1150 (ruby-end-of-defun): Expect that the point is at the beginning of
1151 the defun.
d81ceaaf 1152
d458ef98
SM
11532012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
1154
1155 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
1156 (bug#12367).
1157 (cl--make-usage-args): Strip _ from argument names.
1158
20367d28
RS
11592012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1160
1161 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
1162 obsolete alias speedbar-key-map.
1163 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
1164 (vhdl-index-menu-init): Don't use obsolete variable
1165 font-lock-maximum-size.
1166
3424a4f6
CY
11672012-09-06 Chong Yidong <cyd@gnu.org>
1168
1169 * frame.el (window-system-version): Mark as obsolete.
1170
fcbfbdea
CY
1171 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
1172 of obsolete variable speedbar-key-map.
1173
826b3235
JL
11742012-09-06 Juri Linkov <juri@jurta.org>
1175
1176 * replace.el (replace-lax-whitespace): New defcustom.
1177 (query-replace, query-replace-regexp, query-replace-regexp-eval)
1178 (replace-string, replace-regexp): Mention it in docstrings.
1179 (perform-replace, replace-highlight): Let-bind
1180 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
1181 to the values of replace-lax-whitespace and regexp-flag.
1182 Don't let-bind search-whitespace-regexp. (Bug#10885)
1183
1184 * isearch.el (isearch-query-replace): Let-bind
1185 replace-lax-whitespace instead of let-binding
1186 replace-search-function and replace-re-search-function.
1187 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
1188 and isearch-regexp-lax-whitespace to lazy-highlight variables.
1189 (isearch-toggle-symbol): Set isearch-regexp to nil
1190 in isearch-word mode (like in isearch-toggle-word).
1191
1ec5e41d
JL
11922012-09-06 Juri Linkov <juri@jurta.org>
1193
1194 * replace.el (replace-search-function)
1195 (replace-re-search-function): Set default values to nil.
1196 (perform-replace): Let-bind isearch-related variables based on
1197 replace-related values, call `isearch-search-fun' and let-bind
1198 the result to `search-function'. Remove code that sets
1199 `search-function' and `search-string' separately for
1200 `delimited-flag'.
1201 (replace-highlight): Add new argument `delimited-flag' and
1202 rename other arguments to the names used in `perform-replace'.
1203 Let-bind `isearch-word' to the argument `delimited-flag'.
1204 (Bug#10885, bug#10887)
1205
0ba2d4b6
DG
12062012-09-07 Dmitry Gutov <dgutov@yandex.ru>
1207
1208 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
1209 ruby-beginning-of-indent, simplify, allow all keywords to have
1210 indentation before them.
1211 (ruby-beginning-of-indent): Adjust for above. Search until the
1212 found point is not inside a string or comment.
1213 (ruby-font-lock-keywords): Allow symbols to start with "@"
1214 character, give them higher priority than variables.
1215 (ruby-syntax-propertize-function)
1216 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
1217 matchers. Expression expansions are not comments when inside a
1218 string, and there comment syntax status is irrelevant.
1219 (ruby-match-expression-expansion): New function. Check that
1220 expression expansion is inside a string, and it's not escaped.
1221 (ruby-font-lock-keywords): Use it.
1222
ef654460
MR
12232012-09-05 Martin Rudalics <rudalics@gmx.at>
1224
1225 * help.el (temp-buffer-max-height): New default value.
1226 (temp-buffer-resize-frames): New option.
1227 (resize-temp-buffer-window): Optionally resize frame.
1228
1229 * window.el (fit-frame-to-buffer-bottom-margin): New option.
1230 (fit-frame-to-buffer): New function.
1231
7e570fbf 12322012-09-05 Glenn Morris <rgm@gnu.org>
72308848
GM
1233
1234 * emulation/cua-rect.el (cua--init-rectangles):
1235 * textmodes/picture.el (picture-mode-map):
1236 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
1237 like forward-char and backward-char. (Bug#12317)
1238
7e570fbf 12392012-09-05 Leo Liu <sdl.web@gmail.com>
3aca1291
LL
1240
1241 * progmodes/flymake.el (flymake-warning-re): New variable.
1242 (flymake-parse-line): Use it.
1243
7e570fbf 12442012-09-05 Glenn Morris <rgm@gnu.org>
b6683353
GM
1245
1246 * calendar/holidays.el (holiday-christian-holidays):
1247 Rename an entry. (Bug#12289)
1248
7e570fbf 12492012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
64f8c4bd
SM
1250
1251 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
1252 (bug#12222).
1253
972debf2
SM
12542012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
1255
1256 * loadup.el: Load macroexp. Remove hack.
1257 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
1258 (macroexp--expand-all): Use it to get better warnings.
1259 (macroexp--backtrace, macroexp--trim-backtrace-frame)
1260 (internal-macroexpand-for-load): New functions.
1261 (macroexp--pending-eager-loads): New var.
1262 (emacs-startup-hook): New hack to replace one in loadup.el.
1263 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
1264 (cl--compiler-macro-cXXr): Move to top, before they can be used.
1265 (cl-psetf): Simplify.
1266 (cl-defstruct): Add indent rule.
1267
8ce192e3
LI
12682012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
1269
1270 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
1271 over `user-mail-address' for the SMTP MAIL FROM envelope.
1272 (smtpmail-via-smtp): Ditto.
1273
6578b4d8
DG
12742012-09-04 Dmitry Gutov <dgutov@yandex.ru>
1275
1276 * progmodes/ruby-mode.el: Clean up keybindings.
1277 (ruby-mode-map): Don't bind ruby-electric-brace,
1278 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
1279 backward-kill-word, reindent-then-newline-and-indent.
1280 (ruby-mark-defun): Remove.
1281 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
1282 (ruby-mode): Set local beginning-of-defun-function and
1283 end-of-defun-function values.
1284
c5e28e39
MR
12852012-09-03 Martin Rudalics <rudalics@gmx.at>
1286
1287 * window.el (temp-buffer-window-setup-hook)
1288 (temp-buffer-window-show-hook): New hooks.
1289 (temp-buffer-window-setup, temp-buffer-window-show)
1290 (with-temp-buffer-window): New functions.
972debf2
SM
1291 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
1292 (special-display-popup-frame): Make sure the window used shows BUFFER.
c5e28e39
MR
1293
1294 * help.el (temp-buffer-resize-mode): Fix doc-string.
1295 (resize-temp-buffer-window): New optional argument WINDOW.
1296
1297 * files.el (recover-file, save-buffers-kill-emacs):
1298 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
1299
73406194
MA
13002012-09-02 Michael Albinus <michael.albinus@gmx.de>
1301
1302 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
1303 remote definition of `default-directory', ensure we can connect.
1304
63dd1c6f
JL
13052012-09-02 Juri Linkov <juri@jurta.org>
1306
1307 Toggle whitespace matching mode with M-s SPC.
1308 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
1309
1310 * isearch.el (search-whitespace-regexp): Doc fix.
1311 Remove cons cell customization.
1312 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
1313 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
1314 New variables.
1315 (isearch-forward, isearch-forward-regexp): Doc fix.
1316 (isearch-toggle-lax-whitespace): New command.
1317 (search-forward-lax-whitespace, search-backward-lax-whitespace)
1318 (re-search-forward-lax-whitespace)
1319 (re-search-backward-lax-whitespace): New functions.
1320 (isearch-whitespace-regexp): Remove function.
1321 (isearch-query-replace): Let-bind replace-search-function and
1322 replace-re-search-function.
1323 (isearch-occur): Let-bind search-spaces-regexp according to the
1324 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
1325 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
1326 condition for C-q SPC.
1327 (isearch-search-fun-default): Use new functions mentioned above.
1328 (isearch-search-forward, isearch-search-backward): Remove functions.
1329 (isearch-search): Don't let-bind search-spaces-regexp.
1330 (isearch-lazy-highlight-space-regexp): Remove variable.
1331 (isearch-lazy-highlight-lax-whitespace)
1332 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
1333 (isearch-lazy-highlight-new-loop): Use them.
1334 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
1335
af7dda05
CY
13362012-09-02 Chong Yidong <cyd@gnu.org>
1337
1338 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
1339
d67d3afd
GM
13402012-09-02 Glenn Morris <rgm@gnu.org>
1341
1342 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
1343
69678719
GM
13442012-09-01 Glenn Morris <rgm@gnu.org>
1345
1346 * term.el: Tidy up menu definitions.
1347 (term-mode-map): Use easymenu for In/Out, Complete menus.
1348 (term-pager-break-map): Initialize in the defvar.
1349 (term-terminal-menu, term-signals-menu): Define with easymenu.
1350 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
1351 (term-pager-menu): New, extracted from term-process-pager.
1352 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
1353 (term-update-mode-line): Propertize line/char and page items.
1354 (term-process-pager): Move keymap initialization elsewhere.
1355
78dd6ab1
MR
13562012-09-01 Martin Rudalics <rudalics@gmx.at>
1357
1358 * window.el (switch-to-prev-buffer): Handle additional values of
1359 BURY-OR-KILL argument. Don't switch in minibuffer window.
1360 (switch-to-next-buffer): Don't switch in minibuffer window.
1361 (quit-restore-window): New function based on quit-window.
1362 Handle additional values of former KILL argument.
1363 (quit-window): Call quit-restore-window with appropriate
1364 interpretation of KILL argument.
1365 (display-buffer-below-selected): New buffer display action
1366 function.
1367
3d10e134
SM
13682012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
1369
1370 * minibuffer.el (completion-at-point-functions): Complete docstring
1371 (bug#12254).
1372
0e23ef9d
PE
13732012-09-01 Paul Eggert <eggert@cs.ucla.edu>
1374
1375 Better seed support for (random).
1376 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
1377 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
1378 * play/mpuz.el, play/tetris.el, play/zone.el:
1379 * calc/calc-comb.el (math-init-random-base):
1380 * play/blackbox.el (bb-init-board):
1381 * play/life.el (life):
1382 * server.el (server-use-tcp):
1383 * type-break.el (type-break):
1384 Remove unnecessary call to (random t).
1385 * net/sasl.el (sasl-unique-id-function):
1386 Change (random t) to (random), now that the latter is more random.
1387 * play/life.el (life-initialized): Remove no-longer-needed var.
1388
862382df
MR
13892012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
1390
1391 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
1392 Consider frame's buffer predicate when choosing the buffer.
1393 (Bug#12081)
1394
262a66e1
RS
13952012-08-30 Richard Stallman <rms@gnu.org>
1396
1397 * simple.el (special-mode-map): Delete binding for `z'.
1398
f17e1d00
AS
13992012-08-30 Andreas Schwab <schwab@linux-m68k.org>
1400
1401 * progmodes/compile.el (compilation-always-kill): Doc fix.
1402
24777832
CY
14032012-08-30 Chong Yidong <cyd@gnu.org>
1404
1405 * window.el (display-buffer-reuse-frames): Make the obsolescence
1406 message more informative.
1407
69ba1f04
GM
14082012-08-30 Glenn Morris <rgm@gnu.org>
1409
1410 * paren.el (show-paren-delay):
1411 Add a :set function. Doc fix. (Bug#12297)
1412
f0019ede
MB
14132012-08-29 Martin Blais <blais@furius.ca> (tiny change)
1414
1415 * progmodes/compile.el (compilation-always-kill): New var.
1416 (compilation-start): Use it.
1417
35e62fc9
SM
14182012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
1419
af070a1c
SM
1420 * simple.el (read-only-mode): Move from files.el for bootstrapping.
1421 * files.el (read-only-mode): Move to simple.el.
1422
35e62fc9
SM
1423 * files.el (read-only-mode): New minor mode.
1424 (toggle-read-only): Use it and mark obsolete.
1425 (find-file--read-only):
1426 * vc/vc.el (vc-next-action, vc-checkout):
1427 * vc/vc-cvs.el (vc-cvs-checkout):
1428 * obsolete/vc-mcvs.el (vc-mcvs-update):
1429 * ffap.el (ffap--toggle-read-only): Update callers.
1430
c2c43c23
MA
14312012-08-29 Michael Albinus <michael.albinus@gmx.de>
1432
1433 * eshell/esh-ext.el (eshell-external-command): Do not examine
972debf2
SM
1434 remote shell scripts.
1435 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
c2c43c23
MA
1436
1437 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
1438 "/usr/local/sbin".
1439
9fba804b
SM
14402012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
1441
1442 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
1443
eada0861 14442012-08-28 Leo Liu <sdl.web@gmail.com>
22ab32ef 1445
806f0cc7
LL
1446 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
1447 completion-at-point. (Bug#12220)
1448
3bb213b9
LL
1449 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
1450
22ab32ef
LL
1451 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
1452
eada0861 14532012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
db148c21 1454
19c17fc1
CY
1455 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
1456 be buffer-local; add delete-trailing-whitespace (bug#12259).
db148c21 1457
eada0861 14582012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
ffe6eaf1
JM
1459
1460 * progmodes/hideif.el (hif-compress-define-list):
1461 Fix typo. (Bug#11951)
1462
eada0861 14632012-08-28 Dan Nicolaescu <dann@gnu.org>
d30aca1b
DN
1464
1465 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
1466 buffer local setting.
1467
27d6c5a8
LL
1468 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
1469 rcirc-encode-coding-system.
1470
eada0861 14712012-08-28 Leo Liu <sdl.web@gmail.com>
4432d2e2
LL
1472
1473 * net/rcirc.el (rcirc-split-message): New function.
1474 (rcirc-send-message): Use it. (Bug#12051)
1475
d44688e4
JL
14762012-08-28 Juri Linkov <juri@jurta.org>
1477
1478 * info.el (Info-fontify-node): Hide empty lines at the end of
1479 the node. (Bug#12272)
1480
34f10d41
MR
14812012-08-27 Drew Adams <drew.adams@oracle.com>
1482
1483 * dired.el (dired-pop-to-buffer): Make window start at beginning
1484 of buffer (Bug#12281).
1485
77f1f99c
CY
14862012-08-26 Chong Yidong <cyd@gnu.org>
1487
1488 * window.el (special-display-regexps, special-display-frame-alist)
1489 (special-display-buffer-names, special-display-function)
1490 (display-buffer-reuse-frames): Mark as obsolete.
1491
1492 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
1493
1494 * help.el (help-print-return-message): Don't treat
1495 display-buffer-reuse-frames specially.
1496
d97af5a0
CY
14972012-08-26 Chong Yidong <cyd@gnu.org>
1498
9fba804b
SM
1499 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
1500 New variable, replacing gdb-frame-parameters.
d97af5a0
CY
1501 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
1502 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
1503 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
1504 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
1505 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
1506 the functions directly with gdb-display-buffer-other-frame-action.
1507 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
1508 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
1509 (gdb-display-stack-buffer, gdb-display-locals-buffer)
1510 (gdb-display-registers-buffer): Define directly.
1511 (def-gdb-display-buffer): Macro deleted.
1512 (gdb-display-buffer): Remove second and third args, callers don't
1513 use them. Defer to the default display-buffer behavior, apart
1514 from making windows dedicated.
1515 (gdb-setup-windows): Don't call display-buffer unnecessarily.
1516
1517 * progmodes/gud.el (gud-display-line): Just use display-buffer.
1518
1519 * window.el (display-buffer-pop-up-frame): Handle a
1520 pop-up-frame-parameters alist entry.
1521 (display-buffer): Document it.
1522
dd7ffad6
CY
15232012-08-26 Chong Yidong <cyd@gnu.org>
1524
1525 * isearch.el (search-whitespace-regexp): Make string and nil
1526 values apply to both ordinary and regexp search. Allow a cons
1527 cell value to distinguish between the two.
1528 (isearch-whitespace-regexp, isearch-search-forward)
1529 (isearch-search-backward): New functions.
1530 (isearch-occur, isearch-search-fun-default, isearch-search)
1531 (isearch-lazy-highlight-new-loop): Use them.
1532 (isearch-forward, isearch-forward-regexp): Doc fix.
1533
4c47bd1e
CY
15342012-08-26 Chong Yidong <cyd@gnu.org>
1535
1536 * faces.el (help-argument-name): Always inherit from italic
1537 (Bug#12213).
1538
9aba119d
MR
15392012-08-25 Martin Rudalics <rudalics@gmx.at>
1540
1541 * window.el (window--even-window-heights): Even heights when
1542 WINDOW and the selected window form a vertical combination.
1543 (display-buffer-use-some-window): Provide that window used gets
1544 sized back by quit-window. (Bug#11880) and (Bug#12091)
1545
ca5256ad
PE
15462012-08-24 Paul Eggert <eggert@cs.ucla.edu>
1547
1548 Fix file time stamp problem with bzr and CVS (Bug#12001).
1549 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
1550 in the file's time stamp, since the version control system loses
1551 that information.
1552
d1c0d176
JL
15532012-08-22 Juri Linkov <juri@jurta.org>
1554
1555 * info.el (Info-fontify-node): Hide the suffix of the
1556 Info file name in the header line. (Bug#12187)
1557
141562ff
GM
15582012-08-22 Glenn Morris <rgm@gnu.org>
1559
1560 * calendar/cal-tex.el (cal-tex-weekly-common):
1561 Restore leading blank page.
1562
61a48e19 15632012-08-22 Le Wang <l26wang@gmail.com> (tiny change)
add9ca2d
BG
1564
1565 * misc.el (forward-to-word, backward-to-word): Activate or extend
61a48e19
GM
1566 the region under `shift-select-mode'. (Bug#12231)
1567
15682012-08-22 Bastien Guerry <bzg@gnu.org>
0fcd3d9f
BG
1569
1570 * progmodes/executable.el (executable-prefix): Set to "#!" instead
1571 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
1572 gives details on why the space is never needed.
1573
ea95074e
MR
15742012-08-22 Martin Rudalics <rudalics@gmx.at>
1575
9fba804b
SM
1576 * window.el (walk-window-tree, window-with-parameter):
1577 New optional argument MINIBUF to control whether these functions
ea95074e
MR
1578 should run on the minibuffer window.
1579 (window-at-side-list): Don't operate on minibuffer window.
1580 (window-in-direction): Simplify and rewrite doc-string.
9fba804b
SM
1581 (window--size-ignore): Rename to window--size-ignore-p.
1582 Update callers.
caceae25
MR
1583 (display-buffer-in-atom-window, window--major-non-side-window)
1584 (window--major-side-window, display-buffer-in-major-side-window)
9fba804b
SM
1585 (delete-side-window, display-buffer-in-side-window):
1586 New functions.
caceae25
MR
1587 (window--side-check, window-deletable-p, delete-window)
1588 (delete-other-windows, split-window): Handle side windows and
1589 atomic windows appropriately.
1590 (window--display-buffer): Call display-buffer-record-window also
1591 when the window buffer did not change.
ea95074e 1592
80a51fa0
CS
15932012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
1594
1595 * help-fns.el (help-fns--key-bindings):
1596 Abbreviate non-symbol remap targets. (Bug#12174)
1597
fbb6300b
MR
15982012-08-22 Martin Rudalics <rudalics@gmx.at>
1599
1600 * dired.el (dired-mark-remembered): Don't clobber point.
1601 (Bug#11795)
1602
2b2c0794
GM
16032012-08-22 Glenn Morris <rgm@gnu.org>
1604
1605 * progmodes/bug-reference.el (bug-reference): New custom group.
1606 (bug-reference-bug-regexp): Make it a defcustom.
1607
37219830
DU
16082012-08-22 Daiki Ueno <ueno@unixuser.org>
1609
1610 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
1611 (js-paren-indent-offset, js-square-indent-offset)
1612 (js-curly-indent-offset): Add :safe (Bug#12257).
1613
94e0e559
EC
16142012-08-22 Edward O'Connor <hober0@gmail.com>
1615
1616 * json.el (json-key-format): Add error properties.
1617 (json-encode-key): New function.
1618 (json-encode-hash-table, json-encode-alist, json-encode-plist):
1619 Use json-encode-key.
1620
da485f5e
GM
16212012-08-22 Glenn Morris <rgm@gnu.org>
1622
1623 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
1624 (cal-tex-leftday, cal-tex-rightday): Remove functions.
1625 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
1626 Update for above change.
1627
c6cc78b8
AS
16282012-08-21 Andreas Schwab <schwab@linux-m68k.org>
1629
1630 * cus-face.el (custom-face-attributes): Fix customize type for the
1631 :underline attribute. (Bug#11805)
1632
5481664a
MR
16332012-08-21 Martin Rudalics <rudalics@gmx.at>
1634
1635 * window.el (window-point-1, set-window-point-1): Remove.
1636 (window-in-direction, record-window-buffer)
1637 (set-window-buffer-start-and-point, split-window-below)
9fba804b
SM
1638 (window--state-get-1, display-buffer-record-window):
1639 Replace calls to window-point-1 and set-window-point-1 by calls to
5481664a
MR
1640 window-point and set-window-point respectively.
1641
6d74698e
GM
16422012-08-21 Glenn Morris <rgm@gnu.org>
1643
b7fa2691
GM
1644 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
1645 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
1646 Use it.
1647
52f56d5a
GM
1648 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
1649 (cal-tex-shortday): New function.
1650 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
1651 (cal-tex-cursor-filofax-daily): Use the above.
1652
9f1ee09e
GM
1653 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
1654 New functions.
1655 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
1656 (cal-tex-cursor-filofax-week): Use them.
1657
79858159
GM
1658 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
1659 New constants.
1660 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
1661 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
1662
d346b2b4
GM
1663 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
1664 (cal-tex-end-document): Don't rely on buffer name.
1665
b2403709
GM
1666 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
1667 Use cal-tex-vspace.
1668 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
1669 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
2d225a3a
GM
1670 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
1671 Use cal-tex-arg.
b2403709 1672
1cebb5c0
GM
1673 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
1674 (cal-tex-cursor-week, cal-tex-cursor-week2)
1675 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
1676 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
1677 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
1678 (cal-tex-insert-preamble, cal-tex-b-document)
1679 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
1680 Improve cal-tex-cmd usage.
1681
c68cd5d4
GM
1682 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
1683 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
1684 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
1685 (cal-tex-weekly-paper): New function.
1686 (cal-tex-cursor-week, cal-tex-cursor-week2)
1687 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
1688 (cal-tex-cursor-day): Use it.
1689
9dca4801
GM
1690 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
1691 (cal-tex-cursor-filofax-week): Remove leading blank page.
1692
1941e134
GM
1693 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
1694 Add autoload cookie. For now at least, don't use color, since
1695 no other cal-tex function does.
1696
6d74698e
GM
1697 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
1698 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
1699 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
1700
64cde199
JL
17012012-08-21 Juri Linkov <juri@jurta.org>
1702
1703 * info.el (Info-file-attributes): New variable.
1704 (info-insert-file-contents): Add file attributes to
1705 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
1706 `Info-toc-nodes' when previous modtime of the Info file is less
1707 than new modtime.
1708 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
1709 of info.el. (Bug#12230)
1710
32757648
GM
17112012-08-20 Glenn Morris <rgm@gnu.org>
1712
1713 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
1714 * calendar/holidays.el (calendar-holiday-list):
1715 Report errors with display-warning rather than beep'n'sleep.
1716
a32fbbcf
MA
17172012-08-20 Michael Albinus <michael.albinus@gmx.de>
1718
1719 * net/tramp.el (tramp-accept-process-output): Accept only output
1720 from PROC. Otherwise, process filters and sentinels might be
1721 confused. (Bug#12145)
1722
a05731a0
CY
17232012-08-20 Chong Yidong <cyd@gnu.org>
1724
1725 * descr-text.el (describe-text-properties-1): Use overlays-in to
1726 report on empty overlays (Bug#3322).
1727
36e8d1eb
GM
17282012-08-20 Glenn Morris <rgm@gnu.org>
1729
3d300447
GM
1730 * mail/rmailout.el (rmail-output-read-file-name):
1731 Trap and report errors in rmail-output-file-alist elements.
1732
36e8d1eb
GM
1733 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
1734 since most non-font-lock faces are not also variables).
1735
b96e5814
ER
17362012-08-20 Edward Reingold <reingold@iit.edu>
1737
1738 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
1739 New function. (Bug12160)
1740
7cef3569
GM
17412012-08-19 Glenn Morris <rgm@gnu.org>
1742
1743 * mail/rmailout.el (rmail-output-read-file-name):
1744 Fix previous change (when the alist is nil or does not match).
1745
17975d7f
CY
17462012-08-19 Chong Yidong <cyd@gnu.org>
1747
1748 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
1749 (Bug#12228).
1750
2170b1bd
CY
17512012-08-18 Chong Yidong <cyd@gnu.org>
1752
1753 * simple.el (yank-handled-properties): New defcustom.
1754 (yank-excluded-properties): Add font-lock-face and category.
1755 (yank): Doc fix.
1756
9fba804b
SM
1757 * subr.el (remove-yank-excluded-properties):
1758 Obey yank-handled-properties. The special handling of font-lock-face
2170b1bd
CY
1759 and category is now done this way, instead of being hard-coded.
1760 (insert-for-yank-1): Remove font-lock-face handling.
1761 (yank-handle-font-lock-face-property)
1762 (yank-handle-category-property): New function.
1763
ee218151
GM
17642012-08-17 Glenn Morris <rgm@gnu.org>
1765
1766 * mail/rmailout.el (rmail-output-read-file-name):
1767 Check rmail-output-file-alist against the full message body
1768 in the correct rmail buffer. (Bug#12214)
1769
4a6bc3fd
MA
17702012-08-17 Michael Albinus <michael.albinus@gmx.de>
1771
9fba804b
SM
1772 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1773 Eliminate superfluous prompt. (Bug#12203)
4a6bc3fd 1774
383dcbf9
CY
17752012-08-17 Chong Yidong <cyd@gnu.org>
1776
1777 * mouse.el (mouse-appearance-menu): If x-select-font returns a
1778 font spec, set the font directly (Bug#3228).
1779
998c4a6a
MR
17802012-08-17 Martin Rudalics <rudalics@gmx.at>
1781
1782 * window.el (delete-window): Fix last fix.
1783
52162052
MR
17842012-08-16 Martin Rudalics <rudalics@gmx.at>
1785
1786 * window.el (window-valid-p): Move to window.c.
85c2386b
MR
1787 (window-child, window-child-count, window-last-child)
1788 (window-normalize-window, window-combined-p)
1789 (window-combinations, window-atom-root, window-min-size)
1790 (window-sizable, window-sizable-p, window-size-fixed-p)
1791 (window-min-delta, window-max-delta, window--resizable)
1792 (window--resizable-p, window-resizable, window-total-size)
1793 (window-full-height-p, window-full-width-p, window-body-size)
1794 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
1795 (minimize-window, window-deletable-p, delete-window)
1796 (delete-other-windows, set-window-buffer-start-and-point)
1797 (next-buffer, previous-buffer, split-window, balance-windows-2)
1798 (set-window-text-height, window-buffer-height)
1799 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
9fba804b
SM
1800 (truncated-partial-width-window-p): Minor code adjustments.
1801 In doc-strings state whether the argument window has to denote a
85c2386b 1802 live, valid or any window.
52162052 1803
1c308380
PS
18042012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
1805
1806 * progmodes/subword.el (subword-forward-function)
1807 (subword-backward-function, subword-forward-regexp)
1808 (subword-backward-regexp): New variables.
1809 (subword-forward, subword-forward-internal, subword-backward-internal):
1810 Use new variables, eg so that different "word" definitions
1811 can be easily used. (Bug#11411)
1812
94c9ece1
SM
18132012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
1814
1815 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
1816 for composite selectors.
1817 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
1818 operation just because we can't find a previous revision.
1819
f2045622
CY
18202012-08-15 Chong Yidong <cyd@gnu.org>
1821
1822 * frame.el (set-frame-font): Accept font objects.
1823
582db660
SM
18242012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
1825
1826 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
1827
2f29c200
WJ
18282012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
1829
456e62c2
WJ
1830 * man.el (Man-overstrike-face, Man-underline-face)
1831 (Man-reverse-face): Remove variables.
1832 (Man-overstrike, Man-underline, Man-reverse): New faces.
1833 (Man-fontify-manpage): Use them instead of the variables.
1834 (Man-cleanup-manpage): Comment change.
1835 (Man-ansi-color-map): New variable.
1836 (Man-fontify-manpage): Use it.
1837 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
1838
2f29c200
WJ
1839 Implement ANSI SGR parameters 22-27 (bug#12146).
1840 * ansi-color.el (ansi-colors): Doc fix.
1841 (ansi-color-context, ansi-color-context-region): Doc fix.
1842 (ansi-color--find-face): New function.
1843 (ansi-color-apply, ansi-color-apply-on-region): Use it.
1844 Rename the local variable `face' to `codes' since it is now a list of
1845 ansi codes. Doc fix.
1846 (ansi-color-get-face): Remove.
1847 (ansi-color-parse-sequence): New function, derived from
1848 ansi-color-get-face.
1849 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
1850 codes 22-27.
1851
b4f5e9df
SM
18522012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
1853
1854 * subr.el (read-passwd): Allow use from a minibuffer.
1855
ba025fbd
EZ
18562012-08-14 Eli Zaretskii <eliz@gnu.org>
1857
1858 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
1859 inside comments and strings as identifiers.
1860
1861 * progmodes/gud.el (gud-tooltip-print-command): Quote the
1862 expression to evaluate. This allows to evaluate expressions with
1863 embedded whitespace.
1864 (gud-tooltip-tips): Add a blank before the newline in the
1865 message-box text, for the benefit of message-box emulation on
1866 MS-Windows.
1867
1868 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
1869 messages from GDB, pop them up in a tooltip to give feedback to
1870 user.
b4f5e9df
SM
1871 (gdb-tooltip-print-1): Quote the expression to evaluate.
1872 This allows to evaluate expressions with embedded whitespace.
ba025fbd
EZ
1873 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
1874 if the TTY name is nil or empty (which happens when communicating
1875 with the inferior via pipes, e.g. on MS-Windows).
1876 (gdb-internals): If GDB sends a "&\n" empty debugging message,
1877 don't send that to the GUD buffer.
1878
c548f821
GM
18792012-08-14 Glenn Morris <rgm@gnu.org>
1880
1881 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
1882 Optimize away setq-default with no args, as for setq. (Bug#12195)
1883
55802e4a
CY
18842012-08-14 Chong Yidong <cyd@gnu.org>
1885
4abcdac8
CY
1886 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
1887
55802e4a
CY
1888 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
1889 (Bug#12085).
1890
3c3cda1a
GM
18912012-08-14 Glenn Morris <rgm@gnu.org>
1892
1893 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
1894
e1873bd0
MA
18952012-08-14 Michael Albinus <michael.albinus@gmx.de>
1896
1897 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
1898 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
1899 Use cached shell name.
1900
925411b4
FEG
19012012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
1902
1903 * progmodes/python.el (python-shell-send-string):
3c3cda1a 1904 (python-shell-send-setup-code): Do not use `format' with `message'.
925411b4 1905
e636fafe
DG
19062012-08-14 Dmitry Gutov <dgutov@yandex.ru>
1907
1908 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
1909 (ruby-percent-literal-beg-re): New constant.
1910 (ruby-syntax-general-delimiters-goto-beg): Rename to
1911 `ruby-syntax-enclosing-percent-literal', improve literal type check.
1912 (ruby-syntax-propertize-general-delimiters): Rename to
1913 `ruby-syntax-propertize-percent-literal', it's a shorter and more
1914 popular term. Adjust comments everywhere.
1915 (ruby-syntax-propertize-percent-literal): Only propertize when not
1916 inside a simple string or comment. When the literal is unclosed,
1917 leave the text after it unpropertized.
f063063a
DG
1918 (ruby-syntax-methods-before-regexp): New constant.
1919 (ruby-syntax-propertize-function): Use it to recognize regexps.
1920 Don't look at the text after regexp, just use the whitelist.
e636fafe 1921
e5b19827
AS
19222012-08-14 Andreas Schwab <schwab@linux-m68k.org>
1923
1924 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
1925 non-nil always load the compiled file if it exists. (Bug#12197)
1926
a9f6f311
CY
19272012-08-14 Chong Yidong <cyd@gnu.org>
1928
1929 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
1930 (hi-lock-set-pattern): When deciding whether to use font lock or
1931 overlays, look at font-lock-mode instead of font-lock-fontified
1932 (Bug#12168).
1933 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
1934 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
1935
7d806b1e
DU
19362012-08-14 Daiki Ueno <ueno@unixuser.org>
1937
1938 * subr.el (internal--after-with-selected-window): Fix typo
1939 (Bug#12193).
1940
5beed586
FEG
19412012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
1942
1943 Use `completion-table-dynamic' for completion functions.
1944 * progmodes/python.el
1945 (python-shell-completion--do-completion-at-point)
e636fafe
DG
1946 (python-shell-completion--get-completions):
1947 Remove functions.
5beed586
FEG
1948 (python-shell-completion-complete-at-point): New function.
1949 (python-completion-complete-at-point): Use it.
1950
92cb3b04
J
19512012-08-13 Jambunathan K <kjambunathan@gmail.com>
1952
1953 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
1954 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
1955
89660017
SM
19562012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
1957
3c98c962
SM
1958 * subr.el (function-get): Refine `autoload' arg so it can also
1959 autoload functions for gv.el (bug#12191).
1960 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
1961 autoloads macros.
1962
aa7c6dbe
SM
1963 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
1964 Prefer pcase-let over destructuring-bind.
1965 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
1966 Also, remove whitespace as we go, rather than after accumulating the
1967 various places.
1968
89660017
SM
1969 * subr.el (internal--before-with-selected-window)
1970 (internal--after-with-selected-window): Fix typo seleted->selected.
1971 (with-selected-window): Adjust callers.
1972 Reported by Dmitry Gutov <dgutov@yandex.ru>.
1973
31cd32c9
BG
19742012-08-13 Bastien Guerry <bzg@gnu.org>
1975
0fcd3d9f 1976 * window.el (special-display-popup-frame): Minor docstring
31cd32c9
BG
1977 enhancement. (Bug#12172)
1978
1b15d8ad
AS
19792012-08-13 Andreas Schwab <schwab@linux-m68k.org>
1980
31e54db0
AS
1981 * tar-mode.el (tar-header-data-end): Only ignore size for files of
1982 type 1-6.
1983 (tar-header-block-summarize, tar-get-descriptor): Handle pax
1984 extended headers.
1985
1b15d8ad
AS
1986 * files.el (hack-local-variables-filter): Remove useless eval.
1987
35cb9c06
MR
19882012-08-13 Martin Rudalics <rudalics@gmx.at>
1989
1990 * subr.el (with-selected-window): Fix last change.
1991
1439443b
SM
19922012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
1993
1994 * subr.el (internal--before-with-seleted-window)
1995 (internal--after-with-seleted-window): New functions.
1b15d8ad
AS
1996 (with-selected-window): Use them, to replace dependency on
1997 tty-top-frame.
1439443b 1998
0d9e2599
NN
19992012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
2000
2001 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
2002 binding for `newline'.
2003 (ruby-move-to-block): When moving backward, stop at block opening,
2004 not indentation.
2005 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
2006 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
2007 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
2008 `ruby-toggle-block'.
2009
ba10c48c
SM
20102012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
2011
2012 * ibuffer.el (ibuffer-do-toggle-read-only):
2013 * dired.el (dired-toggle-read-only):
2014 * buff-menu.el (Buffer-menu-toggle-read-only):
2015 * bindings.el (mode-line-toggle-read-only):
2016 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
2017
9229c658
AS
20182012-08-12 Andreas Schwab <schwab@linux-m68k.org>
2019
2020 * descr-text.el (describe-char): Put the overlays over the
2021 "displayed as" character.
2022
0fd09128
JB
20232012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
2024
2025 * calc/calc-units.el (math-default-units-table): Give an
2026 initial value.
2027 (math-put-default-units): Add options to put composite units and
2028 unit systems in the default units table.
2029 (calc-convert-units): Send composite units to
2030 `math-put-default-units' when appropriate.
2031
9ff9402d 20322012-08-11 Glenn Morris <rgm@gnu.org>
7aacaf15 2033
fbb5e336
GM
2034 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
2035
7aacaf15
GM
2036 * tutorial.el (help-with-tutorial):
2037 * emacs-lisp/copyright.el (copyright-update-directory):
2038 * emacs-lisp/autoload.el (autoload-find-generated-file)
2039 (autoload-find-file): Disable local eval: (for insurance).
2040
f40b9f10
GM
2041 * files.el (hack-local-variables-filter): If an eval: form is not
2042 known to be safe, and enable-local-variables is :safe, then ignore
2043 the form totally, as is done for non-eval forms. (Bug#12155)
6f97980a 2044 This is CVE-2012-3479.
f40b9f10 2045
daa9f1a6
SM
20462012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
2047
2048 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
2049 (rx-form): Simplify.
2050
9cd80478
DG
20512012-08-09 Dmitry Gutov <dgutov@yandex.ru>
2052
0d9e2599
NN
2053 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
2054 ?, _, and : are symbol constituents, ! is not (but kinda should be).
2055 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
2056 (ruby-syntax-propertize-function): Adjust for changes in
2057 `ruby-syntax-propertize-heredoc'.
2058
20592012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
2060
9cd80478
DG
2061 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
2062 binding (use `M-;' instead).
9cd80478 2063 (ruby-singleton-class-p): New function.
0d9e2599 2064 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
9cd80478 2065
d301b413
SM
20662012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
2067
2068 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
2069
1530c98e
CY
20702012-08-10 Chong Yidong <cyd@gnu.org>
2071
2072 * progmodes/python.el (python-shell-get-process-name): Don't mess
2073 with same-window-buffer-names.
2074
2075 * eshell/eshell.el (eshell-add-to-window-buffer-names)
2076 (eshell-remove-from-window-buffer-names): Make obsolete.
2077 (eshell-buffer-name, eshell-unload-hook): Don't use them.
2078 (eshell): Just use pop-to-buffer-same-window instead.
2079
e1293765
CY
20802012-08-10 Chong Yidong <cyd@gnu.org>
2081
2082 * bindings.el: Bind M-= back to count-words-region.
2083
2084 * simple.el (count-words-region): Accept a prefix arg for acting
2085 on the entire buffer.
2086 (count-words--buffer-message): New helper function.
2087
e1894109
SM
20882012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
2089
2090 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
2091 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
2092 (event-start, event-end): Use posn-at-point to return a more
2093 informative posn.
2094 (posnp): New function.
2095 * mouse.el (popup-menu-normalize-position): Use it.
2096
c69f56a2
MY
20972012-08-10 Masatake YAMATO <yamato@redhat.com>
2098
2099 * mouse.el (popup-menu-normalize-position): New function.
2100 (popup-menu): Use `popup-menu-normalize-position' to normalize
2101 the form for POSITION argument.
2102
2103 * term/x-win.el (x-menu-bar-open):
2104 Use the value returend from (posn-at-point) as position
2105 passed to `popup-menu'.
2106
31673780
JB
21072012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
2108
2109 * calc/calccomp.el (math-compose-expr): Add extra argument
2110 indicating that parentheses should be put around products in
2111 denominators. Give multiplication precedence over division during
2112 composition.
2113
dab7711b
CY
21142012-08-09 Chong Yidong <cyd@gnu.org>
2115
dee4ef93
CY
2116 * man.el (Man-switches, Man-sed-command, Man-awk-command)
2117 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
2118 (Man-untabify-command, manual-program): Convert to defcustom
2119 (Bug#10429).
2120
73e2bbc5
CY
2121 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
2122
3e861c8a
CY
2123 * descr-text.el (describe-char): Don't insert extra newlines
2124 (Bug#10127).
2125
a9f5a649
CY
2126 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
2127 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
2128
dab7711b
CY
2129 * align.el (align-region): Delete temporary markers (Bug#10047).
2130 Plus some code cleanups.
2131
e0cc4efa
FEG
21322012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
2133
2134 * progmodes/python.el (python-pdbtrack-tracked-buffer)
2135 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
2136 (python-shell-internal-last-output): Use make-local-variable
2137 instead of make-variable-buffer-local.
2138
489af14f
FEG
21392012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
2140
2141 * progmodes/python.el: Enhancements to forward-sexp.
2142 (python-nav-forward-sexp): Rename from
2143 python-nav-forward-sexp-function.
c69f56a2
MY
2144 (python-nav--forward-sexp, python-nav--backward-sexp):
2145 New functions.
489af14f 2146
0fc50303
JB
21472012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
2148
2149 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
2150 modes and simplification modes.
2151
5d65606a
SM
21522012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
2153
2154 * delsel.el (delete-selection-pre-hook): Don't propagate the
2155 file-supersession signals (bug#12161).
2156
4250fdf5
SM
21572012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
2158
2159 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
2160 (cl-map-extents): Add compatibility aliases (bug#12135).
2161
d9f9b465
MA
21622012-08-08 Michael Albinus <michael.albinus@gmx.de>
2163
2164 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
2165 tests by `ignore-error'.
2166 (tramp-find-shell): Open also a new shell, when cache is already
2167 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
2168
ce0fcefa
JL
21692012-08-08 Juri Linkov <juri@jurta.org>
2170
2171 * bookmark.el: Add `defaults' property to the bookmark record.
2172 (bookmark-current-buffer): Doc fix.
2173 (bookmark-make-record): Add `defaults' property with default values
2174 to the bookmark record.
2175 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
2176 with `bookmark-insert-current-bookmark'.
2177 (bookmark-set): Get `defaults' property from the bookmark record
2178 and use it in `read-from-minibuffer'.
2179 (bookmark-insert-current-bookmark): Remove function.
2180
2181 * info.el (Info-bookmark-make-record): Add `defaults' property
2182 with values of canonical Info node name, the current Info file
2183 name and the current Info node name. (Bug#12107)
2184
53fa8652
JL
21852012-08-08 Juri Linkov <juri@jurta.org>
2186
2187 * files.el (basic-save-buffer): Use `buffer-name' as the default
2188 of `read-file-name' when buffer is not visiting a file (bug#12128).
2189
242c0a95
JL
21902012-08-08 Juri Linkov <juri@jurta.org>
2191
2192 * info.el (Info-isearch-search): Doc fix.
2193 (Info-search): Change search-failed message from "initial node" to
2194 "end of node" (bug#12078).
2195 (Info-isearch-search): Change `isearch-string-state' to
2196 `isearch--state-string'.
2197
32ac3a6b
GM
21982012-08-08 Glenn Morris <rgm@gnu.org>
2199
2200 * language/persian.el: Remove file.
f8c1afd5 2201 * language/misc-lang.el: Move unique part of persian.el here.
32ac3a6b
GM
2202 * loadup.el: Remove language/persian.
2203
2c2d9c9c
OF
22042012-08-08 Óscar Fuentes <ofv@wanadoo.es>
2205
2206 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
2207
2d79ec42
FEG
22082012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
2209
2210 * progmodes/python.el Fixed defsubst warning.
2211 (python-syntax-context) Rename from python-info-ppss-context.
2212 (python-syntax-context-type): Rename from
2213 python-info-ppss-context-type.
2214 (python-syntax-comment-or-string-p): Rename from
2215 python-info-ppss-comment-or-string-p.
2216
2bd255dd
JB
22172012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
2218
2219 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
2220
c395097f
AS
22212012-08-07 Andreas Schwab <schwab@linux-m68k.org>
2222
6125983e
AS
2223 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
2224 a defcustom that is quoted with backquote.
2225
4250fdf5
SM
2226 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
2227 Fix handling of interactive spec when the body uses return.
651eaf36
AS
2228 (math-do-arg-check, math-define-function-body): Use backquote forms.
2229 * calc/calc-ext.el (math-defcache): Likewise.
2230 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
2231 * allout.el (allout-new-exposure): Likewise.
2232 * calc/calcalg2.el (math-tracing-integral): Likewise.
2233 * info.el (Info-last-menu-item): Likewise.
2234 * emulation/vip.el (vip-loop): Likewise.
2235 * textmodes/artist.el (artist-funcall): Likewise.
2236 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
2237 Construct menu-item directly.
2238
4250fdf5
SM
2239 * progmodes/autoconf.el (font-lock-syntactic-keywords):
2240 Don't declare.
c395097f 2241
5fb50dd3
CY
22422012-08-07 Chong Yidong <cyd@gnu.org>
2243
2244 * simple.el (deactivate-mark): Preserve text properties when
2245 saving the primary selection (Bug#8384).
2246
54eea618
KR
22472012-08-07 Kevin Ryde <user42@zip.com.au>
2248
2249 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
2250 (woman-parse-numeric-value): On a bad .IP line, issue a warning
2251 and continue processing (Bug#12110).
2252
638eaeb9
SM
22532012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
2254
2255 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
2256 syntax-propertize-function (bug#10095).
2257
ea376861
SM
22582012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
2259
f91b35be
SM
2260 * help-fns.el (help-fns--key-bindings, help-fns--signature)
2261 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
2262 describe-function-1.
2263 (describe-function-1): Use them. Move compiler macro after sig.
2264 (help-fns--compiler-macro): Use function-get. Assume we're already in
2265 standard-output. Adjust layout to new call order.
2266
ea376861
SM
2267 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
2268 re-binding a symbol that has a symbol-macro (bug#12119).
2269
d5be7bd0
MB
22702012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
2271
2272 * language/persian.el: New file. (Bug#11812)
2273 * loadup.el: Add language/persian.el.
2274
90749b53
CY
22752012-08-06 Chong Yidong <cyd@gnu.org>
2276
2277 * window.el (window--maybe-raise-frame): New function.
2278 (window--display-buffer): Split off from here.
2279 (display-buffer-reuse-window, display-buffer-pop-up-frame)
2280 (display-buffer-pop-up-window, display-buffer-use-some-window):
2281 Obey an inhibit-switch-frame action alist entry.
2282 (display-buffer): Update doc.
2283
2284 * replace.el (occur-after-change-function): Avoid losing focus by
2285 using the inhibit-switch-frame display parameter (Bug#12139).
2286
ba7b0154
FEG
22872012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
2288
2289 Make internal shell process buffer names start with space.
2290 * progmodes/python.el (python-shell-make-comint): Add optional
2291 argument INTERNAL.
2292 (run-python-internal): Use it.
2293 (python-shell-internal-get-or-create-process): Check for new
2294 internal buffer names.
2295
5eaeacb5
GM
22962012-08-06 Glenn Morris <rgm@gnu.org>
2297
e296d94b 2298 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
5eaeacb5
GM
2299 Do less getting and setting of environment variables.
2300
b7ccbdc2
CY
23012012-08-05 Chong Yidong <cyd@gnu.org>
2302
777fe95e
CY
2303 * proced.el (proced): Add substitution string to docstring to
2304 trigger autoloading of the proced library on C-h f (Bug#1768).
2305
4250fdf5
SM
2306 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
2307 Don't show defvars which have no second argument (Bug#8638).
b7ccbdc2
CY
2308
2309 * imenu.el (imenu-generic-expression): Move documentation here
2310 from imenu--generic-function.
2311 (imenu--generic-function): Refer to imenu-generic-expression.
2312
9e3b7800 23132012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
d5c31f1d
VØ
2314
2315 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
2316 indentation declaration.
2317 (viper-loop): Add indentation declaration (Bug#7025).
2318
e5d9c0d1
CY
23192012-08-05 Chong Yidong <cyd@gnu.org>
2320
f0422feb
CY
2321 * help-fns.el (describe-variable): Add hyperlink for
2322 directory-local variables files. Improve buffer-local and
2323 permanent-local reporting; suggested by MON KEY (Bug#6644).
2324
2325 * help-mode.el (help-dir-local-var-def): New button type.
2326
e5d9c0d1
CY
2327 * files.el (kill-buffer-hook): Provide a defvar.
2328
a4f2deaa
GM
23292012-08-05 Glenn Morris <rgm@gnu.org>
2330
2331 * eshell/esh-ext.el (eshell/addpath):
2332 Also update eshell-path-env. (Bug#12013)
2333
a9dd5754
CY
23342012-08-05 Chong Yidong <cyd@gnu.org>
2335
a4f2deaa 2336 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
615b0bf0 2337
d014c740
CY
2338 * fringe.el (fringe-styles): Add docstring.
2339 (fringe--check-mode): New function.
2340 (set-fringe-mode, set-fringe-style): Use it.
2341 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
2342
a9dd5754
CY
2343 * files.el (set-auto-mode): Fix invalid setq call.
2344
7c2dc8bd
SM
23452012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
2346
2347 * isearch.el: Misc simplification; use defstruct.
2348 (isearch-mode-map): Dense maps now work like sparse ones.
2349 (isearch--state): New defstruct.
2350 (isearch-string-state, isearch-message-state, isearch-point-state)
2351 (isearch-success-state, isearch-forward-state)
2352 (isearch-other-end-state, isearch-word-state, isearch-error-state)
2353 (isearch-wrapped-state, isearch-barrier-state)
2354 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
2355 replaced by defstruct's accessors.
2356 (isearch--set-state): Rename from isearch-top-state and change
2357 calling convention.
2358 (isearch-push-state): Use new isearch--get-state.
2359 (isearch-toggle-word): Disable regexp when enabling word.
2360 (isearch-message-prefix): Remove unused arg _c-q-hack.
2361 (isearch-message-suffix): Remove unused arg _ellipsis.
2362
7fcc0070
AS
23632012-08-04 Andreas Schwab <schwab@linux-m68k.org>
2364
2365 * simple.el (list-processes--refresh): For a server use :host or
2366 :local as the address.
97ad0769 2367 (list-processes): Doc fix.
7fcc0070 2368
a11035b8 23692012-08-04 Michal Nazarewicz <mina86@mina86.com>
00340faf
MN
2370
2371 * lisp/mpc.el: Support password in host argument.
2372 (mpc--proc-connect): Parse and use new password element.
2373 Set mpc-proc variable instead of returning process.
2374 (mpc-proc): Adjust accordingly.
2375
6dad7178
EZ
23762012-08-03 Eli Zaretskii <eliz@gnu.org>
2377
18949c2f
EZ
2378 * whitespace.el (whitespace-display-mappings): Use Unicode
2379 codepoints, instead of emacs-mule codepoints. See
2380 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
2381 for the details.
2382
6dad7178
EZ
2383 * files.el (file-truename): Don't skip symlink-chasing part on
2384 windows-nt. Incorporate the resolution of 8+3 short aliases on
4250fdf5
SM
2385 Windows into the loop that recursively chases symlinks.
2386 Compare directory and its parent case-insensitively on MS-Windows and
6dad7178
EZ
2387 MS-DOS.
2388
385b0198
CY
23892012-08-03 Chong Yidong <cyd@gnu.org>
2390
6200f3c4
CY
2391 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
2392
385b0198
CY
2393 * sort.el (sort-regexp-fields): Doc fix.
2394
b9e74744
TH
23952012-08-03 Tassilo Horn <tsdh@gnu.org>
2396
2397 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
2398 labels regex position point at the expected place.
2399
41013cb4
MK
24002012-08-03 MON KEY <monkey@sandpframing.com>
2401
2402 * net/imap.el (imap-interactive-login, imap-authenticate)
2403 (imap-mailbox-lsub, imap-mailbox-list)
2404 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
2405 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
2406 (imap-parse-response): Doc fix.
2407
0ffee616
JT
24082012-08-03 João Távora <joaotavora@gmail.com>
2409
2410 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
2411 if sexp scanning does not move point (Bug#5734).
2412
cfcc9cc8
TH
24132012-08-02 Tassilo Horn <tsdh@gnu.org>
2414
2415 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
2416 Add listings, minted, and ctable packages.
2417 (reftex-label-alist-builtin): Move listings, minted, and ctable
2418 entries before LaTeX.
a01bbb84 2419 (reftex-label-alist): Docfix.
cfcc9cc8 2420
66ec2442
BG
24212012-08-02 Bastien Guerry <bzg@gnu.org>
2422
2423 * replace.el (occur): Fix docstring (bug#12122).
2424
837b365b
GM
24252012-08-02 Glenn Morris <rgm@gnu.org>
2426
2427 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
2428
e098de97
PE
24292012-08-02 Paul Eggert <eggert@cs.ucla.edu>
2430
2431 Obsolete alias inactivate-current-input-method-function (Bug#10150).
2432 * international/mule-cmds.el: Create
2433 inactivate-current-input-method-function as an obsolete alias for
2434 deactivate-current-input-method-function. See Katsumi Yamaoka in
2435 <http://bugs.gnu.org/10150#46>.
2436
a0f95636
JB
24372012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
2438
2439 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
2440 of nested `if's.
2441
0d26d7c4
GM
24422012-08-01 Glenn Morris <rgm@gnu.org>
2443
2444 * progmodes/autoconf.el (autoconf-definition-regexp):
2445 Add AH_TEMPLATE, adjust submatch numbering.
2446 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
2447 (autoconf-current-defun-function): Update for above change.
2448 (autoconf-current-defun-function): First skip to end of current word.
2449
b686ba06
RS
24502012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
2451
2452 * calendar/cal-html.el (cal-html-insert-agenda-days):
2453 Fix typo. (Bug#12018)
2454
0d49da68
FEG
24552012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
2456
2457 Shell processes: enhancements to startup and CEDET compatibility.
2458 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
2459 (python-shell-make-comint): accept-process-output at startup.
2460 (run-python-internal): Set inferior-python-mode-hook to nil.
2461 (python-shell-internal-get-or-create-process): call sit-for.
2462 (python-preoutput-result): Add obsolete alias.
2463 (python-shell-internal-send-string): Use it.
2464 (python-shell-send-setup-code): Remove call to
2465 accept-process-output.
2466
f1a71c6e
AS
24672012-07-31 Andreas Schwab <schwab@linux-m68k.org>
2468
2469 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
2470 (Bug#12108)
2471
d2605269
JB
24722012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
2473
2474 * calc-mode.el (calc-basic-simplification-mode): Rename from
2475 `calc-limited-simplification-mode'.
2476 (calc-alg-simplification-mode): New function.
fc0c31f8 2477 (calc-set-simplify-mode): Adjust message.
f1a71c6e 2478
d2605269
JB
2479 * calc.el (calc-set-mode-line): Adjust mode line display for
2480 basic simplification mode.
2481
2482 * calc-help.el (calc-m-prefix-help): Update help message.
2483
2484 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
2485 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
2486
a3827a43
BG
24872012-07-31 Bastien Guerry <bzg@gnu.org>
2488
2489 * man.el (man): Fix comment. (bug#12101)
2490
502e3f89
MR
24912012-07-31 Martin Rudalics <rudalics@gmx.at>
2492
2493 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
2494 Don't return a non-nil value when no suitable buffer was found.
2495
d7714961
FEG
24962012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
2497
2498 * progmodes/python.el (run-python-internal): Disable font lock for
2499 internal shells.
2500
1f45e27e
SM
25012012-07-30 Stefan Merten <smerten@oekonux.de>
2502
70efc5c9 2503 * textmodes/rst.el: Silence `checkdoc-ispell'.
1f45e27e
SM
2504 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
2505 (rst-official-version, rst-official-cvs-rev)
2506 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
2507 (rst-mode-map): New key binding.
2508
0aee6912
PE
25092012-07-30 Paul Eggert <eggert@cs.ucla.edu>
2510
2511 Update .PHONY listings in makefiles.
2512 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
2513 autoloads, update-subdirs, updates, bzr-update, update-authors,
2514 compile-onefile, compile-calc, backup-compiled-files,
2515 compile-after-backup, compile-one-process, mh-autoloads,
2516 bootstrap-clean, distclean, maintainer-clean.
2517
9052f9f0
JB
25182012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
2519
1823ac5a
JB
2520 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
2521 (calc-set-mode-line): Don't display "AlgSimp ".
2522
2523 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
2524 (calc-lim-simplify-mode): New function.
2525 (calc-set-simplify-mode): Default to 'alg.
2526 (calc-default-simplify-mode): Make algebraic simplifications
2527 the default.
2528
2529 * calc/calc-ext.el (calc-init-extensions): Remove binding for
2530 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
2531
8d7c7eed 2532 * calc/calc-help.el (calc-m-prefix-help): Change messages to
4b337409
JB
2533 indicate new simplification modes.
2534
1823ac5a
JB
2535 * calc/README: Mention new default simplification mode.
2536
9052f9f0
JB
2537 * calc/calc.el (math-normalize-error): New variable.
2538 (math-normalize): Set `math-normalize-error' to t
2539 when there's an error.
2540
2541 * calc/calc-alg.el (math-simplify): Don't simplify when
2542 `math-normalize' returns an error.
2543
20ba0cb4
EZ
25442012-07-29 Eli Zaretskii <eliz@gnu.org>
2545
2546 * international/mule-cmds.el (set-locale-environment): Revert last
2547 change, since display-graphic-p returns nil when this function is
2548 called during startup. Instead...
2549
2550 * term/w32console.el (terminal-init-w32console): ...setup the
2551 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
2552
a5dcc929
JL
25532012-07-29 Juri Linkov <juri@jurta.org>
2554
2555 * simple.el (goto-line): Don't display default line number in the
2556 prompt because it should be displayed by `read-number' (bug#9952).
2557 Add the current line number to the defaults of `goto-line' to
2558 allow its easier modification by users with `M-n' (bug#9201).
2559
2560 * subr.el (read-number): Support multiple default values like in
2561 other minibuffer reading functions. Replace `read' with
2562 `string-to-number' for consistency with `number-to-string'.
2563
72b255c7
PE
25642012-07-29 Paul Eggert <eggert@cs.ucla.edu>
2565
2566 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
2567 * emulation/viper-init.el (viper-deactivate-input-method-action):
2568 Rename from viper-inactivate-input-method-action.
2569 (viper-deactivate-input-method):
2570 Rename from viper-inactivate-input-method.
2571 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
2572 * international/mule-cmds.el (deactivate-input-method):
2573 Rename from inactivate-input-method.
2574 Also run input-method-deactivate-hook.
2575 (deactivate-current-input-method-function):
2576 Rename from inactivate-current-input-method-function.
2577 (input-method-deactivate-hook): New hook.
2578 (input-method-inactivate-hook): Mark obsolete.
bb6eb9fc
PE
2579 (inactivate-input-method): Mark obsolete.
2580
72b255c7
PE
2581 * international/quail.el (quail-activate):
2582 Also run quail-deactivate-hook.
2583 (quail-deactivate): Rename from quail-inactivate.
2584 * international/robin.el (robin-activate):
2585 Also run robin-deactivate-hook.
2586 (robin-deactivate): Rename from robin-inactivate.
2587
2549c068
CY
25882012-07-29 Chong Yidong <cyd@gnu.org>
2589
2590 * simple.el (indicate-copied-region): New function.
2591 (kill-ring-save): Split off from here.
2592
2593 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
2594 (kill-rectangle): Set deactivate-mark to t on read-only error.
2595
2596 * register.el (copy-to-register, copy-rectangle-to-register):
2597 Deactivate the mark, and use indicate-copied-region (Bug#10056).
c69f56a2
MY
2598 (append-to-register, prepend-to-register):
2599 Call 2012-07-29 Juri Linkov <juri@jurta.org>
17711ed9
JL
2600
2601 * simple.el (async-shell-command-buffer): New defcustom.
2602 (shell-command): Use it. (Bug#4719)
2603
01bd1b0d
EZ
26042012-07-28 Eli Zaretskii <eliz@gnu.org>
2605
2606 * international/mule-cmds.el (set-locale-environment): In a
2607 console session on MS-Windows, set up keyboard and terminal
2608 encoding from the OEM codepage, not the ANSI codepage.
2609 (Bug#12055)
2610
a55739d3
CY
26112012-07-28 Chong Yidong <cyd@gnu.org>
2612
2613 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
2614 gdb-get-location.
2615
0e1a094f 26162012-07-28 Leo Liu <sdl.web@gmail.com>
9a0f8f2e
LL
2617
2618 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
2619 the alist (bug#12029).
2620
20329d73
EZ
26212012-07-28 Eli Zaretskii <eliz@gnu.org>
2622
2623 * makefile.w32-in (custom-deps, finder-data, updates, compile)
2624 (compile-always, compile-first)
2625 ($(lisp)/calendar/cal-loaddefs.el)
2626 ($(lisp)/calendar/diary-loaddefs.el)
2627 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
2628 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
2629 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
2630 instead of on update-subdirs.
2631 (bootstrap-clean): Delete $(lisp)/subdirs.el.
2632
345a2258
CY
26332012-07-28 Chong Yidong <cyd@gnu.org>
2634
1eee6341
CY
2635 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
2636 directory if vc-deduce-backend returns nil (Bug#7350).
2637
345a2258
CY
2638 * simple.el (delete-trailing-lines): New option.
2639 (delete-trailing-whitespace): Obey it (Bug#11879).
2640
049a0936
DE
26412012-07-28 David Engster <deng@randomsample.de>
2642
2643 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
2644 Explanation of new 'symbol-qnames feature in doc-strings.
2645 (xml-maybe-do-ns): Return expanded names as plain symbols if
2646 'symbol-qnames was provided in XML-NS argument (Bug#11916).
2647 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
2648
aa81af71
FEG
26492012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
2650
2651 Consistent completion in inferior python with emacs -nw.
2652 * progmodes/python.el (inferior-python-mode): replace "<tab>"
2653 binding in inferior-python-mode-map with "\t".
2654 (python-shell-completion-complete-at-point)
2655 (python-completion-complete-at-point): Remove interactive spec.
2656
e827b1eb
JB
26572012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
2658
2659 * calc/calccomp.el (math-compose-expr): Undo previous change.
2660
a90dfb95
FEG
26612012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
2662
4250fdf5 2663 * progmodes/python.el (python-mode-map): Add keybinding for
a90dfb95
FEG
2664 run-python.
2665 (python-shell-make-comint): Fix pop-to-buffer call.
2666 (run-python): Autoload. New arg SHOW.
2667 (python-shell-get-or-create-process): Do not pop python process
2668 buffer.
2669
32770973 26702012-07-27 Michael Albinus <michael.albinus@gmx.de>
1c6ef030
MA
2671
2672 * notifications.el (notifications-on-action-signal)
2673 (notifications-on-closed-signal): Use also the bus address for the map.
2674 (notifications-notify, notifications-close-notification)
fc0c31f8 2675 (notifications-get-capabilities): Add optional argument BUS.
1c6ef030 2676
86332df2
TH
26772012-07-27 Tassilo Horn <tsdh@gnu.org>
2678
4250fdf5
SM
2679 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
2680 Add support for the lstlisting and minted environments, and for the
86332df2
TH
2681 ctable macro.
2682 * textmodes/reftex.el (reftex-compile-variables): Also recognize
2683 labels written in keyvals syntax.
2684
ca1302a4
JB
26852012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
2686
2687 * calc/calccomp.el (math-compose-expr): Use parentheses when
2688 there is a product in the denominator of a fraction.
2689
f8b91036
EZ
26902012-07-26 Eli Zaretskii <eliz@gnu.org>
2691
2692 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
2693 ($(lisp)/calendar/diary-loaddefs.el)
2694 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
4250fdf5
SM
2695 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
2696 Fixes failures in parallel bootstrap because subdirs.el is being
f8b91036
EZ
2697 rewritten while the autoload files are built at the same time,
2698 which needs to load subdirs.el.
2699
c8e5a42c
MR
27002012-07-26 Martin Rudalics <rudalics@gmx.at>
2701
2702 * mouse.el (popup-menu): Fix doc-string and re-indent code.
2703 (mouse-drag-line): Don't exit tracking when a switch-frame or
2704 switch-window event occurs (Bug#12006).
2705
670d85ea
SM
27062012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
2707
2708 * mouse.el (popup-menu): Fix last change.
2709
7abaf5cc
SM
27102012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
2711
2712 Autoload from Lisp with more care. Follow aliases when looking for
2713 function properties.
2714 * subr.el (autoloadp): New function.
2715 (symbol-file): Use it.
2716 (function-get): New function.
2717 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
2718 autoload-do-load.
2719 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
2720 (lisp-indent-function):
2721 * emacs-lisp/gv.el (gv-get):
2722 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
2723 * emacs-lisp/byte-opt.el (byte-optimize-form):
2724 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
2725 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
2726 Use function-get.
2727 * emacs-lisp/cl.el: Don't propagate function properties any more.
2728
2729 * speedbar.el (speedbar-add-localized-speedbar-support):
2730 * emacs-lisp/disass.el (disassemble-internal):
2731 * desktop.el (desktop-load-file):
2732 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
2733 (describe-function-1):
2734 * emacs-lisp/find-func.el (find-function-noselect):
2735 * emacs-lisp/elp.el (elp-instrument-function):
2736 * emacs-lisp/advice.el (ad-has-proper-definition):
2737 * apropos.el (apropos-safe-documentation, apropos-macrop):
2738 * emacs-lisp/debug.el (debug-on-entry):
2739 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
2740 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
2741 * calc/calc.el (name): Use autoloadp & autoload-do-load.
2742
b1364986
AA
27432012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
2744
2745 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
2746 function, not an obsolete variable (Bug#12046).
2747
67ada220
AS
27482012-07-25 Andreas Schwab <schwab@linux-m68k.org>
2749
2750 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
2751
f08088e3
CS
27522012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
2753
2754 * emacs-lisp/pp.el (pp-display-expression): Select old selected
2755 window only if it is still live (Bug#12034).
2756
8137e7b3
MR
27572012-07-25 Martin Rudalics <rudalics@gmx.at>
2758
2759 * subr.el (redirect-frame-focus): Add advertised calling
2760 convention (Bug#12030).
2761
09ae5da1
PE
27622012-07-25 Paul Eggert <eggert@cs.ucla.edu>
2763
2764 Prefer typical American spelling for "acknowledgment".
2765 * vc/add-log.el (change-log-acknowledgment): Rename from
2766 change-log-acknowledgement, with an alias for the old name.
2767
3cc5a3a8
JB
27682012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
2769
2770 * calc-alg.el (math-simplify-divide): Don't cross multiply
2771 in an equation when the lhs is a variable.
2772
b7af7f62
JD
27732012-07-24 Julien Danjou <julien@danjou.info>
2774
2775 * net/netrc.el (netrc-find-service-number, netrc-store-data):
2776 Remove, unused.
2777
ec1b09b1
EZ
27782012-07-23 Eli Zaretskii <eliz@gnu.org>
2779
2780 * startup.el (command-line): Don't display an empty user name in
2781 the error message about non-existent home directory, when
2782 init-file-user was set to an empty string. See
2783 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
2784 for the details and context.
2785
b525fd8a
VB
27862012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
2787
2788 * ses.el (ses-cell-formula-aset): New macro.
2789 (ses-cell-references-aset): New macro.
2790 (ses-cell-p): New function.
2791 (ses-rename-cell): Do no longer rely on complex operations like
2792 ses-cell-set-formula or ses-set-cell to change the cell and handle
2793 the undo at the same time, but rather use lower level new macros
2794 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
fc0c31f8 2795 the undo directly. Refresh the mode line.
b525fd8a 2796
2c73e345
LL
27972012-07-21 Leo Liu <sdl.web@gmail.com>
2798
670d85ea
SM
2799 * progmodes/cc-cmds.el (c-defun-name):
2800 Use match-string-no-properties instead for consistency.
2c73e345 2801
542dfbde
LL
28022012-07-20 Leo Liu <sdl.web@gmail.com>
2803
3646bcd6
LL
2804 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
2805 (Bug#7879)
2806
542dfbde
LL
2807 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
2808
25721031
CY
28092012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
2810
2811 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
2812 * progmodes/bug-reference.el, misearch.el: Provide themselves
2813 (bug#11915).
2814
2815 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
2816 of narrowed buffer (bug#11966).
2817
316e68a7
VB
28182012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
2819
2820 * ses.el (ses-rename-cell): Set new name also in reference list of
2821 cells of which the renamed cell depends.
2822
bbf0e7d9
MY
28232012-07-20 Masatake YAMATO <yamato@redhat.com>
2824
2825 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
2826 to check whether menu-bar is shown or not. If not shown,
2827 show the menu-bar as a popup menu instead of using tmm.
2828 * mouse.el (popup-menu): Accept `point' as `position' argument.
2829
c28662a8
DG
28302012-07-20 Dmitry Gutov <dgutov@yandex.ru>
2831
2832 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
2833 up inside string symbol literal (bug#11923).
2834
87ab808f
EZ
28352012-07-20 Eli Zaretskii <eliz@gnu.org>
2836
2837 * startup.el (fancy-startup-text): Read the whole tutorial, not
2838 just its first 256 bytes. Prevents gibberish in display of the
2839 tutorial title.
2840
89dea803
DA
28412012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
2842
2843 Drop idle buffer compaction due to an absence of the
2844 proved efficiency.
2845 * compact.el: Remove.
2846
8a4e6db8
SS
28472012-07-19 Sam Steingold <sds@gnu.org>
2848
2849 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
2850 vc-bzr-pull & vc-bzr-merge-branch.
2851 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
2852 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
2853 for consistency with compilation-error-regexp-alist.
2854 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
2855 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
2856 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
2857 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
2858
5db81e33
SM
28592012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
2860
2861 * emacs-lisp/chart.el: Use lexical-binding.
2862 (chart-emacs-storage): Don't hardcode the list of entries.
2863
5b835e1d
DA
28642012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
2865
2866 Next round of tweaks caused by Fgarbage_collect changes.
2867 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
2868
9cd47b72
DA
28692012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
2870
2871 Compact buffers when idle.
2872 * compact.el: New file.
2873
1d6fc0df
SM
28742012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
2875
2876 * subr.el (eventp): Presume that if it looks vaguely like an event,
2877 it's an event (bug#10190).
2878
1d29cc7d
FEG
28792012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
2880
2881 Enhancements to ppss related code (thanks Stefan).
2882 * progmodes/python.el (python-indent-context)
2883 (python-indent-calculate-indentation, python-indent-dedent-line)
2884 (python-indent-electric-colon, python-nav-forward-block)
2885 (python-mode-abbrev-table)
1d6fc0df 2886 (python-info-assignment-continuation-line-p): Simplify checks
1d29cc7d
FEG
2887 for ppss context.
2888 (python-info-continuation-line-p): Cleanup.
2889 (python-info-ppss-context): Do not catch 'quote.
2890 (python-info-ppss-context-type)
2891 (python-info-ppss-comment-or-string-p): Simplify.
2892
d583cbe6
FEG
28932012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
2894
2895 * progmodes/python.el: Enhancements to eldoc support.
2896 (python-info-current-symbol): New function.
2897 (python-eldoc-at-point): Use python-info-current-symbol.
2898 (python-info-current-defun): Fix cornercase on first defun scan.
2899 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
2900 and signal error when no inferior python process is available.
2901
eceb6feb
DG
29022012-07-18 Dmitry Gutov <dgutov@yandex.ru>
2903
2904 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
2905 assume it's always t.
2906 (vc-git-registered): Remove caching, the function is only called
2907 once.
2908 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
2909
4c8ff0fe
CY
29102012-07-18 Chong Yidong <cyd@gnu.org>
2911
19fb7186
CY
2912 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
2913
9587c688
CY
2914 * simple.el (count-words): Report on narrowing (Bug#9959).
2915
0fe776a1
CY
2916 * bindings.el: Bind M-= to count-words.
2917
4c8ff0fe
CY
2918 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
2919
7f5331cc
MY
29202012-07-18 Masatake YAMATO <yamato@redhat.com>
2921
2922 * progmodes/sh-script.el (sh-imenu-generic-expression):
2923 Capture a function with `function' keyword and without parentheses
2924 like "function FOO" (bug#11856).
2925
2dc2a609
TH
29262012-07-18 Tassilo Horn <tassilo@member.fsf.org>
2927
2928 * window.el (split-window-sensibly): Make WINDOW argument
2929 optional.
2930
439f7677
CY
29312012-07-18 Chong Yidong <cyd@gnu.org>
2932
9aeb25a6
CY
2933 * subr.el (keyboard-translate): Doc fix (Bug#7261).
2934
439f7677
CY
2935 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
2936 and make C-x 8 RET exit isearch (Bug#11439).
2937
2938 * international/iso-transl.el: Move isearch-mode-map key
2939 definitions to isearch.el.
2940
12999ea8
SM
29412012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
2942
2943 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
2944 (eieio-defclass): Use gv-define-setter when possible.
2945
3ab6e069
DA
29462012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
2947
2948 Reflect recent changes in Fgarbage_collect.
2949 * emacs-lisp/chart.el (chart-emacs-storage): Change to
2950 reflect new format of data returned by Fgarbage_collect.
2951
0a60bc10
FEG
29522012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
2953
2954 New utility functions + python-info-ppss-context fix (Bug#11910).
2955 * progmodes/python.el (python-info-beginning-of-block-statement-p)
2956 (python-info-ppss-comment-or-string-p): New functions.
2957 (python-info-ppss-context): Small fix for string check.
2958
6dafa0d5
JL
29592012-07-17 Juri Linkov <juri@jurta.org>
2960
2961 * dired-aux.el (dired-do-async-shell-command): Doc fix.
2962 (dired-do-async-shell-command): Don't add `*' at the end of the
2963 command (Bug#11815).
2964 (dired-do-shell-command): Doc fix.
2965 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
2966 Join the individual commands using either "&" or ";" as the
2967 separator depending on the values of these trailing characters.
2968 At the end re-add the trailing "&". (Bug#10598)
2969
2970 * simple.el (async-shell-command): Sync the interactive spec with
2971 `shell-command'. Doc fix.
2972 (shell-command): Doc fix.
2973
b19dd9d1
JL
29742012-07-17 Juri Linkov <juri@jurta.org>
2975
2976 * descr-text.el (describe-char): Fix format args. (Bug#10129)
2977
bcdc27d7 29782012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7f5331cc 2979
bcdc27d7 2980 Final renames and doc fixes for movement commands (bug#11899).
7f5331cc
MY
2981 * progmodes/python.el (python-nav-beginning-of-statement):
2982 Rename from python-nav-statement-start.
bcdc27d7
FEG
2983 (python-nav-end-of-statement): Rename from
2984 python-nav-statement-end.
2985 (python-nav-beginning-of-block): Rename from
2986 python-nav-block-start.
2987 (python-nav-end-of-block): Rename from python-nav-block-end.
2988
191da00e
FEG
29892012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
2990
7f5331cc
MY
2991 * progmodes/python.el (python-shell-send-string-no-output):
2992 Allow accept-process-output to quit, keeping shell process ready for
191da00e
FEG
2993 future interactions (Bug#11868).
2994
4dc7c8d5 29952012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
aa7aaf8f 2996
88ecaf8f
SM
2997 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
2998
ef501ef0
SM
2999 * emacs-lisp/elint.el (elint-find-args-in-code):
3000 Use help-function-arglist, so as to handle lexical byte-code.
3001
aa7aaf8f
SM
3002 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
3003 change (bug#11826).
3004
45fd731c
SM
30052012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
3006
2143fa32
SM
3007 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
3008 Avoid spuriously marking the buffer as modified because of c-is-sws.
3009
efc26dbe
SM
3010 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
3011 as not-a-comment (bug#11946).
3012
f5695c9a
SM
3013 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
3014 for uninterned vars.
3015
3016 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
3017 Use read-event since we don't really want to read chars but bytes.
3018
45fd731c
SM
3019 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
3020 $$..$$ but also $..$ using regexps (bug#11953).
3021 Use tex-verbatim for \url and \path.
3022 (tex-font-lock-keywords): Define as defconst like the others.
3023 (tex-common-initialization): Don't use font-lock-syntax-table any more.
3024
ddfc8813
RK
30252012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
3026
3027 * international/mule-cmds.el (ucs-insert): Make it an obsolete
3028 alias for insert-char.
3029
758e556a
FEG
30302012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
3031
3032 * progmodes/python.el: Simplified imenu implementation.
3033 (python-nav-jump-to-defun): Remove command.
3034 (python-mode-map): Use `imenu' instead.
3035 (python-nav-list-defun-positions-cache)
3036 (python-imenu-include-defun-type, python-imenu-make-tree)
3037 (python-imenu-subtree-root-label, python-imenu-index-alist):
3038 Remove vars.
3039 (python-nav-list-defun-positions, python-nav-read-defun)
3040 (python-imenu-tree-assoc, python-imenu-make-element-tree)
45fd731c
SM
3041 (python-imenu-make-tree, python-imenu-create-index):
3042 Remove functions.
758e556a
FEG
3043 (python-mode): Update to interact with imenu by setting
3044 `imenu-extract-index-name-function' only.
3045
032d23ab
FEG
30462012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
3047
3048 * progmodes/python.el: Enhancements to navigation commands.
3049 (python-nav-backward-sentence)
3050 (python-nav-forward-sentence): Remove.
3051 (python-nav-backward-statement, python-nav-forward-statement)
3052 (python-nav-statement-start, python-nav-statement-end)
3053 (python-nav-backward-block, python-nav-forward-block)
3054 (python-nav-block-start, python-nav-block-end)
3055 (python-nav-forward-sexp-function)
3056 (python-info-current-line-comment-p)
3057 (python-info-current-line-empty-p): New functions.
3058 (python-indent-context): Use `python-nav-statement-start'.
3059
01795a1b
MA
30602012-07-16 Michael Albinus <michael.albinus@gmx.de>
3061
9328d9aa
MA
3062 * eshell/em-ls.el (eshell/ls): Use `apply'.
3063
3064 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
3065 multi-hops, instead of Tramp internals.
3066
01795a1b
MA
3067 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
3068
3069 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
3070 when F1 and F2 are located on different hosts.
3071
63408057
CY
30722012-07-14 Chong Yidong <cyd@gnu.org>
3073
3074 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
3075 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
3076 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
3077 (xterm-mouse--read-event-sequence-1000)
3078 (xterm-mouse--read-event-sequence-1006): New functions. For old
3079 mouse protocol, handle M-mouse-X events correctly.
3080 (xterm-mouse-event): New arg specifying mouse protocol.
3081 (turn-on-xterm-mouse-tracking-on-terminal)
3082 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
45fd731c
SM
3083 sequence to toggle extended coordinates on newer XTerms.
3084 This appears to be harmless on terminals which do not support this.
63408057 3085
cd276f6e
LL
30862012-07-14 Leo Liu <sdl.web@gmail.com>
3087
28ca98ac
LL
3088 Add fringe bitmap indicators for flymake. (Bug#11253)
3089 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
3090 (flymake-make-overlay): New arg BITMAP.
3091 (flymake-error-bitmap, flymake-warning-bitmap)
3092 (flymake-fringe-indicator-position): New user variables.
3093
cd276f6e
LL
3094 * fringe.el: New bitmap exclamation-mark.
3095
04408072
JD
30962012-07-14 Jan Djärv <jan.h.d@swipnet.se>
3097
3098 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
3099 also (Bug#7879).
3100
b5cf7fc4
CY
31012012-07-14 Chong Yidong <cyd@gnu.org>
3102
3103 * electric.el (electric-pair-post-self-insert-function): Fix pair
3104 insertion in empty-region case (Bug#11520).
3105
be755c79
RT
31062012-07-14 Chong Yidong <cyd@gnu.org>
3107
45fd731c
SM
3108 * bindings.el: Consolidate ctl-x-r-map bindings.
3109 Bind copy-rectangle-as-kill to C-x r w.
be755c79
RT
3110
3111 * rect.el, register.el: Move bindings to bindings.el.
3112
31132012-07-14 Reuben Thomas <rrt@sc3d.org>
3114
3115 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
3116
7f5b3198
AS
31172012-07-13 Andreas Schwab <schwab@linux-m68k.org>
3118
3119 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
3120
97662200
JB
31212012-07-13 Juanma Barranquero <lekktu@gmail.com>
3122
80185fed
JB
3123 * bindings.el (top): Use `mapc' instead of `mapcar'.
3124
97662200
JB
3125 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
3126
2bb1ae55
MA
31272012-07-13 Michael Albinus <michael.albinus@gmx.de>
3128
3129 * progmodes/sql.el (sql-comint): Suppress the check for program on
3130 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
3131 (Bug#11908)
3132
dea31bd3
CY
31332012-07-13 Chong Yidong <cyd@gnu.org>
3134
3135 * bindings.el: Assign a non-nil permanent-local property to
3136 per-buffer variables which lack a default value (Bug#11930).
3137
3138 * help-fns.el (describe-variable): In the "automatically becomes
3139 local" notice, take note of permanent-local variables.
3140
b68b3337
CY
31412012-07-13 Chong Yidong <cyd@gnu.org>
3142
3143 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
3144 to allow printing the message when called from Lisp.
3145
3146 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
3147 Remove toggle-read-only.
3148
3149 * bs.el (bs-toggle-readonly):
45fd731c
SM
3150 * buff-menu.el (Buffer-menu-toggle-read-only):
3151 Remove with-no-warnings around toggle-read-only.
b68b3337
CY
3152
3153 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
3154 Remove with-no-warnings around toggle-read-only.
3155 (ffap-read-only, ffap-read-only-other-window)
3156 (ffap-read-only-other-frame): Callers changed.
3157
3158 * help-mode.el: Don't require view package.
3159 (help-mode-finish): Set buffer-read-only instead of calling
3160 toggle-read-only.
3161
3162 * bindings.el (mode-line-toggle-read-only):
3163 * dired.el (dired-toggle-read-only):
3164 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
3165 with non-nil second arg.
3166
3167 * emacs-lisp/eieio-custom.el (eieio-customize-object):
3168 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
3169 directly.
3170
56bc1586
EZ
31712012-07-12 Eli Zaretskii <eliz@gnu.org>
3172
3173 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
3174 not incf.
3175
a464a6c7
SM
31762012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
3177
3178 More CL cleanups and reduction of use of cl.el.
3179 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
3180 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
3181 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
3182 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
3183 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
3184 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
3185 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
3186 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
3187 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
3188 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
3189 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
3190 * eshell/em-cmpl.el, eshell/em-banner.el:
3191 * calendar/parse-time.el: Use cl-lib.
3192 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
3193 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
3194 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
3195 * term/ns-win.el, term.el, shell.el, ps-samp.el:
3196 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
3197 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
3198 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
3199 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
3200 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
3201 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
3202 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
3203 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
3204 `lambda' rather than with `quote'.
3205 (eshell-do-opt): Adjust accordingly.
3206 (eshell-process-option): Simplify.
3207 * eshell/esh-var.el:
3208 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
3209 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
3210 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
3211 to `pcase--dontcare'.
3212 * emacs-lisp/cl.el (labels): Mark obsolete.
3213 (cl--letf, letf): Move to cl-lib.
3214 (cl--letf*, letf*): Remove.
3215 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
3216 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
3217 (cl-progv): Rewrite.
3218 (cl--letf, cl-letf): Move from cl.el.
3219 (cl-letf*): New macro.
3220 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
3221
7ad4afe1
MA
32222012-07-11 Michael Albinus <michael.albinus@gmx.de>
3223
3224 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
3225
9af57756
CY
32262012-07-11 Chong Yidong <cyd@gnu.org>
3227
3228 * vc/log-edit.el (log-edit-vc-backend): New variable.
3229 (log-edit): Doc fix.
3230
3231 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
3232 argument of log-edit to set up all local variables.
3233 (vc-start-logentry): New optional arg specifying VC backend.
3234
3235 * vc/vc.el (vc-checkin): Use it.
3236 (vc-deduce-fileset): Handle Log Edit buffers.
3237 (vc-diff): Make first argument optional too.
3238
3239 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
3240
8477cc7a
MA
32412012-07-10 Michael Albinus <michael.albinus@gmx.de>
3242
3243 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
3244 command, just in case. The function is not needed anymore.
3245 (eshell-external-command): Do not call `eshell-remote-command'.
3246
19faa8e8
SM
32472012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
3248
f58e0fd5
SM
3249 Reduce use of (require 'cl).
3250 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
3251 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
3252 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
3253 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
3254 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
3255 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
3256 * battery.el, avoid.el, abbrev.el: Use cl-lib.
3257 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
3258 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
3259 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
3260 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
3261 * calculator.el, autorevert.el, apropos.el: Don't require CL.
3262 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
3263 (byte-compile-unfold-bcf, byte-compile-check-variable):
3264 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
3265 (byte-compile-nilconstp):
3266 * emacs-lisp/autoload.el (make-autoload): Use pcase.
3267 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
3268
2519d43a
SM
3269 * emacs-lisp/gv.el (cond): Make it a valid place.
3270 (if): Simplify slightly.
3271
19faa8e8
SM
3272 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
3273 (pcase--self-quoting-p): New function.
3274 (pcase--u1): Use it.
3275
c4907a5e
GM
32762012-07-10 Glenn Morris <rgm@gnu.org>
3277
3278 * emacs-lisp/authors.el (authors-fixed-entries):
3279 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
3280
c4444d16
PE
32812012-07-09 Paul Eggert <eggert@cs.ucla.edu>
3282
3283 Rename configure.in to configure.ac (Bug#11603).
3284 * emacs-lisp/authors.el (authors-canonical-file-name):
3285 * progmodes/autoconf.el (autoconf-mode):
3286 Prefer configure.ac to configure.in.
3287
d75be97d
CY
32882012-07-08 Chong Yidong <cyd@gnu.org>
3289
01ac65bd
CY
3290 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
3291 Implement the mouse-1-click-follows-link handling properly.
3292
3293 * info.el (Info-link-keymap): Use follow-link mechanism for
3294 header-line links (Bug#374).
3295
d75be97d
CY
3296 * simple.el (deactivate-mark): Do not set the primary selection
3297 if another program has acquired it (Bug#11772).
3298
87a92845 32992012-07-07 Kevin Ryde <user42@zip.com.au>
f0ecdfea
KR
3300
3301 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
3302 (woman-decode-region): Replace escaped-escapes without destroying
3303 bold or underline (Bug#11552).
87a92845 3304 (woman2-process-escapes): Handle nofill regions (Bug#11591).
f0ecdfea 3305
621b9d6c
CY
33062012-07-07 Chong Yidong <cyd@gnu.org>
3307
3308 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
19faa8e8
SM
3309 (interprogram-cut-function, interprogram-paste-function):
3310 Mention that we typically mean the clipboard.
621b9d6c 3311
133a11fc
GM
33122012-07-06 Glenn Morris <rgm@gnu.org>
3313
0d27a45e
GM
3314 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
3315
133a11fc
GM
3316 * files.el (toggle-read-only): Restrict message to interactive use.
3317
07b151f1
MA
33182012-07-06 Michael Albinus <michael.albinus@gmx.de>
3319
3320 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
3321
3322 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
3323
211b896b
GM
33242012-07-06 Glenn Morris <rgm@gnu.org>
3325
50394322
GM
3326 * Makefile.in (compile-one-process): Rename from "recompile".
3327
211b896b
GM
3328 * Makefile.in (bzr-update): "compile" is the same as "recompile
3329 autoloads", but parallelizable, so use that instead.
3330
4737eec9
DG
33312012-07-06 Dmitry Gutov <dgutov@yandex.ru>
3332
3333 * window.el (quit-window): Always restore window height when
8137e7b3 3334 it's saved in quit-restore parameter (Bug#11810).
4737eec9 3335
226c3633 33362012-07-06 Glenn Morris <rgm@gnu.org>
cb442973
GM
3337
3338 * simple.el (kill-whole-line): Doc tweak.
3339
226c3633 33402012-07-06 Eli Zaretskii <eliz@gnu.org>
93842198
EZ
3341
3342 * files.el (file-relative-name): Compare file names
3343 case-insensitively if on MS-Windows or MS-DOS, or if
3344 read-file-name-completion-ignore-case is non-nil. Don't use
3345 case-fold-search for this purpose. (Bug#11827)
3346
4dc7c8d5
SM
33472012-07-17 Andreas Schwab <schwab@linux-m68k.org>
3348
3349 * calendar/cal-dst.el (calendar-current-time-zone):
3350 Return calendar-current-time-zone-cache if non-nil.
3351
33522012-07-17 Masatake YAMATO <yamato@redhat.com>
226c3633 33532012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 3354
19faa8e8
SM
3355 * calendar/cal-dst.el (calendar-current-time-zone):
3356 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 3357
60198fc9
GM
33582012-07-06 Glenn Morris <rgm@gnu.org>
3359
3360 * Makefile.in (cvs-update): Remove old alias.
3361
957b3189
MA
33622012-07-05 Michael Albinus <michael.albinus@gmx.de>
3363
3364 Sync with Tramp 2.2.6-pre.
3365
3366 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
3367 compatible declaration.
3368
19faa8e8
SM
3369 * net/tramp-cmds.el (tramp-append-tramp-buffers):
3370 Protect `list-load-path-shadows' call.
957b3189
MA
3371
3372 * net/tramp-compat.el (top): Require packages, which aren't
3373 autoloaded anymore for XEmacs. Protect call of
3374 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
3375 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
3376 it hurts at least for SXEmacs.
3377 (tramp-compat-temporary-file-directory): In XEmacs, there is no
3378 standard-value for `temporary-file-directory'.
3379
3380 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
3381 Redirect stderr to /dev/null.
3382 (tramp-sh-handle-write-region): uid and gid can be floats.
3383 Reported by Russell Sim <russell.sim@gmail.com>.
3384 (tramp-sh-handle-vc-registered): Hide errors.
3385 (tramp-vc-file-name-handler): Use dummy results for `process-file'
3386 and `start-file-process'.
3387 (tramp-maybe-open-connection): Check also whether `non-essential'
3388 is bound.
3389
566df3fc
CY
33902012-07-04 Chong Yidong <cyd@gnu.org>
3391
3392 * xml.el (xml--parse-buffer): Use xml-syntax-table.
3393 (xml-parse-tag): Likewise, and avoid changing entity tables.
3394 (xml-syntax-table): Define from scratch, making sure not to give
3395 x2000 and other Unicode spaces whitespace syntax, since those are
3396 not spaces in XML.
3397 (xml-parse-fragment): Delete unused function.
3398 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
3399 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
3400 (xml-entity-ref, xml-pe-reference-re)
3401 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
3402 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
3403 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
3404 (xml-entity-value-re): Use syntax references in regexps where
3405 possible; no need to define inside a let-binding.
3406 (xml-parse-dtd): Use xml-pe-reference-re.
3407 (xml-entity-or-char-ref-re): New defconst.
3408 (xml-parse-string, xml-substitute-special): Use it.
3409
30eabd7a
SM
34102012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
3411
0781098a
SM
3412 * files.el (locate-dominating-file): Allow `name' to be a predicate.
3413 (find-file--read-only): New function.
3414 (find-file-read-only, find-file-read-only-other-window)
3415 (find-file-read-only-other-frame): Use it.
3416 (insert-file-contents-literally): Don't `fset'.
3417 (get-free-disk-space): Use locate-dominating-file.
3418
b5771c0d
SM
3419 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
3420 function is already compiled.
3421
30eabd7a
SM
3422 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
3423
b4886f6e
MA
34242012-07-03 Michael Albinus <michael.albinus@gmx.de>
3425
3426 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
3427 files on the same host.
3428
b9d82339
AS
34292012-07-03 Andreas Schwab <schwab@linux-m68k.org>
3430
3431 * help-fns.el (describe-function-1): Only call
3432 help-fns--autoloaded-p when we have a file name. (Bug#11848)
3433
a76e6535
CY
34342012-07-03 Chong Yidong <cyd@gnu.org>
3435
3436 * xml.el: Protect parser against XML bombs.
3437 (xml-entity-expansion-limit): New variable.
3438 (xml-parse-string, xml-substitute-special): Use it.
3439 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
3440
b544fef2
GM
34412012-07-03 Glenn Morris <rgm@gnu.org>
3442
3443 * progmodes/bug-reference.el (bug-reference-bug-regexp):
3444 Allow linking to specific messages in debbugs reports (eg 123#5).
3445
a7aef6f5
CY
34462012-07-02 Chong Yidong <cyd@gnu.org>
3447
3448 * xml.el: Fix entity and character reference expansion, allowing
3449 them to expand into markup as per XML spec.
3450 (xml-default-ns): New variable.
3451 (xml-entity-alist): Use XML spec definitions for lt and amp.
30eabd7a
SM
3452 (xml-parse-region): Make first two arguments optional.
3453 Discard text properties.
3454 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
3455 All callers changed.
a7aef6f5
CY
3456 (xml-parse-tag): Call xml-parse-tag-1. For backward
3457 compatibility, this function should not modify buffer contents.
3458 (xml-parse-tag-1): Fix opening-tag regexp.
3459 (xml-parse-string): Rewrite, handling entity and character
3460 references properly.
3461 (xml--entity-replacement-text): Signal an error if a parameter
3462 entity is undefined.
3463
3df31c9f
SM
34642012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
3465
2b5208f1
SM
3466 * comint.el (comint-output-filter): Filter out repeated prompts.
3467
3df31c9f
SM
3468 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
3469 and file-name-absolute-p.
3470 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
3471 internal calls.
3472
e3ac1281
PE
34732012-07-02 Paul Eggert <eggert@cs.ucla.edu>
3474
3475 Spelling fixes.
3476 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
3477 Rename from byte-compile--refiy-function. All uses changed.
3478
fbf2e7ad
CY
34792012-07-01 Chong Yidong <cyd@gnu.org>
3480
3481 * xml.el (xml--parse-buffer): New function. Move most of
3482 xml-parse-region here.
3483 (xml-parse-region): Copy region into a temporary buffer, since
3484 parameter entity substitution requires changing buffer contents.
3485 Use xml--parse-buffer.
3486 (xml-parse-file): Use xml--parse-buffer.
3487 (xml-parse-dtd): Make parameter entity substitution work right.
6fe566a7 3488 Use proper regexps for ELEMENT declarations (Bug#7172).
fbf2e7ad 3489
9bf0aa15
GM
34902012-06-30 Glenn Morris <rgm@gnu.org>
3491
bbce2853
GM
3492 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
3493
9bf0aa15
GM
3494 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
3495 Remove outdated and unnecessary dbus declarations.
3496
0d23c240
EZ
34972012-06-30 Eli Zaretskii <eliz@gnu.org>
3498
3499 * emacs-lisp/timer.el (timer-until): Subtract results of
3500 float-time, instead of taking float-time of the result of
3501 time-subtract, since float-time signals an error for negative time
3502 arguments.
3503
b3218de1
CY
35042012-06-30 Chong Yidong <cyd@gnu.org>
3505
3506 * xml.el (xml-*-re): Convert defvars into defconsts, and
3507 eval-and-compile them so eval-and-compile works on derivatives.
3508 (xml--entity-replacement-text): Use eval-and-comple.
3509
a40c87a0
MA
35102012-06-30 Michael Albinus <michael.albinus@gmx.de>
3511
3512 * vc/vc-git.el (vc-git-registered): Use cache property
3513 `git-registered'.
3514 (vc-git-mode-line-string): Call `vc-working-revision' instead of
3515 `vc-git-working-revision' in order to benefit from the cache.
2bb1ae55 3516 (vc-git-root): Use cache property `git-root'. (Bug#11757)
a40c87a0 3517
ac87de97
DG
35182012-06-30 Dmitry Gutov <dgutov@yandex.ru>
3519
3520 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
2bb1ae55 3521 removed (likely outside Emacs). (Bug#11757)
ac87de97 3522
ac10fe06
SM
35232012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
3524
3df31c9f 3525 * emacs-lisp/cl-lib.el: Require macroexp.
ac10fe06 3526
7f3fbd5d
CY
35272012-06-30 Chong Yidong <cyd@gnu.org>
3528
3529 * xml.el: Implement XML parameter entities.
3530 (xml-parameter-entity-alist): New variable.
3531 (xml-parse-region, xml-parse-fragment): Preserve previous values
3532 of xml-entity-alist and xml-parameter-entity-alist, so that
3533 repeated calls on different documents do not change them.
3534 (xml-parse-tag): Fix doctype regexp.
3535 (xml--entity-replacement-text): New function.
3536 (xml-parse-dtd): Use it. Don't handle system entities; doing that
3537 properly requires url retrieval which is unimplemented.
3538 (xml-escape-string): Doc fix.
3539
3cfbebba
SM
35402012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
3541
3542 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
3543
2af3565e
DA
35442012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
3545
3546 * fringe.el (fringe-mode): Doc fix.
3547
929df0e7
MA
35482012-06-29 Michael Albinus <michael.albinus@gmx.de>
3549
3550 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
3551 is non-nil.
3552 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
3553 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
3554
c8d3a25c 35552012-06-29 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 3556
c8d3a25c
GM
3557 * calendar/cal-dst.el (calendar-current-time-zone):
3558 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 3559
c8d3a25c 35602012-06-29 Masatake YAMATO <yamato@redhat.com>
26e8548e
MY
3561
3562 * progmodes/which-func.el (which-func-format):
3563 Add mouse-face. (Bug#11698)
3564
c8d3a25c
GM
35652012-06-29 Leo Liu <sdl.web@gmail.com>
3566
3567 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
3568
35692012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
3570
3571 * minibuffer.el (minibuffer-confirm-exit-commands):
3572 Add completion-at-point (bug#11725).
3573
35742012-06-29 Glenn Morris <rgm@gnu.org>
3575
3576 * progmodes/f90.el (f90-font-lock-keywords-2):
3577 Add some preprocessor elements. (Bug#10499)
3578
35792012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
3580
3581 * progmodes/cperl-mode.el (cperl-update-syntaxification):
3582 Use syntax-propertize (bug#11739).
3583
2badeec4
JB
35842012-06-28 Juanma Barranquero <lekktu@gmail.com>
3585
3586 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
3587
ae4969c2
JD
35882012-06-28 Julien Danjou <julien@danjou.info>
3589
3590 * term.el (term-handle-colors-array): Use a set of new faces to
3591 color the terminal. Also uses :inverse-video property.
3592 (term-default-fg-color): Set to nil by default, deprecate in favor
3593 of `term-face'.
3594 (term-default-bg-color): Set to nil by default, deprecate in favor
3595 of `term-face'.
3596 (term-current-face): Use `term-face' by default.
3597 (term-bold-attribute): Variable deleted.
3598
1c9bd870
GM
35992012-06-28 Glenn Morris <rgm@gnu.org>
3600
3601 * simple.el (completion-list-mode-finish):
3602 Don't use toggle-read-only. (Since completion-list-mode has
3603 a special mode-class, it wasn't doing anything extra anyway.)
3604
c207708c
SM
36052012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
3606
3607 Make inlining of other-mode interpreted functions work (bug#11799).
3608 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
3609 (byte-compile): Use it to fix compilation of lexical-binding closures.
3610 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
3611 function, if needed.
3612
3fd56834
SM
36132012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
3614
04901786
SM
3615 * help-mode.el (help-make-xrefs): Don't just withstand
3616 cyclic-variable-indirection but any error in documentation-property.
3617
1ec4b7b2
SM
3618 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
3619 memory use.
3620 * bindings.el (bindings--define-key): New function.
3621 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
3622 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
3623 * bindings.el: Use it to purecopy define-key bindings.
3624
e309e2a5
SM
3625 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
3626
d5c6faf9
SM
3627 * emacs-lisp/cl.el (flet): Mark obsolete.
3628 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
3629 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
3630 * progmodes/js.el (js-c-fill-paragraph):
3631 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
3632 (ebrowse-switch-member-buffer-to-derived-class):
3633 * play/5x5.el (5x5-solver): Use cl-flet.
3634
6e9590e2
SM
3635 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
3636 (cl--symbol-function): New macro.
3637 (cl--letf, cl--letf*): Use it.
3638
3fd56834
SM
3639 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
3640 Strip "toggle-" if any.
3641
35ff222c
GM
36422012-06-27 Glenn Morris <rgm@gnu.org>
3643
1ba6038a
GM
3644 * info.el (Info-default-directory-list): Move here from paths.el.
3645 * paths.el: Remove file, which is now empty.
3646 * loadup.el: No longer load "paths".
3647
0ea0e51b
GM
3648 * custom.el (custom-initialize-delay): Doc fix.
3649
35ff222c
GM
3650 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
3651 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
3652 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
3653 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
3654 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
3655 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
3656 * eshell/eshell.el (eshell-defgroup): Remove alias.
3657
c89926a5
CY
36582012-06-27 Chong Yidong <cyd@gnu.org>
3659
3660 * help.el (help-enable-auto-load): New variable.
3661
3662 * help-fns.el (help-fns--autoloaded-p): New function.
3663 (describe-function-1): Refer to a function as "autoloaded" if it
3664 was autoloaded at any time in the past. Perform autoloading if
3665 help-enable-auto-load is non-nil.
3666
cc06e7e7
EZ
36672012-06-26 Eli Zaretskii <eliz@gnu.org>
3668
3669 * makefile.w32-in (compile, compile-always): Depend on
3670 update-subdirs, not on subdirs.el. Otherwise, several different
3671 sub-targets of 'bootstrap' running in parallel could
3672 simultaneously write to subdirs.el, producing a garbled file.
3673
d2c32364
SS
36742012-06-26 Sam Steingold <sds@gnu.org>
3675
3676 * files.el (file-name-base): New convenience function.
0d14cc21
GM
3677 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
3678 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
3679 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
3680 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
3681 * textmodes/ispell.el, textmodes/reftex-ref.el:
d2c32364
SS
3682 * textmodes/tex-mode.el: Use it.
3683 Did not touch cedet and org because they are maintained elsewhere.
3684
5cf983b2
MR
36852012-06-26 Martin Rudalics <rudalics@gmx.at>
3686
3687 * calendar/calendar.el (calendar-exit): Don't try to delete or
3688 iconify last frame. See:
3689 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
3690
8c4f2952
JD
36912012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
3692
3693 * server.el (server-process-filter): Remember dir in the
3694 process's `server-client-directory' properties.
3695
772b2e2c
CY
36962012-06-24 Chong Yidong <cyd@gnu.org>
3697
3698 * xml.el (xml-parse-tag): Correctly handle comment embedded in
3699 non-tag text.
3700
711b11e1
JB
37012012-06-23 Juanma Barranquero <lekktu@gmail.com>
3702
3703 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
3704
dc5d230c
SM
37052012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
3706
3707 * help-fns.el (describe-variable): Don't croak when doc is not found.
3708 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
3709 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
3710 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
3711 * emacs-lisp/smie.el (smie-next-sexp): CSE.
3712 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
3713 ((lambda ..) ..).
3714 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
3715
136e1c1d
CY
37162012-06-23 Chong Yidong <cyd@gnu.org>
3717
e8c1cabf
CY
3718 * info.el (Info-mouse-follow-link): Accept symbol values of
3719 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
136e1c1d
CY
3720 (Info-fontify-node): Use Info-link-keymap for all navigation
3721 buttons, with link-args property to perform the desired action.
3722 (Info-link-keymap): Doc fix.
3723 (Info-next-link-keymap, Info-prev-link-keymap)
3724 (Info-up-link-keymap): Delete now-unused keymaps.
3725
0e9e6c6a
CY
37262012-06-23 Chong Yidong <cyd@gnu.org>
3727
05e89fea
CY
3728 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
3729
0e9e6c6a
CY
3730 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
3731 system abbrevs.
3732
3733 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
3734
e33c6771
SM
37352012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
3736
b68581e2
SM
3737 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
3738 (bug#11719).
3739
e33c6771
SM
3740 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
3741 the requote function doesn't work properly (bug#11714).
3742
7117e105
GM
37432012-06-23 Glenn Morris <rgm@gnu.org>
3744
3745 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
3746
36cec983
SM
37472012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
3748
3749 Further GV/CL cleanups.
3750 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
3751 gv-expander.
3752 (gv--defun-declaration): New function.
3753 (defun-declarations-alist): Use it.
3754 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
3755 (gv-place): Autoload.
3756 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
3757 original definition of dotimes and dolist.
3758 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
3759 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
3760 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
3761 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
3762 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
3763 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
3764 to the function's definition.
3765 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
3766 * window.el:
3767 * files.el:
3768 * faces.el:
3769 * env.el: Don't use CL.
3770
d35af63c
PE
37712012-06-22 Paul Eggert <eggert@cs.ucla.edu>
3772
3773 Support higher-resolution time stamps (Bug#9000).
3774
3775 * calendar/time-date.el (with-decoded-time-value): New arg
3776 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
3777 (encode-time-value): New optional arg PICO. New type 3.
3778 (time-to-seconds) [!float-time]: Support the new picoseconds
3779 component if it's used.
3780 (seconds-to-time, time-subtract, time-add):
3781 Support ps-resolution time stamps as well.
3782
3783 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
3784 (timerp): Timer vectors now have length 9, not 8.
3785 (timer--time): Support new-style (4-part) time stamps.
3786 (timer-next-integral-multiple-of-time): Time stamps now have
3787 picosecond resolution, so take a bit more care about rounding.
3788 (timer-relative-time, timer-inc-time): New optional arg psecs.
3789 (timer-set-time-with-usecs): Set psecs to 0.
3790 (timer--activate): Check psecs component, too.
3791
3792 * proced.el (proced-time-lessp): Support ps-resolution stamps.
3793
ac77b21a
SM
37942012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
3795
f143bfe3
SM
3796 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
3797 Move the non-essential binding to the post/pre-command-hook where it is
3798 more obviously correct.
3799
ac77b21a
SM
3800 * subr.el (read-passwd): Don't use a history at all.
3801 * savehist.el (savehist-save): Remove password saved accidentally
3802 because of the above bug.
3803
76386c5a
BG
38042012-06-22 Bastien Guerry <bzg@gnu.org>
3805
3806 * files.el (toggle-read-only): Display a message telling whether
3807 the buffer is read-only or not (bug#11726).
3808
2ee3d7f0
SM
38092012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
3810
3811 * emacs-lisp/gv.el: New file.
3812 * subr.el (push, pop): Extend to generalized variables.
3813 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
3814 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
3815 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
3816 gv-define-simple-setter, and gv-define-expander.
3817 Remove setf-methods defined in gv. Rename cl-setf -> setf.
3818 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
3819 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
3820 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
3821 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
3822 gv-letplace.
3823 (cl-defstruct): Don't define setf-method any more.
3824 * emacs-lisp/cl.el (flet): Don't autoload.
3825 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
3826 (define-setf-expander, defsetf, define-modify-macro)
3827 (cl-struct-setf-expander): Move from cl-lib.el.
3828 * emacs-lisp/syntax.el:
3829 * emacs-lisp/ewoc.el:
3830 * emacs-lisp/smie.el:
3831 * emacs-lisp/cconv.el:
3832 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
3833 (timer--time): Use gv-define-simple-setter.
3834 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
3835 to avoid coding-system problems in subr.el. Adjust all users.
3836 (macroexp--maxsize, macroexp-small-p): New functions.
3837 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
3838 * scroll-bar.el (scroll-bar-mode):
3839 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
3840 (normal-erase-is-backspace-mode): Don't use the `eq' place.
3841 * winner.el (winner-configuration, winner-make-point-alist)
3842 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
3843 * files.el (locate-file-completion-table): Avoid list*.
3844
c5695d1d
CY
38452012-06-22 Chong Yidong <cyd@gnu.org>
3846
3847 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
3848 (dired-create-files): Doc fix (Bug#11329).
3849 (dired-do-copy): Doc fix (Bug#11334).
3850 (dired-mark-read-string): Doc fix (Bug#11553).
3851
2ee3d7f0
SM
3852 * dired.el (dired-recursive-copies, dired-recursive-deletes):
3853 Doc fix (Bug#11326).
c5695d1d
CY
3854 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
3855 (dired-dwim-target): Doc fix.
3856
3857 * wdired.el (wdired-mode): Doc fix.
3858
89b5595a
GM
38592012-06-22 Glenn Morris <rgm@gnu.org>
3860
575db3f1
GM
3861 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
3862 (pcmpl-rpm-cache-stamp-file): New constant.
3863 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
3864 (pcmpl-rpm-packages): Optionally cache list of packages.
3865
a4c8dd51
GM
3866 * pcmpl-rpm.el (pcmpl-rpm): New group.
3867 (pcmpl-rpm-query-options): New option.
3868 (pcmpl-rpm-packages): No need to inline it.
3869 Use pcmpl-rpm-query-options.
3870
89b5595a
GM
3871 * calendar/calendar.el (calendar-in-read-only-buffer):
3872 Avoid some needless mode changes.
3873
e76f0800
CY
38742012-06-21 Chong Yidong <cyd@gnu.org>
3875
3876 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
3877 (desktop-path): Remove . from the default value (Bug#10977).
6b67c0d4 3878 (desktop-read): Use user-emacs-directory if desktop-path is nil.
e76f0800 3879
297a8f1d
CY
38802012-06-20 Chong Yidong <cyd@gnu.org>
3881
3882 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
3883
d34c18b1
DR
38842012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
3885
3886 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
3887 (bug#11201).
3888
32f7f28e
CY
38892012-06-20 Chong Yidong <cyd@gnu.org>
3890
3891 * term.el (term-window-width): Handle the case of a missing right
3892 fringe (Bug#8837).
3893 (term-check-size): Use window-text-height (Bug#5445).
d34c18b1
DR
3894 (term-mode): Use define-derived-mode. Minor cleanups.
3895 Set font-lock-defaults (Bug#7692).
6ff7caa8
CY
3896 (term-move-columns, term-insert-char, term-emulate-terminal)
3897 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
32f7f28e 3898
493c6688
MA
38992012-06-20 Michael Albinus <michael.albinus@gmx.de>
3900
d34c18b1
DR
3901 * net/ange-ftp.el (ange-ftp-get-passwd):
3902 Bind `enable-recursive-minibuffers'.
493c6688
MA
3903 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
3904
3f06ecf4
DR
39052012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
3906
3907 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
3908
68f12411
GM
39092012-06-19 Glenn Morris <rgm@gnu.org>
3910
3911 * progmodes/python.el (python-mode): Derive from prog-mode.
3912
b3820318
KG
39132012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
3914
3915 * emulation/edt.el (edt-default-menu-bar-update-buffers)
3916 (edt-user-menu-bar-update-buffers): New functions.
3917 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
3918
c6bf3022
CY
39192012-06-19 Chong Yidong <cyd@gnu.org>
3920
3921 * subr.el (with-selected-window): Preserve the selected window's
3922 terminal's top-frame (Bug#4702).
3923
3924 * window.el (save-selected-window): Likewise.
3925
25f09295
SM
39262012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
3927
3928 * progmodes/python.el (python-rx-constituents): Move backquote.
3929 (python-skeleton-define, python-define-auxiliary-skeleton):
3930 Use `declare'.
3931
6b11952a
MA
39322012-06-18 Michael Albinus <michael.albinus@gmx.de>
3933
3934 * minibuffer.el (read-file-name-default): Revert the patch from
3935 2012-06-17.
3936
ee4b1330
SM
39372012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
3938
3939 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
3940 (pcase--u1, pcase--q1): Don't use apply-partially.
3941
35647f79
GM
39422012-06-18 Glenn Morris <rgm@gnu.org>
3943
3944 * progmodes/python.el (python-proc, python-buffer)
3945 (python-send-receive, python-send-string): Fix obsolete versions.
3946
24b0cff0
MR
39472012-06-18 Martin Rudalics <rudalics@gmx.at>
3948
3949 * window.el (special-display-p): Completely remove stringp
3950 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
3951
29855149
MA
39522012-06-17 Michael Albinus <michael.albinus@gmx.de>
3953
3954 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
3955
3956 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
3957
3958 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
3959 * net/tramp-sh.el (tramp-maybe-open-connection):
3960 Throw if `non-essential' is non-nil.
3961
07463363
MR
39622012-06-17 Martin Rudalics <rudalics@gmx.at>
3963
3964 * window.el (special-display-p): Signal an error if BUFFER-NAME
3965 is not a string (Bug#11713).
3966
48d1354e
PE
39672012-06-17 Paul Eggert <eggert@cs.ucla.edu>
3968
3969 * progmodes/python.el (python-info-beginning-of-backslash):
3970 Rename from python-info-beginning-of-backlash, as a spelling fix.
3971
eb4a8a9a
CY
39722012-06-17 Chong Yidong <cyd@gnu.org>
3973
3974 * term.el (term-emulate-terminal): If term-check-size is called,
3975 move point to the process mark without resetting point (Bug#4635).
3976
ddfbf826 39772012-06-17 Glenn Morris <rgm@gnu.org>
9c758578
GM
3978
3979 * international/mule-cmds.el (mule-menu-keymap)
3980 (set-language-environment, set-locale-environment): Doc tweaks.
3981
9b0e3eba
AA
39822012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
3983
3984 * cus-face.el (custom-face-attributes): Add wave-style underline
3985 attribute.
3986 * faces.el (set-face-attribute): Update docstring to describe
3987 wave-style underline attribute.
3988
771e3eae
CY
39892012-06-16 Chong Yidong <cyd@gnu.org>
3990
3991 * term/xterm.el (terminal-init-xterm): Discard input before
3992 querying background mode (Bug#10959).
3993
7ae2ea10
SM
39942012-06-16 Stefan Merten <smerten@oekonux.de>
3995
3996 * textmodes/rst.el: Added and corrected some comments.
3997 (rst-re-alist-def): Improve symbol syntax.
3998 (rst-mode-syntax-table): Correct syntax entries.
6665a6fd
SM
3999 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
4000 (rst-official-version, rst-official-cvs-rev): Update version
4001 information.
7ae2ea10 4002
b6974efa
JB
40032012-06-15 Juanma Barranquero <lekktu@gmail.com>
4004
4005 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
4006 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
4007
8826d473
GM
40082012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
4009
4010 * progmodes/python.el: New python.el merge.
4011 (python-guess-indent): Obsolete var.
4012 (python-indent-guess-indent-offset): New defcustom.
4013 (python-indent): Obsolete var.
4014 (python-indent-offset): New defcustom.
4015 (python-python-command, python-jython-command): Delete var.
4016 (python-shell-interpreter): New defcustom.
4017 (python-pdbtrack-do-tracking-p): Delete var.
4018 (python-pdbtrack-activate): New defcustom.
4019 (python-use-skeletons): Obsolete var.
4020 (python-skeleton-autoinsert): New defcustom.
4021 (inferior-python-filter-regexp, python-continuation-offset)
4022 (python-honour-comment-indentation, python-indent-string-contents)
4023 (python-jython-packages, python-mode-hook)
4024 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
4025 (python-shell-prompt-alist)
4026 (python-source-modes): Delete defcustoms.
4027 (python-check-buffer-name, python-eldoc-setup-code)
4028 (python-eldoc-string-code, python-ffap-setup-code)
4029 (python-ffap-string-code, python-fill-comment-function)
4030 (python-fill-decorator-function, python-fill-paren-function)
4031 (python-fill-string-function, python-imenu-include-defun-type)
4032 (python-imenu-make-tree, python-imenu-subtree-root-label)
4033 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
4034 (python-shell-compilation-regexp-alist)
4035 (python-shell-completion-module-string-code)
4036 (python-shell-completion-pdb-string-code)
4037 (python-shell-completion-setup-code)
4038 (python-shell-completion-string-code)
4039 (python-shell-enable-font-lock, python-shell-exec-path)
4040 (python-shell-extra-pythonpaths)
4041 (python-shell-internal-buffer-name, python-shell-interpreter-args)
4042 (python-shell-process-environment)
4043 (python-shell-prompt-block-regexp)
4044 (python-shell-prompt-output-regexp)
4045 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
4046 (python-shell-send-setup-max-wait, python-shell-setup-codes)
4047 (python-shell-virtualenv-path): New defcustoms.
4048 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
4049 (inferior-python-mode-syntax-table, python--prompt-regexp)
4050 (python-buffer, python-command python-python-command)
4051 (python-default-template, python-imports, python-indent-index)
4052 (python-indent-list, python-indent-list-length)
4053 (python-mode-running, python-pdbtrack-is-tracking-p)
4054 (python-preoutput-continuation, python-preoutput-leftover)
4055 (python-preoutput-result, python-preoutput-skip-next-prompt)
4056 (python-prev-dir/file, python-recursing)
4057 (python-saved-check-command, python-version-checked)
4058 (python-which-func-length-limit)
4059 (view-return-to-alist): Delete vars.
4060 (python-check-custom-command, python-dotty-syntax-table)
4061 (python-imenu-index-alist, python-indent-current-level)
4062 (python-indent-dedenters, python-indent-levels)
4063 (python-nav-beginning-of-defun-regexp)
4064 (python-nav-list-defun-positions-cache)
4065 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
4066 (python-shell-internal-buffer)
4067 (python-skeleton-available): New vars.
4068 (def-python-skeleton): Delete macro.
4069 (python-skeleton-define): New macro.
4070 (python-define-auxiliary-skeleton, python-rx): New macros.
4071 (python-insert-class): Delete command.
4072 (python-skeleton-class): New command.
4073 (python-insert-def): Delete command.
4074 (python-skeleton-def): New command.
4075 (python-insert-for): Delete command.
4076 (python-skeleton-for): New command.
4077 (python-insert-if): Delete command.
4078 (python-skeleton-if): New command.
4079 (python-insert-try/except, python-insert-try/finally): Delete commands.
4080 (python-skeleton-try): New command.
4081 (python-insert-while): Delete command.
4082 (python-skeleton-while): New command.
4083 (python-backspace): Delete command.
4084 (python-indent-dedent-line-backspace): New command.
4085 (python-electric-colon): Delete command.
4086 (python-indent-electric-colon): New command.
4087 (python-guess-indent): Delete command.
4088 (python-indent-guess-indent-offset): New command.
4089 (python-shift-left): Delete command.
4090 (python-indent-shift-left): New command.
4091 (python-shift-right): Delete command.
4092 (python-indent-shift-right): New command.
4093 (python-find-function): Delete command.
4094 (python-nav-jump-to-defun): New command.
4095 (python-next-statement): Delete command.
4096 (python-nav-forward-sentence): New command.
4097 (python-previous-statement): Delete command.
4098 (python-nav-backward-sentence): New command.
4099 (python-fill-paragraph): Delete command.
4100 (python-fill-paragraph-function): New command.
4101 (python-send-buffer): Delete command.
4102 (python-shell-send-buffer): New command.
4103 (python-send-defun): Delete command.
4104 (python-shell-send-defun): New command.
4105 (python-send-region, python-send-region-and-go): Delete commands.
4106 (python-shell-send-region)
4107 (python-shell-switch-to-shell): New commands.
4108 (python-send-string): Delete command.
4109 (python-shell-send-string): New command.
4110 (python-switch-to-python): Delete command.
4111 (python-shell-switch-to-shell): New command.
4112 (python-describe-symbol): Delete command.
4113 (python-eldoc-at-point): New command.
4114 (python--set-prompt-regexp, python-args-to-list)
4115 (python-after-info-look, python-check-version)
4116 (python-check-comint-prompt, python-find-imports)
4117 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
4118 (python-unload-function, python-expand-template)
4119 (python-maybe-jython, python-preoutput-filter)
4120 (python-pdbtrack-get-source-buffer)
4121 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
4122 (python-pdbtrack-toggle-stack-tracking)
4123 (python-pdbtrack-track-stack-file, python-initial-text)
4124 (python-first-word, python-comment-line-p, python-send-command)
4125 (python-setup-brm, python-sentinel, python-set-proc)
4126 (python-skip-out, python-input-filter, python-outdent-p)
4127 (python-outline-level, python-backslash-continuation-line-p)
4128 (python-end-of-block, python-end-of-statement, python-mark-block)
4129 (python-beginning-of-block, python-beginning-of-statement)
4130 (python-blank-line-p, python-beginning-of-string)
4131 (python-open-block-statement-p): Delete functions.
4132 (python-indent-line, python-indent-line-1): Delete functions.
4133 (python-indent-line): New function.
4134 (python-indentation-levels): Delete function.
4135 (python-indent-calculate-levels): New function.
4136 (python-proc): Delete function.
4137 (python-shell-get-process): New function.
4138 (python-send-receive): Delete function.
4139 (python-shell-send-string-no-output): New function.
4140 (python-module-path): Delete function.
4141 (python-ffap-module-path): New function.
4142 (python-completion-at-point)
4143 (python-symbol-completions): Delete functions.
4144 (python-completion-complete-at-point): New function.
4145 (python-load-file): Delete function.
4146 (python-shell-send-file): New function.
4147 (python-calculate-indentation): Delete function.
4148 (python-indent-calculate-indentation): New function.
4149 (python-skip-comments/blanks): Delete function.
4150 (python-util-forward-comment): New function.
4151 (python-continuation-line-p): Delete function.
4152 (python-info-continuation-line-p): New function.
4153 (python-which-func, python-current-defun): Delete function.
4154 (python-info-current-defun): New function.
4155 (python-beginning-of-defun): Delete function.
4156 (python-nav-beginning-of-defun): New function.
4157 (python-close-block-statement-p)
4158 (python-block-end-p): Delete function.
4159 (python-info-closing-block): New function.
4160 (python-comint-output-filter-function)
4161 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
4162 (python-fill-comment, python-fill-decorator, python-fill-paren)
4163 (python-fill-string, python-imenu-make-element-tree)
4164 (python-imenu-make-tree, python-imenu-tree-assoc)
4165 (python-indent-context, python-indent-dedent-line)
4166 (python-indent-line-function)
4167 (python-indent-post-self-insert-function)
4168 (python-indent-toggle-levels)
4169 (python-info-assignment-continuation-line-p)
4170 (python-info-beginning-of-backlash)
4171 (python-info-block-continuation-line-p)
4172 (python-info-closing-block-message)
4173 (python-info-line-ends-backslash-p)
4174 (python-info-looking-at-beginning-of-defun)
4175 (python-info-ppss-context, python-info-ppss-context-type)
4176 (python-nav-list-defun-positions, python-nav-read-defun)
4177 (python-nav-sentence-end, python-nav-sentence-start)
4178 (python-pdbtrack-comint-output-filter-function)
4179 (python-pdbtrack-set-tracked-buffer)
4180 (python-shell-calculate-exec-path)
4181 (python-shell-calculate-process-environment)
4182 (python-shell-completion--do-completion-at-point)
4183 (python-shell-completion--get-completions)
4184 (python-shell-completion-complete-at-point)
4185 (python-shell-completion-complete-or-indent)
4186 (python-shell-get-or-create-process)
4187 (python-shell-get-process-name)
4188 (python-shell-internal-get-or-create-process)
4189 (python-shell-internal-get-process-name)
4190 (python-shell-internal-send-string, python-shell-make-comint)
4191 (python-shell-parse-command, python-shell-send-setup-code)
4192 (python-skeleton-add-menu-items)
4193 (python-util-clone-local-variables, python-util-position)
4194 (run-python-internal, python-indentation-levels)
4195 (python-nav-beginning-of-defun)
4196 (python-completion-complete-at-point): New functions.
4197 (run-python): Change arguments. New API requirements.
4198
4302f5ba
SM
41992012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
4200
f38ea36d
SM
4201 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
4202 (bug#11649).
4203
4204 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
4205 (macroexp--expand-all): Use it.
4206
4302f5ba
SM
4207 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
4208 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
4209 Use `cl-function' instead.
4210
33377562
JB
42112012-06-14 Juanma Barranquero <lekktu@gmail.com>
4212
4213 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
4214 Suggested by Stefan Monnier while discussing bug#11657.
4215
54c5ba1a
SS
42162012-06-14 Sam Steingold <sds@gnu.org>
4217
4218 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
4219
f9f1b1fe
AS
42202012-06-14 Andreas Schwab <schwab@linux-m68k.org>
4221
4222 * play/doctor.el (doctor-doc): Remove parameter and use
4223 doctor-sent instead of sent.
4224 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
4225
a81068ba
SM
42262012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
4227
5a315f9c
SM
4228 * files.el: Require cl-lib.
4229 (file-name-non-special): Replace case -> cl-case.
4230
4231 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
4232
a81068ba
SM
4233 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
4234 mapping from #' to function*.
4235
8cca9703
CY
42362012-06-13 Chong Yidong <cyd@gnu.org>
4237
4238 * mouse.el (mouse-drag-track): Do not set the mark if the user
4239 releases the mouse without selecting anything (Bug#11588).
4240
a12ac9d7
SM
42412012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
4242
ccf1dc18
SM
4243 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
4244 as well (bug#11646).
4245
ef62b23d
SM
4246 * loadup.el: Count byte-code functions as well.
4247
c4c8444a
SM
4248 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
4249 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
4250
a12ac9d7
SM
4251 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
4252 (bug#11649). Add cl-defun and cl-defmacro.
4253
87e6e64f
DA
42542012-06-13 Drew Adams <drew.adams@oracle.com>
4255
4256 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
4257 Fix last change.
4258
682cefaf
MA
42592012-06-13 Michael Albinus <michael.albinus@gmx.de>
4260
4261 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
4262 Otherwise, it blocks in batch mode.
4263
773e1f08
JB
42642012-06-13 Juanma Barranquero <lekktu@gmail.com>
4265
4266 * help-mode.el (bookmark-make-record-default): Declare.
4267
60057926
CY
42682012-06-13 Chong Yidong <cyd@gnu.org>
4269
4270 * emacs-lisp/package.el (list-packages): Compute a list of
4271 packages that are newly-available since the last list-packages
4272 invocation.
4273 (package-menu--new-package-list): New var.
4274 (package-menu--generate, package-menu--print-info)
4275 (package-menu--status-predicate, package-menu-mark-install):
4276 Handle new status label "new".
4277
ad4d226c
SM
42782012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
4279
4280 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
4281 conversion to backquotes.
4282
f1a4e679
CY
42832012-06-12 Chong Yidong <cyd@gnu.org>
4284
4285 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
4286 Rename from gud-inhibit-global-bindings.
4287
4288 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
4289
4290 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
4291 hook from nxml-glyph-set-hook.
4292
4293 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
4294 declaration.
4295
4296 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
4297
4298 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
4299 Convert to defcustom.
4300
0c9e42b5
DA
43012012-06-12 Drew Adams <drew.adams@oracle.com>
4302
4303 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
4304 New functions.
4305 (help-mode): Use them.
4306
09e06855
GM
43072012-06-11 Glenn Morris <rgm@gnu.org>
4308
4309 * progmodes/fortran.el (fortran-font-lock-keywords-3):
4310 Use preprocessor face for directives.
4311 (fortran-directive-re): Doc fix.
4312
71adb94b
SM
43132012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
4314
2eb87922
SM
4315 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
4316 conversion to backquotes (bug#11652).
4317
71adb94b
SM
4318 Fix compiler-expansion of CL's cXXr functions (bug#11673).
4319 * emacs-lisp/cl-lib.el (cl--defalias): New function.
4320 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
4321 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
4322 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
4323 (cl-ninth, cl-tenth): Mark them as inlinable.
4324 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
4325 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
4326 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
4327 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
4328 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
4329 (cl-list*, cl-adjoin): Don't put an autoload manually.
4330 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
4331 (cl--compiler-macro-list*): Add autoload cookie.
4332 (cl--compiler-macro-cXXr): New function.
2eb87922 4333
71adb94b
SM
4334 * help-fns.el (help-fns--compiler-macro): New function extracted from
4335 describe-function-1; follow aliases and use `compiler-macro' property.
4336 (describe-function-1): Use it.
4337
a6674402
CY
43382012-06-11 Chong Yidong <cyd@gnu.org>
4339
4340 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
4341 is uninstalled, if imagemagick is installed.
4342
bb3faf5b
SM
43432012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
4344
4345 * emacs-lisp/cl-lib.el: Use lexical-binding.
4346 (cl-map-extents, cl-maclisp-member): Remove.
4347 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
4348 (cl--set-substring, cl--block-wrapper, cl--block-throw)
4349 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
4350 * emacs-lisp/cl-extra.el: Use lexical-binding.
4351 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
4352 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
4353 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
4354 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
4355 * emacs-lisp/cl-seq.el: Use lexical-binding.
4356 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
4357 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
4358 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
4359 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
4360 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
4361 CL's internals.
4362
2fe4b125
MA
43632012-06-11 Michael Albinus <michael.albinus@gmx.de>
4364
4365 Sync with Tramp 2.2.6-pre.
4366
4367 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
4368 `print-length' and `print-level' to nil, in order to avoid
4369 truncation. Reported by Christopher Schmidt
4370 <christopher@ristopher.com>.
4371
4372 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
4373
4374 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
4375 New defmacro.
4376 (tramp-compat-copy-directory): Add optional argument
4377 COPY-CONTENTS. It is not handled yet.
4378
4379 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
4380 (tramp-ftp-file-name-p): Simplify.
4381
4382 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
4383 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
4384 connection vector.
4385
4386 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
4387 (tramp-methods): Do not use `tramp-password-end-of-line'.
4388 (tramp-completion-function-alist-putty): Handle UNIX case.
4389 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
4390 (tramp-do-file-attributes-with-stat)
4391 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
4392 gid as real numbers. They could run out of integer range on cygwin.
4393 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
4394 (tramp-sh-handle-expand-file-name): Handle hops.
87e6e64f
DA
4395 (tramp-open-connection-setup-interactive-shell):
4396 Use `tramp-cleanup'. Move check for busyboxes ...
4397 (tramp-find-shell): ... here. Simplify implementation.
4398 Set "remote-shell" property also for alternative shells.
4399 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
4400 If failing, a regular file would be written otherwise.
4401 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
2fe4b125
MA
4402 (tramp-find-inline-encoding): Cache the coding commands in the
4403 process cache. Apply test command on the remote side, if defined.
4404 (tramp-find-inline-compress): Cache the compress commands in the
4405 process cache.
4406 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
4407 when requested. Handle hops.
4408 (tramp-current-connection): New defvar.
87e6e64f
DA
4409 (tramp-maybe-open-connection): Use `tramp-cleanup'.
4410 Throw `suppress', if there was a failed connection shortly before.
2fe4b125 4411 Handle user interrupt. (Bug#10187)
87e6e64f
DA
4412 (tramp-get-inline-compress, tramp-get-inline-coding):
4413 Read connection properties from the process cache.
2fe4b125
MA
4414
4415 * net/tramp-smb.el (tramp-smb-server-version)
87e6e64f
DA
4416 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
4417 New defconsts.
2fe4b125
MA
4418 (tramp-smb-prompt): Extend for powershell prompt.
4419 (tramp-smb-file-name-handler-alist): Add handlers for
4420 `process-file', `shell-command' and `start-file-process'.
4421 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
4422 (tramp-smb-winexe-shell-command-switch): New defcustoms.
4423 (tramp-smb-file-name-p): Simplify.
4424 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
4425 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
4426 (tramp-smb-shell-quote-argument): New defuns.
4427 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
4428 Implement using "tar". By this, time-stamps are preserved.
4429 (tramp-smb-handle-copy-file): Handle also the case of directories.
4430 (tramp-smb-do-file-attributes-with-stat)
87e6e64f
DA
4431 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
4432 Use `tramp-get-connection-buffer').
2fe4b125
MA
4433 (tramp-smb-handle-rename-file): Use "rename", when source and
4434 target are on the same share.
87e6e64f
DA
4435 (tramp-smb-maybe-open-connection): Handle wrong passwords.
4436 Use `tramp-smb-server-version'.
2fe4b125
MA
4437 (tramp-smb-wait-for-output): Remove prompt.
4438
4439 * net/tramp.el (top): Require 'cl.
87e6e64f
DA
4440 (tramp-methods, tramp-rsh-end-of-line):
4441 Remove `tramp-password-end-of-line' from docstring.
2fe4b125
MA
4442 (tramp-save-ad-hoc-proxies): New defcustom.
4443 (tramp-completion-function-alist): Adapt docstring.
4444 (tramp-default-password-end-of-line): Remove defcustom.
4445 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
4446 (tramp-user-regexp, tramp-file-name-regexp-unified)
4447 (tramp-file-name-regexp-url): Extend regexp by hop separator.
4448 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
4449 (tramp-remote-file-name-spec-regexp): New defconst.
4450 (tramp-file-name-structure): Extend structure for hops.
4451 (tramp-get-method-parameter): Move up.
4452 (tramp-file-name-p, tramp-dissect-file-name)
4453 (with-parsed-tramp-file-name): Handle hops.
4454 (tramp-file-name-hop): New defun.
4455 (tramp-make-tramp-file-name): New optional arg HOP.
4456 (tramp-message-show-progress-reporter-message): New defvar.
4457 (tramp-with-progress-reporter): Use it. We cannot use
4458 `tramp-message-show-message' here, because this suppresses also
4459 error buffers.
4460 (tramp-error-with-buffer): Suppress buffer view, if
87e6e64f
DA
4461 `tramp-message-show-message' is nil.
4462 Use `tramp-get-connection-buffer'.
2fe4b125
MA
4463 (tramp-cleanup): New defun.
4464 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
4465 (tramp-file-name-handler): If `debug-on-error' is set, propagate
4466 an error unchanged.
4467 (tramp-completion-handle-file-name-all-completions): Handle hops.
4468 Fix an error when called from ido.
4469 (tramp-completion-dissect-file-name): Use better local variable
4470 name. Add hop to the vector.
4471 (tramp-handle-insert-file-contents): Use progress-reporter for the
4472 whole scenario.
4473 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
4474 to `t'.
4475 (tramp-check-for-regexp): Simplify search.
4476 (tramp-enter-password): Remove it. Move implementation ...
4477 (tramp-action-password): ... here.
4478 (tramp-mode-string-to-int, tramp-local-host-p)
4479 (tramp-make-tramp-temp-file, tramp-read-passwd)
87e6e64f
DA
4480 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
4481 Set tramp-autoload cookie.
2fe4b125
MA
4482
4483 * net/trampver.el: Update release number.
4484
44852012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4486 Michael Albinus <michael.albinus@gmx.de>
4487
4488 * net/tramp.el (tramp-set-completion-function): Fix docstring.
4489 (tramp-parse-group, tramp-parse-file)
4490 (tramp-parse-shostkeys-sknownhosts): New defuns.
4491 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
4492 (tramp-parse-shosts-group, tramp-parse-sconfig)
4493 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
4494 (tramp-parse-sknownhosts, tramp-parse-hosts)
4495 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
4496 Use them.
4497 (tramp-parse-passwd-group, tramp-parse-netrc-group)
4498 (tramp-parse-putty-group): Don't narrow.
4499 (tramp-parse-putty): Make a loop.
4500 (tramp-file-name-handler): Catch the `suppress' signal.
4501
72834e10
CY
45022012-06-11 Chong Yidong <cyd@gnu.org>
4503
4504 * image.el (imagemagick-register-types): Put the ImageMagick entry
4505 at the end of image-type-file-name-regexps.
4506
a4712e11
JB
45072012-06-11 Johan Bockgård <bojohan@gnu.org>
4508
4509 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
4510 (pcase, pcase-let*, pcase-dolist): Use them.
4511
82ad98e3
SM
45122012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
4513
4514 * emacs-lisp/pcase.el (pcase--let*): New function.
4515 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
4516 (pcase--expand): Use macroexp-let².
4517
f80efb86
SM
45182012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
4519
4520 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
4521 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
4522 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
4523 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
4524 * emacs-lisp/derived.el: Use pcase instead of `cl'.
4525 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
4526
31ca4639 45272012-06-10 Glenn Morris <rgm@gnu.org>
94f0aa34 4528
31ca4639
CY
4529 * mail/rmail.el (rmail-yank-current-message): Leave point at
4530 correct position. (Bug#11660)
94f0aa34 4531
31ca4639 45322012-06-10 Chong Yidong <cyd@gnu.org>
9e1b8ec4 4533
31ca4639 4534 * allout-widgets.el: Fix code header.
9e1b8ec4 4535
31ca4639 45362012-06-10 Chong Yidong <cyd@gnu.org>
00cd0305 4537
f80efb86
SM
4538 * cus-edit.el (customize-changed-options-previous-release):
4539 Bump to 24.1.
31ca4639 4540
642b6d30
AS
45412012-06-09 Andreas Schwab <schwab@linux-m68k.org>
4542
4543 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
4544
4f5d2ba1
CY
45452012-06-09 Chong Yidong <cyd@gnu.org>
4546
4547 * ebuff-menu.el (electric-buffer-list): Preserve header line.
4548
e75852fd
MR
45492012-06-09 Martin Rudalics <rudalics@gmx.at>
4550
4551 * window.el (special-display-popup-frame): Don't use
4552 window--display-buffer (Bug#11651).
4553
1e48e282
EZ
45542012-06-09 Eli Zaretskii <eliz@gnu.org>
4555
8a26b487
EZ
4556 Fix parallel builds: make sure loaddefs.el is not being written
4557 while Lisp files are compiled.
4558 (compile): Don't depend on 'mh-autoloads'.
4559 (compile-CMD, compile-SH): Depend on 'autoloads'.
4560 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
4561
1e48e282
EZ
4562 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
4563
6175e34b
CY
45642012-06-09 Chong Yidong <cyd@gnu.org>
4565
4566 * face-remap.el (face-remap-add-relative, face-remap-set-base)
4567 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
4568 Doc fixes (Bug#11225).
4569
d9857e53
SM
45702012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
4571
4572 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
4573 a function if there's a clear indication that it has a compiler-macro.
4574 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
4575 (macro-declarations-alist): Add arglist to declaration functions.
4576 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
4577 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
4578 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
4579 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
4580 Also add autoload to find the compiler macro.
4581 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
4582 (cl--compiler-macro-member, cl--compiler-macro-assoc)
4583 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
4584 (cl--compiler-macro-get): New functions, replacing calls to
4585 cl-define-compiler-macro.
4586 (cl-typep) [compiler-macro]: Use macroexp-let².
4587
f81298f8 45882012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
ee574791
UJ
4589
4590 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
4591 string properly, fixes Bug#11473.
4592
4b56d0fe
CY
45932012-06-08 Chong Yidong <cyd@gnu.org>
4594
4595 * faces.el (set-face-attribute): Doc fix.
4596 (modify-face): Don't use :bold and :italic.
4597 (error, warning, success): Tweak definitions.
4598
4599 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
4600 (custom-modified, custom-set, custom-changed, custom-themed)
4601 (custom-saved, custom-button, custom-button-mouse)
4602 (custom-button-pressed, custom-state, custom-comment-tag)
4603 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
4604 (custom-group-subtitle): Use new-style face specs.
4605 (custom-invalid-face, custom-rogue-face, custom-modified-face)
4606 (custom-set-face, custom-changed-face, custom-saved-face)
4607 (custom-button-face, custom-button-pressed-face)
4608 (custom-documentation-face, custom-state-face)
4609 (custom-comment-face, custom-comment-tag-face)
4610 (custom-variable-tag-face, custom-variable-button-face)
4611 (custom-face-tag-face, custom-group-tag-face-1)
4612 (custom-group-tag-face): Remove obsolete face alias.
4613
4614 * epa.el (epa-validity-high, epa-validity-medium)
4615 (epa-validity-low, epa-mark, epa-field-name, epa-string)
4616 (epa-field-name, epa-field-body):
4617 * font-lock.el (font-lock-comment-face, font-lock-string-face)
4618 (font-lock-keyword-face, font-lock-builtin-face)
4619 (font-lock-function-name-face, font-lock-variable-name-face)
4620 (font-lock-type-face, font-lock-constant-face):
4621 * ido.el (ido-first-match, ido-only-match, ido-subdir)
4622 (ido-virtual, ido-indicator, ido-incomplete-regexp):
4623 * speedbar.el (speedbar-button-face, speedbar-file-face)
4624 (speedbar-directory-face, speedbar-tag-face)
4625 (speedbar-selected-face, speedbar-highlight-face)
4626 (speedbar-separator-face):
4627 * whitespace.el (whitespace-newline, whitespace-space)
4628 (whitespace-hspace, whitespace-tab, whitespace-trailing)
4629 (whitespace-line, whitespace-space-before-tab)
4630 (whitespace-space-after-tab, whitespace-indentation)
4631 (whitespace-empty):
4632 * emulation/cua-base.el (cua-global-mark):
4633 * eshell/em-prompt.el (eshell-prompt):
4634 * net/newst-plainview.el (newsticker-new-item-face)
4635 (newsticker-old-item-face, newsticker-immortal-item-face)
4636 (newsticker-obsolete-item-face, newsticker-date-face)
4637 (newsticker-statistics-face, newsticker-default-face):
4638 * net/newst-reader.el (newsticker-feed-face)
4639 (newsticker-extra-face, newsticker-enclosure-face):
4640 * net/newst-treeview.el (newsticker-treeview-face)
4641 (newsticker-treeview-new-face, newsticker-treeview-old-face)
4642 (newsticker-treeview-immortal-face)
4643 (newsticker-treeview-obsolete-face)
4644 (newsticker-treeview-selection-face):
4645 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
4646 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
4647 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
4648 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
4649 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
4650 (nxml-outline-active-indicator, nxml-outline-ellipsis):
4651 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
4652 (mpuz-text):
4653 * progmodes/vera-mode.el (vera-font-lock-number)
4654 (vera-font-lock-function, vera-font-lock-interface):
4655 * textmodes/table.el (table-cell): Use new-style face specs, and
4656 don't use the old :bold and :italic attributes.
4657
4658 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
4659 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
4660 (ebrowse-member-class, ebrowse-progress): Likewise.
4661 (ebrowse-tree-mark-face, ebrowse-root-class-face)
4662 (ebrowse-file-name-face, ebrowse-default-face)
4663 (ebrowse-member-attribute-face, ebrowse-member-class-face)
4664 (ebrowse-progress-face): Remove obsolete faces.
4665
4666 * progmodes/flymake.el (flymake-errline, flymake-warnline):
4667 Inherit from error and warning faces respectively.
4668
4669 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
4670 Likewise.
f80efb86
SM
4671 (flyspell-incorrect-face, flyspell-duplicate-face):
4672 Remove obsolete aliases.
4b56d0fe 4673
03310646
MA
46742012-06-08 Michael Albinus <michael.albinus@gmx.de>
4675
4676 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
4677 Avoid infloop.
4678
513749ee
SM
46792012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
4680
4681 * startup.el (argv, argi): Make lexically scoped.
4682 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
4683 * emacs-lisp/cl-macs.el: Use lexical-binding.
4684 Rename cl-bind-* to cl--bind-*.
4685 * files.el: Don't require `cl' since it doesn't use it.
4686 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
4687
595ef4ad
JB
46882012-06-08 Juanma Barranquero <lekktu@gmail.com>
4689
4690 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
4691 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
4692 instead of calling external sort utility.
4693 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
4694
e9f66fcb
EZ
46952012-06-08 Eli Zaretskii <eliz@gnu.org>
4696
4697 * descr-text.el (describe-char): Mention how to insert the
4698 character, if the current input method doesn't support it.
4699 See the discussion in this thread for the details:
4700 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
4701
3d10db47
SS
47022012-06-08 Sam Steingold <sds@gnu.org>
4703
4704 * bindings.el (global-map): Bind XF86Forward to next-buffer and
4705 XF86Back to previous-buffer.
4706 (minibuffer-local-map): Bind them to next-history-element and
4707 previous-history-element respectively.
4708 * help-mode.el (help-mode-map): Bind them to help-go-forward and
4709 help-go-back respectively.
4710 * info.el (Info-mode-map): Bind them to Info-history-forward and
4711 Info-history-back respectively.
4712 These are the keys next to Up on the ThinkPad keyboard.
4713
de7e2b36
SM
47142012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
4715
4716 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
4717 * emacs-lisp/cl-macs.el: Provide itself.
4718 (cl--labels-convert-cache): New var.
4719 (cl--labels-convert): New function.
4720 (cl-flet, cl-labels): New implementation with new semantics, relying on
4721 lexical-binding.
4722 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
4723 (cl-closure-vars, cl--function-convert-cache)
4724 (cl--function-convert): Move from cl-macs.el.
4725 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
4726 rename by removing the "cl-" prefix.
4727 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
4728
6fa6c4ae
SM
47292012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
4730
4731 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
4732 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
4733 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
4734 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
4735 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
4736 (cl-hash-table-count): Add old compatibility aliases.
4737
4738 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
4739 Use macroexpand-all-environment instead.
4740 (cl--old-macroexpand): New var.
4741 (cl--sm-macroexpand): New function.
4742 (cl-symbol-macrolet): Use it during macro expansion.
4743 (cl--function-convert-cache): New var.
4744 (cl--function-convert): New function, extracted from
4745 cl-macroexpand-all.
4746 (cl-lexical-let): Use it.
4747
4748 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
4749 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
4750 (cl-member): Remove old alias.
4751
4752 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
4753 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
4754 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
4755 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
4756 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
4757 (cl-macroexpand-cmacs): Remove var.
4758 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
4759 Use macroexpand-all instead.
4760
4dd1c416
SM
47612012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
4762
4763 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
4764 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
4765 (macroexp-copyable-p): New functions and macros.
4766 * emacs-lisp/edebug.el (edebug-unwrap):
4767 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
4768 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
4769 (pcase--let*): Remove.
4770 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
4771 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
4772 macroexp-const-p instead.
4773 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
4774
4775 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
4776 instead of "cl-" for internal definitions. Use macroexp-const-p.
4777 (cl-old-bc-file-form): Remove var.
4778 (cl-const-exprs-p): Remove fun.
4779 (cl-labels, cl-macrolet): Use backquote.
4780 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
4781 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
4782 (cl-define-setf-expander): Rename from cl-define-setf-method.
4783 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
4784
4785 * international/mule-cmds.el: Don't require CL.
4786 (view-hello-file): Don't use `letf'.
4787
ed8bd4d7
SM
47882012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
4789
7287f2f3
SM
4790 * tmm.el (tmm-prompt): Use string-prefix-p.
4791 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
4792 (tmm-add-prompt): Use minibuffer-completion-help.
4793 (tmm-delete-map): Remove.
4794
ed8bd4d7
SM
4795 * subr.el (kbd): Make it its own function.
4796
7b4cdbf4
SM
47972012-06-07 Stefan Merten <smerten@oekonux.de>
4798
4799 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
4800 Silence compiler warnings. Fix versions.
ed8bd4d7 4801 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 4802 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 4803 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
4804 (rst-package-emacs-version-alist): Correct Emacs version to
4805 represent major merge with upstream.
ed8bd4d7 4806 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 4807
2b48d721
GM
48082012-06-06 Glenn Morris <rgm@gnu.org>
4809
4810 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
4811 Only print environment variables if set.
4812
fa779ab0
SM
48132012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
4814
4815 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
4816 (macroexp--cons): Rename from maybe-cons.
4817 (macroexp--accumulate): Rename from macroexp-accumulate.
4818 (macroexp--all-forms): Rename from macroexpand-all-forms.
4819 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
4820 (macroexp--expand-all): Rename from macroexpand-all-1.
4821
628299e0
SS
48222012-06-06 Sam Steingold <sds@gnu.org>
4823
4824 * calendar/calendar.el (calendar-in-read-only-buffer):
4825 Call `special-mode' to enable the standard read-only keybindings.
4826
b7bb5838
SM
48272012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
4828
4829 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
4830 with "loading" messages (bug#11635).
4831
dfb308ba
MA
48322012-06-06 Michael Albinus <michael.albinus@gmx.de>
4833
4834 * files.el (enable-remote-dir-locals): New option.
4835 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
4836
0372ee92
MA
4837 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
4838 Ensure, that the temp directory is local.
4839
4840 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
4841 `temporary-file-directory'.
4842
eed0bb91
MA
4843 * progmodes/python.el (python-send-region): Ensure, that the
4844 temporary file is created also in the remote case.
4845
7a58f64d
GM
48462012-06-06 Glenn Morris <rgm@gnu.org>
4847
f7dd4e98
GM
4848 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
4849 (vc-rcs-update-changelog): Use it.
4850
090bd7cb 4851 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
276d5f5d 4852
7a58f64d
GM
4853 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
4854 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
4855 (vc-sccs-diff): Replace use of the external vcdiff script.
4856
daed4003
GM
48572012-06-05 Glenn Morris <rgm@gnu.org>
4858
4859 * ledit.el: Move to obsolete/.
4860
48c455c7
SS
48612012-06-05 Sam Steingold <sds@gnu.org>
4862
ed9265fc 4863 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
48c455c7
SS
4864 patch (Bug#11140).
4865
57a7d507
SM
48662012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
4867
090bd7cb 4868 * emacs-lisp/cust-print.el: Move to obsolete.
d32926ff 4869
53aacf21
SM
4870 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
4871 compiler-macro expansion.
4872
57a7d507
SM
4873 Add native compiler-macro support.
4874 * emacs-lisp/macroexp.el (macroexpand-all-1):
4875 Support compiler-macros directly. Properly follow aliases and apply
4876 the compiler macros more thoroughly.
4877 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
4878 macroexpand now properly follows aliases.
4879 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
4880 (cl-compiler-macroexpand): Use new prop.
4881 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
4882
4883 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
4884
51a5f9d8
MR
48852012-06-05 Martin Rudalics <rudalics@gmx.at>
4886
4887 * window.el (get-lru-window, get-mru-window, get-largest-window):
4888 New argument NOT-SELECTED to avoid picking the selected window.
4889 (window--display-buffer-1, window--display-buffer-2): Replace by
4890 new function window--display-buffer
4891 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
4892 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
4893 Use window--display-buffer.
51a5f9d8
MR
4894 (display-buffer-use-some-window): Remove temporary dedication
4895 hack by calling get-lru-window and get-largest-window with
4896 NOT-SELECTED argument non-nil. Call window--display-buffer.
4897
08f9f738
GM
48982012-06-05 Glenn Morris <rgm@gnu.org>
4899
4900 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
4901 Replace external vcdiff script.
4902
e364a2b7
SM
49032012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
4904
4905 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
4906
041df390
CY
49072012-06-04 Chong Yidong <cyd@gnu.org>
4908
e364a2b7
SM
4909 * image.el (imagemagick-types-inhibit): Revert last change.
4910 Add INFO and M.
47b36b94 4911 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 4912
7c1898a7
SM
49132012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
4914
4915 * emacs-lisp/cl-lib.el: Rename from cl.el.
4916 * emacs-lisp/cl.el: New compatibility file.
4917 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
4918 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
4919 to obey the "cl-" prefix.
4920 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
4921
0c3461de
GM
49222012-06-03 Glenn Morris <rgm@gnu.org>
4923
1e266c88
GM
4924 * emacs-lisp/authors.el (authors-aliases): Addition.
4925
0c3461de
GM
4926 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
4927 Fix :version.
4928
d8a52e15
SM
49292012-06-03 Stefan Merten <smerten@oekonux.de>
4930
4931 * textmodes/rst.el: Add comments.
4932 (rst-transition, rst-adornment): New faces.
4933 (rst-adornment-faces-alist): Make default safe to reevaluate.
4934 Fixes
4935 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
4936 Improve customization tags.
4937 (rst-define-level-faces): Clarify meaning.
4938
5205d6f6
CY
49392012-06-03 Chong Yidong <cyd@gnu.org>
4940
4941 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
4942 (compilation-mode-line-run, compilation-mode-line-exit):
4943 New faces.
5205d6f6
CY
4944 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
4945
757ee657
JD
49462012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
4947
7c1898a7
SM
4948 * progmodes/which-func.el (which-func-update-ediff-windows):
4949 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 4950
5f2c76c6
CY
49512012-06-03 Chong Yidong <cyd@gnu.org>
4952
4953 * bindings.el: Remove explicit help text from format-mode-line.
4954 It is now supplied by mode-line-default-help-echo.
4955 (mode-line-front-space, mode-line-end-spaces)
4956 (mode-line-misc-info): New variables.
4957 (mode-line-modes, mode-line-position): Move the default value to
4958 the variable definition.
4959 (mode-line-default-help-echo): New defcustom.
383f7350
CY
4960 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
4961 (mode-line-modified-help-echo): New functions.
4962 (mode-line-mule-info, mode-line-modified): Use them.
4963 (mode-line-eol-desc, propertized-buffer-identification):
4964 Consistency fixes for help text.
cbe46e5f
CY
4965 (mode-line-coding-system-map): Allow using mouse-3 to invoke
4966 set-buffer-file-coding-system (Bug#289).
4967 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 4968
f2d6a3df
SM
49692012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
4970
4971 * simple.el (execute-extended-command): Set real-this-command
4972 (bug#11506).
4973
37269466
CY
49742012-06-02 Chong Yidong <cyd@gnu.org>
4975
4976 Remove incorrect uses of "modeline" in comments, docstrings, and
4977 function/variable names (Bug#10329).
4978
4979 * cus-edit.el (mode-line):
4980 * dframe.el (dframe-mouse-hscroll):
4981 * emacs-lisp/re-builder.el:
4982 * emacs-lisp/easy-mmode.el (define-minor-mode):
4983 * frame.el (set-frame-name):
4984 * help.el (lookup-minor-mode-from-indicator):
4985 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
4986 * progmodes/cc-cmds.el (c-toggle-auto-newline)
4987 (c-toggle-hungry-state):
4988 * progmodes/antlr-mode.el (antlr-language-alist):
4989 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
4990 * progmodes/vhdl-mode.el (vhdl-mode):
4991 * progmodes/which-func.el (which-func, which-func-cleanup-function):
4992 * term/ns-win.el (ns-face-at-pos):
4993 * term/sup-mouse.el (sup-mouse-report):
4994 * textmodes/flyspell.el (flyspell-mode-line-string):
4995 * textmodes/ispell.el (ispell-highlight-face):
4996 * textmodes/reftex-global.el:
4997 * vc/vc-arch.el (vc-arch-mode-line-string):
4998 * vc/vc-cvs.el (vc-cvs-mode-line-string):
4999 * vc/vc-git.el (vc-git-mode-line-string):
5000 * vc/vc-hooks.el (vc-display-status)
5001 (vc-default-mode-line-string):
5002 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
5003
5004 * ansi-color.el (ansi-color-faces-vector): Change default faces.
5005
5006 * dired.el (dired-sort-set-mode-line): Rename from
5007 dired-sort-set-modeline. All callers changed.
5008
5009 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
5010 eshell-status-in-modeline.
5011
5012 * foldout.el (foldout-mode-line-string): Rename from
5013 foldout-modeline-string. All callers changed.
5014 (foldout-update-mode-line): Rename from foldout-update-modeline.
5015
5016 * subr.el (redraw-modeline): Make into obsolete alias.
5017
5018 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
5019 timeclock-modeline-display. Make old name an alias.
5020 (timeclock-update-mode-line): Likewise. All callers changed.
5021 (timeclock-mode-line-display): No need to check before using
5022 add-hook.
5023 (timeclock-relative, timeclock-day-over-hook)
5024 (timeclock-use-elapsed, timeclock-mode-string)
5025 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
5026
5027 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
5028 crisp-mode-modeline-string.
5029
5030 * play/solitaire.el (solitaire-build-mode-line): Rename from
5031 solitaire-build-modeline. All callers changed.
5032
5033 * play/zone.el (zone-hiding-mode-line): Rename from
5034 zone-hiding-modeline. All callers changed.
5035 (zone): Remove unusued `modeline-hidden-level' property.
5036
5037 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
5038 xscheme-modeline-initialize. All callers changed.
5039
5040 * strokes.el (strokes-lighter): Rename from
5041 strokes-modeline-string.
5042
5043 * textmodes/sgml-mode.el (html-face-tag-alist)
5044 (html-tag-face-alist): Use mode-line face instead of obsolete
5045 alias modeline.
5046
42152ee4
SM
50472012-06-02 Stefan Merten <smerten@oekonux.de>
5048
5049 * textmodes/rst.el: Always require `cl'.
4cf9b38d 5050 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 5051
95f520b5
CY
50522012-06-02 Chong Yidong <cyd@gnu.org>
5053
5054 * image.el (imagemagick-enabled-types): Rename from
5055 imagemagick-types-enable. Add many more types.
5056 (imagemagick-types-inhibit): Change default to nil.
5057 (imagemagick-filter-types): Caller changed.
5058
4a5f187a
SM
50592012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
5060
03fef3e6
SM
5061 * emacs-lisp/cl-macs.el: Use backquotes.
5062 (cl-transform-function-property): Use eval-and-compile rather than
5063 abusing `require'.
5064 (defstruct): Use declare-function instead of with-no-warnings.
5065
4a5f187a
SM
5066 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
5067 (byte-compile-output-docform): Re-add the print-circle bindings.
5068 (byte-compile-fix-header): Use #$ just because it's shorter.
5069 (byte-compile-output-file-form): Remove defun/defmacro.
5070
bd56924f
MR
50712012-06-01 Martin Rudalics <rudalics@gmx.at>
5072
5073 * simple.el (choose-completion): Remove now obsolete binding for
5074 owindow.
5075
046e38ce
MA
50762012-06-01 Michael Albinus <michael.albinus@gmx.de>
5077
5078 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
5079 in order to avoid "Stack overflow in regexp matcher".
5080
32d72c2f
GM
50812012-05-31 Glenn Morris <rgm@gnu.org>
5082
5083 * image.el: For clarity, call imagemagick-register-types at
5084 top-level, rather than relying on a custom :initialize.
5085 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
5086 (imagemagick-filter-types): New function. (Bug#7406)
5087 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
5088 If disabling support, remove elements altogether rather
5089 than using an impossible regexp.
5090 (imagemagick-types-inhibit): Give it the default init function.
5091
dd41169b
SM
50922012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
5093
4a5f187a
SM
5094 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
5095 Handle arbitrary file name lengths (Bug#11585).
dd41169b 5096
efc00ab1 50972012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
5098
5099 * desktop.el (desktop-read): Clear previous and next buffers for
5100 all windows and bury *Messages* buffer (bug#11556).
5101
500fcedc
SM
51022012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
5103
5104 Add `declare' for `defun'. Align `defmacro's with it.
5105 * emacs-lisp/easy-mmode.el (define-minor-mode)
5106 (define-globalized-minor-mode): Don't autoload the var definitions.
5107 * emacs-lisp/byte-run.el: Use lexical-binding.
5108 (defun-declarations-alist, macro-declarations-alist): New vars.
5109 (defmacro, defun): Use them.
5110 (make-obsolete, define-obsolete-function-alias)
5111 (make-obsolete-variable, define-obsolete-variable-alias):
5112 Use `declare'.
5113 (macro-declaration-function): Mark obsolete.
5114 * emacs-lisp/autoload.el: Use lexical-binding.
5115 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
5116
6e8a1786
AM
51172012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5118
5119 * textmodes/ispell.el (ispell-with-no-warnings):
5120 Define as a macro.
500fcedc
SM
5121 (ispell-kill-ispell, ispell-change-dictionary):
5122 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
5123 `interactive-p'.
5124
61b108cc
SM
51252012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
5126
5127 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
5128 (macro-declaration-function): Move var from C code.
5129 (macro-declaration-function): Define function with defalias.
5130 * emacs-lisp/macroexp.el (macroexpand-all-1):
5131 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
5132 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
5133 defun/defmacro any more.
5134 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
5135 Provide fallback for unknown arglist.
5136 (byte-compile-arglist-warn): Change calling convention.
5137 (byte-compile-output-file-form): Move print-vars binding.
5138 (byte-compile-output-docform): Simplify accordingly.
5139 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
5140 (byte-compile-defmacro-declaration): Remove.
5141 (byte-compile-file-form-defmumble): Generalize to defalias.
5142 (byte-compile-output-as-comment): Return byte-positions.
5143 Simplify callers accordingly.
5144 (byte-compile-lambda): Use `assert'.
5145 (byte-compile-defun, byte-compile-defmacro): Remove.
5146 (byte-compile-file-form-defalias):
5147 Use byte-compile-file-form-defmumble.
5148 (byte-compile-defalias-warn): Remove.
5149
6d3f7c2f
SM
51502012-05-29 Stefan Merten <smerten@oekonux.de>
5151
5152 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 5153 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
5154
5155 (rst-mode-abbrev-table): Merge definition.
5156 (rst-mode): Make sure `font-lock-defaults' is buffer local.
5157 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
5158
6dbaa1c7
UJ
51592012-05-29 Ulf Jasper <ulf.jasper@web.de>
5160
5161 * calendar/icalendar.el
5162 (icalendar-export-region): Export UID properly.
5163
d209e2fb 51642012-05-29 Leo Liu <sdl.web@gmail.com>
61b108cc
SM
5165 * calendar/icalendar.el (icalendar-import-format):
5166 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
5167 (icalendar-import-format-uid): New.
5168 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
5169 Export UID.
5170
6876a58d
SM
51712012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
5172
5173 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
5174 different alternative patterns.
5175 (pcase-codegen): Be more careful to preserve identity.
5176 (pcase--u1): Don't forget to mark vars as used.
5177
5178 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
5179 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
5180 (byte-compile-from-buffer): ...rather than here.
5181
5182 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
5183 functions from byte-compile-function-environment.
5184
46b7967e
TN
51852012-05-29 Troels Nielsen <bn.troels@gmail.com>
5186
5187 * window.el (window-deletable-p): Avoid deleting the root window
5188 of a frame with an active minibuffer.
5189
69d565e2
MR
51902012-05-29 Martin Rudalics <rudalics@gmx.at>
5191
5192 * simple.el (choose-completion): Use quit-window (Bug#11567).
5193
a149fa51
CY
51942012-05-29 Chong Yidong <cyd@gnu.org>
5195
5196 * whitespace.el (whitespace-cleanup): Fix usage of
5197 whitespace-empty-at-bob-regexp (Bug#11492).
5198
2b311310
AH
51992012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
5200
5201 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
5202 revert (Bug#11488).
5203
b9cb2387
JL
52042012-05-29 Juri Linkov <juri@jurta.org>
5205
5206 * isearch.el (isearch-mode-map): Bind `M-s _' to
5207 `isearch-toggle-symbol'. Bind `M-s c' to
5208 `isearch-toggle-case-fold'.
5209 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
5210 (isearch-forward): Add `M-s _' to the docstring.
5211 (isearch-forward-symbol, isearch-toggle-case-fold)
5212 (isearch-symbol-regexp): New functions. (Bug#11381)
5213
d5e61c1c
JL
52142012-05-29 Juri Linkov <juri@jurta.org>
5215
5216 * isearch.el (isearch-word): Add docstring. (Bug#11381)
5217 (isearch-occur, isearch-search-and-update): If `isearch-word' is
5218 a function, call it to get the regexp.
5219 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
5220 property `isearch-message-prefix' instead of the string "word ".
5221 (isearch-search-fun-default): For the case of `isearch-word',
5222 return a lambda that calls re-search-forward/re-search-backward
5223 with a regexp returned by `word-search-regexp' or by the function
5224 in `isearch-word'.
5225
8cbd80f7
JL
52262012-05-29 Juri Linkov <juri@jurta.org>
5227
5228 * isearch.el (isearch-search-fun-default): New function.
5229 (isearch-search-fun): Move default part to the new function
5230 `isearch-search-fun-default'.
5231 (isearch-search-fun-function): Set the default value to
5232 `isearch-search-fun-default'. (Bug#11381)
5233
5234 * comint.el (comint-history-isearch-end):
5235 Use `isearch-search-fun-default'.
5236 (comint-history-isearch-search): Use `isearch-search-fun-default'
5237 and remove spacial case for `isearch-word'.
5238 (comint-history-isearch-wrap): Remove spacial case for
5239 `isearch-word'.
5240
5241 * hexl.el (hexl-isearch-search-function):
5242 Use `isearch-search-fun-default'.
5243
5244 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
5245 Use `word-search-regexp' for `isearch-word'.
5246
5247 * misearch.el (multi-isearch-search-fun):
5248 Use `isearch-search-fun-default'.
5249
5250 * simple.el (minibuffer-history-isearch-search):
5251 Use `isearch-search-fun-default' and remove spacial case for
5252 `isearch-word'.
5253 (minibuffer-history-isearch-wrap): Remove spacial case for
5254 `isearch-word'.
5255
5256 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
5257 Remove spacial case for `isearch-word'.
5258 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
5259
85c8c5b6
AM
52602012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5261
5262 Decrease XEmacs incompatibilities.
5263 * textmodes/flyspell.el (flyspell-check-pre-word-p):
5264 Use `string-match'.
5265 (flyspell-delete-region-overlays): Use alternative definition for
5266 XEmacs.
5267 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
5268 (flyspell-word): Use `process-kill-without-query' if XEmacs.
5269 (flyspell-mode-on): Use `interactive-p' if XEmacs.
5270 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
5271 `define-obsolete-face-alias' under XEmacs, but old method.
5272
5273 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
5274 `with-no-warnings' definition or Emacs alias.
5275 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
5276 (ispell-word): Do not use `region-p' if XEmacs.
5277
8cab9efc
AM
52782012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5279
5280 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
5281 Check for `ispell-dictionary-base-alist' instead of full
5282 `ispell-dictionary-alist'.
5283 (ispell-init-process): Show spellchecker when starting new Ispell
5284 process.
5285
fda91268
RZ
52862012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
5287
5288 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
5289 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
5290
694ea8e3
JB
52912012-05-27 Juanma Barranquero <lekktu@gmail.com>
5292
5293 * version.el (motif-version-string, gtk-version-string)
5294 (ns-version-string): Declare.
5295
e4d4f539
JL
52962012-05-27 Juri Linkov <juri@jurta.org>
5297
5298 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
5299 after the `eval-defun-1' specialcaseing
5300 like in `edebug-eval-defun' (bug#10181).
5301
5302 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
5303 like in `eval-defun-1'.
5304
33017faf 53052012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 5306
fda91268
RZ
5307 * mail/sendmail.el (mail-yank-region):
5308 Recognize rmail-yank-current-message in addition to insert-buffer.
5309 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
5310 a *mail* buffer created through rmail-start-mail with sendmail as
5311 mail-user-agent.
5312
33017faf
GM
53132012-05-27 Chong Yidong <cyd@gnu.org>
5314
5315 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
5316 Default to 256 (Bug#11267).
5317
5318 * help.el (describe-mode): Doc fix.
5319
04188bb9
GM
53202012-05-26 Glenn Morris <rgm@gnu.org>
5321
38264cc9
GM
5322 * w32-fns.el (w32-init-info): Remove.
5323 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
5324
eb7afdad
GM
5325 * info.el (info-initialize): For self-contained NS builds, put the
5326 included info/ directory at the front. (Bug#2791)
5327
04188bb9
GM
5328 * paths.el (Info-default-directory-list): Make it a defcustom,
5329 mainly so that we can use custom-initialize-delay.
5330
a179e3f7
SM
53312012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
5332
43416392
SM
5333 * subr.el (buffer-has-markers-at): Mark obsolete.
5334
a179e3f7 5335 * subr.el (lambda): Use declare.
43416392 5336
a179e3f7
SM
5337 * emacs-lisp/lisp-mode.el (lambda):
5338 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
5339
34a008d9
AH
53402012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
5341
5342 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
5343
0a3b289f
GM
53442012-05-26 Glenn Morris <rgm@gnu.org>
5345
5346 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
5347
758c81e8
GM
53482012-05-25 Glenn Morris <rgm@gnu.org>
5349
f9f334f0
GM
5350 * paths.el: Remove no-byte-compile.
5351 * loadup.el: No need to load paths.el uncompiled.
5352
87eb79c2
GM
5353 * image.el (imagemagick-types-inhibit): Doc fix.
5354
758c81e8
GM
5355 * version.el: Remove no-byte-compile and associated formatting.
5356 * loadup.el: No need to load version.el uncompiled. AFAICS, this
5357 is ancient code from when there was an "inc-vers.el".
5358
e7e85dc0
SM
53592012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
5360
5361 * progmodes/gdb-mi.el: Minor style changes.
5362 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
5363 Turn into minor modes.
5364 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
5365 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
5366 (gdb-shell): Remove unneeded let-binding.
5367 (gdb-get-many-fields): Eliminate O(n²) behavior.
5368
f31237a4
EZ
53692012-05-25 Eli Zaretskii <eliz@gnu.org>
5370
5371 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
5372 platforms that don't link in fontset.c.
5373
bc1b21bb
JL
53742012-05-25 Juri Linkov <juri@jurta.org>
5375
5376 Use the same diff color scheme as in modern VCSes (bug#10181).
5377
5378 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
5379 to avoid confusion with `diff-added' that now uses green colors.
5380 (diff-removed): Use shades of red.
5381 (diff-added): Use shades of green.
5382 (diff-changed): Leave just the yellow color.
5383 (diff-use-changed-face): New variable.
5384 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
5385 how to highlight context diff changes.
5386 (diff-refine-change): Use shades of yellow.
5387 (diff-refine-removed): New face that uses shades of red.
5388 (diff-refine-added): New face that uses shades of green.
5389 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
5390 `diff-refine-removed' in the call to `smerge-refine-subst'
5391 depending on the value of `diff-use-changed-face'.
5392
5393 * vc/smerge-mode.el (smerge-mine): Use shades of red.
5394 (smerge-other): Use shades of green.
5395 (smerge-base): Use shades of yellow.
5396 (smerge-refined-change): Empty face.
5397 (smerge-refined-removed): New face that uses shades of red.
5398 (smerge-refined-added): New face that uses shades of green.
5399 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
5400 args `props-r' and `props-a', and use them. Doc fix.
5401 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
5402 on its value use different faces `smerge-refined-change',
5403 `smerge-refined-removed', `smerge-refined-added' in the call to
5404 `smerge-refine-subst'.
5405
5406 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
5407 Add face condition `min-colors 88' with shades of red.
5408 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
5409 `min-colors 88' with shades of green.
5410 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
5411 `min-colors 88' with shades of yellow.
5412
6df9112c
GM
54132012-05-24 Glenn Morris <rgm@gnu.org>
5414
ead5edc0
GM
5415 * paths.el (prune-directory-list, remote-shell-program): Move to...
5416 * files.el (prune-directory-list, remote-shell-program): ...here.
5417 For the latter, delay initialization, prefer ssh, just search PATH.
5418
f18b81e6
GM
5419 * paths.el (term-file-prefix): Move to faces.el (the only user).
5420 * faces.el (term-file-prefix): Move here, make it a defcustom.
5421
ee2f89a6
GM
5422 * paths.el (news-directory, news-path, news-inews-program):
5423 Move to gnus/nnspool.el.
61a583ca 5424
f8815e4c
GM
5425 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
5426
c8f3b42c
GM
5427 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
5428 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
5429 Make the latter a defcustom, with a delayed initialization.
5430
6df9112c
GM
5431 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
5432 These were deleted from Gnus itself late 2010.
5433
5dadff36
JB
54342012-05-22 Juanma Barranquero <lekktu@gmail.com>
5435
9e1701c6
JB
5436 * progmodes/which-func.el (which-func-ff-hook):
5437 Check against user-error, not error.
5438
bd7239f5 5439 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
5440 cl-specs.el, which no longer exists.
5441
3290526d
GM
54422012-05-22 Glenn Morris <rgm@gnu.org>
5443
5444 * info.el (info-emacs-bug): New command.
5445 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
5446 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
5447
ff0c3cfb
GM
54482012-05-21 Glenn Morris <rgm@gnu.org>
5449
5450 * makefile.w32-in (update-subdirs-SH):
5451 * Makefile.in (update-subdirs): Update for moved update-subdirs.
5452
5814f126
SM
54532012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
5454
a52c0aa0
SM
5455 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
5456
5814f126
SM
5457 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5458 Simplify Maven regexp, and make sure the file can't start with a space
5459 (bug#11517).
5460
b847032c
GM
54612012-05-21 Glenn Morris <rgm@gnu.org>
5462
5463 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
5464 Scrap superfluous subshells.
5465
3858bfe7
SM
54662012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
5467
5468 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
5469 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
5470
d14b0029
JB
54712012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
5472
5473 * calc/calc.el (calc-ensure-consistent-units): New variable.
5474
a52c0aa0
SM
5475 * calc/calc-units.el (math-consistent-units-p)
5476 (math-check-unit-consistency): New functions.
5477 (calc-quick-units, calc-convert-units):
5478 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
5479 is non-nil.
d14b0029
JB
5480 (calc-extract-units): Fix typo.
5481
60c4db3a
SM
54822012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
5483
77f3b62e
SM
5484 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
5485
60c4db3a
SM
5486 * textmodes/flyspell.el: Commenting style, plus code simplifications.
5487 (flyspell-default-deplacement-commands): Don't spell check after
5488 repeated window/frame switches (e.g. triggered by mouse-movement).
5489 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
5490 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
5491 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
5492 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
5493 Remove unused vars.
5494 (flyspell-get-casechars, flyspell-get-not-casechars):
5495 Simplify; Don't bother removing a ] just to add it back.
5496 * textmodes/ispell.el (ispell-program-name): Use executable-find.
5497
d209e2fb 54982012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
b1a10716
RS
5499
5500 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
5501 New functions.
bd7239f5 5502 (math-function-table): Add support for more C functions.
b1a10716 5503
3f1b25b5
AM
55042012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5505
090bd7cb
JB
5506 * textmodes/flyspell.el (flyspell-check-pre-word-p)
5507 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
5508 Protect delay handling for otherchars against empty otherchars.
3f1b25b5 5509
b581bb5c
SM
55102012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
5511
5512 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
5513 their respective macro declarations.
5514 * skeleton.el (define-skeleton):
5515 * progmodes/compile.el (define-compilation-mode):
5516 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
5517 (define-ibuffer-filter):
5518 * emacs-lisp/generic.el (define-generic-mode):
5519 * emacs-lisp/easy-mmode.el (define-minor-mode)
5520 (define-globalized-minor-mode):
5521 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
5522 * emacs-lisp/byte-run.el (defsubst):
5523 * custom.el (deftheme): Add doc-string metadata.
5524
70b8ef8f
SM
55252012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
5526
5527 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
5528
b1198e17
SM
55292012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
5530
9abdc45d
SM
5531 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
5532
b1198e17
SM
5533 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
5534 * emacs-lisp/cl-macs.el: Idem.
5535 * emacs-lisp/cl-specs.el: Remove.
5536
4735906a
SM
55372012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
5538
5539 Minor renaming of internal CL functions and variables.
5540 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
5541 (cl--position): Rename from cl-position.
5542 (cl--delete-duplicates): Rename from cl-delete-duplicates.
5543 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
5544 (cl--random-state): Rename from *random-state*.
5545
ac348012
SM
55462012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
5547
5548 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
5549 parens around the arg list (bug#11499).
5550
a0a79cde
JL
55512012-05-17 Juri Linkov <juri@jurta.org>
5552
5553 * isearch.el (word-search-regexp, word-search-backward)
5554 (word-search-forward, word-search-backward-lax)
5555 (word-search-forward-lax): Move functions from search.c
5556 (bug#10145, bug#11381).
5557
65034a51
AM
55582012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5559
090bd7cb
JB
5560 * textmodes/flyspell.el (flyspell-check-pre-word-p)
5561 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
5562 Delay for otherchars as for normal word components.
65034a51 5563
1a72a195
SM
55642012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
5565
5566 * minibuffer.el (completion--sifn-requote): Fix last change.
5567 (minibuffer-local-must-match-filename-map):
5568 Move define-obsolete-variable-alias before its var.
5569
fdb058c2
SM
55702012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
5571
c41045e6
SM
5572 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
5573
036dfb8b
SM
5574 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
5575 behavior.
5576 (completion--string-equal-p): New function.
5577 (completion--twq-all): Use it to get better assertion failure data.
5578
2473256d
SM
5579 Only handle ".." and '..' quoting in shell-mode (bug#11466).
5580 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
5581 (shell--requote-argument): New functions.
5582 (shell-completion-vars): Use them.
5583 (shell--parse-pcomplete-arguments): Rename from
5584 shell-parse-pcomplete-arguments.
5585 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
5586 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
5587 Obey comint-file-name-quote-list.
5588
fdb058c2
SM
5589 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
5590 (smie-indent-keyword): Use it.
5591
51fa99f1
SM
55922012-05-14 Stefan Merten <smerten@oekonux.de>
5593
5594 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
5595
e18afed7 55962012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
5597
5598 * net/rlogin.el (rlogin-mode-map): Fix last change.
5599
e18afed7 56002012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
5601
5602 * mail/smtpmail.el (smtpmail-send-command): Send the command and
5603 the following \r\n using a single `process-send-string', since the
5604 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 5605 with two `process-send-string's (Bug#11444).
8633b1f4 5606
e18afed7 56072012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 5608
fdb058c2
SM
5609 * shell.el (shell-parse-pcomplete-arguments):
5610 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 5611
2d21d7f6
WJ
56122012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
5613
e18afed7 5614 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
5615 (image-transform-scale, image-transform-right-angle-fudge): New vars.
5616 (image-transform-width, image-transform-fit-width): New functions.
5617 (image-transform-properties): Use them.
5618 (image-transform-check-size): New function.
5619 (image-toggle-display-image): Use it (for testing).
5620 (image-transform-set-rotation): Reduce angle mod 360.
5621 Delete obsolete comment.
5622
7102e6d0
WJ
56232012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
5624
5625 * image-mode.el: Fix scaling (bug#11399).
5626 (image-transform-resize): Doc fix.
5627 (image-transform-properties): Default scale is 1 and height should
5628 be an integer.
5629
06bc5e6e
SM
56302012-05-13 Johan Bockgård <bojohan@gnu.org>
5631
5632 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
5633 than hard-coding `car', to fix misbehavior when moving forward.
5634
0ae03b6a
CY
56352012-05-13 Chong Yidong <cyd@gnu.org>
5636
5637 * emacs-lisp/tabulated-list.el (tabulated-list-format)
5638 (tabulated-list-entries, tabulated-list-padding)
5639 (tabulated-list-sort-key): Make permanent-local.
5640
5641 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
5642 (electric-buffer-list): Put electric buffer menu
5643 command descriptions in this docstring, instead of the docstring
5644 of electric-buffer-menu-mode. Code cleanups.
5645 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
5646 Electric-buffer-menu-mode.
5647 (electric-buffer-update-highlight): Minor code cleanup.
5648
205a7391
MA
56492012-05-13 Michael Albinus <michael.albinus@gmx.de>
5650
5651 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
5652 (Bug#11447)
5653
e5bd0a28
SM
56542012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
5655
5656 Move define-obsolete-variable-alias before the var's definition.
5657 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
5658 * tooltip.el (tooltip-hook):
5659 * textmodes/reftex-toc.el (reftex-toc-map):
5660 * textmodes/reftex-sel.el (reftex-select-label-map)
5661 (reftex-select-bib-map):
5662 * textmodes/reftex-index.el (reftex-index-map)
5663 (reftex-index-phrases-map):
5664 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
5665 * progmodes/meta-mode.el (meta-mode-map):
5666 * novice.el (disabled-command-hook):
5667 * loadhist.el (unload-hook-features-list):
5668 * frame.el (blink-cursor):
5669 * files.el (find-file-not-found-hooks, write-file-hooks)
5670 (write-contents-hooks):
5671 * emulation/tpu-edt.el (GOLD-map):
5672 * emacs-lock.el (emacs-lock-from-exiting):
5673 * emacs-lisp/generic.el (generic-font-lock-defaults):
5674 * emacs-lisp/chart.el (chart-map):
5675 * dos-fns.el (register-name-alist):
5676 * dired-x.el (dired-omit-files-p):
5677 * desktop.el (desktop-enable):
5678 * cus-edit.el (custom-mode-hook):
5679 * buff-menu.el (buffer-menu-mode-hook):
5680 * bookmark.el (bookmark-read-annotation-text-func)
5681 (bookmark-exit-hooks):
5682 * allout.el (allout-mode-deactivate-hook)
5683 (allout-exposure-change-hook, allout-structure-added-hook)
5684 (allout-structure-deleted-hook, allout-structure-shifted-hook):
5685 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
5686 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
5687 comes before the corresponding variable's definition.
5688
ac59c2f6
CY
56892012-05-12 Chong Yidong <cyd@gnu.org>
5690
5691 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
5692 (Buffer-menu-mouse-select): Restore function (Bug#11459).
5693 (Buffer-menu-mode-map): Bind it.
5694 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 5695
dee6c9a3
SM
56962012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
5697
2171cea5
SM
5698 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
5699 (prolog-upper-case-string, prolog-lower-case-string)
5700 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
5701 (prolog-use-smie, prolog-smie-grammar): New vars.
5702 (prolog-smie-forward-token, prolog-smie-backward-token)
5703 (prolog-smie-rules): New funs.
5704 (prolog-comment-indent): Remove.
5705 (prolog-mode-variables): Use default comment indentation instead.
5706 Setup SMIE.
5707 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
5708 (prolog-mode): Don't call them any more.
5709 (prolog-electric-colon, prolog-electric-dash)
5710 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
5711
aa0382bd
SM
5712 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
5713
dbacb4bd
SM
5714 * minibuffer.el (completion--twq-all): Again, allow case differences.
5715
13bdd94c
SM
5716 * term.el: Move keymap initialization code to be more idiomatic.
5717 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
5718 (term-terminal-menu): Move initialization into declaration.
5719 (term-escape-char): Let the user set it in her .emacs.
5720
ff46c759
SM
5721 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
5722 Provide SMIE-based indentation (not enabled by default yet).
5723 (sh-mode-map): Don't bind electric keys.
5724 Use electric-pair-mode instead of skeleton-pair.
5725 (sh-assignment-regexp): Fit within 80 columns.
5726 (sh-indent-supported): Specify actual shell name instead of boolean.
5727 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
5728 (sh-maybe-here-document): Use it. Make obsolete.
5729 (sh-electric-here-document-mode) New minor mode.
5730 (sh-mode): Use it. Don't set sh-indent-supported-here here.
5731 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
5732 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
5733 (sh-smie-rc-grammar, sh-use-smie): New vars.
5734 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
5735 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
5736 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
5737 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
5738 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
5739 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
5740 (sh-set-shell): Use smie-setup if requested.
5741
dee6c9a3
SM
5742 * term.el (term-set-escape-char): Properly set term-escape-char.
5743 See http://stackoverflow.com/questions/10524656.
5744
9f9aa044
CY
57452012-05-10 Chong Yidong <cyd@gnu.org>
5746
5747 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
5748 Use url-generic-parse-url, and handle host names and Windows
5749 filenames properly.
5750 (ffap-url-unwrap-remote): Use url-generic-parse-url.
5751 (ffap-url-unwrap-remote): Accept list values, specifying a list of
5752 URL schemes to work on.
5753 (ffap--toggle-read-only): New function.
5754 (ffap-read-only, ffap-read-only-other-window)
5755 (ffap-read-only-other-frame): Use it.
5756 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
5757 necessary for ffap-url-unwrap-remote.
5758
836d29b3
DA
57592012-05-10 Dave Abrahams <dave@boostpro.com>
5760
5761 * cus-start.el (create-lockfiles): Add it.
5762
00fd78ed
CY
57632012-05-09 Chong Yidong <cyd@gnu.org>
5764
5765 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
5766 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
5767
666b903b 57682012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
5769
5770 * shell.el (shell-completion-vars): Fix last change (bug#11348).
5771
666b903b 57722012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
5773
5774 * ansi-color.el (ansi-color-process-output): Check for validity of
5775 comint-last-output-start before using it. This avoids a bad
5776 interaction with gdb-mi's input/output buffer.
5777
666b903b 57782012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
5779
5780 * files.el (dir-locals-read-from-file):
5781 Mention dir-locals in any error message.
5782
666b903b 57832012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
5784
5785 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
5786 package (Bug#11410).
5787
f677562b
CY
5788 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
5789 variables into description.
5790
666b903b 57912012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
5792
5793 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
5794 shell-delimiter-argument-list (bug#11348).
5795 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
5796
b499d8d0
JB
57972012-05-09 Juanma Barranquero <lekktu@gmail.com>
5798
8f6b6da8
JB
5799 * textmodes/rst.el: Silence byte-compiler warnings.
5800 (rst-re-alist, rst-reset-section-caches): Move around.
5801 (rst-re): Use `characterp', not `char-valid-p'.
5802 (font-lock-beg, font-lock-end): Declare.
5803
4824146a
JB
5804 * progmodes/idlw-shell.el (specs): Remove reference to deleted
5805 variable `idlwave-shell-activate-alt-keybindings' and simplify.
5806
b499d8d0
JB
5807 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
5808
ad89bb83
GM
58092012-05-08 Glenn Morris <rgm@gnu.org>
5810
5811 * files.el (auto-mode-alist): Treat ".make" like ".mk".
5812
8bba5a75
SM
58132012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
5814
49ed9c8e
SM
5815 * vc/log-edit.el: Add GNU coding standards highlighting.
5816 (log-edit-font-lock-gnu-style)
5817 (log-edit-font-lock-gnu-keywords): New vars.
5818 (log-edit-font-lock-keywords): New fun.
5819 (log-edit-mode): Don't fold case in font-lock.
5820 (log-edit-font-lock-keywords): Do not assume case-folding.
5821
07d00b56
SM
5822 * imenu.el: Misc cleanup. Make docstrings out of comments.
5823 Use lexical-binding.
5824 (imenu--index-alist, imenu--last-menubar-index-alist)
5825 (imenu-menubar-modified-tick): Use defvar-local.
5826 (imenu--split-menu): Remove unused var.
5827 (imenu--cleanup-seen): Declare as global.
5828 (imenu--cleanup): Use dolist.
5829
8bba5a75
SM
5830 * subr.el (defvar-local): Add debug spec and doc-string position.
5831
5075bdb5
GM
58322012-05-08 Glenn Morris <rgm@gnu.org>
5833
090bd7cb 5834 * language/burmese.el, language/cham.el, language/czech.el:
c052c904
GM
5835 * language/english.el, language/georgian.el, language/greek.el:
5836 * language/japanese.el, language/khmer.el, language/korean.el:
5837 * language/lao.el, language/misc-lang.el, language/romanian.el:
5838 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
5839 * language/thai.el, language/utf-8-lang.el:
5840 Remove no-byte-compile setting.
5841
5075bdb5
GM
5842 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
5843
06f679a7
AH
58442012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
5845
5846 * progmodes/make-mode.el (makefile-browse):
5847 Remove unnecessary interactive. (Bug#11324)
5848
03794570
GM
58492012-05-07 Glenn Morris <rgm@gnu.org>
5850
af8630f4
GM
5851 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
5852
03794570
GM
5853 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
5854
f0809a9d
SM
58552012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
5856
28be5ce7
SM
5857 * loadup.el: Preload newcomment.el.
5858 * newcomment.el: Move autoload-only code to toplevel.
5859
f0809a9d
SM
5860 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
5861 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
5862 Handle new :right-align column property.
5863 (tabulated-list-print-col): Idem, plus use `display' text-property to
5864 try and preserve alignment for variable pitch fonts.
5865
1241b724
CY
58662012-05-07 Chong Yidong <cyd@gnu.org>
5867
5868 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
5869 (tabulated-list-use-header-line): New var.
5870 (tabulated-list-init-header): Use it.
5871 (tabulated-list-print-fake-header): New function.
5872 (tabulated-list-print): Use it.
5873 (tabulated-list-sort-button-map): Add non-header-line commands.
5874 (tabulated-list-init-header): Add column name property to basic
5875 labels as well.
5876 (tabulated-list-col-sort): Handle non-header-line button case.
5877 (tabulated-list--sort-by-column-name): Fix a corner case.
5878
f0809a9d
SM
5879 * buff-menu.el (list-buffers--refresh):
5880 Handle Buffer-menu-use-header-line.
1241b724 5881
e5f9458f
CY
58822012-05-06 Chong Yidong <cyd@gnu.org>
5883
5884 * buff-menu.el: Convert to Tabulated List mode.
5885 (Buffer-menu-buffer+size-width): Make obsolete.
5886 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
5887 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
5888 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
5889 documentation into docstring of buffer-menu.
5890 (Buffer-menu-toggle-files-only): Add an informative message.
5891 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
5892 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
5893 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
5894 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
5895 (Buffer-menu-execute, Buffer-menu-select)
5896 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
5897 (Buffer-menu-bury): Use Tabulated List machinery.
5898 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
5899 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 5900 Delete.
e5f9458f
CY
5901 (list-buffers--refresh): New function.
5902 (list-buffers-noselect): Use it.
5903 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
5904 (Buffer-menu--pretty-file-name): New helper functions.
5905
5906 * loadup.el: Preload tabulated-list.
5907
5908 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
5909 tabulated-list-sort-column.
5910 (tabulated-list-init-header): Add the initial aligning space even
5911 if tabulated-list-padding is zero.
5912
e129292c
CS
59132012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
5914
5915 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
5916 whose cdr is not a cons cell correctly (bug#11038).
5917
6632d361
CY
59182012-05-06 Chong Yidong <cyd@gnu.org>
5919
e129292c
CS
5920 * emacs-lisp/tabulated-list.el (tabulated-list-format):
5921 Accept additional plist in column descriptors.
6632d361
CY
5922 (tabulated-list-init-header): Obey it.
5923 (tabulated-list-get-entry): New function.
5924 (tabulated-list-put-tag): Use it. Use string-width instead of
5925 length.
5926 (tabulated-list--column-number): New function.
5927 (tabulated-list-print): Use it.
e129292c
CS
5928 (tabulated-list-print-col): New function.
5929 Set `tabulated-list-column-name' property on each column's text.
6632d361 5930 (tabulated-list-print-entry): Use it.
e129292c
CS
5931 (tabulated-list-delete-entry, tabulated-list-set-col):
5932 New functions.
6632d361
CY
5933 (tabulated-list-sort-column): New command (Bug#11337).
5934
3cc99f68
CY
5935 * buff-menu.el (list-buffers): Move C-x C-b binding from
5936 buff-menu.el to bindings.el.
5937
5938 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
5939 :advertised-binding feature.
5940
52b61776
TN
59412012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
5942
5943 * progmodes/compile.el (compilation-internal-error-properties):
5944 Calculate start position correctly when end-col is set but
5945 end-line is not (Bug#11382).
5946
ebfe2597
WJ
59472012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
5948
5949 * man.el (Man-unindent): Use text-property-default-nonsticky to
5950 prevent untabify from inheriting face properties (Bug#11408).
5951
6d3f7c2f
SM
59522012-05-05 Stefan Merten <smerten@oekonux.de>
5953
5954 * textmodes/rst.el: Major merge with upstream development up to
5955 Docutils SVN r7399 / rst.el V1.2.1.
5956
5957 Clarify maintainership and authors.
5958
5959 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
5960 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
5961 (rst-official-version, rst-official-cvs-rev, rst-version)
5962 (rst-package-emacs-version-alist): New functions and variables
5963 for version information.
5964
5965 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
5966 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
5967 (rst-mode-syntax-table, rst-mode): New and corrected functions
5968 and variables representing reStructuredText features.
5969
5970 (rst-re): New function for reStructuredText regexes. Use in
5971 many places.
5972
5973 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
5974 (rst-mode-map): Rebind keys.
5975
5976 (rst-mode-lazy, rst-font-lock-keywords)
5977 (rst-font-lock-extend-region)
5978 (rst-font-lock-extend-region-internal)
5979 (rst-font-lock-extend-region-extend)
5980 (rst-font-lock-find-unindented-line-limit)
5981 (rst-font-lock-find-unindented-line-match)
5982 (rst-adornment-level, rst-font-lock-adornment-level)
5983 (rst-font-lock-adornment-match)
5984 (rst-font-lock-handle-adornment-pre-match-form)
5985 (rst-font-lock-handle-adornment-matcher): Major revision of
5986 font-locking. Integrate with other code. Use `jit-lock-mode'.
5987
5988 (rst-preferred-adornments, rst-adjust-hook)
5989 (rst-new-adornment-down, rst-preferred-bullets)
5990 (rst-preferred-bullets, rst-indent, rst-indent-width)
5991 (rst-indent-field, rst-indent-literal-normal)
5992 (rst-indent-literal-minimized, rst-indent-comment): Change,
5993 extend and improve customization.
5994
5995 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
5996 (rst-normalize-cursor-position, rst-get-decoration)
5997 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
5998 (rst-rstrip, rst-toc-insert-find-delete-contents)
5999 (rst-shift-fill-region, rst-compute-bullet-tabs)
6000 (rst-debug-print-tabs, rst-debug-mark-found)
6001 (rst-shift-region-guts, rst-shift-region-right)
6002 (rst-shift-region-left, rst-use-char-classes)
6003 (rst-font-lock-keywords-function)
6004 (rst-font-lock-indentation-point)
6005 (rst-font-lock-find-unindented-line-begin)
6006 (rst-font-lock-find-unindented-line-end)
6007 (rst-font-lock-find-unindented-line)
6008 (rst-font-lock-adornment-point, rst-font-lock-level)
6009 (rst-adornment-level-alist): Remove functions and variables.
6010
6011 (rst-compare-adornments, rst-get-adornment-match)
6012 (rst-suggest-new-adornment, rst-get-adornments-around)
6013 (rst-adornment-complete-p, rst-get-next-adornment)
6014 (rst-adjust-adornment, rst-display-adornments-hierarchy)
6015 (rst-straighten-adornments): Standardize function names to
6016 use "adornment" instead of "decoration". Correct callers.
6017 Similar standardizing in many places.
6018
6019 (rst-update-section, rst-adjust, rst-promote-region)
6020 (rst-enumerate-region, rst-bullet-list-region)
6021 (rst-repeat-last-character): Correct use of `interactive'.
6022
6023 (rst-classify-adornment, rst-find-all-adornments)
6024 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
6025 (rst-find-leftmost-column, rst-repeat-last-character):
6026 Refactor functions.
6027
6028 (rst-find-title-line, rst-reset-section-caches)
6029 (rst-get-adornments-around, rst-adjust-adornment-work)
6030 (rst-arabic-to-roman, rst-roman-to-arabic)
6031 (rst-insert-list-pos, rst-insert-list-new-item)
6032 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
6033 New functions.
6034
6035 (rst-all-sections, rst-section-hierarchy)
6036 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
6037 New variables.
6038
6039 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
6040 configuration instead of only buffer. Change where necessary.
6041
6042 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
6043 (rst-shift-region, rst-adaptive-fill): New functions for
6044 indentation and filling.
6045
6046 (rst-comment-line-break, rst-comment-indent)
6047 (rst-comment-insert-comment, rst-comment-region)
6048 (rst-uncomment-region): New functions for handling comments.
6049
6050 (rst-compile): Quote shell arguments.
6051
6052 (rst-compile-pdf-preview, rst-compile-slides-preview):
6053 Delete temporary files after use.
6054
a43f98b3
GM
60552012-05-05 Glenn Morris <rgm@gnu.org>
6056
48176e8b
GM
6057 * calendar/cal-html.el: Optionally include holidays in the output.
6058 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
6059 (cal-html-holidays): New option.
6060 (cal-html-css-default): Add holiday entry.
6061 (holiday-in-range): Autoload it.
6062 (cal-html-htmlify-entry): Add optional class argument.
6063 (cal-html-htmlify-list): Add optional holidays argument.
6064 (cal-html-insert-agenda-days): Include holidays in the output.
6065 (cal-html-one-month): Maybe include holidays.
6066
a43f98b3
GM
6067 * calendar/holidays.el (holiday-in-range):
6068 Move here from cal-tex-list-holidays.
6069 * calendar/cal-tex.el (cal-tex-list-holidays):
6070 Make it an obsolete alias for holiday-in-range. Update all callers.
6071
fef9d149 60722012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
6073
6074 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
6075 Nextstep.
6076
248da2f4
RW
60772012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
6078
6079 * files.el (file-auto-mode-skip): New var.
6080 (set-auto-mode-1): Use it.
6081
f95e9344
SM
60822012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
6083
df96ab1e
SM
6084 * repeat.el: Use lexical-binding.
6085 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
6086 (repeat-undo-count): Remove.
6087 (repeat):
6088 * progmodes/octave-mod.el (octave-abbrev-start):
6089 * progmodes/f90.el (f90-abbrev-start):
6090 * face-remap.el (text-scale-adjust):
6091 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
6092
5342bb06
SM
6093 * emacs-lisp/pcase.el (pcase--let*): New function.
6094 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
6095 a bit more.
6096 (pcase--split-pred): Be more clever about ruling out overlap between
6097 a predicate and some constant pattern.
6098 (pcase--q1): Use `null' instead of (eq foo nil).
6099
f95e9344
SM
6100 * subr.el (setq-local, defvar-local): New macros.
6101 (kbd): Redefine as an alias.
6102 (with-selected-window): Leave unrelated frames alone.
6103 (set-temporary-overlay-map): New function.
6104
71873e2b
SM
61052012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
6106
6107 * subr.el (user-error): New function.
6108 * window.el (switch-to-buffer):
6109 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
6110 (smerge-match-conflict):
6111 * simple.el (previous-matching-history-element)
6112 (next-matching-history-element, goto-history-element, undo-more)
6113 (undo-start):
6114 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
6115 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
6116 (next-file, tags-loop-scan, list-tags, complete-tag):
6117 * progmodes/compile.el (compilation-loop):
6118 * mouse.el (mouse-minibuffer-check):
6119 * man.el (Man-bgproc-sentinel, Man-goto-page):
6120 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
6121 (Info-history-forward, Info-follow-reference, Info-menu)
6122 (Info-extract-menu-item, Info-extract-menu-counting)
6123 (Info-forward-node, Info-backward-node, Info-next-menu-item)
6124 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
6125 (Info-next-reference, Info-prev-reference, Info-index)
6126 (Info-index-next, Info-follow-nearest-node)
6127 (Info-copy-current-node-name):
6128 * imenu.el (imenu--make-index-alist)
6129 (imenu-default-create-index-function, imenu-add-to-menubar):
6130 * files.el (basic-save-buffer, recover-file):
6131 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
6132 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
6133 (checkdoc-message-text, checkdoc-defun):
6134 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
6135 * cus-edit.el (customize-changed-options, customize-rogue)
6136 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
6137 (custom-variable-mark-to-reset-standard)
6138 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
6139 (custom-file):
6140 * completion.el (check-completion-length):
6141 * comint.el (comint-search-arg)
6142 (comint-previous-matching-input-string-position)
6143 (comint-previous-matching-input)
6144 (comint-replace-by-expanded-history-before-point, comint-send-input)
6145 (comint-copy-old-input, comint-backward-matching-input)
6146 (comint-goto-process-mark, comint-set-process-mark):
6147 * calendar/calendar.el (calendar-cursor-to-date): Use it.
6148 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
6149
8a61ee22
SM
61502012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
6151
66408d1e
SM
6152 * dabbrev.el (dabbrev--ignore-case-p): New function.
6153 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
6154 Use it.
6155
8a61ee22
SM
6156 * files.el (automount-dir-prefix): Mark as obsolete.
6157
3c74813a
GM
61582012-05-04 Glenn Morris <rgm@gnu.org>
6159
6160 * patcomp.el, play/bruce.el: Move to obsolete/.
6161
0bfcf5c5
PE
61622012-05-04 Paul Eggert <eggert@cs.ucla.edu>
6163
6164 Fix minor Y10k bugs.
6165 * arc-mode.el (archive-unixdate):
6166 * autoinsert.el (auto-insert-alist):
6167 * calc/calc-forms.el (math-this-year):
6168 * emacs-lisp/copyright.el (copyright-current-year)
6169 (copyright-update-year, copyright):
6170 * tar-mode.el (tar-clip-time-string):
6171 * time.el (display-time-update):
6172 Don't assume years have 4 digits.
6173
78f3273a
CY
61742012-05-04 Chong Yidong <cyd@gnu.org>
6175
6176 * dos-w32.el (file-name-buffer-file-type-alist)
6177 (direct-print-region-use-command-dot-com):
6178 * ffap.el (ffap-menu-regexp):
6179 * find-file.el (ff-special-constructs):
6180 * follow.el (follow-debug):
6181 * forms.el (forms--debug):
6182 * iswitchb.el (iswitchb-all-frames):
6183 * ido.el (ido-all-frames):
6184 * emacs-lisp/timer.el (timer-max-repeats):
6185 * mail/feedmail.el (feedmail-mail-send-hook)
6186 (feedmail-mail-send-hook-queued):
6187 * mail/footnote.el (footnote-signature-separator):
6188 * mail/mailabbrev.el (mail-alias-separator-string)
6189 (mail-abbrev-mode-regexp):
6190 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
6191 * progmodes/idlwave.el (idlwave-libinfo-file)
6192 (idlwave-default-completion-case-is-down)
6193 (idlwave-library-routines): Convert defvars to defcustoms.
6194
6195 * mail/rmail.el (rmail-decode-mime-charset):
6196 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
6197 (idlwave-shell-fix-inserted-breaks)
6198 (idlwave-shell-activate-alt-keybindings)
6199 (idlwave-shell-use-breakpoint-glyph):
6200 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
6201
f7ae6719
SM
62022012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
6203
6204 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
6205
47086495
WS
62062012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
6207
6208 * progmodes/verilog-mode.el (font-lock-keywords):
6209 Fix mis-highligting auto. Reported by Craig Barner.
6210 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
fc0c31f8 6211 defines from global name space. Reported by Dan Dever.
47086495
WS
6212 (verilog-auto-reset, verilog-auto-reset-widths)
6213 (verilog-auto-tieoff): Support using unbased numbers for
6214 AUTORESET and AUTOTIEOFF.
6215 (verilog-submit-bug-report): Update variable list.
6216 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
fc0c31f8 6217 parenthesis from not matching. Reported by Michael Rytting.
47086495
WS
6218 (verilog-auto-template-lint): Fix hash error when linting modules
6219 with no used templates.
6220 (verilog-warn, verilog-warn-error)
6221 (verilog-warn-fatal): When non-interactive report multiple
6222 warnings before exiting. Suggested by Brad Dobbie.
6223 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
6224 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
6225 to report unused template errors. Reported by Brad Dobbie.
6226 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
fc0c31f8 6227 nets, bug438. Reported by Vns Blore.
47086495
WS
6228 (verilog-auto-inout-module, verilog-auto-reg)
6229 (verilog-read-decls, verilog-read-sub-decls-sig)
6230 (verilog-signals-edit-wire-reg, verilog-signals-with):
6231 Fix passing of Verilog data types in ANSI input/output ports
fc0c31f8 6232 such as "output logic" into the AUTOs. Special case "wire" and
47086495
WS
6233 "reg" for backwards compatibility presuming Verilog 2001.
6234 (verilog-auto-ascii-enum): Add "auto enum" as alias.
6235 (verilog-preprocess): Fix replication of preprocess output.
6236 Reported by Brad Dobbie.
6237 (verilog-auto-inst-interfaced-ports):
6238 Create verilog-auto-inst-interfaced-ports, bug429.
6239 Reported by Julian Gorfajn.
6240 (verilog-after-save-font-hook)
6241 (verilog-before-save-font-hook): New variable.
6242 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
6243 (verilog-save-font-mods): Wrap disabling fontification, reported
6244 by David Rogoff.
6245 (verilog-do-indent, verilog-pretty-declarations-auto)
6246 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
6247 Reported by Pierre-David Pfister.
6248 (verilog-set-auto-endcomments): Fix endtask auto comments outside
6249 of class declarations, bug292. Reported by Kevin Heilman.
6250 (verilog-read-decls): Fix 'parameter type' not appearing in
6251 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
6252 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
fc0c31f8 6253 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
47086495
WS
6254 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
6255 Reported by David Kravitz.
6256
62572012-05-03 Michael McNamara <mac@mail.brushroad.com>
6258
6259 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
6260 assignment with tests in ifs and for loops.
6261 (verilog-extended-complete-re, verilog-complete-reg): Change so
6262 that DPI inport functions don't look like fuction declarations.
6263 (verilog-pretty-expr): Don't line up assignment
6264 operations to the test and increment in if and for loops
6265 (verilog-extended-complete-re, verilog-complete-reg): Change so
090bd7cb 6266 that DPI inport functions don't look like fuction declarations.
47086495 6267
2e51d4b5
KH
62682012-05-03 Kenichi Handa <handa@m17n.org>
6269
6270 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 6271 decoding, and show a warning message without signaling an error
2e51d4b5
KH
6272 (Bug#11282).
6273
2bd785a2
SM
62742012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
6275
6276 * emacs-lisp/bytecomp.el
6277 (byte-compile-file-form-custom-declare-variable): Compile all elements,
6278 since cconv.el might have introduced :fun-body, internal-make-closure,
6279 and friends for bytecomp to handle (bug#11391).
6280 * custom.el (defcustom): Avoid ((λ ..) ..).
6281
99d27583
SM
62822012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
6283
6284 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
6285
55a71479
JB
62862012-05-02 Juanma Barranquero <lekktu@gmail.com>
6287
6288 * notifications.el (dbus-debug):
6289 * term/linux.el (gpm-mouse-enable):
6290 * term/screen.el (xterm-register-default-colors): Declare.
6291
7b97c764
CY
62922012-05-02 Chong Yidong <cyd@gnu.org>
6293
2bc356d7
CY
6294 * cus-start.el (gc-cons-percentage, exec-suffixes)
6295 (dos-display-scancodes, dos-hyper-key, dos-super-key)
6296 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
6297 (make-cursor-line-fully-visible, void-text-area-pointer)
6298 (font-list-limit): Add customization data.
6299
7b97c764
CY
6300 * allout.el (allout-exposure-change-functions)
6301 (allout-structure-added-functions)
6302 (allout-structure-deleted-functions)
6303 (allout-structure-shifted-functions): Rename abnormal hooks from
6304 *-hook, and convert to defcustoms.
5d3385a0
JB
6305 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
6306 Convert to defcustoms.
7b97c764
CY
6307 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
6308
6309 * allout-widgets.el: Hook callers changed.
6310
90207a15 63112012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
6312
6313 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
6314 the yanked message in preference to the default value of
6315 buffer-file-coding-system.
6316
90207a15 63172012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 6318
5d3385a0
JB
6319 * window.el (display-buffer--action-function-custom-type):
6320 Fix entry.
d9558cad 6321
90207a15 63222012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
6323
6324 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
6325
d80ac57b
GM
63262012-05-01 Glenn Morris <rgm@gnu.org>
6327
976f7668
GM
6328 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
6329
beb83b5a
GM
6330 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
6331
d80ac57b
GM
6332 * cus-edit.el (custom-variable-documentation): Simplify with format.
6333
b593d6a9 63342012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
f1a71c6e 6335 Stefan Monnier <monnier@iro.umontreal.ca>
b593d6a9
AH
6336
6337 * simple.el (suggest-key-bindings, execute-extended-command):
6338 Move from keyboard.c.
6339
782fbf2a
CY
63402012-05-01 Chong Yidong <cyd@gnu.org>
6341
6342 * follow.el: Eliminate advice.
6343 (set-process-filter, process-filter, sit-for): Advice deleted.
6344 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
6345 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
6346 Vars deleted.
782fbf2a
CY
6347 (follow-auto): Use a :set function.
6348 (follow-mode): Rewritten. Don't advise process filters.
6349 (follow-switch-to-current-buffer-all, follow-scroll-up)
6350 (follow-scroll-down): Assume follow-mode is bound.
6351 (follow-comint-scroll-to-bottom)
6352 (follow-align-compilation-windows): New functions.
6353 (follow--window-sorter): New function.
6354 (follow-all-followers): Use it to explicitly sort windows by their
6355 positions; don't make assumptions about next-window order.
6356 (follow-windows-start-end, follow-delete-other-windows-and-split)
6357 (follow-calc-win-start): Doc fix.
6358 (follow-windows-aligned-p, follow-select-if-visible): Don't call
6359 vertical-motion unnecessarily.
6360 (follow-adjust-window): New function.
6361 (follow-post-command-hook): Use it.
6362 (follow-call-set-process-filter, follow-call-process-filter)
6363 (follow-intercept-process-output, follow-tidy-process-filter-alist)
6364 (follow-stop-intercept-process-output, follow-generic-filter):
6365 Functions deleted.
6366 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
6367 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
6368 New functions, replacing advice on scroll-bar-* commands.
87233a14 6369 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
6370
6371 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
6372 (comint-postoutput-scroll-to-bottom): Use it.
6373 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 6374
290af740
GM
63752012-05-01 Glenn Morris <rgm@gnu.org>
6376
6377 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
6378 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
6379 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
6380 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
6381 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
6382 Remove no-byte-compile setting.
6383
6eac8dc9
SM
63842012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
6385
6386 * minibuffer.el (completion-table-with-quoting): Fix compatibility
6387 all-completions code to not return a number in the last cdr.
6388
9cc7819c
LL
63892012-04-30 Leo Liu <sdl.web@gmail.com>
6390
6391 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
6392 read-only error.
6393
c93b886f
CY
63942012-04-29 Chong Yidong <cyd@gnu.org>
6395
6396 * follow.el (follow-calc-win-end): Rewrite to handle partial
6397 screen lines correctly (Bug#8390).
6398 (follow-avoid-tail-recenter): Minor cleanup.
6399
8b6c19f4
SM
64002012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
6401
6402 Avoid the obsolete `assoc' package.
6403 * speedbar.el (speedbar-refresh): Avoid adelete.
6404 (speedbar-file-lists): Simplify and avoid aput.
6405 * man.el (Man--sections, Man--refpages): New vars, replacing
6406 Man-sections-alist and Man-refpages-alist.
6407 (Man-build-section-alist, Man-build-references-alist):
6408 Use them; avoid aput.
6409 (Man--last-section, Man--last-refpage): New vars.
6410 (Man-follow-manual-reference): Use them.
6411 Use the `default' arg of completing-read.
6412 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
6413
c5bb7569
CY
64142012-04-27 Chong Yidong <cyd@gnu.org>
6415
d1d2e2e8
CY
6416 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
6417
15cd8efd
CY
6418 * startup.el (x-apply-session-resources): New function.
6419
6420 * term/ns-win.el (ns-initialize-window-system):
6421 * term/w32-win.el (w32-initialize-window-system):
6422 * term/x-win.el (x-initialize-window-system): Use it to properly
6423 set menu-bar-mode and other vars from X resources, even if the
6424 initial frame is not a window-system frame (Bug#2299).
6425
c5bb7569
CY
6426 * subr.el (read-key): Avoid running filter function when setting
6427 up temporary tool bar entries (Bug#9922).
6428
a8e7d6d7 64292012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
6430
6431 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
6432 (Bug#11344)
6433
a8e7d6d7 64342012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
6435
6436 * select.el (xselect--encode-string): New function, split from
6437 xselect-convert-to-string.
6438 (xselect-convert-to-string): Use it.
6439 (xselect-convert-to-filename, xselect-convert-to-os)
6440 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
6441 returned strings are properly encoded (Bug#11315).
6442
a8e7d6d7 64432012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
6444
6445 * simple.el (delete-active-region): Move to killing custom group.
6446
a8e7d6d7 64472012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
6448
6449 * progmodes/which-func.el (which-func-current): Quote %
6450 characters for mode-line processing.
6451
578c1d4b 64522012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
6453
6454 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
6455 reaching eob (Bug#11286).
6456
a8e7d6d7 64572012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
6458
6459 * progmodes/gdb-mi.el (gdb-control-level): New variable.
6460 (gdb): Make it buffer-local and init to zero.
6461 (gdb-control-commands-regexp): New variable.
6462 (gdb-send): Don't wrap in "-interpreter-exec console" if
6463 gdb-control-level is positive. Increment gdb-control-level
6464 whenever the command matches gdb-control-commands-regexp, and
6465 decrement it each time the command is "end". (Bug#11279)
6466
a8e7d6d7 64672012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
6468
6469 * window.el (adjust-window-trailing-edge, enlarge-window)
6470 (shrink-window, window-resize):
6471 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
6472 windows (Bug#11276).
6473
b3608390
CY
64742012-04-27 Chong Yidong <cyd@gnu.org>
6475
6476 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 6477 fix "missing prefix" warning. All callers changed.
b3608390 6478
797e6e88
SM
64792012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
6480
6481 * emacs-lisp/assoc.el: Move to obsolete/.
6482
e95a67dc
SM
64832012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
6484
657c21e4 6485 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
6486
6487 * term/ns-win.el (ns-define-service):
6488 * progmodes/pascal.el (pascal-goto-defun):
6489 * progmodes/js.el (js--read-tab):
6490 * progmodes/etags.el (tags-lazy-completion-table):
6491 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
6492 * emacs-lisp/ewoc.el (ewoc--wrap):
6493 * emacs-lisp/assoc.el (aput, adelete, amake):
6494 * doc-view.el (doc-view-convert-current-doc):
6495 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
6496
cb3e7ae0
CY
64972012-04-26 Chong Yidong <cyd@gnu.org>
6498
dce04f7f
CY
6499 * image.el (image-type-from-buffer): Only return supported image
6500 type (Bug#9045).
6501
cb3e7ae0
CY
6502 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
6503 value, for symmetry with diff-end-of-hunk.
6504 (diff-split-hunk, diff-find-source-location)
6505 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
6506 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
6507 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
6508 compute the relevant hunk or file properly (Bug#6005).
6509 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
6510
0d42eb3e
SM
65112012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
6512
6513 * vc/vc-mtn.el:
6514 * vc/vc-hg.el:
6515 * vc/vc-git.el:
6516 * vc/vc-dir.el:
6517 * vc/vc-cvs.el:
6518 * vc/vc-bzr.el:
6519 * vc/vc-arch.el:
6520 * vc/vc.el: Replace lexical-let by lexical-binding.
6521 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
6522 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
6523 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
6524
f08ae1c9
CY
65252012-04-26 Chong Yidong <cyd@gnu.org>
6526
8b71081d
CY
6527 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
6528 (diff-mode-shared-map): Bind it to / and [remap undo].
6529
f08ae1c9
CY
6530 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
6531 (ediff-window-setup-function): Use it as the default, to set up
6532 windows based on whether the current frame is graphical (Bug#2138).
6533 (ediff-choose-window-setup-function-automatically): Make obsolete.
6534
6535 * vc/ediff-init.el: Always define ediff-pixel-width/height.
6536
ef24141c
SM
65372012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
6538
cc356a5d
SM
6539 * ffap.el: Remove old code for obsolete package.
6540 (ffap-complete-as-file-p): Remove.
6541
b4ff4f1f
SM
6542 Use completion-table-with-quoting for comint and pcomplete.
6543 * comint.el (comint--unquote&requote-argument)
6544 (comint--unquote-argument, comint--requote-argument): New functions.
6545 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
6546 (comint-quote-filename): Use regexp-opt-charset.
6547 (comint--common-suffix, comint--common-quoted-suffix)
6548 (comint--table-subvert): Remove.
6549 (comint-unquote-function, comint-requote-function): New vars.
6550 (comint--complete-file-name-data): Use them with
6551 completion-table-with-quoting.
6552 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
6553 * pcomplete.el (pcomplete-arg-quote-list)
6554 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
6555 (pcomplete-unquote-argument-function): Default to non-nil.
6556 (pcomplete-unquote-argument): Simplify.
6557 (pcomplete--common-quoted-suffix): Remove.
6558 (pcomplete-requote-argument-function): New var.
6559 (pcomplete--common-suffix): New function.
6560 (pcomplete-completions-at-point): Use completion-table-with-quoting
6561 and completion-table-subvert.
6562
79c4eeb4
SM
6563 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
6564 (minibuffer--double-dollars): Preserve properties.
6565 (completion--sifn-requote): New function.
6566 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
6567
ef24141c
SM
6568 * minibuffer.el: Add support for completion of quoted/escaped data.
6569 (completion-table-with-quoting, completion-table-subvert): New funs.
6570 (completion--twq-try, completion--twq-all): New functions.
6571 (completion--nth-completion): New function.
6572 (completion-try-completion, completion-all-completions): Use it.
6573
784e7d6e
LL
65742012-04-25 Leo Liu <sdl.web@gmail.com>
6575
dd2ac746
SM
6576 * progmodes/python.el (python-pdbtrack-get-source-buffer):
6577 Use compilation-message if available to find real filename.
784e7d6e 6578
07875ee7
CY
65792012-04-25 Chong Yidong <cyd@gnu.org>
6580
6581 * vc/diff-mode.el (diff-setup-whitespace): New function.
6582 (diff-mode): Use it.
6583
6584 * vc/diff.el (diff-sentinel):
6585 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
6586 Whitespace mode variables based on diff style (Bug#8612).
6587
5055880d
LL
65882012-04-25 Leo Liu <sdl.web@gmail.com>
6589
daf75653
LL
6590 * progmodes/python.el (python-send-region): Add suffix .py to the
6591 temp file.
6592
5055880d
LL
6593 * files.el (auto-mode-alist): Use javascript-mode instead.
6594
db9b177b
AH
65952012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
6596
ef24141c 6597 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b 6598
090bd7cb 6599 * net/soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 6600 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 6601 references, see Bug#9.
ef24141c 6602 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 6603 when receiving a fault reply.
ef24141c 6604 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b 6605
090bd7cb 6606 * net/soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 6607 (soap-inspect-simple-type): New function.
db9b177b 6608
090bd7cb 6609 * net/soap-client.el (soap-simple-type): New struct.
db9b177b 6610 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
6611 (soap-decode-basic-type, soap-encode-basic-type):
6612 support unsignedInt and double basic types.
db9b177b 6613 (soap-resolve-references-for-simple-type)
ef24141c
SM
6614 (soap-parse-simple-type, soap-encode-simple-type): New function.
6615 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b 6616
090bd7cb 6617 * net/soap-client.el (soap-default-xsd-types)
ef24141c
SM
6618 (soap-default-soapenc-types): Add integer, byte and anyURI types.
6619 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
6620 the local name of "soapenc:Array".
6621 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
6622 decoding integer, byte and anyURI xsd types.
6623
1fc6097b
CY
66242012-04-25 Chong Yidong <cyd@gnu.org>
6625
6626 * cus-edit.el (custom-buffer-create-internal): Update header text.
6627
afc6df87
EZ
66282012-04-25 Eli Zaretskii <eliz@gnu.org>
6629
6630 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
6631 settings on 'system-type', not on 'window-system'. On MS-Windows,
6632 set interactive-mode on in GDB.
6633
dfbd787f
SM
66342012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
6635
6636 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
6637 (ruby-syntax-propertize-regexp): Remove.
6638 (ruby-syntax-propertize-function): Split regexp into chunks.
6639 Match following code directly.
6640
85222d44
DG
66412012-04-24 Dmitry Gutov <dgutov@yandex.ru>
6642
51a8ea2a
DG
6643 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
6644 (ruby-syntax-propertize-regexp): New function.
6645 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
6646 by a special keyword.
6647
85222d44
DG
6648 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
6649 (ruby-syntax-general-delimiters-goto-beg)
6650 (ruby-syntax-propertize-general-delimiters): New functions.
6651 (ruby-syntax-propertize-function): Use them to handle GDL.
6652 (ruby-font-lock-keywords): Move old handling of GDL...
6653 (ruby-font-lock-syntactic-keywords): .. to here.
6654 (ruby-calculate-indent): Adjust indentation for GDL.
6655
b613912b
MA
66562012-04-24 Michael Albinus <michael.albinus@gmx.de>
6657
b5380639
MA
6658 * notifications.el (top): Remove unneeded declarations.
6659 (notifications-specification-version): Change to "1.2".
e43042fe 6660 (notifications-interface, notifications-notify-method)
b613912b
MA
6661 (notifications-close-notification-method): Fix docstring.
6662 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
6663 (notifications-notify): Add :action-items, :resident and
6664 :transient hints. Change "image_data" to "image-data" and
6665 "image_path" to "image-path".
b613912b
MA
6666 (notifications-get-capabilities): New defun.
6667
257440aa
LL
66682012-04-24 Leo Liu <sdl.web@gmail.com>
6669
6670 * progmodes/python.el: Move hideshow setup to the end.
6671
b1bac16e
MR
66722012-04-24 Martin Rudalics <rudalics@gmx.at>
6673
6674 * window.el (handle-select-window): Clear echo area since this is
6675 no more done by read_char (Bug#11304).
6676
d81bd059
SM
66772012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
6678
6679 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
6680 and `/ M' to filter-derived-mode.
6681 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
6682 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
6683 (ibuffer-mark-by-mode): Use default rather than initial-input.
6684 (ibuffer-filter-by-derived-mode): Autoload and require-match.
6685
c4cf6d91
IA
66862012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
6687
6688 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
6689 (ibuffer-filter-by-derived-mode): New filter.
6690 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
6691
7511ded8
CY
66922012-04-23 Andreas Politz <politza@fh-trier.de>
6693
6694 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
6695
775c916b
CY
66962012-04-23 Chong Yidong <cyd@gnu.org>
6697
6698 * cus-edit.el (customize-apropos, customize-apropos-options):
6699 Disable matching of non-option variables (Bug#11176).
6700 (customize-option, customize-option-other-window)
6701 (customize-changed-options): Doc fix.
6702 (customize-apropos-options, customize-apropos-faces)
6703 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
6704
6705 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 6706 Fix word list splitting (Bug#11132).
46c71e23
CY
6707 (apropos-symbol, apropos-keybinding, apropos-label)
6708 (apropos-property, apropos-function-button)
6709 (apropos-variable-button, apropos-misc-button): New faces.
6710 (apropos-symbol-face, apropos-keybinding-face)
6711 (apropos-label-face, apropos-property-face, apropos-match-face):
6712 Variables removed (Bug#8396).
6713 (apropos-library-button, apropos-format-plist, apropos-print)
6714 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 6715
2df41f9c
MA
67162012-04-23 Michael Albinus <michael.albinus@gmx.de>
6717
6718 * net/xesam.el (xesam-mode-map): Use let-bound map in
6719 initialization. (Bug#11292)
6720
da00640a
AM
67212012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6722
6723 Preserve ispell session localwords when switching back to
6724 original buffer.
6725
090bd7cb
JB
6726 * textmodes/ispell.el (ispell-buffer-session-localwords):
6727 New buffer-local variable to hold buffer session localwords.
ed9265fc 6728 (ispell-kill-ispell): Add option 'clear to delete session
da00640a
AM
6729 localwords.
6730 (ispell-command-loop, ispell-change-dictionary)
6731 (ispell-buffer-local-words): Preserve session localwords when
6732 needed.
6733
090bd7cb
JB
6734 * textmodes/flyspell.el (flyspell-process-localwords)
6735 (flyspell-do-correct): Preserve session localwords when needed.
da00640a 6736
f621ccf5
AM
67372012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6738
090bd7cb
JB
6739 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
6740 using obsolete `translation-table-for-input'.
ef24141c
SM
6741 (ispell-word, ispell-process-line, ispell-complete-word):
6742 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 6743
c2d1019e
CY
67442012-04-22 Chong Yidong <cyd@gnu.org>
6745
6746 * cus-edit.el (custom-variable-menu)
6747 (custom-variable-reset-saved, custom-face-menu)
6748 (custom-face-reset-saved): If there is no saved value, make the
6749 "reset-saved" operation bring back the default (Bug#9509).
6750 (custom-face-state): Properly detect themed faces.
6751
eeddc531
CY
6752 * faces.el (face-spec-set): Stop supporting deprecated form of
6753 third arg.
6754
dcbf5805
MA
67552012-04-22 Michael Albinus <michael.albinus@gmx.de>
6756
6757 Move functions from C to Lisp. Make non-blocking method calls
6758 the default. Implement further D-Bus standard interfaces.
6759
ef24141c
SM
6760 * net/dbus.el (dbus-message-internal): Declare function.
6761 Remove unneeded function declarations.
dcbf5805
MA
6762 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
6763 (dbus-message-type-method-return, dbus-message-type-error)
6764 (dbus-message-type-signal): Declare variables. Remove local
6765 definitions.
6766 (dbus-interface-dbus, dbus-interface-peer)
6767 (dbus-interface-introspectable, dbus-interface-properties)
6768 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
6769 Adapt docstring.
6770 (dbus-interface-objectmanager): New defconst.
6771 (dbus-call-method, dbus-call-method-asynchronously)
6772 (dbus-send-signal, dbus-method-return-internal)
6773 (dbus-method-error-internal, dbus-register-service)
6774 (dbus-register-signal, dbus-register-method): New defuns, moved
6775 from dbusbind.c
6776 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
6777 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
6778 New defuns.
dcbf5805
MA
6779 (dbus-call-method-non-blocking): Make it an obsolete function.
6780 (dbus-unregister-object, dbus-unregister-service)
6781 (dbus-handle-event, dbus-register-property)
6782 (dbus-property-handler): Obey the new structure of
6783 `bus-registered-objects'.
6784 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
6785 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
6786 Use `dbus-call-method'.
6787
cf20dee0
CY
67882012-04-22 Chong Yidong <cyd@gnu.org>
6789
6790 * cus-edit.el (custom-commands, custom-reset-menu)
6791 (Custom-reset-standard): Tweak labels.
6792 (custom-reset-button-menu): Change default to t.
6793 (custom-buffer-create-internal): For the custom-reset-button-menu
6794 case, put the revert button first.
6795 (custom-group-subtitle): New face.
6796 (custom-group-value-create): Align docstring to a specific column.
6797
6798 * wid-edit.el (widget-documentation-link-add): Don't handle
6799 indentation in this function.
6800 (widget-documentation-string-indent-to): New function.
6801 (widget-documentation-string-value-create): Use it.
6802
6803 * autorevert.el (auto-revert):
6804 * epg-config.el (epg):
6805 * ibuffer.el (ibuffer):
6806 * mpc.el (mpc):
6807 * ses.el (ses):
6808 * eshell/eshell.el (eshell):
6809 * net/ange-ftp.el (ange-ftp):
6810 * progmodes/ebnf2ps.el (postscript):
6811 * progmodes/flymake.el (flymake):
6812 * progmodes/prolog.el (prolog):
6813 * progmodes/verilog-mode.el (verilog-mode):
6814 * progmodes/which-func.el (which-func):
6815 * term/xterm.el (xterm):
6816 * textmodes/picture.el (picture):
6817 * textmodes/tildify.el (tildify):
6818 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
6819 customization buffers.
6820
583e23bd
AM
68212012-04-22 Alan Mackenzie <acm@muc.de>
6822
6823 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
6824 Adding a ) can hide the resulting (..) from searches. Fix it.
6825 Bound the backward search to the position of the existing (.
6826
7dd51bf1
JB
68272012-04-21 Juanma Barranquero <lekktu@gmail.com>
6828
6829 * progmodes/verilog-mode.el (verilog-mode): Check whether
6830 which-func-modes is t before adding verilog-mode.
6831 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
6832
d64a438f
LL
68332012-04-21 Leo Liu <sdl.web@gmail.com>
6834
7dd51bf1 6835 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 6836
081e8d65
MV
68372012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
6838
6839 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
6840 filling of the last column of a table (Bug#5635).
6841 (woman-find-next-control-line): New arg, specifying an additional
6842 regexp component for the control line.
6843 (woman2-roff-buffer): Use it.
6844 (woman-break-table): New function.
6845 (woman2-TS): Use it.
6846
68472012-04-21 Chong Yidong <cyd@gnu.org>
6848
6849 * woman.el (woman-set-buffer-display-table, woman-decode-region)
6850 (woman-horizontal-escapes, woman-negative-vertical-space)
6851 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
6852 (WoMan-warn-ignored): Use ?\s instead of ?\ .
6853
ed571ccb
SM
68542012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
6855
6856 * minibuffer.el (completion-file-name-table): Complete user names.
6857
39773899
LL
68582012-04-20 Leo Liu <sdl.web@gmail.com>
6859
6860 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
6861 and pcase-let*.
6862
de6ff46d
CY
68632012-04-20 Chong Yidong <cyd@gnu.org>
6864
6865 * server.el (server-execute): Respect initial-buffer-choice if it
6866 is a string and there are no files to open (Bug#2825).
6867 (server-create-window-system-frame, server-create-tty-frame):
6868 Don't switch buffers here.
2d0e8e61
CY
6869 (server-process-filter): Only try to open a window system frame if
6870 compiled with graphical support (Bug#8314).
de6ff46d 6871
54071013
DN
68722012-04-20 Dan Nicolaescu <dann@gnu.org>
6873
6874 * battery.el (battery-echo-area-format): Display remaining time
6875 for sysfs backend too (Bug#11269).
6876 (battery-linux-sysfs): Fix conditional for the charge.
6877
f30d612a
CY
68782012-04-20 Chong Yidong <cyd@gnu.org>
6879
c07a4c0b 6880 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
6881 (gdb-inferior-io--init-proc): New function.
6882 (gdb-init-1): Use it.
6883 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
6884 responsible for allocating a new pty and hooking it to gdb when
6885 the old pty gets an EIO due to process exit.
6886 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
6887 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
6888 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
6889
2116e93c
EZ
68902012-04-20 Eli Zaretskii <eliz@gnu.org>
6891
6892 * window.el (window-min-size, window-sizable, window-min-delta)
6893 (window-max-delta, window--resizable, window-resizable)
6894 (window-total-size, window-full-height-p, window-full-width-p)
6895 (window-in-direction, window--resize-mini-window, window-resize)
6896 (window--resize-child-windows-normal)
6897 (window--resize-child-windows, window--resize-siblings)
6898 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 6899 (enlarge-window, shrink-window): Doc fixes.
2116e93c 6900
c07a4c0b 69012012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 6902
ef24141c
SM
6903 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
6904 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
6905 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
6906 pty process (Bug#11273).
6907 (gdb-update): New arg to suppress talking to the gdb process.
6908 (gdb-done-or-error): Use it.
6909 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
6910 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
6911 sentinel not being called.
6912
6913 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
6914
d02766ab
CY
6915 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
6916
c07a4c0b 69172012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
6918
6919 * net/network-stream.el (open-network-stream): Doc fix.
6920
c07a4c0b 69212012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
6922
6923 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
6924
c07a4c0b 69252012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
6926
6927 Ensure searching for keywords is case sensitive.
6928
6929 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
6930 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
6931 (c-defun-name, c-mark-function, c-cpp-define-name)
6932 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 6933 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 6934
ef24141c
SM
6935 * progmodes/cc-mode.el (c-font-lock-fontify-region):
6936 Bind case-fold-search to nil.
f0f6bc35 6937
c07a4c0b 69382012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
6939
6940 * mail/sendmail.el (mail-bury): Call return action with the right
6941 Rmail buffer (Bug#11242).
6942
9a864fa2
CY
6943 * server.el (server-process-filter): Handle corner case where both
6944 tty and nowait options are present (Bug#11102).
6945
539aa513
EZ
69462012-04-20 Eli Zaretskii <eliz@gnu.org>
6947
6948 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
6949 (top level): Put into the executable the ident-style '$Id:' tag on
6950 windows-nt as well.
539aa513 6951
cfc7d5da
SM
69522012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
6953
6954 * electric.el (electric-indent-post-self-insert-function): Check that
6955 electric-indent-mode is enabled in current buffer.
6956
5b01685c
JB
69572012-04-19 Juanma Barranquero <lekktu@gmail.com>
6958
6959 * imenu.el (imenu-progress-message): Restore; it is "used" in
6960 erc/erc-imenu.el and net/snmp-mode.el.
6961
4d6769e1
JB
69622012-04-19 Juanma Barranquero <lekktu@gmail.com>
6963
6964 * avoid.el (mouse-avoidance-mode): Mark unused arg.
6965 (mouse-avoidance-nudge-mouse): Remove unused binding.
6966
6967 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
6968
6969 * descr-text.el (describe-char):
6970 * progmodes/python.el (python-describe-symbol):
6971 Don't call `toggle-read-only', set `buffer-read-only'.
6972
6973 * imenu.el (imenu-default-goto-function): Mark unused args.
6974 (imenu-progress-message): Remove obsolete macro; all callers changed.
6975
6976 * subr.el (keymap-canonicalize): Remove unused binding.
6977 (read-passwd): Mark unused arg.
6978
6979 * tutorial.el (tutorial--display-changes): Remove unused binding.
6980 (tutorial--save-tutorial-to): Remove unused variable.
6981
6982 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
6983 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
6984 (package-generate-autoloads, package-menu--generate)
6985 (package-menu--find-upgrades): Remove unused bindings.
6986
6987 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
6988 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
6989 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
6990 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
6991 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
6992 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
6993 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
6994 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
6995 (cua-delete-char-rectangle): Mark unused args.
6996 (cua-align-rectangle): Remove unused binding.
6997
6998 * mail/rmail.el (compilation--message->loc)
6999 (epa--find-coding-system-for-mime-charset): Declare.
7000
7001 * net/dbus.el (dbus-register-service): Declare.
7002 (dbus-name-owner-changed-handler): Remove unused binding.
7003
7004 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
7005 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
7006 (nxml-scan-backward-within): Mark unused arg.
7007 (nxml-dynamic-markup-word): Remove unused binding.
7008
7009 * mouse.el (mouse-menu-major-mode-map):
7010 * emacs-lisp/authors.el (authors-scan-change-log)
7011 (authors-add-to-author-list):
7012 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
7013 * emacs-lisp/smie.el (smie-auto-fill):
7014 * mail/sendmail.el (mail-bury):
7015 * mail/unrmail.el (unrmail):
7016 * net/tls.el (open-tls-stream):
7017 * textmodes/picture.el (picture-mouse-set-point):
7018 Remove unused bindings.
7019
8c8fc5df
MA
70202012-04-19 Michael Albinus <michael.albinus@gmx.de>
7021
7022 * net/tramp.el (tramp-action-password): Let-bind
7023 `enable-recursive-minibuffers' to t.
7024
a77b0ac9
SS
70252012-04-18 Sam Steingold <sds@gnu.org>
7026
7027 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
7028 instead of 'string to accommodate values like [f11].
7029 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
7030 * progmodes/gdb-mi.el: Likewise.
7031
12a106a9
LL
70322012-04-18 Leo Liu <sdl.web@gmail.com>
7033
7034 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
7035 current buffer.
7036 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
7037 LOCAL is nil.
7038
bc6494ef
CY
70392012-04-18 Chong Yidong <cyd@gnu.org>
7040
7041 * simple.el (line-move): Use forward-line if in batch mode
7042 (Bug#11053).
7043
c09c46b2
CS
70442012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
7045
7046 * files.el (after-find-file): Do not try to add a final newline if
7047 the buffer is read-only (Bug#11156).
7048
5f6530ea
RS
70492012-04-17 Richard Stallman <rms@gnu.org>
7050
7051 * mail/rmail.el (rmail-start-mail):
7052 Pass (rmail-mail-return...) for the return-action.
7053 Pass (rmail-yank-current-message...) for the yank-action.
7054 (rmail-yank-current-message): New function.
7055 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
7056 (rmail-reply): Likewise.
7057 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
7058
7059 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 7060 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
7061 buffer, not newbuf.
7062
197b6f3c
JB
70632012-04-17 Juanma Barranquero <lekktu@gmail.com>
7064
7065 * server.el (server-ensure-safe-dir): Simplify.
7066
2311d8e5 70672012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 7068
2311d8e5
GM
7069 * emacs-lisp/smie.el: Provide smarter auto-filling.
7070 (smie-auto-fill): New function.
7071 (smie-setup): Use it.
98fb480e 7072
2311d8e5
GM
7073 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
7074
70752012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
7076
7077 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
7078 (comment-indent): Use it.
7079
2311d8e5 70802012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
7081
7082 * ses.el: The overall change is to add cell renaming, that is
7083 setting fancy names for cell symbols other than name matching
7084 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 7085 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 7086 (ses-create-cell-variable): New defun.
2311d8e5 7087 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
7088 (ses-relocate-formula): Relocate formulas only for cells the
7089 symbols of which are not renamed, i.e. symbols whose names do not
7090 match regexp "\\`[A-Z]+[0-9]+\\'".
7091 (ses-relocate-all): Relocate values only for cells the symbols of
7092 which are not renamed.
7093 (ses-load): Create cells variables as the (ses-cell ...) are read,
7094 in order to check row col consistency with cell symbol name only
7095 for cells that are not renamed.
7096 (ses-replace-name-in-formula): New defun.
7097 (ses-rename-cell): New defun.
4bdf2ad2 7098
fc72b15c
PO
70992012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
7100
7101 * progmodes/perl-mode.el (perl-indent-parens-as-block):
7102 New option (bug#11118).
7103 (perl-calculate-indent): Respect it.
7104
12e10e61
GM
71052012-04-17 Glenn Morris <rgm@gnu.org>
7106
7107 * dired-aux.el (dired-mark-read-string): Doc fix.
7108
30009afd
DA
71092012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
7110
7111 * dired-aux.el (dired-mark-read-string): Offer optional completion.
7112 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
7113
41f03f4d
GM
71142012-04-17 Glenn Morris <rgm@gnu.org>
7115
7116 * mouse.el (mouse-drag-track):
7117 * speedbar.el (speedbar-frame-mode):
7118 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
7119
f45f90f3
LL
71202012-04-16 Leo Liu <sdl.web@gmail.com>
7121
7122 * progmodes/python.el: Trivial cleanup.
7123
94ee8db5
GM
71242012-04-16 Glenn Morris <rgm@gnu.org>
7125
121b8917
GM
7126 * vc/vc.el (vc-string-prefix-p):
7127 * vc/pcvs-util.el (cvs-string-prefix-p):
7128 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
7129 * mpc.el (mpc-string-prefix-p):
7130 Make all of these into obsolete aliases for string-prefix-p.
7131 Update callers.
7132 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
7133
1197ecfa
GM
7134 * textmodes/two-column.el: Move custom options to the start.
7135 (frame-width): Remove compat definition.
7136 (2C-associate-buffer, 2C-dissociate):
7137 Use with-current-buffer rather than save-excursion.
7138 (2C-dissociate): Force a mode-line update.
7139 (2C-autoscroll): Use ignore-errors.
7140
099e7202
GM
7141 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
7142 Autoload trivia.
7143
bf350d6a
GM
7144 * emacs-lisp/cl-extra.el (*random-state*):
7145 Remove unnecessary declaration.
7146
0e829eab
GM
7147 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
7148
e3ad7552
GM
7149 * play/cookie1.el (cookie-snarf):
7150 Give an explicit error if input file cannot be read.
7151
68892d27
GM
7152 * play/yow.el (yow-file): Use expand-file-name rather than concat.
7153
20f0c46d
GM
7154 * progmodes/perl-mode.el (c-macro-expand):
7155 Remove unnecessary autoload (it is in loaddefs.el).
7156
5a0978ce
GM
7157 * textmodes/picture.el (picture-desired-column)
7158 (picture-update-desired-column): Convert comments to doc-strings.
7159 (picture-substitute): Remove function.
7160 (picture-mode-map): Initialize in the defvar.
7161
6b955486
GM
7162 * woman.el: Remove eval-after-load for tar-mode.
7163 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
7164 (woman-tar-extract-file): Autoload it.
7165
94ee8db5
GM
7166 * frame.el (automatic-hscrolling): Make this alias obsolete.
7167
177eca34
AM
71682012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7169
090bd7cb 7170 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 7171 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
7172 (ispell-dictionary-base-alist): Revert to original XEmacs
7173 friendly version for default. [:alpha:] will be added in
090bd7cb 7174 `ispell-set-spellchecker-params' if needed.
177eca34 7175
c505aaeb
CY
71762012-04-16 Chong Yidong <cyd@gnu.org>
7177
b19dd9d1 7178 * image.el (imagemagick--file-regexp): New variable.
c505aaeb
CY
7179 (imagemagick-register-types): Use it.
7180 (imagemagick-types-inhibit): Add :set function. Allow new value
7181 of t to inhibit all types.
7182
7183 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
7184 so we can preload it.
7185
7186 * loadup.el (fboundp): Preload regexp-opt, needed by
7187 imagemagick-register-types.
7188
60efac0f
CY
71892012-04-15 Chong Yidong <cyd@gnu.org>
7190
7191 * frame.el (scrolling): Remove nearly unused customization group.
7192
7193 * scroll-all.el (scroll-all-mode): Move to windows group.
7194
5dd1713e
CY
71952012-04-15 Chong Yidong <cyd@gnu.org>
7196
7197 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
7198
e6fd457e
CY
71992012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
7200
7201 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 7202 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 7203
e153c136
GM
72042012-04-15 Glenn Morris <rgm@gnu.org>
7205
7206 * simple.el (process-file-side-effects): Doc fix.
7207
e6fd457e 72082012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
7209
7210 * international/mule-cmds.el (set-language-environment): Doc fix.
7211
3603c3b1
JB
72122012-04-14 Juanma Barranquero <lekktu@gmail.com>
7213
7214 * server.el (server-auth-key, server-generate-key): Doc fixes.
7215 (server-get-auth-key): Doc fix. Use `string-match-p'.
7216 (server-start): Reflow docstring.
7217
e6de100c
LI
72182012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
7219
7220 * server.el (server-generate-key): `called-interactively-p'
7221 requires a parameter.
7222
29734c21
MN
72232012-04-14 Michal Nazarewicz <mina86@mina86.com>
7224
7225 * server.el (server-auth-key): New variable.
75f1671a 7226 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
7227 (server-start): Use the new variable and functions to allow
7228 setting a permanent server key (bug#9423).
7229
d65c9521
LL
72302012-04-14 Leo Liu <sdl.web@gmail.com>
7231
7232 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
7233
5ae255c7
PE
72342012-04-14 Paul Eggert <eggert@cs.ucla.edu>
7235
7236 Spelling fixes.
7237 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
7238 Emacs uses American spelling.
7239
d5e6342e
JB
72402012-04-14 Juanma Barranquero <lekktu@gmail.com>
7241
7242 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
7243 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
7244 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
7245 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
7246
ab036cd7
SM
72472012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
7248
7249 * progmodes/which-func.el (which-func-modes): Change default.
7250
35dc09a1 72512012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
7252
7253 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
7254 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
7255
35dc09a1 72562012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
7257
7258 * custom.el (custom-theme-set-variables): Doc fix.
7259
35dc09a1 72602012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
7261
7262 * international/mule.el (set-auto-coding-for-load): Doc fix.
7263
35dc09a1 72642012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 7265
35dc09a1
GM
7266 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
7267 imenu work again for Objective C Mode. Correct the *-index values,
7268 these having been disturbed by a previous change in 2011-08.
57f845ee 7269
0de3da9f
AM
7270 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
7271 Correct two search limits.
7272
35dc09a1 72732012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
7274
7275 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
7276
35dc09a1 72772012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
7278
7279 * international/characters.el: Fix sorting.
7280
35dc09a1 72812012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
7282
7283 * international/characters.el: Add more missing Latin case pairs.
7284
35dc09a1 72852012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
7286
7287 * files.el (dir-locals-set-class-variables): Doc fix.
7288
35dc09a1 72892012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 7290
3f1b5bf8
EZ
7291 * international/characters.el: Add set-case-syntax-pair call for
7292 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
7293 counterpart. (Bug#11209)
7294
9f847f41
EZ
7295 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
7296
35dc09a1 72972012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
7298
7299 * calendar/holidays.el (calendar-check-holidays): Doc fix.
7300
35dc09a1 73012012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 7302
35dc09a1
GM
7303 * textmodes/ispell.el (ispell-dictionary-base-alist):
7304 Add data for Hebrew.
e2627d21 7305
35dc09a1 73062012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 7307
35dc09a1
GM
7308 * net/rcirc.el (rcirc-cmd-quit):
7309 Revert 2012-03-18 change (Bug#11192).
5c14e333 7310
35dc09a1 73112012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
7312
7313 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
7314
35dc09a1 73152012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 7316
4517fe3a
SM
7317 * minibuffer.el (completion-in-region-mode-map):
7318 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 7319
b472a594
VD
73202012-04-13 Vivek Dasmohapatra <vivek@etla.org>
7321
7322 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
7323
09b95ce3
MY
73242012-04-13 Masatake YAMATO <yamato@redhat.com>
7325
7326 * minibuffer.el (minibuffer-local-filename-syntax): New variable
7327 to allow `C-M-f' and `C-M-b' to move to the nearest path
7328 separator (bug#9511).
7329
4b63a9ca
LI
73302012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
7331
7332 * avoid.el: Require cl when compiling. And also move the
7333 `provide' to the end.
7334
7b55b8bf
TV
73352012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7336
7337 * avoid.el (mouse-avoidance-banish-position): New variable.
7338 (mouse-avoidance-banish-destination): Use it (bug#10165).
7339
adedaa1f
LL
73402012-04-13 Leo Liu <sdl.web@gmail.com>
7341
7342 * progmodes/which-func.el (which-func-modes): Add objc-mode.
7343
70e74021
KB
73442012-04-13 Ken Brown <kbrown@cornell.edu>
7345
7346 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 7347 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
7348 (browse-url-filename-alist): For the same reason, don't modify
7349 file:// URLs on Cygwin.
7350
e75e89ba
SM
73512012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
7352
7353 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
7354 the region on shift if the binding is already shifted (bug#11221).
7355
82f289a4
GM
73562012-04-12 Glenn Morris <rgm@gnu.org>
7357
7358 * mail/mailpost.el: Move to obsolete/.
7359
d333dc4c
DA
73602012-04-12 Drew Adams <drew.adams@oracle.com>
7361
7362 * imenu.el (imenu--generic-function): Ignore invisible definitions
7363 (bug#10123).
7364
0d15b5ba
VD
73652012-04-12 Vivek Dasmohapatra <vivek@etla.org>
7366
7367 * hexl.el (hexl-bits): New variable.
7368 (hexl-options): Mention the variable in the doc string.
75f1671a 7369 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 7370 (hexl-mode): Mention the new variable.
75f1671a
JB
7371 (hexl-mode, hexl-current-address, hexl-current-address):
7372 Use the displen.
0d15b5ba
VD
7373 (hexl-ascii-start-column): New function.
7374 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
7375 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
7376
64a440db
AM
73772012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7378
7379 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
7380 '("-i" ENCODING), in 2 separate command-line arguments, to specify
7381 the encoding, as expected by hunspell.
7382
6decb6c2
SM
73832012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
7384
7385 * battery.el (battery--linux-sysfs-regexp): New const.
7386 (battery-status-function): Use it. Remove yeeloong special case.
7387 (battery-yeeloong-sysfs): Remove.
7388 (battery-echo-area-format): Remove yeeloong special case.
7389
088be6fb
SM
73902012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
7391
6622e416
SM
7392 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
7393 Reported by Noah Friedman.
7394
088be6fb
SM
7395 * subr.el (read-passwd): Use read-string.
7396
b49f886e
LMI
73972012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7398
7399 * vcursor.el (vcursor-move): Increase the priority of the overlay
7400 (bug#9663).
7401
a63067fc
DD
74022012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
7403
7404 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
7405 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
7406
ac3cf14a
WS
74072012-04-11 William Stevenson <yhvh2000@gmail.com>
7408
7409 * textmodes/artist.el (artist-mode): Convert artist-mode to use
7410 define-minor-mode (bug#10760).
7411
c4fc691b 74122012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 7413
4d6769e1 7414 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
7415 that directories matching `grep-find-ignored-files' won't be
7416 pruned (bug#10351).
7417
af23e2e5
CY
74182012-04-11 Chong Yidong <cyd@gnu.org>
7419
7420 * startup.el (command-line): Remove support for long-obsolete
7421 variable font-lock-face-attributes.
7422
ab7ce8c1
GM
74232012-04-11 Glenn Morris <rgm@gnu.org>
7424
7425 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
7426
de8c03dc
SM
74272012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
7428
7429 * window.el (window--state-get-1): Obey window-point-insertion-type.
7430
050cc68b
LB
74312012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
7432
7433 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
7434 to previous function when point is on the first character of a
75f1671a 7435 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 7436
a38c310c
GM
74372012-04-11 Glenn Morris <rgm@gnu.org>
7438
effed0c2
GM
7439 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
7440 not just file-errors.
7441
a38c310c
GM
7442 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
7443 (vc-bzr-sha1): Use internal sha1.
7444
0221e323
SM
74452012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
7446
7447 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
7448
43956923
SG
74492012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
7450
7451 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
7452 that start in the middle of the line (bug#10496).
7453
6a8c9eaf
DN
74542012-04-10 Dan Nicolaescu <dann@gnu.org>
7455
7456 * battery.el (battery-linux-proc-acpi): Only one battery is
7457 discharged at a time, but that seems to confuse battery.el when
7458 computing `rate-type' for the battery not being discharged
7459 (bug#10332).
7460
1930bf5d
SM
74612012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
7462
2a718f6f
SM
7463 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
7464
599430d0
SM
7465 * international/quail.el: Use dolist and simplify.
7466 (quail-define-package, quail-update-keyboard-layout)
7467 (quail-define-rules): Use dolist.
7468 (quail-insert-kbd-layout, quail-get-translation): CSE.
7469
a2754b6c
SM
7470 * tmm.el: Use dolist, remove left over hook.
7471 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
7472 Use dolist.
7473 (calendar-load-hook): Don't mess with it.
7474
1930bf5d
SM
7475 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
7476 Use derived-mode-p. Run the diff asynchronously.
7477
9f67961c
LMI
74782012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
7479
7480 * obsolete/mouse-sel.el: Add an Obsolete-since header.
7481
2a8ce227
JB
74822012-04-10 Juanma Barranquero <lekktu@gmail.com>
7483
7484 * misc.el: Display absolute path of loaded DLLs (bug#10424).
7485 (list-dynamic-libraries--loaded): New function.
7486 (list-dynamic-libraries--refresh): Use it.
7487
8f33b5f8
NW
74882012-04-10 Nathan Weizenbaum <nweiz@google.com>
7489
1930bf5d
SM
7490 * progmodes/python.el (python-fill-paragraph):
7491 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
7492 disabled (bug#7018).
7493
b12f0439
L
74942012-04-10 Laimonas VÄ—bra <laimonas.vebra@gmail.com> (tiny change)
7495
1930bf5d 7496 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
7497 DOS/MS Windows for the Baltic languages. There are still plenty
7498 of texts written in this encoding/codepage (bug#6519).
b12f0439 7499
57c3bd01
GM
75002012-04-10 Glenn Morris <rgm@gnu.org>
7501
7502 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
7503 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
7504
6c3eab30
FA
75052012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
7506
1930bf5d 7507 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
7508 next-line "n" and previous-line "p" in order to make recentf more
7509 consistent with ibuffer, dired or org-mode (bug#9387).
7510
24d78a88
LMI
75112012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
7512
bc72b5d9
LMI
7513 * image.el (put-image): Return the overlay created instead of the
7514 optional input string (bug#7834). Note that this may break code
7515 that is (for some reason or other) depending on `put-image'
7516 returning the string.
7517
bd2dba5a
LMI
7518 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
7519
74beb59f
LMI
7520 * simple.el (zap-to-char): Allow zapping using input methods
7521 (bug#1580).
7522
24d78a88
LMI
7523 * textmodes/fill.el (fill-region): Leave point and mark where they
7524 were before filling (bug#5399).
7525
263f20cd
GM
75262012-04-09 Glenn Morris <rgm@gnu.org>
7527
7528 * version.el (emacs-bzr-get-version):
7529 Handle lightweight checkouts of local branches.
7530
58d1f797
AS
75312012-04-09 Andreas Schwab <schwab@linux-m68k.org>
7532
263f20cd 7533 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 7534
b4d3bc10
CY
75352012-04-09 Chong Yidong <cyd@gnu.org>
7536
7537 * custom.el (custom-variable-p): Return nil for non-symbol
7538 arguments instead of signaling an error.
7539 (user-variable-p): Obsolete alias for custom-variable-p.
7540
7541 * apropos.el (apropos-variable):
7542 * files-x.el (read-file-local-variable):
7543 * simple.el (set-variable):
7544 * woman.el (woman-mini-help):
7545 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
7546
fd06db5d
GM
75472012-04-09 Glenn Morris <rgm@gnu.org>
7548
e5fcdb5e
GM
7549 * startup.el (normal-top-level): Don't look for leim-list.el
7550 in places where it will not be found. (Bug#910)
7551
fd06db5d
GM
7552 * international/mule-cmds.el (set-default-coding-systems):
7553 * files.el (normal-mode):
7554 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
7555 This function was removed with ucs-tables.el in 2008.
7556
b39bb7e1
EZ
75572012-04-08 Eli Zaretskii <eliz@gnu.org>
7558
7559 * textmodes/ispell.el (ispell-check-version): For hunspell, set
7560 ispell-encoding8-command to "-i", without a trailing space.
7561 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
7562 separate command-line arguments, to specify the encoding, since
7563 that's how hunspell expects it.
7564
5c5b8e23
GM
75652012-04-08 Glenn Morris <rgm@gnu.org>
7566
7567 * loadup.el: Load bindings before cus-start.
7568 This reduces somewhat the number of "rogue" settings in emacs -Q.
7569
a1ed8b05
GM
75702012-04-07 Glenn Morris <rgm@gnu.org>
7571
7572 * version.el (emacs-bzr-get-version): New function.
dfae128a 7573 (emacs-bzr-version): New variable.
a1ed8b05
GM
7574 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
7575 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
7576
b142f158
EZ
75772012-04-07 Eli Zaretskii <eliz@gnu.org>
7578
dfae128a
GM
7579 * international/uni-bidi.el, international/uni-category.el:
7580 * international/uni-combining.el, international/uni-decimal.el:
7581 * international/uni-decomposition.el, international/uni-digit.el:
7582 * international/uni-lowercase.el, international/uni-mirrored.el:
7583 * international/uni-name.el, international/uni-numeric.el:
7584 * international/uni-titlecase.el, international/uni-uppercase.el:
7585 Update for Unicode 6.1.
b142f158 7586
9078ead6
EZ
75872012-04-07 Eli Zaretskii <eliz@gnu.org>
7588
7589 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
7590
f23d2c7d
LMI
75912012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
7592
7593 * window.el (shrink-window): Mention the `window-min-height'
7594 variable in the doc string.
7595
0a0a3573
BG
75962012-04-05 Bastien Guerry <bzg@altern.org>
7597
7598 * color.el (color-lighten-name): Fix typo.
7599
e5248ac9
SM
76002012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
7601
7602 * server.el (server--on-display-p): New function.
7603 (server--on-display-p): Use it.
7604
b4243e22
GV
76052012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
7606
7607 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
7608 (bug#11145).
7609
305d9f44
SM
76102012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
7611
7612 * comint.el (comint--common-quoted-suffix): Check string boundary
7613 before comparing (bug#11158).
7614 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
7615
3d439cd1
CY
76162012-04-04 Chong Yidong <cyd@gnu.org>
7617
321cc491
CY
7618 * minibuffer.el (completion-extra-properties): Doc fix.
7619
3d439cd1
CY
7620 * subr.el (delayed-warnings-hook): Doc fix.
7621
2d562c0f
DU
76222012-04-04 Daiki Ueno <ueno@unixuser.org>
7623
7624 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
7625 selection (Bug#11159).
7626 (epa-insert-keys): Inform that the default public key will be
7627 exported if no key is selected.
7628
4443f204
RS
76292012-04-04 Richard Stallman <rms@gnu.org>
7630
7631 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
7632
529c06b6
CY
76332012-04-03 Chong Yidong <cyd@gnu.org>
7634
7635 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
7636 mail-insert-file, not its obsolete alias mail-attach-file.
7637
66b907dc
MA
76382012-04-03 Michael Albinus <michael.albinus@gmx.de>
7639
7640 * notifications.el (notifications-notify): Fix docstring.
7641
c0ea195d
GM
76422012-04-02 Glenn Morris <rgm@gnu.org>
7643
7644 * emacs-lisp/authors.el (authors-aliases): Another addition.
7645
5ca64e00
MA
76462012-04-02 Michael Albinus <michael.albinus@gmx.de>
7647
7648 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
7649 `tramp-compat-call-process' instead of `tramp-local-call-process'.
7650 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
7651
42ee526b
CY
76522012-04-01 Chong Yidong <cyd@gnu.org>
7653
7654 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
7655 Handle root directory properly.
7656 (copy-directory): Caller changed.
7657
7658 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
7659 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
7660
0b021094
GM
76612012-03-31 Glenn Morris <rgm@gnu.org>
7662
40f86458
GM
7663 * term/xterm.el (xterm-extra-capabilities): Doc fix.
7664
7019c177
GM
7665 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
7666
a1daddd6
GM
7667 * calendar/calendar.el (calendar-window-list)
7668 (calendar-hide-window): Restore. (Bug#11140)
7669 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
7670
0b021094
GM
7671 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
7672
40311efc
TV
76732012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7674
7675 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
7676 Check if file is a symlink (Bug#10489).
7677
7678 * files.el (copy-directory): Likewise.
7679
5319014e
CY
76802012-03-30 Chong Yidong <cyd@gnu.org>
7681
7682 * image.el (imagemagick-types-inhibit)
7683 (imagemagick-register-types): Doc fix.
7684
935d1290
AM
76852012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7686
090bd7cb 7687 * textmodes/ispell.el (ispell-get-extended-character-mode):
ef24141c 7688 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 7689 and treats ~word as ordinary words in pipe mode.
935d1290 7690
61c6e8fd
GM
76912012-03-30 Glenn Morris <rgm@gnu.org>
7692
7693 * tutorial.el (help-with-tutorial): Ensure local variables don't
7694 happen to make the buffer read-only. (Bug#11127)
7695
81fdff00
SM
76962012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
7697
7698 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
7699 (perl-calculate-indent): Return `noindent' in strings.
7700
6e7a6ec0
SS
77012012-03-28 Sam Steingold <sds@gnu.org>
7702
7703 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
7704 instead of the broken adhockery which does not prevent calendar
7705 buffers from being displayed at random after exit.
7706 (calendar-window-list, calendar-hide-window): Remove the broken
7707 adhockery.
7708
fee88ca0
GM
77092012-03-28 Glenn Morris <rgm@gnu.org>
7710
7711 * replace.el (query-replace-map): Doc fix.
7712
38de3354
AS
77132012-03-28 Andreas Schwab <schwab@linux-m68k.org>
7714
7715 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
7716 contents. (Bug#11109)
7717
b973155e
SM
77182012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
7719
7720 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
7721 (bug#11077).
7722 (avl-tree--check, avl-tree--check-node): New funs.
7723
dcb6e7b3
MR
77242012-03-27 Martin Rudalics <rudalics@gmx.at>
7725
7726 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
7727 (switch-to-prev-buffer, switch-to-next-buffer):
7728 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
7729 showing a buffer already is done on the same frame.
7730
b4fa35fa
GM
77312012-03-27 Glenn Morris <rgm@gnu.org>
7732
7733 * startup.el (mail-host-address): Doc fix.
7734
f9210e18
SM
77352012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
7736
7737 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
7738 than 197 variables.
7739
c0bf7753
AF
77402012-03-26 Ami Fischman <ami@fischman.org>
7741
7742 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
7743
33da7b16
GM
77442012-03-26 Glenn Morris <rgm@gnu.org>
7745
02243d9d
GM
7746 * files.el (save-buffers-kill-emacs): Doc fix.
7747
33da7b16
GM
7748 * startup.el (normal-top-level, command-line, command-line-1):
7749 Give them doc strings.
7750
e5a69fd0
EZ
77512012-03-25 Eli Zaretskii <eliz@gnu.org>
7752
7753 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 7754 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 7755
9a69676a
CY
77562012-03-25 Chong Yidong <cyd@gnu.org>
7757
4125cb8b
CY
7758 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
7759 theme if it was previously enabled before (Bug#11031).
7760
dd470960
CY
7761 * cus-theme.el (custom-theme-write-faces): Retrieve current face
7762 spec with custom-face-get-current-spec if its :shown-value is not
7763 determined yet (Bug#9337).
4125cb8b 7764 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 7765
9a69676a
CY
7766 * button.el (button-at): Minor addition to docstring.
7767
6e7e90fa
SL
77682012-03-24 Simon Leinen <simon.leinen@gmail.com>
7769
7770 * vc/vc.el (vc-merge): Fix a prompt.
7771
f06e2758
CY
77722012-03-24 Chong Yidong <cyd@gnu.org>
7773
7774 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
7775 point (Bug#9623).
7776
6e7e90fa
SL
7777 * button.el (button-at): Minor addition to docstring.
7778
b9d0879b
SM
77792012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
7780
7781 * newcomment.el (comment-choose-indent): No space after BOL.
7782
e71cebb3
SS
77832012-03-22 Sam Steingold <sds@gnu.org>
7784
7785 * window.el (switch-to-prev-buffer): Revert last patch because the
7786 bug turned out to be an advertised feature (Elisp manual 28.14).
7787
335aff35
GM
77882012-03-22 Glenn Morris <rgm@gnu.org>
7789
7790 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
7791 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
7792
c676576a
LMI
77932012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
7794
7795 * net/network-stream.el (network-stream-open-starttls): Make error
7796 message under Windows be less misleading.
7797
126f3d39
LW
77982012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
7799
7800 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
7801 understands (bug#9942).
7802
64fee311
CY
78032012-03-22 Chong Yidong <cyd@gnu.org>
7804
7805 * simple.el (end-of-visible-line): Handle return value of
7806 next-single-property-change properly (Bug#9371).
7807
a640d29a
KH
78082012-03-22 Kenichi Handa <handa@m17n.org>
7809
7810 * international/quail.el (quail-insert-kbd-layout): Fix previous
7811 change. To avoid unwanted bidi reordering, use
7812 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
7813
39675016
DG
78142012-03-21 Dmitry Gutov <dgutov@yandex.ru>
7815
7816 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
7817 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
7818 (ruby-beginning-of-indent): Be more careful with the difference
7819 between word-boundary and symbol boundary.
7820 (ruby-mode-syntax-table): Make : a symbol constituent.
7821
0a6934fc 78222012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 7823
3d008e4f
SM
7824 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
7825
0a6934fc
SM
78262012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
7827
af67c9d7
SM
7828 * progmodes/etags.el (tags-completion-at-point-function):
7829 Improve last fix.
7830
1acad97c
SM
7831 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
7832
e298b5da
SS
78332012-03-21 Sam Steingold <sds@gnu.org>
7834
7835 * progmodes/etags.el (tags-completion-at-point-function):
7836 Avoid the error when point is inside the pattern.
7837
91d82a70
JY
78382012-03-21 John Yates <john@yates-sheets.org> (tiny change)
7839
7840 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
7841 line (Bug#10855).
7842
69188b79
CY
78432012-03-21 Drew Adams <drew.adams@oracle.com>
7844
7845 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
7846
99fc91fe
AK
78472012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
7848
7849 * ido.el (ido-set-current-directory, ido-read-internal)
7850 (ido-choose-completion-string, ido-completion-help): Handle nil
7851 value of ido-completion-buffer (Bug#11008).
7852
087bbb4c
SS
78532012-03-21 Sam Steingold <sds@gnu.org>
7854
7855 * window.el (switch-to-prev-buffer): Do not switch to a visible
7856 window previous buffer, just like with the frame previous buffers.
7857
fb5b8aca
CY
78582012-03-21 Chong Yidong <cyd@gnu.org>
7859
7860 * faces.el (make-face, make-empty-face, copy-face):
7861 * face-remap.el (face-remap-add-relative, face-remap-set-base):
7862 Doc fixes.
7863
dc9924b8
SM
78642012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
7865
7866 * wid-edit.el (widget-complete-field): Remove (bug#11051).
7867 (widget-complete): Remove broken use of it.
7868
f0bcceb9
CY
78692012-03-20 Chong Yidong <cyd@gnu.org>
7870
dc9924b8
SM
7871 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
7872 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
7873 characters.
7874
ee52ebf3
TH
78752012-03-20 Tassilo Horn <tassilo@member.fsf.org>
7876
7877 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
7878 to draw rectangles, not squares. (Regression introduced by revno
7879 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
7880
4c5779ab
CY
78812012-03-18 Chong Yidong <cyd@gnu.org>
7882
7883 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
7884 it is not yet defined (for temacs).
7885
15360934
LL
78862012-03-18 Leo Liu <sdl.web@gmail.com>
7887
dc9924b8 7888 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 7889
d9a8eb66
EZ
78902012-03-17 Eli Zaretskii <eliz@gnu.org>
7891
7892 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
7893 (ispell-choices-win-default-height, ispell-silently-savep)
7894 (ispell-dictionary-alist, ispell-encoding8-command)
7895 (ispell-check-version, ispell-aspell-find-dictionary)
7896 (ispell-valid-dictionary-list, ispell-words-keyword)
7897 (ispell-get-word, ispell-internal-change-dictionary)
7898 (ispell-region, ispell-skip-region-list)
7899 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
7900 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
7901 (ispell-message-text-end, ispell-message)
7902 (ispell-buffer-local-parsing): Doc fix.
7903
f02ff80d
J
79042012-03-13 Jambunathan K <kjambunathan@gmail.com>
7905
7906 * htmlfontify.el: Add support for code block fontification for ODT
7907 export (Bug #9914).
7908 (hfy-optimisations): Define new option
7909 `body-text-only'
7910 (hfy-fontify-buffer): Honor above setting.
7911 (hfy-begin-span, hfy-end-span): New routines factored out form
7912 `hfy-fontify-buffer'.
7913 (hfy-begin-span-handler, hfy-end-span-handler): New variables
7914 that permit insertion of custom tags.
7915 (hfy-fontify-buffer): Use above handlers.
7916 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
7917 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 7918 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 7919 over multiple runs. This is made possible by having the caller let
f02ff80d
J
7920 bind a special variable `hfy-user-sheet-assoc'.
7921 (htmlfontify-string): New defun.
7922 (hfy-compile-face-map): Make sure that the last char in the
7923 buffer is correctly fontified.
7924 (hfy-face-resolve-face): Whitespace only change.
7925
9ac7a13f
EZ
79262012-03-17 Eli Zaretskii <eliz@gnu.org>
7927
7928 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
7929 message more clear.
7930
e2b5bdd7
LL
79312012-03-16 Leo Liu <sdl.web@gmail.com>
7932
7933 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
7934
2e492df3
AM
79352012-03-16 Alan Mackenzie <acm@muc.de>
7936
7937 Further optimise the handling of large macros.
7938
7939 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
7940 limit to a call of `c-literal-limits'.
7941 (c-determine-+ve-limit): New function.
dc9924b8
SM
7942 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
7943 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
7944 In CASE 5B, restrict a search limit to 500.
7945 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
7946
7947 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
7948 Restrict macro bounds to +-500 from after-change's BEG END.
7949
50e94f0c
LL
79502012-03-16 Leo Liu <sdl.web@gmail.com>
7951
7952 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
7953
6f09f6ed
AH
79542012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
7955
7956 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 7957 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 7958
c7e73d51
GM
79592012-03-16 Glenn Morris <rgm@gnu.org>
7960
da986230
GM
7961 * view.el (view-buffer, view-buffer-other-window)
7962 (view-buffer-other-frame): Doc fixes re special mode-class.
7963
0835f01e
GM
7964 * subr.el (eval-after-load): If named feature is provided not from
7965 a file, run after-load forms. (Bug#10946)
7966
c7e73d51
GM
7967 * calendar/calendar.el (calendar-insert-at-column):
7968 Handle non-unit-width characters a bit better. (Bug#10978)
7969
3f2eafd1
CY
79702012-03-15 Chong Yidong <cyd@gnu.org>
7971
7972 * emacs-lisp/ring.el (ring-extend): New function.
7973 (ring-insert+extend): Extend the ring correctly (Bug#11019).
7974
7975 * comint.el (comint-read-input-ring)
7976 (comint-add-to-input-history): Grow comint-input-ring lazily.
7977
103af3fe
SM
79782012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
7979
663b1677
SM
7980 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
7981 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
7982
103af3fe
SM
7983 * imenu.el: Fix multiple inheritance breakage (bug#9199).
7984 (imenu-add-to-menubar): Don't add a redundant index.
7985 (imenu-update-menubar): Handle a dynamically composed keymap.
7986
899cb7cb
KY
79872012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
7988
7989 * mail/sendmail.el (mail-encode-header):
7990 Bind rfc2047-encode-encoded-words to nil.
7991
3809f91d
GM
79922012-03-13 Glenn Morris <rgm@gnu.org>
7993
7994 * calendar/calendar.el (calendar-string-spread):
7995 Handle non-unit-width characters a bit better. (Bug#10978)
7996
9e345a01
LL
79972012-03-13 Leo Liu <sdl.web@gmail.com>
7998
7999 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
8000 directory and file as argument (Bug#10822).
8001
4a07df36
KS
80022012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
8003
8004 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
8005 For dynamically generated code, follow $PC.
8006 (gdb-disassembly-handler-custom): Handle no function name case.
8007
4aaa9356
TL
80082012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
8009
8010 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
8011 * emulation/ws-mode.el (ws-query-replace):
8012 * sort.el (sort-regexp-fields):
8013 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
8014
225979da
SM
80152012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8016
8017 * dabbrev.el: Fix cycle completion order (bug#10963).
8018 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
8019 (dabbrev-completion): Don't use an obarray; provide
8020 a cycle-sort-function.
8021
e2f1fdab
LL
80222012-03-12 Leo Liu <sdl.web@gmail.com>
8023
dc9924b8 8024 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
8025 (kill-do-not-save-duplicates): Doc fix.
8026
b19490ed
SM
80272012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8028
8029 * dabbrev.el: Fix cycle completion (bug#10963).
8030 Use lexical binding and wrap to 80 columns.
8031 (dabbrev-completion): Delay computing the list of completions.
8032
4b05d722
KH
80332012-03-12 Kenichi Handa <handa@m17n.org>
8034
8035 * international/quail.el (quail-insert-kbd-layout): Surround each
8036 row by LRO and PDF instead of inserting many LRMs. Pad the left
8037 and right of each non-spacing marks. Insert invisible space
8038 between lower and upper characters to prevent composition.
8039
dbbc2e69
SM
80402012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8041
8042 * minibuffer.el (minibuffer-complete): Don't get confused when the
8043 function is run twice via different commands (bug#10958).
8044 (complete-with-action): Fix docstring.
8045
292112ed
CY
80462012-03-12 Chong Yidong <cyd@gnu.org>
8047
5d1ac394
CY
8048 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
8049 (nxml-completion-at-point-function): New function.
8050 (nxml-mode): Use it.
8051 (nxml-bind-meta-tab-to-complete-flag): Default to t.
8052
292112ed
CY
8053 * emacs-lisp/package.el (package-unpack, package-unpack-single):
8054 Load generated autoloads file before byte compiling (Bug#10970).
8055 (package--make-autoloads-and-compile): New helper fun.
8056
4098f8f7
CS
80572012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
8058
8059 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
8060
8f754691
MA
80612012-03-11 Michael Albinus <michael.albinus@gmx.de>
8062
8063 * autorevert.el (auto-revert-handler): Ensure, that
8064 file-readable-p is applied only for local files or in
8065 auto-revert-tail-mode.
8066
e29ab36b
AS
80672012-03-11 Andreas Schwab <schwab@linux-m68k.org>
8068
dbbc2e69
SM
8069 * server.el (server-eval-at): Handle non-tcp connections.
8070 Decode result string.
ad0bf5b6 8071
e29ab36b
AS
8072 * server.el (server-msg-size): New constant.
8073 (server-reply-print): New function.
8074 (server-eval-and-print): Use it.
8075 (server-eval-at): Use server-quote-arg and server-unquote-arg.
8076 Handle -print-nonl.
8077
de5939ba
CS
80782012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
8079
8080 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
8081 (Bug#10987).
8082
0c93eabf
CY
80832012-03-11 Chong Yidong <cyd@gnu.org>
8084
397a688f
CY
8085 * simple.el (goto-line): Doc fix (Bug#9938).
8086
2cc775f9
CY
8087 * subr.el (save-window-excursion): Doc fix (Bug#9979).
8088
0c93eabf
CY
8089 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
8090 when finished (Bug#10963).
8091
c491fa41
MR
80922012-03-11 Martin Rudalics <rudalics@gmx.at>
8093
8094 * window.el (split-window-below): Fix bug in case where
8095 split-window-keep-point is nil (Bug#10971).
8096
300e8fa5
JL
80972012-03-11 Juri Linkov <juri@jurta.org>
8098
8099 * replace.el (replace-highlight): Set isearch-word to nil
8100 unconditionally. (Bug#10887)
8101
dbf6c5a1
EZ
81022012-03-10 Eli Zaretskii <eliz@gnu.org>
8103
8104 * net/mairix.el (mairix-replace-invalid-chars): Rename from
8105 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 8106 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
8107 (mairix-widget-create-query): Add usage information about mairix
8108 search forms: negating words, searching for substrings, etc.
8109
b9e501de
JP
81102012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
8111
8112 * international/fontset.el (font-encoding-alist): Add an entry for
8113 ksx1001 (Bug#5667).
8114
92795c91
RS
81152012-03-10 Richard Stallman <rms@gnu.org>
8116
1694e6c1
RS
8117 * mail/sendmail.el (mail-encode-header):
8118 Set rfc2047-encode-encoded-words.
8119
607e8555
RS
8120 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
8121
de3bc99a
RS
8122 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
8123 view buffer means not swapped.
8124 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
8125 (rmail-write-region-annotate): Error if real text has disappeared.
8126
92795c91
RS
8127 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
8128
699bd04e
CY
81292012-03-10 Chong Yidong <cyd@gnu.org>
8130
8131 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
8132 * emulation/cua-base.el (cua--init-keymaps):
8133 Add delete-forward-char to remappings (Bug#9666).
699bd04e 8134
570a1714
MR
81352012-03-10 Martin Rudalics <rudalics@gmx.at>
8136
dbbc2e69
SM
8137 * speedbar.el (speedbar-unhighlight-one-tag-line):
8138 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 8139
82dcf4e4
CY
81402012-03-10 Chong Yidong <cyd@gnu.org>
8141
7a2c7ca7
CY
8142 * minibuffer.el (completion-in-region, completion-help-at-point):
8143 Give the completion field overlay a high priority (Bug#6830).
8144
82dcf4e4
CY
8145 * dired.el (dired-goto-file): Recognize absolute file name
8146 listings (Bug#7126).
8147 (dired-goto-file-1): New helper function.
8148 (dired-toggle-read-only): Inhibit warnings.
8149
052e28ac
MA
81502012-03-09 Michael Albinus <michael.albinus@gmx.de>
8151
75f1671a 8152 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
8153 there are no properties.
8154
95d5e396
LL
81552012-03-09 Leo Liu <sdl.web@gmail.com>
8156
8157 * savehist.el (savehist-printable): Stricter check for string
8158 value (Bug#10937).
8159
3f018d6d
EZ
81602012-03-09 Eli Zaretskii <eliz@gnu.org>
8161
dbbc2e69
SM
8162 * mail/smtpmail.el (smtpmail-send-it):
8163 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
8164 valid mbox format.
8165
f7fd3d79
GM
81662012-03-09 Glenn Morris <rgm@gnu.org>
8167
8168 * files.el (dir-locals-find-file):
8169 Don't check result is regular, readable.
8170 (dir-locals-read-from-file): Demote errors.
8171
6ff6e72f
EZ
81722012-03-08 Eli Zaretskii <eliz@gnu.org>
8173
dbbc2e69
SM
8174 * international/quail.el (quail-insert-kbd-layout):
8175 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
8176 layout cell, to prevent their reordering by bidi display engine.
8177 For details, see the discussion in
8178 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
8179
9cec7834
AM
81802012-03-08 Alan Mackenzie <acm@muc.de>
8181
8182 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
8183 the starting position; make it extend the marked region when
8184 invoked repeatedly - all under appropriate circumstances.
8185 Fixes bugs #5525, #10906.
8186
9a40b8d4
GM
81872012-03-08 Glenn Morris <rgm@gnu.org>
8188
8189 * files.el (locate-dominating-file, dir-locals-find-file):
8190 Undo 2012-03-06 change.
8191
7a08ed35
EZ
81922012-03-07 Eli Zaretskii <eliz@gnu.org>
8193
dbbc2e69
SM
8194 * international/quail.el (quail-help):
8195 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
8196 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
8197 for the reason.
8198
5aca4f71 81992012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
8200
8201 Avoid superfluous registering of signals. (Bug#10807)
8202
8203 * notifications.el (notifications-on-action-object)
8204 (notifications-on-close-object): New defvars.
8205 (notifications-on-action-signal, notifications-on-closed-signal):
8206 Unregister the signal if not needed any longer.
8207 (notifications-notify): Register `notifications-action-signal' or
8208 `notifications-closed-signal', if :on-action or :on-close has been
8209 passed as argument.
8210
78e8b10a
CY
82112012-03-07 Chong Yidong <cyd@gnu.org>
8212
8213 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
8214 non-X platforms.
8215
69481eb8
GM
82162012-03-06 Glenn Morris <rgm@gnu.org>
8217
8218 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
8219 (x-disown-selection-internal, x-get-selection-internal):
8220 Doc fix (add arglist signatures). (Bug#10783)
8221
133b8e11
KS
82222012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
8223
8224 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
8225 Handle breakpoints with no "type".
8226
99a83064
GM
82272012-03-06 Glenn Morris <rgm@gnu.org>
8228
8229 * files.el (locate-dominating-file): Add optional predicate argument.
8230 (dir-locals-find-file): Make use of above change.
8231
17798e78
TTN
82322012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
8233
8234 * info.el (Info-insert-dir): Also try "dir.gz".
8235
eb182446
GM
82362012-03-06 Glenn Morris <rgm@gnu.org>
8237
8f2114ee
GM
8238 * files.el (dir-locals-find-file):
8239 Ignore non-readable or non-regular files. (Bug#10928)
8240
eb182446
GM
8241 * files.el (locate-dominating-file): Doc fix.
8242
24679323
AS
82432012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
8244
8245 * calendar/calendar.el (calendar-set-mode-line):
8246 `getenv' returns a string. (Bug#10951)
8247
01d972a9
LL
82482012-03-05 Leo Liu <sdl.web@gmail.com>
8249
109aa8a9
LL
8250 * simple.el (backward-delete-char-untabify): Constrain point to
8251 field (Bug#10939).
8252
01d972a9
LL
8253 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
8254
10607bea
CY
82552012-03-05 Chong Yidong <cyd@gnu.org>
8256
8257 * simple.el (count-words): If called from Lisp, return the word
8258 count, for symmetry with `count-lines'. Arglist changed.
8259 (count-words--message): Args changed. Consolidate counting code
8260 from count-words and count-words-region.
8261 (count-words-region): Caller changed.
8262 (count-lines-region): Make it an obsolete alias.
8263
5dd11cfe
TH
82642012-03-04 Tassilo Horn <tassilo@member.fsf.org>
8265
8266 * saveplace.el (save-place-to-alist)
8267 (save-place-ignore-files-regexp): Allow value nil to disable this
8268 feature.
8269
c349f4e6
CY
82702012-03-04 Chong Yidong <cyd@gnu.org>
8271
8272 * faces.el (face-spec-reset-face): For the default face, reset the
8273 attributes to default values (Bug#10748).
8274
e627be4c
LMI
82752012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
8276
8277 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
8278 previous patch: Check `message-send-mail-function', and not the
8279 default function (bug#10897).
8280
ebeabff4
MA
82812012-03-04 Michael Albinus <michael.albinus@gmx.de>
8282
a41a6cf4
MA
8283 * notifications.el (notifications-on-action-signal)
8284 (notifications-on-closed-signal): Check for unique service name of
8285 incoming event. Fix error in removing entry.
ebeabff4 8286 (top): Register for signals with wildcard service name.
a41a6cf4 8287 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 8288
c1ca42b4
CY
82892012-03-04 Chong Yidong <cyd@gnu.org>
8290
dc9924b8 8291 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 8292
ea16568d
GM
82932012-03-04 Glenn Morris <rgm@gnu.org>
8294
8295 * abbrev.el (copy-abbrev-table, abbrev-table-p)
8296 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
8297 (expand-abbrev, define-abbrev-table): Doc fixes.
8298
fbae4637
LMI
82992012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8300
8301 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
8302 `message-default-send-mail-function' and not `send-mail-function'
8303 when doing the prompting for `sendmail-query-once' before sending
8304 in Message buffers (bug#10897).
8305
a1e7225c
LMI
8306 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
8307 This is inconsistent with all the other stream functions, which leave
8308 the setting up to the higher levels (if so wanted) (bug#10931).
8309
56d093a9
AM
83102012-03-02 Alan Mackenzie <acm@muc.de>
8311
8312 Depessimize the handling of very large macros.
8313
8314 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
8315 (c-macro-cache-syntactic): New variables to implement a one
8316 element macro cache.
8317 (c-invalidate-macro-cache): New function.
8318 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
8319 Adapt to use the new cache.
8320 (c-state-safe-place): Use better the cache of safe positions.
8321 (c-state-semi-nonlit-pos-cache)
8322 (c-state-semi-nonlit-pos-cache-limit):
8323 New variables for...
8324 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
8325 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
8326 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
8327 Use c-state-semi-safe-place.
56d093a9 8328
dbbc2e69
SM
8329 * progmodes/cc-langs.el (c-get-state-before-change-functions):
8330 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 8331
817e5c3d
MA
83322012-03-02 Michael Albinus <michael.albinus@gmx.de>
8333
dbbc2e69
SM
8334 * jka-compr.el (jka-compr-call-process):
8335 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
8336 not remote.
8337
a032a702
MA
83382012-03-01 Michael Albinus <michael.albinus@gmx.de>
8339
8340 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
8341 access of FILE2, if FILE1 does not exist.
8342
99a54f21
MA
8343 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
8344 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
8345
8346 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
8347 Add "PAGER=" to `process-environment'.
8348
f6561e1f
MM
83492012-03-01 Michael R. Mauger <mmaug@yahoo.com>
8350
8351 * progmodes/sql.el: Bug fix
8352 (sql-get-login-ext): Save login values in globals.
8353 (sql-get-login): Use new version of `sql-get-login-ext'.
8354 (sql-interactive-mode): Set global `sql-connection' to nil.
8355 (sql-connect): Set global values for connection.
8356 (sql-product-interactive): Save global values as buffer local.
8357
2d44d9cc
LL
83582012-02-29 Leo Liu <sdl.web@gmail.com>
8359
8360 * abbrev.el (define-abbrevs): Reset sys to nil.
8361
96b49301 83622012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8363
bf7f9bc5
JB
8364 * files.el (file-equal-p): Rename from `files-equal-p'.
8365 Return nil when one or both files don't exist.
96b49301 8366 (file-subdir-of-p): Now only top directory must exists,
8367 return nil if it doesn't.
bf7f9bc5
JB
8368 (copy-directory): No need to test with `file-subdir-of-p' after
8369 creating dir.
8370 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
8371 to `file-equal-p'.
96b49301 8372
44e97401
GM
83732012-02-28 Glenn Morris <rgm@gnu.org>
8374
8375 * shell.el (shell-mode):
8376 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
8377 * play/landmark.el (landmark-font-lock-face-O):
8378 * play/handwrite.el (handwrite):
8379 * play/gomoku.el (gomoku-O):
8380 * net/browse-url.el (browse-url-browser-display):
8381 * international/mule.el (define-charset):
8382 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
8383 * filesets.el (filesets-find-file-delay):
8384 * eshell/em-xtra.el (eshell-xtra):
8385 * eshell/em-unix.el (eshell-grep):
8386 * emulation/viper.el (viper-mode):
8387 * emacs-lisp/regexp-opt.el (regexp-opt-group):
8388 * emacs-lisp/easymenu.el (easy-menu-define):
8389 * calendar/timeclock.el (timeclock-use-display-time):
8390 * bs.el (bs-mode):
8391 * bookmark.el (bookmark-save-flag):
8392 Doc fix (standardize possessive apostrophe usage).
8393
c98c6276
CY
83942012-02-27 Chong Yidong <cyd@gnu.org>
8395
bf7f9bc5
JB
8396 * emulation/viper-cmd.el (viper-intercept-ESC-key):
8397 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 8398
c98c6276
CY
8399 * font-lock.el (font-lock-specified-p): Rename from
8400 font-lock-spec-present. Callers changed.
8401
9c62cd04 84022012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 8403
bf7f9bc5
JB
8404 * emacs-lisp/package.el (package-compute-transaction):
8405 Handle holding a package version to t in package-load-list.
8ac9e529 8406
530739c9
MA
84072012-02-26 Michael Albinus <michael.albinus@gmx.de>
8408
8409 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
8410 (tramp-get-inode, tramp-get-device): Use cached values.
8411
487915d7
AM
84122012-02-26 Alan Mackenzie <acm@muc.de>
8413
8414 Check there is a font-lock specification before doing initial
8415 fontification.
8416
8417 * font-core.el (font-lock-mode): Move the conditional from
8418 :after-hook to font-lock-initial-fontify.
8419 (font-lock-default-function): Move the check for a specification
8420 to font-lock-spec-present.
8421
dc9924b8 8422 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
8423 (font-lock-spec-present): New function.
8424
4fd96557
JB
84252012-02-26 Jim Blandy <jimb@red-bean.com>
8426
8427 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
8428 (gdb-send): Apply it to the operand of the '-interpreter-exec
8429 console' command, so that we can pass arguments with (say) quotes
8430 in them. Store exact string sent in gdb-debug-log (Bug#10765).
8431
9a4888c0
CY
84322012-02-26 Chong Yidong <cyd@gnu.org>
8433
07498861
CY
8434 * help-fns.el (describe-function-1): Clarify description of
8435 remapping (Bug#10844).
8436
9a4888c0
CY
8437 * files.el (files-equal-p): Doc fix.
8438 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
8439 and quit the loop once a mismatch is found.
8440
ea8fb88d
JB
84412012-02-25 Juanma Barranquero <lekktu@gmail.com>
8442
8443 * bs.el (bs--show-with-configuration): Don't throw an error
8444 if the window cannot be split; otherwise, subsequent calls to
8445 bs-show fail, restoring a stale window config. (Bug#10882)
8446
525795c1
JD
84472012-02-25 Jan Djärv <jan.h.d@swipnet.se>
8448
8449 * term/ns-win.el (global-map): Bind ns-drag-file to
8450 ns-find-file (Bug#5855, Bug#10050).
8451
f008086f
AS
84522012-02-25 Andreas Schwab <schwab@linux-m68k.org>
8453
8454 * calendar/parse-time.el (parse-time-string): Allow extractor to
8455 return nil.
8456
a3fcfa99
MA
84572012-02-25 Michael Albinus <michael.albinus@gmx.de>
8458
91027d08
JB
8459 * net/tramp.el (tramp-file-name-for-operation):
8460 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
8461
8462 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
8463 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
8464 Add COPY-CONTENTS argument.
a3fcfa99 8465
67b0de11
CY
84662012-02-25 Chong Yidong <cyd@gnu.org>
8467
8468 Add custom groups for VC backends, for consistency with vc-bzr.
8469
8470 * vc/vc-arch.el (vc-arch):
8471 * vc/vc-cvs.el (vc-cvs):
8472 * vc/vc-git.el (vc-git):
8473 * vc/vc-hg.el (vc-hg):
8474 * vc/vc-mtn.el (vc-mtn):
8475 * vc/vc-rcs.el (vc-rcs):
8476 * vc/vc-sccs.el (vc-sccs):
8477 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
8478 All relevant defcustoms reassigned.
8479
3c9dfce6
CY
84802012-02-25 Chong Yidong <cyd@gnu.org>
8481
1339bf43
CY
8482 * newcomment.el (comment-styles): Add autoload (Bug#10868).
8483
3c9dfce6
CY
8484 * term/x-win.el (x-initialize-window-system): Reduce default for
8485 x-selection-timeout to 5 seconds (Bug#8869).
8486
25b2e303 84872012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8488
ec70a47d
GM
8489 * files.el (files-equal-p, file-subdir-of-p): New functions.
8490 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 8491 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
8492 * dired-aux.el (dired-copy-file-recursive): Same.
8493 (dired-create-files): Modify destination when source is equal to
8494 dest when copying files.
53a46cd0 8495 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 8496
914260cd
MA
84972012-02-24 Michael Albinus <michael.albinus@gmx.de>
8498
8499 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
8500 (Bug#10874)
8501
2cb228f7
AM
85022012-02-23 Alan Mackenzie <acm@muc.de>
8503
8504 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
8505 parameter "after-hook:" to allow the expansion to run code after
8506 the execution of the mode hooks.
8507
8508 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 8509 from font-lock-mode-internal.
2cb228f7 8510
91027d08 8511 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
8512 :after-hook.
8513
8f0fde21
SM
85142012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
8515
3e88618b
SM
8516 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
8517 (completion--cache-all-sorted-completions): New function.
8518 (completion-all-sorted-completions): Use it.
8519 (completion--do-completion, minibuffer-force-complete):
8520 Use it to re-instate the flush hook.
8521
8f0fde21
SM
8522 * icomplete.el (icomplete-completions): Replace last fix with a better
8523 one (bug#10850).
8524
8e911f6f
DG
85252012-02-23 Dmitry Gutov <dgutov@yandex.ru>
8526
8527 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
8528 when it might call us back infinitely (bug#10797).
8529
49fe4321
GM
85302012-02-23 Glenn Morris <rgm@gnu.org>
8531
8532 * minibuffer.el (completion-category-overrides): Doc fix.
8533
b291b572
SM
85342012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
8535
8536 * minibuffer.el (completion-table-with-context): Fix inf-loop.
8537 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
8538
31a9ef2e
GM
85392012-02-23 Glenn Morris <rgm@gnu.org>
8540
5e6e6794 8541 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
8542 (authors-obsolete-files-regexps, authors-ignored-files)
8543 (authors-ambiguous-files, authors-renamed-files-alist):
8544 Add more entries.
8545
0bd1e074
JL
85462012-02-23 Juri Linkov <juri@jurta.org>
8547
8548 * isearch.el (isearch-occur): Sync interactive spec with occur's
8549 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
8550
b617673c
JL
8551 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
8552
19e9789e
JL
85532012-02-22 Juri Linkov <juri@jurta.org>
8554
8555 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
8556 (ucs-insert): Doc fix. Check for hex digits in the string.
8557 Don't display `nil' in the error message. (Bug#10857)
8558
f41ce09d
AM
85592012-02-22 Alan Mackenzie <acm@muc.de>
8560
7a71b18d 8561 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 8562
ac2eceee
GM
85632012-02-22 Glenn Morris <rgm@gnu.org>
8564
8565 * ffap.el (ffap-c-path):
8566 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
8567
abd1f678
CY
85682012-02-22 Chong Yidong <cyd@gnu.org>
8569
8570 * custom.el (load-theme): Doc fix.
8571
f25aef2e
GM
85722012-02-22 Glenn Morris <rgm@gnu.org>
8573
8574 * dired-x.el (dired-guess-shell-alist-default):
8575 Remove escape sequences from nroff output. (Bug#172)
8576
5f8dc2ca
GM
85772012-02-21 Glenn Morris <rgm@gnu.org>
8578
6ff86ec4
GM
8579 * vc/emerge.el (emerge-defvar-local):
8580 Set `permanent-local' property rather than unused `preserved'.
8581
be3223a3 8582 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
8583 (picture-mode-map): Use it. (Bug#10860)
8584 (picture-mode): Doc fix.
8585
3fe58f4f
JB
85862012-02-21 Juanma Barranquero <lekktu@gmail.com>
8587
8588 * newcomment.el (uncomment-region-default): Remove unused binding.
8589
f9a998c3
GM
85902012-02-21 Glenn Morris <rgm@gnu.org>
8591
8592 * textmodes/picture.el (picture-motion, picture-motion-reverse)
8593 (picture-self-insert, picture-tab-chars): Doc fix.
8594 (picture-mode-map): Fix C-a, C-e.
8595
c6029348
GM
85962012-02-20 Glenn Morris <rgm@gnu.org>
8597
8598 * emacs-lisp/authors.el (authors-aliases): Add another entry.
8599
ab1ce9d7
LL
86002012-02-20 Leo Liu <sdl.web@gmail.com>
8601
8602 * icomplete.el (icomplete-completions): Check FROM arg before
8603 passing to substring (Bug#10850).
8604
0fd40f89
CY
86052012-02-19 Chong Yidong <cyd@gnu.org>
8606
8607 * comint.el: Require ansi-color.
8608 (comint-output-filter-functions): Add ansi-color-process-output.
8609
8610 * ansi-color.el: Don't set comint-output-filter-functions; it is
8611 now in the initial value defined in comint.el.
8612 (ansi-color-apply-face-function): New variable.
8613 (ansi-color-apply-on-region): Use it.
8614 (ansi-color-apply-overlay-face): New function.
8615
8616 * shell.el (shell): No need to require ansi-color.
8617 (shell-mode): Use ansi-color-apply-face-function to highlight
8618 color escapes using font-lock-face property (Bug#10835).
8619
20af2394
CY
86202012-02-19 Chong Yidong <cyd@gnu.org>
8621
8622 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
8623 mode-line formats (Bug#10839).
8624
e23a3fbe
GM
86252012-02-18 Glenn Morris <rgm@gnu.org>
8626
b474519e
GM
8627 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
8628
8629 * mail/undigest.el (unforward-rmail-message): Doc fix.
8630
e23a3fbe
GM
8631 * saveplace.el (save-place-ignore-files-regexp): Add :version.
8632
57939ff4
EZ
86332012-02-18 Eli Zaretskii <eliz@gnu.org>
8634
8635 * international/characters.el (script-list): Sync with the latest
8636 Unicode Character Database.
8637
0c23686e
AS
86382012-02-18 Andreas Schwab <schwab@linux-m68k.org>
8639
8640 * international/titdic-cnv.el: Remove duplicate coding tag.
8641 * language/cham.el: Likewise.
8642 * language/tai-viet.el: Likewise.
8643
6818b449
GM
86442012-02-18 Glenn Morris <rgm@gnu.org>
8645
8646 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
8647 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
8648 (calendar-bahai-all-holidays-flag, calendar-other-dates):
8649 * calendar/diary-lib.el (diary-abbreviated-year-flag):
8650 * calendar/holidays.el (holiday-bahai-holidays)
8651 (calendar-holidays, list-holidays):
8652 Use utf-8 Bahá'í in doc-strings, menus, etc.
8653
0311a3fc
TH
86542012-02-17 Tassilo Horn <tassilo@member.fsf.org>
8655
8656 * saveplace.el (save-place-ignore-files-regexp): New variable
8657 allowing for excluding files from saving their location of point.
8658 The default value matches the temporary commit message editing
8659 files from Git, SVN, Bazaar, and Mercurial.
8660 (save-place-to-alist): Use it.
8661
d209e2fb 86622012-02-17 Lawrence Mitchell <wence@gmx.li>
f1a71c6e 8663 Stefan Monnier <monnier@iro.umontreal.ca>
eb864a71
LM
8664
8665 * newcomment.el (uncomment-region-default): Don't leave extra space
8666 when an arg is provided (bug#8150).
8667
ee0ce425
TZ
86682012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
8669
eb864a71 8670 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 8671
95ddf442
GM
86722012-02-17 Glenn Morris <rgm@gnu.org>
8673
8674 * net/socks.el: Require network-stream. (Bug#10599)
8675
48dd1e39 86762012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
8677
8678 * international/charprop.el:
8679 * international/uni-name.el:
8680 * international/uni-old-name.el:
8681 * international/uni-comment.el: Regenerate.
8682
d68cd087
GM
86832012-02-16 Glenn Morris <rgm@gnu.org>
8684
8685 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
8686 Interactively in calendar buffer, give an error if not on a date.
8687
13932042
GM
86882012-02-15 Glenn Morris <rgm@gnu.org>
8689
8690 * shell.el (shell-delimiter-argument-list):
8691 Revert 2011-02-17 change. (Bug#8027)
8692
c3a70e2b
CY
86932012-02-15 Chong Yidong <cyd@gnu.org>
8694
60236b0d
CY
8695 * minibuffer.el (completion-at-point-functions): Doc fix.
8696
c3a70e2b
CY
8697 * custom.el (defcustom): Doc fix; note use of defvar.
8698
9f26dc24
GM
86992012-02-15 Glenn Morris <rgm@gnu.org>
8700
8701 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
8702 Doc fixes.
8703
6546b134
GM
87042012-02-14 Glenn Morris <rgm@gnu.org>
8705
8706 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
8707
d29b2b4c
LI
87082012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
8709
8710 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
8711 way the ports list is computed.
835bdcba
LI
8712 (smtpmail-query-smtp-server): Prompt the user for a port number if
8713 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 8714
08dcdbc9
TZ
87152012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
8716
8717 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
8718
2605051a
GM
87192012-02-13 Glenn Morris <rgm@gnu.org>
8720
8721 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
8722
7ee99f32
TZ
87232012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
8724
8725 * net/gnutls.el (gnutls-trustfiles): New variable.
8726 (gnutls-negotiate): Use it.
8727
5f0af64f
LI
87282012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
8729
8730 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
8731 does its stuff if Gnus is running.
8732
c14fcc95
AM
87332012-02-13 Alan Mackenzie <acm@muc.de>
8734
8735 Fix a loop in c-set-fl-decl-start.
8736
7a71b18d 8737 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
8738 c-backward-syntactic-ws actually moves backwards.
8739
142b4d90
LL
87402012-02-13 Leo Liu <sdl.web@gmail.com>
8741
8742 * net/rcirc.el (rcirc-markup-attributes): Move point to the
8743 beginning so that all \C-o chars are removed.
8744
fa9958a6
TZ
87452012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
8746
dc9924b8 8747 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 8748
0bc5886a
AM
87492012-02-12 Alan Mackenzie <acm@muc.de>
8750
8751 Fix infinite loop with long macros.
4d6769e1 8752 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 8753
d4bd55e7
CY
87542012-02-12 Chong Yidong <cyd@gnu.org>
8755
8756 * window.el (display-buffer): Doc fix (Bug#10785).
8757
66f3fe22
GM
87582012-02-12 Glenn Morris <rgm@gnu.org>
8759
bd7da63e
GM
8760 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
8761 (x-disown-selection-internal, x-get-selection-internal):
8762 Sync docs with the xselect.c versions.
8763
66f3fe22
GM
8764 * allout-widgets.el: Add missing license notice.
8765
3e0d2fa7
GM
87662012-02-11 Glenn Morris <rgm@gnu.org>
8767
cfecdf09
GM
8768 * select.el (x-get-selection-internal, x-own-selection-internal)
8769 (x-disown-selection-internal):
8770 * x-dnd.el (x-get-selection-internal): Update declarations.
8771
6d216d7f
GM
8772 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
8773
2bed3f04
GM
8774 * window.el (window-sides-slots):
8775 * tool-bar.el (tool-bar-position):
8776 * term/xterm.el (xterm-extra-capabilities):
8777 * ses.el (ses-self-reference-early-detection):
8778 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
8779 (verilog-auto-wire-type)
8780 (verilog-auto-delete-trailing-whitespace)
8781 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
8782 (verilog-auto-tieoff-declaration):
8783 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
8784 (sql-oracle-statement-starters, sql-oracle-scan-on):
8785 * progmodes/prolog.el (prolog-align-comments-flag)
8786 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
8787 (prolog-left-indent-regexp, prolog-paren-indent-p)
8788 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
8789 (prolog-types, prolog-mode-specificators)
8790 (prolog-determinism-specificators, prolog-directives)
8791 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
8792 (prolog-electric-dot-flag)
8793 (prolog-electric-dot-full-predicate-template)
8794 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
8795 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
8796 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
8797 (prolog-program-switches, prolog-prompt-regexp)
8798 (prolog-debug-on-string, prolog-debug-off-string)
8799 (prolog-trace-on-string, prolog-trace-off-string)
8800 (prolog-zip-on-string, prolog-zip-off-string)
8801 (prolog-use-standard-consult-compile-method-flag)
8802 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
8803 (prolog-imenu-max-lines, prolog-info-predicate-index)
8804 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
8805 (prolog-char-quote-workaround):
8806 * progmodes/cc-vars.el (c-defun-tactic):
8807 * net/tramp.el (tramp-encoding-command-interactive)
8808 (tramp-local-end-of-line):
8809 * net/soap-client.el (soap-client):
8810 * net/netrc.el (netrc-file):
8811 * net/gnutls.el (gnutls):
8812 * minibuffer.el (completion-category-overrides)
8813 (completion-cycle-threshold)
8814 (completion-pcm-complete-word-inserts-delimiters):
8815 * man.el (Man-name-local-regexp):
8816 * mail/feedmail.el (feedmail-display-full-frame):
8817 * international/characters.el (glyphless-char-display-control):
8818 * eshell/em-ls.el (eshell-ls-date-format):
8819 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
8820 (lisp-lambda-list-keyword-parameter-indentation)
8821 (lisp-lambda-list-keyword-parameter-alignment):
8822 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
8823 * dired-x.el (dired-omit-verbose):
8824 * cus-theme.el (custom-theme-allow-multiple-selections):
8825 * calc/calc.el (calc-highlight-selections-with-faces)
8826 (calc-lu-field-reference, calc-lu-power-reference)
8827 (calc-note-threshold):
8828 * battery.el (battery-mode-line-limit):
8829 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
8830 (archive-7z-update):
8831 * allout.el (allout-prefixed-keybindings)
8832 (allout-unprefixed-keybindings)
8833 (allout-inhibit-auto-fill-on-headline)
8834 (allout-flattened-numbering-abbreviation):
8835 * allout-widgets.el (allout-widgets-auto-activation)
8836 (allout-widgets-icons-dark-subdir)
8837 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
8838 (allout-widgets-theme-dark-background)
8839 (allout-widgets-theme-light-background)
8840 (allout-widgets-item-image-properties-emacs)
8841 (allout-widgets-item-image-properties-xemacs)
8842 (allout-widgets-run-unit-tests-on-load)
8843 (allout-widgets-time-decoration-activity)
8844 (allout-widgets-hook-error-post-time)
8845 (allout-widgets-track-decoration):
8846 Add missing :version tags to new defcustoms and defgroups.
8847
5fec1b8e
GM
8848 * progmodes/sql.el (sql-ansi-statement-starters)
8849 (sql-oracle-statement-starters): Add custom type.
8850
3e0d2fa7
GM
8851 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
8852 (prolog-system-version): Give it a type.
8853
90b671e2
EZ
88542012-02-11 Eli Zaretskii <eliz@gnu.org>
8855
8856 * term/pc-win.el (x-select-text, x-selection-owner-p)
8857 (x-own-selection-internal, x-disown-selection-internal)
8858 (x-get-selection-internal): Sync doc strings and argument lists
8859 with xselect.c, common-win.el and x-win.el. (Bug#10783)
8860
5eac0c02
LL
88612012-02-11 Leo Liu <sdl.web@gmail.com>
8862
8863 * progmodes/python.el (python-end-of-statement): Fix infinite
8864 loop. (Bug#10788)
8865
f82cb659
GM
88662012-02-10 Glenn Morris <rgm@gnu.org>
8867
8868 * international/mule-cmds.el (unify-8859-on-encoding-mode)
8869 (unify-8859-on-decoding-mode): Properly mark as obsolete.
8870
cc26d239
LI
88712012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
8872
8873 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
8874 about SMTP before checking the From header.
8875
91027d08 8876 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
8877 into own function for reuse by emacsbug.el.
8878
1be3ca5a
LL
88792012-02-10 Leo Liu <sdl.web@gmail.com>
8880
8881 * subr.el (condition-case-unless-debug): Rename from
8882 condition-case-no-debug. All callers changed.
8883 (with-demoted-errors): Fix caller.
8884
8885 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
8886 * nxml/rng-valid.el (rng-do-some-validation):
8887 * emacs-lisp/package.el (package-refresh-contents)
8888 (package-menu-execute):
8889 * desktop.el (desktop-create-buffer):
91027d08 8890 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 8891
b011fbfe
GM
88922012-02-10 Glenn Morris <rgm@gnu.org>
8893
b2096d72
GM
8894 * textmodes/bibtex.el:
8895 Add missing :version tags for new/changed defcustoms.
8896
b011fbfe
GM
8897 * files.el (remote-file-name-inhibit-cache): Doc fixes.
8898
4c7e65bf
LI
88992012-02-09 Lars Ingebrigtsen <larsi@rusty>
8900
8901 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
8902 (smtpmail-via-smtp): Use it, or fall back on the From address.
8903 (smtpmail-send-it): Ditto.
8904
f3934f6f
SM
89052012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
8906
8907 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
8908 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
8909 (byte-compile-tmp-var): New const.
8910 (byte-compile-defvar): Use it to minimize .elc size.
8911 Just use `defvar' rather than simulate it (bug#10761).
8912
a075a2c5
GM
89132012-02-09 Glenn Morris <rgm@gnu.org>
8914
cf3aa21b
GM
8915 * files.el (rename-uniquely): Doc fix. (Bug#3806)
8916
354998cd
GM
8917 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
8918 Add :version tags.
8919
dc9924b8
SM
8920 * progmodes/compile.el (compilation-error-screen-columns)
8921 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 8922
dab3703d
GM
8923 * vc/log-view.el (log-view-toggle-entry-display):
8924 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
8925
3f88cd72
GM
8926 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
8927 (report-emacs-bug-can-use-xdg-email):
8928 (report-emacs-bug-insert-to-mailer): Doc fixes.
8929 (report-emacs-bug): Message fix.
8930
d95b247d
GM
8931 * net/browse-url.el (browse-url-can-use-xdg-open)
8932 (browse-url-xdg-open): Doc fixes.
8933
a075a2c5
GM
8934 * electric.el (electric-indent-mode, electric-pair-mode)
8935 (electric-layout-rules, electric-layout-mode): Doc fixes.
8936 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
8937
ffb6157e
MR
89382012-02-08 Martin Rudalics <rudalics@gmx.at>
8939
8940 * server.el (server-unselect-display): Don't inadvertently kill
8941 the current buffer. (Bug#10729)
8942
e1ac4066
GM
89432012-02-08 Glenn Morris <rgm@gnu.org>
8944
34e8a2da
GM
8945 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
8946 (sql-list-table): Doc fixes.
8947
b4ac6e8c
GM
8948 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
8949 Comment out (does nothing).
8950
e1ac4066
GM
8951 * completion.el (dynamic-completion-mode):
8952 * dirtrack.el (dirtrack-debug-mode):
8953 * electric.el (electric-layout-mode):
8954 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
8955 * face-remap.el (text-scale-mode, buffer-face-mode):
8956 * iimage.el (iimage-mode):
8957 * image-mode.el (image-transform-mode):
8958 * minibuffer.el (completion-in-region-mode):
8959 * scroll-lock.el (scroll-lock-mode):
8960 * simple.el (next-error-follow-minor-mode):
8961 * tar-mode.el (tar-subfile-mode):
8962 * tooltip.el (tooltip-mode):
8963 * vcursor.el (vcursor-use-vcursor-map):
8964 * wid-browse.el (widget-minor-mode):
8965 * emulation/tpu-edt.el (tpu-edt-mode):
8966 * emulation/tpu-extras.el (tpu-cursor-free-mode):
8967 * international/iso-ascii.el (iso-ascii-mode):
8968 * language/thai-util.el (thai-word-mode):
8969 * mail/supercite.el (sc-minor-mode):
8970 * net/goto-addr.el (goto-address-mode):
8971 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
8972 * progmodes/cwarn.el (cwarn-mode):
8973 * progmodes/flymake.el (flymake-mode):
8974 * progmodes/glasses.el (glasses-mode):
8975 * progmodes/hideshow.el (hs-minor-mode):
8976 * progmodes/pascal.el (pascal-outline-mode):
8977 * textmodes/enriched.el (enriched-mode):
8978 * vc/smerge-mode.el (smerge-mode):
8979 Doc fixes (minor mode argument).
8980
5e0d957f
EZ
89812012-02-07 Eli Zaretskii <eliz@gnu.org>
8982
8983 * ls-lisp.el (ls-lisp-sanitize): New function.
8984 (ls-lisp-insert-directory): Use it to fix or remove any elements
8985 in file-alist with missing attributes. (Bug#4673)
8986
98d7371e
AM
89872012-02-07 Alan Mackenzie <acm@muc.de>
8988
8989 Fix spurious recognition of c-in-knr-argdecl.
8990
8991 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
8992 putative K&R region.
8993
667ced3a
AM
89942012-02-07 Alan Mackenzie <acm@muc.de>
8995
eb864a71
LM
8996 * progmodes/cc-engine.el (c-forward-objc-directive):
8997 Prevent looping in "#pragma mark @implementation".
667ced3a 8998
5b77774d
MA
89992012-02-07 Michael Albinus <michael.albinus@gmx.de>
9000
9001 * notifications.el (notifications-on-closed-signal): Make `reason'
9002 optional. (Bug#10744)
9003
af008560
GM
90042012-02-07 Glenn Morris <rgm@gnu.org>
9005
60d47423
GM
9006 * emacs-lisp/easy-mmode.el (define-minor-mode):
9007 Doc fixes for the macro and the mode it defines.
9008
dd605cc4
GM
9009 * image.el (imagemagick-types-inhibit): Doc fix.
9010
af008560
GM
9011 * cus-start.el (imagemagick-render-type): Add it.
9012
5cc59a37
LI
90132012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
9014
4d6769e1
JB
9015 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
9016 Set the default at load time, too, so that `font-lock-fontify-buffer'
9017 can be called without setting up the entire mode first. This fixes
9018 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 9019
9a6dd747
CY
90202012-02-06 Chong Yidong <cyd@gnu.org>
9021
2d16b285
CY
9022 * simple.el (list-processes--refresh): Delete exited processes
9023 (Bug#8094).
9024
171e9b6e
CY
9025 * comint.el (comint-next-prompt): next-single-char-property-change
9026 and prev-single-char-property-change never return nil (Bug#8657).
9027
9a6dd747
CY
9028 * custom.el (defcustom): Doc fix (Bug#9711).
9029
aa4589a7
CY
90302012-02-05 Chong Yidong <cyd@gnu.org>
9031
5c2a252f
CY
9032 * cus-edit.el (custom-variable-reset-backup): Quote the value
9033 before storing it in the customized-value property (Bug#6712).
4aab9006 9034 (custom-display): Add a customization type tag.
983b9602 9035 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 9036
aa4589a7
CY
9037 * wid-edit.el (widget-field-value-get): New optional arg to
9038 suppress trailing whitespace truncation.
9039 (character): Use it (Bug#2689).
9040
1ff980ae
AS
90412012-02-05 Andreas Schwab <schwab@linux-m68k.org>
9042
9043 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
9044 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
9045
03988c98
CY
90462012-02-05 Chong Yidong <cyd@gnu.org>
9047
eeb6cc88
CY
9048 * cus-edit.el (custom-variable-value-create): For mismatched
9049 types, show the current value (Bug#7600).
9050
03988c98
CY
9051 * custom.el (defcustom): Doc fix.
9052
f8cdeef0
GM
90532012-02-05 Glenn Morris <rgm@gnu.org>
9054
9055 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
9056
0696d255
JB
90572012-02-05 Juanma Barranquero <lekktu@gmail.com>
9058
9059 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
9060 (pp-buffer): Use `ignore-errors', `looking-at-p'.
9061 (pp-last-sexp): Use `looking-at-p'.
9062
34c99998
GM
90632012-02-04 Glenn Morris <rgm@gnu.org>
9064
8f05da42
GM
9065 * files.el (revert-buffer):
9066 Doc fix (mention revert-buffer-in-progress-p).
9067
f160676e
GM
9068 * emacs-lisp/ert-x.el (ert-simulate-command):
9069 Check deferred-action-list (which is obsolete) is bound.
9070
c7291ad9
GM
9071 * subr.el (with-wrapper-hook): Doc fixes.
9072
34c99998
GM
9073 * simple.el (filter-buffer-substring-functions)
9074 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
9075
6283a7d3
LL
90762012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
9077
9078 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
9079 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
9080
e96e3013
LL
90812012-02-04 Leo Liu <sdl.web@gmail.com>
9082
9083 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
9084
8ded50f2
GM
90852012-02-04 Glenn Morris <rgm@gnu.org>
9086
82ff1d13
GM
9087 * image.el (image-extension-data): Add obsolete alias.
9088
987a0a16
GM
9089 * isearch.el (isearch-update): Doc fix.
9090
ea32ef46
GM
9091 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
9092
8ded50f2
GM
9093 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
9094
eea14f31
GM
90952012-02-03 Glenn Morris <rgm@gnu.org>
9096
9097 * image.el (image-animated-p): Doc fix. Use image-animated-types.
9098 (image-animate-timeout): Doc fix.
9099
9100 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
9101
12f381b7
GM
91022012-02-02 Glenn Morris <rgm@gnu.org>
9103
953cebf5
GM
9104 * server.el (server-auth-dir): Doc fix.
9105 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
9106
12f381b7
GM
9107 * subr.el (run-mode-hooks): Doc fix.
9108
953a8c3b
JL
91092012-02-02 Juri Linkov <juri@jurta.org>
9110
9111 * image-mode.el (image-toggle-display-image): Remove tautological
9112 `major-mode' from the `derived-mode-p' test.
9113
c5d3843c
KH
91142012-02-02 Kenichi Handa <handa@m17n.org>
9115
9f6e692e 9116 * composite.el (compose-region): Cancel previous change.
c5d3843c 9117
159462d4 91182012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
9119
9120 * composite.el (compose-region, compose-string): Signal error for
9121 a null string component (Bug#6988).
9122
9f562668
CY
91232012-02-01 Chong Yidong <cyd@gnu.org>
9124
e2cef717
CY
9125 * view.el (view-buffer-other-window, view-buffer-other-frame):
9126 Handle special modes like view-buffer (Bug#10650).
9127 (view-buffer): Simplify.
9128
9f562668
CY
9129 * frame.el (set-frame-font): Tweak meaning of third argument.
9130
9f6e692e
JB
9131 * dynamic-setting.el (font-setting-change-default-font):
9132 Use set-frame-font (Bug#9982).
9f562668 9133
781acb9f
GM
91342012-02-01 Glenn Morris <rgm@gnu.org>
9135
6035be52
GM
9136 * progmodes/compile.el (compilation-internal-error-properties):
9137 Respect compilation-first-column in the "*compilation*" buffer.
9138
781acb9f
GM
9139 * emacs-lisp/easy-mmode.el (define-minor-mode):
9140 Relax :variable's test for a named function.
9141
abbceb00
AM
91422012-01-31 Alan Mackenzie <acm@muc.de>
9143
9144 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
9145 off by one error.
9146
fce3fdeb
CY
91472012-01-31 Chong Yidong <cyd@gnu.org>
9148
9149 * frame.el (set-frame-font): New arg ALL-FRAMES.
9150
9151 * menu-bar.el (menu-set-font): Use set-frame-font.
9152
9153 * faces.el (face-spec-reset-face): Don't apply unspecified
9154 attribute values to the default face.
9155
47893581
JB
91562012-01-31 Juanma Barranquero <lekktu@gmail.com>
9157
9158 * progmodes/cwarn.el (cwarn): Remove dead link.
9159 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
9160 Remove * from defcustom docstrings.
9161 (turn-on-cwarn-mode): Make obsolete.
9162 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
9163 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
9164
e58e988a
GM
91652012-01-31 Glenn Morris <rgm@gnu.org>
9166
60dc2671 9167 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 9168 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 9169 Allow named functions to be used as the cdr of :variable.
e58e988a 9170
7a3f511d
GM
91712012-01-30 Glenn Morris <rgm@gnu.org>
9172
9173 * emacs-lisp/authors.el (authors-fixed-entries):
9174 Remove reference to deleted file rnewspost.el.
9175
cb882333
JB
91762012-01-29 Juanma Barranquero <lekktu@gmail.com>
9177
9178 * window.el (window-with-parameter): Remove unused variable `windows'.
9179 (window--side-check): Remove unused variable `code'.
9180 (window--resize-siblings): Remove unused variable `first'.
9181 (adjust-window-trailing-edge): Remove unused variable `failed'.
9182 (window-deletable-p, window--delete): Remove unused variable `buffer'.
9183 Use `let', not `let*'.
9184 (balance-windows-2): Remove unused variable `found'.
9185 (window--state-put-2): Remove unused variable `splits'.
9186 (window-state-put): Remove unused variable `selected'.
9187 (same-window-p): Use `string-match-p'.
9188 (display-buffer-assq-regexp): Remove unused variable `value'.
9189 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
9190 Mark argument ALIST as ignored.
9191 (pop-to-buffer): Remove unused variable `old-window'.
9192
907201af
EZ
91932012-01-29 Eli Zaretskii <eliz@gnu.org>
9194
9195 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
9196 and .lzma compressed files.
9197
ea162670
CY
91982012-01-29 Chong Yidong <cyd@gnu.org>
9199
5b95ee8a
CY
9200 * frame.el (window-system-default-frame-alist): Doc fix.
9201
ea162670
CY
9202 * dynamic-setting.el (font-setting-change-default-font): Don't
9203 change the default face if SET-FONT argument is non-nil (Bug#9982).
9204
d6e6f4b1
SB
92052012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
9206
9207 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
9208
0f29fa41 92092012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
9210
9211 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
9212 breakpoints in files outside current directory (Bug#6098).
9213
db174434
CY
92142012-01-29 Chong Yidong <cyd@gnu.org>
9215
6b25e4e2
SE
9216 * progmodes/python.el: Require ansi-color at top-level.
9217
6df6ae42
JB
9218 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
9219 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
9220 (lisp-mode-abbrev-table): Add doc.
9221 (lisp-mode-variables): Don't set local-abbrev-table.
9222 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
9223
e70ee681
RW
92242012-01-28 Roland Winkler <winkler@gnu.org>
9225
9226 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
9227
ace88aa2
RW
92282012-01-28 Roland Winkler <winkler@gnu.org>
9229
9230 * textmodes/bibtex.el (bibtex-entry-alist): New function.
9231 (bibtex-set-dialect): Use it. Either set global values of
9232 dialect-dependent variables or bind these variables buffer-locally
9233 (Bug#10254).
9234 (bibtex-mode): Call bibtex-set-dialect via
9235 hack-local-variables-hook.
eb864a71
LM
9236 (bibtex-dialect): Update docstring.
9237 Add safe-local-variable predicate.
ace88aa2
RW
9238 (bibtex-entry-alist, bibtex-field-alist): Initialize via
9239 bibtex-set-dialect.
9240 (bibtex-mode-map): Define menu for each dialect.
9241 (bibtex-entry): Fix docstring.
9242
93376c5b
CY
92432012-01-28 Chong Yidong <cyd@gnu.org>
9244
9245 * eshell/esh-arg.el (eshell-quote-argument): New function.
9246
9247 * eshell/esh-ext.el (eshell-invoke-batch-file):
9248 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
9249 first arg to eshell-parse-command (Bug#10523).
9250
4372494f
DA
92512012-01-28 Drew Adams <drew.adams@oracle.com>
9252
9253 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
9254 `default-directory' is non-nil.
9255
4d4ec1f8
EZ
92562012-01-28 Eli Zaretskii <eliz@gnu.org>
9257
9258 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
9259 line that displays system-configuration-options. (Bug#9924)
9260
7c188927
DA
92612012-01-28 Drew Adams <drew.adams@oracle.com>
9262
9263 * descr-text.el (describe-char): Show information about POS, in
9264 addition to information about the character at POS. Improve and
9265 update the doc string. Change "code point" to "code point in
9266 charset", to avoid confusion with the character's Unicode code
9267 point shown above that. (Bug#10129)
9268
e0da685a
EZ
92692012-01-28 Eli Zaretskii <eliz@gnu.org>
9270
9271 * descr-text.el (describe-char): Show the raw character, not only
9272 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
9273 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
9274 for the reasons.
9275
70550acf
PH
92762012-01-28 Phil Hagelberg <phil@hagelb.org>
9277
eb864a71
LM
9278 * emacs-lisp/package.el (package-install):
9279 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 9280
0ce8e868
CY
92812012-01-28 Chong Yidong <cyd@gnu.org>
9282
cb882333
JB
9283 * emacs-lisp/package.el (package-maybe-load-descriptor):
9284 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
9285 (package-maybe-load-descriptor): Use it.
9286 (package-download-transaction): Fully load required packages
9287 inside the loop, so that `require' calls work (Bug#10593).
9288 (package-install): No need to call package-initialize now.
9289
2e7f3bea
CY
92902012-01-28 Chong Yidong <cyd@gnu.org>
9291
6e9bad14
CY
9292 * simple.el (deactivate-mark): Doc fix (Bug#8614).
9293
f823b8ca
CY
9294 * tooltip.el (tooltip-mode): Doc fix.
9295 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
9296
2680c309
CY
9297 * frame.el (set-cursor-color): Doc fix (Bug#352).
9298
d7a9e63b
CY
9299 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
9300 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
9301
2e7f3bea
CY
9302 * cus-edit.el (custom-buffer-create-internal): Fix search button
9303 action (Bug#10542).
2ae01800 9304 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 9305
fc4f7a23
EW
93062012-01-27 Eduard Wiebe <usenet@pusto.de>
9307
9308 * dired.el (dired-mark-files-regexp):
9309 Include any subdirectory components. (Bug#10445)
9310
7dd37071
ML
93112012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
9312
9313 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
9314 Handle [host]:port syntax. (Bug#10533)
9315
a268160b
AH
93162012-01-27 Alex Harsanyi <harsanyi@mac.com>
9317
9318 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
9319
e43273ef
GM
93202012-01-26 Glenn Morris <rgm@gnu.org>
9321
9322 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
9323 * term.el (term-raw-escape-map): Use Control-X-prefix.
9324 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
9325
1edf595d
MR
93262012-01-25 Martin Rudalics <rudalics@gmx.at>
9327
9328 * window.el (window-state-get, window--state-get-1): Don't deal
9329 with fixed-sizeness of windows. Simplify code.
9330
fa8eafef
JC
93312012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
9332
6df6ae42
JB
9333 * window.el (window--state-get-1, window--state-put-2):
9334 Don't save and restore the mark.
fa8eafef 9335
0b21c100
CY
93362012-01-25 Chong Yidong <cyd@gnu.org>
9337
9338 * custom.el (custom-variable-p): Doc fix.
9339
5ae1a6c8
GM
93402012-01-25 Glenn Morris <rgm@gnu.org>
9341
40047858
GM
9342 * dired.el (dired-goto-file): Handle some of the more common
9343 characters that `ls -b' escapes. (Bug#10596)
9344
5ddce96c
GM
9345 * progmodes/compile.el (compilation-next-error-function):
9346 Respect compilation-first-column in the "*compilation*" buffer.
9347 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
9348
5ae1a6c8
GM
9349 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
9350
b559f1a9
GM
93512012-01-24 Glenn Morris <rgm@gnu.org>
9352
9353 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
9354
6725d21a
JD
93552012-01-24 Julien Danjou <julien@danjou.info>
9356
9357 * color.el (color-rgb-to-hsl): Fix value computing.
9358 (color-hue-to-rgb): New function.
9359 (color-hsl-to-rgb): New function.
9360 (color-clamp, color-saturate-hsl, color-saturate-name)
9361 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
9362 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
9363
70df4bbe
GM
93642012-01-24 Glenn Morris <rgm@gnu.org>
9365
9366 * vc/vc-rcs.el (vc-rcs-create-tag):
9367 * vc/vc-sccs.el (vc-sccs-create-tag):
9368 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
9369
802a2ae2
ML
93702012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
9371
9372 * eshell/esh-util.el (eshell-read-hosts-file):
9373 Skip comment lines. (Bug#10549)
9374
d7128bb1
ML
9375 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
9376
d1a5c3b4
JB
93772012-01-23 Juanma Barranquero <lekktu@gmail.com>
9378
2724d9c7
JB
9379 * subr.el (display-delayed-warnings): Doc fix.
9380 (collapse-delayed-warnings): New function to collapse identical
9381 adjacent warnings.
9382 (delayed-warnings-hook): Add it.
d1a5c3b4 9383
a5509865
MA
93842012-01-22 Michael Albinus <michael.albinus@gmx.de>
9385
9386 * net/tramp.el (tramp-action-login): Set connection property "login-as".
9387
a5509865
MA
9388 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
9389 (tramp-default-user-alist): Don't add "pscp".
9390 (tramp-do-copy-or-rename-file-out-of-band): Use connection
9391 property "login-as", if set. (Bug#10530)
9392
cc6d5805
MA
93932012-01-21 Michael Albinus <michael.albinus@gmx.de>
9394
9395 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
9396 "plink1" and "psftp". (Bug#10530)
9397
93982012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
9399
9400 * international/mule-cmds.el (prefer-coding-system): Show a
9401 warning message if the default value of file-name-coding-system
9402 was not changed.
9403
f0960428
JC
94042012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
9405
cb882333
JB
9406 * windmove.el (windmove-reference-loc):
9407 Fix windmove-reference-loc miscalculation.
f0960428 9408
dd6f2a63
JB
94092012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
9410
9411 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
9412 default unit.
9413
7b447e9b
GM
94142012-01-21 Glenn Morris <rgm@gnu.org>
9415
117a9ea1
GM
9416 * international/mule.el (auto-coding-alist): Add .tbz.
9417
7b447e9b
GM
9418 * files.el (local-enable-local-variables): Doc fix.
9419 (inhibit-local-variables-regexps): Rename from
9420 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
9421 Doc fix. Add some extensions from auto-coding-alist.
9422 (inhibit-local-variables-suffixes):
9423 Rename from inhibit-first-line-modes-suffixes. Doc fix.
9424 (inhibit-local-variables-p):
9425 New function, extracted from set-auto-mode-1.
9426 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
9427 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
9428 (hack-local-variables): Doc fix. Make the mode-only case
9429 respect enable-local-variables and friends.
9430 Respect inhibit-local-variables-regexps for file-locals, but
9431 not for directory-locals.
9432 (set-visited-file-name):
9433 Take account of inhibit-local-variables-regexps.
9434 Whether it applies may change as the file name is changed.
9435 * jka-cmpr-hook.el (jka-compr-install):
9436 * jka-compr.el (jka-compr-uninstall):
9437 Update for inhibit-first-line-modes-suffixes name change.
9438
dd6e3cdd
MR
94392012-01-20 Martin Rudalics <rudalics@gmx.at>
9440
9441 * help-macro.el (make-help-screen): Temporarily restore original
9442 binding for minor-mode-map-alist (Bug#10454).
9443
0d0deb38
JD
94442012-01-19 Julien Danjou <julien@danjou.info>
9445
9446 * color.el (color-name-to-rgb): Use the white color to find the max
9447 color component value and return correctly computed values.
9448 (color-name-to-rgb): Add missing float conversion for max value.
9449
34a02f46
MR
94502012-01-19 Martin Rudalics <rudalics@gmx.at>
9451
9452 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
9453 special state value for window-persistent-parameters.
9454 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
9455 (window--state-put-2): Reset all window parameters to nil before
9456 assigning values of persistent parameters.
9457
606c44c4
AM
94582012-01-18 Alan Mackenzie <acm@muc.de>
9459
9460 Eliminate sluggishness and hangs in fontification of "semicolon
9461 deserts".
9462
cb882333
JB
9463 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
9464 Change value 10000 -> 3000.
606c44c4
AM
9465 (c-state-safe-place): Reformulate so it doesn't stack up an
9466 infinite number of wrong entries in c-state-nonlit-pos-cache.
9467 (c-determine-limit-get-base, c-determine-limit): New functions to
9468 determine backward search limits disregarding literals.
9469 (c-find-decl-spots): Amend commenting.
9470 (c-cheap-inside-bracelist-p): New function which detects "={".
9471
9472 * progmodes/cc-fonts.el
9473 (c-make-font-lock-BO-decl-search-function): Give a limit to a
9474 backward search.
9475 (c-font-lock-declarations): Fix an occurrence of point being
9476 undefined. Check additionally for point being in a bracelist or
9477 near a macro invocation without a semicolon so as to avoid a
9478 fruitless time consuming search for a declarator. Give a more
9479 precise search limit for declarators using the new
9480 c-determine-limit.
9481
f3860cea
GM
94822012-01-18 Glenn Morris <rgm@gnu.org>
9483
9484 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
9485 (set-auto-mode): Doc fixes.
9486
1db03b16
GM
94872012-01-17 Glenn Morris <rgm@gnu.org>
9488
0e6038be
GM
9489 * isearch.el (search-nonincremental-instead): Fix doc typo.
9490
1db03b16
GM
9491 * dired.el (dired-insert-directory): Handle newlines in directory name.
9492 (dired-build-subdir-alist): Unescape newlines in directory name.
9493
4cb0aa75
MA
94942012-01-17 Michael Albinus <michael.albinus@gmx.de>
9495
9496 * net/tramp.el (tramp-local-end-of-line): New defcustom.
9497 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
9498 (tramp-action-terminal): Use it. (Bug#10530)
9499
1d00653d
SM
95002012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
9501
9502 * minibuffer.el (completion--replace): Strip properties (bug#10062).
9503
6a6ee00d
MR
95042012-01-16 Martin Rudalics <rudalics@gmx.at>
9505
9506 * window.el (window-state-ignored-parameters): Remove variable.
9507 (window--state-get-1): Rename argument MARKERS to IGNORE.
9508 Handle persistent window parameters. Make copy of clone-of
9509 parameter only if requested. (Bug#10348)
9510 (window--state-put-2): Install a window parameter only if it has
9511 a non-nil value or an existing parameter shall be overwritten.
9512
97912def
MA
95132012-01-15 Michael Albinus <michael.albinus@gmx.de>
9514
9515 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
9516
688070a5
EZ
95172012-01-14 Eli Zaretskii <eliz@gnu.org>
9518
9519 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
9520 don't pass the (nil) value of `upnode' to string-match.
9521
301afadc
CY
95222012-01-14 Chong Yidong <cyd@gnu.org>
9523
9524 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 9525 Fix values recognized by the cursorBlink resource.
301afadc 9526
9e5788aa
PE
95272012-01-14 Paul Eggert <eggert@cs.ucla.edu>
9528
9529 * epg.el (epg--make-temp-file): Avoid permission race condition
9530 when running on old Emacs versions (bug#10403).
9531
3cdb7f5a
GM
95322012-01-14 Glenn Morris <rgm@gnu.org>
9533
9534 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
9535
8c82b1b4
AM
95362012-01-13 Alan Mackenzie <acm@muc.de>
9537
9538 Fix filling for when filladapt mode is enabled.
9539
9540 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
9541 c-mask-paragraph, pass in `fill-paragraph' rather than
9542 `fill-region-as-paragraph'. (This is a reversion of a previous
9543 change.)
eb864a71
LM
9544 * progmodes/cc-mode.el (c-basic-common-init):
9545 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 9546
e517eda4
GM
95472012-01-13 Glenn Morris <rgm@gnu.org>
9548
1498536e
GM
9549 * dired.el (dired-switches-escape-p): New function.
9550 (dired-insert-directory): Use dired-switches-escape-p.
9551 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
9552
e517eda4
GM
9553 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
9554
328f984d
GM
95552012-01-12 Glenn Morris <rgm@gnu.org>
9556
9557 * mail/sendmail.el (mail-mode): Update paragraph-separate for
9558 changes in adaptive-fill-regexp. (Bug#10276)
9559
2cc769a8
AM
95602012-01-11 Alan Mackenzie <acm@muc.de>
9561
9562 Fix Emacs bug #10463 - put `widen's around the critical spots.
9563
1d00653d 9564 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
9565 widen around each invocation of c-state-pp-to-literal. Remove an
9566 unused let variable.
9567
e52c37fa
GM
95682012-01-11 Glenn Morris <rgm@gnu.org>
9569
9570 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 9571 Doc fix.
e52c37fa 9572
96f8741e
CY
95732012-01-10 Chong Yidong <cyd@gnu.org>
9574
1d00653d
SM
9575 * net/network-stream.el (network-stream-open-starttls):
9576 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
9577 response to the capability command.
9578
b09a806e
GM
95792012-01-10 Glenn Morris <rgm@gnu.org>
9580
9581 * mail/unrmail.el (unrmail): Tweak previous change.
9582
7655cb66
CY
95832012-01-09 Chong Yidong <cyd@gnu.org>
9584
9585 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
9586
9d5a8f0b
AM
95872012-01-08 Alan Mackenzie <acm@muc.de>
9588
9589 Optimise font locking in long enum definitions.
9590
9591 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
9592 arm to a cond form to handle enums.
9593 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
9594 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
9595
9a0115ab 95962012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
9597
9598 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 9599 (Bug#10401)
6bb72cbd 9600
f186bb95
LMI
96012012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
9602
29232a68
LMI
9603 * faces.el (set-face-attribute): Clarify the meaning of the nil
9604 frame (bug#10294).
9605
4e5d086d
LMI
9606 * subr.el (with-selected-frame): Mention that the selected frame
9607 is restored (bug#9980).
9608
8e66aebe
LMI
9609 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
9610 (bug#9759).
9611
cd394be1 9612 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
9613 (password-read): Don't autoload unused function.
9614
adf4e762
JB
96152012-01-07 Juanma Barranquero <lekktu@gmail.com>
9616
9617 * progmodes/which-func.el (which-func-mode): Turn into a
9618 non-interactive function and mark as obsolete (bug#10428).
9619
89bd9ccd
CY
96202012-01-06 Chong Yidong <cyd@gnu.org>
9621
9622 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
9623 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
9624 functions, along with 1 and -1.
9625
4afee9d5
EZ
96262012-01-06 Eli Zaretskii <eliz@gnu.org>
9627
9628 * time.el (display-time-load-average)
9629 (display-time-default-load-average): Doc fixes. See the thread
9630 starting at
9631 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
9632 for the details.
9633
536aea70
GM
96342012-01-06 Glenn Morris <rgm@gnu.org>
9635
665ae865
GM
9636 * mail/unrmail.el (unrmail): Give an explicit error if the input file
9637 has no messages. (Bug#10377)
9638
c869783d
GM
9639 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
9640 than Info-edit. (Bug#10385)
9641
2bb4227e
GM
9642 * time.el (display-time-load-average, display-time-next-load-average):
9643 Doc fixes.
9644
7d5944b9
GM
9645 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
9646 local setting of buffer-read-only to the input buffer. (Bug#10419)
9647
536aea70
GM
9648 * calendar/calendar.el (calendar-mode):
9649 Locally set scroll-margin to 0. (Bug#10379)
9650
7dccca16
UM
96512012-01-06 Ulrich Mueller <ulm@gentoo.org>
9652
9653 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
9654
afbb7930
GM
96552012-01-05 Glenn Morris <rgm@gnu.org>
9656
9657 * eshell/em-unix.el (diff-no-select): Autoload it.
9658 (eshell/diff): Use diff-no-select. (Bug#10420)
9659
04482335
CY
96602012-01-05 Chong Yidong <cyd@gnu.org>
9661
7baca3bc
CY
9662 * shell.el (shell-dynamic-complete-functions): Revert last change.
9663 (shell-command-completion-function): New function.
9664 (shell-completion-vars): Use it to implement
9665 shell-completion-execonly (Bug#10417).
9666
04482335
CY
9667 * custom.el (enable-theme): Don't set custom-safe-themes.
9668
1d00653d
SM
9669 * cus-theme.el (custom-theme-merge-theme):
9670 Ignore custom-enabled-themes and custom-safe-themes.
04482335 9671
bb5aa5d6
MM
96722012-01-05 Michael R. Mauger <mmaug@yahoo.com>
9673
9674 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
9675 first prompt in `sql-interacive-mode'.
9676 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 9677 keywords.
6df6ae42 9678 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
9679 (sql-product-interactive): Bug fix: Set `sql-buffer' in
9680 context of original buffer. Invoke `sql-login-hook'.
9681
a7183d7c
EZ
96822012-01-04 Eli Zaretskii <eliz@gnu.org>
9683
9684 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
9685 letters in cite-prefix.
9686
a1eacd1e
LMI
96872012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9688
9689 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
9690
787cdb34
CY
96912012-01-03 Chong Yidong <cyd@gnu.org>
9692
1d00653d
SM
9693 * shell.el (shell-dynamic-complete-functions):
9694 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
9695 comint-filename-completion first (Bug#10417).
9696
30710442
RS
96972012-01-02 Richard Stallman <rms@gnu.org>
9698
9699 * battery.el (battery-status-function):
9700 Detect when to use battery-yeeloong-sysfs.
9701 (battery-echo-area-format): Add string for Yeeloong.
9702 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
9703 (battery-yeeloong-sysfs): New function.
9704
f75bfc33
CY
97052012-01-02 Chong Yidong <cyd@gnu.org>
9706
9707 * dirtrack.el (dirtrack-list): Eliminate unused third element.
9708 (dirtrack): Merge code for handling relative filenames in prompt
9709 from shell-dir-cookie-watcher.
9710 (dirtrack-debug-message): New arg to avoid excess format calls.
9711
9712 * shell.el (shell-dir-cookie-re): Variable deleted.
9713 (shell-dir-cookie-watcher): Function deleted.
9714 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
9715 with dirtrack-mode.
9716
651e947e
EZ
97172012-01-01 Eli Zaretskii <eliz@gnu.org>
9718
1d00653d
SM
9719 * term/w32-win.el (dynamic-library-alist) <gnutls>:
9720 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
9721 libgnutls-26.dll.
9722
94d4c7dc
AS
97232011-12-31 Andreas Schwab <schwab@linux-m68k.org>
9724
9725 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
9726
8d43f3cd
EZ
97272011-12-31 Eli Zaretskii <eliz@gnu.org>
9728
9729 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
9730 headers of non-MIME messages, when rmail-enable-mime is non-nil.
9731
98c8795a
MA
97322011-12-29 Michael Albinus <michael.albinus@gmx.de>
9733
9734 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
9735 also for alternative shells.
9736 (tramp-open-connection-setup-interactive-shell): Check, whether
9737 the shell is a busybox.
9738 (tramp-send-command): Don't suppress multiple prompts for
9739 busyboxes, it hurts.
9740
51281b32
CY
97412011-12-28 Chong Yidong <cyd@gnu.org>
9742
9743 * progmodes/gdb-mi.el (gdb-get-source-file-list)
9744 (gdb-get-source-file): Move mode line update to
9745 gdb-get-source-file (Bug#10087).
9746
2170cb53
CY
97472011-12-25 Chong Yidong <cyd@gnu.org>
9748
9749 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
9750 gud-gdb-marker-filter without taking it as an argument.
9751 (gud-gdb-run-command-fetch-lines): Caller changed.
9752 (gud-gdb-completion-function): New variable.
9753 (gud-gdb-completion-at-point): Use it.
9754 (gud-gdb-completions-1): Split from gud-gdb-completions.
9755
9756 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
9757 function as separate arguments.
9758 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
9759 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
9760 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
9761 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
9762 (gdb-stopped, def-gdb-auto-update-trigger)
9763 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
9764 (gdb-get-changed-registers, gdb-get-main-selected-frame):
9765 Callers changed.
2170cb53
CY
9766 (gud-gdbmi-completions): New function.
9767 (gdb): Use it for generating the completion table.
9768
be8b11bb
AM
97692011-12-24 Alan Mackenzie <acm@muc.de>
9770
9771 Introduce a mechanism to widen the region used in context font
1d00653d 9772 locking. Use this to protect declarations from losing their contexts.
be8b11bb 9773
1d00653d
SM
9774 * progmodes/cc-langs.el (c-before-font-lock-functions):
9775 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 9776 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
9777 functions to be run just before context (etc.) font locking.
9778
9779 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 9780 New, functionality extracted from
be8b11bb 9781 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 9782 (c-in-after-change-fontification): New variable.
be8b11bb
AM
9783 (c-after-change): Set c-in-after-change-fontification.
9784 (c-set-fl-decl-start): Rejig its interface, so it can be called
9785 from both after-change and context fontifying.
b81d40f0
JB
9786 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
9787 New functions.
9788 (c-standard-font-lock-fontify-region-function): New variable.
9789 (c-font-lock-fontify-region): New function.
be8b11bb 9790
341cf6ac
JL
97912011-12-24 Juri Linkov <juri@jurta.org>
9792
9793 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
9794 (Bug#10348)
9795
bffcee0a
MA
97962011-12-23 Michael Albinus <michael.albinus@gmx.de>
9797
9798 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
9799 existence of source file. (Bug#10325)
9800
cb5e207c
AM
98012011-12-23 Alan Mackenzie <acm@muc.de>
9802
9803 Fix unstable fontification inside templates.
9804
b81d40f0
JB
9805 * progmodes/cc-langs.el (c-before-font-lock-functions):
9806 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
9807 additionally has c-set-fl-decl-start. The other languages (apart
9808 from AWK) have that as a single entry.
9809
b81d40f0
JB
9810 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
9811 The functionality for "local" declarations has been extracted to
cb5e207c
AM
9812 c-set-fl-decl-start.
9813
b81d40f0
JB
9814 * progmodes/cc-mode.el (c-common-init, c-after-change):
9815 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
9816 (c-set-fl-decl-start): New function, extracted from
9817 c-font-lock-enclosing-decls and enhanced.
9818
60ff536c
JB
98192011-12-23 Juanma Barranquero <lekktu@gmail.com>
9820
9821 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
9822
1c4757d6
JL
98232011-12-22 Juri Linkov <juri@jurta.org>
9824
9825 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
9826
d031f2c7
CY
98272011-12-22 Chong Yidong <cyd@gnu.org>
9828
9829 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
9830
bace743a
DA
98312011-12-21 Drew Adams <drew.adams@oracle.com>
9832
9833 * files.el (file-remote-p): Fix docstring. (Bug#10319)
9834
728a1f2b
JC
98352011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
9836
9837 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
9838
0d373f73
TZ
98392011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
9840
fec0aaa4
TZ
9841 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
9842 highlighting and support. Fix up comments for capitalization.
9843 (cfengine-mode-debug): New var.
9844 (cfengine3-mode): Change the modeline indicator to "CFE3".
9845 (cfengine3-font-lock-keywords): Improve defun highlighting.
9846 (cfengine2-actions): Rename from `cfengine-actions'.
9847 (cfengine2-font-lock-keywords): Rename from
9848 `cfengine-font-lock-keywords'.
9849 (cfengine2-imenu-expression): Rename from
9850 `cfengine-imenu-expression'.
9851 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
9852 (cfengine2-beginning-of-defun): Rename from
9853 `cfengine-beginning-of-defun'.
9854 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
9855 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
9856 (cfengine2-mode): Rename from `cfengine-mode'. Change the
9857 modeline indicator to "CFE2".
9858 (cfengine-mode): Defalias to `cfengine-auto-mode'.
9859 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 9860
bc86f573
CY
98612011-12-21 Chong Yidong <cyd@gnu.org>
9862
9863 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
9864 filename argument.
9865
d45ba96b
MR
98662011-12-20 Martin Rudalics <rudalics@gmx.at>
9867
9868 * window.el (window-normalize-buffer-to-display): Remove.
9869 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
9870
a6198c90
CY
98712011-12-19 Chong Yidong <cyd@gnu.org>
9872
9873 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
9874 Don't signal an error in a predicate function; return non-nil.
9875 (vc-dir-mark-file): Move the error here.
9876 (vc-dir-mark-unmark): If acting on the region, keep going if one
9877 of the entries cannot be marked/unmarked.
9878 (vc-dir-mark-all-files): If current entry is a directory, mark
9879 only child files, as documented.
9880
34c5fb55
VB
98812011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
9882
9883 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
9884 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
9885 addition.
9886
c803b2b7
JD
98872011-12-18 Jan Djärv <jan.h.d@swipnet.se>
9888
9889 * term/ns-win.el (ns-get-selection-internal)
9890 (ns-store-selection-internal): Declare.
1154d12e
JB
9891 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
9892 Declare as obsolete.
9893 (ns-get-pasteboard, ns-paste-secondary):
9894 Use ns-get-selection-internal.
41e9b956 9895 (ns-set-pasteboard, ns-copy-including-secondary):
1154d12e 9896 Use ns-store-selection-internal.
c803b2b7 9897
9cff91f8 98982011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
9899
9900 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 9901 (vc-deduce-fileset): Doc fix.
99a289d9 9902
f16c898a
AS
99032011-12-16 Andreas Schwab <schwab@linux-m68k.org>
9904
9905 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
9906
763237c4
SS
99072011-12-13 Sam Steingold <sds@gnu.org>
9908
9909 * man.el (Man-getpage-in-background): When running under a
9910 window-system, ignore $MANWIDTH and $COLUMNS.
9911
5fc1c122
KH
99122011-12-15 Kenichi Handa <handa@m17n.org>
9913
9914 * language/ethio-util.el: Change coding tag to utf-8-emacs.
9915 (setup-ethiopic-environment-internal): Comment out key-binding for
9916 ethio-toggle-punctuation.
9917
13d49cbb
AM
99182011-12-13 Alan Mackenzie <acm@muc.de>
9919
898169a2
AM
9920 Add the switch statement to AWK Mode.
9921
7a71b18d 9922 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
9923 "default" to the keywords regexp.
9924
7a71b18d 9925 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 9926 expression as the rest.
1d00653d
SM
9927 (c-nonlabel-token-key): Allow string literals for AWK.
9928 Refactor for the other modes.
898169a2 9929
13d49cbb 9930 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 9931 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
9932 routines. Limit backward searching in c-font-lock-enclosing.decl.
9933
9934 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
9935 pp-state and literal type in addition to the limits.
1d00653d 9936 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 9937 (c-state-literal-at): Use the above new defun.
1d00653d
SM
9938 (c-slow-in-literal, c-fast-in-literal): Remove.
9939 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
9940
9941 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
9942 being in a literal. Add a limit for backward searching.
9943
9944 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
9945 c-slow-in-literal.
9946
15e0efc7
SM
99472011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
9948
9949 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
9950
454592a6
MR
99512011-12-13 Martin Rudalics <rudalics@gmx.at>
9952
9953 * window.el (delete-other-windows): Use correct frame in call to
9954 window-with-parameter.
9955
87393f26
DP
99562011-12-12 Daniel Pfeiffer <occitan@t-online.de>
9957
9958 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
9959 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
9960 (makefile-gmake-statements, makefile-makepp-statements):
9961 Use it and add new makepp keywords.
9962 (makefile-makepp-font-lock-keywords): Add new patterns.
9963 (makefile-match-function-end): Match new [...] and [[...]].
9964
11636b22
JB
99652011-12-11 Juanma Barranquero <lekktu@gmail.com>
9966
9967 * ses.el (ses-call-printer-return, ses-cell-property-get)
9968 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
9969 (ses-create-cell-variable, ses-reset-header-string)
9970 (ses-cell-set-formula, ses-repair-cell-reference-all)
9971 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
9972 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
9973 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
9974 (ses-aset-with-undo, ses-load, ses-truncate-cell)
9975 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
9976 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
9977 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
9978 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
9979 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
9980 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
9981 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
9982 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
9983
cf018193
VB
99842011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
9985
9986 * ses.el: The overall change is to add cell renaming, that is
9987 setting fancy names for cell symbols other than name matching
9988 "\\`[A-Z]+[0-9]+\\'" regexp .
9989 (ses-create-cell-variable): New defun.
9990 (ses-relocate-formula): Relocate formulas only for cells the
9991 symbols of which are not renamed, i.e. symbols whose names do not
9992 match regexp "\\`[A-Z]+[0-9]+\\'".
9993 (ses-relocate-all): Relocate values only for cells the symbols of
9994 which are not renamed.
9995 (ses-load): Create cells variables as the (ses-cell ...) are read,
9996 in order to check row col consistency with cell symbol name only
9997 for cells that are not renamed.
9998 (ses-replace-name-in-formula): New defun.
9999 (ses-rename-cell): New defun.
10000
ee957461
CY
100012011-12-11 Chong Yidong <cyd@gnu.org>
10002
10003 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
10004 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
10005
9a9e9ef0
MR
100062011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
10007
10008 * window.el (other-window): Fix docstring.
10009
92a8eba5
EZ
100102011-12-10 Eli Zaretskii <eliz@gnu.org>
10011
10012 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
10013 `from' or `to' address before taking its substring.
10014 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
10015 encoded name is chopped in the middle of the encoded string, and
10016 thus displayed encoded.
10017
e152e577
JB
100182011-12-10 Juanma Barranquero <lekktu@gmail.com>
10019
10020 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
10021
e5d84bfe
EZ
100222011-12-10 Eli Zaretskii <eliz@gnu.org>
10023
10024 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
10025 to use texinfo-update-node and commands that call it if the
10026 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 10027 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
10028 (texinfo-all-menus-update, texinfo-master-menu)
10029 (texinfo-update-node, texinfo-every-node-update)
10030 (texinfo-multiple-files-update): Doc fix. Warn against updating
10031 all the @node lines.
10032 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
10033 argument is numeric. Explain better in the doc string what the
10034 function really does.
10035 (texinfo-insert-master-menu-list): Improve the error message
10036 displayed if there's no menu in the Top node.
10037 (Bug#2975) See also this thread:
e5d84bfe
EZ
10038 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
10039
1d84e9bb
MG
100402011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
10041
10042 * speedbar.el (speedbar-supported-extension-expressions):
10043 Add .adb and .ads, commonly used for Ada source code (bug#10256).
10044
382c953b
JB
100452011-12-09 Juanma Barranquero <lekktu@gmail.com>
10046
10047 * printing.el (pr-mode-alist):
10048 * simple.el (filter-buffer-substring-functions)
10049 (completion-list-insert-choice-function):
10050 * window.el (window-with-parameter, window-atom-root)
10051 (window-sides-slots, window-size-fixed, window-min-delta)
10052 (window-max-delta, window--resize-mini-window)
10053 (window--resize-child-windows-normal, window-tree)
10054 (delete-other-windows, quit-window, split-window)
10055 (display-buffer-record-window, special-display-buffer-names)
10056 (special-display-regexps, special-display-popup-frame)
10057 (same-window-p, split-window-sensibly)
10058 (display-buffer-overriding-action, display-buffer-alist)
10059 (display-buffer-base-action, display-buffer, switch-to-buffer)
10060 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
10061 (fit-window-to-buffer, recenter-positions)
10062 (mouse-autoselect-window-state, mouse-autoselect-window-select):
10063 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
10064 and remove unneeded backslashes in docstrings.
10065
39c9faef
SM
100662011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
10067
98449af8
SM
10068 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
10069
39c9faef
SM
10070 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
10071 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
10072 end in ".mk".
10073 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
10074 when reading the makefile (bug#10116).
10075
86ed9fdc
SM
100762011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
10077
10078 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
10079 (bug#10116).
10080
5580f89d
GM
100812011-12-06 Glenn Morris <rgm@gnu.org>
10082
10083 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
10084
28d3917c
CY
100852011-12-06 Chong Yidong <cyd@gnu.org>
10086
10087 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
10088
a98edce9
JB
100892011-12-06 Juanma Barranquero <lekktu@gmail.com>
10090
10091 * textmodes/table.el (table-shorten-cell): Fix typo.
10092
e65adfac
CG
100932011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
10094
10095 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
10096
71cc0b74
EZ
100972011-12-05 Eli Zaretskii <eliz@gnu.org>
10098
10099 * descr-text.el (describe-char): Fix display of strong
10100 right-to-left characters and directional embeddings and overrides.
10101
10102 * simple.el (what-cursor-position): Fix display of codepoints of
10103 strong right-to-left characters.
10104
315bc30d
CY
101052011-12-05 Chong Yidong <cyd@gnu.org>
10106
10107 * faces.el (read-color): Doc fix.
10108
58a70b94
GM
101092011-12-05 Glenn Morris <rgm@gnu.org>
10110
10111 * align.el (align--set-marker): Add doc-string.
10112 Don't try to move something that is not a marker. (Bug#10216)
10113
5158face
GM
101142011-12-04 Glenn Morris <rgm@gnu.org>
10115
10116 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
10117 overly zealous deletion of trailing whitespace.
10118
520fca41
JB
101192011-12-04 Juanma Barranquero <lekktu@gmail.com>
10120
10121 * server.el (server-delete-client): On Windows, do not try to delete
10122 the only terminal.
10123 (server-process-filter): On Windows, treat requests for a tty frame as
10124 if they were for a GUI frame if the running server is in GUI mode.
10125
5e605a2e
GM
101262011-12-03 Glenn Morris <rgm@gnu.org>
10127
10128 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
10129
5c3fe83f
SM
101302011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
10131
6f5e57e7
SM
10132 * electric.el: Streamline electric-indent's hook.
10133 (electric-indent-chars): Revert to simple list.
10134 (electric-indent-functions): New var.
10135 (electric-indent-post-self-insert-function): Use it.
10136
5c3fe83f
SM
10137 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
10138 there's no inferior buffer (bug#10196).
10139 (prolog-consult-compile): Don't use toggle-read-only.
10140
6bdac736
MA
101412011-12-02 Michael Albinus <michael.albinus@gmx.de>
10142
10143 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
10144 interrupt. (Bug#10187)
10145
6131ba7f
SM
101462011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
10147
99c79fee
SM
10148 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
10149 (bug#9160).
10150
6131ba7f
SM
10151 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
10152 (bug#10191).
10153
cb0a02ea
JL
101542011-12-02 Juri Linkov <juri@jurta.org>
10155
10156 * info.el (Info-search): Display "end of manual" when Isearch
10157 reaches the end of single-file Info manual. (Bug#9918)
10158
66e0570c
EZ
101592011-12-02 Eli Zaretskii <eliz@gnu.org>
10160
10161 * isearch.el (isearch-message-prefix): Run the input method part
10162 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
10163
02b16839
JL
101642011-12-02 Juri Linkov <juri@jurta.org>
10165
10166 * isearch.el (isearch-occur): Use `word-search-regexp' for
10167 `isearch-word'.
10168 (isearch-search-and-update): Add condition for `isearch-word' and
10169 call `word-search-regexp'. (Bug#10145)
10170
0b950688
GM
101712011-12-01 Glenn Morris <rgm@gnu.org>
10172
10173 * eshell/em-hist.el (eshell-hist-initialize):
10174 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 10175 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 10176
9505c3c7
SM
101772011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
10178
10179 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
10180
1bbe96b2 101812011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 10182
a1beca85
SM
10183 * progmodes/verilog-mode.el (verilog-pretty-expr):
10184 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
10185 verilog, such as += *= and the like.
10186 (verilog-assignment-operator-re): Regular expression to find the
10187 assigment operator in a verilog assignment.
10188 (verilog-assignment-operation-re): Regular expression to find an
10189 assignment statement for pretty-expr.
10190 (verilog-in-attribute-p): Query returns true if point is in an
10191 attribute context; used to skip these for expression line up from
10192 pretty-expr.
10193 (verilog-in-parameter-p): Query returns true if point is in an
10194 parameter definition context; used to skip these for expression
10195 line up from pretty-expr.
10196 (verilog-in-parenthesis-p): Query returns true if point is in a
10197 parenthetical expression, specifically ( ) but not [ ] or { };
10198 used by pretty-expr.
10199 (verilog-just-one-space): If there is no space, don't add one.
10200 (verilog-get-lineup-indent-2): Specifically skip just attribute
10201 contexts for expression lineup, rather than skipping all
10202 parenthetical expressions.
10203 (verilog-calculate-indent): Fix comment, and fix indent.
10204 (verilog-do-indent): Indent declarations in lists (suggested by
10205 Joachim Lechner).
10206 (verilog-mode-abbrev-table): Populate abbrev mode with the various
10207 skeleton items.
10208 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
10209 by Alain Mellan).
10210
1bbe96b2 102112011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
10212
10213 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
10214 parameters with embedded comments. Reported by Ray Stevens.
10215 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
10216 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
10217 Reported by Tim Holt.
10218 (verilog-auto): Fix AUTOing a upper module then AUTOing module
10219 instantiated by upper module causing wrong expansion until AUTOed a
10220 second time. Reported by K C Buckenmaier.
10221 (verilog-diff-auto): Fix showing .* as a difference when
10222 `verilog-auto-star-save' off. Reported by Dan Dever.
10223 (verilog-auto-reset, verilog-read-always-signals)
10224 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
10225 temporary signals in reset list if
10226 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
10227 style to each signal's assignment type, bug381.
10228 Reported by Thomas Esposito.
6288f0ca
WS
10229 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
10230 (verilog-uvm-statement-re): Support UVM indentation and
10231 highlighting, with old OVM keywords only.
a1beca85 10232 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
10233 Support AUTOTIEOFF creating non-wire data types.
10234 Suggested by Jonathan Greenlaw.
6288f0ca
WS
10235 (verilog-auto-insert-lisp, verilog-delete-to-paren)
10236 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
10237 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
10238 (verilog-read-sub-decls, verilog-read-sub-decls-line):
10239 Fix mismatching parenthesis inside commented out code when deleting
382c953b 10240 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
10241 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
10242 non-numeric vector width. Reported by Alex Reed.
10243 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 10244 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
10245 (verilog-auto-delete-trailing-whitespace):
10246 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
10247 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
10248 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
10249 Fix verilog-scan-cache corruption when running user AUTO expansion
10250 hooks that call indentation routines.
10251 (verilog-simplify-range-expression): Fix typo ignoring lower case
10252 identifiers.
10253 (verilog-delete-auto): Fix delete-autos to also remove user created
10254 automatics, as long as they start with AUTO.
10255 (verilog-batch-diff-auto, verilog-diff-auto)
10256 (verilog-diff-function): Add `verilog-diff-auto' and bind to
10257 "C-c?" to report differences in AUTO expansion, ignoring spaces.
10258 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
10259 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
10260 (verilog-re-search-forward-quick, verilog-syntax-ppss):
10261 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
10262 is disabled and its cache will get corrupt, causing AUTOS not to
10263 expand. Instead use only -quick functions.
10264 (verilog-scan-region): Fix scanning over escaped quotes.
10265 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
10266 (verilog-re-search-backward-quick)
10267 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
10268 related functions now ignore strings, to fix misparsing of strings
10269 with magic comments embedded in them.
a1beca85
SM
10270 (verilog-read-auto-template):
10271 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
10272 Reported by Brad Dobbie.
10273 (verilog-read-auto-template):
10274 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 10275 Reported by Brad Dobbie.
6288f0ca
WS
10276 (verilog-auto-inst, verilog-auto-inst-param)
10277 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
10278 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
10279 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
10280 debugging templates without merge conflicts, bug357.
10281 Reported by Brad Dobbie.
10282 (verilog-read-auto-template):
10283 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
10284 Reported by Brad Dobbie.
10285 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
10286 abbrevs so user won't be asked to save.
10287 (verilog-read-auto-lisp-present): Fix to start at beginning of
10288 buffer in case called outside of verilog-auto.
10289 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
10290 to "X-2". Reported by Matthew Myers.
10291 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
10292 all inputs from module templates. Reported by Leith Johnson.
10293 (verilog-module-inside-filename-p): Fix locating programs as with
10294 modules.
10295 (verilog-auto-inst-port): Fix vl-width expressions when using
10296 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
10297 (verilog-decls-get-regs, verilog-decls-get-signals,
10298 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
10299 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
10300 verilog-read-decls): Combine reg and wire structures into one var
10301 structure to represent SystemVerilog concepts.
10302 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
10303 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
10304 (verilog-auto-wire-type, verilog-insert-definition):
10305 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
10306 SystemVerilog "logic" keyword instead of "wire"/"reg".
10307 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
10308 to declares outputs that also have assignments (presumably in an
a1beca85
SM
10309 ifdef or generate if so there's not a driver conflict).
10310 Reported by Matthew Myers.
10311 (verilog-auto-declare-nettype, verilog-insert-definition):
10312 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
10313 `default_nettype none. Reported by Julian Gorfajn.
10314 (verilog-read-always-signals-recurse, verilog-read-decls)
10315 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
10316 malformed end statement, bug325. Reported by Joshua Wise and
10317 Andrew Drake.
10318 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
10319 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
10320 when expanding .* in interfaces, bug320.
10321 Reported by Pierre-David Pfister.
6288f0ca 10322 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
10323 name and open parenthesis, bug317.
10324 Reported by Pierre-David Pfister.
6288f0ca
WS
10325 (verilog-simplify-range-expression): Fix simplification of
10326 multiplications inside AUTOWIRE connections, bug303.
10327 (verilog-auto-inst-port): Support parameter expansion in
10328 multidimensional arrays.
10329 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
10330 after "assert property". Reported by Julian Gorfajn.
10331 (verilog-simplify-range-expression): Fix "couldn't merge" errors
10332 with multiplication, bug303.
10333 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
10334 Reported by Jan Frode Lonnum.
10335
1bbe96b2
GM
103362011-11-30 Juanma Barranquero <lekktu@gmail.com>
10337
10338 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
10339 (hfy-shell-file-name, hfy-shell):
10340 * international/fontset.el (x-decompose-font-name): Fix typos.
10341
103422011-11-29 Ken Brown <kbrown@cornell.edu>
10343
10344 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
10345 (gdb-version): Remove defvar.
10346 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
10347 (gdb-gud-context-command, gdb-non-stop-handler)
10348 (gdb-current-context-command, gdb-stopped): Use it.
10349 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
10350 (gdb-non-stop-handler): Don't enable pretty-printing here.
10351 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
10352 non-stop mode. Use the following.
10353 (gdb-check-target-async): New defun.
10354 (gud-watch, gdb-stopped): Fix whitespace.
10355 (gdb-get-source-file): Don't try to display the source file if
10356 `gdb-main-file' is nil.
10357
103582011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
10359
10360 * align.el: Try to generate fewer markers (bug#10047).
10361 (align--set-marker): New macro.
10362 (align-region): Use it.
10363
c935221f
SM
103642011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
10365
10366 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
10367
e70b5064
CY
103682011-11-29 Chong Yidong <cyd@gnu.org>
10369
10370 * indent.el (indent-for-tab-command, indent-according-to-mode):
10371 Doc fix.
10372 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
10373
f3af92b7
MA
103742011-11-29 Michael Albinus <michael.albinus@gmx.de>
10375
10376 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
10377 aware of remote file names. (Bug#10124)
10378
ed472be9
CY
103792011-11-29 Chong Yidong <cyd@gnu.org>
10380
10381 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
10382
24510c22
SM
103832011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
10384
10385 * files.el (find-file): Don't use force-same-window (bug#10144).
10386 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
10387 use pop-to-buffer if the selected window can't be used.
10388 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
10389
c60c3703
EZ
103902011-11-28 Eli Zaretskii <eliz@gnu.org>
10391
10392 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
10393 special-mode-map.
10394
e95def75
CY
103952011-11-28 Chong Yidong <cyd@gnu.org>
10396
10397 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
10398
c3f1c606
NR
103992011-11-27 Nick Roberts <nickrob@snap.net.nz>
10400
10401 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
10402 gdb-get-source-file-list on gdb-create-source-file-list.
10403
00db469c
EZ
104042011-11-26 Eli Zaretskii <eliz@gnu.org>
10405
10406 * whitespace.el (whitespace-newline): Use a different foreground
10407 color for 16-color light-background displays.
10408
4ad3bc2a
CY
104092011-11-24 Chong Yidong <cyd@gnu.org>
10410
10411 * window.el (display-buffer--special-action): Doc fix.
10412
e9fce1ac
JB
104132011-11-25 Juanma Barranquero <lekktu@gmail.com>
10414
10415 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
10416 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
10417 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
10418 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
10419 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
10420 (avl-tree-stack-first):
10421 * emacs-lisp/cconv.el (cconv--analyse-use):
10422 * net/gnutls.el (gnutls-negotiate): Fix typos.
10423
cb825e5d
GM
104242011-11-24 Glenn Morris <rgm@gnu.org>
10425
3adbe224
GM
10426 * lpr.el (lpr-windows-system, lpr-lp-system):
10427 * mail/binhex.el (binhex-begin-line):
10428 * progmodes/grep.el (grep-history, grep-find-history):
10429 * textmodes/flyspell.el:
10430 * vc/pcvs-defs.el (cvs-global-menu):
10431 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
10432 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
10433 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
10434
321decc8
GM
10435 * net/tls.el: Fix case of "GnuTLS".
10436
420b63ad
GM
10437 * paths.el (rmail-file-name): Format doc-string for make-docfile.
10438
cb825e5d
GM
10439 * version.el (emacs-build-system): Give it a doc-string.
10440
a0649f08
JL
104412011-11-24 Juri Linkov <juri@jurta.org>
10442
10443 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
10444
c0bc0fd4
GM
104452011-11-24 Glenn Morris <rgm@gnu.org>
10446
10447 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
10448 if called on a non-mime message just toggle the headers. (Bug#8006)
10449
20db1522
JB
104502011-11-24 Juanma Barranquero <lekktu@gmail.com>
10451
10452 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
10453 (allout-lead-with-comment-string, allout-structure-deleted-hook)
10454 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
10455 (allout-rebullet-heading, allout-open-sibtopic)
10456 (allout-toggle-current-subtree-encryption)
10457 (allout-toggle-subtree-encryption, allout-encrypt-string)
10458 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
10459 (allout-distinctive-bullets-string, allout-auto-activation):
10460 * window.el (window-normalize-buffer-to-display):
10461 * progmodes/verilog-mode.el (verilog-batch-indent):
10462 * textmodes/bibtex.el (bibtex-field-braces-opt)
10463 (bibtex-field-strings-opt):
10464 * vc/cvs-status.el (cvs-tree-merge):
10465 Fix typos.
10466
7262a87c
MA
104672011-11-23 Michael Albinus <michael.albinus@gmx.de>
10468
10469 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
10470 `non-essential' to t, in order to avoid remote connections.
10471
283430a1
EZ
104722011-11-23 Eli Zaretskii <eliz@gnu.org>
10473
a1beca85
SM
10474 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
10475 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
10476 case-insensitively.
10477
d2992a38
ML
104782011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
10479
10480 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
10481
50419064
GM
104822011-11-23 Glenn Morris <rgm@gnu.org>
10483
da94eca1
GM
10484 * paths.el (rmail-file-name): Reformat the doc-string so that it
10485 is picked up.
10486
9aac4de2
GM
10487 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
10488 (rmail-auto-file): Ignore case in the "special" field names,
10489 as mail-fetch-field does for all others.
10490
8038d2d2
GM
10491 * mail/rmail.el (rmail-forward):
10492 * mail/rmailkwd.el (rmail-set-label):
10493 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
10494 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
10495
f3fe222a
GM
10496 * mail/rmail.el (rmail-current-message): Doc fix.
10497
50419064
GM
10498 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
10499
28109f49
SM
105002011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
10501
10502 * server.el (server-eval-and-print): Allow C-g (bug#6585).
10503
394c65f1
GM
105042011-11-22 Glenn Morris <rgm@gnu.org>
10505
10506 * mail/rmailmm.el (test-rmail-mime-handler)
10507 (test-rmail-mime-bulk-handler)
10508 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
10509
f2a0aa3a
JL
105102011-11-21 Juri Linkov <juri@jurta.org>
10511
1154d12e
JB
10512 * calc/calc.el (calc-read-key-sequence):
10513 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 10514
9c34a344
LMI
105152011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10516
10517 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
10518 Tell the caller that the next line needs recomputation, even
10519 though it doesn't start a sexp (bug#10094).
10520
f04a3be9
SM
105212011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
10522
10523 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
10524
7978747f
SM
105252011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
10526
f04a3be9
SM
10527 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
10528 Use force-same-window.
7978747f 10529
fe7a3057
JB
105302011-11-20 Juanma Barranquero <lekktu@gmail.com>
10531
10532 * descr-text.el (describe-char-unicode-data):
10533 * json.el (json-string-escape):
10534 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
10535 (Footnote-unicode, Footnote-style-p):
10536 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
10537
24901d61
CY
105382011-11-20 Chong Yidong <cyd@gnu.org>
10539
10540 * window.el (replace-buffer-in-windows): Restore interactive spec.
10541
bac7ff22
SM
105422011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
10543
24f3d7b9
SM
10544 * electric.el (electric-indent-mode): Fix last change (too optimistic).
10545
bac7ff22
SM
10546 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
10547 (byte-compile-global-not-obsolete-vars): New var.
10548 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
10549 Use it.
10550 (byte-compile-warn-obsolete): Align text with the one in *Help*.
10551
cd1181db
JB
105522011-11-20 Juanma Barranquero <lekktu@gmail.com>
10553
10554 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
10555 * progmodes/pascal.el (electric-pascal-equal):
10556 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
10557 * xml.el (xml-substitute-special): Fix typos.
10558
7fb18e9e
GM
105592011-11-20 Glenn Morris <rgm@gnu.org>
10560
10561 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
10562 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
10563 Doc fixes.
10564 (rmail-decode-mime-charset): Mark as obsolete.
10565
10566 * mail/rmailsum.el (rmail-message-regexp-p-1):
10567 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
10568 Before using mime functions, check they are set. (Bug#10077)
10569
d5a6b3ba
JL
105702011-11-19 Juri Linkov <juri@jurta.org>
10571
10572 * info.el (Info-finder-find-node): Use `package--builtins' instead
10573 of `package-alist'. Use node names formed by the pattern "Keyword "
10574 and the keyword name.
10575
e981b61f
AS
105762011-11-19 Andreas Schwab <schwab@linux-m68k.org>
10577
1d00653d 10578 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 10579
3ffbc301
JL
105802011-11-19 Juri Linkov <juri@jurta.org>
10581
10582 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
10583 that calls `revert-buffer' on all Info buffers. (Bug#9915)
10584 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
10585 `old-history', `old-history-forward'. Add let-binding
10586 `window-selected'. Remove calls to `kill-buffer',
10587 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
10588 before calling `Info-find-node', so `Info-find-node-2' will reread
10589 the Info file. Restore window positions only when `window-selected'
10590 is non-nil.
10591
30c62133
JL
105922011-11-19 Juri Linkov <juri@jurta.org>
10593
10594 * isearch.el (isearch-lazy-highlight-new-loop):
10595 Remove condition `(not isearch-error)'. (Bug#9918)
10596
10597 * misearch.el (multi-isearch-search-fun): Add condition
10598 `(not bound)' to ignore lazy-highlighting search.
10599 Add the search-failed message "end of multi" when the end of
10600 multi-sequence is reached. Uncapitalize the search-failed
10601 message "Repeat for next buffer".
10602
10603 * info.el (Info-search): Add the search-failed message
10604 "end of the manual" when the end of the manual is reached
10605 in Isearch mode.
10606
645ca9cf
JL
106072011-11-19 Juri Linkov <juri@jurta.org>
10608
10609 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
10610 Use non-destructive `remove' instead of `delete' because
10611 `Info-history-list' stored to `Info-isearch-initial-history-list' in
10612 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
10613
df754f66
JL
106142011-11-19 Juri Linkov <juri@jurta.org>
10615
10616 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
10617 to nil instead of binding `search-ring' and `regexp-search-ring'.
10618 (Bug#9185)
10619
0e23d96a
EZ
106202011-11-19 Eli Zaretskii <eliz@gnu.org>
10621
10622 * simple.el (line-move): Force movement by logical lines for any
10623 hscrolled window, not only when auto-hscroll-mode is on.
10624 (line-move-visual): Update doc string to that effect. (Bug#10076)
10625
8a6ccb66
AS
106262011-11-19 Andreas Schwab <schwab@linux-m68k.org>
10627
10628 * language/european.el (macintosh): Define as alias for mac-roman.
10629
49ae5b39
EZ
106302011-11-19 Eli Zaretskii <eliz@gnu.org>
10631
10632 * mail/rmailmm.el (rmail-mime-display-header)
10633 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
10634 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
10635 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
10636 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
10637 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
10638 of a raw aref.
10639 (rmail-mime-entity-segment): To get past the tagline, move forward
10640 2 more lines, to account for the 2 empty lines that precede and
10641 follow the line with the buttons.
10642 (rmail-mime-update-tagline): Move one more line, to get past the
10643 empty line that follows the buttons in the tagline. (Bug#9520)
10644
c56cad4a
MR
106452011-11-19 Martin Rudalics <rudalics@gmx.at>
10646
10647 * window.el (window-max-delta-1, window-min-delta-1)
10648 (window-min-size-1, window-state-get-1, window-state-put-1)
10649 (window-state-put-2): Use "window--" prefix.
10650
cbe71af3
SM
106512011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
10652
2ad52c60
SM
10653 * emacs-lisp/smie.el: Improve warnings and conflict detection.
10654 (smie-warning-count): New var.
10655 (smie-set-prec2tab): Use it.
10656 (smie-bnf->prec2): Improve warnings. Add docstring.
10657 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
10658 (smie-bnf--set-class): New function.
10659 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
10660 corner case.
10661
6944dbc1
SM
10662 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
10663 (compilation-error-properties, compilation-move-to-column):
10664 Handle compilation-first-column while in the target buffer.
10665
c400c4d7
SM
10666 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
10667 Don't hardcode point-min==1.
10668
6dbe3e96
SM
10669 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
10670 (eshell-rewrite-for-command): Remove workaround.
10671 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
10672 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
10673 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
10674
cbe71af3
SM
10675 * files-x.el (modify-file-local-variable): Obey commenting conventions.
10676
a8e1496d
GM
106772011-11-17 Glenn Morris <rgm@gnu.org>
10678
10679 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
10680 Ignore buffer-local generated-autoload-file if it is the same
10681 as the global value. (Bug#10049)
10682
df85d315
JB
106832011-11-17 Juanma Barranquero <lekktu@gmail.com>
10684
10685 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
10686 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
10687 (reftex-toc-previous-heading, reftex-toc-max-level)
10688 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
10689 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
10690 (reftex-toc-do-promote, reftex-toc-promote-prepare)
10691 (reftex-toc-promote-action, reftex-toc-extract-section-number)
10692 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
10693 (reftex-toc-rename-label, reftex-toc-visit-location)
10694 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
10695 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
10696 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
10697 leaving "*toc*" only for references to the buffer.
10698
a0c2d0ae
MR
106992011-11-17 Martin Rudalics <rudalics@gmx.at>
10700
10701 * window.el (window-resize, delete-window, split-window):
10702 Replace window-splits by window-combination-resize.
1d00653d 10703 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 10704
35c0bac8
GM
107052011-11-17 Glenn Morris <rgm@gnu.org>
10706
10707 * progmodes/sh-script.el (sh-font-lock-keywords-var):
10708 Make bash entry derive from sh entry, not shell entry.
10709
d0c8fc8a
MA
107102011-11-16 Michael Albinus <michael.albinus@gmx.de>
10711
7262a87c
MA
10712 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
10713 local file name.
10714
7877f373
JB
107152011-11-16 Juanma Barranquero <lekktu@gmail.com>
10716
10717 * menu-bar.el (menu-bar-file-menu):
10718 * printing.el (pr-ps-utility):
10719 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
10720 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
10721 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
10722 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
10723 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
10724 (icalendar--convert-cyclic-to-ical)
10725 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
10726 (icalendar--convert-ical-to-diary)
10727 (icalendar--convert-recurring-to-diary)
10728 (icalendar--convert-non-recurring-all-day-to-diary)
10729 (icalendar-import-format-sample):
10730 * progmodes/idlw-shell.el (idlwave-shell-mode):
10731 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
10732 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
10733 (vhdl-ps-print-init): Fix typos.
10734
10649b82
KM
107352011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
10736
9d0cfcd6
GM
10737 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
10738 FSF and collapse date sequence, obscure author/maintainer email address
10739 better, remove extra version line, track relocation of author's webpage.
10649b82 10740
9d0cfcd6
GM
10741 * progmodes/python.el (python-pdbtrack-input-prompt)
10742 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
10743 regular python pdb prompts. Adjustments shamelessly taken exactly as
10744 suggested in EmacsWiki page (tiny change):
10745 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 10746
58179cce
JB
107472011-11-16 Juanma Barranquero <lekktu@gmail.com>
10748
10749 * expand.el (expand-pos, expand-index, expand-point):
10750 Remove redundant info from docstring.
10751 (expand-add-abbrevs): Doc fix.
10752 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
10753 (expand-sample-perl-mode-expand-list): Fix typos.
10754
10755 * net/dbus.el (dbus-event-member-name):
10756 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
10757 * term/pc-win.el (msdos-create-frame-with-faces):
10758 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
10759
b6f67890
MR
107602011-11-16 Martin Rudalics <rudalics@gmx.at>
10761
10762 * window.el (split-window, window-state-get-1)
10763 (window-state-put-1, window-state-put-2): Rename occurrences of
10764 window-nest to window-combination-limit.
1d00653d 10765 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 10766
ce7ddba0
CY
107672011-11-16 Chong Yidong <cyd@gnu.org>
10768
10769 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
10770 regexp (Bug#10033).
10771
3ae704f4
SM
107722011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
10773
10774 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
10775 `completing-read' will remove *Completions* and will preserve
10776 current-buffer for us.
10777 (tmm-add-prompt): Users of *Completions* will always (re)set its
10778 major mode.
10779 (tmm-old-comp-map): Remove.
10780
6ad1cdde
GM
107812011-11-16 Glenn Morris <rgm@gnu.org>
10782
10783 * mail/rmailedit.el: Require rmailmm when compiling.
10784 (rmail-old-mime-state): New declaration.
10785 (rmail-edit-current-message): If editing a mime message,
10786 edit the "raw" message from the mbox buffer.
10787 (rmail-cease-edit): Handle mime messages. (Bug#9840)
10788
d20faa20
GM
107892011-11-15 Glenn Morris <rgm@gnu.org>
10790
10791 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
10792 which wasn't being used. Add optional arg to force given state.
10793 (rmail-mime): Add optional arg to force given state.
10794
c7015153
JB
107952011-11-15 Juanma Barranquero <lekktu@gmail.com>
10796
10797 * allout.el (allout-encryption-plaintext-sanitization-regexps):
10798 * frame.el (display-mm-dimensions-alist):
10799 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
10800 (outline-move-subtree-down):
10801 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
10802 (newsticker--treeview-do-get-node):
10803 * net/quickurl.el (quickurl-list-buffer-name):
10804 * progmodes/dcl-mode.el (dcl-mode):
10805 * progmodes/gdb-mi.el (gdb-mapcar*):
10806 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
10807
45261b50
GM
108082011-11-15 Glenn Morris <rgm@gnu.org>
10809
10810 * mail/rmail.el (rmail-file-coding-system): It's only ever used
10811 in a boolean sense, so just make it a boolean, and fix the doc.
10812 (rmail-show-mime-function, rmail-mime-feature)
10813 (rmail-require-mime-maybe): Doc fixes.
10814 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
10815
10816 * mail/rmailmm.el (rmail-show-mime): Doc fix.
10817
0d26e0b6
JB
108182011-11-15 Juanma Barranquero <lekktu@gmail.com>
10819
10820 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
10821 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
10822 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
10823 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
10824
447f30f6
GM
108252011-11-15 Glenn Morris <rgm@gnu.org>
10826
672b871d
GM
10827 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
10828 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
10829 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
10830 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
10831 (rmail-mime, rmail-show-mime): Doc fixes.
10832
f6aa5bb1
GM
10833 * term/ns-win.el (mode-line-frame-identification):
10834 Leave it alone. (Bug#10051)
10835
947cd66b
GM
10836 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
10837
447f30f6
GM
10838 * mail/rmailout.el (rmail-output-to-rmail-buffer):
10839 Handle empty buffers. (Bug#9978)
10840
0b381c7e
JB
108412011-11-14 Juanma Barranquero <lekktu@gmail.com>
10842
10843 * international/mule.el (define-charset):
10844 * mail/rmailmm.el (rmail-mime-find-header-encoding):
10845 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
10846 * progmodes/verilog-mode.el (verilog-backward-token):
10847 * textmodes/ispell.el (lookup-words):
10848 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
10849
71e027ac
GM
108502011-11-14 Glenn Morris <rgm@gnu.org>
10851
56632ce4
GM
10852 * progmodes/executable.el
10853 (executable-make-buffer-file-executable-if-script-p):
10854 Handle file-modes returning nil.
10855
40500957
GM
10856 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
10857 message - not necessary, and causes problems. (Bug#9831)
10858
071c2340
GM
10859 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
10860
d3cfca60
GM
10861 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
10862
71e027ac
GM
10863 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
10864 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
10865 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
10866
89d61221
MR
108672011-11-12 Martin Rudalics <rudalics@gmx.at>
10868
10869 * window.el (window-resize, delete-window): Use window-splits
10870 variable instead of function.
10871 (window-state-get-1, window-state-put-2, window-state-put):
10872 Don't deal with windows' splits status.
10873
98282f6f
GM
108742011-11-12 Glenn Morris <rgm@gnu.org>
10875
10876 * apropos.el (apropos-do-all, apropos-library, apropos-value)
10877 (apropos-documentation): Doc fixes.
10878
40a8bdf6
JB
108792011-11-11 Juanma Barranquero <lekktu@gmail.com>
10880
10881 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
10882 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
10883
65bd19ff
SM
108842011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
10885
10886 * electric.el (electric-indent-post-self-insert-function): Make it
10887 possible for a char to only indent in some circumstances.
10888 (electric-indent-mode): Simplify.
10889
54f9154c
MR
108902011-11-11 Martin Rudalics <rudalics@gmx.at>
10891
10892 * window.el (windows-with-parameter): Remove unused function.
10893 (windows-at-side): Rename to window-at-side-list.
10894 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
10895 (window-side-check, window-size-ignore, window-size-fixed-1)
10896 (window-in-direction-2): Prefix with "window--".
10897 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 10898
68cbc58b
GM
108992011-11-11 Glenn Morris <rgm@gnu.org>
10900
10901 * subr.el (eval-after-load): If FILE is already loaded,
10902 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
10903
b2621720
GM
109042011-11-10 Glenn Morris <rgm@gnu.org>
10905
9a4de110
GM
10906 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
10907 Call svn via vc-svn-command rather than vc-do-command.
10908 (vc-svn-command): Add --non-interactive. (Bug#9993)
10909 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
10910
b2621720
GM
10911 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
10912 Add toggle-read-only. (Bug#7292)
10913 * files.el (toggle-read-only): Mention that it should only
10914 be used interactively. (Bug#10006)
10915
1dce7193
SM
109162011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
10917
d9ac1a1e
SM
10918 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10919 Adjust regexp for OCaml warnings.
10920
0c325082
SM
10921 * electric.el (electric-pair-post-self-insert-function): Let user
10922 turn it off buffer-locally (bug#9932).
10923
90132c14
SM
10924 * progmodes/python.el (python-beginning-of-statement):
10925 Rewrite (bug#2703).
10926
1dce7193
SM
10927 * progmodes/compile.el: Better handle TABs (bug#9749).
10928 (compilation-internal-error-properties)
10929 (compilation-next-error-function): Obey the target buffer's
10930 compilation-error-screen-columns.
10931
c4e7c63a
JB
109322011-11-09 Juanma Barranquero <lekktu@gmail.com>
10933
10934 * progmodes/meta-mode.el: Remove obsolete comments.
10935 (meta-right-comment-regexp, meta-ignore-comment-regexp):
10936 Fix typos in docstrings.
10937
2cffd681
MR
109382011-11-09 Martin Rudalics <rudalics@gmx.at>
10939
10940 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 10941 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
10942 (window--resizable): New function. Make all callers of
10943 window-resizable call window--resizable instead.
10944 (window-resizable): Rewrite in terms of window--resizable.
10945
0edcba87
GM
109462011-11-08 Glenn Morris <rgm@gnu.org>
10947
10948 * progmodes/delphi.el (delphi-mode-syntax-table):
10949 Let define-derived-mode define a proper syntax table. (Bug#9994)
10950
4b0d61e3
SM
109512011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
10952
10953 * window.el: Stay away from defsubst.
10954 (window-list-no-nils): Remove.
10955 (window-state-get-1, window-state-get): Use backquote instead.
10956
cd394be1 109572011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 10958
4b0d61e3 10959 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 10960 Fix incorrect use of default argument in `completing-read'.
10961
e1c2c6f2
MR
109622011-11-08 Martin Rudalics <rudalics@gmx.at>
10963
10964 * window.el (display-buffer-function, special-display-function):
10965 Mention display-buffer-record-window but do not mention
10966 help-setup parameter in doc-strings.
b3f4a882 10967 (window-min-delta): Fix doc-string typo.
e1c2c6f2 10968
105216ed
CY
109692011-11-08 Chong Yidong <cyd@gnu.org>
10970
10971 * window.el (window-total-height, window-total-width): Doc fix.
10972 (window-body-size): Move from C.
10973 (window-body-height, window-body-width): Move to C.
10974
0a9f9ab5
SM
109752011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
10976
10977 * window.el: Make special-display like display-buffer-alist (bug#9532).
10978 (display-buffer--special-action): New function, morphed
10979 from display-buffer--special.
10980 (display-buffer): Use it to handle special-display-buffers at higher
10981 priority (just after display-buffer-alist).
10982 (display-buffer-fallback-action, display-buffer--other-frame-action)
10983 (pop-to-buffer-same-window): Remove display-buffer--special.
10984
a769dd15
GM
109852011-11-07 Glenn Morris <rgm@gnu.org>
10986
10987 * calendar/cal-menu.el (cal-menu-set-date-title):
10988 Do nothing if not in a calendar. (Bug#9976)
10989
05a61ee3
SM
109902011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
10991
10992 * files.el (find-file): Always use selected-window.
10993
be7f5545
MR
109942011-11-07 Martin Rudalics <rudalics@gmx.at>
10995
10996 * window.el (window-combinations): Make WINDOW argument
10997 mandatory. Rewrite doc-string.
10998 (walk-window-subtree, window-atom-check, window-min-delta)
10999 (window-max-delta, window--resize-this-window)
11000 (window--resize-root-window-vertically, window-tree)
11001 (balance-windows, window-state-put): Rewrite doc-strings as to
11002 not mention the term "subwindow".
11003 (window--resize-subwindows-skip-p): Rename to
11004 window--resize-child-windows-skip-p.
11005 (window--resize-subwindows-normal): Rename to
11006 window--resize-child-windows-normal.
11007 (window--resize-subwindows): Rename to
11008 window--resize-child-windows.
11009 (window-or-subwindow-p): Rename to window--in-subtree-p.
11010
3c6702ef
ML
110112011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
11012
11013 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
11014 Ensure that mbox format messages end in two newlines (Bug#9974).
11015
49745b39
CY
110162011-11-06 Chong Yidong <cyd@gnu.org>
11017
11018 * window.el (window-combination-p): Function deleted; its
11019 side-effect is not used in any existing code.
11020 (window-combinations, window-combined-p): Call window-*-child
11021 directly.
11022
24300f5f
CY
110232011-11-05 Chong Yidong <cyd@gnu.org>
11024
11025 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
11026 (window-size-ignore, window-state-get): Callers changed.
11027 (window-normalize-window): Rename from window-normalize-any-window.
11028 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 11029 (window-normalize-live-window): Delete.
447f16b8
CY
11030 (window-combination-p, window-combined-p, window-combinations)
11031 (walk-window-subtree, window-atom-root, window-min-size)
11032 (window-sizable, window-sizable-p, window-size-fixed-p)
11033 (window-min-delta, window-max-delta, window-resizable)
11034 (window-resizable-p, window-full-height-p, window-full-width-p)
11035 (window-current-scroll-bars, window-point-1, set-window-point-1)
11036 (window-at-side-p, window-in-direction, window-resize)
11037 (adjust-window-trailing-edge, maximize-window, minimize-window)
11038 (window-deletable-p, delete-window, delete-other-windows)
11039 (record-window-buffer, unrecord-window-buffer)
11040 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
11041 (quit-window, split-window, window-state-put)
11042 (set-window-text-height, fit-window-to-buffer)
11043 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 11044
89bd5ee1
EZ
110452011-11-04 Eli Zaretskii <eliz@gnu.org>
11046
53479029
EZ
11047 * mail/rmail.el (rmail-simplified-subject): Decode subject with
11048 rfc2047-decode-string.
11049 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
11050 warnings.
11051
89bd5ee1
EZ
11052 * window.el (window-body-height, window-body-width): Mention in
11053 the doc string that the return values are in frame's canonical
11054 units. (Bug#9949)
11055
bd17fdee
AM
110562011-11-03 Alan Mackenzie <acm@muc.de>
11057
11058 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
11059 change in cc-engine.el.
11060
acc825c5
SM
110612011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
11062
11063 * window.el (switch-to-buffer): Use `force-same-window' interactively.
11064
1885e5b8
MR
110652011-11-02 Martin Rudalics <rudalics@gmx.at>
11066
11067 * window.el (quit-window): Call unrecord-window-buffer after
11068 showing another buffer in the window. (Bug#9937)
acc825c5 11069 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 11070
ebe06da9
JB
110712011-11-02 Juanma Barranquero <lekktu@gmail.com>
11072
11073 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
11074 Accept status with more than 9 shelves. (Bug#9935)
11075 Reported by Colin D Bennett <colin@gibibit.com>.
11076
4ee88440
MR
110772011-11-01 Martin Rudalics <rudalics@gmx.at>
11078
11079 * help.el (with-help-window): Don't reference
11080 temp-buffer-show-specifiers in doc-string.
11081
08e1d82c
AS
110822011-10-31 Andreas Schwab <schwab@linux-m68k.org>
11083
11084 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
11085 menu-item.
11086
84bd6e9e
VJL
110872011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
11088
11089 * whitespace.el: New version 13.2.2.
11090 (whitespace-newline-mode): Disable properly. Reported by Sarah
11091 <EmacsWiki>.
11092
dba0634a
UJ
110932011-10-30 Ulf Jasper <ulf.jasper@web.de>
11094
11095 * net/newst-treeview.el: Remove "Time-stamp".
11096 (newsticker--group-manage-orphan-feeds): Do not call
11097 newsticker--treeview-tree-update.
db22a3c2
JB
11098 (newsticker-treeview-update, newsticker-treeview):
11099 Call newsticker--treeview-tree-update if necessary.
dba0634a 11100
3d8daefe
MR
111012011-10-30 Martin Rudalics <rudalics@gmx.at>
11102
11103 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
11104 (window-iso-combinations): Remove "iso-" infix.
11105 Suggested by Chong Yidong.
3d8daefe
MR
11106 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
11107 (window-max-delta-1, window-resize, window--resize-siblings)
11108 (window--resize-this-window, adjust-window-trailing-edge)
11109 (split-window, balance-windows-1)
11110 (shrink-window-if-larger-than-buffer):
11111 * calendar/calendar.el (calendar-generate-window):
db22a3c2 11112 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 11113
1bc4c3ae
SM
111142011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
11115
11116 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
11117 in place (bug#9907).
11118 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
11119 (eshell-rewrite-if-command, eshell-rewrite-for-command)
11120 (eshell-structure-basic-command, eshell-rewrite-while-command)
11121 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
11122 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
11123 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
11124 (eshell-do-pipelines-synchronously, eshell-eval-command):
11125 Use backquotes and prefer setq to set.
11126 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
11127 (eshell-macrop): Use functionp.
c1e2f5fa 11128 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 11129
30b65d9c
CY
111302011-10-30 Chong Yidong <cyd@gnu.org>
11131
11132 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
11133 instead of set-mark (Bug#9810).
11134
2d197ffb
CY
111352011-10-30 Chong Yidong <cyd@gnu.org>
11136
11137 * window.el (split-window-below, split-window-right): Rename from
11138 split-window-above-each-other and split-window-side-by-side
11139 respectively. All callers changed.
11140 (split-window-sensibly, split-window-sensibly): Use them.
11141 (split-window-keep-point): Doc fix.
11142
11143 * isearch.el: Add isearch-scroll property to split-window-below
11144 and split-window-right.
11145
11146 * follow.el (follow-mode):
11147 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
11148 * progmodes/ada-xref.el (ada-gdb-application):
11149 * emulation/vip.el (vip-buffer-in-two-windows):
11150 * image-dired.el (image-dired-dired-with-window-configuration):
11151 * dired-x.el (dired-do-find-marked-files):
11152 * dired.el (dired-pop-to-buffer):
11153 * bs.el (bs--show-with-configuration):
11154 * vc/emerge.el (emerge-setup-windows):
11155 * textmodes/two-column.el (2C-two-columns):
11156 * textmodes/reftex-toc.el (reftex-toc):
11157 * progmodes/gdb-mi.el (gdb-setup-windows):
11158 * progmodes/fortran.el (fortran-window-create):
11159 * net/newst-treeview.el (newsticker--treeview-window-init):
11160 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
11161 * emulation/tpu-edt.el (tpu-gold-map):
11162 * emulation/crisp.el (crisp-mode-map):
11163 * calendar/calendar.el (calendar-basic-setup): Callers changed.
11164
38bb2ca8
CY
111652011-10-29 Chong Yidong <cyd@gnu.org>
11166
aa4de341
CY
11167 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
11168
e1eb5385
CY
11169 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
11170
5d2ece3c
CY
11171 * textmodes/flyspell.el (flyspell-word): Fix char offset for
11172 forged Ispell output (Bug#7904).
11173
38bb2ca8
CY
11174 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
11175
d0af9f77
SM
111762011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
11177
11178 * doc-view.el: Avoid ugly errors about not finding nil.
11179 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
11180 (doc-view-dvipdf-program, doc-view-unoconv-program)
11181 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
11182 Avoid nil or absolute file name as default value.
11183 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
11184
52bedd34
AM
111852011-10-28 Alan Mackenzie <acm@muc.de>
11186
db22a3c2 11187 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 11188
7e43cfa5
AM
111892011-10-28 Alan Mackenzie <acm@muc.de>
11190
11191 Amend the handling of c-beginning/end-of-defun in nested declaration
11192 scopes.
11193
52bedd34
AM
11194 * progmodes/cc-vars.el (c-defun-tactic): Move here from
11195 cc-langs.el. Change it to a defcustom.
7e43cfa5 11196
52bedd34
AM
11197 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
11198 cc-vars.el.
7e43cfa5 11199
d0af9f77
SM
11200 * progmodes/cc-engine.el (c-beginning-of-statement-1):
11201 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 11202
52bedd34 11203 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 11204 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
11205 (c-widen-to-enclosing-decl-scope): New function.
11206 (c-while-widening-to-decl-block): New macro.
11207 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
11208 outward for defun boundaries, and correspondingly change symbol
11209 `respect-enclosure' to `go-outward'.
11210 (c-declaration-limits): Change algorithm to report only the "innermost"
11211 defun's boundaries.
11212
1a2ce9ee
DD
112132011-10-28 Deniz Dogan <deniz@dogan.se>
11214
11215 * net/rcirc.el (rcirc-mode): Use hard newlines.
11216
bc97a826
AM
112172011-10-28 Alan Mackenzie <acm@muc.de>
11218
11219 Amend to indent and fontify macros "which include their own semicolon"
11220 correctly, using the "virtual semicolon" mechanism.
11221
52bedd34 11222 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 11223
d0af9f77 11224 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 11225 Recode to scan one line at a time rather than having \n and \r
58179cce 11226 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 11227 (c-forward-label): Amend for virtual semicolons.
58179cce 11228 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 11229
52bedd34
AM
11230 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
11231 of the new C macros.
bc97a826 11232
52bedd34 11233 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
11234 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
11235 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
11236 (c-opt-cpp-macro-define): Make into a full language variable.
11237 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
11238 AWK Mode (including \n, \r) removed, no longer needed.
11239
d0af9f77
SM
11240 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
11241 Invoke c-make-macro-with-semi-re.
bc97a826 11242
52bedd34
AM
11243 * progmodes/cc-vars.el (c-macro-with-semi-re):
11244 (c-macro-names-with-semicolon): New variables.
58179cce 11245 (c-make-macro-with-semi-re): New function.
bc97a826 11246
7a6c0941
SM
112472011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
11248
11249 * vc/log-edit.el: Fill empty field rather than adding new one.
11250 (log-edit-add-field): New function.
11251 (log-edit-insert-changelog): Use it.
11252
b0c4cdcf
ML
112532011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
11254
11255 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
11256
ee1f1da9
SM
112572011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
11258
11259 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
11260 (gdb--check-interpreter): New function.
11261 (gdb): Use it.
11262
51bc5f8b
GM
112632011-10-27 Glenn Morris <rgm@gnu.org>
11264
416a2c45
GM
11265 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
11266 (least-positive-float, least-negative-float)
11267 (least-positive-normalized-float, least-negative-normalized-float)
11268 (float-epsilon, float-negative-epsilon):
11269 Remove unnecessary declarations.
11270
11271 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
11272 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
11273 (least-positive-float, least-negative-float)
11274 (least-positive-normalized-float, least-negative-normalized-float)
11275 (float-epsilon, float-negative-epsilon): Add doc-strings,
11276 based on those in cl.texi.
11277
51bc5f8b
GM
11278 * files.el (set-visited-file-name): If the major-mode changed,
11279 reload the local variables. (Bug#9796)
11280
15de15c6
CY
112812011-10-27 Chong Yidong <cyd@gnu.org>
11282
11283 * subr.el (change-major-mode-after-body-hook): New hook.
11284 (run-mode-hooks): Run it.
11285
ee1f1da9
SM
11286 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11287 Use change-major-mode-before-body-hook.
15de15c6
CY
11288
11289 * simple.el (fundamental-mode):
11290 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
11291 change introducing fundamental-mode-hook.
11292
5430d399
JB
112932011-10-26 Juanma Barranquero <lekktu@gmail.com>
11294
acc825c5 11295 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 11296
ad74a69e
MA
112972011-10-26 Michael Albinus <michael.albinus@gmx.de>
11298
11299 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 11300 tramp.el explicitly. (Bug#7583)
ad74a69e 11301
71d4c2a5
SM
113022011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
11303
11304 * progmodes/octave-mod.el:
11305 * progmodes/octave-inf.el: Update maintainer.
11306
b1f6fa26
CY
113072011-10-26 Chong Yidong <cyd@gnu.org>
11308
11309 * subr.el (with-wrapper-hook): Rewrite doc.
11310
3f04efd6
MA
113112011-10-25 Michael Albinus <michael.albinus@gmx.de>
11312
11313 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 11314 filenames "/method:foo:". (Bug#9793)
3f04efd6 11315
410488d3
SM
113162011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
11317
11318 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
11319 (bug#9865).
11320
c1ebb47e
GM
113212011-10-24 Glenn Morris <rgm@gnu.org>
11322
11323 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
11324
7f5c46c7
MA
113252011-10-24 Michael Albinus <michael.albinus@gmx.de>
11326
11327 * notifications.el: Add the requirement of a running D-Bus session
11328 bus to the Commentary.
11329
db2440b6
JL
113302011-10-24 Juri Linkov <juri@jurta.org>
11331
11332 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
11333 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
11334 (Bug#9364)
11335
feecf435
JL
113362011-10-24 Juri Linkov <juri@jurta.org>
11337
11338 * info.el (Info-following-node-name-re): Add newline to the list
11339 of allowed characters for leading space. (Bug#9824)
11340
a3839de2
SM
113412011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
11342
acc825c5
SM
11343 * progmodes/octave-inf.el (inferior-octave-mode-map):
11344 Fix C-c C-h binding.
a3839de2
SM
11345 * progmodes/octave-mod.el (octave-help): Remove.
11346
09388e76
MA
113472011-10-23 Michael Albinus <michael.albinus@gmx.de>
11348
11349 Sync with Tramp 2.2.3.
11350
11351 * net/tramp-cache.el (top): Pacify byte-compiler using
11352 `init-file-user' and `site-run-file'.
11353
11354 * net/trampver.el: Update release number.
11355
86c60681
CY
113562011-10-23 Chong Yidong <cyd@gnu.org>
11357
11358 * files.el (toggle-read-only): Remove obsolete comment about
11359 version control.
11360
11361 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
11362 for toggle-read-only. Note that this hasn't called vc-next-action
11363 since 2008-05-02, though it wasn't documented at the time.
11364
a3839de2
SM
11365 * vc/ediff-init.el (ediff-toggle-read-only-function):
11366 Use toggle-read-only.
86c60681 11367
cd5495ff
AM
113682011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
11369
11370 Fix bug #9560, sporadic wrong indentation; improve instrumentation
11371 of c-parse-state.
11372
00b77525 11373 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 11374 correct faulty logical expression.
cd5495ff
AM
11375 (c-parse-state-state, c-record-parse-state-state):
11376 (c-replay-parse-state-state): New defvar/defuns.
11377 (c-debug-parse-state): Use new functions.
11378
42ee24ed
MR
113792011-10-22 Martin Rudalics <rudalics@gmx.at>
11380
11381 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 11382 last fix. Use window-in-direction correctly.
42ee24ed 11383
a7dee7e7
CY
113842011-10-21 Chong Yidong <cyd@gnu.org>
11385
11386 * progmodes/idlwave.el (idlwave-mode):
11387 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
11388 require-final-newline; that's done in prog-mode.
11389 Suggested by Stefan Monnier.
a7dee7e7 11390
e07b9a6d
MR
113912011-10-21 Martin Rudalics <rudalics@gmx.at>
11392
11393 * mouse.el (mouse-drag-window-above)
11394 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
11395 (mouse-drag-mode-line-1, mouse-drag-header-line)
11396 (mouse-drag-vertical-line-rightward-window): Remove.
11397 (mouse-drag-line): New function.
11398 (mouse-drag-mode-line, mouse-drag-header-line)
11399 (mouse-drag-vertical-line): Call mouse-drag-line.
11400 * window.el (window-at-side-p, windows-at-side): New functions.
11401
7e1361d9
UM
114022011-10-21 Ulrich Mueller <ulm@gentoo.org>
11403
11404 * tar-mode.el (tar-grind-file-mode):
11405 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
11406
30fcaf3a
CY
114072011-10-21 Chong Yidong <cyd@gnu.org>
11408
11409 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
11410 * progmodes/vera-mode.el (vera-mode):
11411 Use mode-require-final-newline.
30fcaf3a 11412
516eddb0
GM
114132011-10-20 Glenn Morris <rgm@gnu.org>
11414
db22a3c2 11415 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 11416
10d5f513
CS
114172011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
11418
11419 * emulation/cua-base.el (cua-set-mark): Fix case of string.
11420
ac6c8639
CY
114212011-10-20 Chong Yidong <cyd@gnu.org>
11422
11423 * emulation/cua-base.el (cua-mode):
11424 * mail/footnote.el (footnote-mode):
11425 * mail/mailabbrev.el (mail-abbrevs-mode):
11426 * net/xesam.el (xesam-minor-mode):
11427 * progmodes/bug-reference.el (bug-reference-mode):
11428 * progmodes/cap-words.el (capitalized-words-mode):
11429 * progmodes/compile.el (compilation-minor-mode)
11430 (compilation-shell-minor-mode):
11431 * progmodes/gud.el (gud-tooltip-mode):
11432 * progmodes/hideif.el (hide-ifdef-mode):
11433 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
11434 * progmodes/subword.el (subword-mode):
11435 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
11436 * progmodes/which-func.el (which-function-mode):
11437 * term/tvi970.el (tvi970-set-keypad-mode):
11438 * term/vt100.el (vt100-wide-mode):
11439 * textmodes/flyspell.el (flyspell-mode):
11440 * textmodes/ispell.el (ispell-minor-mode):
11441 * textmodes/nroff-mode.el (nroff-electric-mode):
11442 * textmodes/paragraphs.el (use-hard-newlines):
11443 * textmodes/refill.el (refill-mode):
11444 * textmodes/reftex.el (reftex-mode):
11445 * textmodes/rst.el (rst-minor-mode):
11446 * textmodes/sgml-mode.el (html-autoview-mode)
11447 (sgml-electric-tag-pair-mode):
11448 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
11449 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
11450 * emulation/crisp.el (crisp-mode):
11451 * emacs-lisp/eldoc.el (eldoc-mode):
11452 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
11453 minor mode behavior.
11454
aa42ab43
JL
114552011-10-19 Juri Linkov <juri@jurta.org>
11456
11457 * descr-text.el (describe-char): Add #x2010 and #x2011 to
11458 the list of hard-coded chars with escape-glyph face.
11459
89400f1d
SM
114602011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
11461
11462 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
11463
305c07f6
MA
114642011-10-19 Michael Albinus <michael.albinus@gmx.de>
11465
11466 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
11467 running process.
11468
13754b54
GM
114692011-10-19 Glenn Morris <rgm@gnu.org>
11470
11471 * vc/vc-bzr.el (vc-bzr-after-dir-status):
11472 Ignore ignored files. (Bug#9726)
11473
06e21633
CY
114742011-10-19 Chong Yidong <cyd@gnu.org>
11475
11476 Doc fix for minor modes, stating that an omitted argument enables
11477 the mode unconditionally when called from Lisp.
11478
11479 * abbrev.el (abbrev-mode):
11480 * allout.el (allout-mode):
11481 * autoinsert.el (auto-insert-mode):
11482 * autoarg.el (autoarg-mode, autoarg-kp-mode):
11483 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
11484 (global-auto-revert-mode):
11485 * battery.el (display-battery-mode):
11486 * composite.el (global-auto-composition-mode)
11487 (auto-composition-mode):
11488 * delsel.el (delete-selection-mode):
11489 * desktop.el (desktop-save-mode):
11490 * dired-x.el (dired-omit-mode):
11491 * dirtrack.el (dirtrack-mode):
11492 * doc-view.el (doc-view-minor-mode):
11493 * double.el (double-mode):
11494 * electric.el (electric-indent-mode, electric-pair-mode):
11495 * emacs-lock.el (emacs-lock-mode):
11496 * epa-hook.el (auto-encryption-mode):
11497 * follow.el (follow-mode):
11498 * font-core.el (font-lock-mode):
11499 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
11500 * help.el (temp-buffer-resize-mode):
11501 * hilit-chg.el (highlight-changes-mode)
11502 (highlight-changes-visible-mode):
11503 * hi-lock.el (hi-lock-mode):
11504 * hl-line.el (hl-line-mode, global-hl-line-mode):
11505 * icomplete.el (icomplete-mode):
11506 * ido.el (ido-everywhere):
11507 * image-file.el (auto-image-file-mode):
11508 * image-mode.el (image-minor-mode):
11509 * iswitchb.el (iswitchb-mode):
11510 * jka-cmpr-hook.el (auto-compression-mode):
11511 * linum.el (linum-mode):
11512 * longlines.el (longlines-mode):
11513 * master.el (master-mode):
11514 * mb-depth.el (minibuffer-depth-indicate-mode):
11515 * menu-bar.el (menu-bar-mode):
11516 * minibuf-eldef.el (minibuffer-electric-default-mode):
11517 * mouse-sel.el (mouse-sel-mode):
11518 * msb.el (msb-mode):
11519 * mwheel.el (mouse-wheel-mode):
11520 * outline.el (outline-minor-mode):
11521 * paren.el (show-paren-mode):
11522 * recentf.el (recentf-mode):
11523 * reveal.el (reveal-mode, global-reveal-mode):
11524 * rfn-eshadow.el (file-name-shadow-mode):
11525 * ruler-mode.el (ruler-mode):
11526 * savehist.el (savehist-mode):
11527 * scroll-all.el (scroll-all-mode):
11528 * scroll-bar.el (scroll-bar-mode):
11529 * server.el (server-mode):
11530 * shell.el (shell-dirtrack-mode):
11531 * simple.el (auto-fill-mode, transient-mark-mode)
11532 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
11533 (line-number-mode, column-number-mode, size-indication-mode)
11534 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
11535 * strokes.el (strokes-mode):
11536 * time.el (display-time-mode):
11537 * t-mouse.el (gpm-mouse-mode):
11538 * tool-bar.el (tool-bar-mode):
11539 * tooltip.el (tooltip-mode):
11540 * type-break.el (type-break-mode-line-message-mode)
11541 (type-break-query-mode):
11542 * view.el (view-mode):
11543 * whitespace.el (whitespace-mode, whitespace-newline-mode)
11544 (global-whitespace-mode, global-whitespace-newline-mode):
11545 * xt-mouse.el (xterm-mouse-mode): Doc fix.
11546
a3839de2
SM
11547 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11548 Fix autogenerated docstring.
06e21633 11549
5214e501
JL
115502011-10-19 Juri Linkov <juri@jurta.org>
11551
11552 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
11553 by checking environment variables "DESKTOP_SESSION" and
11554 "XDG_CURRENT_DESKTOP". (Bug#9779)
11555
195f8db9
JL
115562011-10-19 Juri Linkov <juri@jurta.org>
11557
11558 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
11559 (browse-url-chromium-program, browse-url-chromium-arguments):
11560 New defcustoms.
11561 (browse-url-default-browser): Check for `browse-url-chromium' and
11562 call `browse-url-chromium-program'.
11563 (browse-url-chromium): New command. (Bug#9779)
11564
343a34ff
JB
115652011-10-18 Juanma Barranquero <lekktu@gmail.com>
11566
11567 * facemenu.el (list-colors-duplicates): On Windows, detect more
11568 duplicates by assuming that only colors matching "^System" are
11569 special "system colors". (Bug#9722)
11570
6978a151
SM
115712011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
11572
11573 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
11574 to distinguish the author from the committer.
11575
6a80b297
MA
115762011-10-18 Michael Albinus <michael.albinus@gmx.de>
11577
11578 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
11579
b31a5677
JK
115802011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
11581
11582 * international/mule.el (sgml-html-meta-auto-coding-function):
11583 Add support for detecting encoding in HTML5 specified only as
11584 <meta charset="UTF-8">. Implementation just makes http-equiv and
11585 content-type parts from HTML4 encoding string optional. (Bug#9716)
11586
80c6d77f
GM
115872011-10-18 Glenn Morris <rgm@gnu.org>
11588
11589 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
11590
08b0fee8
CY
115912011-10-18 Chong Yidong <cyd@gnu.org>
11592
11593 * faces.el (cursor): Doc fix.
11594
67e729a5
CY
115952011-10-17 Chong Yidong <cyd@gnu.org>
11596
11597 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
11598
343a34ff 115992011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
11600
11601 * dirtrack.el (dirtrack): Support shell buffers with path
11602 prefixes, e.g. tramp-based remote shells. (Bug#9647)
11603
0bc06380
TZ
116042011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
11605
11606 * json.el: Bump version to 1.3 and note change in History.
11607 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
11608
8b79f3e0
SM
116092011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
11610
5a7c536b
SM
11611 * comint.el (comint-insert-input, comint-send-input)
11612 (comint-get-old-input-default, comint-backward-matching-input)
11613 (comint-next-prompt): Use nil instead of `input' for field property of
11614 past user input (bug#114).
11615
96a8a0df
SM
11616 * minibuffer.el (completion--replace): Inherit surrounding properties
11617 (bug#114).
11618 (minibuffer-complete-and-exit): Use it.
11619
8b79f3e0
SM
11620 * comint.el (comint--table-subvert): Quote the all-completions output
11621 (bug#9160).
11622
b8f7ff0d
MR
116232011-10-17 Martin Rudalics <rudalics@gmx.at>
11624
8b79f3e0 11625 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 11626
b8f7ff0d 11627 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 11628 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
11629 entries and separate them from frame entries.
11630
c235b555
GM
116312011-10-15 Glenn Morris <rgm@gnu.org>
11632
11633 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
11634 Doc fixes.
11635
6bbfa6e1
CY
116362011-10-15 Chong Yidong <cyd@stupidchicken.com>
11637
8b79f3e0
SM
11638 * net/network-stream.el (network-stream-open-starttls):
11639 Improve detection of failure due to lack of TLS support.
ec5c990d 11640
6bbfa6e1
CY
11641 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
11642 putting the input text in front and in bold.
11643
98488977
SM
116442011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
11645
3d1337be
SM
11646 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
11647
ee0b45e4
SM
11648 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
11649 empty buffer.
11650
98488977
SM
11651 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
11652 unread-command-events rather than pushing yet-another event.
11653
186f4720
EZ
116542011-10-14 Eli Zaretskii <eliz@gnu.org>
11655
11656 * mail/sendmail.el (sendmail-query-once): Improve the wording of
11657 the explanation of the possible choices. Make the options passed
11658 to completing-read shorter.
11659
8b7a997c
AM
116602011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11661
11662 * textmodes/flyspell.el (flyspell-large-region): Make sure
11663 extended character mode is used if defined (Bug#1339).
11664
12587bbb
EZ
116652011-10-13 Eli Zaretskii <eliz@gnu.org>
11666
11667 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
11668 character info for LRE, LRO, RLE, and RLO characters by appending
11669 an invisible PDF.
12587bbb 11670
bad41229
SM
116712011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
11672
11673 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
11674 even in case of error; add debug spec; simplify data flow.
11675 (with-timeout-handler): Remove.
11676
28dbc92f
MA
116772011-10-12 Michael Albinus <michael.albinus@gmx.de>
11678
11679 Fix Bug#6019, Bug#9315.
11680
11681 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
11682 complete `buffer-file-name', the local file name part could look
11683 remotely (for example on VMS).
11684
11685 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
11686 `tramp-run-real-handler'.
11687 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
11688 already quoted by '"'.
11689
11690 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
11691 Let `file-name-handler-alist' be nil, the local file name part
11692 could look remotely (for example on VMS).
11693
e1b0b23a
SM
116942011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
11695
11696 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
11697 from here...
11698 (flyspell-post-command-hook): ...to here.
11699
a120bde9
SM
117002011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
11701
11702 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
11703 if not needed.
11704 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
11705 using completion. Protect against "slow" callers.
11706 Remove the "message hack".
11707
7ce7717b
JL
117082011-10-11 Juri Linkov <juri@jurta.org>
11709
11710 * isearch.el (isearch-lazy-highlight-word): New variable.
11711 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
11712 Use it. (Bug#9727)
11713
c02ee9d6
GM
117142011-10-11 Glenn Morris <rgm@gnu.org>
11715
11716 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
11717 like f90-previous-statement does.
11718
93e616fd 117192011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11720
1f190e73 11721 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
11722 only in interactive use, to avoid error.
11723
af7b6078
SM
117242011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
11725
11726 * minibuffer.el (completion-file-name-table): Fix last change,
11727 i.e. ignore normal errors but not the other ones.
11728
0563dae9
MR
117292011-10-10 Martin Rudalics <rudalics@gmx.at>
11730
11731 * window.el (special-display-buffer-names)
11732 (special-display-regexps): Remove some remnants of earlier
11733 changes from doc-strings.
366ca7f3
MR
11734 (quit-windows-on): New function.
11735
11736 * vc/vc.el (vc-revert, vc-rollback):
11737 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
11738 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 11739 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 11740
49677495
MR
117412011-10-09 Martin Rudalics <rudalics@gmx.at>
11742
11743 * window.el (frame-auto-hide-function): Add version tag.
11744 (Bug#9699)
11745
56f2d1e1
MA
117462011-10-09 Michael Albinus <michael.albinus@gmx.de>
11747
11748 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
11749 condition.
11750
112a6592
LL
117512011-10-09 Leo Liu <sdl.web@gmail.com>
11752
11753 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
11754 (Bug#9701)
11755
0812589b
GM
117562011-10-08 Glenn Morris <rgm@gnu.org>
11757
11758 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
11759 before the first code statement zero indent. (Bug#9690)
11760
b2b0776e
CY
117612011-10-08 Chong Yidong <cyd@stupidchicken.com>
11762
11763 * simple.el (count-words-region): Always count in the region.
11764 Report the number of lines and characters too.
11765 (count-words): New command, which counts in the buffer if the
11766 region is inactive, as count-words-region used to.
11767 (count-words--message): New function. Handle plurals.
11768 (count-lines-region): Make it an alias for count-words-region.
11769
11770 * bindings.el (esc-map): Replace count-lines-region with
11771 count-words-region.
11772
c557cd6b
MR
117732011-10-08 Martin Rudalics <rudalics@gmx.at>
11774
11775 * window.el (window--delete): Delete dedicated frame
11776 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 11777 (switch-to-buffer): Fix doc-string typo.
c557cd6b 11778
61a57ef4 117792011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11780
3a7d293b 11781 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 11782
c3833279
CY
117832011-10-07 Chong Yidong <cyd@stupidchicken.com>
11784
11785 * bindings.el ([M-left],[M-right]): Bind to left-word and
11786 right-word respectively.
11787
21ce8245
GM
117882011-10-07 Glenn Morris <rgm@gnu.org>
11789
11790 * cus-start.el (debug-on-quit): Fix custom type.
11791
6d823bb2
LMI
117922011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
11793
0181e193
LMI
11794 * subr.el (define-key-after): Clarify that the function is not
11795 useful for non-menu keymaps.
11796
6d823bb2
LMI
11797 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
11798
8e3459ce 117992011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11800
21ce8245 11801 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 11802 in current minibuffer (Fix bug with recursive minibuffers).
11803
a1c2d21e
CY
118042011-10-06 Chong Yidong <cyd@stupidchicken.com>
11805
11806 * progmodes/gdb-mi.el (gdb): Doc fix.
11807
5a4cf282
MR
118082011-10-05 Martin Rudalics <rudalics@gmx.at>
11809
11810 * window.el (frame-auto-hide-function): New option replacing
11811 frame-auto-delete. Suggested by Stefan Monnier.
11812 (window--delete): Call frame-auto-hide-function instead of
11813 investigating frame-auto-delete.
c96111ea
MR
11814 (window-point-1, set-window-point-1): New functions.
11815 (window-in-direction, record-window-buffer, window-state-get-1)
11816 (display-buffer-record-window): Use window-point-1 instead of
11817 window-point.
11818 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 11819
9854542e
SM
118202011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
11821
11822 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
11823
8943cfb0
GM
118242011-10-05 Glenn Morris <rgm@gnu.org>
11825
11826 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
11827 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
11828
647ab967
LL
118292011-10-05 Leo Liu <sdl.web@gmail.com>
11830
11831 * subr.el (read-char-choice): Fix argument to buffer-live-p which
11832 works with buffer object.
11833
3ddfbced
SM
118342011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
11835
11836 * mpc.el (mpc-tool-bar-map): Add labels.
11837
bdfa5dd2
GM
118382011-10-04 Glenn Morris <rgm@gnu.org>
11839
11840 * calendar/holidays.el (calendar-check-holidays): Doc fix.
11841
0e2070b5
MR
118422011-10-04 Martin Rudalics <rudalics@gmx.at>
11843
11844 * window.el (window--delete): New function.
11845 (frame-auto-delete): Resuscitate option.
11846 (bury-buffer, replace-buffer-in-windows)
11847 (quit-window): Rewrite using window--delete.
11848 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
11849 Pass display-buffer-mark-dedicated to window--display-buffer-2
11850 (Bug#9639).
11851
3dc61a09
SM
118522011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
11853
915a9b64
SM
11854 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
11855 returns a list (bug#9554). Add remote file name completion.
11856 * comint.el (comint--table-subvert): Curry and get quote&unquote
11857 functions as arguments.
11858 (comint--complete-file-name-data): Adjust call accordingly.
11859 * pcomplete.el (pcomplete--table-subvert): Remove.
11860 (pcomplete-completions-at-point): Use comint--table-subvert instead.
11861
3dc61a09
SM
11862 * minibuffer.el (completion-table-case-fold): Use currying.
11863 (completion--styles-type, completion--cycling-threshold-type):
11864 New constants.
11865 (completion-styles, completion-category-overrides)
11866 (completion-cycle-threshold): Use them.
11867 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
11868 completion-table-case-fold.
11869
8ea0a993
SB
118702011-10-03 Stephen Berman <stephen.berman@gmx.net>
11871
11872 * minibuffer.el (completion-category-overrides): Fix type of styles
11873 and add more user friendly tags (bug#9660).
11874
8c24b7f6
SM
118752011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
11876
11877 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
11878 (mule-input-method-string): New widget.
11879 (default-input-method, language-info-custom-alist): Use it.
11880
428fe61a
SM
118812011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
11882
32c1fffd
SM
11883 * pcomplete.el: Require comint.
11884 (pcomplete--common-suffix): Remove.
11885 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
11886 (pcomplete--table-subvert): Sync with comint--table-subvert.
11887 (pcomplete--entries): Use comint-completion-file-name-table.
11888 * comint.el (comint-unquote-filename): Simplify.
11889 (comint-completion-file-name-table): New function (bug#9616).
11890 (comint--complete-file-name-data): Use it.
11891
428fe61a
SM
11892 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
11893 (pcmpl-gnu-tar-buffer): Remove.
11894 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
11895 around. Make sure pcomplete-suffix-list is only changed temporarily.
11896 Don't look inside the tar's file if it's too large.
428fe61a 11897
04c52e2f
CY
118982011-10-01 Chong Yidong <cyd@stupidchicken.com>
11899
ce3cefcc
CY
11900 * cus-edit.el (custom-mode-map):
11901 * epa.el (epa-key-list-mode-map):
11902 * man.el (Man-mode-map):
11903 * startup.el (splash-screen-keymap):
11904 * simple.el (special-mode-map): Use scroll-up-command and
11905 scroll-down-command.
11906
11907 * progmodes/idlw-help.el (idlwave-help-mode-map):
11908 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
11909 * net/newst-plainview.el (newsticker-mode-map):
11910 * emulation/ws-mode.el (wordstar-mode-map):
11911 * emulation/vi.el (vi-com-map):
11912 * calc/calc-graph.el (calc-graph-show-dumb):
11913 * term/sun.el (terminal-init-sun):
11914 * term/ns-win.el (global-map):
11915 * progmodes/grep.el (grep-mode-map):
11916 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
11917 * mail/rmail.el (rmail-mode-map):
11918 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
11919
04c52e2f
CY
11920 * custom.el (custom-safe-themes, load-theme): Treat value of t for
11921 custom-safe-themes as special.
11922
79adf8c8
JD
119232011-10-01 Julien Danjou <julien@danjou.info>
11924
11925 * notifications.el (notifications-notify): Fix docstring.
11926
63bd50d3
PS
119272011-10-01 Per Starbäck <per@starback.se>
11928
11929 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
11930
199e4c7e
MR
119312011-09-30 Martin Rudalics <rudalics@gmx.at>
11932
11933 * startup.el (command-line-1): Fix last fix by inserting
11934 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 11935 (Bug#9605) and (Bug#9636)
199e4c7e 11936
fe5f08dd
EZ
119372011-09-29 Eli Zaretskii <eliz@gnu.org>
11938
11939 * simple.el (line-move): If auto-hscroll-mode is disabled and the
11940 window is hscrolled, move by logical lines. (Bug#9607)
11941 (line-move-visual): Update the doc string to the above effect.
11942
b5516bbd
MR
119432011-09-29 Martin Rudalics <rudalics@gmx.at>
11944
ccee00c0
MR
11945 * window.el (display-buffer-record-window): When WINDOW is the
11946 selected window use `point' instead of `window-point'. (Bug#9626)
11947
b5516bbd
MR
11948 * startup.el (command-line-1): Use insert-before-markers when
11949 inserting initial-scratch-message. (Bug#9605)
ccee00c0 11950
b5516bbd
MR
11951 * help.el (help-window): Remove variable.
11952
52aa0014
GM
119532011-09-29 Glenn Morris <rgm@gnu.org>
11954
11955 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
11956
df9a7357
JB
119572011-09-29 Juanma Barranquero <lekktu@gmail.com>
11958
11959 * descr-text.el (describe-char-categories): Accept category
11960 descriptions more than one line long.
11961
a8406c20
SM
119622011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
11963
88d9610c
SM
11964 * simple.el (delete-trailing-whitespace): Fix last change.
11965
a5daf810
SM
11966 * progmodes/perl-mode.el (perl-syntax-propertize-function):
11967 Don't confuse "y => 3" as the beginning of a `y' operation.
11968
a8406c20
SM
11969 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
11970 object has more than 4 slots (bug#9613).
11971
a239d4e9
JB
119722011-09-28 Juanma Barranquero <lekktu@gmail.com>
11973
11974 * subr.el (with-output-to-temp-buffer):
11975 * net/quickurl.el (quickurl, quickurl-browse-url):
11976 Fix typos in docstrings.
11977
693fbdb6
EZ
119782011-09-27 Eli Zaretskii <eliz@gnu.org>
11979
11980 * minibuffer.el (completion-styles)
11981 (completion-category-overrides): Cross reference each other in doc
11982 strings.
11983
8b457e28
GM
119842011-09-27 Glenn Morris <rgm@gnu.org>
11985
11986 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
11987 to split-string. (Bug#9606)
11988
85a16208
LMI
119892011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
11990
11991 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
11992 (bug#9615).
11993
502f9ebd
CY
119942011-09-27 Chong Yidong <cyd@stupidchicken.com>
11995
11996 * emacs-lisp/package.el (list-packages): Fix echo area message.
11997
7690bdea
LL
119982011-09-27 Leo Liu <sdl.web@gmail.com>
11999
12000 * ido.el (ido-read-internal): Accept cons cell HIST arg.
12001
e2ee6f30
MA
120022011-09-25 Michael Albinus <michael.albinus@gmx.de>
12003
12004 * net/dbus.el (dbus-unregister-object): Don't release services for
12005 registered signals. (Bug#9581)
12006
f3f98342
TZ
120072011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
12008
12009 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
12010 function that picks between cfengine 2 and 3 support
12011 automatically. Update docs accordingly.
12012
dd7aa8dd
KH
120132011-09-22 Kenichi Handa <handa@m17n.org>
12014
12015 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
12016 ZERO.
12017 (indian-itrans-v5-table-for-tamil): New variable.
12018 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
12019
3f2b07f8
KM
120202011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
12021
12022 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
12023 that's true if the current command involved collapsing of text.
12024 It's reset to false at the beginning of the next command.
12025 (allout-post-command-business): Move the cursor to the beginning
12026 of entry if the cursor is hidden and collapsing activity just
12027 happened.
12028
371d6a61
CY
120292011-09-24 Chong Yidong <cyd@stupidchicken.com>
12030
12031 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
12032 tracking (Bug#9541).
12033
2ac2721a
UJ
120342011-09-24 Ulf Jasper <ulf.jasper@web.de>
12035
12036 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
12037 (newsticker-show-news): Automatically load html rendering package
12038 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
12039 because w3m-fill-column is let-bound" and the error "Symbol's value
12040 as variable is void: w3m-fill-column".
2ac2721a 12041
fac7ae53
MA
120422011-09-24 Michael Albinus <michael.albinus@gmx.de>
12043
12044 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
12045 Release services only if they are defined. (Bug#9581)
12046
e08b633b
RS
120472011-09-23 Richard Stallman <rms@gnu.org>
12048
e488d29c
RS
12049 * textmodes/paragraphs.el (forward-sentence): For backwards case,
12050 distinguish start of paragraph from start of its text.
12051
19c38752
RS
12052 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
12053
e08b633b
RS
12054 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
12055 (rmail-generate-viewer-buffer): Put that hook on view buffer.
12056 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
12057
0a39f27e
AS
120582011-09-23 Andreas Schwab <schwab@linux-m68k.org>
12059
12060 * international/mule-diag.el (mule-diag): Insert a newline after
12061 each fontset description.
12062
db4e950d
SM
120632011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
12064
12065 * simple.el (delete-trailing-whitespace):
12066 Document last change; simplify.
12067
eca3f3ea
PW
120682011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
12069
d68e189a
PW
12070 * simple.el (delete-trailing-whitespace): Also delete
12071 extra newlines at the end of the buffer.
12072
eca3f3ea
PW
12073 * textmodes/picture.el: Make motion commands obey shift-select-mode.
12074 (picture-newline): Use forward-line so as to ignore fields.
12075
01c157cc
SM
120762011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
12077
12078 * subr.el (with-wrapper-hook): Fix edebug spec.
12079
022de23e
LMI
120802011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
12081
12082 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
12083 (bug#4538).
12084
91683089
MA
120852011-09-23 Michael Albinus <michael.albinus@gmx.de>
12086
eca3f3ea
PW
12087 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
12088 Fix nasty bug using wrong cached values.
91683089 12089
5bdd6fa4
AM
120902011-09-23 Alan Mackenzie <acm@muc.de>
12091
12092 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
12093
97adfb97
CY
120942011-09-23 Chong Yidong <cyd@stupidchicken.com>
12095
12096 * window.el (pop-to-buffer): Ensure right window is selected if we
12097 chose another frame.
12098
d4ef2b50
EZ
120992011-09-22 Eli Zaretskii <eliz@gnu.org>
12100
12101 * simple.el (what-cursor-position): Use get-char-property-change
12102 and next-single-char-property-change, to be able to show display
12103 properties that come from overlays as well as text properties.
12104
72258fe5
CY
121052011-09-22 Chong Yidong <cyd@stupidchicken.com>
12106
12107 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
12108
12109 * cmuscheme.el (run-scheme, switch-to-scheme):
12110 * cus-edit.el (customize-group, custom-buffer-create)
12111 (customize-browse):
12112 * info.el (info):
12113 * shell.el (shell):
12114 * mail/sendmail.el (mail):
12115 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
12116
8f098516
RS
121172011-09-22 Richard Stallman <rms@gnu.org>
12118
12119 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
12120 move back only to line beg, don't move back over blank lines.
12121
e74f1bb6
MA
121222011-09-22 Michael Albinus <michael.albinus@gmx.de>
12123
12124 * files.el (copy-directory): Set directory attributes only in case
12125 they could be retrieved from the source directory. (Bug#9565)
12126
bfeef8b6
DK
121272011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
12128
12129 * progmodes/hideshow.el (hs-looking-at-block-start-p)
12130 (hs-find-block-beginning, hs-hide-level-recursive):
12131 Ignore strings as well as comments. (Bug#9502)
12132
7e423bb8
AS
121332011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
12134
12135 * progmodes/sql.el (sql-comint-postgres):
12136 Convert port number to a string. (Bug#9566)
12137
b4d72fcf
MR
121382011-09-22 Martin Rudalics <rudalics@gmx.at>
12139
12140 * window.el (quit-window): Undedicate window when switching to
12141 previous buffer. Reported by Thierry Volpiatto
12142 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
12143 (special-display-popup-frame): When popping up a new frame reset
12144 its previous buffers to nil. Simplify code.
b4d72fcf 12145
a7b88dc6
MA
121462011-09-21 Michael Albinus <michael.albinus@gmx.de>
12147
12148 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
12149 and process filter, as done also in `shell-command'.
12150
cf4eacfd
MR
121512011-09-21 Martin Rudalics <rudalics@gmx.at>
12152
eca3f3ea 12153 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
12154 Call set-window-start with NOFORCE argument t.
12155 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
12156 (quit-window): Reword doc-string. Handle new format of
12157 quit-restore parameter. Don't delete window if it has a
12158 previous buffer we can show instead of the present one.
12159 (display-buffer-record-window): Rewrite using a new format for
12160 the quit-restore window parameter
12161 (special-display-popup-frame, display-buffer-same-window)
12162 (display-buffer-reuse-window, display-buffer-pop-up-frame)
12163 (display-buffer-pop-up-window, display-buffer-use-some-window):
12164 Adapt symbol passed to display-buffer-record-window.
12165 * help.el (help-window-setup): Handle new format of quit-restore
12166 parameter.
12167
8d28cb95
SM
121682011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
12169
94ab793f
SM
12170 * faces.el (face-list): Fix docstring (bug#9564).
12171
8d28cb95
SM
12172 * window.el (display-buffer--action-function-custom-type):
12173 Don't include internal functions in the Custom interface.
12174
3820edeb
JL
121752011-09-20 Juri Linkov <juri@jurta.org>
12176
12177 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
12178 (Info-forward-node, Info-backward-node, Info-next-preorder)
12179 (Info-last-preorder): Use it. (Bug#9528)
12180
5147931d
JL
121812011-09-20 Juri Linkov <juri@jurta.org>
12182
12183 * info.el (Info-last-preorder): Visit last menu item only when
12184 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
12185
cf499a1a
JD
121862011-09-20 Julien Danjou <julien@danjou.info>
12187
12188 * password-cache.el (password-cache-remove): Remove entries even if the
12189 value is nil, so that password with a nil value (negative caching) is
12190 possible to invalidate.
12191
f84e2fe2
LM
121922011-09-20 Lawrence Mitchell <wence@gmx.li>
12193
12194 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
12195 all whitespace around breakpoint. (Bug#9553)
12196 (f90-find-breakpoint): Only break at whitespace inside a comment.
12197
78054a46
SM
121982011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
12199
12200 * minibuffer.el (completion-file-name-table): Keep track of errors.
12201 (completion-table-with-predicate): Handle the case where pred1 is nil.
12202 * pcomplete.el (pcomplete-completions-at-point): Simplify.
12203
345083b2
SM
122042011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
12205
e24e27be
SM
12206 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
12207 (debugger-return-value): Signal an error if the debugging context does
12208 not await any return value.
12209
345083b2
SM
12210 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
12211 * image-mode.el (image-toggle-display-text)
12212 (image-toggle-display-image): Stay away from evil `intangible'.
12213
08d355e3
LL
122142011-09-19 Leo Liu <sdl.web@gmail.com>
12215
12216 * replace.el (occur-revert-arguments): Make it permanent-local.
12217 (occur-mode): Don't call font-lock-defontify.
12218
f01da43f
CY
122192011-09-19 Chong Yidong <cyd@stupidchicken.com>
12220
12221 * net/ldap.el (ldap-search-internal): Don't push empty search
12222 result (Bug#9508).
12223
b6072fa6
SM
122242011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
12225
12226 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
12227
443d6696
MA
122282011-09-19 Michael Albinus <michael.albinus@gmx.de>
12229
12230 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
12231 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
12232
7cc6e154
JL
122332011-09-18 Juri Linkov <juri@jurta.org>
12234
12235 * buff-menu.el (Buffer-menu-mode-map):
12236 * dired.el (dired-mode-map):
12237 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
12238 (lisp-interaction-mode-map):
12239 * emacs-lisp/package.el (package-menu-mode-map):
12240 * epa.el (epa-key-list-mode-map):
12241 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
12242 (menu-bar-options-menu):
12243 * outline.el (outline-mode-menu-bar-map):
12244 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
12245 * vc/vc-dir.el (vc-dir-menu-map):
12246 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
12247 Capitalize non-function content words in menu item strings.
12248
12249 * dired.el (dired-mode-map): Add menu item for
12250 `image-dired-dired-toggle-marked-thumbs'.
12251
80302a81
JL
122522011-09-18 Juri Linkov <juri@jurta.org>
12253
12254 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
12255 to `isearch-case-fold-search' and restore its original value
12256 after the `isearch-mode' call.
12257
46c5cf66
JL
122582011-09-18 Juri Linkov <juri@jurta.org>
12259
12260 * progmodes/grep.el (grep-process-setup): Don't check code for 1
12261 because `zgrep' returns 1 for successful matches (bug#9226).
12262
d18b513b
JL
122632011-09-18 Juri Linkov <juri@jurta.org>
12264
12265 * info.el (Info-extract-menu-node-name): Check the second match
12266 for empty string (second test-case of bug#9528).
12267 (Info-last-preorder): Let-bind `Info-history' to nil to not add
12268 intermediate nodes to the history (first test-case of bug#9528).
12269
72753f87
JL
122702011-09-18 Juri Linkov <juri@jurta.org>
12271
12272 * info.el (Info-mode-syntax-table): New variable.
1154d12e 12273 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 12274
c9384295
JL
122752011-09-18 Juri Linkov <juri@jurta.org>
12276
1154d12e
JB
12277 * info.el (Info-file-supports-index-cookies):
12278 Increment line-beginning-position's arg from 3 to 4 because makeinfo
12279 outputs one more line for long file names (bug#4142).
c9384295 12280
d473dce8
CY
122812011-09-18 Chong Yidong <cyd@stupidchicken.com>
12282
12283 * newcomment.el (comment-normalize-vars): If prompting for
12284 comment-start, set comment-start-skip too (Bug#8424).
12285
2176854d
JB
122862011-09-18 Johan Bockgård <bojohan@gnu.org>
12287
12288 * icomplete.el: Fix previous fix of Bug#5849.
12289 (icomplete-mode): Don't set completion-show-inline-help.
12290 (icomplete-minibuffer-setup): Set completion-show-inline-help
12291 locally during icompletion.
12292
3aace4e4
CY
122932011-09-18 Chong Yidong <cyd@stupidchicken.com>
12294
c940224f
CY
12295 * woman.el (woman2-process-escapes): Don't delete unrecognized
12296 escapes (Bug#7843).
12297
3aace4e4
CY
12298 * files.el (inhibit-first-line-modes-regexps): Add image files.
12299 (hack-local-variables-prop-line): Return nil for malformed
12300 prop-lines (Bug#9044).
12301
710dec63
MA
123022011-09-18 Michael Albinus <michael.albinus@gmx.de>
12303
12304 * net/tramp.el (top): Don't require 'shell.
12305 (tramp-methods): Fix docstring.
12306 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
12307 Return complete remote file name. Handle "smb" case.
12308 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
12309 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
12310
12311 * net/tramp-compat.el (top): Require 'shell.
12312
12313 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
12314 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
12315 `tramp-current-host'.
12316 (tramp-get-remote-tmpdir): Remove.
12317
12318 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
12319 `tramp-tmpdir' entries.
12320 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
12321 (tramp-smb-handle-file-attributes): Ignore errors.
12322 (tramp-smb-wait-for-output): Check also for process end.
12323
5d5ac8ec
LMI
123242011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
12325
12326 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
12327 when sending QUIT (bug#9312).
12328
8c0f49f0
CY
123292011-09-17 Chong Yidong <cyd@stupidchicken.com>
12330
12331 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
12332 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
12333 occur-mode-display-occurrence.
12334 (occur-edit-mode): Add usage message.
12335 (occur-cease-edit): New command.
12336 (occur-after-change-function): Use text properties to find the
12337 position of the prefix text.
12338 (occur-engine): Set stickiness of prefix text properties.
12339
8f1383f7
GM
123402011-09-17 Glenn Morris <rgm@gnu.org>
12341
12342 * progmodes/etags.el (complete-tag):
12343 Fix call to completion-in-region. (Bug#9526)
12344
744ba0e3
JL
123452011-09-17 Juri Linkov <juri@jurta.org>
12346
12347 * textmodes/ispell.el (ispell-word): Add to the error message
12348 the word, ispell program name and current dictionary (bug#9121).
12349 (ispell-tex-arg-end): Capitalize "error" in the error message.
12350
d9bbf400
AS
123512011-09-17 Andreas Schwab <schwab@linux-m68k.org>
12352
12353 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
12354 check. (Bug#4251)
12355
8da11505
JL
123562011-09-17 Juri Linkov <juri@jurta.org>
12357
12358 * window.el (window-safe-min-height, window-safe-min-width):
12359 Fix typos (followup to bug#9522).
12360
a91adc7e
SJ
123612011-09-17 Sven Joachim <svenjoac@gmx.de>
12362
12363 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
12364
064f328a
EZ
123652011-09-16 Eli Zaretskii <eliz@gnu.org>
12366
12367 * simple.el (line-move): If goal-column is set, move by logical
12368 lines, not by display lines. (Bug#971)
12369 (next-line, previous-line, goal-column, line-move-visual): Doc fix
12370 to reflect the above change.
12371
e69df516
SM
123722011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
12373
12374 * image.el (imagemagick-register-types): Use regexp-opt.
12375
cbb0f9ab
CY
123762011-09-15 Chong Yidong <cyd@stupidchicken.com>
12377
12378 * window.el (display-buffer-base-action): Rename from
12379 display-buffer-default-action. Make default value empty.
12380 (display-buffer-overriding-action): Convert to defvar.
12381 (display-buffer-fallback-action): New var.
12382
25322144
CY
123832011-09-15 Chong Yidong <cyd@stupidchicken.com>
12384
12385 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
12386 declaration.
12387 (package--add-to-archive-contents): If there is a duplicate entry
12388 with an older version, remove it.
12389 (package-menu-mark-delete, package-menu-mark-install)
12390 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
12391 (package-menu-mark-obsolete-for-deletion):
12392 Use package-menu-get-status instead of a regexp search.
25322144
CY
12393 (package-menu-get-status): Use tabulated-list-entry.
12394 (package-menu-mark-upgrades): New command.
d770725a 12395 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
12396 (package-menu-execute): Do installation before deletion.
12397 (package-menu-refresh, package-menu-execute): Use derived-mode-p
12398 instead of checking major-mode.
12399 (package-menu--find-upgrades): New function.
12400
7520339c
LMI
124012011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
12402
12403 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
12404 passwords in the log buffer.
65a046c4
LMI
12405 (smtpmail-process-filter): Update the process marker so that the
12406 "broken by peer" status message is inserted in the right place.
7520339c 12407
d3c30954
SM
124082011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
12409
3fe48822
SM
12410 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
12411 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
12412 bibtex-completion-at-point-function.
12413 (bibtex-completion-at-point-function): Use them.
12414
1b8b3954
SM
12415 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
12416
d3c30954
SM
12417 * mpc.el (mpc-constraints-tag-lookup): New function.
12418 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
12419 also to browser "album|playlist".
12420
72779976
JL
124212011-09-14 Juri Linkov <juri@jurta.org>
12422
12423 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
12424 (isearch-edit-string): Use length of `isearch-string' when
12425 `isearch-fail-pos' returns nil.
12426 (isearch-message): Remove duplicate code and call
12427 `isearch-fail-pos' with arg `t'.
12428
a0bf2bcd
CY
124292011-09-14 Chong Yidong <cyd@stupidchicken.com>
12430
17bb0a2d
CY
12431 * replace.el (occur-mode-goto-occurrence): Don't force using other
12432 window (Bug#9499).
12433
a0bf2bcd
CY
12434 * dired-aux.el (dired-do-chmod): Don't provide initial input.
12435
f678e0b6
MR
124362011-09-14 Martin Rudalics <rudalics@gmx.at>
12437
12438 * window.el (display-buffer-window): Remove.
12439 (display-buffer-record-window): Use help-setup window parameter
12440 instead of variable display-buffer-window.
12441 (display-buffer-function, special-display-buffer-names)
12442 (special-display-function): Mention help-setup parameter instead
12443 of display-buffer-window in doc-string.
d3c30954
SM
12444 * help.el (help-window-setup): New argument help-window.
12445 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
12446 Reword some messages.
12447 (with-help-window): Pass window used for displaying the buffer
12448 to help-window-setup. Don't set display-buffer-window.
12449
8e39b2e8
GM
124502011-09-13 Glenn Morris <rgm@gnu.org>
12451
12452 * emacs-lisp/debug.el (debugger-make-xrefs):
12453 Preserve point. (Bug#9462)
12454
85e9c04b
CY
124552011-09-13 Chong Yidong <cyd@stupidchicken.com>
12456
12457 * window.el (window-deletable-p): Use next-frame.
12458
1b36ed6a
MR
124592011-09-13 Martin Rudalics <rudalics@gmx.at>
12460
12461 * window.el (window-auto-delete): Remove.
12462 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 12463 dedication and previous buffers.
1b36ed6a
MR
12464 (switch-to-prev-buffer): Don't delete window.
12465 (delete-windows-on): Delete a window's frame if and only if the
12466 window is dedicated.
12467 (replace-buffer-in-windows): Delete buffer's window or frame if
12468 and only if window is dedicated.
12469 (quit-window): Handle quit-restore as before last change.
4d61f28d 12470 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 12471
ef8ef9fb
CY
124722011-09-13 Chong Yidong <cyd@stupidchicken.com>
12473
12474 * window.el (window-deletable-p): Never delete the last frame on a
12475 given terminal.
12476
b2cba41e
GM
124772011-09-13 Glenn Morris <rgm@gnu.org>
12478
12479 * help.el (describe-key-briefly): Copy previous standard-output change.
12480
51553db6 124812011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
12482
12483 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
12484
b7556719
GM
124852011-09-13 Glenn Morris <rgm@gnu.org>
12486
12487 * emacs-lisp/lisp-mode.el (lisp-indent-function):
12488 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
12489
64b51947
CY
124902011-09-12 Chong Yidong <cyd@stupidchicken.com>
12491
12492 * dired-aux.el (dired-mark-read-string): Don't return default
12493 value on empty input (Bug#9361).
12494 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
12495 Omit initial minibuffer contents.
12496 (dired-do-chmod): Signal an error on empty input.
12497 (dired-mark-read-string): Don't return default on empty input.
12498
12499 * files.el (file-modes-symbolic-to-number): Doc fix.
12500
393a301e
SM
125012011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
12502
12503 * international/mule-cmds.el (ucs-completions): Remove.
12504 (read-char-by-name): Use complete-with-action instead; add metadata.
12505
fa5660f9
CY
125062011-09-11 Chong Yidong <cyd@stupidchicken.com>
12507
12508 * window.el (display-buffer--action-function-custom-type)
12509 (display-buffer--action-custom-type): New vars.
12510 (display-buffer-alist, display-buffer-default-action)
12511 (display-buffer-overriding-action): Add defcustom types.
12512
4a592f66
CY
12513 * frame.el (delete-other-frames): Doc fix (Bug#276).
12514
73d56dbd
LMI
125152011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
12516
12517 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
12518
37ac18a3
CY
125192011-09-11 Chong Yidong <cyd@stupidchicken.com>
12520
12521 Change modes that used same-window-* vars to use switch-to-buffer.
12522
12523 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
12524 Use switch-to-buffer.
12525
12526 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
12527 (customize-browse, custom-buffer-create-other-window):
12528 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
12529
12530 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
12531 (Info-prev, Info-up, Info-speedbar-goto-node)
12532 (info-display-manual): Use switch-to-buffer.
12533 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
12534
12535 * mail/sendmail.el (mail): Use switch-to-buffer.
12536 (mail-recover): Use switch-to-buffer-other-window.
12537
12538 * cmuscheme.el (run-scheme, switch-to-scheme):
12539 * ielm.el (ielm):
12540 * shell.el (shell):
12541 * net/rlogin.el (rlogin):
12542 * net/telnet.el (telnet, rsh):
12543 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
12544
10195bd6
AS
125452011-09-11 Andreas Schwab <schwab@linux-m68k.org>
12546
12547 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
12548
b322f63a
LMI
125492011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
12550
39d7fed6
LMI
12551 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
12552 so don't mention it (bug#9301).
ba5a81f1 12553 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 12554
ee0e9f11
LMI
12555 * faces.el (face-spec-set-match-display): Make `(type graphic)'
12556 match `x', `w32' and `ns', like the manual says (bug#9029).
12557
0b1c89c1 12558 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
12559 (process-kill-buffer-query-function): Mention the buffer name in
12560 the query.
0b1c89c1 12561
77549ea8
LMI
12562 * image-mode.el (image-next-line): The line parameter is mandatory
12563 (bug#9258).
12564
803ef892
LMI
12565 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
12566 which can be useful (bug#9301).
12567
12980837
LMI
12568 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
12569
91054f8f
LMI
12570 * subr.el (match-string): Mention that the current buffer should
12571 be the same as the search was done in (bug#9282).
12572
b322f63a
LMI
12573 * facemenu.el: Disable the remove-* commands if the mark isn't
12574 active (bug#9162).
12575
3199b96f
CY
125762011-09-10 Chong Yidong <cyd@stupidchicken.com>
12577
12578 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
12579 of display-buffer.
12580 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
12581
12582 * replace.el (occur-mode-goto-occurrence)
12583 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
12584 and display-buffer.
12585
12586 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
12587 display-buffer.
12588
12589 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
12590 special-display and same-window variables.
12591 (mail-other-window): Use switch-to-buffer-other-window.
12592 (mail-other-frame): USe switch-to-buffer-other-frame.
12593
393a301e
SM
12594 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
12595 Use display-buffer-other-frame.
3199b96f
CY
12596 (gdb-display-gdb-buffer): Use pop-to-buffer.
12597
12598 * progmodes/gud.el (gud-goto-info): Use info-other-window.
12599
12600 * progmodes/python.el: Don't set same-window-buffer-names.
12601
12602 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
12603
12604 * window.el (display-buffer-alist): Add *Python*.
12605
8319e0bf
CY
126062011-09-10 Chong Yidong <cyd@stupidchicken.com>
12607
12608 * window.el (display-buffer-alist): Add entry for buffers
12609 previously handled same-window-*.
12610 (display-buffer-alist, display-buffer-default-action)
12611 (display-buffer-overriding-action): Mark as risky.
12612 (display-buffer-alist): Document action function changes.
12613 (display-buffer--same-window-action)
12614 (display-buffer--other-frame-action): New variables.
12615 (switch-to-buffer, display-buffer-other-frame): Use them.
12616 (display-buffer): Rename reuse-frame entry to reusable-frames.
12617 (display-buffer-reuse-selected-window): Function deleted.
12618 (display-buffer-reuse-window): Handle reusable-frames alist entry.
12619 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
12620 (display-buffer-special): New function.
12621 (display-buffer--maybe-pop-up-frame-or-window): Rename from
12622 display-buffer-reuse-or-pop-window. Split off special-display
12623 part into display-buffer-special.
12624 (display-buffer-use-some-window): Don't perform any special
12625 pop-up-frames handling.
12626 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 12627 (display-buffer--maybe-same-window): Rename from
0d3ff375 12628 display-buffer-maybe-same-window.
8319e0bf 12629
919a69aa
CY
12630 * info.el: Don't set same-window-regexps.
12631 (info-setup): New function.
12632 (info-other-window, info): Call it.
12633
12634 * cus-edit.el: Don't set same-window-regexps.
12635 (customize-group): New argument.
12636 (customize-group-other-window): Use it.
12637 (customize-face, customize-face-other-window): Likewise.
12638 (custom-buffer-create-other-window): Use pop-to-buffer directly.
12639
8319e0bf
CY
12640 * net/rlogin.el:
12641 * net/telnet.el:
12642 * progmodes/gud.el: Don't set same-window-regexps.
12643
12644 * cmuscheme.el:
12645 * ielm.el:
12646 * shell.el:
12647 * mail/sendmail.el:
12648 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
12649
25173000
JL
126502011-09-10 Juri Linkov <juri@jurta.org>
12651
12652 * isearch.el (isearch-edit-string): Remove obsolete mention of
12653 `C-w' (`isearch-yank-word-or-char') from docstring.
12654 (isearch-query-replace): Fix typo in docstring (bug#9466).
12655
056e44ef
JL
126562011-09-10 Juri Linkov <juri@jurta.org>
12657
12658 * paren.el (show-paren-function): Don't show escaped parens.
12659 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
12660
c3760c17
EZ
126612011-09-10 Eli Zaretskii <eliz@gnu.org>
12662
12663 * mail/sendmail.el (mml-to-mime, mml-attach-file)
12664 (mm-default-file-encoding): Remove autoload forms, they are
12665 replaced with autoload cookies in mml.el and mm-encode.el.
12666 (mail-add-attachment): New command.
12667 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
12668 (mail-mode): Mention mail-insert-file and mail-add-attachment in
12669 the doc string.
12670 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
12671
fece895e
RT
126722011-09-10 Reuben Thomas <rrt@sc3d.org>
12673
e69df516
SM
12674 * simple.el (count-words-region): Use buffer if there's no region
12675 (bug#9429).
fece895e 12676
5e68ce4a
JL
126772011-09-09 Juri Linkov <juri@jurta.org>
12678
12679 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
12680 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
12681 (wdired-isearch-filter-read-only): New function. (Bug#6362)
12682
0a6b9622
AM
126832011-09-09 Alan Mackenzie <acm@muc.de>
12684
12685 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
12686 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
12687
14a29deb
EZ
126882011-09-09 Eli Zaretskii <eliz@gnu.org>
12689
12690 Fix for Savannah bug#9392.
12691 * simple.el (mail-encode-mml): New defvar.
12692
12693 * mail/rmail.el (mail-encode-mml): Add a defvar.
12694 (rmail-enable-mime-composing): Default to t.
12695 (rmail-forward): Use MIME method of forwarding only if both
12696 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
12697 Set mail-encode-mml non-nil if the MIME method was used.
12698
12699 * mail/sendmail.el (mml-to-mime): Add autoload form.
12700 (mail-encode-mml): Add a defvar.
12701 (mail-mode): Make mail-encode-mml buffer-local and initialize it
12702 to nil.
12703 (mail-send): If mail-encode-mml is non-nil, run the outgoing
12704 message through mml-to-mime, and reset mail-encode-mml to nil.
12705
28c45130
GM
127062011-09-09 Glenn Morris <rgm@gnu.org>
12707
12708 * woman.el (woman-if-body): When processing an .el block,
12709 do not delete the next .el block as well. (Bug#9447)
69f4b618 12710 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 12711
9b1c252e
MR
127122011-09-08 Martin Rudalics <rudalics@gmx.at>
12713
12714 * window.el (window-deletable-p): Make sure window is live before
12715 invoking window-prev-buffers.
12716
567457e3
LL
127172011-09-08 Leo Liu <sdl.web@gmail.com>
12718
12719 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
12720
97f05794
JL
127212011-09-08 Juri Linkov <juri@jurta.org>
12722
12723 * progmodes/compile.el (compilation-environment): Make it
12724 a defcustom (bug#8340).
12725
8b0874b5
MR
127262011-09-08 Martin Rudalics <rudalics@gmx.at>
12727
12728 * window.el (frame-auto-delete): Rename to window-auto-delete.
12729 Make it control auto-deletion of windows and/or frames.
12730 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 12731 for deleting window/frame. (Bug#9419)
8b0874b5
MR
12732 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
12733 Rewrite handling of case when window/frame can be deleted.
12734 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 12735 argument t. (Bug#9456)
8b0874b5 12736
4feb6e73
CY
127372011-09-07 Chong Yidong <cyd@stupidchicken.com>
12738
12739 * help-mode.el (help-mode): Restore autoload.
12740
91ab9c13
JL
127412011-09-07 Juri Linkov <juri@jurta.org>
12742
12743 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
12744 `compilation-environment'. Set buffer-local
12745 `compilation-environment' to `thisenv' later after (funcall mode).
12746 (Bug#8340)
12747
12748 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
12749 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
12750 instead of replacing its value. (Bug#8340)
12751
0527e251
JL
127522011-09-07 Juri Linkov <juri@jurta.org>
12753
12754 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
12755 based on text properties put by `grep-filter' instead of matching
12756 escape sequences.
12757 (grep-mode): Set buffer-local `compilation-error-screen-columns'
12758 to the value of `grep-error-screen-columns' (bug#9438).
12759
249f792c
JL
127602011-09-07 Juri Linkov <juri@jurta.org>
12761
12762 * simple.el (next-error-highlight, next-error-highlight-no-select):
12763 Doc fix (bug#9432).
12764
ff7271b9
OT
127652011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
12766
12767 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
12768 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
12769
183fc730
LL
127702011-09-07 Leo Liu <sdl.web@gmail.com>
12771
12772 * net/rcirc.el (rcirc-mode): Conditionally initialize
12773 rcirc-input-ring.
12774
77694924
SM
127752011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
12776
12777 * emacs-lisp/find-func.el (find-function-C-source): Only set
12778 find-function-C-source-directory after checking that we found a source
12779 file there (bug#9440).
12780
d809b8eb
AM
127812011-09-06 Alan Mackenzie <acm@muc.de>
12782
12783 * isearch.el (isearch-other-meta-char): Wherever a key list is
12784 unread, "unread" the prefix arg, too. This fixes bug #8901.
12785
453de99f
OG
127862011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
12787
12788 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
12789
90439906
JL
127902011-09-05 Juri Linkov <juri@jurta.org>
12791
12792 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
12793
f62bd846
JL
127942011-09-05 Juri Linkov <juri@jurta.org>
12795
12796 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
12797 keeping point where processing of grep matches begins, and
12798 continue to delete remaining escape sequences from the same point.
12799 (grep-filter): Make leading zero optional in "0?1;31m" because
12800 git-grep emits "\033[1;31m" escape sequences unlike expected
12801 "\033[01;31m" as GNU Grep does (bug#9408).
12802 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
12803
045820ec
JL
128042011-09-05 Juri Linkov <juri@jurta.org>
12805
12806 * subr.el (y-or-n-p): Capitalize "yes".
12807
f5e29b9b
MA
128082011-09-04 Michael Albinus <michael.albinus@gmx.de>
12809
12810 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
12811 `tramp-cache-unload-hook' where appropriate.
12812 (tramp-methods): Rename `tramp-remote-sh' to
12813 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
12814 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
12815
12816 * net/tramp-sh.el (top): Don't require 'shell.
12817 (tramp-methods): Add `tramp-remote-shell' and
12818 `tramp-remote-shell-args' entries.
12819 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
12820 (tramp-sh-handle-shell-command): Remove.
12821 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
12822 Use `tramp-remote-shell'.
12823
2784c434
CY
128242011-09-03 Chong Yidong <cyd@stupidchicken.com>
12825
393a301e 12826 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
12827 (sendmail-query-once): Save directly to send-mail-function.
12828 Update message-send-mail-function too.
12829
12830 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
12831
464cdf56
CS
128322011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
12833
12834 * progmodes/python.el (python-mode-map): Use correct function to
12835 start python interpreter from menu-bar (as reported by Geert
12836 Kloosterman).
12837 (inferior-python-mode-map): Fix typo.
393a301e 12838 (python-shell-map): Remove.
464cdf56 12839
d37e5c87
DD
128402011-09-03 Deniz Dogan <deniz@dogan.se>
12841
12842 * net/rcirc.el (rcirc-print): Simplify code for
12843 rcirc-scroll-show-maximum-output. There is no need to walk
12844 through all windows to find the right one.
12845
f3ada0ee
CS
128462011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
12847
12848 * help.el (help-return-method): Doc fix.
12849
1f3c99ca
MR
128502011-09-03 Martin Rudalics <rudalics@gmx.at>
12851
12852 * window.el (window-deletable-p): Don't return a non-nil value
12853 when there's a buffer that was shown in the window before.
12854 (Bug#9419)
393a301e
SM
12855 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
12856 Set window's previous buffers to nil.
1f3c99ca 12857
a3cf097f
EZ
128582011-09-03 Eli Zaretskii <eliz@gnu.org>
12859
12860 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
12861 newline before and after the tag line, so it doesn't interfere
12862 with determining the paragraph direction of bidirectional text.
12863
3d03de90
LL
128642011-09-03 Leo Liu <sdl.web@gmail.com>
12865
12866 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
12867
c3313451
CY
128682011-09-02 Chong Yidong <cyd@stupidchicken.com>
12869
393a301e 12870 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
12871 (pop-to-buffer): Change interactive spec. Pass second argument
12872 directly to display-buffer.
12873 (display-buffer): Fix interactive spec. Use functionp to
12874 distinguish between a function and a list of functions.
12875
12876 * abbrev.el (edit-abbrevs):
12877 * arc-mode.el (archive-extract):
12878 * autoinsert.el (auto-insert):
12879 * bookmark.el (bookmark-bmenu-list):
12880 * files.el (find-file):
12881 * view.el (view-buffer):
12882 * progmodes/compile.el (compilation-goto-locus):
12883 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
12884
89894cd8
CY
128852011-09-02 Chong Yidong <cyd@stupidchicken.com>
12886
12887 * window.el (display-buffer-alist): Doc fix.
12888 (display-buffer): Add docstring. Don't treat
12889 display-buffer-default specially.
12890 (display-buffer-reuse-selected-window)
12891 (display-buffer-same-window, display-buffer-maybe-same-window)
12892 (display-buffer-reuse-window, display-buffer-pop-up-frame)
12893 (display-buffer-pop-up-window)
12894 (display-buffer-reuse-or-pop-window)
12895 (display-buffer-use-some-window): New functions.
12896 (display-buffer-default-action): Use them.
393a301e 12897 (display-buffer-default): Delete.
89894cd8
CY
12898 (pop-to-buffer-1): Fix choice of actions.
12899
ae0bc9fb
SM
129002011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
12901
12902 * minibuffer.el (completion--insert-strings): Don't get confused by
12903 completion entries that end with an LF char.
12904
e9d90883
EZ
129052011-09-01 Eli Zaretskii <eliz@gnu.org>
12906
12907 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
12908
437014c8
CY
129092011-09-01 Chong Yidong <cyd@stupidchicken.com>
12910
12911 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
12912 (display-buffer-same-window, display-buffer-other-window):
12913 New functions.
437014c8
CY
12914 (pop-to-buffer-1): New function. Use the above.
12915 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 12916 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
12917
12918 * view.el (view-buffer-other-window, view-buffer-other-frame):
12919 Just use pop-to-buffer.
12920
a5e063d5
TV
129212011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12922
12923 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
12924
793d32bb
WH
129252011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
12926
12927 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
12928
d65e4c15
RS
129292011-08-31 Richard Stallman <rms@gnu.org>
12930
12931 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
12932 of the separation of rmail-view-buffer from rmail-buffer.
12933 If you say no to "replace original", the decrypt is in the
12934 view buffer. If you say yes, the decrypt goes into the
12935 rmail buffer also.
12936
f818cd2a
MR
129372011-08-31 Martin Rudalics <rudalics@gmx.at>
12938
12939 * window.el (display-buffer-window): Rewrite doc-string.
12940 (display-buffer-record-window): New function.
12941 (display-buffer-macro-specifiers)
12942 (display-buffer-even-window-sizes, display-buffer-set-height)
12943 (display-buffer-set-width, display-buffer-in-window)
12944 (display-buffer-reuse-window, display-buffer-split-specifiers)
12945 (display-buffer-side-specifiers, display-buffer-split-window-1)
12946 (display-buffer-split-window, display-buffer-split-atom-window)
12947 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
12948 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
12949 (display-buffer-other-window-means-other-frame)
12950 (display-buffer-normalize-special)
12951 (display-buffer-normalize-default)
12952 (display-buffer-normalize-argument)
12953 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
12954 (display-buffer-normalize-specifiers, display-buffer-frame)
12955 (display-buffer-same-window, display-buffer-same-frame)
12956 (display-buffer-other-window)
12957 (display-buffer-same-frame-other-window)
12958 (display-buffer-other-frame, pop-to-buffer-same-window)
12959 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
12960 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
12961 (switch-to-buffer-same-frame)
12962 (switch-to-buffer-other-window-same-frame)
12963 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
12964 (display-buffer-alist-set-1, display-buffer-alist-set-2)
12965 (display-buffer-alist-set): Remove.
12966 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
12967 (special-display-regexps, special-display-function):
12968 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
12969 parameter.
12970 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
12971 (special-display-frame-alist, special-display-popup-frame)
12972 (same-window-buffer-names, same-window-regexps, same-window-p)
12973 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
12974 (split-window-preferred-function, split-height-threshold)
12975 (split-width-threshold, window-splittable-p)
12976 (split-window-sensibly, window--try-to-split-window)
12977 (window--frame-usable-p, even-window-heights)
12978 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
12979 (window--display-buffer-2, display-buffer-other-frame):
12980 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
12981 (display-buffer-default, display-buffer-assq-regexp): New functions.
12982 (display-buffer-alist): Rewrite doc-string.
12983 (display-buffer-default-action)
12984 (display-buffer-overriding-action): New variables.
12985 (display-buffer, switch-to-buffer): Rewrite.
12986 (pop-to-buffer): Restore Emacs 23 behavior but use
12987 window-normalize-buffer-to-display.
12988 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
12989 Restore Emacs 23 behavior but use
12990 window-normalize-buffer-to-switch-to.
12991 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
12992 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
12993 Rewrite using Emacs 23 options.
f818cd2a 12994
5bc3b51d
MA
129952011-08-31 Michael Albinus <michael.albinus@gmx.de>
12996
12997 * net/tramp.el (tramp-root-regexp): Remove.
12998 (tramp-completion-file-name-regexp-unified)
12999 (tramp-completion-file-name-regexp-separate)
13000 (tramp-completion-file-name-regexp-url): Don't use leading volume
b46a6a83 13001 letter on w32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
13002 (tramp-drop-volume-letter): Simplify definition.
13003 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 13004
b1a4f8e1
SM
130052011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
13006
13007 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
13008 (bug#9356).
13009
5664fa7b
RT
130102011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
13011
b1a4f8e1 13012 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 13013
9a45d6c3
JL
130142011-08-29 Juri Linkov <juri@jurta.org>
13015
13016 * isearch.el (isearch-done): Don't display message "Mark saved"
13017 when arg `edit' is non-nil to prevent its flicker in the echo area.
13018
fb87e0fb
CY
130192011-08-28 Chong Yidong <cyd@stupidchicken.com>
13020
13021 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
13022 obsolete packages for deletion.
13023
09ac1c2a
CS
130242011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
13025
13026 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 13027 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
13028 view-mode from help-mode.
13029 (help-xref-override-view-map): Remove.
13030 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
13031 view-mode is not used anymore.
13032
7a1ff57f
CY
130332011-08-28 Chong Yidong <cyd@stupidchicken.com>
13034
13035 * server.el (server-port): Doc fix.
13036
b9696605
CY
13037 * cus-theme.el (custom-theme-choose-mode): Inherit from
13038 special-mode (Bug#9124).
13039 (custom-theme-choose-mode-map): Add special-mode to parent.
13040
ef8cdf8c
AM
130412011-08-28 Alan Mackenzie <acm@muc.de>
13042
13043 * progmodes/cc-fonts.el
13044 (c-make-font-lock-BO-decl-search-function): New function.
13045 (c-basic-matchers-after - "Fontify the clauses after various
13046 keywords"): Extract the three keyword lists for the 3 erroneous
13047 constructs from the list of four, and use the new function above
13048 in place of an old one.
13049
27de4e20
DD
130502011-08-28 Deniz Dogan <deniz@dogan.se>
13051
13052 * net/rcirc.el (rcirc-insert-prev-input)
13053 (rcirc-insert-next-input): Remove unused argument.
13054
356a3681
SM
130552011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
13056
13057 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
13058
3fc9b218
AM
130592011-08-27 Alan Mackenzie <acm@muc.de>
13060
13061 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
13062 handle function pointer parameters properly.
13063
538a061c
MR
130642011-08-27 Martin Rudalics <rudalics@gmx.at>
13065
13066 * window.el (display-buffer-reuse-window): Fix case where
13067 selected window was reused with non-nil OTHER-WINDOW argument.
13068 (Bug#9381)
13069
35b1c40c
DD
130702011-08-27 Deniz Dogan <deniz@dogan.se>
13071
13072 * net/rcirc.el (rcirc-check-auth-status): Adding support for
13073 oftc's NickServ messages.
13074
2f6a3e79
GM
130752011-08-27 Glenn Morris <rgm@gnu.org>
13076
13077 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
13078
7254299e
CY
130792011-08-26 Chong Yidong <cyd@stupidchicken.com>
13080
13081 * emacs-lisp/package.el (package-install): Call package-initialize
13082 if called interactively.
13083
f8ccf167
LL
130842011-08-26 Leo Liu <sdl.web@gmail.com>
13085
13086 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
13087
3e8cd5ce
JL
130882011-08-25 Juri Linkov <juri@jurta.org>
13089
13090 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
13091 `search-whitespace-regexp' (bug#9364).
13092
93eb7113
JL
130932011-08-25 Juri Linkov <juri@jurta.org>
13094
13095 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
13096 `regexp-search-ring' to their global values to protect from
13097 updating by `read-from-minibuffer' (bug#9185).
13098
f65d1611
JL
130992011-08-25 Juri Linkov <juri@jurta.org>
13100
13101 * textmodes/ispell.el (ispell-command-loop): Add newline
13102 at the end of the "Use option `i'..." line.
13103
f1cf7a31
JL
131042011-08-25 Juri Linkov <juri@jurta.org>
13105
13106 * battery.el (display-battery-mode): If `battery-status-function'
13107 or `battery-mode-line-format' is nil, display the message and set
13108 `display-battery-mode' to nil (bug#9363).
13109
0c95fcf7
EZ
131102011-08-25 Eli Zaretskii <eliz@gnu.org>
13111
13112 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
13113 bidi-string-mark-left-to-right; they are unnecessary now.
13114
a2ebe600
DD
131152011-08-25 Deniz Dogan <deniz@dogan.se>
13116
13117 * net/quickurl.el: Documentation typo fixes.
13118
e4ed06f1
CY
131192011-08-25 Chong Yidong <cyd@stupidchicken.com>
13120
13121 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
13122
e5f1c99e
GM
131232011-08-25 Glenn Morris <rgm@gnu.org>
13124
b2948976
GM
13125 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
13126
e5f1c99e
GM
13127 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
13128 (smtpmail-via-smtp): Handle nil response from smtp.
13129
f22f4808
JL
131302011-08-24 Juri Linkov <juri@jurta.org>
13131
13132 * proced.el (proced-marked): Inherit from `error' instead of
13133 `font-lock-warning-face'.
13134
13135 * ibuffer.el (ibuffer-marked-face): Change default face from
13136 `font-lock-warning-face' to `warning'.
13137 (ibuffer-deletion-face): Change default face from
13138 `font-lock-type-face' to `error'.
13139
13140 * battery.el (battery-update): Use the face `error' instead of
13141 `font-lock-warning-face' (bug#6117).
13142
6a93965e
JL
131432011-08-24 Juri Linkov <juri@jurta.org>
13144
13145 * faces.el (success): Change face color from "Green3" to
13146 "ForestGreen" on light background (bug#9353).
13147
1ed43b09
CY
131482011-08-24 Chong Yidong <cyd@stupidchicken.com>
13149
5664fa7b
RT
13150 * window.el (quit-window): Rename from quit-restore-window.
13151 Use same arglist as old quit-window.
1ed43b09
CY
13152 (frame-auto-delete): Doc fix.
13153
13154 * view.el (view-mode-exit): Use quit-window.
13155
11dcdbb2
JL
131562011-08-24 Juri Linkov <juri@jurta.org>
13157
13158 * isearch.el (isearch-ring-adjust1): Start visiting previous
13159 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
13160 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
13161 for empty search string (when the last search string is reused
13162 automatically) to adjust the isearch ring to the last element and
13163 prepare the correct index for further M-p commands (bug#9185).
13164
de62b4df
KH
131652011-08-24 Kenichi Handa <handa@m17n.org>
13166
13167 * international/ucs-normalize.el: If decomposition property of
13168 CHAR is the default one (i.e. a list of CHAR itself), treat it as
13169 nil.
13170 (nfd, nfkd): Likewise.
13171
963b492b
SM
131722011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
13173
13174 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
13175 from process filters aren't reliably transmitted to the surrounding
13176 accept-process-output.
13177 (mpc-proc-check): New function.
13178 (mpc-proc-sync): Use it (bug#8293)
13179
93b6b5e1
SM
131802011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
13181
13182 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
13183 Add compatibility functions (bug#9313).
13184
bca633fb
EZ
131852011-08-23 Eli Zaretskii <eliz@gnu.org>
13186
b177498a
EZ
13187 * cus-start.el (all): Add entry for bidi-paragraph-direction.
13188
6df6ae42 13189 * international/uni-bidi.el: Regenerate.
bca633fb 13190
0902a04e
KH
131912011-08-23 Kenichi Handa <handa@m17n.org>
13192
13193 * international/charprop.el:
13194 * international/uni-bidi.el:
13195 * international/uni-category.el:
13196 * international/uni-combining.el:
13197 * international/uni-comment.el:
13198 * international/uni-decimal.el:
13199 * international/uni-decomposition.el:
13200 * international/uni-digit.el:
13201 * international/uni-lowercase.el:
13202 * international/uni-mirrored.el:
13203 * international/uni-name.el:
13204 * international/uni-numeric.el:
13205 * international/uni-old-name.el:
13206 * international/uni-titlecase.el:
13207 * international/uni-uppercase.el: Regenerate.
13208
3bbf23bc
MR
132092011-08-23 Martin Rudalics <rudalics@gmx.at>
13210
13211 * help.el (help-window-setup): Fix message displayed when other
13212 window is reused. (Bug#9341)
13213
b3fd59bd
SM
132142011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
13215
1802e444
SM
13216 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
13217 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
13218
b3fd59bd
SM
13219 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
13220 Mark obsolete.
13221 * shell.el (shell-parse-pcomplete-arguments): New function.
13222 (shell-completion-vars): Use it instead (bug#9160).
13223
4eb61348
SM
132242011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
13225
867cab74
SM
13226 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
13227 strings and comments (bug#9333).
13228
4eb61348
SM
13229 * emacs-lisp/debug.el (debug-arglist): New function.
13230 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
13231 (debug-on-entry-1): Handle interpreted closures (bug#9120).
13232
262a1439
JL
132332011-08-22 Juri Linkov <juri@jurta.org>
13234
56ee679c
JL
13235 * progmodes/compile.el (compilation-mode-font-lock-keywords):
13236 Revert regexp that highlights output switches to its old
13237 pre-2010-10-28 value and remove one `?' from it (bug#9319).
13238
262a1439
JL
13239 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
13240 to check for empty output (bug#9226).
13241
f13f86fb
CY
132422011-08-22 Chong Yidong <cyd@stupidchicken.com>
13243
13244 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
13245 symbol-constituent as the default, as that stops font-lock from
13246 working properly (Bug#8843).
13247
c65c9622
LMI
132482011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
13249
13250 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
13251 `coding-system-for-*' around the process open call to avoid
13252 auth-source side effects.
e7f2c178 13253 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
13254 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
13255 probe hangs.
c65c9622 13256
23a8a5ab
CY
132572011-08-21 Chong Yidong <cyd@stupidchicken.com>
13258
ff98b2dd
CY
13259 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
13260
23a8a5ab
CY
13261 * emacs-lisp/find-func.el (find-function-noselect): New arg
13262 lisp-only.
13263
13264 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
13265 signal an error for built-in functions (Bug#6664).
13266
f5e3c598
LMI
132672011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
13268
13269 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
13270 (smtpmail-try-auth-methods): Use it.
13271
a3f2468a
CY
132722011-08-21 Chong Yidong <cyd@stupidchicken.com>
13273
2c34e8da
CY
13274 * font-lock.el (font-lock-fontify-region)
13275 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
13276 (font-lock-default-unfontify-buffer)
13277 (font-lock-default-fontify-region)
13278 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
13279
b3fd59bd
SM
13280 * progmodes/compile.el (compilation-error-properties):
13281 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
13282 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
13283 `ant' regexp.
ee31aabc 13284
a3f2468a
CY
13285 * net/browse-url.el (browse-url-firefox): Don't call
13286 browse-url-firefox-sentinel unless using -remote (Bug#9328).
13287
8e999f70
GM
132882011-08-20 Glenn Morris <rgm@gnu.org>
13289
c21a496a
GM
13290 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
13291
59ee0542
GM
13292 * tutorial.el (tutorial--default-keys): Update some default bindings.
13293
8e999f70
GM
13294 * files.el (hack-local-variables): Fully ignore case for "mode:".
13295
e3715033
AM
132962011-08-20 Alan Mackenzie <acm@muc.de>
13297
13298 Resolve invalid use of a regexp in regexp-opt.
13299
4d61f28d
JB
13300 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
13301 detection for a java annotation.
e3715033 13302
4d61f28d 13303 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
13304 detection for a java annotation.
13305
4d61f28d
JB
13306 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
13307 handling for java.
e3715033
AM
13308 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
13309
04ed2e9c
CY
133102011-08-20 Chong Yidong <cyd@stupidchicken.com>
13311
13312 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
13313 (Bug#9274).
13314
826cee64
AM
133152011-08-20 Alan Mackenzie <acm@muc.de>
13316
58179cce 13317 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
13318 such a construct. Mainly for when jit-lock etc. starts a chunk
13319 here.
13320
58179cce 13321 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 13322 variable.
58179cce 13323 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
13324 c-make-font-lock-search-function.
13325 (c-make-font-lock-search-function): Use the above function.
13326 (c-make-font-lock-context-search-function): New function.
13327 (c-cpp-matchers): Enhance the preprocessor expression case with
13328 the above function
13329 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
13330 which takes an expression.
13331
13332 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
13333
13009bd8
MR
133342011-08-20 Martin Rudalics <rudalics@gmx.at>
13335
13336 * window.el (display-buffer-reuse-window)
13337 (display-buffer-pop-up-window): Don't reuse or split a side
13338 window.
13339
9234ff7f
GM
133402011-08-19 Glenn Morris <rgm@gnu.org>
13341
13342 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 13343 Downcase "Mode:". (Bug#9331)
9234ff7f 13344
f635daa1
CY
133452011-08-18 Chong Yidong <cyd@stupidchicken.com>
13346
13347 * international/characters.el: Add L and R categories.
13348
13349 * subr.el (bidi-string-mark-left-to-right): Rename from
13350 string-mark-left-to-right. Use category search.
13351
13352 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
13353
bc987f8b
JL
133542011-08-18 Juri Linkov <juri@jurta.org>
13355
13356 * faces.el (error, warning, success): New faces with definitions
13357 copied from old default values of `font-lock-warning-face',
13358 `compilation-warning', `compilation-info' (bug#6117).
13359
13360 * font-lock.el (font-lock-warning-face): Inherit from `error'.
13361
13362 * progmodes/compile.el (compilation-error): Inherit from `error'.
13363 (compilation-warning): Inherit from `warning'.
13364 (compilation-info): Inherit from `success'.
13365
13366 * dired.el (dired-marked): Inherit from `warning'.
13367 (dired-flagged): Inherit from `error'.
13368
57173b96
LMI
133692011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
13370
3e79eb87
LMI
13371 * mail/smtpmail.el (auth-source): Require to avoid problems with
13372 binding variables (bug#9298). Also clean up some unused
13373 autoloads.
13374
b3fd59bd
SM
13375 * net/network-stream.el (network-stream-open-starttls):
13376 Support using starttls.el without using gnutls-cli.
57173b96 13377
02b404de
JL
133782011-08-17 Juri Linkov <juri@jurta.org>
13379
13380 * progmodes/grep.el (rgrep): Handle the case when
13381 `grep-find-command' is a cons cell (bug#9278).
13382
8c9177f2
MR
133832011-08-17 Martin Rudalics <rudalics@gmx.at>
13384
13385 * window.el (display-buffer-pop-up-frame): Run frame creation
13386 function with BUFFER current (as special-display-popup-frame
13387 does). Reported by Drew Adams.
13388
3644a0ab
DU
133892011-08-17 Daiki Ueno <ueno@unixuser.org>
13390
13391 * epa-mail.el: Simplify GnuPG group expansion using
13392 epg-expand-group.
13393 (epa-mail-group-alist, epa-mail-group-modtime)
13394 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
13395 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
13396 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
13397 Remove.
13398
5e617bc2 133992011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
13400
13401 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
13402
9c4aeabf
AM
134032011-08-16 Alan Mackenzie <acm@muc.de>
13404
13405 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
13406 Correct, to avoid the inside of macros.
13407
3a99bf64
RS
134082011-08-16 Richard Stallman <rms@gnu.org>
13409
04963aa8
RS
13410 * epa-mail.el: Handle GnuPG group definitions.
13411 (epa-mail-group-alist, epa-mail-group-modtime)
13412 (epa-mail-gnupg-conf-file): New variables.
13413 (epa-mail-parse-groups, epa-mail-sync-groups)
13414 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
13415 (epa-mail-expand-recipients): New functions.
13416 (epa-mail-encrypt): Call epa-mail-expand-recipients.
13417
177549d0
RS
13418 * mail/rmail.el (rmail-epa-decrypt): New command.
13419
fe38beef
RS
13420 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
13421 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
13422 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
13423 (epa-decrypt-armor-in-region): Make error message clearer.
13424
934eacb9
SM
134252011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
13426
13427 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
13428 and "a2b" to "ab" for `prefix'.
13429
d024fb4e
CY
134302011-08-14 Chong Yidong <cyd@stupidchicken.com>
13431
13432 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
13433 filter groups.
de148fee
CY
13434 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
13435 Fourquet (Bug#8804).
d024fb4e 13436
62f1ca49
JB
134372011-08-12 Juanma Barranquero <lekktu@gmail.com>
13438
13439 * startup.el (argi): Declare as global variable (bug#9275).
13440
9ccaaa4b
CY
134412011-08-12 Chong Yidong <cyd@stupidchicken.com>
13442
13443 * subr.el (string-mark-left-to-right): Search the entire string
13444 for RTL script, not just the terminating character. Doc fix.
13445
a3dae87a
SM
134462011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
13447
6cd18349
SM
13448 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
13449 New function.
13450 (js--regexp-literal, js-syntax-propertize-function): Remove.
13451 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
13452 (js-mode-map): Don't rebind electric keys.
13453 (js-insert-and-indent): Remove.
13454 (js-mode): Setup electric-layout and electric-indent instead.
13455
a3dae87a
SM
13456 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
13457
9d5cb631
DU
134582011-08-12 Daiki Ueno <ueno@unixuser.org>
13459
13460 * epa.el (epa-progress-callback-function): Fix the logic of
13461 displaying progress.
13462 * epa-file.el (epa-file-insert-file-contents): Make progress
13463 display more user-friendly.
13464 (epa-file-write-region): Ditto.
13465
3e26a4a2
CY
134662011-08-10 Chong Yidong <cyd@stupidchicken.com>
13467
13468 * subr.el (string-mark-left-to-right): New function.
13469
13470 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
13471 Use string-mark-left-to-right.
13472 (list-buffers-noselect): Caller changed.
13473
a3dae87a
SM
13474 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
13475 Use string-mark-left-to-right.
3e26a4a2
CY
13476 (tabulated-list-print): Recenter after moving point.
13477
ac8cf6e6
JL
134782011-08-10 Juri Linkov <juri@jurta.org>
13479
13480 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
13481 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
13482 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
13483
8d96c9a4
CY
134842011-08-09 Chong Yidong <cyd@stupidchicken.com>
13485
13486 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
13487 (Bug#7554).
13488
7be1c708 134892011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
13490
13491 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
13492 character. (Bug#6594)
13493
37e11a63
CY
134942011-08-08 Chong Yidong <cyd@stupidchicken.com>
13495
839dde57
CY
13496 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
13497 (image-dired--with-db-file): New macro.
13498 (image-dired-write-tags, image-dired-remove-tag)
13499 (image-dired-create-gallery-lists, image-dired-write-comments)
13500 (image-dired-get-comment, image-dired-mark-tagged-files)
13501 (image-dired-list-tags, image-dired-gallery-generate): Use it.
13502 (image-dired-gallery-generate): Use insert-file-contents.
13503
37e11a63
CY
13504 * time.el (display-time-world-list, display-time-world-display):
13505 * time-stamp.el (time-stamp-string):
13506 * vc/add-log.el (add-change-log-entry): Use setenv instead of
13507 set-time-zone-rule (Bug#7337).
13508
0b4946c4
DU
135092011-08-08 Daiki Ueno <ueno@unixuser.org>
13510
13511 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
13512 (epg-error-to-string, epg-errors-to-string): New function.
13513 (epg-wait-for-completion): Reverse errors list.
13514 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
13515 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
13516 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
13517 (epg-sign-keys, epg-generate-key-from-file)
13518 (epg-generate-key-from-string): Format errors by using
13519 epg-errors-to-string (bug#9255).
13520 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
13521
75bfc667
JL
135222011-08-07 Juri Linkov <juri@jurta.org>
13523
13524 * faces.el (list-faces-display): Remove extra angle bracket
13525 from `help-mode-map'.
13526
13527 * info.el (Info-history-toc-nodes): Doc fix.
13528
13529 * longlines.el (longlines-mode): Doc fix.
13530
673e08bb
SM
135312011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
13532
4640dd88
SM
13533 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
13534 of statements and in a few more cases (bug#9183).
13535
673e08bb
SM
13536 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
13537 New functions.
13538 (cl-transform-lambda): Use them (bug#9239).
13539
89b3f019
MR
135402011-08-05 Martin Rudalics <rudalics@gmx.at>
13541
13542 * window.el (display-buffer-same-window)
13543 (display-buffer-same-frame, display-buffer-other-window)
13544 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
13545 (pop-to-buffer-other-window)
13546 (pop-to-buffer-same-frame-other-window)
13547 (pop-to-buffer-other-frame): Make them defuns.
13548 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
13549
640c8776
SM
135502011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
13551
13552 * subr.el (make-composed-keymap): Move from C. Change calling
13553 convention, and improve docstring to bring attention to a subtle point.
13554 * minibuffer.el (completing-read-default): Adjust accordingly.
13555
63648a95
MA
135562011-08-03 Michael Albinus <michael.albinus@gmx.de>
13557
13558 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
13559 (tramp-open-shell): Use `tramp-shell-quote-argument'.
13560
13561 * net/trampver.el: Update release number.
13562
b796c9b7
SM
135632011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
13564
13565 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
13566 "in" (bug#9190).
13567
2239d7d5
LMI
135682011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
13569
e07dd7c3
LMI
13570 * mail/sendmail.el (sendmail-query-once): Restore the current
13571 buffer after querying (bug#9074).
13572
0e6a2bd7
LMI
13573 * dired.el (dired-flagged): Use different faces for marked and
13574 flagged files (bug#6117).
13575
ce887515
LMI
13576 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
13577 (bug#4433).
13578
92f2affc
LMI
13579 * ido.el (ido-mode): Switch off the message if called
13580 non-interactively.
13581
57d5aff0
LMI
13582 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
13583 before 587, since it appears that that's more likely to work for
13584 more people.
13585
98cd6c18 13586 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 13587 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
13588 exist.
13589
b96dec83
LMI
13590 * info.el: Remove the `Info-beginning-of-buffer' function
13591 (bug#8325).
13592
b796c9b7
SM
13593 * net/network-stream.el (network-stream-open-starttls):
13594 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 13595
d90e2ea0
MR
135962011-08-01 Martin Rudalics <rudalics@gmx.at>
13597
13598 * window.el (display-buffer-in-window): Don't set dedicated status
13599 of window here (Bug#9215).
13600 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
13601 (display-buffer-pop-up-side-window)
b796c9b7 13602 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 13603
cca09170
SM
136042011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
13605
13606 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
13607 before binding generated-autoload-file.
13608
027b979c
DD
136092011-08-01 Deniz Dogan <deniz@dogan.se>
13610
13611 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
13612
3c7ee4f3
MA
136132011-07-30 Michael Albinus <michael.albinus@gmx.de>
13614
13615 Sync with Tramp 2.2.2.
13616
13617 * net/trampver.el: Update release number.
13618
2cc8e51a
JL
136192011-07-30 Juri Linkov <juri@jurta.org>
13620
13621 * dired-aux.el (dired-touch-initial): Remove function.
13622 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
13623 current time, and `default' to the last modification time of the
13624 current marked file (bug#6887).
13625
a514d856
JM
136262011-07-28 Jose E. Marchesi <jemarch@gnu.org>
13627
13628 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 13629 numeric argument to read-number (bug#9163).
a514d856 13630
8a7eddd7
MA
136312011-07-27 Michael Albinus <michael.albinus@gmx.de>
13632
13633 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
13634 connection process, it could be nil.
13635
1ddd96f5
LL
136362011-07-27 Leo Liu <sdl.web@gmail.com>
13637
13638 Simplify url handling in rcirc-mode.
13639
13640 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
13641 (rcirc-browse-url-at-mouse): Remove.
13642 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
13643
b248a85d
AM
136442011-07-26 Alan Mackenzie <acm@muc.de>
13645
13646 Fontify bitfield declarations properly.
13647
13648 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
13649 (c-symbol-chars): Now exported as a lang variable.
13650 (c-not-primitive-type-keywords): New lang variable.
13651
13652 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
13653 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 13654 parsed as a bitfield declaration.
b248a85d 13655
b796c9b7
SM
13656 * progmodes/cc-engine.el (c-beginning-of-statement-1):
13657 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
13658 (c-punctuation-in): New function.
13659 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
13660 declarations properly.
13661
68575ab0
UJ
136622011-07-26 Ulf Jasper <ulf.jasper@web.de>
13663
13664 * calendar/icalendar.el (icalendar--all-events): Take care of
13665 multiple vcalendars in a single file.
b796c9b7 13666 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 13667
0f0a88b9
DD
136682011-07-25 Deniz Dogan <deniz@dogan.se>
13669
13670 * image.el (insert-image): Clarifying docstring.
13671
0b3f36df
MA
136722011-07-24 Michael Albinus <michael.albinus@gmx.de>
13673
13674 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
13675 `tramp-send-command-and-check' if there is no error.
13676 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
13677
a9901f61
AM
136782011-07-22 Alan Mackenzie <acm@muc.de>
13679
13680 Prevent cc-langs.elc being loaded at run time.
13681
13682 * progmodes/cc-mode.el: Remove two autoload forms which loaded
13683 cc-langs.
13684
4d61f28d 13685 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
13686 "(require 'cc-langs)". Quote a form so it will evaluate at
13687 (cc-mode's) compilation time.
13688
11d074b2
MA
136892011-07-22 Michael Albinus <michael.albinus@gmx.de>
13690
13691 * net/tramp.el (tramp-file-name-handler): Avoid recursive
13692 loading. (Bug#9114)
13693
938b94c8
MR
136942011-07-21 Martin Rudalics <rudalics@gmx.at>
13695
13696 * window.el (display-buffer-pop-up-window)
13697 (display-buffer-pop-up-side-window)
13698 (display-buffer-in-side-window): Call display-buffer-set-height
13699 and display-buffer-set-width after setting the new window's
b796c9b7 13700 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 13701
bfa4f190
SS
137022011-07-20 Sam Steingold <sds@gnu.org>
13703
13704 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
13705 (etags-tags-included-tables): Call `convert-standard-filename' on
13706 the file names contained in TAGS so that windows Emacs can handle
13707 TAGS files created by cygwin ctags.
13708
8ca42262
LMI
137092011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
13710
13711 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
13712 which apparently didn't work.
13713
5db2afd2 137142011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 13715
5db2afd2
RW
13716 * proced.el (proced-send-signal): For *Marked Processes* buffer
13717 put point at beginning of buffer.
13718
92e15d10
SB
137192011-07-19 Stephen Berman <stephen.berman@gmx.net>
13720
13721 * proced.el (proced-format): Make header lines align with the text
13722 (bug#1779).
13723
1bfd59e5
LMI
137242011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
13725
13726 * view.el (view-buffer): Allow running in `special' modes if we're
13727 visiting a file (bug#8615).
13728
f5aae37c
MR
137292011-07-19 Martin Rudalics <rudalics@gmx.at>
13730
13731 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
13732 (display-buffer-alist-set-1, display-buffer-alist-set-2):
13733 New functions.
f5aae37c
MR
13734 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
13735 more accurately.
13736
bf2c1571
AM
137372011-07-18 Alan Mackenzie <acm@muc.de>
13738
13739 Fontify declarators properly when, e.g., a jit-lock chunk begins
13740 inside a declaration.
13741
13742 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
13743
b796c9b7
SM
13744 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
13745 New function.
bf2c1571
AM
13746 (c-complex-decl-matchers): Insert reference to
13747 c-font-lock-enclosing-decls.
13748
13749 * progmodes/cc-engine.el (c-backward-single-comment):
13750 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
13751 to nil around calls to (forward-comment -1).
13752
4e190b80
LMI
137532011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
13754
12dc863d
LMI
13755 * image.el (put-image): Doc typo fix.
13756
a762e966
LMI
13757 * progmodes/etags.el (tags-search): Doc typo fix.
13758
4e190b80
LMI
13759 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
13760 password if we get errors 550 to 554.
13761
f019fb21
LMI
137622011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
13763
b796c9b7 13764 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 13765
81746738
LMI
13766 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
13767 indentation character (bug#6380).
13768
3ee3a1b5
LMI
13769 * files.el (buffer-offer-save): Made permanently local (bug#6241).
13770
c82f64de
LMI
13771 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
13772 to clarify what the problem is (bug#4291).
13773
f019fb21
LMI
13774 * simple.el (current-kill): Clarify what
13775 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
13776 (auto-fill-mode): Document `auto-fill-function' in relation to
13777 `auto-fill-mode' (bug#2470).
f019fb21 13778
0794775d
LM
137792011-07-16 Lawrence Mitchell <wence@gmx.li>
13780
13781 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
13782 method if slot is read-only (bug#9035).
13783
be39b8cc
MR
137842011-07-16 Martin Rudalics <rudalics@gmx.at>
13785
b796c9b7 13786 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 13787 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
13788 selected before, see discussion of (Bug#8615), (Bug#6954).
13789 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 13790
6ccf7859
GM
137912011-07-15 Glenn Morris <rgm@gnu.org>
13792
13793 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 13794 Respect help-form.
6ccf7859 13795
87e86684
LM
137962011-07-09 Lawrence Mitchell <wence@gmx.li>
13797
13798 * net/gnutls.el (gnutls-min-prime-bits): New variable.
13799 (gnutls-negotiate): Use it.
13800
d6066239
LMI
138012011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
13802
b796c9b7
SM
13803 * net/gnutls.el (gnutls-negotiate):
13804 Upcase `gnutls-algorithm-priority'.
d6066239 13805
bd23ebc0
GM
138062011-07-15 Glenn Morris <rgm@gnu.org>
13807
c65bca65
GM
13808 * jka-compr.el (jka-compr-verbose): Move from here...
13809 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
13810 Add missing :version tag.
13811 * info.el: No need to require jka-compr when compiling.
bd23ebc0 13812
478615cc
LMI
138132011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
13814
7b41decb
LMI
13815 * net/gnutls.el (gnutls-algorithm-priority): New variable.
13816 (gnutls-negotiate): Use it.
13817
dbc44fcd
LMI
13818 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
13819
06789f97
LMI
13820 * info.el (Info-beginning-of-buffer): New command.
13821 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
13822 announcing `b' as the key (bug#8325).
ab896c37 13823 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 13824
c39da690
LMI
13825 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
13826
3aa5f34b
LMI
13827 * international/mule-cmds.el
13828 (describe-specified-language-support): Make the error message
13829 clearer (bug#8905).
13830
4bf0979f
LMI
13831 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
13832
478615cc
LMI
13833 * isearch.el (isearch-barrier): Add a doc string, since it's
13834 mentioned in a function doc string (bug#8678).
13835
75c68aa1
MR
138362011-07-15 Martin Rudalics <rudalics@gmx.at>
13837
13838 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
13839 buffer argument (Bug#9083) and self-identifying label argument.
13840
a7c33da2
GM
138412011-07-15 Glenn Morris <rgm@gnu.org>
13842
13843 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
13844
2f5c6024
LMI
138452011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
13846
13847 * man.el (Man-fontify-manpage): Fix message when formatting the
13848 man page (bug#7929).
13849
0bb23927 138502011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
13851
13852 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
13853 argument LRM; if non-nil, append an invisible LRM character to the
13854 buffer name.
13855 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
13856 last argument non-nil, when formatting buffer names.
0bb23927
EZ
13857 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
13858 paragraph direction.
cce4b0a7 13859
621ef9ab
LMI
138602011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
13861
d1583c48
LMI
13862 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
13863 the man page name (bug#7929).
13864
6a57fb5f
LMI
13865 * image.el (put-image): Mention the `put-image' overlay property
13866 (bug#7834).
13867
d7956b14
LMI
13868 * scroll-bar.el (set-scroll-bar-mode): Mention that
13869 `scroll-bar-mode' lists the values (bug#7772).
13870
5b2d4a66
LMI
13871 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
13872 command (bug#7729).
13873
7509a874
LMI
13874 * rect.el (apply-on-rectangle): Return the point after the last
13875 operation.
13876 (string-rectangle): Go to the point after the last operation
13877 (bug#7522).
13878
4fe74b19
LMI
13879 * printing.el (pr-toggle-region): Clarify the documentation
13880 slightly (bug#7493).
13881
b796c9b7
SM
13882 * time.el (display-time-update):
13883 Allow `display-time-mail-function' to return nil (bug#7158).
13884 Fix suggested by Detlev Zundel.
ab283561 13885
fc233c9d
LMI
13886 * vc/diff.el (diff): Clarify the order the file names are read
13887 (bug#7111).
13888
43f5740b
LMI
13889 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
13890 the doc string (bug#7015).
13891
f2182a76
LMI
13892 * font-lock.el (font-lock-maximum-decoration): Mention what
13893 numeric levels mean (bug#6935).
13894
621ef9ab
LMI
13895 * startup.el (initial-buffer-choice): Don't mention the `none'
13896 selection, which is against policy.
13897
adc47434
MR
138982011-07-14 Martin Rudalics <rudalics@gmx.at>
13899
b796c9b7
SM
13900 * window.el (display-buffer-normalize-special):
13901 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 13902
7e5bfb8f
EZ
139032011-07-14 Eli Zaretskii <eliz@gnu.org>
13904
13905 * subr.el (version<, version<=, version=): Mention "-CVS" and
13906 "-12345" alpha version numbers.
13907
27fa387a
CY
139082011-07-14 Chong Yidong <cyd@stupidchicken.com>
13909
13910 * bindings.el: Add advertised binding for set-mark-command
13911 (Bug#5772).
13912
8bdfa064
CY
139132011-07-14 Chong Yidong <cyd@stupidchicken.com>
13914
13915 * bindings.el (mode-line-other-buffer):
13916 * bookmark.el (bookmark-bmenu-2-window):
13917 * bs.el (bs-cycle-next, bs-cycle-previous):
13918 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
13919 switch-to-buffer.
13920
13921 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 13922 Delete.
8bdfa064 13923
5eba16a3
JB
139242011-07-14 Juanma Barranquero <lekktu@gmail.com>
13925
13926 * follow.el (follow-debug-message, follow-redisplay):
13927 * jka-cmpr-hook.el (with-auto-compression-mode):
13928 Fix typos in docstrings.
13929
15853710
LMI
139302011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
13931
a28e4607
LMI
13932 * subr.el (with-silent-modifications): Clarify somewhat what the
13933 macro inhibits (bug#6525).
13934
15853710
LMI
13935 * simple.el (eval-expression): Note what it does if called
13936 interactively (bug#6495).
13937
bee0fcef
CY
139382011-07-13 Chong Yidong <cyd@stupidchicken.com>
13939
b796c9b7
SM
13940 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
13941 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
13942
13943 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
13944 Remove switch-to-buffer.
13945
58274504
LMI
139462011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
13947
bd2fcc8d
LMI
13948 * files.el (make-directory): Clarify that an error will be raised
13949 if there's an error (bug#6397).
13950
0f04b32c
LMI
13951 * startup.el (initial-buffer-choice): Add `none' as a choice
13952 (bug#6234).
13953
465c5fc8
LMI
13954 * subr.el (add-hook): Clarify section about buffer-local hooks
13955 (bug#6218).
13956
58274504
LMI
13957 * dired.el (dired-flagged): Clarify doc string (bug#6117).
13958
bead9a43
JB
139592011-07-13 Juanma Barranquero <lekktu@gmail.com>
13960
13961 * tabify.el (untabify): Preserve the current column so that point
13962 doesn't move (bug#6032).
13963
3af98a7b
LMI
139642011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
13965
b796c9b7
SM
13966 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
13967 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 13968
6240145a
GM
139692011-07-13 Glenn Morris <rgm@gnu.org>
13970
13971 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
13972 (dired-insert-directory): Give a message the first time
13973 if ls is found not to support --dired.
13974
1d8c2ccc
LMI
139752011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
13976
13977 * simple.el (toggle-truncate-lines): Clarify what is toggled
13978 (bug#5580). Text by Drew Adams.
13979
5fc4038e
CY
139802011-07-13 Chong Yidong <cyd@stupidchicken.com>
13981
13982 * simple.el (blink-matching-open): Make the error message from the
13983 last change less verbose.
13984
bf6012e5
DN
139852011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
13986
13987 * font-lock.el (font-lock-comment-face): Use the high contrast
13988 "yellow" color for font-lock-comment-face on low color terminals
13989 using a dark background color (bug#4221).
13990
343c3b5a
LMI
139912011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
13992
7e9505c5
LMI
13993 * dired.el (dired-insert-set-properties): Make the doc string
13994 reflect what it does now (bug#5325).
13995
c26fdcf5
LMI
13996 * simple.el (blink-matching-open): Say that we were unable to find
13997 the match within the limit, if we're limited (bug#5122).
13998
bb388cc5
LMI
13999 * international/mule-cmds.el (prefer-coding-system): Add an
14000 example (bug#4869).
14001
343c3b5a
LMI
14002 * progmodes/etags.el (tags-search): Document `file-list-form'
14003 (bug#4731).
14004
2a517d45
LM
140052011-07-13 Lawrence Mitchell <wence@gmx.li>
14006
14007 * net/browse-url.el (browse-url-default-browser)
14008 (browse-url-browser-function): Make the default browser choice a
14009 bit more logical (bug#4300). Also clean up the doc string.
14010
b6c78ef2
JB
140112011-07-13 Juanma Barranquero <lekktu@gmail.com>
14012
14013 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
14014 binary endings (bug#4440).
14015
1c4dd947
LMI
140162011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14017
a2014063
LMI
14018 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
14019 which can be pretty annoying (bug#8971).
14020
9c9c2d88
LMI
14021 * jka-compr.el (jka-compr-verbose): New variable, and use
14022 throughout (bug#8971).
14023
1c4dd947
LMI
14024 * info.el (Info-find-file): Fall back on the installation
14025 directory if we can't find the info node anywhere else.
14026
a1c9f41b
SO
140272011-07-13 Sergei Organov <osv@javad.com> (tiny change)
14028
14029 * vc/vc.el (vc-revert-file):
14030 Don't set file time-stamp in the past. (Bug#5181)
14031
536f3d36
LMI
140322011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
14033
7152b011
LMI
14034 * files.el (after-find-file): Give a better error message when
14035 trying to find a symlink that points to a file that doesn't exist
14036 (bug#4398).
14037
536f3d36
LMI
14038 * progmodes/cc-vars.el: Remove (probably) misleading comment
14039 (bug#4396).
14040
460c0fba
JB
140412011-07-12 Johan Bockgård <bojohan@gnu.org>
14042
14043 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
14044
7a6bda45
CY
140452011-07-12 Chong Yidong <cyd@stupidchicken.com>
14046
14047 * mouse-sel.el: Hack restoring functionality, while keeping
14048 compatibility with 2010-07-03 changes to mouse selection.
14049 (mouse-sel-primary-overlay): New var.
14050 (mouse-sel-selection-alist): Use it.
14051 (mouse-sel-mode): Doc fix; remove points that are default features
14052 of mouse.el.
14053
c79598ef
JB
140542011-07-12 Johan Bockgård <bojohan@gnu.org>
14055
14056 * progmodes/compile.el (compilation-error-regexp-alist-alist):
14057 Fix previous fix (bug#2490).
14058
ff8be6ef
RW
140592011-07-12 Roland Winkler <winkler@gnu.org>
14060
b796c9b7
SM
14061 * textmodes/bibtex.el (bibtex-initialize):
14062 Use pop-to-buffer-same-window.
ff8be6ef
RW
14063 (bibtex-search-entries): Fix interactive call.
14064
296ba3ee
LMI
140652011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
14066
f5242a02 14067 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
14068 Fontise bytecomp Error lines more correctly (bug#2490).
14069 Fix suggested by Johan Bockgård.
f5242a02 14070
296ba3ee
LMI
14071 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
14072
14073 * dired-x.el (dired-guess-default): Use `delete-dups'.
14074
f69fd0d2
CY
140752011-07-12 Chong Yidong <cyd@stupidchicken.com>
14076
14077 * dired.el (dired-mark-prompt):
14078 * dired-aux.el (dired-read-shell-command): Doc fix.
14079
eab5dc07
LMI
140802011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14081
b796c9b7
SM
14082 * mail/sendmail.el (sendmail-query-once):
14083 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
14084 emacs -Q.
14085
14086 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
14087
eab5dc07
LMI
14088 * cus-edit.el (custom-file): Take an optional no-error variable.
14089 (customize-save-variable): Set the variable, and give a warning if
14090 running under "emacs -q".
14091
a1e65d42
JB
140922011-07-11 Juanma Barranquero <lekktu@gmail.com>
14093
14094 * loadhist.el (unload-feature-special-hooks):
14095 Add `auto-coding-functions', `fill-nobreak-predicate' and
14096 `find-directory-functions' (bug#5327).
14097
1d52da10
LMI
140982011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14099
be958f1d
LMI
14100 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
14101
5bedb26c
LMI
14102 * cus-edit.el (custom-guess-name-alist): -alist variables should
14103 use the `alist' type (bug#3120). Suggested by Drew Adams.
14104
1d52da10
LMI
14105 * printing.el: Add documentation to all the `pr-toggle-' commands.
14106
cd394be1 141072011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
14108
14109 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
14110 backends where it makes sense (bug#2623).
14111
dcc88d8a
LMI
141122011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14113
c3de9feb
LMI
14114 * dired-x.el (dired-guess-default): Remove duplicate shell command
14115 entries (bug#2028).
8a93078b 14116 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 14117 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 14118
dcc88d8a
LMI
14119 * subr.el (remove-duplicates): New conveniency function.
14120
505e3645
LMI
141212011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
14122
14123 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
14124 (bug#1526).
14125
141262011-07-10 Martin Rudalics <rudalics@gmx.at>
14127
14128 * window.el (display-buffer-normalize-default): Don't invert
14129 meaning of even-window-heights. Reported by Eli Zaretskii
14130 <eliz@gnu.org>.
14131
455e4fa1
BR
141322011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
14133
14134 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
14135
8e0bc3e9
CY
141362011-07-10 Chong Yidong <cyd@stupidchicken.com>
14137
14138 * window.el (display-buffer): Fix arguments to
14139 display-buffer-reuse-window in last change.
14140
fa7c3228
CY
14141 * faces.el (link): Use a less saturated blue on light backgrounds.
14142
14143 * startup.el (fancy-startup-text, fancy-about-text)
14144 (fancy-startup-tail): Use font-lock faces, for background safety.
14145
c0a7f300
BN
141462011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
14147
b796c9b7
SM
14148 * emulation/viper-cmd.el (viper-change-state-to-vi):
14149 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 14150
4dc2a129
MR
141512011-07-09 Martin Rudalics <rudalics@gmx.at>
14152
14153 * window.el (display-buffer-default-specifiers): Remove.
14154 (display-buffer-macro-specifiers): Remove default specifiers.
14155 (display-buffer-alist): Default to nil.
b796c9b7 14156 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
14157 (display-buffer-pop-up-window): Allow splitting internal
14158 windows. Check whether a live window was created.
14159 (display-buffer-other-window-means-other-frame)
14160 (display-buffer-normalize-arguments): Rename to
14161 display-buffer-normalize-argument and rewrite. Set the
14162 other-window specifier.
14163 (display-buffer-normalize-special): New function.
14164 (display-buffer-normalize-options): Rename to
14165 display-buffer-normalize-default and rewrite.
14166 (display-buffer-normalize-options-inhibit): Remove.
14167 (display-buffer-normalize-specifiers): Rewrite.
14168 (display-buffer): Process other-window specifier and call
14169 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
14170 more faithfully.
b796c9b7 14171 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 14172 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
14173 (display-buffer-in-window, display-buffer-alist-set):
14174 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
14175 <tassilo@member.fsf.org>.
14176
2d43b8c9
LL
141772011-07-09 Leo Liu <sdl.web@gmail.com>
14178
14179 * register.el (insert-register): Restore accidental change on
14180 2011-06-26. (Bug#9028)
14181
7f9b7c53
GM
141822011-07-09 Glenn Morris <rgm@gnu.org>
14183
14184 * subr.el (remq): Handle the empty list. (Bug#9024)
14185
f042cfd8
AS
141862011-07-08 Andreas Schwab <schwab@linux-m68k.org>
14187
14188 * mail/sendmail.el (send-mail-function): No longer delay custom
14189 initialization.
14190 * custom.el (custom-initialize-delay): Doc fix.
14191
856b2f11
SM
141922011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
14193
14194 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
14195
afae1d68
MA
141962011-07-08 Michael Albinus <michael.albinus@gmx.de>
14197
14198 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
14199 human-friendly prompt.
14200
0757af94
SM
142012011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
14202
14203 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
14204 provided by a particular plugin.
14205
d760b731
LMI
142062011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
14207
14208 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
14209 save customizations (with "emacs -Q"), just set the variable
14210 instead of erroring out.
14211
14212 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
14213
cd79ce90
JL
142142011-07-08 Juri Linkov <juri@jurta.org>
14215
14216 * arc-mode.el (archive-zip-expunge, archive-zip-update)
14217 (archive-zip-update-case): Use 7z if found by `executable-find'.
14218 The order of searching the available programs is the same as in
14219 `archive-zip-extract' (bug#8968).
14220
14cc04aa
CY
142212011-07-07 Chong Yidong <cyd@stupidchicken.com>
14222
14223 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
14224 (menu-bar-options-menu): Tweak descriptions.
14225
0a1848ec
LMI
142262011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
14227
14228 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
14229 menu items into verb phrases (bug#1421). Also refill to fit under
14230 80 columns.
14231
f5bd0689
CY
142322011-07-07 Chong Yidong <cyd@stupidchicken.com>
14233
538e85c6
CY
14234 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
14235 (Info-read-node-name): Doc fix (Bug#1084).
14236
f5bd0689
CY
14237 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
14238 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
14239 (end-of-sexp, beginning-of-sexp)
14240 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
14241 (forward-symbol, forward-same-syntax, word-at-point)
14242 (sentence-at-point): Doc fix (Bug#1144).
14243
56ec5115
LMI
142442011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
14245
f3f8e37f
LMI
14246 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
14247 should cover it (bug#1281).
14248
0757af94 14249 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 14250
e9fce1ac 14251 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
14252 negotiation fails, then possibly try again with a non-encrypted
14253 connection (bug#9017).
14254
56ec5115
LMI
14255 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
14256 be used.
14257
c2f9aec8
RS
142582011-07-07 Richard Stallman <rms@gnu.org>
14259
14260 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
14261 property, and handle its changed format.
14262 Look for the correct line number.
14263 Use file's line contents (but not past first =) to find
14264 correct line in message.
14265
ef7b981d 142662011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
14267
14268 * international/characters.el (build-unicode-category-table):
14269 Delete it.
0757af94 14270 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 14271
0757af94 14272 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
14273 to src/chartab.c.
14274 (get-char-code-property): Call unicode-property-table-internal to
14275 load a file. Call get-unicode-property-internal where necessary.
14276 (put-char-code-property): Call unicode-property-table-internal to
14277 load a file. Call put-unicode-property-internal where necessary.
14278 put-unicode-property-internal where necessary.
0757af94
SM
14279 (char-code-property-description):
14280 Call unicode-property-table-internal to load a file.
c805dec0
KH
14281
14282 * international/charprop.el:
14283 * international/uni-bidi.el:
14284 * international/uni-category.el:
14285 * international/uni-combining.el:
14286 * international/uni-comment.el:
14287 * international/uni-decimal.el:
14288 * international/uni-decomposition.el:
14289 * international/uni-digit.el:
14290 * international/uni-lowercase.el:
14291 * international/uni-mirrored.el:
14292 * international/uni-name.el:
14293 * international/uni-numeric.el:
14294 * international/uni-old-name.el:
14295 * international/uni-titlecase.el:
14296 * international/uni-uppercase.el: Regenerate.
14297
14298 * loadup.el: Load international/charprop.el before
14299 international/characters.
14300
e14b388a
CY
143012011-07-07 Chong Yidong <cyd@stupidchicken.com>
14302
14303 * window.el (next-buffer, previous-buffer): Signal an error if
14304 called from a minibuffer window.
14305
14306 * bindings.el: Revert 2011-07-04 change.
14307
354cf0ba
RS
143082011-07-06 Richard Stallman <rms@gnu.org>
14309
14310 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
14311 (rmail-mime-insert-bulk, rmail-mime-insert-text):
14312 Treat markers like ints.
14313 (rmail-mime-entity): Doc fix.
14314
a48868a7
LMI
143152011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
14316
4906cd3d
LMI
14317 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
14318 defcustom again for backwards compatibility.
14319
e0457abe
LMI
14320 * simple.el (shell-command-on-region): Fill.
14321
d67f7e1f
LMI
14322 * dired-aux.el (dired-kill-line): Add a doc string.
14323
fe204702
LMI
14324 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
14325 to "\\sw\\|\\s_" (bug#358).
14326
a48868a7
LMI
14327 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
14328 (dired-unmark-backward): Ditto.
14329 (dired-flag-backup-files): Ditto.
14330
14331 * dired-x.el (dired-mark-sexp): Ditto.
14332
aa8a705c
RS
143332011-07-06 Richard Stallman <rms@gnu.org>
14334
14335 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
14336 (rmail-mime-entity): New arg TRUNCATED.
14337 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
14338 New functions.
14339 (rmail-mime-save): Warn if entity is truncated.
14340 (rmail-mime-toggle-hidden): Likewise, for showing.
14341 (rmail-mime-process-multipart): Record when an entity is truncated.
14342
a9a936b9
RS
14343 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
14344 if ENTITY is a string.
14345
1f2b92cb
LMI
143462011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
14347
f4f73198 14348 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
14349 of faces when `M-C-x'-ing their definitions (bug#8378).
14350 Also clean up the code slightly.
f4f73198 14351
12b16734 14352 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 14353 because that makes the colors go away.
12b16734 14354
f0691d22
LMI
14355 * mail/sendmail.el (send-mail-function): Change the default to
14356 `sendmail-query-once'.
9e87df06 14357 (sendmail-query-once): Add an autoload cookie.
f0691d22 14358
1f2b92cb
LMI
14359 * net/network-stream.el (network-stream-open-starttls): Try using
14360 a plain connection even if the server offered STARTTLS, and we
14361 kinda wanted to use it, if Emacs doesn't have any STARTTLS
14362 capability. This should make smtpmail.el work in slightly more
14363 configurations.
14364
1cdd2a1b
MA
143652011-07-06 Michael Albinus <michael.albinus@gmx.de>
14366
14367 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
14368 New defun.
14369 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
14370
fbcc67e2
MM
143712011-07-06 Michael R. Mauger <mmaug@yahoo.com>
14372
14373 * progmodes/sql.el: Version 3.0
0757af94 14374 (sql-product-alist): Add product :completion-object,
fbcc67e2 14375 :completion-column, and :statement attributes.
0757af94 14376 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 14377 (sql-mode-syntax-table): Mark all punctuation.
0757af94 14378 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
14379 ansi keywords.
14380 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 14381 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
14382 (sql-oracle-show-reserved-words): New function for development.
14383 (sql-product-font-lock): Simplify for source code buffers.
14384 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
14385 New functions.
14386 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
14387 (sql-mode-map): Add statement movement functions.
14388 (sql-ansi-statement-starters, sql-oracle-statement-starters):
14389 New variable.
fbcc67e2
MM
14390 (sql-statement-regexp, sql-beginning-of-statement)
14391 (sql-end-of-statement, sql-signum): New functions.
0757af94 14392 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
14393 (sql-show-sqli-buffer): Bug fix.
14394 (sql-interactive-mode): Store connection data as buffer local.
0757af94 14395 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
14396 with sql-interactive-mode.
14397 (sql-save-connection): Save buffer local settings.
0757af94 14398 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
14399 (sql-product-interactive): Bug fix.
14400 (sql-preoutput-hold): New variable.
14401 (sql-interactive-remove-continuation-prompt): Bug fixes.
14402 (sql-debug-redirect): New variable.
14403 (sql-str-literal): New function.
14404 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 14405 Redesign.
fbcc67e2
MM
14406 (sql-oracle-save-settings, sql-oracle-restore-settings)
14407 (sql-oracle-list-all, sql-oracle-list-table): New functions.
14408 (sql-completion-object, sql-completion-column)
14409 (sql-completion-sqlbuf): New variables.
14410 (sql-build-completions-1, sql-build-completions)
14411 (sql-try-completion): New functions.
14412 (sql-read-table-name): Use them.
14413 (sql-contains-names): New buffer local variable.
14414 (sql-list-all, sql-list-table): Use it.
14415 (sql-oracle-completion-types): New variable.
14416 (sql-oracle-completion-object, sql-sqlite-completion-object)
14417 (sql-postgres-completion-object): New functions.
14418
d4eaeab1
GM
144192011-07-06 Glenn Morris <rgm@gnu.org>
14420
14421 * window.el (pop-to-buffer): Doc fix.
14422
322b7dab 144232011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
14424
14425 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
14426
322b7dab 144272011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 14428
322b7dab 14429 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 14430
322b7dab 14431 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 14432
605dd5bf
CY
144332011-07-05 Chong Yidong <cyd@stupidchicken.com>
14434
14435 * button.el (button): Inherit from link face. Suggested by Dan
14436 Nicolaescu.
14437
7dbfa719
SM
144382011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
14439
3db614b0
SM
14440 * progmodes/gdb-mi.el: Fit in 80 columns.
14441 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
14442 switch-to-buffer.
14443
7dbfa719
SM
14444 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
14445 if imenu is simply not configured (bug#8941).
14446
919d884a
KM
144472011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
14448
14449 * allout.el (allout-post-undo-hook): New allout outline-change
14450 event hook to signal undo activity.
14451 (allout-post-command-business): Run allout-post-undo-hook if an
14452 undo just occurred.
7dbfa719
SM
14453 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
14454 * allout-widgets.el (allout-widgets-after-undo-function):
14455 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
14456 in the vicinity of an undo.
14457 (allout-widgets-mode): Include allout-widgets-after-undo-function
14458 on the new allout-post-undo-hook.
14459
450a0f09
SM
144602011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
14461
14462 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
14463 Let define-derived-mode define it.
14464 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
14465 cycles of abbrev-table inheritance (bug#8998).
14466
2de69e00
RW
144672011-07-05 Roland Winkler <winkler@gnu.org>
14468
14469 * textmodes/bibtex.el: Add support for biblatex.
14470 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
14471 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
14472 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
14473 (bibtex-entry-alist, bibtex-field-alist): New variables.
14474 (bibtex-entry-field-alist): Obsolete alias for
14475 bibtex-BibTeX-entry-alist.
14476 (bibtex-entry-alist, bibtex-field-alist): New widgets.
14477 (bibtex-set-dialect): New command.
14478 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
14479 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
14480 Bind via bibtex-set-dialect.
2de69e00
RW
14481 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
14482 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
14483 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
14484 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
14485 Define via bibtex-set-dialect.
450a0f09
SM
14486 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
14487 Obey bibtex-no-opt-remove-re.
2de69e00
RW
14488 (bibtex-vec-push, bibtex-vec-incr): New functions.
14489 (bibtex-format-entry, bibtex-field-list)
14490 (bibtex-print-help-message, bibtex-validate)
14491 (bibtex-search-entries): Use new format of bibtex-entry-alist.
14492
2dcdbdd9
SM
144932011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
14494
14495 * progmodes/compile.el (compilation-goto-locus):
14496 * net/tramp-cmds.el (tramp-append-tramp-buffers):
14497 * bs.el (bs-cycle-next, bs-cycle-previous):
14498 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
14499 * bindings.el (mode-line-other-buffer):
14500 * autoinsert.el (auto-insert):
14501 * arc-mode.el (archive-extract):
14502 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
14503
b27640fe
JB
145042011-07-05 Juanma Barranquero <lekktu@gmail.com>
14505
14506 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
14507 Fix check of `emacs-lock-unlockable-modes'.
14508 Coerce true values of `emacs-lock--try-unlocking' to t.
14509
53bbe3ad
JB
145102011-07-05 Juanma Barranquero <lekktu@gmail.com>
14511
14512 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
14513 * emacs-lock.el: New file.
14514
1d3cdbc7
JD
145152011-07-05 Julien Danjou <julien@danjou.info>
14516
14517 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
14518 than `boundp' to check if face is set.
14519
9173deec
JB
145202011-07-05 Juanma Barranquero <lekktu@gmail.com>
14521
14522 * register.el (registerv-make):
14523 * window.el (window-min-height): Fix typos in docstrings.
14524
869795d6
JD
145252011-07-05 Jan Djärv <jan.h.d@swipnet.se>
14526
9173deec 14527 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
14528 Update doc string.
14529
b768cdcd
JB
145302011-07-04 Juanma Barranquero <lekktu@gmail.com>
14531
14532 * server.el (server-execute): Catch quit and call
14533 `server-return-error' to pass the error back to emacsclient and
14534 close the connection (bug#8942).
14535
13aa217b
KM
145362011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
14537
14538 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
14539 insecure exception for current topic. Also note that auto-saves
14540 are handled differently.
14541
5d3385a0 14542 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
14543 State variables for tracking auto-save inhibition situation.
14544
14545 (allout-write-contents-hook-handler): Rename from
14546 'allout-write-file-hook-handler', and describe how it depends on
14547 write-contents-functions sensitivity to non-nil value to prevent
14548 file write.
14549
14550 (allout-auto-save-hook-handler): Remove. auto-save does not check
14551 this in individual buffers, only in the starting buffer, so this
14552 is not the right way for us to inhibit auto-save in a buffer
14553 according to its condition.
14554
14555 (allout-mode): Use new allout-write-contents-hook-handler, and
14556 only with write-contents-functions. Remove auto-save provisions -
14557 they're implemented elsewhere.
14558
14559 (allout-before-change-handler): If undo is in progress, note that
14560 for attention of allout-post-command-business.
14561
14562 (allout-post-command-business): If the command we're following was
14563 an undo, check for change in the status of encrypted items and
14564 adjust auto-save inhibitions accordingly.
14565
14566 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
14567 according to whether there are or aren't any plain-text topics
14568 pending encryption.
14569
2dcdbdd9 14570 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
14571 Adjust buffer-saved-size and some allout state to inhibit auto-saves
14572 if there are plain-text topics pending encryption.
13aa217b
KM
14573
14574 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
14575 buffer-saved-size and some allout state to not inhibit auto-saves
14576 if there are no longer any plain-text topics pending encryption.
14577
0757af94
SM
14578 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
14579 No longer provide for exemption of the current topic.
13aa217b 14580
ac89b32c
JL
145812011-07-04 Juri Linkov <juri@jurta.org>
14582
14583 Add 7z operations to delete and save changed members (bug#8968).
14584 * arc-mode.el (archive-7z-expunge, archive-7z-update):
14585 New defcustoms.
14586 (archive-7z-write-file-member): New function.
14587 (archive-7z-summarize): Fix the number of dashes in the
14588 listing output.
14589
8fa39615
SM
145902011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
14591
14592 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
14593 (bug#8958).
14594
2f11b3f1
CY
145952011-07-04 Chong Yidong <cyd@stupidchicken.com>
14596
d66fef2b
CY
14597 * bindings.el: Ignore next-buffer and previous-buffer in
14598 minibuffer-local-map.
14599
2f11b3f1
CY
14600 * font-lock.el (font-lock-builtin-face): Change light background
14601 color to dark slate blue (Bug#6693).
14602
f932a347
WD
146032011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
14604
14605 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
14606
c8af70e1
SM
146072011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
14608
14609 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
14610 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
14611 Add switch-to-buffer.
14612
f158badc
LMI
146132011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
14614
14615 * isearch.el (isearch-search-fun-function): Clarify further the
14616 meaning of the function returned.
14617
6d95bd46
MA
146182011-07-04 Michael Albinus <michael.albinus@gmx.de>
14619
14620 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
14621
14622 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
14623 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
14624 Use it.
14625 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
14626 `tramp-default-remote-path' does not exist.
14627 (tramp-send-command-and-read): New optional argument NOERROR.
14628 (tramp-open-connection-setup-interactive-shell)
14629 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
14630 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
14631 (tramp-process-sentinel): Flush also process' connection property.
14632 (tramp-sh-handle-start-file-process): Do not set process
14633 sentinel. It is done now ...
14634 (tramp-maybe-open-connection): ... here. (Bug#8929)
14635
909e6b67
MK
146362011-07-04 MON KEY <monkey@sandpframing.com>
14637
14638 * play/animate.el (animate-string): Doc fixes and allow changing
14639 the buffer name (bug#5417).
14640
146412011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
14642
c8af70e1 14643 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 14644
f34755dc
PE
146452011-07-04 Paul Eggert <eggert@cs.ucla.edu>
14646
396cec72
PE
14647 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
14648 This is simpler and helps future-proof the code.
14649 (timer-until): Use time-subtract and float-time.
08235028 14650 (timer--time-less-p): Use time-less-p.
f34755dc 14651
56e6cc31
JB
146522011-07-04 Juanma Barranquero <lekktu@gmail.com>
14653
3abb79e5
JB
14654 * type-break.el (timep): Use the value of `float-time' to avoid a
14655 byte-compiler warning.
14656
56e6cc31
JB
14657 * server.el (server-eval-and-print): Return any result, even nil.
14658
7b9430b4
PE
146592011-07-03 Paul Eggert <eggert@cs.ucla.edu>
14660
14661 * type-break.el: Accept time formats that the builtins accept.
14662 (timep, type-break-time-difference): Accept any format that
14663 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
14664 This is simpler and helps future-proof the code.
14665 (type-break-time-difference): Round rather than ignoring
14666 subseconds components.
14667
3034e9e7
LMI
146682011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
14669
14670 * info.el (Info-apropos-matches): Make non-interactive, since it
14671 doesn't seem to do anything useful as a command (bug#8829).
14672
1485f4c0
CY
146732011-07-03 Chong Yidong <cyd@stupidchicken.com>
14674
14675 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 14676 Move from faces.el.
1485f4c0
CY
14677 (frame-default-terminal-background): New function.
14678
14679 * custom.el (custom-push-theme): Don't record faces in `changed'
14680 theme; this doesn't work correctly for per-frame face settings.
14681 (disable-theme): Use face-set-after-frame-default to reset faces.
14682 (custom--frame-color-default): New function.
14683
9fa3dd45
LMI
146842011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
14685
c8af70e1 14686 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
14687 (bug#8769).
14688
6cbbc20c
KR
146892011-03-29 Kevin Ryde <user42@zip.com.au>
14690
14691 * progmodes/compile.el (compilation-error-regexp-alist-alist):
14692 `perl-Test2' extend to match possible "fail #N" rep count
14693 (bug#8377).
14694
c7f98048
LMI
146952011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
14696
65676592
LMI
14697 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
14698 `smtpmail-via-smtp' now returns the error instead of nil.
14699
c7f98048
LMI
14700 * isearch.el (isearch-search-fun-function): Clarify the doc string
14701 (bug#8101).
14702
56e6cc31 147032011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
14704
14705 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
14706 unnecessary spaces (bug#8987).
14707
2b216704
LMI
147082011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
14709
14710 * net/network-stream.el (open-network-stream): Use the
14711 :end-of-capability command thoughout.
14712
147132011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
14714
14715 * net/network-stream.el (open-network-stream): Add the
14716 :end-of-capability command parameter, used by pop3.el.
14717
36adf6ce
LMI
147182011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
14719
1ca0da0e
LMI
14720 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
14721
fc00f69c
LMI
14722 * fringe.el (fringe-query-style): Remove redundant text " (type ?
14723 for list)" (bug#6475).
14724
28fd8759 14725 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 14726 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
14727 an error (bug#6297).
14728
0dd8b6da
LMI
14729 * man.el (Man-reference-regexp): Allow matching possible
14730 word-wrapped references (bug#6289).
14731
ce1438d6
LMI
14732 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
14733 for consistency with the other vc buffers (bug#6197).
14734 (vc-checkin): Ditto.
14735
14736 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
14737
36adf6ce
LMI
14738 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
14739
e83cc1f7
LMI
147402011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
14741
8a20ca4c
LMI
14742 * custom.el (defcustom): Clarify that :set is only used in the
14743 Customize user interface (bug#6089).
14744
83319045
LMI
14745 * progmodes/flymake.el (flymake-mode): If the buffer isn't
14746 associated with a file, refuse to run instead of erroring out
14747 (bug#6084).
14748
a8392169
LMI
14749 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
14750 the doc string, since it appears that using `fill-column' always
14751 controls the width (bug#7845).
14752
e83cc1f7
LMI
14753 * simple.el (shell-command-on-region): Say where the error output
14754 went if `shell-command-default-error-buffer' is set (bug#6857).
14755
e47ca23b
KM
147562011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
14757
14758 * allout.el (allout-yank-processing): Adjust cursor position for
14759 backwards-deleted space.
14760
14761 (allout-rebullet-heading): Register changes with
14762 allout-exposure-changed-hook, so the modified topic is properly
14763 decorated.
14764
5cf56143
LMI
147652011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
14766
08549772
LMI
14767 * minibuffer.el (completion-in-region): Document PREDICATE
14768 (bug#7136).
14769
48e96771
LMI
14770 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
14771 of keyword/argument pairs (bug#6904).
14772
c8af70e1
SM
14773 * replace.el (multi-occur):
14774 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 14775
e17d05e2
LMI
147762011-07-02 Drew Adams <drew.adams@oracle.com>
14777
14778 * dired.el (dired-mark-if): Make the message about whether it's
14779 marking or unmarking clearer (bug#8523).
14780
063b0e45
LMI
147812011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
14782
14783 * disp-table.el (display-table-print-array): New function.
14784 (describe-display-table): Use it to print the vectors more pretty
14785 (Bug#8859).
14786
28545e04
MR
147872011-07-02 Martin Rudalics <rudalics@gmx.at>
14788
14789 * window.el (window-state-get-1): Don't assign clone numbers.
14790 Add clone-of item to list of window parameters.
14791 (window-state-put-2): Don't process clone numbers.
14792 (display-buffer-alist): Fix doc-string.
14793
3349e122
SM
147942011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
14795
14796 * subr.el (remq): Don't allocate if it's not needed.
14797 (keymap--menu-item-binding, keymap--menu-item-with-binding)
14798 (keymap--merge-bindings): New functions.
14799 (keymap-canonicalize): Use them to refine the canonicalization.
14800 * minibuffer.el (minibuffer-local-completion-map)
14801 (minibuffer-local-must-match-map): Move initialization from C.
14802 (minibuffer-local-filename-completion-map): Move initialization from C;
14803 don't inherit from anything here.
14804 (minibuffer-local-filename-must-match-map): Make obsolete.
14805 (completing-read-default): Use make-composed-keymap to combine
14806 minibuffer-local-filename-completion-map with either
14807 minibuffer-local-must-match-map or
14808 minibuffer-local-filename-completion-map.
14809
d224ac83
GM
148102011-07-01 Glenn Morris <rgm@gnu.org>
14811
3de63bf8
GM
14812 * type-break.el (type-break-time-sum): Use dolist.
14813
d224ac83
GM
14814 * textmodes/flyspell.el (flyspell-word-search-backward):
14815 Replace CL function.
14816
1a1e3f32
SM
148172011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
14818
fe3f64d5
SM
14819 * mouse.el (mouse--strip-first-event): New function.
14820 (function-key-map): Use it to map fringe clicks to normal clicks
14821 by default.
14822
eb604e34
SM
14823 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
14824 (vc-bzr-revision-completion-table): Add support for annotate and date.
14825
1a1e3f32
SM
14826 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
14827 inherit from parent.
14828
5bd35902
LMI
148292011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
14830
ace6c69c 14831 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 14832 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 14833
191e2bed
LMI
14834 * dired.el (dired-mode): Fix up the doc string as suggested by
14835 Drew Adams (bug#8817).
14836
5bd35902
LMI
14837 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
14838 cookie, since the manual says that it should be possible to add
14839 this function to `find-file-hook' (bug#8709).
14840
eee8207a
TZ
148412011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
14842
14843 * progmodes/cfengine.el: Moved all cfengine3.el functionality
14844 here. Noted Ted Zlatanov as the maintainer.
14845 (cfengine-common-settings, cfengine-common-syntax): New functions
14846 to set up common things between `cfengine-mode' and
14847 `cfengine3-mode'.
14848 (cfengine3-mode): New mode.
14849 (cfengine3-defuns cfengine3-defuns-regex
14850 (cfengine3-class-selector-regex cfengine3-category-regex)
14851 (cfengine3-vartypes cfengine3-font-lock-keywords)
14852 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 14853 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 14854
36b148cf
MA
148552011-07-01 Michael Albinus <michael.albinus@gmx.de>
14856
14857 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
14858
14859 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
14860
0bf4ba9a
MR
148612011-07-01 Martin Rudalics <rudalics@gmx.at>
14862
14863 * window.el (same-window-buffer-names, same-window-regexps)
14864 (same-window-p, special-display-frame-alist)
14865 (special-display-popup-frame, special-display-function)
14866 (special-display-buffer-names, special-display-regexps)
14867 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
14868 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
14869 (split-window-preferred-function, split-height-threshold)
14870 (split-width-threshold, even-window-heights)
14871 (display-buffer-mark-dedicated, window-splittable-p)
14872 (split-window-sensibly, window-safely-shrinkable-p):
14873 Un-obsolete.
14874 (display-buffer): Don't spread args with function specifier
14875 because special-display-popup-frame won't like it.
14876
35837f51
PE
148772011-07-01 Paul Eggert <eggert@cs.ucla.edu>
14878
d0672f86
PE
14879 Time-stamp simplifications and fixes.
14880 These improve accuracy slightly, and future-proof the code
14881 against some potential changes to current-time format.
14882
b9444d97
PE
14883 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
14884 by using time-since and float-time.
14885
0ef923dc
PE
14886 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
14887 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
14888 + NNN microseconds".
14889
2f81380d
PE
14890 * type-break.el (type-break-time-sum): Rewrite using time-add.
14891
845b5c3e
PE
14892 * play/hanoi.el (hanoi-current-time-float): Remove.
14893 All uses replaced by float-time.
14894
ee6f1be0
PE
14895 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
14896 This yields a more-accurate answer.
14897 (rng-time-to-float): Remove; no longer needed.
14898
fe955043
PE
14899 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
14900
5777162a
PE
14901 * calendar/timeclock.el (timeclock-seconds-to-time):
14902 Defalias to seconds-to-time, since they're the same thing.
14903
3103f8b6 14904 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 14905 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
14906 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
14907
0e61a35f
SM
149082011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
14909
14910 * window.el (bury-buffer): Don't iconify the only frame.
14911 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
14912 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
14913
ddd63a1e
CY
149142011-07-01 Chong Yidong <cyd@stupidchicken.com>
14915
0e61a35f
SM
14916 * eshell/em-smart.el (eshell-smart-display-navigate-list):
14917 Add mouse-yank-primary.
ddd63a1e 14918
055f4923
TZ
149192011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
14920
14921 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
14922
6a2fb145
SM
149232011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
14924
14925 * emacs-lisp/find-func.el (find-library--load-name): New fun.
14926 (find-library-name): Use it to find relative load names when provided
14927 absolute file name (bug#8803).
14928
fd4983f2
LMI
149292011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
14930
887d14ad
LMI
14931 * textmodes/flyspell.el (flyspell-word): Consider words that
14932 differ only in case as potential doublons (bug#5687).
14933
c53dc7fc
LMI
14934 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
14935 Remove two rather uninteresting debugging-like messages to make
14936 debbugs.el more silent.
14937
fd4983f2
LMI
14938 * comint.el (comint-password-prompt-regexp): Accept "Response" as
14939 a password-like phrase.
14940
7a71b18d 149412011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
14942
14943 * progmodes/cc-guess.el: New file.
14944
6a2fb145 14945 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
14946
14947 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
14948 derived from `c-basic-common-init'.
14949
14950 * progmodes/cc-mode.el (top-level): Require cc-guess.
14951 (c-basic-common-init): Use `cc-choose-style-for-mode'.
14952
1fa280a3
LM
149532011-06-30 Lawrence Mitchell <wence@gmx.li>
14954
14955 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
14956
e6597158
AM
149572011-06-30 Alan Mackenzie <acm@muc.de>
14958
1fa280a3
LM
14959 * progmodes/cc-engine.el (c-guess-continued-construct):
14960 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
14961 lock is disabled. Name this case as "CASE G".
14962
68ba37fb
KM
149632011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
14964
14965 * allout.el (allout-yank-processing): Fix injection of extra space
14966 between bullet and non-whitespace character in first topic when
14967 pasting, ensuring that the actual spacing in the pasted topic
14968 following the bullet char is preserved. This extra space was
14969 causing pasted encrypted topics to get a decrypted status even
14970 when the content was actually still encrypted. Now the decryption
14971 status from before the paste is preserved.
14972
14973 (allout-flag-region): Set all allout overlays so they evaporate
14974 when reduced to zero length (evanescent), to prevent overlay
14975 leakage.
14976
887a0b34
GM
149772011-06-30 Glenn Morris <rgm@gnu.org>
14978
94b9acce
GM
14979 * w32-fns.el (w32-charset-info-alist): Declare.
14980
1d9b46d4
GM
14981 * find-dired.el (find-grep-options): Simplify.
14982
cc232200
GM
14983 * term/ns-win.el (ns-set-resource): Declare.
14984
28e77c46
GM
14985 * ses.el (row, col): Declare dynamic variables honestly.
14986
887a0b34
GM
14987 * textmodes/reftex-parse.el (index-tags): Declare.
14988
658d8eb8
CY
149892011-06-30 Chong Yidong <cyd@stupidchicken.com>
14990
14991 * cus-edit.el (customize-push-and-save): New function.
14992
14993 * files.el (hack-local-variables-confirm): Use it.
14994
1fa280a3
LM
14995 * custom.el (load-theme): New arg NO-CONFIRM.
14996 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
14997 (custom-enabled-themes): Doc fix.
14998
14999 * cus-theme.el (customize-create-theme)
15000 (custom-theme-merge-theme): Callers to load-theme changed.
15001
bb617717
LMI
150022011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
15003
d61bdd5d
LMI
15004 * thingatpt.el (thing-at-point-short-url-regexp): Require that
15005 short URLs have at least one dot in them (bug #7614).
15006
bb617717
LMI
15007 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
15008 nil, because using a pty is apparently too slow (bug #895).
15009
2f31f37a
LMI
150102011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
15011
15012 * mail/sendmail.el (sendmail-query-once): New function.
15013 (sendmail-query-once-function): New variable.
15014
3076b24e
GM
150152011-06-29 Glenn Morris <rgm@gnu.org>
15016
faf2a174
GM
15017 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
15018
3076b24e
GM
15019 * ses.el (top-level): Require cl when compiling.
15020 (ses-set-localvars): Fix error statement.
15021 Call it at compile time to silence a storm of warnings.
15022
5386012d
MR
150232011-06-29 Martin Rudalics <rudalics@gmx.at>
15024
15025 * window.el (normalize-live-buffer): Rename to
15026 window-normalize-buffer.
15027 (normalize-live-frame): Rename to window-normalize-frame.
15028 (normalize-any-window): Rename to window-normalize-any-window.
15029 (normalize-live-window): Rename to window-normalize-live-window.
15030 (make-window-atom): Rename to window-make-atom.
15031 (window-resize-reset): Rename to window--resize-reset.
15032 (window-resize-reset-1): Rename to window--resize-reset-1.
15033 (resize-mini-window): Rename to window--resize-mini-window.
15034 (resize-subwindows-skip-p): Rename to
15035 window--resize-subwindows-skip-p.
15036 (resize-subwindows-normal): Rename to
15037 window--resize-subwindows-normal.
15038 (resize-subwindows): Rename to window--resize-subwindows.
15039 (resize-other-windows): Rename to window--resize-siblings.
15040 (resize-this-window): Rename to window--resize-this-window.
15041 (resize-root-window): Rename to window--resize-root-window.
15042 (resize-root-window-vertically): Rename to
15043 window--resize-root-window-vertically.
15044 (normalize-buffer-to-display): Rename to
15045 window-normalize-buffer-to-display.
15046 (normalize-buffer-to-switch-to): Rename to
15047 window-normalize-buffer-to-switch-to.
15048 Correspondingly update all callers of the functions listed
15049 above.
15050 (display-buffer-alist, display-buffer-normalize-arguments)
15051 (display-buffer-normalize-options, display-buffer)
15052 (display-buffer-alist-set): Use "function" instead of
15053 "fun-with-args".
15054
1176868d
CY
150552011-06-28 Chong Yidong <cyd@stupidchicken.com>
15056
15057 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
15058 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
15059 debbugs.gnu.org. Mention acknowledgment email.
15060
20a7a65f
LMI
150612011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
15062
15063 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
15064 buffer multibyteness, since it shouldn't matter.
15065
5f45cca5
MR
150662011-06-28 Martin Rudalics <rudalics@gmx.at>
15067
15068 * window.el (display-buffer-in-side-window): Handle dedicated
15069 windows as in display-buffer-reuse-window.
15070 (display-buffer-normalize-alist): Use value of override
15071 specifier.
15072 (display-buffer-normalize-specifiers): Use value of
15073 other-window-means-other-frame specifier.
15074 (display-buffer-alist): Rewrite some texts in widgets.
15075 (display-buffer): Spread arguments when calling function
15076 specified by fun-with-args.
15077
ad85fe1f
DD
150782011-06-28 Deniz Dogan <deniz@dogan.se>
15079
1fa280a3
LM
15080 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
15081 Unnest `let'.
da68c4c8 15082
ad85fe1f
DD
15083 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
15084 selectors (Bug#5732).
ec49bd31 15085 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 15086
a08cc025
JA
150872011-06-27 Jari Aalto <jari.aalto@cante.net>
15088
15089 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
15090 (eshell-ls-date-format): New defcustom.
15091 (eshell-ls-file): Use it.
15092
e2b551c5
SM
150932011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
15094
15095 * help-fns.el (describe-variable): Fix message for terminal-local vars.
15096
8982b231
KY
150972011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
15098
15099 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
15100 (ange-ftp-make-tmp-name): New arg.
15101 (ange-ftp-file-local-copy): Use it.
15102
36c9fa27
J
151032011-06-27 Jambunathan K <kjambunathan@gmail.com>
15104
15105 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
15106 no-conversion (Bug#8870).
15107
d68443dc
MR
151082011-06-27 Martin Rudalics <rudalics@gmx.at>
15109
15110 * window.el (window-right, window-left, window-child)
15111 (window-child-count, window-last-child)
15112 (window-iso-combination-p, walk-window-tree-1)
15113 (window-atom-check-1, window-tree-1, delete-window)
15114 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
15115 new naming conventions - window-vchild, window-hchild,
15116 window-next and window-prev are now called window-top-child,
15117 window-left-child, window-next-sibling and window-prev-sibling
15118 respectively.
d615d6d2
MR
15119 (resize-window-reset): Rename to window-resize-reset.
15120 (resize-window-reset-1): Rename to window-resize-reset-1.
15121 (resize-window): Rename to window-resize.
15122 (window-min-height, window-min-width)
15123 (resize-mini-window, resize-this-window, resize-root-window)
15124 (resize-root-window-vertically, adjust-window-trailing-edge)
15125 (enlarge-window, shrink-window, maximize-window)
15126 (minimize-window, delete-window, quit-restore-window)
15127 (split-window, balance-windows, balance-windows-area-adjust)
15128 (balance-windows-area, window-state-put-2)
15129 (display-buffer-even-window-sizes, display-buffer-set-height)
15130 (display-buffer-set-width, set-window-text-height)
15131 (fit-window-to-buffer): Rename all "resize-window" prefixed
15132 calls to use the "window-resize" prefix convention.
15133 (display-buffer-alist): Fix symbol for label specifier.
15134 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
15135 corresponding specifier.
15136 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 15137
b6458526
VB
151382011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
15139
15140 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
15141 convention.
15142 (ses-call-printer): Does not pass an empty string to formatter when the
15143 cell is empty to keep from barking printer Calc math-format-value.
15144
d31fd9ac
RS
151452011-06-27 Richard Stallman <rms@gnu.org>
15146
43d5bf84
RS
15147 * battery.el (battery-mode-line-limit): New variable.
15148 (battery-update): Handle it.
15149
d31fd9ac
RS
15150 * mail/rmailmm.el (rmail-mime-process-multipart):
15151 Handle truncated messages.
15152
819a6054
GM
151532011-06-27 Glenn Morris <rgm@gnu.org>
15154
15155 * progmodes/flymake.el (flymake-err-line-patterns):
15156 Allow for column numbers in the ant/javac pattern. (Bug#8866)
15157
cedc73f2
VB
151582011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
15159
819a6054 15160 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
15161 (ses--clean-!, ses--clean-_): New functions.
15162 (ses-range): Add configurability of readout order, and conversion
15163 to Calc vector.
15164
5e5d49b6
VB
15165 * ses.el (ses-repair-cell-reference-all): New function.
15166 (ses-cell-symbol): Set macro as safe, so that it can be used in
15167 formulas.
15168
56e6cc31 15169 * ses.el: Update cycle detection algorithm.
90ca8b49 15170 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 15171 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
15172 (ses-set-localvars): New function.
15173 (ses-make-cell): Add property-list as a cell element.
15174 (ses-cell-property-get-fun, ses-cell-property-get)
15175 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
15176 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
15177 New functions.
90ca8b49
VB
15178 (ses-cell-property-set, ses-cell-property-pop)
15179 (ses-cell-property-get-handle): New macro.
15180 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
15181 New aliases, used for code readability.
15182 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
15183 cycle detection.
15184 (ses-self-reference-early-detection): New defcustom.
fac916bf 15185 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
15186 (ses-mode): Use ses-set-localvars.
15187 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
15188 before lauching the update processing.
15189 (ses-initialize-Dijkstra-attempt): New function.
15190 (ses-recalculate-cell): Update for cycle detection based on
15191 Dijkstra algorithm.
15192
2bb63e81
VB
15193 * ses.el: Fix commenting and indenting convention.
15194
c9d29fb8
SM
151952011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
15196
15197 * bs.el (bs-cycle-next): Complete last change.
15198
d8e4b68b
JB
151992011-06-27 Drew Adams <drew.adams@oracle.com>
15200
15201 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
15202
40098786
LMI
152032011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
15204
c9d29fb8
SM
15205 * net/network-stream.el (network-stream-open-starttls):
15206 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
15207 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
15208
40098786
LMI
15209 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
15210 to binary to possibly avoid line encoding issues on Windows (among
15211 other things).
15212
468d09d4
LMI
152132011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
15214
15215 * net/network-stream.el (open-network-stream): Return an :error
15216 saying what the problem was, if possible.
15217
15218 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
15219 server.
15220
15221 * net/network-stream.el (network-stream-open-starttls): If we
15222 wanted to use STARTTLS, and the server offered it, but we weren't
15223 able to because we had no STARTTLS support, then close the connection.
15224 (open-network-stream): Return an :error element, if present.
15225
16f07dd7
CY
152262011-06-26 Chong Yidong <cyd@stupidchicken.com>
15227
88821ca0
CY
15228 * hl-line.el (hl-line-sticky-flag): Doc fix.
15229 (global-hl-line-sticky-flag): New option (Bug#8323).
15230 (global-hl-line-highlight): Obey it.
15231
16f07dd7
CY
15232 * vc/vc.el (vc-revert-show-diff): Default to t.
15233
6b5ccddf
KM
152342011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
15235
c9d29fb8
SM
15236 * allout-widgets.el (allout-widgets-post-command-business):
15237 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
15238 undecorated when an isearch is continued past, and isearch
15239 automatically collapses them. This leads to "widget leaks", where
15240 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
15241 hidden widgets can slow down cursor travel, substantially.
15242 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
15243 so we're doing without this nicety.
15244
15245 (allout-widgets-tally-string): Don't try to do a hash-table-count
15246 of allout-widgets-tally when it's nil. This eliminates spurious "Error
15247 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
15248 *Messages* when allout-widgets-maintain-tally is t.
15249
355f2e07
MR
152502011-06-26 Martin Rudalics <rudalics@gmx.at>
15251
15252 * window.el (display-buffer-normalize-argument): Rename to
15253 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
15254 LABEL argument. Respect special-display-function when popping up
15255 a new frame. Fix code searching for a window showing the buffer
15256 on another frame.
c9d29fb8
SM
15257 (display-buffer-normalize-specifiers):
15258 Call display-buffer-normalize-arguments.
355f2e07
MR
15259 (display-buffer-in-window): Don't undedicate the window if its
15260 buffer remains the same.
15261 Reported by Drew Adams <drew.adams@oracle.com>.
15262 (display-buffer-alist): Add choice for same-window macro
15263 specfier.
15264 (display-buffer): Mention special meaning of LABEL argument in
15265 doc-string. Fix quoting. Don't pop up a new frame even as
15266 fallback.
15267
7ca8fc42
JB
152682011-06-26 Juanma Barranquero <lekktu@gmail.com>
15269
15270 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
15271 avoid deleting the current window in some cases (bug#8911).
15272
bc312254
AS
152732011-06-26 Andreas Schwab <schwab@linux-m68k.org>
15274
15275 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
15276 (Bug#8934)
15277
2db18f3f
LMI
152782011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
15279
c9d29fb8
SM
15280 * net/network-stream.el (network-stream-open-starttls):
15281 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
15282 (network-stream-open-tls): Ditto.
15283
6302e0d3
LL
152842011-06-26 Leo Liu <sdl.web@gmail.com>
15285
15286 * register.el (registerv): New struct.
15287 (registerv-make): New function.
c9d29fb8
SM
15288 (jump-to-register, describe-register-1, insert-register):
15289 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
15290 struct. (Bug#8415)
15291
5fdd4046
CY
152922011-06-26 Chong Yidong <cyd@stupidchicken.com>
15293
2afef60a
CY
15294 * vc/vc.el (vc-revert-show-diff): New defcustom.
15295 (vc-diff-internal): New arg specifying diff buffer.
15296 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
15297 reuse an existing *vc-diff* buffer (Bug#8927).
15298
5fdd4046
CY
15299 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
15300
e93db24a
GM
153012011-06-26 Glenn Morris <rgm@gnu.org>
15302
15303 * progmodes/f90.el (f90-critical-indent): New option.
15304 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
15305 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
15306 (f90-mode): Doc fix.
15307 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
15308 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
15309 (f90-beginning-of-block, f90-next-block, f90-indent-region)
15310 (f90-match-end): Handle block, critical.
15311
eefff499
GM
153122011-06-25 Glenn Morris <rgm@gnu.org>
15313
f6ba4cc9
GM
15314 * calendar/diary-lib.el (diary-included-files): Doc fix.
15315 (diary-include-files): New function, extracted from
15316 diary-include-other-diary-files and diary-mark-included-diary-files.
15317 (diary-include-other-diary-files, diary-mark-included-diary-files):
15318 Just call diary-include-files.
15319 (diary-mark-entries): Reset diary-included-files on first call.
15320
16712304
GM
15321 * calendar/diary-lib.el (diary-mark-entries)
15322 (diary-mark-included-diary-files):
15323 Visit included diary-files in temp buffers.
15324
5d8e0d43
GM
15325 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
15326 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
15327 (f90-start-block-re, f90-imenu-generic-expression)
15328 (f90-looking-at-program-block-start, f90-no-block-limit):
15329 Add support for submodules.
15330
ccf7a5d5
GM
15331 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
15332 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 15333
11fdef7d 153342011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
15335
15336 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
15337 buffer-file-type before setting its value, to avoid disastrous
eefff499 15338 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 15339
74f53697
JB
153402011-06-25 Juanma Barranquero <lekktu@gmail.com>
15341
15342 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
15343
15344 * ses.el (ses-unload-function):
15345 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
15346
15347 * proced.el (proced-unload-function):
15348 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
15349
18a4ce5e
AR
153502011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
15351
15352 * server.el (server-create-window-system-frame): Add parameters arg.
15353 (server-process-filter): Doc fix. Handle frame-parameters.
15354
519d22cc
JB
153552011-06-25 Juanma Barranquero <lekktu@gmail.com>
15356
15357 Fix bug#8730, bug#8781.
15358
15359 * loadhist.el (unload--set-major-mode): New function.
15360 (unload-feature): Use it.
15361
15362 * progmodes/python.el (python-after-info-look): Add autoload cookie.
15363 (python-unload-function): New function.
15364
c206f5b0
SM
153652011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
15366
15367 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
15368
f9ad64f3
GS
153692011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
15370
15371 * net/browse-url.el (browse-url-firefox-program): Add icecat to
15372 the candidates list.
15373
7d0da90e
JB
153742011-06-24 Juanma Barranquero <lekktu@gmail.com>
15375
15376 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
15377
14b4e83d
RS
153782011-06-23 Richard Stallman <rms@gnu.org>
15379
15380 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
15381 (rmail-variables): Set next-error-move-function.
15382 (rmail-what-message): Take argument POS.
15383 (rmail-next-error-move): New function.
15384
273d2baf
SM
153852011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
15386
15387 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
15388 messages for adjacent non-terminals.
15389
56c2cc9a
RS
153902011-06-23 Richard Stallman <rms@gnu.org>
15391
15392 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 15393 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
15394 (rmail-start-mail): Don't specify use of rmail-mail-return;
15395 that's done by mail-bury now.
15396 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 15397
d59eb518
MA
153982011-06-23 Michael Albinus <michael.albinus@gmx.de>
15399
15400 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
15401 SIZE is a number.
15402
02cfc6d6
MR
154032011-06-23 Martin Rudalics <rudalics@gmx.at>
15404
15405 * window.el (get-lru-window, get-mru-window)
15406 (get-largest-window): Never return a minibuffer window.
15407 (display-buffer-pop-up-window): Fix a bug that could lead to
15408 reusing the minibuffer window.
15409 (display-buffer): Pass original specifier argument to
15410 display-buffer-function instead of the normalized one.
15411 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
15412
4e323265
LL
154132011-06-22 Leo Liu <sdl.web@gmail.com>
15414
15415 * minibuffer.el (completing-read-function)
15416 (completing-read-default): Move from minibuf.c
15417
7a70468f
RS
154182011-06-22 Richard Stallman <rms@gnu.org>
15419
50718fc2
RS
15420 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
15421 to Rmail even if not started by a special Rmail command.
15422
7a70468f
RS
15423 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
15424 Copy the buffer currently showing just one message.
15425
297dde5a
RW
154262011-06-22 Roland Winkler <winkler@gnu.org>
15427
15428 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
15429 (bibtex-clean-entry): First delete the old key so that a
15430 customized algorithm for generating the new key does not get
15431 confused by the old key.
15432 (bibtex-url): Obey regexp of first step.
15433 (bibtex-search-entries): Do not use add-to-list with local
15434 list-var.
15435
97bb1093
LMI
154362011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
15437
15438 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
15439 stored a user name, then query for the password first, instead of
15440 waiting for SMTP to give an error message and the trying again.
15441
1c0f1a19
JD
154422011-06-22 Lawrence Mitchell <wence@gmx.li>
15443
15444 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
15445 BUFFER in call-process.
15446
396f7c9d
LMI
154472011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
15448
15449 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
15450 QUIT twice.
ddb7ffee
LMI
15451 (smtpmail-try-auth-methods): Require user name and password from
15452 auth-source.
396f7c9d 15453
8998d1b3
MR
154542011-06-22 Martin Rudalics <rudalics@gmx.at>
15455
15456 * window.el (display-buffer-default-specifiers)
15457 (display-buffer-alist): Remove entries for pop-up-frame-alist.
15458 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 15459 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
15460
15461 * frame.el (pop-up-frame-alist, pop-up-frame-function)
15462 (special-display-frame-alist, special-display-popup-frame):
15463 Remove duplicate declarations. These are now in window.el.
15464
4ea31e07
LMI
154652011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
15466
c9d29fb8
SM
15467 * mail/smtpmail.el (smtpmail-via-smtp):
15468 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
15469 server supports it. SMTP servers that support STARTTLS commonly
15470 require it.
15471
15472 * net/network-stream.el (network-stream-open-starttls): Support
15473 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 15474 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 15475
95f41d9a
LMI
15476 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
15477 upgrades with `open-network-stream', and rely solely on
15478 auth-source for all credentials. Big changes throughout the file,
15479 but in particular:
c9d29fb8
SM
15480 (smtpmail-auth-credentials): Remove.
15481 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
15482 (smtpmail-via-smtp): Check for servers saying they want AUTH after
15483 MAIL FROM, too.
95f41d9a 15484
c9d29fb8
SM
15485 * net/network-stream.el (network-stream-open-starttls):
15486 Provide support for client certificates both for external and built-in
4ea31e07
LMI
15487 STARTTLS.
15488 (auth-source): Require.
15489 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
15490 (network-stream-certificate): Change cert-cert to cert and
15491 cert-key to key.
4ea31e07 15492
065ec2c7
MA
154932011-06-21 Michael Albinus <michael.albinus@gmx.de>
15494
15495 * net/tramp-cache.el (top): Don't load the persistency file when
15496 "emacs -Q" has been called.
15497
cd93b359
DR
154982011-06-21 Tim Harper <timcharper@gmail.com>
15499
d8e4b68b
JB
15500 * term/ns-win.el (ns-initialize-window-system):
15501 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
15502 resource to NO as it is not yet supported by the NS port.
15503
ae9c0411
JB
155042011-06-21 Juanma Barranquero <lekktu@gmail.com>
15505
15506 * misc.el (list-dynamic-libraries--refresh): Compute header here...
15507 (list-dynamic-libraries): ...not here.
15508
7f3f739f
LL
155092011-06-21 Leo Liu <sdl.web@gmail.com>
15510
15511 * subr.el (sha1): Implement sha1 using secure-hash.
15512
327c8fb1
MR
155132011-06-21 Martin Rudalics <rudalics@gmx.at>
15514
15515 * window.el (display-buffer-alist): In default value do not
15516 enforce searching a window on any but the selected frame.
15517 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
15518 (display-buffer-select-window): Remove function.
15519 (display-buffer-in-window): When a window on another frame gets
15520 reused, do not select it any more but just raise its frame if
15521 necessary (Bug#8851) and (Bug#8856).
15522 (display-buffer-normalize-options): Handle pop-up-frames related
15523 options more faithfully.
15524 (pop-to-buffer): Don't rely on `display-buffer' selecting the
15525 window if it is on another frame.
c9d29fb8
SM
15526 (display-buffer-alist, display-buffer-default-specifiers):
15527 Don't make new frame unsplittable by default.
9e9de014
MR
15528 (display-buffer-normalize-argument): Fix doc-string typo and use
15529 'same-frame-other-window instead of 'other-window when associating
15530 with display-buffer-macro-specifiers.
327c8fb1 15531
7cf3f556
VB
155322011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
15533
15534 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
15535 New functions.
15536 (5x5-mode-map, 5x5-mode-menu): Bind them.
15537 (5x5-draw-grid): Tweak the solver's rendering.
15538
60a406cf
SM
155392011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
15540
15541 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
15542 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
15543
d8e4b68b 155442011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
15545
15546 * menu-bar.el: Use function variable instead of switch-to-buffer.
15547 (menu-bar-select-buffer-function): New variable.
60a406cf 15548 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 15549
478d6f95
SM
155502011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
15551
15552 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
15553 variable's status.
15554
ca530739
JD
155552011-06-20 Jan Djärv <jan.h.d@swipnet.se>
15556
15557 * x-dnd.el (x-dnd-version-from-flags)
15558 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
15559 and long as number (Bug#8899).
15560 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
15561
bcd70d97
SM
155622011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
15563
60a406cf 15564 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
15565 (completion-try-completion, completion-all-completions): Compute the
15566 metadata argument if it's missing; make it optional (bug#8795).
15567
60a406cf 15568 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
15569 (widget-complete): Use new :completion-function property.
15570 (widget-completions-at-point): New function.
15571 (default): Use :completion-function instead of :complete.
60a406cf
SM
15572 (widget-default-completions): Rename from widget-default-complete;
15573 Rewrite.
bcd70d97
SM
15574 (widget-string-complete, widget-file-complete, widget-color-complete):
15575 Remove functions.
15576 (file, symbol, function, variable, coding-system, color):
15577 * international/mule-cmds.el (default-input-method, charset)
15578 (language-info-custom-alist):
15579 * cus-edit.el (face): Use new property :completions.
15580
15581 * progmodes/pascal.el (pascal-completions-at-point): New function.
15582 (pascal-mode): Use it.
15583 (pascal-mode-map): Use completion-at-point.
15584 (pascal-toggle-completions): Make obsolete.
15585 (pascal-complete-word, pascal-show-completions):
15586 * progmodes/octave-mod.el (octave-complete-symbol):
15587 Redefine as obsolete alias.
15588 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
15589 Signal absence of completion info for old Octave,
15590 (inferior-octave-complete): Redefine as obsolete alias.
15591 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
15592 (meta-completions-at-point): Rename from meta-complete-symbol and
15593 adapt it for use on completion-at-point-functions.
15594 (meta-common-mode): Use it.
15595 (meta-looking-at-backward, meta-match-buffer): Remove.
15596 (meta-complete-symbol): Redefine as obsolete alias.
15597 (meta-common-mode-map): Use completion-at-point.
15598 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
15599 (makefile-mode-map): Use completion-at-point.
15600 (makefile-completions-at-point): Rename from makefile-complete and
15601 adapt it for use on completion-at-point-functions.
15602 (makefile-mode): Use it.
15603 (makefile-complete): Redefine as obsolete alias.
15604
aebf69c8
DD
156052011-06-20 Deniz Dogan <deniz@dogan.se>
15606
15607 * net/rcirc.el: Delete trailing whitespaces once and for all.
15608
bfbbb27d
DC
156092011-06-20 Daniel Colascione <dan.colascione@gmail.com>
15610
15611 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
15612
d264a46b
CY
156132011-06-19 Chong Yidong <cyd@stupidchicken.com>
15614
4ca009e5
CY
15615 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
15616
d264a46b
CY
15617 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
15618
fbf5b3ce
MR
156192011-06-19 Martin Rudalics <rudalics@gmx.at>
15620
15621 * window.el (display-buffer-other-window-means-other-frame):
15622 Call display-buffer-normalize-alist.
15623 (display-buffer-normalize-specifiers-1): Rename to
15624 display-buffer-normalize-argument. New argument other-frame.
15625 Rewrite.
15626 (display-buffer-normalize-specifiers-2): Rename to
15627 display-buffer-normalize-options.
15628 (display-buffer-normalize-alist-1): New function.
15629 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
15630 display-buffer-normalize-alist.
15631 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
15632 (display-buffer-normalize-options-inhibit): New variable.
15633 (display-buffer-normalize-specifiers): Rewrite calling
15634 display-buffer-normalize-alist,
15635 display-buffer-normalize-argument, and
15636 display-buffer-normalize-options. Don't call the latter if
15637 display-buffer-normalize-options-inhibit is non-nil.
15638 (frame-auto-delete): New option.
15639 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
15640 (window-list-no-nils, window-state-ignored-parameters)
15641 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
15642 (window-state-put-1, window-state-put-2, window-state-put):
15643 New functions.
9a028c23
MR
15644 (display-buffer-normalize-options): Move special-display-p group
15645 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 15646
6d10d800
CY
156472011-06-18 Chong Yidong <cyd@stupidchicken.com>
15648
6420d28b
CY
15649 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
15650 groups (Bug#8776).
15651 (rx-submatch-n): New function.
15652 (rx): Document it.
15653
ddb8b596
CY
15654 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
15655 (Bug#8768).
15656
15657 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
15658
77080289
CY
15659 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
15660
61dfb316
CY
15661 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
15662 anytime existing face settings are present (Bug#8889).
15663
6d10d800
CY
15664 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
15665 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
15666 Remove unused argument.
15667
be3fb2b8
MR
156682011-06-18 Martin Rudalics <rudalics@gmx.at>
15669
bcd70d97
SM
15670 * window.el (display-buffer-default-specifiers):
15671 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
15672 pop-up-window-min-width, and another reuse-window specifier
15673 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
15674 (display-buffer-normalize-specifiers-2):
15675 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
15676 pop-up-windows is unset. Add a reuse-window specifier for the
15677 case popping up a new window fails.
15678 (special-display-popup-frame): Remove double quoting.
28dec25a 15679 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 15680
1c6d8c76
SM
156812011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
15682
15683 * shell.el (shell-completion-vars): Set pcomplete-termination-string
15684 according to comint-completion-addsuffix.
15685
15686 * pcomplete.el: Convert to lexical binding and fix bug#8819.
15687 (pcomplete-suffix-list): Mark as obsolete.
15688 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
15689 pcomplete-seen in the closure.
15690 (pcomplete-comint-setup): Setup completion-at-point as well.
15691 (pcomplete--entries): New function.
15692 (pcomplete--env-regexp): New var.
15693 (pcomplete-entries): Rewrite to work with partial-completion and
15694 without relying on pcomplete-suffix-list.
15695 (pcomplete-pare-list): Remove, unused.
15696
25aef8b8
MR
156972011-06-17 Martin Rudalics <rudalics@gmx.at>
15698
15699 * window.el (display-buffer-alist): Set pop-up-window-min-height
15700 and pop-up-window-min-width in default value. Reported by
15701 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
15702 other-window-means-other-frame.
15703 (display-buffer-macro-specifiers): Comment out entry for
15704 other-window specifier.
15705 (display-buffer-other-window-means-other-frame): New function.
15706 (display-buffer-normalize-specifiers-1): New arguments
15707 buffer-name and label. Treat other-window case specially.
15708 (display-buffer-normalize-specifiers-2): Treat other-window case
15709 specially.
15710 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
15711 (display-buffer-normalize-specifiers):
15712 Call display-buffer-normalize-specifiers-3.
25aef8b8 15713
dbad4f69
MR
157142011-06-17 Martin Rudalics <rudalics@gmx.at>
15715
15716 * window.el (same-window-p): Fix two typos introduced when
15717 adding with-no-warnings.
d1067961
MR
15718 (display-buffer-normalize-specifiers-1): Don't check
15719 pop-up-frames for 'unset initialization.
15720 (display-buffer-normalize-specifiers-2): Major rewrite using
15721 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
15722 (pop-up-frames, display-buffer-reuse-frames)
15723 (display-buffer-mark-dedicated): Don't initialize to 'unset.
15724 Suggested by David Engster <deng@randomsample.de>.
15725 (even-window-heights): Initialize to 'unset.
15726 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
15727 (display-buffer-macro-specifiers): Don't pop up a new frame in the
15728 other window case.
dbad4f69 15729
9b9c9e3a
MR
157302011-06-16 Martin Rudalics <rudalics@gmx.at>
15731
bcd70d97
SM
15732 * window.el (display-buffer-normalize-specifiers-1):
15733 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 15734 second argument of display-buffer (Bug#8865).
981d5c09
MR
15735 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
15736 (switch-to-buffer-other-window-same-frame)
15737 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
15738 Adams (Bug#8875).
9c2755e9
MR
15739 (display-buffer): Don't check noninteractive when calling
15740 display-buffer-pop-up-frame.
15741 (display-buffer-pop-up-frame): Never pop up a frame in
15742 noninteractive mode (Bug#8857).
67222e1d
MR
15743 (enlarge-window, shrink-window): Don't report an error when the
15744 window can't be resized as requested (Bug#8862).
9b9c9e3a 15745
2b75be67
SM
157462011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
15747
9ffdd3ba
SM
15748 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
15749
cb581a67
SM
15750 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
15751
2b75be67
SM
15752 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
15753
8c0e3589
AM
157542011-06-15 Alan Mackenzie <acm@muc.de>
15755
cb581a67
SM
15756 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
15757 for declarators, disable knr checking to speed up for normal files.
15758 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 15759
b96e6cde
LMI
157602011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
15761
4bba86e6
LMI
15762 * net/network-stream.el (open-network-stream): Add the keyword
15763 :always-query-capabilities for the case where you want to force a
15764 `plain' network connection, but the protocol still requires the
15765 capabilitiy command (i.e., SMTP and EHLO).
15766
2b75be67 15767 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
15768 consistency with other `-live-p' functions.
15769
efdcdbf8
SM
157702011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
15771
15772 * window.el (same-window-buffer-names, same-window-regexps)
15773 (special-display-frame-alist, special-display-popup-frame)
15774 (special-display-function, special-display-buffer-names)
15775 (special-display-regexps, pop-up-frame-alist)
15776 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
15777 (pop-up-windows, split-window-preferred-function)
15778 (split-height-threshold, split-width-threshold, even-window-heights)
15779 (display-buffer-mark-dedicated): Don't encourage the use of
15780 display-buffer-alist from Elisp code.
15781
c5cde042
DN
157822011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
15783
15784 * progmodes/python.el (python-mode): Derive from prog-mode.
15785 * progmodes/ps-mode.el (ps-mode):
15786 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 15787 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
15788 * progmodes/ld-script.el (ld-script-mode): Likewise.
15789
baa1c9ab
MR
157902011-06-15 Martin Rudalics <rudalics@gmx.at>
15791
15792 * window.el (display-buffer-alist): Trim default value to avoid
15793 popping up a new frame (Bug#8857) or reusing an arbitrary window
15794 on another frame.
15795 (display-buffer): Do not fall back on popping up a new frame in
15796 batch mode (Bug#8857).
15797
c5dd5a51
CY
157982011-06-14 Chong Yidong <cyd@stupidchicken.com>
15799
15800 * cus-theme.el (describe-theme-1): Use custom-theme-p.
15801 (custom-theme-summary): New function.
15802 (customize-themes): Use it.
15803
d647b7c4
GM
158042011-06-13 Glenn Morris <rgm@gnu.org>
15805
15806 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
15807
9481c002
MR
158082011-06-13 Martin Rudalics <rudalics@gmx.at>
15809
357f93d2
MR
15810 * help.el (help-window): Remove variable.
15811 (help-window-point-marker, temp-buffer-max-height)
15812 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
15813 (help-print-return-message): Don't set help-window.
15814 (resize-temp-buffer-window): Rewrite cod eand doc-string.
15815 (help-window-setup-finish): Remove.
15816 (help-window-display-message, help-window-setup)
15817 (with-help-window): Major rewrite based on new
15818 display-buffer-window variable.
15819
15820 * help-mode.el (help-mode-finish): Remove help-window related
15821 code.
15822
15823 * view.el (view-exits-all-viewing-windows): Remove reference to
15824 view-return-to-alist in doc-string.
15825 (view-return-to-alist): Make obsolete.
15826 (view-buffer): Call pop-to-buffer-same-window and remove
15827 undo-window code.
15828 (view-buffer-other-window): Call pop-to-buffer-other-window and
15829 simplify code. Ignore second argument.
15830 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
15831 simplify code. Ignore second argument.
15832 (view-return-to-alist-update): Make obsolete.
15833 (view-mode-enter): Rename second argument to QUIT-RESTORE.
15834 Rewrite using quit-restore window parameters.
2b75be67
SM
15835 (view-mode-exit): Rename second argument to EXIT-ONLY.
15836 Rewrite using quit-restore-window.
357f93d2
MR
15837 (View-exit, View-exit-and-edit, View-leave, View-quit)
15838 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
15839 appropriate arguments.
15840 (view-end-message): Use quit-restore window parameter.
15841
9481c002
MR
15842 * window.el (display-buffer-function): Rewrite doc-string.
15843 (display-buffer-window, display-buffer-alist): New variables.
15844 (display-buffer-split-specifiers)
15845 (display-buffer-side-specifiers)
15846 (display-buffer-macro-specifiers): New constants.
15847 (display-buffer-even-window-sizes, display-buffer-set-height)
15848 (display-buffer-set-width, display-buffer-select-window)
15849 (display-buffer-in-window, display-buffer-reuse-window)
15850 (display-buffer-split-window-1, display-buffer-split-window)
15851 (display-buffer-split-atom-window, display-buffer-pop-up-window)
15852 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
15853 (display-buffer-in-side-window, normalize-buffer-to-display)
15854 (display-buffer-normalize-specifiers-1)
15855 (display-buffer-normalize-specifiers-2)
2b75be67
SM
15856 (display-buffer-normalize-specifiers, display-buffer-frame):
15857 New functions.
9481c002
MR
15858 (display-buffer): Major rewrite.
15859 (display-buffer-other-window, display-buffer-other-frame)
15860 (pop-to-buffer, switch-to-buffer-other-window)
15861 (switch-to-buffer-other-frame): Rewrite.
15862 (display-buffer-same-window, display-buffer-same-frame)
15863 (display-buffer-same-frame-other-window)
15864 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
15865 (pop-to-buffer-other-window)
15866 (pop-to-buffer-same-frame-other-window)
15867 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
15868 (switch-to-buffer-other-window-same-frame): New functions.
15869 (same-window-p, special-display-p): Rewrite disabling warnings.
15870 Make obsolete.
15871 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
15872 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
15873 Make obsolete
15874 (same-window-buffer-names, same-window-regexps)
15875 (special-display-frame-alist, special-display-popup-frame)
15876 (special-display-function, special-display-buffer-names)
15877 (special-display-regexps, pop-up-frame-alist)
15878 (pop-up-frame-function, split-window-preferred-function)
15879 (split-height-threshold, split-width-threshold)
15880 (even-window-heights): Make obsolete.
15881
9db51aca
GM
158822011-06-12 Glenn Morris <rgm@gnu.org>
15883
15884 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 15885 Misc simplifications.
9db51aca 15886
39cffb44
MR
158872011-06-12 Martin Rudalics <rudalics@gmx.at>
15888
15889 * window.el (window-safely-shrinkable-p): Restore function which
15890 was inadvertently removed in change from 2011-06-11. Declare as
15891 obsolete.
15892
2b75be67
SM
15893 * calendar/calendar.el (calendar-generate-window):
15894 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
15895 window-safely-shrinkable-p.
15896
a8955be7
GM
158972011-06-12 Glenn Morris <rgm@gnu.org>
15898
15899 * progmodes/fortran.el (fortran-mode-syntax-table):
15900 * progmodes/f90.el (f90-mode-syntax-table):
15901 Set % to punctuation. (Bug#8820)
15902 (f90-find-tag-default): Remove, no longer needed.
15903
f0d4059d
DC
159042011-06-12 Daniel Colascione <dan.colascione@gmail.com>
15905
15906 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
15907
1100a63c
CY
159082011-06-11 Chong Yidong <cyd@stupidchicken.com>
15909
15910 * image.el (image-animated-p): Return animation delay in seconds.
15911 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
15912 (image-animate-timeout): Remove DELAY argument. Don't assume
15913 every subimage has the same delay; get it from image-animated-p.
15914 (image-animate): Caller changed.
15915
def722bf
MA
159162011-06-11 Michael Albinus <michael.albinus@gmx.de>
15917
15918 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
15919 to ignored backtrace functions.
15920
0a2bb1a9
GM
159212011-06-11 Glenn Morris <rgm@gnu.org>
15922
15923 * calendar/appt.el (appt-disp-window-function): Doc fix.
15924 (appt-check): Handle overlapping appointments. (Bug#8337)
15925
6198ccd0
MR
159262011-06-11 Martin Rudalics <rudalics@gmx.at>
15927
15928 * window.el (window-tree-1, window-tree): New functions, moving
15929 the latter to window.el.
15930 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
15931 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
15932 (bw-refresh-edges): Remove.
15933 (balance-windows-1, balance-windows-2): New functions.
15934 (balance-windows): Rewrite in terms of window tree functions,
15935 balance-windows-1 and balance-windows-2.
15936 (bw-adjust-window): Remove.
15937 (balance-windows-area-adjust): New function with functionality of
15938 bw-adjust-window but using resize-window.
2b75be67
SM
15939 (set-window-text-height): Rewrite doc-string.
15940 Use normalize-live-window and resize-window.
15941 (enlarge-window-horizontally, shrink-window-horizontally):
15942 Rename argument to DELTA.
6198ccd0
MR
15943 (window-buffer-height): New function.
15944 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
15945 Rewrite using new window resize routines.
2b75be67
SM
15946 (kill-buffer-and-window, mouse-autoselect-window-select):
15947 Use ignore-errors instead of condition-case.
6198ccd0
MR
15948 (quit-window): Call delete-frame instead of delete-windows-on
15949 for the only buffer on frame.
15950
9397e56f
MR
159512011-06-10 Martin Rudalics <rudalics@gmx.at>
15952
15953 * loadup.el (top-level): Load window before files for the sake
15954 of replace-buffer-in-windows.
15955
15956 * files.el (read-buffer-to-switch)
15957 (switch-to-buffer-other-window)
2b75be67
SM
15958 (switch-to-buffer-other-frame, display-buffer-other-frame):
15959 Move to window.el.
9397e56f
MR
15960
15961 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
15962 (previous-buffer): Move to window.el.
15963
15964 * bindings.el (unbury-buffer): Move to window.el.
15965
15966 * window.el (delete-other-windows-vertically): Move after
15967 definition of delete-other-windows.
15968 (other-window, delete-windows-on, replace-buffer-in-windows):
15969 Move here from window.c.
15970 (record-window-buffer, unrecord-window-buffer)
15971 (set-window-buffer-start-and-point, switch-to-prev-buffer)
15972 (switch-to-next-buffer): New functions.
15973 (get-next-valid-buffer, last-buffer, next-buffer): Move here
15974 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
15975 (previous-buffer): Move here from simple.el.
15976 Call switch-to-prev-buffer.
9397e56f
MR
15977 (bury-buffer): Move here from buffer.c. Switch to previous
15978 buffer when window cannot be deleted.
15979 (unbury-buffer): Move here from bindings.el.
15980 (ctl-x-map): Move binding for other-window from window.c to
15981 here.
15982 (read-buffer-to-switch, switch-to-buffer-other-window)
15983 (switch-to-buffer-other-frame): Move here from files.el.
15984 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
15985 (switch-to-buffer): Move here from buffer.c.
15986 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 15987
562dd5e9
MR
159882011-06-10 Martin Rudalics <rudalics@gmx.at>
15989
15990 * window.el (window-min-height, window-min-width): Move here
15991 from window.c. Add defcustoms and rewrite doc-strings.
15992 (resize-mini-window, resize-window): New functions.
15993 (adjust-window-trailing-edge, enlarge-window, shrink-window):
15994 Move here from window.c.
15995 (maximize-window, minimize-window): New functions.
15996 (delete-window, delete-other-windows, split-window): Move here
15997 from window.c.
15998 (window-split-min-size): New function.
15999 (split-window-keep-point): Mention split-window-above-each-other
16000 instead of split-window-vertically.
2b75be67 16001 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
16002 Rename split-window-vertically to split-window-above-each-other
16003 and provide defalias for old definition.
16004 (split-window-side-by-side, split-window-horizontally):
16005 Rename split-window-horizontally to split-window-side-by-side
16006 and provide defalias for the old definition.
562dd5e9
MR
16007 (ctl-x-map): Move bindings for delete-window,
16008 delete-other-windows and enlarge-window here from window.c.
16009 Replace bindings for split-window-vertically and
16010 split-window-horizontally by bindings for
16011 split-window-above-each-other and split-window-side-by-side.
16012
16013 * cus-start.el (all): Remove entries for window-min-height and
16014 window-min-width. Add entries for window-splits and
16015 window-nest.
16016
f0da764a
GM
160172011-06-09 Glenn Morris <rgm@gnu.org>
16018
80675c21
GM
16019 * calendar/appt.el (appt-mode-line): New function.
16020 (appt-check, appt-disp-window): Use it.
16021
f0da764a
GM
16022 * files.el (hack-one-local-variable-eval-safep):
16023 Allow minor-modes with explicit +/-1 arguments.
16024
59f623b7
TZ
160252011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
16026
16027 * term/xterm.el (xterm): Add defgroup.
16028 (xterm-extra-capabilities): Add defcustom to supply known xterm
16029 capabilities, skip querying them, or query them (default).
16030 (terminal-init-xterm): Use it.
16031 (terminal-init-xterm-modify-other-keys): New function to set up
16032 modifyOtherKeys support to simplify `terminal-init-xterm'.
16033
9aab8e0d
MR
160342011-06-09 Martin Rudalics <rudalics@gmx.at>
16035
16036 * window.el (resize-window-reset, resize-window-reset-1)
16037 (resize-subwindows-skip-p, resize-subwindows-normal)
16038 (resize-subwindows, resize-other-windows, resize-this-window)
16039 (resize-root-window, resize-root-window-vertically)
16040 (window-deletable-p, window-or-subwindow-p)
16041 (frame-root-window-p): New functions.
16042
e8b08aee
GM
160432011-06-09 Glenn Morris <rgm@gnu.org>
16044
16045 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
16046 (ange-ftp-get-files): Use it.
16047
254c37a5
AK
160482011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
16049
16050 * mail/sendmail.el (mail-recover-1, mail-recover):
16051 * files.el (recover-file, recover-session):
16052 Handle dired-listing-switches not being just a single short option.
16053
35d7dbd3
GM
160542011-06-09 Glenn Morris <rgm@gnu.org>
16055
16056 * calendar/appt.el (appt-display-message, appt-disp-window):
16057 Handle lists of appointments.
16058
387522b2
MR
160592011-06-08 Martin Rudalics <rudalics@gmx.at>
16060
2b75be67
SM
16061 * window.el (one-window-p): Move down in code.
16062 Rewrite doc-string.
16063 (window-current-scroll-bars): Rewrite doc-string.
16064 Normalize live window argument.
387522b2
MR
16065 (walk-windows, get-window-with-predicate, count-windows):
16066 Rewrite doc-string. Use window-list-1.
16067 (window-in-direction-2, window-in-direction, get-mru-window):
16068 New functions.
16069
d8e4b68b 160702011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
16071
16072 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
16073 Doc fix (Bug#8713).
16074
160752011-06-08 Chong Yidong <cyd@stupidchicken.com>
16076
16077 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
16078
160792011-06-08 Juanma Barranquero <lekktu@gmail.com>
16080
16081 * loadhist.el (unload-feature-special-hooks):
16082 Add `comint-output-filter-functions'.
16083
0de12c52
IK
160842011-06-08 Ivan Kanis <gnu@kanis.fr>
16085
16086 * calendar/appt.el (appt-check): Move some initializations into the let.
16087
f3d1777e
MR
160882011-06-08 Martin Rudalics <rudalics@gmx.at>
16089
16090 * window.el (window-height): Defalias to window-total-height.
16091 (window-width): Defalias to window-body-width.
16092
18af70d0
CY
160932011-06-07 Chong Yidong <cyd@stupidchicken.com>
16094
16095 * image-mode.el (image-toggle-animation): New command.
16096 (image-mode-map): Bind it to RET.
16097 (image-mode): Update message.
16098 (image-toggle-display-image): Avoid a spurious cache flush.
16099 (image-transform-rotation): Doc fix.
16100 (image-transform-properties): Return quickly in the normal case.
16101 (image-animate-loop): Rename from image-animate-max-time.
16102
2b75be67 16103 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
16104 (create-animated-image): Remove unnecessary function.
16105 (image-animate): Rename from image-animate-start. New arg.
2b75be67 16106 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
16107 (image-animate-timer): Use car-safe.
16108 (image-animate-timeout): Rename argument.
16109
190b47e6
MR
161102011-06-07 Martin Rudalics <rudalics@gmx.at>
16111
16112 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
16113 window.c. Rename first argument to ALL-FRAMES.
16114 Rephrase doc-strings.
16115 (get-buffer-window-list): Rewrite using window-list-1.
16116 Rephrase doc-string.
a1511caf
MR
16117 (window-safe-min-height, window-safe-min-width): New constants.
16118 (window-size-ignore, window-min-size, window-min-size-1)
16119 (window-sizable, window-sizable-p, window-size-fixed-1)
16120 (window-size-fixed-p, window-min-delta-1, window-min-delta)
16121 (window-max-delta-1, window-max-delta, window-resizable)
16122 (window-resizable-p, window-total-height, window-total-width)
16123 (window-body-width): New functions.
16124 (window-full-height-p, window-full-width-p): Rewrite using
16125 window-total-size.
16126 (window-body-height): Rewrite using window-body-size.
190b47e6 16127
85cc1f11
MR
161282011-06-06 Martin Rudalics <rudalics@gmx.at>
16129
16130 * window.el (window-right, window-left, window-child)
16131 (window-child-count, window-last-child, window-any-p)
16132 (normalize-live-buffer, normalize-live-frame)
16133 (normalize-any-window, normalize-live-window)
16134 (window-iso-combination-p, window-iso-combined-p)
16135 (window-iso-combinations)
16136 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
16137 (windows-with-parameter, window-with-parameter)
16138 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
16139 (window-atom-check, window-side-check, window-check):
16140 New functions.
85cc1f11
MR
16141 (ignore-window-parameters, window-sides, window-sides-vertical)
16142 (window-sides-slots): New variables.
16143 (window-size-fixed): Move down in code. Minor doc-string fix.
16144
e7156492
AS
161452011-06-05 Andreas Schwab <schwab@linux-m68k.org>
16146
16147 * comint.el (comint-dynamic-complete-as-filename)
16148 (comint-dynamic-complete-filename): Correctly call
16149 completion-in-region.
16150
7e821d0d
DD
161512011-06-05 Deniz Dogan <deniz@dogan.se>
16152
16153 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
16154 in last change.
16155
ac09b8a1
DD
161562011-06-05 Deniz Dogan <deniz@dogan.se>
16157
16158 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
16159 (rcirc): Use it to prompt for encryption.
16160
34699b85
RW
161612011-06-05 Roland Winkler <winkler@gnu.org>
16162
16163 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
16164 (bibtex-search-entries): New command bound to C-c C-a.
16165 (bibtex-display-entries): New function.
16166
004dedd3
RW
161672011-06-05 Roland Winkler <winkler@gnu.org>
16168
16169 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
16170 (bibtex-insert-kill): After yanking insert newline if necessary.
16171 (bibtex-initialize): Call bibtex-string-files-init only once.
16172 (bibtex-mode): Do not call easy-menu-add.
16173 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
16174 (bibtex-yank): Set arg properly if nil.
16175
022fe7ce
RW
161762011-06-05 Roland Winkler <winkler@gnu.org>
16177
2b75be67
SM
16178 * textmodes/bibtex.el (bibtex-search-entry-globally):
16179 New variable.
022fe7ce
RW
16180 (bibtex-search-entry): Use it.
16181
b7c3692a
RW
161822011-06-05 Roland Winkler <winkler@gnu.org>
16183
16184 * textmodes/bibtex.el (bibtex-entry-format): New option
16185 sort-fields.
16186 (bibtex-format-entry, bibtex-reformat): Honor this option.
16187 (bibtex-parse-entry): Return fields in proper order.
16188
8eda563d
JB
161892011-06-05 Juanma Barranquero <lekktu@gmail.com>
16190
16191 * doc-view.el (doc-view-remove-if): Move computation of result out
16192 of `dolist' to silence misleading lexical-binding warning.
16193
7dbe3dbc
CY
161942011-06-04 Chong Yidong <cyd@stupidchicken.com>
16195
16196 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
16197 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
16198
0c33dd17
MA
161992011-06-04 Michael Albinus <michael.albinus@gmx.de>
16200
16201 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
16202 "SunOS 5.10".
16203
f8f91c2b
MA
162042011-06-04 Michael Albinus <michael.albinus@gmx.de>
16205
16206 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
16207 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
16208 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
16209 (tramp-parse-putty):
16210 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
16211 (tramp-completion-function-alist-ssh)
16212 (tramp-completion-function-alist-telnet)
16213 (tramp-completion-function-alist-su)
16214 (tramp-completion-function-alist-putty): Set `tramp-autoload'
16215 cookie.
16216
16217 * net/tramp-ftp.el:
16218 * net/tramp-sh.el:
16219 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
16220 load "tramp.el" `tramp-set-completion-function'.
16221
e17d9003
SM
162222011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
16223
16224 * shell.el: Require and use pcomplete.
16225 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
16226 (shell-completion-vars): Set pcomplete-default-completion-function.
16227
6c4cab03
DD
162282011-06-04 Deniz Dogan <deniz@dogan.se>
16229
16230 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
16231 `memq' (Bug#8799).
16232
ea9fafe0
SM
162332011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
16234
16235 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
16236
b3e945d3
JB
162372011-06-02 Juanma Barranquero <lekktu@gmail.com>
16238
16239 * bs.el (bs--mark-unmark, bs--nth-wrapper):
16240 * mpc.el (mpc-select-extend, mpc-songpointer-context):
16241 * vc/log-view.el (log-view-beginning-of-defun):
16242 * vc/smerge-mode.el (smerge-apply-resolution-patch)
16243 (smerge-refine-forward, smerge-refine-chopup-region):
16244 Silence warning for unused `dotimes' counter variables.
16245
7d520089
SM
162462011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
16247
16248 * net/tramp.el (tramp-with-progress-reporter): Rename from
16249 with-progress-reporter. Use `declare'.
16250 * net/tramp-smb.el:
16251 * net/tramp-sh.el:
16252 * net/tramp-gvfs.el: Update all uses.
16253
a1c2400f
JB
162542011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
16255
16256 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
16257 buffer isn't killed before making it current.
16258
2403c841
SM
162592011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
16260
16261 Silence various byte-compiler warnings.
16262 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
16263 `access-type' and new obsolescence format.
16264 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
16265 new format.
16266 (byte-compile-check-variable): New `access-type' argument.
16267 Only warn if the access-type is obsolete.
16268 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
16269 (byte-compile-variable-set): Adjust callers.
16270 * help-fns.el (describe-variable): Adjust to new obsolescence format.
16271 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
16272 setting it as obsolete.
16273 * simple.el (minibuffer-completing-symbol):
16274 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
16275 access as obsolete.
16276 * minibuffer.el (minibuffer-completing-file-name): Don't make it
16277 obsolete yet.
16278 * international/quail.el (quail-mouse-choose-completion): Remove unused
16279 code referring to obsolete var.
16280 (quail-choose-completion-string): Remove.
16281 * server.el (server-clients-with, server-kill-buffer-query-function)
16282 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
16283 * proced.el (proced-send-signal):
16284 * emacs-lisp/lisp.el (lisp-complete-symbol):
16285 Replace completion-annotate-function with completion-extra-properties.
16286
2462470b
SM
162872011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
16288
fb5b2591
SM
16289 * simple.el (goto-line): Use read-number.
16290 (overriding-map-is-bound): Remove.
16291 (saved-overriding-map): Change default.
16292 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
16293 Take the map as argument.
16294 (universal-argument, negative-argument, digit-argument): Use it.
16295 (restore-overriding-map): Adjust.
16296 (do-auto-fill): Use fill-forward-paragraph.
16297 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
16298
fd6fa53f
SM
16299 * minibuffer.el (minibuffer-inactive-mode-map): New var.
16300 (minibuffer-inactive-mode): New major mode.
16301 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
16302 the *Messages* buffer" hack.
16303 (mouse-popup-menubar): Don't burp if the event is a normal key.
16304
2462470b
SM
16305 Miscellaneous tweaks.
16306 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
16307 lexical scoping as in subr.el's dolist and dotimes.
16308 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
16309 Silence compiler warning.
16310 * thingatpt.el (forward-whitespace): Trivial coding style fix.
16311 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
16312 * international/ccl.el (ccl-compile): Trivial simplification.
16313 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
16314 * emacs-lisp/testcover.el (testcover-end): Remove spurious
16315 `printflag' argument.
16316 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
16317 Purecopy the whole obsolescence data.
16318
108bf785
LL
163192011-06-01 Leo Liu <sdl.web@gmail.com>
16320
16321 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
16322 improve doc-string as suggested by Marco Pessotto
16323 <melmothx@gmail.com>.
16324 (rcirc-print): Fix last change.
16325
30a23501
SM
163262011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
16327
16328 * minibuffer.el (complete-with-action): Return nil for the metadata and
16329 boundaries of non-functional tables.
16330 (completion-table-dynamic): Return nil for the metadata.
16331 (completion-table-with-terminator): Add default case, using
16332 complete-with-action.
16333 (completion--metadata): New function.
16334 (completion-all-sorted-completions, minibuffer-completion-help): Use it
16335 to try and avoid pathological performance problems.
16336 (completion--embedded-envvar-table): Return `category' metadata.
16337
bcd54f83
LMI
163382011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
16339
16340 * subr.el (process-alive-p): New tiny convenience function.
16341
e227544d
SM
163422011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
16343
16344 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
16345 content but also its previous major mode.
16346
e8296fdc
HE
163472011-05-31 Helmut Eller <eller.helmut@gmail.com>
16348
4d61f28d 16349 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
16350 *Backtrace* buffer when we exit with C-M-c.
16351
620c53a6
SM
163522011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
16353
16354 * minibuffer.el: Add metadata method to completion tables.
16355 (completion-category-overrides): New defcustom.
16356 (completion-metadata, completion--field-metadata)
16357 (completion-metadata-get, completion--styles)
16358 (completion--cycle-threshold): New functions.
16359 (completion-try-completion, completion-all-completions):
16360 Add `metadata' argument to choose completion-styles.
16361 (completion--do-completion): Use metadata to choose cycling.
16362 (completion-all-sorted-completions): Use metadata for sorting.
16363 Remove :completion-cycle-penalty which is not needed any more.
16364 (completion--try-word-completion): Add `metadata' argument.
16365 (minibuffer-completion-help): Check metadata for annotation function
16366 and sorting.
16367 (completion-file-name-table): Return `category' metadata.
16368 (minibuffer-completing-file-name): Make obsolete.
16369 * simple.el (minibuffer-completing-symbol): Make obsolete.
16370 * icomplete.el (icomplete-completions): Pass new `metadata' param to
16371 completion-try-completion.
16372
1257e755
SM
163732011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
16374
16375 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
16376
3767e706
LL
163772011-05-30 Leo Liu <sdl.web@gmail.com>
16378
16379 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
16380 (rcirc-print): Decode all incoming messages (bug#8744).
16381 (rcirc-decode-coding-system): Allow value nil for automatic coding
16382 system detection.
3767e706 16383
d1a5d56a
GM
163842011-06-01 Glenn Morris <rgm@gnu.org>
16385
16386 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
16387
e8cbec34
CY
163882011-05-29 Chong Yidong <cyd@stupidchicken.com>
16389
16390 * image.el (image-animate-max-time): Allow nil and t values.
16391 Default to nil.
16392 (create-animated-image): Doc fix.
16393 (image-animate-start): Remove second arg; just use
16394 image-animate-max-time.
16395 (image-animate-timeout): Doc fix. Args changed.
16396
16397 * image-mode.el (image-toggle-display-image): Ensure that the
16398 image spec passed to the animate timer is the same object as in
58179cce 16399 the buffer's display property (Bug#6981).
e8cbec34
CY
16400 (image-transform-properties): Doc fix.
16401
16402 * image.el (image-animate-max-time): Default to nil.
16403
159daf87
MR
164042011-05-29 Martin Rudalics <rudalics@gmx.at>
16405
16406 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
16407 entire buffer list (Bug#8184).
16408
d66c4c7c
CY
164092011-05-29 Chong Yidong <cyd@stupidchicken.com>
16410
16411 * image.el (imagemagick-types-inhibit)
16412 (imagemagick-register-types): Doc fix.
16413
80aec780
DD
164142011-05-29 Deniz Dogan <deniz@dogan.se>
16415
16416 * net/rcirc.el (rcirc): Use the user's stored encryption method by
16417 default.
16418
1dd3c2d9
CY
164192011-05-29 Chong Yidong <cyd@stupidchicken.com>
16420
16421 * select.el: Don't perform clipboard-manager saving in hooks;
16422 leave the hooks empty.
16423
60e56523
LL
164242011-05-28 Leo Liu <sdl.web@gmail.com>
16425
16426 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
16427 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
16428 (occur-edit-mode): New major mode (Bug#8463).
16429 (occur-after-change-function): New function.
16430 (occur-engine): Give Occur tags a read-only property.
16431
2b1e1a22
KR
164322011-05-28 Kevin Ryde <user42@zip.com.au>
16433
16434 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
16435
5d344e88
CY
164362011-05-28 Chong Yidong <cyd@stupidchicken.com>
16437
8e6ca83d
CY
16438 * bindings.el (help-echo): Make the initial non-indicator dash
16439 empty on graphical terminals (Bug#7295).
16440
5d344e88
CY
16441 * files.el (auto-mode-alist): Move config rule after the
16442 in-stripping one (Bug#8547).
16443
bfbbace7
CY
16444 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
16445
fbeba6e2
CY
16446 * startup.el (normal-splash-screen): Remove gratuitous mode-line
16447 setting (Bug#8740).
16448
60ed8c72
AA
164492011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
16450
4ac619f0
AA
16451 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
16452 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
16453 (Bug#8539).
60ed8c72 16454
23db196e
CY
164552011-05-28 Chong Yidong <cyd@stupidchicken.com>
16456
16457 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
16458
5012f24c
DK
164592011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
16460
16461 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
16462 (hs-hide-block-at-point, hs-find-block-beginning)
16463 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
16464 (Bug#8279).
16465
6a639b16
GM
164662011-05-28 Glenn Morris <rgm@gnu.org>
16467
16468 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
16469
d43eaf2c
CY
164702011-05-28 Chong Yidong <cyd@stupidchicken.com>
16471
5199bde1
CY
16472 * help-fns.el (describe-function-1): If the function is a derived
16473 major mode, print the parent mode.
16474
d43eaf2c
CY
16475 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
16476 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
16477
423428a8
SM
164782011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
16479
0ff8e1ba 16480 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 16481 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
16482 * progmodes/etags.el (tags-completion-at-point-function):
16483 * info-look.el (info-lookup-completions-at-point): Mark as
16484 non-exclusive.
16485 (info-complete): Adjust accordingly.
16486
423428a8
SM
16487 * info-look.el: Convert to lexical-binding and completion-at-point.
16488 (info-lookup-completions-at-point): New function.
16489 (info-complete): Use it and completion-in-region.
16490
b74aa22b
DA
164912011-05-28 Drew Adams <drew.adams@oracle.com>
16492
16493 * isearch.el: Let M-e start with point at the first mismatched char.
16494 (isearch-fail-pos): New function.
16495 (isearch-edit-string): Use it.
16496
66e2e71d
DK
164972011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
16498
16499 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
16500
b1890b0f 165012011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
16502
16503 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
16504 traversal functions for avl-trees.
16505 (avl-tree--stack): New struct.
16506 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
16507 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
16508 (avl-tree--do-enter): Add optional `updatefun' arg.
16509 Change return value.
eb95d01d 16510 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
16511 (avl-tree--do-delete): Add `test' and `nilflag' args.
16512 Change return value.
eb95d01d
TC
16513 (avl-tree-member): Add optional `nilflag'
16514 (avl-tree-member-p): New function.
16515 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
16516 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
16517 (avl-tree-stack-empty-p): New functions.
16518
3769ddcf
TC
16519 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
16520 avl-tree--del-balance1 and make it work both ways.
16521 (avl-tree--del-balance2): Remove.
16522 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
16523 make it work both ways.
16524 (avl-tree--enter-balance2): Remove.
16525 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
16526 New macros.
16527 (avl-tree--mapc, avl-tree-map): Add direction argument.
16528
eb95d01d 165292011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
16530
16531 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
16532
a9f737ee
CY
165332011-05-27 Chong Yidong <cyd@stupidchicken.com>
16534
16535 * select.el: Support clipboard managers with built-in function
16536 x-clipboard-manager-save, via delete-frame-functions and
16537 kill-emacs-hook.
16538 (xselect-convert-to-targets): Add MULTIPLE target to list.
16539 (xselect-convert-to-save-targets): New function.
16540
c92a1e54
KH
165412011-05-27 Kenichi Handa <handa@m17n.org>
16542
16543 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
16544 let-binding rfc2047-encode-encoded-words to nil.
16545
e145f188
GM
165462011-05-27 Glenn Morris <rgm@gnu.org>
16547
5ec8a862
GM
16548 * mail/emacsbug.el: Don't require url-util.
16549
4b29d9fb
GM
16550 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
16551
e145f188
GM
16552 * files.el (set-auto-mode):
16553 Also respect mode: entries at the end of the file. (Bug#8586)
16554
7d15102b
GM
165552011-05-26 Glenn Morris <rgm@gnu.org>
16556
98f593b8
GM
16557 * files.el (hack-local-variables-prop-line, hack-local-variables):
16558 Downcase mode names, as seems to be traditional.
27b48e63 16559 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 16560
7d15102b
GM
16561 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
16562 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
16563
51d5b4ec
JD
165642011-05-25 Julien Danjou <julien@danjou.info>
16565
16566 * textmodes/rst.el (rst-define-level-faces): Do not define face
16567 symbol if it is already defined.
16568
91513f63
VB
165692011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
16570
16571 * play/5x5.el (5x5-new-game, 5x5-randomize):
16572 Reset 5x5-solver-output to nil when a new grid is cast.
16573 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
16574 these debugging traces, as defmacro breaks the compiled code.
16575
4d90d6d0
DK
165762011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
16577
16578 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
16579
e1b90ef6
LL
165802011-05-24 Leo Liu <sdl.web@gmail.com>
16581
16582 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
16583 (vc-bzr-sha1): Adapt.
16584
d8e4b68b 16585 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
16586
16587 * bindings.el: Provide sha1 feature.
16588
db0406bb 165892011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
16590
16591 * mail/sendmail.el: Require `rfc2047'.
16592 (mail-insert-from-field): Do not perform RFC2047 encoding.
16593 (mail-encode-header): New function.
16594 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
16595 buffer to the return value of select-message-coding-system.
16596 Call mail-encode-header.
b8d747b9
KH
16597
16598 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
16599
db0406bb 166002011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 16601
4d90d6d0
DK
16602 * mail/supercite.el (sc-default-cite-frame):
16603 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 16604
eb8a5e9b
GM
166052011-05-24 Glenn Morris <rgm@gnu.org>
16606
f8630703
GM
16607 * progmodes/python.el (brm-menu): Declare.
16608
8831bbed
GM
16609 * emulation/viper.el (viper-set-hooks): Declare.
16610
eb8a5e9b
GM
16611 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
16612 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
16613 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
16614 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
16615 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
16616 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
16617
a2a25d24
SM
166182011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
16619
16620 Add an :exit-function for completion-at-point.
16621
16622 * minibuffer.el (completion--done): New fun.
16623 (completion--do-completion): Use it. New arg `expect-exact'.
16624 (minibuffer-complete, minibuffer-complete-word): Don't output message,
16625 since completion--do-completion does it for us now.
16626 (minibuffer-force-complete): Use completion--done and
16627 completion--replace. Handle sole-completion case with more care.
16628 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
16629 (completion-extra-properties): New var.
16630 (completion-annotate-function): Make obsolete.
16631 (minibuffer-completion-help): Adjust accordingly.
16632 Use completion-list-insert-choice-function.
16633 (completion-at-point, completion-help-at-point):
16634 Bind completion-extra-properties.
16635 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
16636 * simple.el (completion-list-insert-choice-function): New var.
16637 (completion-setup-function): Preserve it.
16638 (choose-completion): Pay attention to it, shuffle the code a bit.
16639 (choose-completion-string): New arg `insert-function'.
16640
16641 * textmodes/bibtex.el: Convert to lexical binding.
16642 (bibtex-mode-map): Use completion-at-point.
16643 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
16644 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
16645 (bibtex-complete): Define as obsolete alias.
16646 (bibtex-complete-internal): Remove.
16647 (bibtex-format-entry): Remove unused sub-group in regexp.
16648 * shell.el (shell--command-completion-data)
16649 (shell-environment-variable-completion):
16650 * pcomplete.el (pcomplete-completions-at-point):
16651 * comint.el (comint--complete-file-name-data): Use :exit-function
16652 instead of completion-table-with-terminator so it also works for
16653 choose-completion.
16654
e44e373d
SM
166552011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
16656
4f91a816
SM
16657 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
16658
782fc819
SM
16659 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
16660 (bug#8710).
16661
e44e373d
SM
16662 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
16663
381987c3
KM
166642011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
16665
16666 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
16667 customization variable and implement: If non-nil, auto-fill will
16668 be inhibited while on topic's header line.
16669
b776bc70
VB
166702011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
16671
16672 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 16673 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
16674 always have a solution in grid size = 5 cases.
16675 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
16676 (5x5-solver-output, 5x5-log-buffer): New vars.
16677 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
16678 Make these variables buffer local to achieve 5x5 multi-session-ness.
16679 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
16680 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
16681 (5x5-solve-suggest): New funs.
16682 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
16683 randomize a grid so that we ensure that there is always a solution.
16684 (5x5-make-random-grid): Allow other movement than flipping.
16685
7de88b6e
KR
166862011-05-23 Kevin Ryde <user42@zip.com.au>
16687
16688 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 16689 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
16690 advice and passes PREDICATE.
16691
b1ef1257
SM
166922011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
16693
bbca48fe
SM
16694 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
16695 byte-compile-lambda if it's actually a lambda.
16696
b1ef1257
SM
16697 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
16698 Fix function quoting. Use backquote better.
16699
92a9cc65
YS
167002011-05-22 Yuanle Song <sylecn@gmail.com>
16701
16702 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
16703 matching (Bug#8516).
16704
f0fb8059
JA
167052011-01-22 Jari Aalto <jari.aalto@cante.net>
16706
16707 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
16708 different face (Bug#8178).
16709
d5b44c93
CY
167102011-05-22 Chong Yidong <cyd@stupidchicken.com>
16711
16712 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
16713 defface (Bug#8144).
16714
79106a44
SM
167152011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
16716
9c848d8a
SM
16717 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
16718 funcall as well (bug#8712). Warn when performing those conversions.
16719 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
16720
79106a44
SM
16721 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
16722
88dfa756
GM
167232011-05-22 Glenn Morris <rgm@gnu.org>
16724
16725 * files.el (hack-local-variables-prop-line): Small simplifications.
16726 (hack-local-variables, hack-local-variables-prop-line):
16727 If MODE-ONLY, return the mode, rather than just `t'.
16728
b7cf2c79
SM
167292011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
16730
16731 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
16732
3f1a8558
GM
167332011-05-21 Glenn Morris <rgm@gnu.org>
16734
7e4ccca3
GM
16735 * files.el (hack-local-variables-prop-line, hack-local-variables):
16736 If only interested in the mode, don't bother doing the other stuff.
16737
637d46ca
GM
16738 * image-mode.el (image-after-revert-hook):
16739 Redraw all frames on which the image is visible. (Bug#8567)
16740
973d955b
GM
16741 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
16742
3f1a8558
GM
16743 * wid-edit.el (widget-checklist-match-inline):
16744 Fix 2011-04-19 change. (Bug#8649)
16745
96479927
SM
167462011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
16747
1dcf791f
SM
16748 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
16749 Also allow singlespace after single-letter capitals followed by a dot.
16750
96479927
SM
16751 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
16752 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
16753
35fd0881
N
167542011-05-20 Nix <nix@esperi.org.uk>
16755
16756 * files.el (basic-save-buffer-2):
16757 Fix handling of break-hardlink-on-save with non-existent files.
16758
82745640
DD
167592011-05-19 Deniz Dogan <deniz@dogan.se>
16760
16761 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 16762 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 16763
4a720484
GM
167642011-05-19 Glenn Morris <rgm@gnu.org>
16765
d1f21341
GM
16766 * progmodes/f90.el (f90-type-def-re):
16767 Handle "type, bind(c)". (Bug#8691)
16768
4a720484
GM
16769 * emacs-lisp/autoload.el (batch-update-autoloads):
16770 Set autoload-excludes by parsing loadup.el rather than Makefiles.
16771
2fb0a219
MA
167722011-05-18 Michael Albinus <michael.albinus@gmx.de>
16773
16774 * net/tramp.el (tramp-process-actions): Set "first-password-request"
16775 property for the correct connection in case of multihops.
16776
e565dd37
GM
167772011-05-18 Glenn Morris <rgm@gnu.org>
16778
c2571358 16779 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
16780 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
16781
e565dd37
GM
16782 Rationalize calendar handling of day and month abbrev-arrays.
16783 * calendar/calendar.el (calendar-customized-p): New function.
16784 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
16785 (calendar-day-name-array, calendar-month-name-array): Doc fix.
16786 Add :set function.
16787 (calendar-abbrev-length, calendar-day-abbrev-array)
16788 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
16789 (calendar-day-abbrev-array, calendar-month-abbrev-array):
16790 Elements may no longer be nil.
16791 (calendar-day-name, calendar-month-name):
16792 Update for changed nature of abbrev arrays.
16793 * calendar/diary-lib.el (diary-name-pattern):
16794 Update for changed nature of abbrev arrays.
16795 (diary-mark-entries-1): Update calendar-make-alist calls.
16796 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
16797 * calendar/cal-html.el (cal-html-day-abbrev-array):
16798 Simply inherit from calendar-day-abbrev-array.
16799
1d99a745
SM
168002011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
16801
16802 * progmodes/grep.el (grep-mode): Disable default
16803 compilation-directory-matcher setting (bug#8684).
16804
7c1d9aa0
MA
168052011-05-17 Michael Albinus <michael.albinus@gmx.de>
16806
16807 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
16808 instead of "head" and "tail". There were problems with SunOS 5.9,
16809 and it performs better.
16810
3952e9d8
GM
168112011-05-17 Glenn Morris <rgm@gnu.org>
16812
2dd12e7f
GM
16813 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
16814
e4157b9c
GM
16815 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
16816 Replace obsolete function.
16817
8e249bbd
GM
16818 * shell.el (pcomplete-parse-arguments-function): Declare.
16819
3952e9d8
GM
16820 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
16821 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
16822 (appt-check): Doc fixes.
16823 (appt-disp-window-function, appt-delete-window-function):
16824 Remove needless special case in custom :type.
16825 (appt-display-count): Default to 0, not nil.
16826 (appt-check): Reset appt-display-count to 0, not nil.
16827
c71a0d48 168282011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 16829
c71a0d48
GM
16830 * progmodes/python.el (python-font-lock-keywords):
16831 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 16832
31d55be9
SM
168332011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
16834
16835 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
16836
3bfacb2f
KR
168372011-05-16 Kevin Ryde <user42@zip.com.au>
16838
16839 * info-look.el (makefile-automake-mode): New setups, looking in
16840 automake manual, then makefile-mode.
16841 (makefile-mode): Remove automake manual, have it just in
16842 makefile-automake-mode since there's various things different or
16843 not relevant to plain make.
16844 (makefile-mode): Remove "other-modes" non-existent automake-mode,
16845 believe a hypothetical automake-mode would go to makefile-mode,
16846 not the other way around.
16847
c8e83751
CY
168482011-05-15 Chong Yidong <cyd@stupidchicken.com>
16849
5e9e35cd
CY
16850 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
16851 hunk-end tags (Bug#8672).
16852
c8e83751
CY
16853 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
16854 vc-annotate-show-diff-revision-at-line (Bug#8671).
16855
50b23e5a
GM
168562011-05-14 Glenn Morris <rgm@gnu.org>
16857
7210a739
GM
16858 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
16859 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
16860 (change-log-font-lock-keywords): Also handle multiple author lines
16861 with leading tabs. (Bug#8644)
7210a739 16862
4691905a
GM
16863 * calendar/appt.el (appt-check): Rename some local variables.
16864 Some simplification/reordering.
16865
50b23e5a
GM
16866 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
16867 (feedmail-sendmail-f-doesnt-sell-me-out)
16868 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
16869 (feedmail-debug-sit-for, feedmail-queue-express-hook)
16870 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
16871 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
16872 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
16873 (feedmail-binmail-gnulinuxish-template):
16874 Rename from feedmail-binmail-linuxish-template.
16875 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
16876 Use insert-buffer-substring.
16877
215cda7c
BC
168782011-05-14 Bill Carpenter <bill@carpenter.org>
16879
16880 * mail/feedmail.el (feedmail-patch-level): Increase.
16881 (feedmail-debug): New custom group.
16882 (feedmail-confirm-outgoing-timeout)
16883 (feedmail-sendmail-f-doesnt-sell-me-out)
16884 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
16885 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
16886 (feedmail-sender-line, feedmail-from-line)
16887 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 16888 (feedmail-spray-this-address)
215cda7c
BC
16889 (feedmail-spray-address-fiddle-plex-list)
16890 (feedmail-queue-use-send-time-for-date)
16891 (feedmail-queue-use-send-time-for-message-id)
16892 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
16893 (feedmail-buffer-eating-function):
16894 Doc fixes.
16895 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
16896 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
16897 (feedmail-message-action-scroll-down): New functions.
16898 (feedmail-queue-directory, feedmail-queue-draft-directory):
16899 Use expand-file-name.
16900 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
16901 Remove C-v help entry.
16902 (feedmail-queue-buffer-file-name): New variable.
16903 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
16904 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
16905 (feedmail-message-action-send-strong, feedmail-message-action-edit)
16906 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
16907 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
16908 (feedmail-message-action-toggle-spray)
16909 (feedmail-run-the-queue-no-prompts)
16910 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
16911 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
16912 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
16913 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
16914 (feedmail-envelope-deducer, feedmail-fiddle-from)
16915 (feedmail-fiddle-sender, feedmail-default-date-generator)
16916 (feedmail-fiddle-date, feedmail-fiddle-message-id)
16917 (feedmail-fiddle-spray-address)
16918 (feedmail-fiddle-list-of-spray-fiddle-plexes)
16919 (feedmail-fiddle-list-of-fiddle-plexes)
16920 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
16921 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
16922 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
16923 Change default. Doc fix.
16924 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
16925 (feedmail-binmail-linuxish-template): New constant.
16926 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
16927 Respect feedmail-sendmail-f-doesnt-sell-me-out.
16928 (feedmail-send-it): Add debug call.
16929 Use feedmail-queue-buffer-file-name, and
16930 feedmail-send-it-immediately-wrapper.
16931 (feedmail-message-action-send): Add debug call.
16932 Use feedmail-send-it-immediately-wrapper.
16933 (feedmail-queue-express-to-queue): Add debug call.
16934 Run feedmail-queue-express-hook.
16935 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
16936 (feedmail-message-action-help-blat):
16937 Rename from feedmail-queue-send-edit-prompt-help-first.
16938 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
16939 Check line-endings. Handle errors better.
16940 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
16941 Doc fix. Add debug call.
16942 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
16943 Use feedmail-queue-send-edit-prompt-inner.
16944 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
16945 (feedmail-queue-send-edit-prompt-inner): New function, extracted
16946 from feedmail-queue-send-edit-prompt.
16947 (feedmail-queue-send-edit-prompt-help)
16948 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
16949 (feedmail-tidy-up-slug): Add debug call.
16950 Respect feedmail-queue-slug-suspect-regexp.
16951 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
16952 (feedmail-dump-message-to-queue): Add debug call.
16953 Expand queue-directory.
16954 (feedmail-dump-message-to-queue): Change message slightly.
16955 Use feedmail-say-chatter.
16956 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
16957 (feedmail-send-it-immediately-wrapper): New function.
16958 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
16959 Insert empty string rather than newline. Handle full-frame case.
16960 Use catch/throw. Use feedmail-say-chatter.
16961 (feedmail-fiddle-from): Try mail-host-address.
16962 (feedmail-default-message-id-generator): Doc fix.
16963 Bind system-time-locale. Handle missing end.
16964 (feedmail-fiddle-x-mailer): Add debug call.
16965 Handle feedmail-x-mailer-line being nil.
16966 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
16967 Add debug call. Use buffer-substring-no-properties.
16968 (feedmail-say-debug, feedmail-say-chatter): New functions.
16969 (feedmail-find-eoh): Give an explicit error.
16970
42c7e61e
UJ
169712011-05-13 Ulf Jasper <ulf.jasper@web.de>
16972
c2571358 16973 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 16974 family from helvetica to sans.
c2571358 16975 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
16976 etc/images/newsticker.
16977
c2571358 16978 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
16979 family from helvetica to sans.
16980
16981 * net/newst-plainview.el (newsticker-new-item-face)
16982 (newsticker-old-item-face, newsticker-immortal-item-face)
16983 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 16984 (newsticker-statistics-face): Change default family from
42c7e61e 16985 helvetica to sans.
c2571358 16986 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
16987 etc/images/newsticker.
16988
5d3385a0
JB
16989 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
16990 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
16991 auto-marking.
16992
8497a297
DV
169932011-05-13 Didier Verna <didier@xemacs.org>
16994
16995 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
16996 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
16997 TODO entries.
8497a297
DV
16998 (lisp-lambda-list-keyword-parameter-indentation)
16999 (lisp-lambda-list-keyword-parameter-alignment)
17000 (lisp-lambda-list-keyword-alignment): New customizable user options.
17001 (lisp-indent-defun-method): Improve docstring.
17002 (extended-loop-p): Fix comment.
17003 (lisp-indent-lambda-list-keywords-regexp): New variable.
17004 (lisp-indent-lambda-list): New function.
17005 (lisp-indent-259): Use it.
17006 (lisp-indent-defmethod): Support for more than one
17007 method qualifier and properly indent methods lambda-lists.
17008 (defgeneric): Provide a missing common-lisp-indent-function property.
17009
f278f87f
SM
170102011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
17011
17012 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
17013 bounds for the empty string (bug#8667).
17014
5233edd7
GM
170152011-05-13 Glenn Morris <rgm@gnu.org>
17016
5237a44f
GM
17017 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
17018
8340026c 17019 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 17020 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 17021
5233edd7 17022 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 17023 (appt-time-msg-list): Doc fix.
a5464014 17024 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 17025
92d10796
AS
170262011-05-12 Andreas Schwab <schwab@linux-m68k.org>
17027
17028 * progmodes/ld-script.el (ld-script-keywords)
17029 (ld-script-builtins): Update keywords list.
17030
914a0ae1
SM
170312011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
17032
c89be45f
SM
17033 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
17034
914a0ae1
SM
17035 * shell.el (shell-completion-vars): New function.
17036 (shell-mode):
17037 * simple.el (read-shell-command): Use it.
17038 (blink-matching-open): No need for " [...]" in minibuffer-message.
17039
98dc3df3
GM
170402011-05-12 Glenn Morris <rgm@gnu.org>
17041
17042 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
17043 (appt-check): Simplify.
17044
d2fc7e3d 170452011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 17046
4d61f28d 17047 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
17048 literal "/dev/null".
17049
d2fc7e3d 170502011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
17051
17052 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
17053 Fix typo.
17054
d2fc7e3d 170552011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 17056
3f254caa
SM
17057 * progmodes/which-func.el (which-function):
17058 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
17059 which might not be defined (Bug#8260).
17060
d45885f7
GM
170612011-05-12 Glenn Morris <rgm@gnu.org>
17062
17063 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
17064 Let byte-compile-initial-macro-environment always take precedence.
17065
488086f4
SM
170662011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
17067
17068 * net/rcirc.el: Add support for SSL/TLS connections.
17069 (rcirc-server-alist): New field `encryption'.
17070 (rcirc): Check `encryption' settings.
17071 (rcirc-connect): New arg `encryption'. Use open-network-stream.
17072 Merge make-local-variable into `set'.
17073 (rcirc--connection-open-p): New function.
17074 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
17075 the process is not a network process (e.g. running gnutls-cli).
17076 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
17077 Make rcirc-(en|de)code-coding-system local here.
17078 (rcirc-mode): Merge make-local-variable into `set'.
17079 (rcirc-parent-buffer): Make permanent buffer-local.
17080 (rcirc-multiline-minor-mode): Don't do it here.
17081 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
17082 there's no server buffer.
17083
7d3b9d44
GM
170842011-05-11 Glenn Morris <rgm@gnu.org>
17085
f64049c6
GM
17086 * newcomment.el (comment-kill): Prefix "unused" local.
17087
93c9df73
GM
17088 * term/w32console.el (get-screen-color): Declare.
17089
7d3b9d44
GM
17090 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
17091 Handle symbol elements of byte-compile-initial-macro-environment.
17092
9e2dd53f
LL
170932011-05-10 Leo Liu <sdl.web@gmail.com>
17094
488086f4
SM
17095 * bookmark.el (bookmark-bmenu-mode-map):
17096 Bind bookmark-bmenu-search to `/'.
8b340240 17097
9e2dd53f 17098 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
17099 (footnote-unicode-string, footnote-unicode-regexp): New variable.
17100 (Footnote-unicode): New function.
17101 (footnote-style-alist): Add unicode style to the list.
17102 (footnote-style): Doc fix.
9e2dd53f 17103
79b70037
GM
171042011-05-10 Jim Meyering <meyering@redhat.com>
17105
17106 Fix doubled-word typos.
17107 * international/quail.el (quail-insert-kbd-layout): and and -> and
17108 * kermit.el: and and -> and
17109 * net/ldap.el (ldap-search-internal): to to -> to
17110 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
17111 * progmodes/js.el (js-mode): and and -> and
17112 * textmodes/artist.el (artist-move-to-xy): at at -> at
17113 (artist-draw-region-trim-line-endings): if if -> if
17114 And Safetyc -> Safety.
17115 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
17116
b8f82dc1 171172011-05-10 Glenn Morris <rgm@gnu.org>
f1a71c6e 17118 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
17119
17120 * files.el (hack-one-local-variable-eval-safep):
17121 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
17122
4f99f44b
GM
171232011-05-10 Glenn Morris <rgm@gnu.org>
17124
17125 * calendar/diary-lib.el (diary-list-entries-hook)
17126 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
17127 (diary-nongregorian-marking-hook, diary-list-entries)
17128 (diary-include-other-diary-files, diary-mark-entries)
17129 (diary-mark-included-diary-files): Doc fixes.
17130
84f29e6b
JB
171312011-05-09 Juanma Barranquero <lekktu@gmail.com>
17132
17133 * misc.el: Require tabulated-list.el during compilation.
17134
9bedd73a
CY
171352011-05-09 Chong Yidong <cyd@stupidchicken.com>
17136
488086f4
SM
17137 * progmodes/compile.el (compilation-start):
17138 Run compilation-filter-hook for the async case too.
9bedd73a
CY
17139 (compilation-filter-hook): Doc fix.
17140
797c735c
DD
171412011-05-09 Deniz Dogan <deniz@dogan.se>
17142
17143 * wdired.el: Remove outdated installation comment. Fix usage
17144 comment.
17145
5f4b1dfe
JB
171462011-05-09 Juanma Barranquero <lekktu@gmail.com>
17147
17148 * misc.el: Implement new command `list-dynamic-libraries'.
17149 (list-dynamic-libraries--loaded-only-p): New variable.
17150 (list-dynamic-libraries--refresh): New function.
17151 (list-dynamic-libraries): New command.
17152
4c44026c
CY
171532011-05-09 Chong Yidong <cyd@stupidchicken.com>
17154
488086f4
SM
17155 * progmodes/compile.el (compilation-error-regexp-alist-alist):
17156 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
17157 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
17158 higher priority to avoid clobbering by gnu.
17159
027f966d
CY
171602011-05-08 Chong Yidong <cyd@stupidchicken.com>
17161
17162 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
17163 if the face has existing theme settings (Bug#8454).
17164
085f5d7d
CY
171652011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
17166
488086f4
SM
17167 * progmodes/perl-mode.el (perl-imenu-generic-expression):
17168 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 17169
2a86a00c
RS
17170 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
17171 special file names `.' and `..' (Bug#8259).
17172
d9c54a06
CY
171732011-05-08 Chong Yidong <cyd@stupidchicken.com>
17174
488086f4
SM
17175 * progmodes/grep.el (grep-mode-font-lock-keywords):
17176 Remove buffer-changing entries.
d9c54a06
CY
17177 (grep-filter): New function.
17178 (grep-mode): Add it to compilation-filter-hook.
17179
17180 * progmodes/compile.el (compilation-filter-hook)
17181 (compilation-filter-start): New defvars.
17182 (compilation-filter): Call compilation-filter-hook prior to
17183 updating the process mark.
17184
c4662635
SM
171852011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
17186
17187 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
17188
b0512a1d
EZ
171892011-05-07 Eli Zaretskii <eliz@gnu.org>
17190
605c9376
EZ
17191 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
17192 mailclient-send-it even if window-system is nil. (Bug#8595)
17193
c4662635
SM
17194 * term/w32console.el (terminal-init-w32console):
17195 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
17196 background-mode. (Bug#8597)
17197
d1dc2cc2
SM
171982011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
17199
17200 Make bytecomp.el understand that defmethod defines funs (bug#8631).
17201 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
17202 New functions.
17203 (defgeneric, eieio--defmethod): Use them.
17204 (eieio-defgeneric): Remove.
17205 (defmethod): Call defgeneric in a way visible to the byte-compiler.
17206
915d1300
GM
172072011-05-07 Glenn Morris <rgm@gnu.org>
17208
a3961c3e
GM
17209 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
17210 Use let rather than let*.
17211 (timeclock-find-discrep): Remove unused local.
17212
314347b9
GM
17213 * calendar/diary-lib.el (diary-comment-start): Doc fix.
17214
915d1300
GM
17215 * calendar/appt.el (appt-time-msg-list): Doc fix.
17216
275b59b0
NF
172172011-05-06 Noah Friedman <friedman@splode.com>
17218
17219 * apropos.el (apropos-print-doc): Only use
17220 emacs-lisp-docstring-fill-column when it is bound to an integer,
17221 per that variable's documentation.
17222
6c19f744
SM
172232011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
17224
17225 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 17226 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 17227
60f884b2
GM
172282011-05-06 Glenn Morris <rgm@gnu.org>
17229
5006e634
GM
17230 * calendar/appt.el (appt-message-warning-time): Doc fix.
17231 (appt-warning-time-regexp): New option.
17232 (appt-make-list): Respect appt-message-warning-time.
17233
548d0a63
GM
17234 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
17235 New options.
17236 (diary-add-to-list): Strip comments from the displayed string.
17237 (diary-mode): Set comment-start and comment-end.
17238
60f884b2
GM
17239 * vc/diff-mode.el (smerge-refine-subst): Declare.
17240 (diff-refine-hunk): Don't require smerge-mode when compiling.
17241
989681bb
JB
172422011-05-06 Juanma Barranquero <lekktu@gmail.com>
17243
17244 * simple.el (list-processes): Return nil as the docstring says.
17245
a6bc05e1
MA
172462011-05-05 Michael Albinus <michael.albinus@gmx.de>
17247
17248 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
17249 to "".
17250 (ange-ftp-write-region, ange-ftp-insert-file-contents)
17251 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
17252 determining of binary transfer. (Bug#7383)
17253
23c22e9a
MA
172542011-05-05 Michael Albinus <michael.albinus@gmx.de>
17255
c4662635
SM
17256 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
17257 Fix port computation bug. (Bug#8618)
23c22e9a 17258
0bff894f
GM
172592011-05-05 Glenn Morris <rgm@gnu.org>
17260
b8296902
GM
17261 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
17262
1f522ce8
GM
17263 * simple.el (shell-dynamic-complete-functions)
17264 (comint-dynamic-complete-functions): Declare.
17265
cf5bee67
GM
17266 * net/network-stream.el (gnutls-negotiate):
17267 * simple.el (tabulated-list-print): Fix declarations.
17268
17269 * progmodes/gud.el (syntax-symbol, syntax-point):
17270 Remove unnecessary and incorrect declarations.
17271
0bff894f
GM
17272 * emacs-lisp/check-declare.el (check-declare-scan):
17273 Handle byte-compile-initial-macro-environment in bytecomp.el
17274
9869b3ae
SM
172752011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
17276
17277 Fix earlier half-done eieio-defmethod change (bug#8338).
17278 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
17279 Streamline and change calling convention.
17280 (defmethod): Adjust accordingly and simplify.
17281 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
17282 new eieio--defmethod.
17283 (slot-boundp): Minor CSE simplification.
17284
9c1d5ac5
MZ
172852011-05-05 Milan Zamazal <pdm@zamazal.org>
17286
17287 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
17288 (glasses-make-readable): Use glasses-separate-capital-groups.
17289
455c834e
JB
172902011-05-05 Juanma Barranquero <lekktu@gmail.com>
17291
17292 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
17293 (warning-series): Doc fix.
17294 (display-warning): Don't try to create the buffer if we just found it.
17295
9ed7c8cb
CY
172962011-05-04 Chong Yidong <cyd@stupidchicken.com>
17297
17298 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
17299 (autoload-find-generated-file): New function.
17300 (generate-file-autoloads): Bind generated-autoload-file to
17301 buffer-file-name.
9869b3ae
SM
17302 (update-file-autoloads, update-directory-autoloads):
17303 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
17304 output file (Bug#7989).
17305 (batch-update-autoloads): Doc fix.
17306
0898ca10
JB
173072011-05-04 Juanma Barranquero <lekktu@gmail.com>
17308
17309 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
17310
31dfb76c
GM
173112011-05-04 Glenn Morris <rgm@gnu.org>
17312
f330b642
GM
17313 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
17314 function, so it follows changes in calendar-date-style.
17315 (diary-fancy-date-matcher): New function.
17316 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
17317 (diary-fancy-font-lock-fontify-region-function):
17318 Use diary-fancy-date-pattern as a function.
17319
31dfb76c
GM
17320 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
17321 non-numbers for `year' etc pseudo-variables. (Bug#8583)
17322
48e79d6a
TZ
173232011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
17324
17325 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
17326 instead of positional arguments. Allow :keylist and :crlfiles
17327 arguments.
17328 (open-gnutls-stream): Call it.
17329
17330 * net/network-stream.el (network-stream-open-starttls): Adjust to
17331 call `gnutls-negotiate' with :process and :hostname arguments.
17332
dd5a5ee0
SM
173332011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
17334
ef80fc09
SM
17335 * minibuffer.el (completion--message): New function.
17336 (completion--do-completion, minibuffer-complete)
17337 (minibuffer-force-complete, minibuffer-complete-word): Use it.
17338 (completion--do-completion): Don't ignore completion-auto-help when in
17339 icomplete-mode.
17340
dd5a5ee0
SM
17341 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
17342 internal encoding (e.g. tibetan zero is not whitespace).
17343 (global-whitespace-mode): Prefer save-current-buffer.
17344 (whitespace-trailing-regexp): Remove useless save-match-data.
17345 (whitespace-empty-at-bob-regexp): Minor simplification.
17346
b7d22a83
CY
173472011-05-03 Chong Yidong <cyd@stupidchicken.com>
17348
17349 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
17350
5192af46
AM
173512011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
17352
17353 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 17354 Use `concat' to create string for insertion.
5192af46 17355
5767d190
SM
173562011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
17357
17358 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
17359 Avoid open-line which runs post-self-insert-hook.
17360 (bibtex-fill-entry): Remove unused `end' var.
17361
bf242939
AM
173622011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
17363
5767d190
SM
17364 * textmodes/ispell.el (ispell-add-per-file-word-list):
17365 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 17366
25666126
LL
173672011-05-03 Leo Liu <sdl.web@gmail.com>
17368
17369 * isearch.el (isearch-yank-pop): New command.
5767d190 17370 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
17371 (isearch-forward): Mention it.
17372
52d3c2d0
SM
173732011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
17374
1bcace58
SM
17375 * simple.el (minibuffer-complete-shell-command): Remove.
17376 (minibuffer-local-shell-command-map): Use completion-at-point.
17377 (read-shell-command): Setup completion vars here instead.
17378 (read-expression-map): Bind TAB to symbol completion.
17379
52d3c2d0
SM
17380 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
17381 error directly rather via storing it into `results'.
17382
35813471
LL
173832011-05-02 Leo Liu <sdl.web@gmail.com>
17384
17385 * vc/diff.el: Fix description.
17386
e793a940
LMI
173872011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
17388
17389 * server.el (server-eval-at): New function.
17390
8de66e05
LMI
173912011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
17392
17393 * net/network-stream.el (open-network-stream): Take a :nowait
17394 parameter and pass it on to `make-network-process'.
17395 (network-stream-open-plain): Ditto.
17396
dcb79f20
AS
173972011-04-30 Andreas Schwab <schwab@linux-m68k.org>
17398
17399 * faces.el (face-spec-set-match-display): Don't match toolkit
17400 options on terminal frames.
17401
14a7fbd8
SM
174022011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
17403
7eabc1be
SM
17404 * progmodes/pascal.el: Use lexical binding.
17405 (pascal-mode-map): Remove author preferences.
17406
14a7fbd8
SM
17407 * pcomplete.el (pcomplete-std-complete): Don't abuse
17408 completion-at-point.
17409
50f84510
JB
174102011-04-28 Juanma Barranquero <lekktu@gmail.com>
17411
6e087a44
JB
17412 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
17413 removing code that has been dead since 1991 or so.
17414
50f84510
JB
17415 * startup.el (command-line): When warning about "_emacs", use a
17416 delayed warning to allow the user to filter it out.
17417
0ba690bd
DD
174182011-04-28 Deniz Dogan <deniz@dogan.se>
17419
17420 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
17421 user has not joined.
17422
08abfaad
SM
174232011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
17424
17425 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
17426 aren't any completions at point.
17427
638f053a
JB
174282011-04-28 Juanma Barranquero <lekktu@gmail.com>
17429
17430 * subr.el (display-delayed-warnings): New function.
17431 (delayed-warnings-hook): New variable.
17432
8fff8daa
SM
174332011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
17434
08abfaad
SM
17435 * minibuffer.el (completion-at-point, completion-help-at-point):
17436 Don't presume that a given completion-at-point-function will always
17437 use the same calling convention.
17438
8fff8daa
SM
17439 * pcomplete.el (pcomplete-completions-at-point):
17440 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
17441 pcomplete-seen is non-nil.
17442 (pcomplete-comint-setup): Also recognize the new comint/shell
17443 completion functions.
17444 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
17445 pcomplete-seen is non-nil.
17446
841a1577 174472011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 17448
841a1577 17449 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 17450 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 17451 the first character in the entry. This allows for code to add its
211ec907
UJ
17452 own uid to the entry.
17453 (icalendar--convert-float-to-ical): Add export of
17454 `diary-float'-entries save for those with the optional DAY
17455 argument.
17456
2a782793
DC
174572011-04-27 Daniel Colascione <dan.colascione@gmail.com>
17458
17459 * subr.el (shell-quote-argument): Use alternate escaping strategy
17460 when we spot a variable reference in a string.
17461
0438ce91
DC
174622011-04-26 Daniel Colascione <dan.colascione@gmail.com>
17463
17464 * cus-start.el (all): Define customization for debug-on-event.
17465
841a1577 174662011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
17467
17468 * subr.el (shell-quote-argument): Escape correctly under Windows.
17469
d090ed6c
SM
174702011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
17471
17472 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
17473
bfd31217
MA
174742011-04-25 Michael Albinus <michael.albinus@gmx.de>
17475
d090ed6c
SM
17476 * net/tramp.el (tramp-process-actions): Add POS argument.
17477 Delete region between POS and (pos).
bfd31217 17478
d090ed6c
SM
17479 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
17480 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
17481 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
17482
17483 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
17484 position in `tramp-process-actions' call.
17485
17486 * net/trampver.el: Update release number.
17487
e92f3bd3
SM
174882011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
17489
850256b5
SM
17490 * custom.el (defcustom): Obey lexical-binding.
17491
e92f3bd3
SM
17492 Fix octave-inf completion problems reported by Alexander Klimov.
17493 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
17494 Inherit from octave-mode-syntax-table.
17495 (inferior-octave-mode): Set info-lookup-mode.
17496 (inferior-octave-completion-at-point): New function.
17497 (inferior-octave-complete): Use it and completion-in-region.
17498 (inferior-octave-dynamic-complete-functions): Use it as well, and use
17499 comint-filename-completion.
17500 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
17501 symbol elements which shouldn't be word elements.
17502 (octave-font-lock-keywords, octave-beginning-of-defun)
17503 (octave-function-header-regexp): Adjust regexps accordingly.
17504 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
17505
cd22b309
JB
175062011-04-25 Juanma Barranquero <lekktu@gmail.com>
17507
17508 * net/gnutls.el (gnutls-errorp): Declare before first use.
17509
8b492194
TZ
175102011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
17511
17512 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
17513 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 17514 default trustfile exists before going to use it. Add missing
5a5fa834 17515 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
17516 Reported by Claudio Bley <claudio.bley@gmail.com>.
17517 (open-gnutls-stream): Add usage example.
17518
17519 * net/network-stream.el (network-stream-open-starttls): Give host
17520 parameter to `gnutls-negotiate'.
17521 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 17522 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 17523
841a1577 175242011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 17525
cd22b309
JB
17526 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
17527 Use correct match group (bug#8438).
05842630 17528
3ba7869c
CY
175292011-04-24 Chong Yidong <cyd@stupidchicken.com>
17530
512e3ae1
CY
17531 * emacs-lisp/package.el (package-built-in-p): Fix typo.
17532 (package-menu--generate): New arg specifying packages to show.
17533 (package-menu-refresh, package-menu-execute, list-packages):
17534 Callers changed.
17535 (package-show-package-list): New function, replacing deleted
17536 package--list-packages (renamed because it is non-internal).
17537
17538 * finder.el (finder-list-matches): Use package-show-package-list
17539 instead of deleted package--list-packages.
17540
e92f3bd3
SM
17541 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
17542 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
17543 (vc-annotate-mode-map): Bind it to RET.
17544
7031be6d
UR
175452011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
17546
17547 * progmodes/etags.el (next-file): Don't use set-buffer to change
17548 buffers (Bug#8478).
17549
4ef177aa
CY
175502011-04-24 Chong Yidong <cyd@stupidchicken.com>
17551
c8d173eb
CY
17552 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
17553
4ef177aa
CY
17554 * apropos.el (apropos-label-face): Avoid variable-pitch face.
17555 (apropos-accumulator): Doc fix.
17556 (apropos-function, apropos-macro, apropos-command)
17557 (apropos-variable, apropos-face, apropos-group, apropos-widget)
17558 (apropos-plist): Add face property.
17559 (apropos-symbols-internal): Fix indentation.
17560 (apropos-print): Simplify help, and recognize apropos-multi-type.
17561 (apropos-print-doc): Use button-type-get to extract the button's
17562 face property. Fill docstring (Bug#8352).
17563
4ffd0d6b 175642011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
17565
17566 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
17567
c6c32125 17568 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 17569 (mpuz-mode-map): Use mapc.
c6c32125
JB
17570 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
17571 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
17572 Fix typos in docstrings.
17573
58d468b4
JB
17574 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
17575 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
17576
6470c3c6
JB
17577 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
17578
4ffd0d6b 175792011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
17580
17581 * minibuffer.el (completion--do-completion): Avoid the "Next char
17582 not unique" prompt if icomplete-mode is enabled (Bug#5849).
17583
3ad8bad0
CY
17584 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
17585 mouse-2 into unread-command-events, it is interpreted correctly.
17586
71d73c9c 17587 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 17588 (image-toggle-display): Doc fix.
71d73c9c 17589
841a1577 175902011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 17591
4ffd0d6b
GM
17592 * textmodes/page.el (what-page): Use line-number-at-pos to
17593 calculate line number (Bug#6825).
6e1dbaa9 17594
c2fb1b60
JB
175952011-04-22 Juanma Barranquero <lekktu@gmail.com>
17596
17597 * eshell/esh-mode.el (find-tag-interactive): Declare function.
17598 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
17599 Pass argument NO-DEFAULT to `find-tag-interactive'.
17600
e02f48d7
JB
176012011-04-22 Juanma Barranquero <lekktu@gmail.com>
17602
17603 Lexical-binding cleanup.
17604
17605 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
17606 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
17607 * progmodes/ada-prj.el (ada-prj-initialize-values)
17608 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
17609 (ada-prj-show-value):
17610 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
17611 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
17612 (antlr-invalidate-context-cache, antlr-options-menu-filter)
17613 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
17614 * progmodes/bug-reference.el (bug-reference-push-button):
17615 * progmodes/fortran.el (fortran-line-length):
17616 * progmodes/glasses.el (glasses-change):
17617 * progmodes/octave-mod.el (octave-fill-paragraph):
17618 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
17619 (python-pdbtrack-grub-for-buffer, python-sentinel):
17620 * progmodes/sql.el (sql-save-connection):
17621 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
17622 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
17623 Mark unused parameters.
17624
17625 * progmodes/compile.el (compilation--flush-directory-cache)
17626 (compilation--flush-parse, compile-internal): Mark unused parameters.
17627 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
17628 (compilation-next-error-function): Remove unused variable `timestamp'.
17629
17630 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
17631 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
17632
17633 * progmodes/dcl-mode.el (dcl-end-of-command):
17634 Remove unused variable `start'.
17635 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
17636 (dcl-option-value-basic, dcl-option-value-offset)
17637 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
17638 Mark unused parameters.
17639 (dcl-save-local-variable): Remove unused variable `val'.
17640 (mode): Declare.
17641
17642 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
17643 Mark unused parameters.
17644 (delphi-ignore-changes): Move before first use.
17645 (delphi-charset-token-at): Remove unused variable `start'.
17646 (delphi-else-start): Remove unused variable `if-count'.
17647 (delphi-comment-block-start, delphi-comment-block-end):
17648 Remove unused variable `kind'.
17649 (delphi-indent-line): Remove unused variable `new-point'.
17650
17651 * progmodes/ebrowse.el (ebrowse-files-list)
17652 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
17653 Mark unused parameters. Don't quote `lambda'.
17654 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
17655 Don't quote `lambda'.
17656 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
17657 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
17658 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
17659 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
17660 Use `ignore-errors'.
17661 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
17662 (ebrowse-view/find-file-and-search-pattern)
17663 (ebrowse-view/find-member-declaration/definition):
17664 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
17665 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
17666 Rename parameter PREFIX-ARG to PREFIX.
17667 (ebrowse-tags-read-name): Remove unused variables `start' and
17668 `member-info'.
17669 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
17670 to `tags-file'.
17671
17672 * progmodes/etags.el (local-find-tag-hook): Declare.
17673 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
17674 Mark unused parameters.
17675
17676 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
17677 (executable-interpret): Mark unused parameter.
17678
17679 * progmodes/flymake.el (flymake-process-sentinel)
17680 (flymake-after-change-function)
17681 (flymake-create-temp-with-folder-structure)
17682 (flymake-get-include-dirs-dot): Mark unused parameters.
17683 (flymake-safe-delete-directory): Remove unused variable `err'.
17684
17685 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
17686 (speedbar-timer-fn, speedbar-line-text)
17687 (speedbar-change-expand-button-char, speedbar-delete-subblock)
17688 (speedbar-center-buffer-smartly): Declare functions.
17689 (gdb-find-watch-expression): Remove unused variable `array'.
17690 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
17691 (gdb-starting): Mark unused parameters.
17692 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
17693 (gdb-table-string): Remove unused variable `res'.
17694 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
17695 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
17696 (gdb-display-buffer): Remove unused variable `cur-size'.
17697
17698 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
17699 allow lexical-binding compilation.
17700 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
17701 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
17702 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
17703 Mark unused parameters.
17704 (gud-gdb-marker-filter): Remove unused variable `match'.
17705 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
17706 lambda expressions and funcall them, instead of using `fset'.
17707
17708 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
17709 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
17710
17711 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
17712 variable `header-beg'; use `let'.
17713
17714 * progmodes/icon.el (indent-icon-exp): Remove unused variables
17715 `restart', `last-sexp' and `at-do'.
17716
17717 * progmodes/js.el (js--debug): Mark unused parameter.
17718 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
17719 (js--splice-into-items): Remove unused variable `item'.
17720 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
17721
17722 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
17723 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
17724 (makefile-complete): Remove unused variable `try'.
17725 (makefile-fill-paragraph, makefile-match-function-end):
17726 Mark unused parameters.
17727
17728 * progmodes/octave-inf.el (inferior-octave-complete):
17729 Remove unused variable `proc'.
17730 (inferior-octave-output-digest): Mark unused parameter.
17731
17732 * progmodes/perl-mode.el (perl-calculate-indent):
17733 Remove unused variable `err'.
17734
17735 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
17736 (prolog-indent-line): Mark unused parameters.
17737 (prolog-indent-line): Remove unused variable `beg'.
17738
17739 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
17740 (reporter-dont-compact-list): Declare.
17741
17742 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
17743 Remove unused variable `char'.
17744 (sh-debug): Mark unused parameter.
17745 (sh-get-indent-info): Remove unused variable `start'.
17746 (sh-calculate-indent): Remove unused variable `var'.
17747
17748 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
17749 (simula-electric-keyword): Remove unused variable `null'.
17750 (simula-search-backward, simula-search-forward): Remove unused
17751 variables `begin' and `end'.
17752
17753 * progmodes/vera-mode.el (vera-guess-basic-syntax):
17754 Remove unused variable `pos'.
17755 (vera-electric-tab, vera-comment-uncomment-region):
17756 Mark unused parameters.
17757 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
17758
7ede3b65
CY
177592011-04-22 Chong Yidong <cyd@stupidchicken.com>
17760
17761 * emacs-lisp/package.el (package--builtins, package-alist)
17762 (package-load-descriptor, package-built-in-p, package-activate)
17763 (define-package, package-installed-p)
17764 (package-compute-transaction, package-buffer-info)
17765 (package--push): Doc fix. Distinguish more clearly between
17766 version strings and version lists.
17767
121656e9
JB
177682011-04-21 Juanma Barranquero <lekktu@gmail.com>
17769
17770 Lexical-binding cleanup.
17771
17772 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
17773 (5x5-make-mutate-best):
17774 * play/fortune.el (fortune-in-buffer):
17775 * play/gomoku.el (gomoku-init-display):
17776 * play/solitaire.el (solitaire, solitaire-do-check):
17777 * play/tetris.el (tetris-default-update-speed-function):
17778 Mark unused parameters.
17779
17780 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
17781 (bubbles--shift): Remove unused variable `char-org'.
17782 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
17783 (bubbles--show-images): Remove unused variable `char'.
17784
17785 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
17786 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
17787 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
17788 (decipher-analyze-buffer): Use ?\s.
17789 (decipher-make-checkpoint): Remove unused variable `mapping'.
17790
17791 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
17792
17793 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
17794 Remove unused variable `result'; use `let'.
17795
17796 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
17797 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
17798 (gametree-children-shown-p, gametree-compute-reduced-score):
17799 Use `ignore-errors'.
17800
17801 * play/handwrite.el (ps-lpr-switches): Declare.
17802 (handwrite): Remove unused variables `pmin' and `lastp'.
17803
17804 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
17805
17806 * play/landmark.el (landmark-init-display)
17807 (landmark-update-naught-weights): Mark unused parameters.
17808 (landmark-y): Remove unused variable `noise'. Simplify.
17809 (landmark-human-plays): Remove unused variable `score'.
17810
17811 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
17812 (mpuz-try-proposal): Remove unused variable `game'.
17813
17814 * play/zone.el (life-patterns): Declare.
17815
80f499c7
JB
178162011-04-20 Juanma Barranquero <lekktu@gmail.com>
17817
17818 * vc/vc.el (ediff-vc-internal): Declare function.
17819
024ff170
SM
178202011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
17821
c0a193ea
SM
17822 * shell.el: Use lexical-binding and std completion UI.
17823 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
17824 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
17825 comint-preoutput-filter-functions rather than on
17826 comint-output-filter-functions.
17827 (shell-command-completion, shell--command-completion-data)
17828 (shell-filename-completion, shell-environment-variable-completion)
17829 (shell-c-a-p-replace-by-expanded-directory): New functions.
17830 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
17831 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
17832 (shell-dynamic-complete-environment-variable): Use them.
17833 (shell-dynamic-complete-as-environment-variable)
17834 (shell-dynamic-complete-as-command): Remove.
17835 (shell-match-partial-variable): Match past point.
17836 * comint.el: Clean up use of completion-at-point-functions.
17837 (comint-completion-at-point): New function.
17838 (comint-mode): Use it completion-at-point-functions.
17839 (comint-dynamic-complete): Make it obsolete.
17840 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
17841 (comint-c-a-p-replace-by-expanded-history): New function.
17842 (comint-dynamic-complete-functions)
17843 (comint-replace-by-expanded-history): Use it.
17844 * minibuffer.el (completion-table-with-terminator): Allow dynamic
17845 termination strings. Try harder to avoid second try-completion.
17846 (completion-in-region-mode-map): Disable bindings that don't work yet.
17847
2dbaa080
SM
17848 * comint.el: Use lexical-binding. Require CL.
17849 (comint-dynamic-complete-functions): Use comint-filename-completion.
17850 (comint-completion-addsuffix): Tweak custom type.
17851 (comint-filename-completion, comint--common-suffix)
17852 (comint--common-quoted-suffix, comint--table-subvert)
17853 (comint--complete-file-name-data): New functions.
17854 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
17855 (comint-dynamic-list-filename-completions): Use them.
17856 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 17857
2dbaa080
SM
17858 * minibuffer.el (completion-in-region-mode):
17859 Keep completion-in-region-mode--predicate global.
17860 (completion-in-region--postch):
17861 Assume completion-in-region-mode--predicate is not null.
17862
c79a6f38
SM
17863 * progmodes/flymake.el (flymake-start-syntax-check-process):
17864 Obey `dir'. Simplify.
17865
024ff170
SM
17866 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
17867 we're in VC after all.
17868
1c6c854e
CS
178692011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
17870
17871 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 17872 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
17873 (vc-version-diff): Use vc-diff-build-argument-list-internal.
17874
bed7f140
SM
178752011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
17876
332e62ab
SM
17877 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
17878 add sanity check.
17879
bed7f140
SM
17880 * obsolete/erc-hecomplete.el: Make obsolete.
17881 * obsolete/: Standardize obsolescence info in the header.
17882
f195c582
GM
178832011-04-20 Glenn Morris <rgm@gnu.org>
17884
17885 * calendar/solar.el (solar-horizontal-coordinates):
17886 Use the longitude argument rather than `calendar-longitude'.
17887 (solar-date-next-longitude): Remove unused locals.
17888
cb79b8c0
VJL
178892011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
17890
17891 * whitespace.el: New version 13.2.1.
17892
178932011-04-20 felix <EmacsWiki> (tiny change)
17894
d8e4b68b 17895 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
17896 switching between major modes on a file.
17897
602ea69d
SM
178982011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
17899
17900 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
17901 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
17902 multi-line comments as well.
17903
06b60517
JB
179042011-04-19 Juanma Barranquero <lekktu@gmail.com>
17905
17906 Lexical-binding cleanup.
17907
17908 * arc-mode.el (archive-mode-revert):
17909 * cmuscheme.el (scheme-interactively-start-process):
17910 * custom.el (custom-initialize-delay):
17911 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
17912 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
17913 * emacs-lock.el (emacs-lock-clear-sentinel):
17914 * ezimage.el (defezimage):
17915 * follow.el (follow-avoid-tail-recenter):
17916 * fringe.el (set-fringe-mode-1):
17917 * generic-x.el (bat-generic-mode-compile):
17918 * help-mode.el (help-info-variable, help-do-xref)
17919 (help-mode-revert-buffer):
17920 * help.el (view-emacs-todo):
17921 * iswitchb.el (iswitchb-completion-help):
17922 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
17923 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
17924 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
17925 * locate.el (locate-update):
17926 * longlines.el (longlines-encode-region)
17927 (longlines-after-change-function):
17928 * outline.el (outline-isearch-open-invisible):
17929 * ps-def.el (declare-function, charset-dimension, char-width)
17930 (encode-char):
17931 * ps-mule.el (ps-mule-plot-string):
17932 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
17933 (recentf-edit-list-select, recentf-edit-list-validate)
17934 (recentf-open-files-action):
17935 * rect.el (delete-whitespace-rectangle-line)
17936 (rectangle-number-line-callback):
17937 * register.el (window-configuration-to-register)
17938 (frame-configuration-to-register):
17939 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
17940 * select.el (xselect-convert-to-string, xselect-convert-to-length)
17941 (xselect-convert-to-targets, xselect-convert-to-delete)
17942 (xselect-convert-to-filename, xselect-convert-to-charpos)
17943 (xselect-convert-to-lineno, xselect-convert-to-colno)
17944 (xselect-convert-to-os, xselect-convert-to-host)
17945 (xselect-convert-to-user, xselect-convert-to-class)
17946 (xselect-convert-to-name, xselect-convert-to-integer)
17947 (xselect-convert-to-atom, xselect-convert-to-identity):
17948 * subr.el (declare, ignore, process-kill-without-query)
17949 (text-clone-maintain):
17950 * terminal.el (te-get-char, te-tic-sentinel):
17951 * tool-bar.el (tool-bar-make-keymap):
17952 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
17953 * type-break.el (type-break-mode, type-break-noninteractive-query):
17954 * view.el (View-back-to-mark):
17955 * wid-browse.el (widget-browse-action, widget-browse-widget)
17956 (widget-browse-widgets, widget-browse-sexp):
17957 * widget.el (define-widget-keywords):
17958 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
17959 Mark unused parameters.
17960
17961 * align.el (align-adjust-col-for-rule): Mark unused parameter.
17962 (align-areas): Remove unused variable `look'.
17963 (align-region): Remove unused variables `real-end' and `pos-list'.
17964
17965 * apropos.el (apropos-score-doc): Remove unused variable `i'.
17966
17967 * bindings.el (mode-line-modified, mode-line-remote):
17968 Mark unused parameters.
17969 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
17970
17971 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
17972 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
17973
17974 * comint.el (comint-history-isearch-pop-state)
17975 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
17976 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
17977 (comint-substitute-in-file-name): Doc fix.
17978
17979 * completion.el (cmpl-statistics-block): Mark unused parameter.
17980 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
17981 (save-completions-to-file, load-completions-from-file):
17982 Remove unused local variable `e'.
17983
17984 * composite.el (compose-chars): Remove unused variable `len'.
17985 (lgstring-insert-glyph): Remove unused variable `g'.
17986 (compose-glyph-string): Remove unused variables `ascent',
17987 `descent', `lbearing' and `rbearing'.
17988 (compose-glyph-string-relative): Remove unused variables
17989 `lbearing', `rbearing' and `wadjust'.
17990 (compose-gstring-for-graphic): Remove unused variables `header',
17991 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
17992 (compose-gstring-for-terminal): Remove unused variables `header'
17993 and `nchars'. Use `let', not `let*'.
17994
17995 * cus-edit.el (Custom-set, Custom-save, custom-reset)
17996 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
17997 (Custom-buffer-done, custom-buffer-create-internal)
17998 (custom-browse-visibility-action, custom-browse-group-tag-action)
17999 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
18000 (widget-magic-mouse-down-action, custom-toggle-parent)
18001 (custom-add-parent-links, custom-toggle-hide-variable)
18002 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
18003 (custom-toggle-hide-face, face, hook, custom-group-link-action)
18004 (custom-face-menu-create, custom-variable-menu-create, get)
18005 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
18006 (custom-reset-standard-save-and-update): Remove unused variable `value'.
18007 (customize-apropos): Remove unused variable `tests'.
18008 (custom-group-value-create): Remove unused variable `hidden-p'.
18009 (sort-fold-case): Declare.
18010
18011 * cus-theme.el (custom-reset-standard-faces-list)
18012 (custom-reset-standard-variables-list): Declare.
18013 (customize-create-theme, custom-theme-revert, custom-theme-write)
18014 (custom-theme-choose-mode, customize-themes, custom-theme-save):
18015 Mark unused parameters.
18016
18017 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
18018
18019 * delim-col.el (delimit-columns-max): Move defvar before first use.
18020
18021 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 18022 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
18023
18024 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
18025 (auto-insert): Declare.
18026 (desktop-restore-file-buffer): Rename desktop-* parameters;
18027 mark unused ones.
18028 (desktop-create-buffer): Rename desktop-* parameters and bind them.
18029 (desktop-buffer): Rename desktop-* parameters.
18030
18031 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
18032 (dframe-reposition-frame-xemacs, dframe-help-echo)
18033 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
18034 Mark unused parameters.
18035
18036 * dired-aux.el (backup-extract-version-start, overwrite-query)
18037 (overwrite-backup-query, rename-regexp-query)
18038 (rename-non-directory-query): Declare.
18039 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
18040 (dired-add-entry): Remove unused variable `orig-file-name'.
18041 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
18042 Use parameter PRESERVE-TIME instead of accessing dynamic variable
18043 `dired-copy-preserve-time' directly.
18044 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
18045 (dired-insert-subdir-newpos): Rename unused variable `pos'.
18046
18047 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
18048 (dired-virtual-revert, dired-make-relative-symlink):
18049 Mark unused parameters.
18050 (manual-program): Declare.
18051 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
18052 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
18053 wrapped in `with-no-warnings' to avoid replacing one warning by another.
18054
18055 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
18056
18057 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
18058
18059 * echistory.el (electric-history-in-progress, Helper-return-blurb):
18060 Declare.
18061
18062 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
18063
18064 * electric.el (Electric-command-loop): Rename parameter
18065 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
18066
18067 * expand.el (expand-in-literal): Remove unused variable `here'.
18068
18069 * facemenu.el (facemenu-add-new-color):
18070 Remove unused variable `docstring'.
18071
18072 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
18073 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
18074 (face-attr-construct): Mark unused parameter. Doc fix.
18075 (read-color): Remove unused variable `hex-string'.
18076
18077 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
18078 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
18079 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
18080 (display-buffer-other-frame): Remove unused variable `old-window'.
18081 (kill-buffer-hook): Declare.
18082 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
18083 Mark unused parameters.
18084 (after-find-file): Pass 1 to `auto-save-mode', not t.
18085
18086 * files-x.el (auto-insert): Declare.
18087 (modify-file-local-variable-prop-line): Remove unused variable `val'.
18088
18089 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 18090 variable `buf'. Mark unused parameter.
06b60517
JB
18091 (find-lisp-insert-directory): Mark unused parameter.
18092
18093 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
18094 (format-encode-region): Remove unused variables `cur-buf' and `result'.
18095 (format-common-tail): Remove, unused.
18096 (format-deannotate-region): Remove unused variable `loc'.
18097 (format-annotate-region): Remove unused variable `p'.
18098 (format-annotate-single-property-change): Remove unused variables
18099 `default' and `tail'.
18100
18101 * forms.el (read-file-filter): Declare.
18102 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
18103
18104 * frame.el (frame-creation-function-alist): Mark unused parameter.
18105 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
18106
18107 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
18108 Remove unused parameters.
18109 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
18110 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
18111
18112 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
18113 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
18114 (hfy-prepare-tag-map): Mark unused parameters.
18115 (htmlfontify-buffer): Use `called-interactively-p'.
18116
18117 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
18118 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
18119 (ibuffer-do-occur): Mark unused parameters.
18120 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
18121 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
18122
18123 * ibuffer.el: Don't quote `lambda'.
18124 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
18125 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
18126 Mark unused parameters.
18127
18128 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
18129 (ido-completing-read): Mark unused parameters.
18130 (ido-copy-current-word): Mark unused parameters;
18131 remove unused variable `name'.
18132 (ido-sort-merged-list): Remove unused parameter `dirs'.
18133
18134 * ielm.el (ielm-input-sender): Mark unused parameter.
18135 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
18136 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
18137 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
18138 `ielm-string' as a dynamic variable accessible from the IELM prompt.
18139 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
18140
18141 * image-dired.el (image-dired-display-thumbs): Remove unused
18142 variables `curr-file' and `count'.
18143 (image-dired-remove-tag): Remove unused variable `start'.
18144 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
18145 variable `curr-file'
18146 (image-dired-rotate-original): Remove unused variable `temp-file'.
18147 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
18148 Remove unused variable `file'.
18149 (image-dired-gallery-generate): Remove unused variable `curr'.
18150 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
18151
18152 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
18153
18154 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
18155
18156 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
18157
18158 * isearch.el (minibuffer-history-symbol): Declare.
18159 (isearch-edit-string): Remove unused variable `err'.
18160 (isearch-message-prefix, isearch-message-suffix):
18161 Mark unused parameters.
18162
18163 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
18164
18165 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
18166
18167 * makesum.el (double-column): Remove unused variable `cnt'.
18168
18169 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
18170 (ido-ignore-item-temp-list): Declare.
18171
18172 * mouse-drag.el (mouse-drag-throw): Remove unused variables
18173 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
18174 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
18175 (mouse-drag-drag): Remove unused variables `mouse-delta' and
18176 `mouse-col-delta'.
18177
18178 * mouse-sel.el (mouse-extend-internal):
18179 Remove unused variable `orig-window-frame'.
18180
18181 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
18182 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
18183 Move declarations before first use.
18184 (pcomplete-opt): Mark unused parameters; doc fix.
18185
18186 * proced.el (proced-revert): Mark unused parameter.
18187 (proced-send-signal): Remove unused variable `err'.
18188
18189 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
18190 Rename parameter PREFIX-ARG to ARG.
18191 (ps-basic-plot-string, ps-basic-plot-whitespace):
18192 Mark unused parameters.
18193
18194 * replace.el (replace-count): Define.
18195 (occur-revert-function): Mark unused parameters.
18196 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
18197 (isearch-case-fold-search, isearch-string): Declare.
18198 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
18199 bind `case-fold-search'. Remove unused variables `beg' and `end',
18200 and simplify.
18201 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
18202 COUNT and bind `replace-count'.
18203 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
18204 to COUNT.
18205
18206 * savehist.el (print-readably, print-string-length): Declare.
18207
18208 * shadowfile.el (shadow-expand-cluster-in-file-name):
18209 Remove unused variable `cluster'.
18210 (shadow-copy-file): Remove unused variable `i'.
18211 (shadow-noquery, shadow-clusters, shadow-site-cluster)
18212 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
18213 (shadow-define-literal-group, shadow-define-regexp-group)
18214 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
18215
18216 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
18217 (shell): Use `called-interactively-p'.
18218 (shell-directory-tracker): Remove unused variable `chdir-failure'.
18219
18220 * simple.el (compilation-context-lines, comint-file-name-quote-list)
18221 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
18222 (delete-backward-char): Remove unused variable `ocol'.
18223 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
18224 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
18225 (event-apply-hyper-modifier, event-apply-shift-modifier)
18226 (event-apply-control-modifier, event-apply-meta-modifier):
18227 Mark unused parameters.
18228 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
18229 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
18230
18231 * speedbar.el (speedbar-ignored-directory-expressions)
18232 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
18233 (speedbar-find-file, speedbar-dir-follow)
18234 (speedbar-directory-buttons-follow, speedbar-tag-find)
18235 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
18236 (speedbar-buffers-line-directory, speedbar-buffer-click):
18237 Mark unused parameters.
18238 (speedbar-tag-file): Remove unused variable `mode'.
18239 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
18240
18241 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
18242
18243 * talk.el (talk): Remove unused variable `display'.
18244
18245 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
18246 (tar-write-region-annotate): Mark unused parameter.
18247
18248 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
18249 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
18250 Declare them, wrapped in `with-no-warnings' to avoid replacing one
18251 warning by another.
18252
18253 * time-stamp.el (time-stamp-string-preprocess):
18254 Remove unused variable `require-padding'.
18255
18256 * tree-widget.el (widget-glyph-enable): Declare.
18257 (tree-widget-action): Mark unused parameter.
18258
18259 * w32-fns.el (x-get-selection): Mark unused parameter.
18260 (autoload-make-program, generated-autoload-file): Declare.
18261
18262 * wdired.el (wdired-revert): Mark unused parameters.
18263 (wdired-xcase-word): Remove unused variable `err'.
18264
18265 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
18266 (whitespace-help-scroll): Remove unused variable `data-help'.
18267
18268 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
18269 (widget-image-insert, widget-after-change, default)
18270 (widget-default-format-handler, widget-default-notify)
18271 (widget-default-prompt-value, widget-info-link-action)
18272 (widget-url-link-action, widget-function-link-action)
18273 (widget-variable-link-action, widget-file-link-action)
18274 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
18275 (widget-field-prompt-internal, widget-field-action, widget-field-match)
18276 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
18277 (widget-insert-button-action, widget-delete-button-action, visibility)
18278 (widget-documentation-link-action, widget-documentation-string-action)
18279 (widget-const-prompt-value, widget-regexp-match, symbol)
18280 (widget-coding-system-prompt-value)
18281 (widget-key-sequence-value-to-external, sexp)
18282 (widget-sexp-value-to-internal, character, vector, cons)
18283 (widget-choice-prompt-value, widget-boolean-prompt-value)
18284 (widget-color--choose-action): Mark unused parameters.
18285 (widget-item-match-inline, widget-choice-match-inline)
18286 (widget-checklist-match, widget-checklist-match-inline)
18287 (widget-group-match): Rename parameter VALUES to VALS.
18288 (widget-field-value-set): Remove unused variable `size'.
18289 (widget-color-action): Remove unused variables `value' and `start'.
18290
18291 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 18292 variable `dir'. Doc fix.
06b60517
JB
18293 (windmove-find-other-window): Don't pass it.
18294
18295 * window.el (count-windows): Mark unused parameter.
18296 (bw-adjust-window): Remove unused variable `err'.
18297
18298 * woman.el (woman-file-name): Remove unused variable `default'.
18299 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
18300 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
18301 (global-font-lock-mode): Declare.
18302 (woman-decode-region): Mark unused parameter.
18303 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
18304
18305 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
18306 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
18307 (x-dnd-handle-moz-url): Remove unused variable `title'.
18308 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
18309
18310 * xml.el (xml-parse-tag, xml-parse-attlist):
18311 Remove unused variable `pos'.
18312
bc4f7f3d
GM
183132011-04-19 Glenn Morris <rgm@gnu.org>
18314
18315 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
18316 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
18317 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
18318 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
18319 * calendar/cal-html.el (cal-html-insert-minical):
18320 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
18321 (calendar-mark-date-pattern):
18322 Prefix "unused" locals.
18323
18324 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
18325 optional argument `style'.
18326
18327 * calendar/appt.el (appt-make-list):
18328 * calendar/cal-china.el (calendar-chinese-date-string):
18329 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
18330 (diary-hebrew-yahrzeit):
18331 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
18332 * calendar/calendar.el (calendar-generate-window):
18333 * calendar/time-date.el (time-to-days):
18334 Remove unused local variables.
18335
16a43933
CY
183362011-04-18 Chong Yidong <cyd@stupidchicken.com>
18337
18338 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
18339 glyphless-char-display table.
18340 (tabulated-list-glyphless-char-display): New var.
18341
7eed1860
SS
183422011-04-18 Sam Steingold <sds@gnu.org>
18343
18344 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
18345 to acknowledgments.
18346
4d2d1ccd
GM
183472011-04-17 Glenn Morris <rgm@gnu.org>
18348
18349 * calendar/diary-lib.el (diary-sexp-entry):
18350 * calendar/holidays.el (holiday-sexp):
18351 Set debug-on-error rather than the removed stack-trace-on-error.
18352
239da61d
GM
183532011-04-16 Glenn Morris <rgm@gnu.org>
18354
18355 * progmodes/f90.el: Use lexical-binding.
18356 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
18357
8b05752a
SM
183582011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
18359
daca8ba5
SM
18360 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
18361 (mail-mode): Setup mailalias completion here instead.
18362 * mail/mailalias.el: Use lexical-binding.
18363 (pattern, mailalias-done): Declare dynamic.
18364 (mail-completion-at-point-function): New function, from mail-complete.
18365 (mail-complete): Use it.
18366 (mail-completion-expand): New function.
18367 (mail-get-names): Use it.
18368 (mail-directory, mail-directory-process, mail-directory-stream):
18369 Don't use `pattern' for lexically bound arg.
18370
6f542485
SM
18371 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
18372
037e7c3f
SM
18373 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
18374 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
18375 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
18376
8b05752a
SM
18377 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
18378 (byte-save-window-excursion, byte-temp-output-buffer-setup)
18379 (byte-interactive-p): Define them again, for use when inlining
18380 old code.
18381
49093f60
JB
183822011-04-15 Juanma Barranquero <lekktu@gmail.com>
18383
18384 * loadup.el: Use `string-to-number', not `string-to-int'.
18385
b5b8e7de
SM
183862011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
18387
18388 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
18389 gud-gdb-complete-command.
18390 (gud-gdb-completions): New function, from gud-gdb-complete-command.
18391 (gud-gdb-completion-at-point): New function.
18392 (gud-gdb-completions): Remove.
18393
f42efeb5
MA
183942011-04-14 Michael Albinus <michael.albinus@gmx.de>
18395
49093f60
JB
18396 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
18397 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
18398 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
18399 whether `executable-find' is bound.
f42efeb5
MA
18400
18401 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
18402
e240cc21
SM
184032011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
18404
18405 * minibuffer.el (completion-in-region-mode-predicate)
18406 (completion-in-region-mode--predicate): New vars.
18407 (completion-in-region, completion-in-region--postch)
18408 (completion-in-region-mode): Use them.
18409 (completion--capf-wrapper): Also return the hook function.
18410 (completion-at-point, completion-help-at-point):
18411 Adjust and provide a predicate.
c2bd2ab0
SM
18412
18413 Preserve arg names for advice of subr and lexical functions (bug#8457).
18414 * help-fns.el (help-function-arglist): Consolidate the subr and
18415 new-byte-code cases. Add argument `preserve-names' to extract names
18416 from the docstring when needed.
18417 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
18418 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
18419 (ad-arglist): Use help-function-arglist's new arg.
18420 (ad-definition-type): Use cond.
18421
c183f693
JB
184222011-04-13 Juanma Barranquero <lekktu@gmail.com>
18423
06641a47
JB
18424 * autorevert.el (auto-revert-handler):
18425 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
18426 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
18427 Don't quote lambda.
18428
c183f693
JB
18429 * image-mode.el (image-transform-set-scale):
18430 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
18431
1e3b6001
G
184322011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
18433
18434 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 18435 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
18436 Upgrades via gnutls-cli are too slow to be done opportunistically.
18437
2d6af8dd
JB
184382011-04-12 Juanma Barranquero <lekktu@gmail.com>
18439
18440 * dframe.el (dframe-current-frame): Remove spurious quote.
18441
c0749a51
GM
184422011-04-12 Glenn Morris <rgm@gnu.org>
18443
088d0d61
GM
18444 * calendar/cal-tex.el (cal-tex-end-document):
18445 Try to automatically use latin1 input if needed.
18446
c0749a51
GM
18447 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
18448 Don't try to cons a mark onto an empty element.
18449
5c90fde0
LL
184502011-04-11 Leo Liu <sdl.web@gmail.com>
18451
18452 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
18453 buffers.
18454 (ido-kill-buffer-at-head): Support killing virtual buffers.
18455
369e974d
CY
184562011-04-10 Chong Yidong <cyd@stupidchicken.com>
18457
18458 * minibuffer.el (completion-show-inline-help): New var.
18459 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
18460 (minibuffer-force-complete, minibuffer-complete-word):
18461 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
18462
18463 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
18464 to avoid interference from inline help (Bug#5849).
18465
37f1c930
LL
184662011-04-10 Leo Liu <sdl.web@gmail.com>
18467
099c39a4
JB
18468 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
18469 Fix typo.
37f1c930 18470
a32d4040
CY
184712011-04-09 Chong Yidong <cyd@stupidchicken.com>
18472
18473 * image-mode.el (image-toggle-display-image): Signal an error if
18474 not in Image mode.
18475 (image-transform-mode, image-transform-resize)
18476 (image-transform-set-rotation): Doc fix.
daca8ba5 18477 (image-transform-set-resize): Delete.
a32d4040
CY
18478 (image-transform-set-scale, image-transform-fit-to-height)
18479 (image-transform-fit-to-width): Handle image-toggle-display-image
18480 and image-transform-resize directly.
18481
099c39a4 184822011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
18483
18484 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
18485 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
18486 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
18487 (doc-view-mode-map): Add bindings for the new functions.
18488
099c39a4 184892011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 18490
4d61f28d 18491 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
18492 Fix typo in docstring.
18493
3726838a
EZ
184942011-04-08 Eli Zaretskii <eliz@gnu.org>
18495
04f33f1e
EZ
18496 * files.el (file-size-human-readable): Produce one digit after
18497 decimal, like "ls -lh" does.
18498
18499 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
18500 the file size representation.
18501
3726838a
EZ
18502 * simple.el (list-processes): If async subprocesses are not
18503 available, error out with a clear error message.
18504
cbb59342
CY
185052011-04-08 Chong Yidong <cyd@stupidchicken.com>
18506
18507 * help.el (help-form-show): New function, to be called from C.
18508 Put help-form output in a buffer named differently than *Help*.
18509
e3971c44
EZ
185102011-04-08 Eli Zaretskii <eliz@gnu.org>
18511
18512 * files.el (file-size-human-readable): New function.
18513
18514 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
18515 computing the representation inline. Don't require `cl'.
18516
12544bbe
GM
185172011-04-08 Glenn Morris <rgm@gnu.org>
18518
a1de6c6a
GM
18519 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
18520
3c4671f4
GM
18521 * net/browse-url.el (browse-url-firefox):
18522 Test system-type, not system-configuration.
18523
b605679c
GM
18524 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
18525 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
18526 Use log-edit-empty-buffer-p. (Bug#7598)
18527
56442f0c
GM
18528 * net/rlogin.el (rlogin-process-connection-type): Simplify.
18529 (rlogin-mode-map): Initialize in the defvar.
18530 (rlogin): Use ignore-errors.
18531
12544bbe
GM
18532 * replace.el (occur-mode-map): Some fixes for menu items.
18533
eb237b0f
AH
185342011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
18535
18536 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
18537
7d668f2c
CY
185382011-04-06 Chong Yidong <cyd@stupidchicken.com>
18539
e67a13ab
CY
18540 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
18541 issuing unused warnings.
18542
18543 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
18544 macro directly.
18545
7d668f2c
CY
18546 * simple.el: Lisp reimplement of list-processes. Based on an
18547 earlier reimplementation by Leo Liu, but using tabulated-list.el.
18548 (process-menu-mode): New major mode.
18549 (list-processes--refresh, list-processes):
18550 (process-menu-visit-buffer): New functions.
18551
18552 * files.el (save-buffers-kill-emacs): Don't assume any return
18553 value of list-processes, which is undocumented anyway.
18554
a83ec3c9
CY
185552011-04-06 Chong Yidong <cyd@stupidchicken.com>
18556
18557 * emacs-lisp/tabulated-list.el: New file.
18558
e91a96fe
CY
18559 * emacs-lisp/package.el: Use Tabulated List mode.
18560 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
18561 (package-menu-mode): Derive from tabulated-list-mode. Set up the
18562 table format using Tabulated List mode variables.
18563 (package--push): New macro, replacing package-list-maybe-add.
18564 (package-menu--generate): Use package--push. Renamed from
18565 package--generate-package-list.
18566 (package-menu-refresh, list-packages): Use it.
daca8ba5 18567 (package-menu--print-info): Rename from package-print-package.
e91a96fe 18568 Return insertion data instead of inserting it directly.
099c39a4
JB
18569 (package-menu-describe-package, package-menu-execute):
18570 Use tabulated-list-get-id.
e91a96fe
CY
18571 (package-menu-mark-delete, package-menu-mark-install)
18572 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
18573 (package-menu-mark-obsolete-for-deletion):
18574 Use tabulated-list-put-tag.
e91a96fe
CY
18575 (package--list-packages, package-menu-revert)
18576 (package-menu-get-package, package-menu-get-version)
18577 (package-menu-sort-by-column): Functions deleted.
18578 (package-menu-package-list, package-menu-sort-key): Vars deleted.
18579 (package-menu--status-predicate, package-menu--version-predicate)
18580 (package-menu--name-predicate)
18581 (package-menu--description-predicate): Handle arguments in the
18582 Tabulated List format.
18583 (package-list-packages-no-fetch): Call list-packages.
18584
3e214b50
JB
185852011-04-06 Juanma Barranquero <lekktu@gmail.com>
18586
18587 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 18588 (after-find-file): Don't bind it.
3e214b50
JB
18589 (revert-buffer-in-progress-p): New variable.
18590 (revert-buffer): Bind it.
18591 Pass nil for `after-find-file-from-revert-buffer'.
18592
18593 * saveplace.el (save-place-find-file-hook): Use new variable
18594 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
18595
3f0f1700
GM
185962011-04-06 Glenn Morris <rgm@gnu.org>
18597
c0274801
GM
18598 * Makefile.in (AUTOGEN_VCS): New variable.
18599 (autoloads): Use $AUTOGEN_VCS.
18600
3f0f1700
GM
18601 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
18602 * calendar/calendar.el (calendar-mode-map):
18603 Check for toolkit scroll bars. (Bug#8305)
18604
41ea9e48
CY
186052011-04-05 Chong Yidong <cyd@stupidchicken.com>
18606
18607 * minibuffer.el (completion-in-region--postch)
18608 (completion-in-region-mode): Remove unnecessary messages.
18609
6194c800
JB
186102011-04-05 Juanma Barranquero <lekktu@gmail.com>
18611
33256f14
JB
18612 * font-lock.el (font-lock-refresh-defaults):
18613 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
18614 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
18615
6194c800
JB
18616 * info.el (Info-directory-list, Info-read-node-name-2)
18617 (Info-split-parameter-string): Doc fixes.
18618 (Info-virtual-nodes): Reflow docstring.
18619 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
18620 (Info-apropos-toc-nodes, info-finder, Info-get-token)
18621 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
18622 Fix typos in docstrings.
18623 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
18624 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
18625 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
18626 (Info-restore-desktop-buffer): Mark unused parameters.
18627 (Info-directory-find-file, Info-directory-find-node)
18628 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
18629 (Info-virtual-index-find-node, Info-apropos-find-file)
18630 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 18631 Mark unused parameters; fix typos in docstrings.
6194c800
JB
18632 (Info-virtual-index): Remove unused local variable `nodename'.
18633
b87a8200 186342011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 18635
b87a8200
DD
18636 * net/rcirc.el: Update my e-mail address.
18637 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 18638
3b2ff876
CY
186392011-04-05 Chong Yidong <cyd@stupidchicken.com>
18640
18641 * startup.el (command-line): Save the cursor's theme-face
18642 directly, instead of using face-override-spec.
18643
18644 * custom.el (load-theme): Minor optimization in assigning faces.
18645
8d17e7ca
JB
186462011-04-04 Juanma Barranquero <lekktu@gmail.com>
18647
18648 * help-fns.el (describe-variable): Complete all variables having
18649 documentation, including keywords.
18650 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
18651
2fbc1934
JB
186522011-04-04 Juanma Barranquero <lekktu@gmail.com>
18653
18654 Convert to lexical-binding.
18655
18656 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
18657 (bs--get-marked-string, bs--get-modified-string)
18658 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
18659 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
18660 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
18661
18662 * ehelp.el (electric-help-execute-extended)
18663 (electric-help-ctrl-x-prefix):
18664 * hexl.el (hexl-revert-buffer-function):
18665 * linum.el (linum-after-change, linum-after-scroll):
18666 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
18667
18668 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
18669
74f50695
DU
186702011-04-04 Daiki Ueno <ueno@unixuser.org>
18671
18672 * epa-dired.el:
18673 * epa-mail.el:
18674 * epa-hook.el:
18675 * epa-file.el:
18676 * epa.el:
18677 * epg.el: Use lexical binding.
18678
c11325f7
CY
186792011-04-03 Chong Yidong <cyd@stupidchicken.com>
18680
0d9e9a12
CY
18681 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
18682
c11325f7 18683 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
18684 dictionary case for flyspell-mark-duplications-exceptions.
18685 Use regexp matching for languages.
c11325f7
CY
18686 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
18687 default dictionary (Bug#7926).
18688
da91b5f2
CY
186892011-04-02 Chong Yidong <cyd@stupidchicken.com>
18690
099c39a4
JB
18691 * emacs-lisp/package.el (package--with-work-buffer):
18692 Recognize https URLs.
da91b5f2 18693
099c39a4
JB
18694 * net/network-stream.el: Move from gnus/proto-stream.el.
18695 Change prefix to network-stream throughout.
da91b5f2
CY
18696 (open-protocol-stream): Merge into open-network-stream, leaving
18697 open-protocol-stream as an alias. Handle nil BUFFER args.
18698
18699 * subr.el (open-network-stream): Move to net/network-stream.el.
18700
afa8e9f6
GM
187012011-04-02 Glenn Morris <rgm@gnu.org>
18702
1d2e369d
GM
18703 * find-dired.el (find-exec-terminator): New option.
18704 (find-ls-option): Test for -ls support.
18705 (find-ls-subdir-switches): Test for -b in find-ls-option.
18706 (find-dired, find-grep-dired): Doc fixes.
18707 (find-dired): Use find-exec-terminator.
18708
8abb7da8 18709 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
18710 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
18711 (find-name-arg): Remove purecopy.
8abb7da8 18712
f3ca7378
GM
18713 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
18714 (grep-compute-defaults): Check for `-exec COMMAND +' support.
18715 Set grep-find-use-xargs, grep-find-command, and grep-find-template
18716 accordingly. Don't add the null-device if not needed.
18717
afa8e9f6
GM
18718 * files.el (save-some-buffers): Doc fix.
18719
35eae264
EZ
187202011-04-02 Eli Zaretskii <eliz@gnu.org>
18721
18722 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
18723
26b51db5
JB
187242011-04-01 Juanma Barranquero <lekktu@gmail.com>
18725
18726 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
18727 Use `dolist' rather than `mapcar'.
18728
7200d79c
SM
187292011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
18730
03408648 18731 Add lexical binding.
7200d79c 18732
03408648
SM
18733 * subr.el (apply-partially): Use new closures rather than CL.
18734 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
18735 (dolist, dotimes): Use slightly different expansion for lexical code.
18736 (functionp): Move to C.
18737 (letrec): New macro.
18738 (with-wrapper-hook): Use it and apply-partially instead of CL.
18739 (eval-after-load): Preserve lexical-binding.
18740 (save-window-excursion, with-output-to-temp-buffer): Turn them
18741 into macros.
7200d79c 18742
03408648
SM
18743 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
18744
18745 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
18746 than the arglist.
18747 (help-add-fundoc-usage): Don't add `Not documented'.
18748 (help-function-arglist): Handle closures, subroutines, and new
18749 byte-code-functions.
18750 (help-make-usage): Remove leading underscores.
18751 (describe-function-1): Handle closures.
18752 (describe-variable): Use special-variable-p for completion.
18753
18754 * files.el (lexical-binding): Declare safe.
f488fb65 18755
03408648
SM
18756 * emacs-lisp/pcase.el: Don't use destructuring-bind.
18757 (pcase--memoize): Rename from pcase-memoize. Change weakness.
18758 (pcase): Add `let' pattern.
18759 Change memoization so it actually works.
18760 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
18761 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
18762 <let>: New case.
f488fb65 18763
03408648
SM
18764 * emacs-lisp/macroexp.el: Use lexical binding.
18765 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
18766 Don't convert ' to #' without checking that it's indeed quoting
18767 a lambda.
18768
18769 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 18770 Use eval-sexp-add-defvars.
03408648
SM
18771 (eval-sexp-add-defvars): New fun.
18772
18773 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
18774
18775 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
18776 Don't autoload.
18777 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
18778 than the internal `byte-compile-lambda'.
18779 (defmethod): Don't hide code under quotes.
18780 (eieio-defmethod): New `code' argument.
18781
18782 * emacs-lisp/eieio-comp.el: Remove.
18783
18784 * emacs-lisp/edebug.el (edebug-eval-defun)
18785 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
18786 (edebug-toggle): Avoid `eval'.
18787
18788 * emacs-lisp/disass.el (disassemble-internal): Handle new
18789 `closure' objects.
18790 (disassemble-1): Handle new byte codes.
18791
18792 * emacs-lisp/cl.el (pushnew): Silence warning.
18793
18794 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
18795 (cl-byte-compile-throw): Remove.
18796 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
18797
18798 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
18799 closures.
18800
18801 * emacs-lisp/cconv.el: New file.
18802
18803 * emacs-lisp/bytecomp.el: Use lexical binding instead of
18804 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
18805 (byte-compile-initial-macro-environment):
18806 Handle declare-function here.
18807 (byte-compile--lexical-environment): New var.
18808 (byte-stack-ref, byte-stack-set, byte-discardN)
18809 (byte-discardN-preserve-tos): New lap codes.
18810 (byte-interactive-p): Don't use any more.
18811 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
18812 New macros.
18813 (byte-compile-lapcode): Use them and handle new lap codes.
18814 (byte-compile-obsolete): Remove.
18815 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
18816 (byte-compile-arglist-warn): Check late def of inlinable funs.
18817 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
18818 since they should have been expanded by now.
18819 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
18820 (byte-compile-from-buffer): Remove unused second arg.
18821 (byte-compile-preprocess): New function.
18822 (byte-compile-toplevel-file-form): New function to distinguish
18823 file-form calls from outside from file-form calls from hunk-handlers.
18824 (byte-compile-file-form): Simplify.
18825 (byte-compile-file-form-defsubst): Remove.
18826 (byte-compile-file-form-defmumble): Simplify now that
18827 byte-compile-lambda always returns a byte-code-function.
18828 (byte-compile): Preprocess.
18829 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
18830 Remove, not used any more.
18831 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
18832 (byte-compile-make-args-desc): New funs.
18833 (byte-compile-lambda): Handle lexical functions. Always return
18834 a byte-code-function.
18835 (byte-compile-reserved-constants): New var, to make up room for
18836 closed-over variables.
18837 (byte-compile-constants-vector): Obey it.
18838 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
18839 (byte-compile-macroexpand-declare-function): New function.
18840 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
18841 byte-code-functions.
18842 (byte-compile-form): Check obsolescence here.
18843 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
18844 (byte-compile-variable-ref): Remove.
18845 (byte-compile-dynamic-variable-op): New fun.
18846 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
18847 (byte-compile-variable-set): New funs.
18848 (byte-compile-discard): Add 2 args.
18849 (byte-compile-stack-ref, byte-compile-stack-set)
18850 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
18851 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
18852 macroexpand-all instead.
18853 (byte-compile-quote-form): Remove.
18854 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
18855 (byte-compile-bind, byte-compile-unbind): New funs.
18856 (byte-compile-let): Handle let* and lexical binding.
18857 (byte-compile-let*): Remove.
18858 (byte-compile-catch, byte-compile-unwind-protect)
18859 (byte-compile-track-mouse, byte-compile-condition-case):
18860 Handle a new :fun-body form, used for lexical scoping.
18861 (byte-compile-save-window-excursion)
18862 (byte-compile-with-output-to-temp-buffer): Remove.
18863 (byte-compile-defun): Simplify.
18864 (byte-compile-stack-adjustment): New fun.
18865 (byte-compile-out): Use it.
18866 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
18867
18868 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
18869 handler any more.
18870
18871 * emacs-lisp/byte-opt.el: Use lexical binding.
18872 (byte-inline-lapcode): Remove (to bytecomp).
18873 (byte-compile-inline-expand): Pay attention to inlining to/from
18874 lexically bound code.
18875 (byte-compile-unfold-lambda): Don't handle byte-code-functions
18876 any more.
18877 (byte-optimize-form-code-walker): Don't handle save-window-excursion
18878 any more and don't call compiler-macros.
18879 (byte-compile-splice-in-already-compiled-code): Remove.
18880 (byte-code): Don't inline any more.
18881 (disassemble-offset): Receive `bytes' as argument rather than via
18882 dynamic scoping.
18883 (byte-compile-tag-number): Declare before first use.
18884 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
18885 `return' even if make-spliceable.
18886 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
18887 obsolete interactive-p.
18888 (byte-optimize-lapcode): Optimize new lap-codes.
18889 Don't trip up on new form of `byte-constant' lap code.
18890
18891 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
18892
18893 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
18894
18895 * custom.el (custom-initialize-default, custom-declare-variable):
18896 Use `defvar'.
18897
18898 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
18899 New variables.
18900 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
18901 (COMPILE_FIRST): Add macroexp and cconv.
18902 * makefile.w32-in: Mirror changes in Makefile.in.
18903
18904 * vc/cvs-status.el:
18905 * vc/diff-mode.el:
18906 * vc/log-edit.el:
18907 * vc/log-view.el:
18908 * vc/smerge-mode.el:
18909 * textmodes/bibtex-style.el:
090bd7cb 18910 * textmodes/css-mode.el:
03408648
SM
18911 * startup.el:
18912 * uniquify.el:
da91b5f2
CY
18913 * minibuffer.el:
18914 * newcomment.el:
18915 * reveal.el:
18916 * server.el:
18917 * mpc.el:
18918 * emacs-lisp/smie.el:
18919 * doc-view.el:
18920 * dired.el:
03408648
SM
18921 * abbrev.el: Use lexical binding.
18922
0f0c1f27
EZ
189232011-04-01 Eli Zaretskii <eliz@gnu.org>
18924
18925 * info.el (info-display-manual): New function.
18926
c82b2579
SM
189272011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
18928
18929 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
18930
221ddf68
TH
189312011-03-31 Tassilo Horn <tassilo@member.fsf.org>
18932
18933 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 18934 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 18935
cba6e77e
GM
189362011-03-31 Glenn Morris <rgm@gnu.org>
18937
e040639f
GM
18938 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
18939
cba6e77e
GM
18940 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
18941
6d0f1c9e
CS
189422011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
18943
18944 * progmodes/python.el (python-default-interpreter)
18945 (python-python-command-args, python-jython-command-args)
18946 (python-which-shell, python-which-args, python-which-bufname)
18947 (python-file-queue, python-comint-output-filter-function)
18948 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
18949 variables and functions.
18950
3e2d70fd
SM
189512011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
18952
18953 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
18954 (completion-in-region-mode): New minor mode.
18955 (completion-in-region): Use it.
18956 (completion-in-region--data, completion-in-region-mode-map): New vars.
18957 (completion-in-region--postch): New function.
18958 (completion--capf-misbehave-funs, completion--capf-safe-funs):
18959 New vars.
18960 (completion--capf-wrapper): New function.
18961 (completion-at-point): Use it to track well-behavedness of
18962 hook functions.
18963 (completion-help-at-point): New command.
18964
f3e4086c
JM
189652011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
18966
18967 * vc/add-log.el (add-change-log-entry): Don't use whitespace
18968 syntax class to search for whitespace on a single line
18969 (Message-ID: <4D938140.4030905@redhat.com>).
18970
eb7ffc14
LL
189712011-03-30 Leo Liu <sdl.web@gmail.com>
18972
18973 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
18974 New commands.
18975 (edit-abbrevs-map): Bind them here.
18976 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
18977
d806ab68
KM
189782011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
18979
18980 * allout.el (allout-hide-by-annotation, allout-flag-region):
18981 Reduce possibility of overlay leakage by making them volatile.
18982
18983 * allout-widgets.el (allout-widgets-tally): Define as nil so the
18984 hash is not shared between buffers. Mode initialization is
18985 responsible for giving it a useful starting value.
18986 (allout-item-span): Reduce possibility of overlay leakage by
18987 making them volatile.
18988 (allout-widgets-count-buttons-in-region): Add diagnostic function
18989 for tracking down button overlay leaks.
18990
ea622834
LL
189912011-03-29 Leo Liu <sdl.web@gmail.com>
18992
18993 * ido.el (ido-read-internal): Use the default history var
18994 minibuffer-history if no HISTORY is specified.
18995
b62f8267
G
189962011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
18997
03408648
SM
18998 * net/imap.el (imap-shell-open, imap-process-connection-type):
18999 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
19000 Kerberos, SSL, other subprocesses.
19001
947b6566
LL
190022011-03-28 Leo Liu <sdl.web@gmail.com>
19003
19004 * abbrev.el (abbrev-table-empty-p): New function.
19005 (prepare-abbrev-list-buffer): Place empty abbrev tables after
19006 nonempty ones. (Bug#5937)
19007
5ffb62aa
JD
190082011-03-27 Jan Djärv <jan.h.d@swipnet.se>
19009
19010 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
19011
7a097943
LL
190122011-03-27 Leo Liu <sdl.web@gmail.com>
19013
19014 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
19015 for foreground and background colors.
19016 (ansi-color-make-color-map): Adapt.
19017
c5b40130
LL
190182011-03-25 Leo Liu <sdl.web@gmail.com>
19019
1f48f7d2
LL
19020 * midnight.el (midnight-time-float): Remove. Note it calculates
19021 the microsecond component incorrectly and seconds-to-time does the
19022 same job.
625897ec 19023 Remove redundant (require 'timer).
1f48f7d2 19024
c5b40130
LL
19025 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
19026 (ido-completions): Remove unused arguments. (Bug#8329)
19027
d86d2721
SM
190282011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
19029
19030 * minibuffer.el (completion--flush-all-sorted-completions):
19031 Remove itself from hook.
19032 (completion-at-point): Let the functions perform the completion
19033 immediately and return nil or t.
19034 * comint.el (comint-dynamic-complete-functions): Now identical to
19035 completion-at-point-functions.
19036 (comint-dynamic-list-input-ring): Remove unused var `index'.
19037 (comint--match-partial-filename, comint--unquote&expand-filename):
19038 New funs, split from comint-match-partial-filename.
19039 (comint-dynamic-complete): Use completion-at-point.
19040 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
19041
e8974c48
DA
190422011-03-24 Drew Adams <drew.adams@oracle.com>
19043
19044 * thingatpt.el: Support `defun'.
19045
def71b5e
LL
190462011-03-23 Leo Liu <sdl.web@gmail.com>
19047
cb5af48e
LL
19048 * abbrevlist.el: Move to obsolete/abbrevlist.el.
19049
def71b5e
LL
19050 * help-mode.el (help-mode-finish): Tweak regexp.
19051
927c53e7
GM
190522011-03-23 Glenn Morris <rgm@gnu.org>
19053
18d05bed
GM
19054 * eshell/esh-opt.el (eshell-eval-using-options):
19055 Do not bind unused local variable `eshell-option-stub'.
19056
927c53e7
GM
19057 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
19058
9d0da923
JB
190592011-03-22 Juanma Barranquero <lekktu@gmail.com>
19060
19061 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
19062 keymap variable in `with-no-warnings' to avoid a warning when the
19063 keymap has been already `defconst'ed.
19064
4b978a67
LL
190652011-03-22 Leo Liu <sdl.web@gmail.com>
19066
19067 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
19068 encode all chars in abbrevs; otherwise use emacs-mule or
19069 utf-8-emacs. (Bug#8308)
19070
5fd62452
JB
190712011-03-22 Juanma Barranquero <lekktu@gmail.com>
19072
0b1596c6
JB
19073 * simple.el (backward-delete-char-untabify):
19074 Avoid warning about using `delete-backward-char'.
19075
5fd62452
JB
19076 * image.el (image-type-file-name-regexps): Make it variable.
19077 `imagemagick-register-types' modifies it, and the user may want
19078 to add new extensions for known image types.
19079 (imagemagick-register-types): Throw error if not using ImageMagick.
19080
0b4e93f1
LL
190812011-03-22 Leo Liu <sdl.web@gmail.com>
19082
19083 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
19084 located before rcirc-prompt-end-marker.
19085 (rcirc-complete): Error if point is not after rcirc prompt.
19086 Handle the case when table is nil.
9882e214 19087 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 19088
fccee4ab
CY
190892011-03-22 Chong Yidong <cyd@stupidchicken.com>
19090
19091 * custom.el (custom--inhibit-theme-enable): Make it affect only
19092 custom-theme-set-variables and custom-theme-set-faces.
19093 (provide-theme): Ignore custom--inhibit-theme-enable.
19094 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
19095 (custom-enabling-themes): Delete variable.
d86d2721
SM
19096 (enable-theme): Accept only loaded themes as arguments.
19097 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
19098 (custom-enabled-themes): Forbid themes from setting this.
19099 Eliminate use of custom-enabling-themes.
19100 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 19101
af896da6
LL
191022011-03-21 Leo Liu <sdl.web@gmail.com>
19103
19104 * ido.el (ido-read-internal): Add ido-selected to history instead
19105 of user input.
19106
78f64af0
SM
191072011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
19108
19109 * subr.el (deferred-action-list, deferred-action-function):
19110 Mark obsolete.
19111
b16ac1ec
LL
191122011-03-21 Leo Liu <sdl.web@gmail.com>
19113
810f7698
LL
19114 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
19115 change on 2011-02-13 (bug#8309).
19116
b16ac1ec
LL
19117 * minibuffer.el (read-file-name-function): Change default value.
19118 (read-file-name--defaults): Rename from read-file-name-defaults.
19119 (read-file-name-default): Rename from read-file-name.
19120 (read-file-name): Call read-file-name-function.
19121
4e05e67e
GM
191222011-03-21 Glenn Morris <rgm@gnu.org>
19123
19124 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
19125 Doc fixes.
19126
4359915b
CY
191272011-03-21 Chong Yidong <cyd@stupidchicken.com>
19128
19129 * cus-theme.el: Add missing provide statement.
19130 (customize-create-theme): Extract theme value correctly.
19131 (custom-theme-visit-theme): Autoload.
19132 (customize-create-theme): Prompt before inserting default faces.
19133
1fe275ee
JB
191342011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
19135
19136 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
19137 units and musical notes.
19138
cd394be1 191392011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
19140
19141 * ido.el (ido-read-internal): Use completing-read-default.
19142 (ido-completing-read): Fix compatibility with completing-read.
19143
7d476bde
CO
191442011-03-20 Christian Ohler <ohler@gnu.org>
19145
19146 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
19147 (ert-delete-all-tests): Use `called-interactively-p' rather than
19148 `interactive-p'.
19149 (ert--make-xrefs-region): Respect END.
19150
fe0fb33e
CY
191512011-03-19 Chong Yidong <cyd@stupidchicken.com>
19152
ff854b0b
CY
19153 * dired-aux.el (dired-create-directory): Signal an error if the
19154 directory already exists (Bug#8246).
19155
fe0fb33e
CY
19156 * facemenu.el (list-colors-display): Call list-faces-display
19157 inside with-help-window.
19158 (list-colors-print): Use display property to align the final
19159 column, instead of checking window-width.
19160
576bce32
EZ
191612011-03-19 Eli Zaretskii <eliz@gnu.org>
19162
4d61f28d 19163 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
19164 windows-nt systems.
19165 (emerge-protect-metachars): Quote correctly for ms-dos and
19166 windows-nt systems.
19167
89c41d68 191682011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
19169
19170 * info.el (info-initialize): Replace all uses of `:' with
19171 path-separator for compatibility with non-Unix systems.
19172 Cache quoting of path-separator. (Bug#8258)
19173
b14e3e21 191742011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
19175
19176 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
19177 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
19178 (mouse-avoidance-mode): Fix typos in docstrings.
19179
4525ce3e
CY
191802011-03-19 Chong Yidong <cyd@stupidchicken.com>
19181
19182 * startup.el (package-subdirectory-regexp): Move from package.el.
19183 Omit \\` and \\', and let callers add them.
19184
19185 * emacs-lisp/package.el (package-strip-version)
19186 (package-load-all-descriptors): Add \\` and \\' to
19187 package-subdirectory-regexp before using it.
19188 (package-untar-buffer): New arg DIR; ensure that file untars only
19189 into this expected directory. Remove superfluous delete-region.
19190 (package-unpack): Caller changed.
19191 (package-tar-file-info): Use package-subdirectory-regexp.
19192
a904a09a 191932011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 19194
a904a09a
SM
19195 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
19196 diff-mode-shared-map (bug#8284).
19197 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
19198
191992011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
19200
19201 * calendar/time-date.el (format-seconds): Use assoc instead of
19202 assoc-string, since assoc-string doesn't exist in XEmacs.
19203
171fc304
JB
192042011-03-17 Juanma Barranquero <lekktu@gmail.com>
19205
19206 * custom.el (custom-known-themes): Reflow docstring.
19207 (custom-theme-load-path): Fix typo in docstring.
19208 (load-theme): Fix typo in error message.
19209 (custom-available-themes, custom-variable-theme-value):
19210 Use `let', not `let*'.
19211
d71990a1
JB
192122011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
19213
19214 * calc/README: Mention inclusion of musical notes.
19215
19216 * calc/calc-units.el (calc-lu-quant): Rename from
19217 `calc-logunits-quantity'.
19218 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
19219 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
19220 (calc-db): Rename from `calc-dblevel'.
19221 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
19222 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
19223 (calc-np): Rename from `calc-nplevel'.
19224 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
19225 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
19226 (calc-lu-plus): Rename from `calc-logunits-add'.
19227 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
19228 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
19229 (calc-lu-minus): Rename from `calc-logunits-sub'.
19230 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
19231 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
19232 (calc-lu-times): Rename from `calc-logunits-mul'.
19233 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
19234 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
19235 (calc-lu-divide): Rename from `calc-logunits-div'.
19236 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
19237 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
19238
19239 * calc/calc-ext.el (calc-init-extensions): Update the names of the
19240 functions being autoloaded.
19241
19242 * calc/calc.el (calc-lu-power-reference): Rename from
19243 `calc-logunits-power-reference'.
19244 (calc-lu-field-reference): Rename from
19245 `calc-logunits-field-reference'.
19246
7a71b18d
GM
19247 * calc/calc-help.el (calc-l-prefix-help):
19248 Mention musical note functions.
d71990a1 19249
40c2934b
SM
192502011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
19251
19252 * minibuffer.el (completion-all-sorted-completions):
19253 Use :completion-cycle-penalty text property if present.
19254
b0911414
KM
192552011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
19256
19257 * allout.el (allout-yank-processing): Adjust for new rebulleting
19258 regime so bullet being yanked is used without prompting the user
19259 for a choice.
19260
8a05b668
JB
192612011-03-16 Juanma Barranquero <lekktu@gmail.com>
19262
19263 * startup.el (command-line): Warn the user that _emacs is deprecated.
19264
5ba5fb81
JB
192652011-03-16 Juanma Barranquero <lekktu@gmail.com>
19266
19267 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
19268 (delphi-verbose, delphi-comment-face, delphi-string-face)
19269 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
19270 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
19271 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
19272 (delphi-new-comment-line, delphi-font-lock-defaults)
19273 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
19274 Fix typos in docstrings.
19275
2dab465b
KM
192762011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
19277
5ba5fb81 19278 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
19279 Invert the roles of character and string values for INSTEAD, so a
19280 string is used for the more common case of a defaulting prompt.
19281
0adf5618
SM
192822011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
19283
19284 * progmodes/ruby-mode.el (ruby-backward-sexp):
19285 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
19286 * play/gamegrid.el (gamegrid-make-face):
19287 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
19288 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
19289 * notifications.el (notifications-notify):
19290 * net/xesam.el (xesam-search-engines):
19291 * net/quickurl.el (quickurl-list-insert):
19292 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
19293
d72700e5
CY
192942011-03-15 Chong Yidong <cyd@stupidchicken.com>
19295
19296 * startup.el (command-line): Update package subdirectory regexp.
19297
49c5410a
SM
192982011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
19299
c6eee9aa
SM
19300 * allout.el (allout-abbreviate-flattened-numbering)
19301 (allout-mode-deactivate-hook): Fix up obsolescence "date".
19302
49c5410a
SM
19303 * subr.el (read-char-choice): Only show the cursor after the prompt,
19304 not after the answer.
19305
047b2bb9
KR
193062011-03-15 Kevin Ryde <user42@zip.com.au>
19307
19308 * help-fns.el (variable-at-point): Skip leading quotes, if any
19309 (bug#8253).
19310
0a57d256
SM
193112011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
19312
19313 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
19314 warning message.
19315
77c992bc
MA
193162011-03-14 Michael Albinus <michael.albinus@gmx.de>
19317
19318 * shell.el (shell): When called interactively, offer to change the
19319 shell file name on remote hosts.
19320
eebc475d
TZ
193212011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
19322
19323 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
19324 integration for LDAP parameters. The host, base, user or binddn,
19325 and secret tokens can be specified in a netrc file, for instance.
19326 This is optional because an `auth-source' parameter must be
19327 specified in the search attributes.
19328
9d05d1ba
JB
193292011-03-13 Juanma Barranquero <lekktu@gmail.com>
19330
19331 * help.el (describe-mode): Link to the mode's definition (bug#8185).
19332
09d9db2c
GM
193332011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
19334
19335 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
19336 into declaration. Remove redundant and harmful binding.
19337
193382011-03-12 Eli Zaretskii <eliz@gnu.org>
19339
19340 * files.el (file-ownership-preserved-p): Pass `integer' as an
19341 explicit 2nd argument to `file-attributes'. If the file's owner
19342 is the Administrators group on Windows, and the current user is
19343 Administrator, consider that a match.
19344
19345 * server.el (server-ensure-safe-dir): Consider server directory
19346 safe on MS-Windows if its owner is the Administrators group while
19347 the current Emacs user is Administrator. Use `=' to compare
19348 numerical UIDs, since they could be integers or floats.
19349
219bd536
JB
193502011-03-12 Juanma Barranquero <lekktu@gmail.com>
19351
19352 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
19353
f3afd36b
MA
193542011-03-12 Michael Albinus <michael.albinus@gmx.de>
19355
19356 Sync with Tramp 2.2.1.
19357
19358 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
19359
19360 * net/trampver.el: Update release number.
19361
3aaaa6f1
SM
193622011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
19363
94642599
SM
19364 * progmodes/compile.el (compilation--previous-directory): Fix up
19365 various nil/dead-marker mismatches (bug#8014).
19366 (compilation-directory-properties, compilation-error-properties):
19367 Don't call it at a position past the one we're about to change.
19368
3aaaa6f1
SM
19369 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
19370 Disable obsolescence warnings in the file that declares it.
19371
14239447
KM
193722011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
19373
099c39a4
JB
19374 * allout-widgets.el (allout-widgets-tally):
19375 Initialize allout-widgets-tally as a hash table rather than nil to
19376 prevent mode-line redisplay warnings. Also, clarify the module
19377 description and fix a comment typo.
14239447 19378
135e287c
JB
193792011-03-11 Juanma Barranquero <lekktu@gmail.com>
19380
19381 * help-fns.el (describe-variable): Don't complete keywords.
19382 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
19383
ffbf300e
CY
193842011-03-10 Chong Yidong <cyd@stupidchicken.com>
19385
ba08b241
CY
19386 * emacs-lisp/package.el (package-version-join): Impose a standard
19387 string representation for pre/alpha/beta version lists.
19388 (package-unpack-single): Standardize the directory name by passing
19389 it through package-version-join.
19390 (package-strip-rcs-id): Accept any version string that does not
19391 signal an error in version-to-list.
ffbf300e 19392
f346fd6b
MA
193932011-03-10 Michael Albinus <michael.albinus@gmx.de>
19394
19395 * simple.el (delete-trailing-whitespace): Return nil for the
19396 benefit of `write-file-functions'.
19397
ccb55d27
GM
193982011-03-10 Glenn Morris <rgm@gnu.org>
19399
5ceaac0c
GM
19400 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
19401
02da65ff
GM
19402 * vc/vc-git.el (vc-git-program): New option.
19403 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
19404 (vc-git--call): Use it.
19405
b2f603cc
GM
19406 * eshell/esh-util.el (eshell-condition-case): Doc fix.
19407
5772caab
GM
19408 * cus-edit.el (Custom-newline): If no button at point, look
19409 for a subgroup button at start-of-line. (Bug#2298)
19410
ccb55d27
GM
19411 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
19412
ec6ecaed
JD
194132011-03-10 Julien Danjou <julien@danjou.info>
19414
19415 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
19416 `cursor-type' is nil.
19417
9d5aa01d
JB
194182011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
19419
19420 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
19421
b6a5875b
KM
194222011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
19423
7a71b18d 19424 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
19425 preserves the existing header prefix, rebulleting it if necessary,
19426 rather than replacing it. This is necessary for proper operation
19427 of cooperative addons like allout-widgets.
1154d12e
JB
19428 (allout-make-topic-prefix, allout-rebullet-heading):
19429 Change SOLICIT arg to INSTEAD, and interpret additionally a string
19430 value as alternate bullet to be used, instead of prompting the user
19431 for a bullet character.
b6a5875b 19432
ee545c35
MA
194332011-03-09 Michael Albinus <michael.albinus@gmx.de>
19434
d86d2721
SM
19435 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
19436 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
19437 `tramp-default-port'.
19438
c47971d7
DD
194392011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
19440
19441 * net/rcirc.el (rcirc-handler-001): Remove useless
19442 with-rcirc-process-buffer.
19443 (rcirc-check-auth-status): Swap arguments to string-match.
19444
13522cb4
GM
194452011-03-09 Glenn Morris <rgm@gnu.org>
19446
0be6f4f1
GM
19447 * shell.el (shell-mode):
19448 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
19449
13522cb4
GM
19450 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
19451 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
19452
515de2e3
CY
194532011-03-08 Chong Yidong <cyd@stupidchicken.com>
19454
19455 * emacs-lisp/package.el (package-refresh-contents)
19456 (package-menu-execute): Use condition-case-no-debug.
19457
b511b994
MA
194582011-03-08 Michael Albinus <michael.albinus@gmx.de>
19459
19460 * simple.el (shell-command-to-string): Use `process-file'.
19461
19462 * emacs-lisp/package.el (package-tar-file-info): Handle also
19463 remote files.
19464
d86d2721
SM
19465 * emacs-lisp/package-x.el (package-upload-buffer-internal):
19466 Use `equal' for upload base check.
b511b994 19467
25bbfb31
AM
194682011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
19469
19470 * textmodes/texinfo.el (texinfo-environments):
19471 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
19472
be996521
GM
194732011-03-08 Glenn Morris <rgm@gnu.org>
19474
e9c8529f
GM
19475 * cus-start.el (cursor-in-non-selected-windows):
19476 Fix :set quoting oddness. (Bug#8192)
19477
be996521
GM
19478 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
19479 in some setf expressions. (Bug#2159)
19480
2bb5649e
CY
194812011-03-08 Chong Yidong <cyd@stupidchicken.com>
19482
19483 * custom.el (custom-available-themes): Return themes in
19484 alphabetical order.
19485
33383987 19486See ChangeLog.15 for earlier changes.
e3d51b27
MR
19487
19488;; Local Variables:
19489;; coding: utf-8
e3d51b27
MR
19490;; End:
19491
acaf905b 19492 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
19493
19494 This file is part of GNU Emacs.
19495
19496 GNU Emacs is free software: you can redistribute it and/or modify
19497 it under the terms of the GNU General Public License as published by
19498 the Free Software Foundation, either version 3 of the License, or
19499 (at your option) any later version.
19500
19501 GNU Emacs is distributed in the hope that it will be useful,
19502 but WITHOUT ANY WARRANTY; without even the implied warranty of
19503 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19504 GNU General Public License for more details.
19505
19506 You should have received a copy of the GNU General Public License
19507 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.