* lisp/files.el (load-file): Require match in minibuffer selection, as was
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
855b17af
SM
12012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
2
ac5392dc
SM
3 * files.el (load-file): Require match in minibuffer selection, as was
4 the case in Emacs-20 before we changed the spec to allow .elc files
5 (bug#12935).
6
19dc7206
SM
7 * json.el: Don't require cl since we don't use it.
8 * color.el: Don't require cl.
9 (color-complement): `caddr' -> `nth 2'.
10
855b17af
SM
11 * calendar/time-date.el (time-to-seconds): De-obsolete.
12
e8909bdc
JB
132012-11-19 Jay Belanger <jay.p.belanger@gmail.com>
14
15 * calc/calc-forms.el (math-leap-year-p): Fix formula for negative
16 year numbers.
17 (math-date-to-julian-dt): Adjust the initial approximation for the
18 year to deal with the new definition of the DATE.
19
6e9f7997
DC
202012-11-19 Daniel Colascione <dancol@dancol.org>
21
855b17af
SM
22 * term/w32-win.el (cygwin-convert-path-from-windows):
23 Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
6e9f7997 24
6a3dd257
CY
252012-11-18 Chong Yidong <cyd@gnu.org>
26
27 * filecache.el (file-cache--read-list): New function.
28 (file-cache-add-directory-list, file-cache-add-file-list)
29 (file-cache-delete-file-list, file-cache-delete-directory-list):
30 Use it to read a list of files or directories (Bug#12846).
31 (file-cache-add-file, file-cache-add-directory)
32 (file-cache-delete-file-list, file-cache-delete-file-regexp)
33 (file-cache-delete-directory): Print an message.
34
eef97f35
JB
352012-11-18 Jay Belanger <jay.p.belanger@gmail.com>
36
37 * calc/calc-forms.el (math-date-to-dt): Use integer date when
38 calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
39
913c8291
GM
402012-11-18 Glenn Morris <rgm@gnu.org>
41
42 * image.el (insert-image, insert-sliced-image): Doc fix.
43
2ac9538d 442012-11-18 Chong Yidong <cyd@gnu.org>
ec6f8ce6
CY
45
46 * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
47 (Bug#12810).
48
2ac9538d 492012-11-18 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
c2d07557
CY
50
51 * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
52 response when the target file is in a subdirectory (Bug#12757).
53
2ac9538d 542012-11-18 Chong Yidong <cyd@gnu.org>
33f8917c
CY
55
56 * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
57
2ac9538d 582012-11-18 Glenn Morris <rgm@gnu.org>
65463c40 59
9a5e2ee3
GM
60 * emacs-lisp/cl-lib.el (face-underline-p):
61 Use set-face-underline rather than the alias set-face-underline-p.
62
65463c40 63 * window.el (with-temp-buffer-window): Doc fix.
95f0501e
GM
64 * subr.el (with-output-to-temp-buffer):
65 Add doc xref to with-temp-buffer-window.
65463c40 66
c9ed8e3d
JB
672012-11-18 Juanma Barranquero <lekktu@gmail.com>
68
69 * woman.el (woman-non-underline-faces): Use `set-face-underline'.
70 * calc/calc.el (math-format-date-cache): Declare.
71
310e60d9
PE
722012-11-17 Paul Eggert <eggert@cs.ucla.edu>
73
74 * calc/calc-forms.el (math-julian-date-beginning)
75 (math-julian-date-beginning-int): Implement [new date numbering].
76
d7fe6352
JB
772012-11-17 Juanma Barranquero <lekktu@gmail.com>
78
79 * descr-text.el (quail-find-key):
80 * dired.el (desktop-file-name):
81 * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
82 * generic-x.el (comint-mode, comint-exec):
83 * image-dired.el (widget-forward):
84 * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
85 (speedbar-change-expand-button-char)
86 (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
87 (speedbar-make-specialized-keymap, speedbar-make-tag-line):
88 * printing.el (easy-menu-add-item, easy-menu-remove-item)
89 (widget-field-action, widget-value-set):
90 * speedbar.el (imenu--make-index-alist):
91 * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
92 (ring-length, ring-insert):
93 * vcursor.el (compare-windows-skip-whitespace):
94 * woman.el (dired-get-filename):
95 Declare functions.
96
97 * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
98
c9f618db
JB
992012-11-17 Jay Belanger <jay.p.belanger@gmail.com>
100
101 * calc/calc.el (calc-gregorian-switch): New variable.
102
103 * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
104 (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
105 (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
106 (math-leap-year-p): Add option to distinguish between Julian
107 and Gregorian calendars.
108 (math-day-number): Use `math-day-in-year' to do the computations.
109 (math-absolute-from-dt): Rename from `math-absolute-from-date'.
110 Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
111 to do the computations.
112 (math-date-to-dt): Use `math-date-to-julian-dt' and
113 `math-date-to-gregorian-dt' to do the computations.
114 (calcFunc-weekday, math-format-date-part): Use the new version of
115 the DATE to determine the weekday.
116 (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
117 when necessary.
118
3804f7bc
EZ
1192012-11-17 Eli Zaretskii <eliz@gnu.org>
120
121 * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
122 Cygwin; otherwise use 'file:'. (Bug#12914)
123 (cygwin-convert-path-from-windows): Declare, to avoid
124 byte-compiler warnings.
125
de959d4d
AP
1262012-11-17 Andreas Politz <politza@fh-trier.de>
127
128 * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
129 (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
130 prefix and negative numeric prefix args (Bug#12795).
131
e45deaef
SB
1322012-11-17 Stephen Berman <stephen.berman@gmx.net>
133
134 * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
135 Don't signal an error with a score that is too low to add to the
136 list of top scores. (Bug#12779)
137
ec15e0ff
CY
1382012-11-17 Chong Yidong <cyd@gnu.org>
139
8e7696a1
CY
140 * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
141
ec15e0ff
CY
142 * filecache.el (file-cache-add-file): Handle relative file name in
143 the argument (Bug#12694).
144
60c4ee66
JH
1452012-11-16 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
146
147 * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
148
cdc5d88c
SM
1492012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
150
dd0c5bbb
SM
151 * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
152
cdc5d88c
SM
153 * emacs-lisp/cl-lib.el: Set more meaningful version number.
154
0ff7851c
MR
1552012-11-16 Martin Rudalics <rudalics@gmx.at>
156
157 * window.el (enlarge-window, shrink-window): Don't mention return
158 value in doc-string (Bug#12896).
159 (window--display-buffer): Don't resize frames - it won't work
160 with all window managers and defeat pop-up-frame-alist.
161 (display-buffer-alist): In doc-string explain that CONDITION can
162 be a function and which arguments are passed to it (Bug#12854).
163 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
164 expressions (Bug#12854).
165 (display-buffer): Pass ACTION argument to
166 display-buffer-assq-regexp.
167
dedd1884
GM
1682012-11-16 Glenn Morris <rgm@gnu.org>
169
7c82753d
GM
170 * window.el (fit-frame-to-buffer-bottom-margin)
171 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
172
dedd1884
GM
173 * faces.el (face-underline-p): Use face-attribute-specified-or.
174
96e05507 1752012-11-16 Juanma Barranquero <lekktu@gmail.com>
662b0ee6
JB
176
177 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
178
96e05507 1792012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
eb31fa40
SM
180
181 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
182
96e05507 1832012-11-16 Glenn Morris <rgm@gnu.org>
e2e13f18 184
17c083ac
GM
185 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
186 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
187
bde3c6c0
GM
188 * faces.el (face-underline-p): Doc fix. Handle :underline being
189 things other than `t' (a string, a list).
190 (face-inverse-video-p): Doc fix.
191 (set-face-underline): Rename it back from set-face-underline-p.
192 Doc fix. Allow interactive input of values other than t.
193 (read-face-attribute): Apply formatting to :underline,
194 since like :box and :stipple it can take list values.
195
e2e13f18
GM
196 * term.el (ansi-term): Don't let C-x escape-char binding
197 clobber the more standard C-c binding. (Bug#12842)
198
e0ea8060
GM
199 * subr.el (set-temporary-overlay-map): Doc fix.
200
96e05507 2012012-11-16 Martin Rudalics <rudalics@gmx.at>
92346275
MR
202
203 * window.el (record-window-buffer)
204 (display-buffer-record-window): When copying the markers to
205 window-point preserve window-point-insertion-type. (Bug#12588)
206
96e05507 2072012-11-16 Glenn Morris <rgm@gnu.org>
7b1bf173
GM
208
209 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
210 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
211 Use new names for hooks rather than obsolete aliases.
212
faeafc01
DC
2132012-11-15 Daniel Colascione <dancol@dancol.org>
214
215 * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
9533048d
DC
216 prefix instead of "file:" so that when FILE-NAME begins with "//",
217 as it does when the target file is on a network share, url-handler
218 isn't confused.
219
1232d6c2
SM
2202012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
221
222 * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
223 a preactivated advice from an old advice.el; they're not compatible!
224
47f01a8a
KY
2252012-11-15 Katsumi Yamaoka <yamaoka@jpl.org>
226
227 * emacs-lisp/nadvice.el (advice--make-interactive-form):
228 Fix string-spec case.
229
230 * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
231
a61428c4
SM
2322012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
233
234 * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
235 (advice--buffer-local-function-sample): New var.
236 (advice--set-buffer-local, advice--buffer-local): New functions.
237 (add-function, remove-function): Use them.
238
875ce3a7
DA
2392012-11-15 Drew Adams <drew.adams@oracle.com>
240
241 * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
242
589fc479
SM
2432012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
244
245 * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
246 potential binding of print-gensym to t, and prettify (back)quotes in
247 case they appear in args's default values (bug#12884).
248
1668ea90
SM
2492012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
250
251 * emacs-lisp/nadvice.el: Add around advice for interactive specs.
252 (advice-eval-interactive-spec): New function.
253 (advice--make-interactive-form): Support around advice (bug#12844).
254
8619323f
DG
2552012-11-14 Dmitry Gutov <dgutov@yandex.ru>
256
257 * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
258 more strict. Add docstring.
c62792e7
DG
259 (ruby-expression-expansion-re): Extract from
260 `ruby-match-expression-expansion'.
261 (ruby-syntax-propertize-function): After everything else, search
262 for expansions in string literals, mark their insides as
263 whitespace syntax and save match data for font-lock.
264 (ruby-font-lock-keywords): Use the 2nd group from expression
265 expansion matches.
266 (ruby-match-expression-expansion): Use the match data saved to the
267 text property in ruby-syntax-propertize-function.
8619323f 268
9c3912d3
SM
2692012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
270
271 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
272 (bug#12879).
273
5e9419e8
DG
2742012-11-13 Dmitry Gutov <dgutov@yandex.ru>
275
276 * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
277 start/end keyword a bit harder. Works with different values of N.
278 Add more comments.
279 (ruby-end-of-block): Update accordingly.
280
3c442f8b
SM
2812012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
282
fa470af0
SM
283 * woman.el (woman-file-name): Don't mess with unread-command-events
284 (bug#12861).
285
3c442f8b
SM
286 * emacs-lisp/advice.el: Layer on top of nadvice.el.
287 Remove out of date self-require hack.
288 (ad-do-advised-functions): Use simple `dolist'.
289 (ad-advice-name, ad-advice-protected, ad-advice-enabled)
290 (ad-advice-definition): Redefine as functions.
291 (ad-advice-classes): Move before first use.
292 (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
fa470af0 293 (ad-make-mapped-call, ad-make-advised-docstring,ad-make-plain-docstring)
3c442f8b 294 (ad--defalias-fset): Remove functions.
fa470af0 295 (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
3c442f8b
SM
296 (ad-get-orig-definition): Rewrite.
297 (ad-make-advised-definition-docstring): Change base docstring.
298 (ad-real-orig-definition): Rewrite.
299 (ad-map-arglists): Change name of called function.
300 (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
301 (ad-make-advised-definition): Simplify.
302 (ad-assemble-advised-definition): Tweak for new calling context.
fa470af0 303 (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
3c442f8b
SM
304 (ad--defalias-fset): Rename from ad-handle-definition. Make it set the
305 function and call ad-activate if needed.
306 (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
307 (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
308 (ad-compile-function): Compile ad-Advice-*.
309 (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
310 (ad-start-advice, ad-stop-advice): Remove.
311
5745cae6
DG
3122012-11-13 Dmitry Gutov <dgutov@yandex.ru>
313
314 * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
315 period before class method names, not after. Remove handling of
316 one impossible case. Add comments.
317
413d4689
SM
3182012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
319
7db1bda8
SM
320 * emacs-lisp/advice.el: Remove support for freezing.
321 (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
322 (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
323 Remove support for `freeze'.
324
413d4689
SM
325 * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
326 override the default.
327 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
328 cl--dotimes/dolist.
329 * subr.el (dolist, dotimes, declare): Redefine them normally, even when
330 `cl' is loaded.
331
332 * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
333 from add-advice.
334 (advice--strip-macro): New function.
335 (advice--defalias-fset): Use them to handle macros.
336 (advice-add): Use them.
337 (advice-member-p): Correctly handle macros.
338
f178c32d
DG
3392012-11-13 Dmitry Gutov <dgutov@yandex.ru>
340
7db1bda8
SM
341 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
342 Never font-lock the beginning of singleton class as heredoc.
f178c32d 343
f78ee6af 3442012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
f8705f6e
SM
345
346 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
347
f78ee6af 3482012-11-13 Wolfgang Jenkner <wjenkner@inode.at>
9db94175
WJ
349
350 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
f78ee6af
GM
351 39 and 49 (bug#12792). Also, treat unimplemented parameters as 0,
352 thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
9db94175 353
f78ee6af 3542012-11-13 Fabián Ezequiel Gallina <fgallina@cuca>
2e6625b5
FEG
355
356 Fix end-of-defun misbehavior.
357 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
358 python-beginning-of-defun-function. Handle nested defuns
359 correctly.
360 (python-nav-end-of-defun): Rename from
361 python-end-of-defun-function. Ensure forward movement.
f8705f6e 362 (python-info-current-defun): Reimplement to work as intended
2e6625b5
FEG
363 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
364 parent defuns as soon as possible.
365
f78ee6af 3662012-11-13 Glenn Morris <rgm@gnu.org>
24c38527
GM
367
368 * progmodes/flymake.el (flymake-error-bitmap)
369 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
370 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
371
f78ee6af 3722012-11-13 Dmitry Gutov <dgutov@yandex.ru>
d1e1e53d
DG
373
374 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
375 backward, always stop at indentation. Reverts the change from
376 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
377
f78ee6af 3782012-11-13 Glenn Morris <rgm@gnu.org>
68146aa5 379
a1d3e07e
GM
380 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
381 Add ibuffer-filter-by-derived-mode.
382
84acf328
GM
383 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
384 the same name shadowing each other.
385
38785e75
GM
386 * window.el (with-temp-buffer-window): Doc tweak.
387
57fc0fee
GM
388 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
389
6ba6a3e5
GM
390 * help.el (temp-buffer-max-height):
391 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
68146aa5
GM
392 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
393
231d8498
SM
3942012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
395
396 * emacs-lisp/nadvice.el: New package.
397 * subr.el (special-form-p): New function.
398 * emacs-lisp/elp.el: Use lexical-binding and advice-add.
399 (elp-all-instrumented-list): Remove var.
400 (elp-not-profilable): Remove elp-wrapper.
401 (elp-profilable-p): Use autoloadp and special-form-p.
402 (elp--advice-name): New const.
403 (elp-instrument-function): Use advice-add.
404 (elp--instrumented-p): New predicate.
405 (elp-restore-function): Use advice-remove.
406 (elp-restore-all, elp-reset-all): Use mapatoms.
407 (elp-set-master): Use elp--instrumented-p.
408 (elp--make-wrapper): Rename from elp-wrapper, return a function
409 suitable for advice-add. Use cl-inf.
410 (elp-results): Use mapatoms+elp--instrumented-p.
411 * emacs-lisp/debug.el: Use lexical-binding and advice-add.
412 (debug-function-list): Remove var.
413 (debug): Rename arg, and then let-bind it explicitly inside.
414 (debugger-setup-buffer): Rename arg.
415 (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
416 (debugger-frame-number): Adjust to new debug-on-entry setup.
417 (debug--implement-debug-on-entry): Rename from
418 implement-debug-on-entry, add argument.
419 (debugger-special-form-p): Remove, use special-form-p instead.
420 (debug-on-entry): Use advice-add.
421 (debug--function-list): New function.
422 (cancel-debug-on-entry): Use it, along with advice-remove.
423 (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
424 (debugger-list-functions): Use debug--function-list instead of
425 debug-function-list.
426 * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
427 (ad-special-form-p): Remove, use special-form-p instead.
428 (ad-set-advice-info): Use add-function and remove-function.
429 (ad--defalias-fset): Adjust accordingly.
430
19e09879
GM
4312012-11-10 Glenn Morris <rgm@gnu.org>
432
714cebd1
GM
433 * mail/emacsbug.el (report-emacs-bug-tracker-url)
434 (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
435 (report-emacs-bug-create-existing-bugs-buffer)
436 (report-emacs-bug-parse-query-results)
437 (report-emacs-bug-query-existing-bugs): Remove. (Bug#7449)
438
bf67dafa
GM
439 * term.el (term-default-fg-color, term-default-bg-color):
440 Make obsolete, rather than just saying "deprecated" in the doc.
441
19e09879
GM
442 * term.el (term): Rename from `term-face'.
443 (term-current-face, ansi-term-color-vector)
444 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
445 Update all users.
446
6baf66d5 4472012-11-10 Jan Djärv <jan.h.d@swipnet.se>
531bdce6
JD
448
449 * server.el (server-create-window-system-frame): Handle Nextstep
450 specially (Bug#12780).
451
6baf66d5 4522012-11-10 Glenn Morris <rgm@gnu.org>
fedb154e
GM
453
454 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
455 Unautoload, and make obsolete. (Bug#7449)
456
6baf66d5 4572012-11-10 Chong Yidong <cyd@gnu.org>
9d9e48d9
CY
458
459 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
460 rename from diff-remove-trailing-whitespace (Bug#12831).
461
6baf66d5 4622012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
32170f7f
SM
463
464 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
465 miscompilation of trace.el.
466
6baf66d5 4672012-11-10 Glenn Morris <rgm@gnu.org>
26f59676
GM
468
469 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
470
6baf66d5 4712012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
41626722
SM
472
473 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
474 (bug#12812).
475
6baf66d5 4762012-11-10 Chong Yidong <cyd@gnu.org>
7d806bfe
CY
477
478 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
479 a defcustom with an appropriate :set function.
480 (minibuffer-default--in-prompt-regexps): New function.
481
6baf66d5 4822012-11-10 Glenn Morris <rgm@gnu.org>
2ee1d59f 483
031b2ea7
GM
484 * emacs-lisp/cl.el (define-setf-expander, defsetf)
485 (define-modify-macro): Doc fixes.
486
2ee1d59f
GM
487 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
488 (gv-define-simple-setter): Update doc of `fix-return'.
489
6baf66d5 4902012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
d57c286e 491
b715ed44
SM
492 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
493 twice when `fix-return' is set (bug#12813).
494
d57c286e
SM
495 * emacs-lisp/cl.el (defsetf): Pass the third arg to
496 gv-define-simple-setter (bug#12812).
497
c9cac599
SM
498 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
499 (bug#12756).
500
6baf66d5 5012012-11-10 Glenn Morris <rgm@gnu.org>
6b3770fb
GM
502
503 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
504
5593ed90
GM
505 * emacs-lisp/cl-extra.el (cl-prettyexpand):
506 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
507 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
508 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
509
510 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
511
05a859c1
LL
5122012-11-10 Leo Liu <sdl.web@gmail.com>
513
514 * ido.el (ido-set-matches-1): Improve flex matching performance by
515 removing backtracking in the regexp (suggested by Stefan). (Bug#12796)
516
32e5c58c
SM
5172012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
518
519 * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
520 (ad--defalias-fset): New function.
521 (ad-safe-fset): Remove.
522 (ad-make-freeze-definition): Use cl-letf*.
523
f5925cd9
SM
5242012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
525
da03ef8a
SM
526 * subr.el (dolist): Don't bind VAR in RESULT.
527
6858633a
SM
528 * emacs-lisp/advice.el: Miscellaneous cleanup. Use lexical-binding.
529 (fset, documentation): Don't save real def since we don't advise.
530 (ad-do-advised-functions): Remove problematic `result-form'.
531 (ad-safe-fset): `ad-real-fset' => `fset'.
532 (ad-read-advised-function): Don't assume that ad-do-advised-functions
533 uses CL's dolist internally.
534 (ad-arglist): Remove unused arg `name'.
535 (ad-docstring, ad-make-advised-docstring):
536 `ad-real-documentation' => `documentation'.
537 (warning-suppress-types): Declare.
538 (ad-set-arguments): Simple CSE.
539 (ad-recover-normality): Sanity check.
540
f5925cd9
SM
541 * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
542 (funcall '(lambda ..) ..) into ((lambda ..) ..).
543
93a66b3a
VB
5442012-11-09 Vincent Belaïche <vincentb1@users.sourceforge.net>
545
546 * ses.el: symbol to coordinate mapping is made by symbol property
f5925cd9
SM
547 `ses-cell'. This means that the same mapping is done for all SES
548 sheets. That is good enough for cells with standard A1 names, but
549 not for named cell. So a hash map is added for the latter.
550 (defconst ses-localvars): Add local variable ses--named-cell-hashmap
93a66b3a
VB
551 (ses-sym-rowcol): Use hashmap for named cell.
552 (ses-is-cell-sym-p): New defun.
553 (ses-decode-cell-symbol): New defun.
f5925cd9
SM
554 (ses-create-cell-variable): Add cell to hashmap when name is not
555 A1-like.
93a66b3a
VB
556 (ses-rename-cell): Check that cell new name is not already in
557 spreadsheet with the use of ses-is-cell-sym-p
558 (ses-rename-cell): Use hash map for named cells, but accept also
559 renaming back to A1-like.
560
67dd8ad1
SM
5612012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
562
57618ecf
SM
563 * emacs-lisp/advice.el: Use new dynamic docstrings.
564 (ad-make-advised-definition-docstring, ad-advised-definition-p):
565 Use dynamic-docstring-function instead of ad-advice-info.
566 (ad--make-advised-docstring): New function extracted from
567 ad-make-advised-docstring.
568 (ad-make-advised-docstring): Use it.
569 * progmodes/sql.el (sql--make-help-docstring): New function, extracted
570 from sql-help.
571 (sql-help): Use it with dynamic-docstring-function.
572
67dd8ad1
SM
573 * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
574
be883b34
SM
5752012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
576
d41706aa
SM
577 * files.el (hack-one-local-variable--obsolete): New function.
578 (hack-one-local-variable): Use it for obsolete settings.
579
85e55412
SM
580 * subr.el (locate-user-emacs-file): If both old and new name exist, use
581 the new name.
582
be883b34
SM
583 * progmodes/js.el (js--filling-paragraph): New var.
584 (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
585 (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
586 less sneaky.
587
cabc040a
JD
5882012-11-08 Julien Danjou <julien@danjou.info>
589
590 * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
591 `auto-mode-alist' (Bug#12835).
592
d14bb752
SM
5932012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
594
79b3e376
SM
595 * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
596 (perl--prettify-symbols-alist): New const.
597 (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
598 New functions.
599 (perl-font-lock-keywords-2): Use them.
600 (perl-electric-noindent-p): New function.
601 (perl-mode): Use it to set up electric-indent-mode.
602 (perl-electric-terminator, perl-indent-command): Mark obsolete.
603 (perl-mode-map): Remove bindings for them.
604 (perl-imenu-generic-expression, perl-outline-level):
605 Match functions&packages in column>0.
606
3b11e6ac
SM
607 * env.el (env--substitute-vars-regexp): New const.
608 (substitute-env-vars): Use it. Add `only-defined' arg.
609 * net/tramp.el (tramp-replace-environment-variables): Use it.
610
784c1a7b
SM
611 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
612 Byte-compile *before* eval in eval-and-compile.
613 (byte-compile-log-warning): Remove redundant inhibit-read-only.
614 (byte-compile-file-form-autoload): Don't hide actual definition.
615 (byte-compile-maybe-guarded): Accept `functionp' as well.
616
d14bb752
SM
617 * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
618
499a0f7a
MA
6192012-11-07 Michael Albinus <michael.albinus@gmx.de>
620
621 * notifications.el (notifications-get-server-information-method):
622 New defconst.
623 (notifications-get-capabilities): Fix docstring.
624 (notifications-get-server-information): New defun.
625
f0704a9a
AM
6262012-11-06 Agustín Martín Domingo <agustin.martin@hispalinux.es>
627
628 * textmodes/ispell.el (ispell-region): Standard re-indent for better
629 readability.
630
b159a1fd
AM
631 * textmodes/ispell.el: Experimental support for support debugging.
632 (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
633 buffer for ispell.
634 (ispell-print-if-debug): New function to print stuff to
635 `ispell-debug-buffer' if debugging is enabled.
636 (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
637 show some debugging info.
638 (ispell-buffer-with-debug): New function that creates a debugging
639 buffer and calls `ispell-buffer' with debugging enabled.
640
056cb3a1
AM
641 * textmodes/ispell.el (ispell-region): Do not prefix sent string by
642 comment in autoconf mode. (Bug#12768)
643
8e6a67b7
DA
6442012-11-06 Dmitry Antipov <dmantipov@yandex.ru>
645
646 * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
647 frame-first-window, frame-root-window, frame-selected-window,
648 minibuffer-selected-window, minibuffer-window,
649 window-absolute-pixel-edges, window-at, window-body-height,
650 window-body-width, window-display-table, window-combination-limit,
651 window-frame, window-fringes, window-inside-absolute-pixel-edges,
652 window-inside-edges, window-inside-pixel-edges, window-left-child,
653 window-left-column, window-margins, window-next-buffers,
654 window-next-sibling, window-new-normal, window-new-total,
655 window-normal-size, window-parameter, window-parameters, window-parent,
656 window-pixel-edges, window-point, window-prev-buffers,
657 window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
658 window-start, window-text-height, window-top-child, window-top-line,
659 window-total-height, window-total-width and window-use-time to the list
660 of functions without side-effects.
661 (toplevel): Add window-valid-p to the list of error-free functions
662 without side-effects.
663
53fc914f
AM
6642012-11-05 Agustín Martín Domingo <agustin.martin@hispalinux.es>
665
f5925cd9
SM
666 * textmodes/ispell.el (ispell-program-name):
667 Update spellchecker parameters when customized.
53fc914f 668
9749e2b0
GM
6692012-11-04 Glenn Morris <rgm@gnu.org>
670
671 * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn. (Bug#7850)
672
2cbafa56
CY
6732012-11-04 Chong Yidong <cyd@gnu.org>
674
675 * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
676 same-window-* variables.
677
85178ca1
JL
6782012-11-04 Juri Linkov <juri@jurta.org>
679
680 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
681 (isearch-describe-key, isearch-describe-mode): Use a display
682 action instead of binding same-window-* variables (Bug#10040).
683
5c677d44
GM
6842012-11-03 Glenn Morris <rgm@gnu.org>
685
49138400
GM
686 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
687 Rename handler properties back from cl-- to cl-. (Bug#12788)
688
5c677d44
GM
689 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
690
1d4341f9
EZ
6912012-11-03 Eli Zaretskii <eliz@gnu.org>
692
693 * term/pc-win.el: Don't load term/internal from here.
694
695 * loadup.el: Load term/internal from here.
696
12fd5ee1
FEG
6972012-11-03 Fabián Ezequiel Gallina <fgallina@cuca>
698
699 * progmodes/python.el (inferior-python-mode): Fix hang in
700 jit-lock (Bug#12645).
701
43bcfda6
MR
7022012-11-03 Martin Rudalics <rudalics@gmx.at>
703
704 * window.el (switch-to-visible-buffer)
705 (switch-to-buffer-preserve-window-point): Fix doc-strings.
706
376a8e83
GM
7072012-11-03 Glenn Morris <rgm@gnu.org>
708
709 * emacs-lisp/cl-lib.el (cl--random-time):
710 Rename from cl-random-time. (Bug#12773)
711 (cl--gensym-counter, cl--random-state): Update callers.
712 * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
713
0f7b074f
CY
7142012-11-03 Chong Yidong <cyd@gnu.org>
715
716 * cus-start.el: Make cursor-type customizable (Bug#11633).
717
3a6851d9
GM
7182012-11-02 Glenn Morris <rgm@gnu.org>
719
00a3b041
GM
720 * filecache.el: No need to load find-lisp when compiling.
721 (find-lisp-find-files): Autoload it.
722 (file-cache-add-directory-recursively): Don't require find-lisp.
723
11fef14a
GM
724 * image.el (image-type-from-file-name): Trivial simplification.
725
3a6851d9
GM
726 * emacs-lisp/bytecomp.el (byte-compile-eval):
727 Decouple "noruntime" and "cl-functions" warnings.
728
b4b096e4
SB
7292012-11-01 Stephen Berman <stephen.berman@gmx.net>
730
731 * play/gomoku.el (gomoku-display-statistics): Update mode line
732 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
733
218e997a
MR
7342012-10-31 Martin Rudalics <rudalics@gmx.at>
735
736 * window.el (quit-restore-window): If the window has been
737 created on an existing frame and ended up as the sole window on
738 that frame, do not delete it (Bug#12764).
739
b08b6da7
SM
7402012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
741
3618df45
SM
742 * progmodes/sh-script.el (sh--inside-noncommand-expression):
743 Rename from sh--inside-arithmetic-expression, handle more cases
744 (bug#11263).
745
b08b6da7
SM
746 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
747 (sh-font-lock-open-heredoc): Use it (bug#12770).
748
4ddedf94
GM
7492012-10-30 Glenn Morris <rgm@gnu.org>
750
f43a5263
GM
751 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
752
4ddedf94
GM
753 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
754
748b0d84
CY
7552012-10-29 Chong Yidong <cyd@gnu.org>
756
b5dd9a77
CY
757 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
758 function key is stored in a keyboard macro (Bug#4894).
759
748b0d84
CY
760 * thingatpt.el (number-at-point): Apply a thing-at-point property.
761
e07fcbdc
SM
7622012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
763
d7f9cc85
SM
764 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
765 header comments".
766 (diff-unified->context, diff-context->unified)
767 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
768
c606253c
SM
769 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
770
e07fcbdc
SM
771 * files.el (find-alternate-file): Only ask one question (bug#12487).
772
894b9dd9
CY
7732012-10-29 Chong Yidong <cyd@gnu.org>
774
1dc2755a
CY
775 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
776 Suggested by Dan Nicolaescu (Bug#6326).
777
329c48d8
CY
778 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
779
2230fa5b 780 * startup.el (fancy-about-screen): Don't message (Bug#12680).
5c2f2631 781
e84cad57
CY
782 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
783
1913c5f5
CY
784 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
785
894b9dd9
CY
786 * face-remap.el (face-remap-add-relative): Handle the case where a
787 face-remapping-alist entry is a cons cell (Bug#12762).
788
329c48d8
CY
7892012-10-29 Kevin Ryde <user42@zip.com.au>
790
791 * woman.el (woman-parse-numeric-value): Handle picas correctly
792 (Bug#12639).
793
a0ccbcbd
GM
7942012-10-29 Glenn Morris <rgm@gnu.org>
795
796 * emacs-lisp/cl.el (defsetf): Doc fix.
797
b3871e59
SM
7982012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
799
800 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
801 syntax to the matching opener, if any (bug#12547).
802 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
803 matching open as a "case-(".
804 (sh-smie-rc-grammar): Add a corresponding rule for it.
805
cd44022c
DH
8062012-10-28 Daniel Hackney <dan@haxney.org>
807
808 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
809 "PKGNAME-autoloads.el" in case we created it.
810
70edffb1
SM
8112012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
812
86957a0c
SM
813 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
814 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
b9383404 815 (completion--twq-all): Disable too-strict assertions.
86957a0c 816
70edffb1
SM
817 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
818
d069271c
EZ
8192012-10-27 Eli Zaretskii <eliz@gnu.org>
820
821 * profiler.el (profiler-report-make-entry-part): Fix help-echo
822 text to match the real keybindings.
823
e2f022a3
JL
8242012-10-27 Juri Linkov <juri@jurta.org>
825
826 * wdired.el (wdired-keep-marker-rename): New defcustom.
827 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
828 (Bug#11795)
829
830 * dired.el (dired-keep-marker-rename): Add reference to
831 `wdired-keep-marker-rename' in the docstring.
832 Add default character value ?R to display initially in
833 Customization UI instead of ?@.
834
df171c23
MR
8352012-10-27 Martin Rudalics <rudalics@gmx.at>
836
837 * window.el (display-buffer): In doc-string describe
838 window-height and window-width alist entries.
839
840 * time.el (display-time-world): Restore fit-window-to-buffer
841 behavior.
842
05b621a6
CY
8432012-10-27 Chong Yidong <cyd@gnu.org>
844
845 * subr.el (insert-buffer-substring-as-yank): Doc fix.
846
55f197b2
J
8472012-10-26 Jambunathan K <kjambunathan@gmail.com>
848
849 * minibuffer.el (completion-category-overrides): New completion
850 category `bookmark' (bug#11131).
851
372212df
SM
8522012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
853
150f809c
SM
854 * emacs-lisp/advice.el (ad-assemble-advised-definition):
855 Silence bogus compiler warnings for ad-do-it.
856
372212df
SM
857 * bookmark.el (bookmark-completing-read): Set the completion category
858 to `bookmark' (bug#11131).
859
c5772569
B
8602012-10-26 Bastien <bzg@altern.org>
861 Stefan Monnier <monnier@iro.umontreal.ca>
862
863 * face-remap.el: Use lexical-binding.
864 (text-scale-adjust): Improve docstring. Use itself for the temporary
865 overlay-map bindings, so as to repeat the "Use..." message each time.
866
a2be0357
SM
8672012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
868
63314e57
SM
869 * emacs-lisp/macroexp.el (macroexp--expand-all):
870 Obey byte-compile-warning-enabled-p (bug#12486).
871
a2be0357
SM
872 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
873 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
874
8c7727c3
MR
8752012-10-26 Martin Rudalics <rudalics@gmx.at>
876
877 * mouse.el (mouse-drag-line): Move last form into preceding when
878 clause (Bug#12731).
879
880 * help.el (resize-temp-buffer-window): Fix doc-string.
881
3f2a848d
DE
8822012-10-25 David Engster <deng@randomsample.de>
883
884 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
a2be0357 885 Remove. This feature is already integrated in imenu.
3f2a848d
DE
886
887 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
888 always loaded. Require `speedbar' unconditionally.
889
a7723be6
SM
8902012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
891
aaabfc8b
SM
892 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
893
414a8595
SM
894 * minibuffer.el (minibuffer-force-complete): Fix thinko.
895
fb5b9475
SM
896 * net/ldap.el (ldap-search-internal): The official ldif format starts
897 with a "version: 1" header (bug#12724).
898
a7723be6
SM
899 * emacs-lisp/package.el (package-installed-p): Warn if not ready
900 (bug#12721).
901
a05cb6e3
GM
9022012-10-25 Glenn Morris <rgm@gnu.org>
903
904 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
905
3c92de70
SM
9062012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
907
908 * minibuffer.el (minibuffer-force-complete): Use one more marker
909 for the temporary-overlay-map command (bug#12619).
910
a4b6d7c6
CY
9112012-10-24 Chong Yidong <cyd@gnu.org>
912
913 * time.el (display-time-world-mode): Derive from special-mode.
914 (display-time-world): Use display-buffer (Bug#12708).
915 (display-time-world-mode-map): Variable deleted.
9321d8d7
CY
916 (display-time-world-display): Wrap the final delete-char inside
917 inhibit-read-only.
a4b6d7c6 918
75e8f9d2
CY
9192012-10-24 Chong Yidong <cyd@gnu.org>
920
cd996018
CY
921 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
922 Doc fix.
923
75e8f9d2
CY
924 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
925
d92df117
SM
9262012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
927
928 * minibuffer.el (completion--all-sorted-completions-location): New var.
929 (completion--cache-all-sorted-completions)
930 (completion--flush-all-sorted-completions): Use it.
931 (completion-in-region, completion-in-region--postch)
932 (completion-at-point, completion-help-at-point): Use markers in
933 completion-in-region--data (bug#12619).
934
9c3e39f3
SM
9352012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
936
c79825bd
SM
937 * progmodes/compile.el (compilation-start): Try to handle common
938 quoting of `cd' argument (bug#12640).
939
9c3e39f3
SM
940 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
941 (bug#12671).
942
a6709bc7
GM
9432012-10-23 Glenn Morris <rgm@gnu.org>
944
945 * progmodes/gud.el (gud-menu-map):
946 Check gdb-active-process is bound. (Bug#12358)
947
d1069532
SM
9482012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
949
d20d69c0
SM
950 * repeat.el (repeat): Set real-this-command (bug#12232).
951
d1069532
SM
952 * htmlfontify.el (hfy-post-html-hook):
953 * filesets.el (filesets-cache-fill-content-hook):
954 * arc-mode.el (archive-extract-hook):
955 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
956 * net/rcirc.el (rcirc-sentinel-functions)
957 (rcirc-receive-message-functions, rcirc-activity-functions)
958 (rcirc-print-functions):
959 * net/dbus.el (dbus-event-error-functions):
960 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
961 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
962 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
963 * term/sun.el (sun-raw-prefix-hooks):
964 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
965
f7eac6d8
MA
9662012-10-23 Michael Albinus <michael.albinus@gmx.de>
967
d1069532
SM
968 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
969 Set `tramp-chunksize' to 1. This improves the performance.
f7eac6d8
MA
970 (tramp-smb-wait-for-output): Add timeout to
971 `tramp-accept-process-output' calls.
972
608d9d7c
CY
9732012-10-23 Chong Yidong <cyd@gnu.org>
974
49238e7f
CY
975 * faces.el (font-list-limit): Define as an obsolete variable.
976
977 * startup.el (command-line):
978 * cus-start.el: Don't refer to font-list-limit.
979
608d9d7c
CY
980 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
981
4ff5b1b2
SM
9822012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
983
984 * subr.el (internal-temp-output-buffer-show): Rename from
985 temp-output-buffer-show, since previously compiled files expect this name.
986
ea1d4aac
GM
9872012-10-23 Glenn Morris <rgm@gnu.org>
988
989 * image.el (image-type-from-file-name): If multiple types match,
990 return the first one that is supported. (Bug#9045)
991
eda82a31
GM
9922012-10-22 Glenn Morris <rgm@gnu.org>
993
994 * image.el (imagemagick-enabled-types): Doc fix.
995
4f020bec
TA
9962012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
997
998 * progmodes/which-func.el (which-func-current): The hash-table may have
999 an explicit nil (bug#12338).
1000
c77d37e2
SM
10012012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
1002
1003 * electric.el (electric-pair-delete-selection-self-insert-function):
1004 Rename to electric-pair-will-use-region, return a boolean.
1005 (electric-pair-mode): Adjust accordingly. Don't require delsel.
1006
1007 * delsel.el (delete-selection-helper): Use a function instead of a hook.
1008 (delete-selection-pre-hook): Use use-region-p.
1009 (delete-selection-self-insert-function): Remove.
1010 (self-insert-command): Obey self-insert-uses-region-functions.
1011 (self-insert-iso): Revert to previous setting, since we don't actually
1012 know what that command does.
1013 (delete-selection-self-insert-hooks): Remove.
1014
b1d39ccc
SL
10152012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
1016
1017 * delsel.el (delete-selection-helper): New function, extracted from
1018 delete-selection-pre-hook.
1019 (delete-selection-pre-hook): Use it.
1020 (delete-selection-self-insert-function): New function.
1021 (delete-selection-self-insert-hooks): New hook.
1022 (self-insert-command, self-insert-iso): Use it.
1023 * electric.el (electric-pair-syntax): New function, extracted from
1024 electric-pair-post-self-insert-function.
1025 (electric-pair-post-self-insert-function): Use it.
1026 (electric-pair-delete-selection-self-insert-function): New function.
1027 (electric-pair-mode): Require delsel and setup
1028 delete-selection-self-insert-hooks (bug#11520).
1029
045ef729
CY
10302012-10-20 Chong Yidong <cyd@gnu.org>
1031
4c5d08a8
CY
1032 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
1033 no changes to show (Bug#12586).
1034
045ef729
CY
1035 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
1036 list explicitly (Bug#12571).
1037
3503c798 10382012-10-20 Arne Jørgensen <arne@arnested.dk>
79e1997a 1039
b1d39ccc
SL
1040 * progmodes/flymake.el (flymake-create-temp-inplace):
1041 Use file-truename.
79e1997a 1042
2068905b
EZ
10432012-10-20 Eli Zaretskii <eliz@gnu.org>
1044
1045 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
1046
4c9e9550
JB
10472012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
1048
1049 * calc/calc-units.el (math-extract-units): Properly extract powers
1050 of units.
1051
1a6e7e38
DC
10522012-10-20 Daniel Colascione <dancol@dancol.org>
1053
1054 * frame.el (make-frame): Set x-display-name as we used to in order
1055 to unbreak creating an X11 frame from an Emacs daemon started
1056 without a display.
1057
8e808318
SM
10582012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
1059
1060 * minibuffer.el (minibuffer-force-complete): Make the next completion use
f5925cd9 1061 the same completion-field (bug#12221).
8e808318 1062
fb0104da
MR
10632012-10-19 Martin Rudalics <rudalics@gmx.at>
1064
1065 * emacs-lisp/debug.el (debug): Record height of debugger window
1066 also when debugger will be back (Bug#8789).
1067
8c27235e
CY
10682012-10-18 Chong Yidong <cyd@gnu.org>
1069
1070 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
1071 Convert to defcustom.
1072 (gdb-get-source-file): Don't bind pop-up-windows.
1073
1074 * progmodes/gud.el (gud-display-line): Don't specially re-use
1075 other frames for the gdb-mi case (Bug#12648).
1076
90eacf99
SM
10772012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
1078
aaf0c300
SM
1079 * emacs-lisp/advice.el: Clean up commentary a bit.
1080 (ad-do-advised-functions, ad-with-originals): Use `declare'.
1081 (byte-code-function-p): Never redefine.
1082
90eacf99
SM
1083 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
1084
281c9d2b
GM
10852012-10-18 Glenn Morris <rgm@gnu.org>
1086
40714e3d
GM
1087 * dired.el (dired-sort-toggle): Some ls implementations only allow
1088 a single option string. (Bug#12666)
1089
281c9d2b
GM
1090 * minibuffer.el (completion-cycle-threshold): Doc fix.
1091
b278604e
KH
10922012-10-17 Kenichi Handa <handa@gnu.org>
1093
90eacf99
SM
1094 * international/mule.el (set-keyboard-coding-system):
1095 Recover input meta mode when the new coding system doesn not use 8-bit.
b278604e
KH
1096 Supply TERMINAL arg to set-input-meta-mode.
1097
df171c23 10982012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
7ebc5f5a
MH
1099
1100 * wdired.el (wdired-old-marks): New variable.
1101 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
1102 (wdired-do-renames): Move point with renamed file and don't lose
1103 mark status (Bug#11795).
1104
e5a94ec4
JL
11052012-10-16 Juri Linkov <juri@jurta.org>
1106
1107 * replace.el (query-replace-help): Mention multi-buffer replacement
1108 keys in the Help message. (Bug#12655)
1109
d18a0d24
CY
11102012-10-15 Chong Yidong <cyd@gnu.org>
1111
1112 * emacs-lisp/byte-run.el (defsubst): Doc fix.
1113
8111f5e6
EZ
11142012-10-14 Eli Zaretskii <eliz@gnu.org>
1115
7b9abf24
EZ
1116 * window.el (display-buffer): Doc fix.
1117
8111f5e6
EZ
1118 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1119 Adjust the msft regexp to the output of Studio 2010, and move msft
1120 before edg-1. See the discussion on emacs-devel,
1121 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
1122 for the details.
1123
5046ef67
SM
11242012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
1125
9760c73c
SM
1126 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
1127 (oset): Move uses of object-class-fast macro after its definition.
1128
5046ef67
SM
1129 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
1130
0d11ff1c
CY
11312012-10-13 Chong Yidong <cyd@gnu.org>
1132
1133 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
1134 enabled, re-enable it (Bug#11963).
1135
88ded8ac
MR
11362012-10-13 Martin Rudalics <rudalics@gmx.at>
1137
1138 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
1139 non-nil, restore window configuration (Bug#12623).
1140
bd0ffffd
SM
11412012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
1142
06485aa8
SM
1143 * help-fns.el (describe-variable, describe-function-1):
1144 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
1145
bd0ffffd
SM
1146 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
1147
3a989246
GM
11482012-10-12 Glenn Morris <rgm@gnu.org>
1149
1150 * mail/rmailsum.el (rmail-header-summary):
1151 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
1152
55cd00c8
FEG
11532012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
1154
bd0ffffd
SM
1155 * progmodes/python.el (python-mode-map):
1156 Replace subtitute-key-definition with proper command remapping.
55cd00c8
FEG
1157 (python-nav--up-list): Fix behavior for blocks on the same level.
1158
ac9fc2c7
SM
11592012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
1160
d8cc4c00 1161 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
d8cc4c00 1162
5253a5fd
SM
1163 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
1164 changes to the format of load-history.
1165
ac9fc2c7
SM
1166 * international/mule-cmds.el (read-char-by-name): Move let-binding of
1167 completion-ignore-case in case that var is buffer-local (bug#12615).
1168
cde44a77
KH
11692012-10-11 Kenichi Handa <handa@gnu.org>
1170
1171 * international/eucjp-ms.el: Re-generated.
1172
4ef4a10d
KH
11732012-10-10 Kenichi Handa <handa@gnu.org>
1174
1175 * select.el (xselect--encode-string): If a coding is specified for
1176 selection, and that is compatible with COMPOUND_TEXT, use it.
1177
9d7f027b
MR
11782012-10-10 Martin Rudalics <rudalics@gmx.at>
1179
1180 * window.el (switch-to-buffer-preserve-window-point): New option.
ac9fc2c7
SM
1181 (switch-to-buffer):
1182 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
9d7f027b 1183
238f3a58
SM
11842012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
1185
1186 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
1187 Don't document nil as a useful value (bug#12583).
1188
1d51f99c
MA
11892012-10-09 Michael Albinus <michael.albinus@gmx.de>
1190
238f3a58
SM
1191 * net/tramp.el (tramp-debug-message):
1192 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
1d51f99c
MA
1193 (with-tramp-progress-reporter): Rename from
1194 `tramp-with-progress-reporter'.
238f3a58
SM
1195 (with-tramp-file-property, with-tramp-connection-property):
1196 Move from tramp-cache.el, rename from `with-file-property' and
1d51f99c
MA
1197 `with-connection-property', respectively.
1198
1199 * net/tramp-cache.el: Remove `with-file-property' and
1200 `with-connection-property'.
1201
1202 * net/tramp.el:
1203 * net/tramp-gvfs.el:
1204 * net/tramp-sh.el:
1205 * net/tramp-smb.el: Adapt callees.
1206
1207 * net/trampver.el: Update release number.
1208
26b77251
GM
12092012-10-09 Glenn Morris <rgm@gnu.org>
1210
9a5f296f
GM
1211 * w32-fns.el (set-message-beep):
1212 * term/w32-win.el (set-message-beep): Update declarations.
1213
94c66ce5
SM
12142012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
1215
10766e9e
SM
1216 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
1217 (mode-line-widen, mode-line-input-method-map)
1218 (mode-line-coding-system-map, mode-line-remote)
1219 (mode-line-unbury-buffer, mode-line-bury-buffer)
1220 (mode-line-next-buffer, mode-line-previous-buffer):
1221 Replace save-selected-window+select-window => with-selected-window.
1222
f754db08
SM
1223 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
1224 * progmodes/cc-vars.el (bq-process): Remove, unused.
1225
94c66ce5
SM
1226 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
1227
a4ff7fe1
FEG
12282012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
1229
1230 Implemented `backward-up-list'-like navigation.
1231 * progmodes/python.el (python-nav-up-list)
1232 (python-nav-backward-up-list): New functions.
1233 (python-mode-map): Define substitute key for backward-up-list to
1234 python-nav-backward-up-list.
1235
24517d82
FEG
12362012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
1237
1238 * progmodes/python.el (python-fill-paragraph): Rename from
1239 python-fill-paragraph-function. Fixed fill-paragraph for
1240 decorators (Bug#12605).
1241
51867ae2
FEG
12422012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
1243
1244 * progmodes/python.el (python-shell-output-filter): Handle extra
1245 carriage return in OSX (Bug#12409).
1246
a5b773c4
FEG
12472012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
1248
1249 Fix shell handling of unbalanced quotes and parens in output.
94c66ce5 1250 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
a5b773c4
FEG
1251 (python-syntax-propertize-function): Use it.
1252 (python-shell-output-syntax-table): New var.
1253 (inferior-python-mode): Prevent unbalanced parens/quotes from
1254 previous output mess with current input context.
1255
13373538
JB
12562012-10-08 Juanma Barranquero <lekktu@gmail.com>
1257
1258 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
1259 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
1260
775a132d
MA
12612012-10-08 Michael Albinus <michael.albinus@gmx.de>
1262
1263 * ffap.el (ffap-replace-file-component): Support Tramp file name
1264 syntax, not only ange-ftp's one.
1265
3ab44929
GM
12662012-10-08 Glenn Morris <rgm@gnu.org>
1267
57f1dee4
GM
1268 * cus-start.el (message-log-max): Set :version.
1269
3ab44929
GM
1270 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
1271
6a088630
MR
12722012-10-08 Martin Rudalics <rudalics@gmx.at>
1273
1274 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
1275 the minibuffer window (Bug#10851).
1276
8dbce54c
FEG
12772012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
1278
1279 Enhancements on forward-sexp movement.
1280 * progmodes/python.el (python-nav-beginning-of-statement)
1281 (python-nav-end-of-statement): Return point-marker.
1282 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
1283 (python-info-current-symbol)
1284 (python-info-statement-starts-block-p): Rename from
1285 python-info-beginning-of-block-p.
1286 (python-info-statement-ends-block-p): Rename from
1287 python-info-end-of-block-p.
1288 (python-info-beginning-of-statement-p)
1289 (python-info-end-of-statement-p)
1290 (python-info-beginning-of-block-p, python-info-end-of-block-p):
1291 New functions.
1292
5acd2b3e
SM
12932012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
1294
1295 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
1296 frame-selected-windows.
1297
e08348a0
DC
12982012-10-08 Daniel Colascione <dancol@dancol.org>
1299
1300 * battery.el (battery-status-function): Check for
1301 w32-battery-status itself, not system-time windows-nt.
1302
1303 * frame.el: Require cl-lib.
1304 (display-format-alist): New variable mapping frame types to
1305 functions that initialize them.
1306 (window-system-for-display): New function: interprets
1307 display-format-alist.
1308 (make-frame-on-display): Remove existing display-selection logic
1309 and just forward to make-frame, which will now DTRT.
1310 (make-frame): Restructure to use window-system-for-display to
1311 figure out how to create a frame on a given display.
1312 (display-mouse-p): Look for frame-type w32, not a particular
1313 system-type.
1314
1315 * loadup.el: Load w32 lisp code when we have the w32 feature.
1316
1317 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
1318 system-type windows-nt.
1319
1320 * server.el (server-create-window-system-frame): Look for window
1321 type.
1322 (server-proces-filter): Only force a window system when windows-nt
1323 _and_ w32. Explain why.
1324
1325 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
1326 of window systems we configure for the mode.
1327
1328 * startup.el (command-line): Mark window system is initialized
1329 after we've done it.
1330
1331 * common-win.el (x-select-text): Look for w32, not windows-nt.
1332
1333 * ns-win.el: Require cl-lib. Add ourselves to
1334 display-format-alist.
1335 (ns-initialize-window-system): Assert we're not initialized twice.
1336
1337 * w32-win.el: Enable lexical binding; require cl-lib; add
1338 ourselves to display-format-alist.
1339 (w32-handle-dropped-file): Convert incoming dropped files from
1340 Windows paths to Cygwin ones before passing them on to the rest of
1341 Emacs.
1342 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
1343 (w32-initialize-window-system): Assert we're not initialized twice.
1344
1345 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
1346 (x-initialize-window-system): Assert we're not initialized twice.
1347
1348 * w32-common-fns.el: New File.
1349 (w32-version, w32-using-nt, w32-get-clipboard-data)
1350 (w32-set-clipboard-data, x-set-selection, x-get-selection)
1351 (w32-charset-info-alist, x-last-selected, text)
1352 (x-get-selection-value, x-selection-value): Move here.
1353
1354 * w32-fns.el: Require w32-common-fns.
1355 (w32-version, w32-using-nt, w32-get-clipboard-data)
1356 (w32-set-clipboard-data, x-set-selection, x-get-selection)
1357 (w32-charset-info-alist, x-last-selected, text)
1358 (x-get-selection-value, x-selection-value): Move to
1359 w32-common-fns.
1360
1361 * w32-vars.el:
1362 (w32-allow-system-shell, w32-system-shells): Define only in
1363 non-cygwin case.
1364
795b1482
SM
13652012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
1366
1367 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
1368 (read-passwd): Remove a few more potential sources of leaks.
1369
f27c99dc
FEG
13702012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
1371
1372 * progmodes/python.el (inferior-python-mode)
795b1482 1373 (python-shell-make-comint): Fix initialization of local
f27c99dc
FEG
1374 variables copied from parent buffer.
1375
fcacb558
JD
13762012-10-07 Jan Djärv <jan.h.d@swipnet.se>
1377
1378 * term/ns-win.el (ns-read-file-name): Update declaration to match
1379 nsfns.m.
1380 (ns-respond-to-change-font): Change fontsize separatly so we are sure
1381 it is set when font is acted upon.
1382
be0d5bae
FEG
13832012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
1384
1385 Enhancements to indentation.
1386 * progmodes/python.el (python-indent-context): Give priority to
1387 inside-string context. Make comments indentation markers.
1388 (python-indent-region): Do not mess with strings, unless it's the
1389 enclosing set of quotes.
1390
13af0d10
SM
13912012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
1392
662a9d0e
SM
1393 * window.el (internal--before-save-selected-window)
1394 (internal--after-save-selected-window): New functions extracted from
1395 save-selected-window. Make sure we return the `alist' we construct.
1396 (save-selected-window): Use them.
1397
1398 * textmodes/tex-mode.el (tex-recenter-output-buffer):
1399 Use with-selected-window.
1400
13af0d10
SM
1401 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
1402 forms that define macros (bug#12593).
1403
6aa75fb6
KH
14042012-10-07 Kenichi Handa <handa@gnu.org>
1405
13af0d10
SM
1406 * international/mule-conf.el (compound-text-with-extensions):
1407 Add :mime-charset property as x-ctext.
6aa75fb6 1408
78d876b9
SM
14092012-10-07 Stefan Merten <smerten@oekonux.de>
1410
1411 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
1412 (rst-indent-literal-normal, rst-indent-literal-minimized)
1413 (rst-indent-comment): Correct :version tag.
557337e9 1414 (rst-official-cvs-rev): Correct version string.
78d876b9 1415
99a1e701
GM
14162012-10-07 Glenn Morris <rgm@gnu.org>
1417
1418 * mail/rmailmm.el (rmail-mime-process-multipart):
1419 Do not confuse a multipart message with an epilogue
1420 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
1421
08f18c3d
FEG
14222012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
1423
1424 Fix shell output retrieval and comint-prompt-regexp init.
1425 * progmodes/python.el (inferior-python-mode):
1426 (python-shell-make-comint): Fix initialization of
1427 comint-prompt-regexp from copied file local variables.
1428 (python-shell-fetched-lines): Remove var.
1429 (python-shell-output-filter-in-progress): Rename from
1430 python-shell-fetch-lines-in-progress.
1431 (python-shell-output-filter-buffer): Rename from
1432 python-shell-fetch-lines-string.
1433 (python-shell-fetch-lines-filter): Delete function.
1434 (python-shell-output-filter): New function.
1435 (python-shell-send-string-no-output): Use them.
1436
82ed3ab4
GM
14372012-10-07 Glenn Morris <rgm@gnu.org>
1438
1595ecfa
GM
1439 * hi-lock.el (hi-lock-process-phrase):
1440 Try to make it less fragile. (Bug#7161)
1441
82ed3ab4
GM
1442 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
1443
f1f4dba0
GM
14442012-10-06 Glenn Morris <rgm@gnu.org>
1445
addc11ed 1446 * ehelp.el (electric-help-mode): Use help-mode rather than
32939005
GM
1447 non-existent mode `help'.
1448 (electric-help-map): Use button-buffer-map. (Bug#10917)
addc11ed 1449
460042b8
GM
1450 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
1451 (reftex-create-bibtex-footer): Fix custom types.
1452
67667c70
GM
1453 * progmodes/sh-script.el (sh-indent-after-continuation):
1454 Add explicit :group.
1455
18dec750
GM
1456 * textmodes/rst.el (rst-preferred-decorations)
1457 (rst-shift-basic-offset): Clarify obsolescence versions.
1458
d1a1c7e6
GM
1459 * profiler.el (profiler): Add missing group :version tag.
1460 * avoid.el (mouse-avoidance-banish-position):
1461 * proced.el (proced-renice-command):
1462 * calc/calc.el (calc-ensure-consistent-units):
1463 * calendar/icalendar.el (icalendar-import-format-uid):
1464 * net/tramp.el (tramp-save-ad-hoc-proxies):
1465 * progmodes/bug-reference.el (bug-reference-bug-regexp):
1466 * progmodes/flymake.el (flymake-error-bitmap)
1467 (flymake-warning-bitmap, flymake-fringe-indicator-position):
1468 * progmodes/sh-script.el (sh-indent-after-continuation):
1469 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
1470 (verilog-before-save-font-hook, verilog-after-save-font-hook):
1471 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
1472 (vhdl-array-index-record-field-in-sensitivity-list)
1473 (vhdl-indent-comment-like-next-code-line):
1474 * textmodes/reftex-vars.el (reftex-ref-style-alist)
1475 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
1476 (reftex-cite-key-separator, reftex-create-bibtex-header)
1477 (reftex-create-bibtex-footer):
1478 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
1479 (rst-indent-literal-normal, rst-indent-literal-minimized)
1480 (rst-indent-comment): Add missing custom :version tags.
1481
ef35abb4
GM
1482 * calendar/timeclock.el (timeclock-modeline-display):
1483 Add missing obsolete alias for renamed user option.
1484
d1aae614
GM
1485 * strokes.el (strokes-modeline-string):
1486 * emulation/crisp.el (crisp-mode-modeline-string):
1487 * eshell/esh-mode.el (eshell-status-in-modeline):
1488 Aliases to defcustoms must come before the defcustom.
1489
f1f4dba0
GM
1490 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
1491 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
1492 (cal-tex-cursor-week-monday): Doc fixes.
1493 (cal-tex-cursor-week2-summary): Doc fix.
1494 Rename from cal-tex-cursor-week-at-a-glance.
1495
1496 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
1497 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
1498
1499 * calendar/calendar.el (calendar-mode-map):
1500 Add cal-tex-cursor-week2-summary.
1501
d39109c3
SM
15022012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
1503
685f87b0
SM
1504 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
1505
d39109c3
SM
1506 * subr.el (read-passwd-map): New var.
1507 (read-passwd): Use `read-string' again.
1508 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
1509
5694896d
J
15102012-10-06 Jambunathan K <kjambunathan@gmail.com>
1511
1512 * register.el (append-to-register, prepend-to-register):
1513 Deactivate mark, as does `copy-to-register' (bug#12389).
1514
9414dd8d
CY
15152012-10-06 Chong Yidong <cyd@gnu.org>
1516
1517 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
1518
2b89bca4
KH
15192012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
1520
1521 * international/characters.el: Fix simple mistake ((car chars) ->
1522 elt), delete duplicated code.
1523
d5acb99a
GM
15242012-10-06 Glenn Morris <rgm@gnu.org>
1525
1526 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
1527
123ec157
JS
15282012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
1529
1530 * color.el (color-hsl-to-rgb): Fix incorrect results for
1531 small and large hue values. (Bug#12559)
1532
7fa36ccb
FEG
15332012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
1534
1535 Enhancements to docstring formatting when filling paragraphs.
1536 * progmodes/python.el (python-fill-docstring-style): Rename from
1537 python-fill-string-style. Added new style.
1538 (python-fill-string): Use new style. Better checks for
1539 docstrings.
1540
d8788e1e
GM
15412012-10-05 Glenn Morris <rgm@gnu.org>
1542
204f3953
GM
1543 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
1544
d8788e1e
GM
1545 * color.el (color-name-to-rgb, color-rgb-to-hex)
1546 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
1547 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
1548 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
1549 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
1550
8d956cef
GM
1551 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
1552
e8757f09 15532012-10-05 Juanma Barranquero <lekktu@gmail.com>
ea9a3563
JB
1554
1555 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
1556 to get the correct size across symlinks.
1557
e8757f09
GM
1558 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
1559
0e2ae83d
JL
15602012-10-04 Juri Linkov <juri@jurta.org>
1561
1562 * replace.el (query-replace-interactive): Declare obsolete.
1563 (query-replace-read-from): Add the last incremental search string
1564 to the list of default values accessible via M-n.
1565 (map-query-replace-regexp): Use `read-regexp'.
1566 (query-replace, query-replace-regexp, query-replace-regexp-eval)
1567 (map-query-replace-regexp, replace-string, replace-regexp):
1568 Fix docstrings to replace mentions of `query-replace-interactive'
1569 with alternatives. (Bug#12526)
1570
93cacb6d
JL
15712012-10-04 Juri Linkov <juri@jurta.org>
1572
1573 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
1574 (dired-pop-to-buffer): Declare obsolete.
1575 (dired-mark-pop-up): Doc fix.
1576
fc345011
FEG
15772012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
1578
1579 Allow user to set docstring style for fill-paragraph.
1580 * progmodes/python.el
1581 (python-fill-comment-function, python-fill-string-function)
1582 (python-fill-decorator-function, python-fill-paren-function):
1583 Remove :safe for defcustoms.
1584 (python-fill-string-style): New defcustom
5694896d 1585 (python-fill-paragraph-function): Enhance context detection.
fc345011
FEG
1586 (python-fill-string): Honor python-fill-string-style settings.
1587
6bab5d8b
MR
15882012-10-04 Martin Rudalics <rudalics@gmx.at>
1589
1590 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
1591 after setting its buffer (Bug#10805).
1592
a1a9f411
FEG
15932012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
1594
1595 Fix cornercase for string syntax.
1596 * progmodes/python.el (python-syntax-propertize-function):
1597 Simplify and enhance the regexp for unescaped quotes. Now it also
1598 matches quotes in weird situations like the single quote in
1599 "something\"'".
1600 (python-syntax-stringify): Simplify num-quotes detecting code.
1601
05e153a6
GM
16022012-10-03 Glenn Morris <rgm@gnu.org>
1603
1604 * help-macro.el (three-step-help):
1605 Revert 2012-09-29 change. (Bug#12567)
1606
2e566ecb
MR
16072012-10-03 Martin Rudalics <rudalics@gmx.at>
1608
96ef9ccd
MR
1609 * menu-bar.el (kill-this-buffer): Don't do anything when
1610 `menu-frame' is not alive or visible (Bug#8184).
1611
2e566ecb
MR
1612 * emacs-lisp/debug.el (debug): When quitting the debugger window
1613 restore current buffer (Bug#12502).
1614
a96e1cb7
CY
16152012-10-02 Chong Yidong <cyd@gnu.org>
1616
5694896d
J
1617 * progmodes/hideif.el (hif-lookup, hif-defined):
1618 Handle semantic-c-takeover-hideif.
a96e1cb7 1619
b3ecad33
PE
16202012-10-02 Paul Eggert <eggert@cs.ucla.edu>
1621
1622 Change sampling interval units from ms to ns.
1623 * profiler.el (profiler-sampling-interval): Change units
1624 from ms to ns, multiplying the default by 1000000 so that
1625 it remains 1 ms.
1626 (profiler-report-cpu-line-format): Give enough room for
1627 the maximum counters on 64-bit hosts.
1628 (profiler-report-render-calltree-1): Call them "CPU samples",
1629 not "Time (ms)", since they are not milliseconds now (and
1630 never really were).
1631
8cb51b66 16322012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
c623f81a 1633
5694896d
J
1634 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
1635 Fix querying BBDB for entries without a last name (Bug#11580).
c623f81a 1636
fd795bf4
CY
16372012-10-02 Chong Yidong <cyd@gnu.org>
1638
1639 * emacs-lisp/eieio.el: Restore Version header.
1640
fe0a74f9
SM
16412012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
1642
6be9197e
SM
1643 * vc/diff-mode.el (diff--auto-refine-data): New var.
1644 (diff-hunk): Use it to delay refinement.
1645 (diff-mode): Remove overlays when we turn off font-lock.
1646
18486139
SM
1647 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
1648 (table-initialize-table-fixed-width-mode)
1649 (table-set-table-fixed-width-mode): Remove functions.
1650 (table-command-list): Move initialization into declaration.
1651 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
1652 (table-with-cache-buffer): Use `declare'.
1653 (table-span-cell): Simplify via CSE.
1654 (table-fixed-width-mode): Use define-minor-mode.
1655 (table-call-interactively, table-funcall, table-apply): Remove.
1656 (table-function): New function, to replace them.
1657
d83ef976
SM
1658 * bookmark.el (bookmark-search-pattern): Remove var.
1659 (bookmark-read-search-input): Remove function.
1660 (bookmark-bmenu-search): Reimplement using a minibuffer.
1661
cd386662
SM
1662 * faces.el (modeline): Remove obsolete face name.
1663
fe0a74f9
SM
1664 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
1665 and give a non-nil default value.
1666 (add-change-log-entry): Simplify accordingly.
1667
9f7b98f8
DG
16682012-10-01 Dmitry Gutov <dgutov@yandex.ru>
1669
1670 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
1671 (vc-git-log-edit-toggle-amend): New function.
1672 (vc-git-log-edit-toggle-signoff): New function.
1673 (vc-git-log-edit-mode): New major mode.
1674 (vc-git-log-edit-mode-map): Keymap for it.
1675 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
1676
1677 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
1678 header names.
1679 (log-edit-toggle-header): New function.
1680 (log-edit-extract-headers): Accept function values in HEADERS alist.
1681
62a81506
CY
16822012-10-01 David Engster <deng@randomsample.de>
1683
1684 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
1685 from symbol property and change message to be more consistent with
1686 Emacs proper.
1687 (eieio-describe-generic): Add filename for each implementation.
1688 Fix indices for generic and normal methods.
1689 (eieio-method-def, eieio-class-def): New buttons.
1690 (eieio-help-find-method-definition)
1691 (eieio-help-find-class-definition): New functions.
1692 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
1693 class, constructor and method definitions.
1694
1695 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
1696 information in symbol property.
1697 (scoped-class): Remove.
1698 (eieio-slot-name-index, call-next-method): Check if it is bound.
1699
17002012-10-01 Leo P. White <lpw25@cam.ac.uk>
1701
1702 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
1703 (eieio-custom-mode): New major mode.
1704 (eieio-customize-object): Use it.
1705
17062012-10-01 Eric Ludlam <zappo@gnu.org>
1707
1708 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
1709 specifying the expected class, and whether subclassing is allowed.
1710 (eieio-persistent-convert-list-to-object):
1f9f395d
JB
1711 (eieio-persistent-validate/fix-slot-value)
1712 (eieio-persistent-slot-type-is-class-p): New functions.
1713 (eieio-named::slot-missing): Doc fix.
62a81506
CY
1714
1715 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
1716 Stop using unused publd variable.
1717
1718 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
1719 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
1720 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
1721 (eieio-speedbar-handle-click): Do not specify a class for the
1722 method. Fixes method invocation order problems with EDE.
1723
375e49d4
SM
17242012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
1725
1726 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
1727 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
1728
16ce6ccd
KF
17292012-10-01 Karl Fogel <kfogel@red-bean.com>
1730
1731 * bookmark.el (bookmark-version-control): Give tags in the
1732 :type choices (Bug#12309), and improve doc string.
e4c4abdd
KF
1733 (bookmark-write-file): Bind `print-circle' to `t' to allow
1734 circular custom bookmark types. (Bug#12503)
16ce6ccd 1735
19e54a4d
PE
17362012-10-01 Paul Eggert <eggert@cs.ucla.edu>
1737
86ec63ba
PE
1738 Revert the FOLLOW-SYMLINKS change for file-attributes.
1739 * files.el (remote-file-name-inhibit-cache, after-find-file):
1740 * time.el (display-time-file-nonempty-p): Undo last change.
1741
19e54a4d
PE
1742 * profiler.el (profiler-sampling-interval): Change default back to 1.
1743 See Stefan Monnier in
1744 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
1745
0478776b
FEG
17462012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
1747
1748 Shell output catching a la gud-gdb.
1749 * progmodes/python.el (python-shell-fetch-lines-in-progress)
375e49d4
SM
1750 (python-shell-fetch-lines-string, python-shell-fetched-lines):
1751 New Vars.
0478776b
FEG
1752 (python-shell-fetch-lines-filter): New function.
1753 (python-shell-send-string-no-output): Use them.
1754
c22bac2c
TM
17552012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
1756
1757 * profiler.el (profiler-sampling-interval): Rename from
1758 profiler-sample-interval.
1759 (profiler-sampling-interval): Default to 10.
1760 (profiler-find-profile): New command (was profiler-find-log).
1761 (profiler-find-profile-other-window): New command.
1762 (profiler-find-profile-other-frame): New command.
1763 (profiler-profile): Introduce API-level data structure.
1764
e7a2937b
PE
17652012-09-30 Paul Eggert <eggert@cs.ucla.edu>
1766
1767 file-attributes has a new optional arg FOLLOW-SYMLINKS.
1768 * files.el (remote-file-name-inhibit-cache):
1769 * time.el (display-time-file-nonempty-p): Use it.
1770 * files.el (after-find-file): Don't chase links before calling
1771 file-exists-p, as file-exists-p already does the right thing.
1772
4f595e15
RA
17732012-09-30 Ralf Angeli <angeli@caeruleus.net>
1774
1775 Merge from standalone RefTeX repository.
1776
1777 The following ChangeLog entries are shortened versions of the
1778 original ones with file paths adapted. A not so strongly edited
1779 version of the original ChangeLog can be found in the commit log.
1780
1781 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
375e49d4
SM
1782 (reftex-arg-cite): Use `reftex-cite-key-separator'.
1783 Correctly handle new value type returned by `reftex-citation'.
4f595e15
RA
1784
1785 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
375e49d4
SM
1786 that entries with whitespace at various places are found.
1787 Doc fix. Include entries that are cross-referenced from cited entries.
4f595e15
RA
1788 Include @String definitions in the resulting bib file. Add header
1789 and footer defined in `reftex-create-bibtex-header' and
1790 `reftex-create-bibtex-footer'.
1791 (reftex-do-citation): Make it possible again to insert
1792 non-existent entries. Save match data when asking for optional
1793 arguments. Return all keys, not just the first one.
1794 (reftex-all-used-citation-keys): Fix regexp to correctly extract
1795 all citations in the same line.
1796 (reftex-parse-bibtex-entry): Accept additional optional argument
1797 `raw' and keep quotes or braces if it is non-nil. Match fields
1798 containing hyphens besides word constituents.
1799 (reftex-get-string-refs): New function.
1800 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
1801 and ask if it should be reread in case it did.
1802 (reftex-pop-to-bibtex-entry)
1803 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
1804 entries with spaces or tabs in front of arguments.
1805 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
375e49d4
SM
1806 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
1807 Match entries containing numbers and symbol constituents.
1808 (reftex-do-citation, reftex-figure-out-cite-format):
1809 Use `reftex-cite-key-separator'.
4f595e15
RA
1810
1811 * textmodes/reftex-dcr.el: Move provide statement to end of file.
1812 (reftex-mouse-view-crossref): Explain why point is set.
1813
1814 * textmodes/reftex-global.el: Whitespace changes.
1815
1816 * textmodes/reftex-index.el: Move provide statement to end of
1817 file.
1818 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
1819 (reftex-index-visit-phrases-buffer): Set marker when visiting
1820 buffer. This allows for returning from the phrases file to the
1821 file one was just editing instead of the file where the last
1822 phrases was added from.
1823 (reftex-index-phrases-syntax-table): New variable. Give ?\"
1824 punctuation syntax as it usually is not used as string quote in
1825 TeX-related modes and may occur unmatched. The change also
1826 prevents fontification of quoted content.
1827 (reftex-index-phrases-mode): Use it.
1828
375e49d4
SM
1829 * textmodes/reftex-parse.el (reftex-parse-from-file):
1830 Move backward one char if a `\' was matched after a section macro.
4f595e15
RA
1831 (reftex-parse-from-file): Use beginning of match instead of end as
1832 bound.
1833
1834 * textmodes/reftex-ref.el: Adapt creation of
1835 `reftex-<package>-<macro>' functions to new structure of
1836 `reftex-ref-style-alist'.
375e49d4
SM
1837 (reftex-reference): Use `reftex-ref-style-list' function.
1838 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
4f595e15
RA
1839 reference macro if `reftex-ref-macro-prompt' is non-nil.
1840 (reftex-reference): Pass refstyle to `reftex-format-special'.
1841 Determine reference macro by looking at
375e49d4
SM
1842 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
1843 Use only one special format function.
4f595e15
RA
1844 (reftex-varioref-vref, reftex-fancyref-fref)
1845 (reftex-fancyref-Fref): Remove definitions. The functions are now
1846 generated from `reftex-ref-style-alist'.
1847 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
1848 Remove.
1849 (reftex-format-special): New function.
1850
1851 * textmodes/reftex-sel.el
1852 (reftex-select-cycle-ref-style-internal): Adapt to new structure
1853 of `reftex-ref-style-alist'. Remove code for testing macro type.
1854 (reftex-select-toggle-varioref)
1855 (reftex-select-toggle-fancyref): Remove.
1856 (reftex-select-cycle-ref-style-internal)
1857 (reftex-select-cycle-ref-style-forward)
1858 (reftex-select-cycle-ref-style-backward): New functions.
1859 (reftex-select-label-map): Use `v' and `V' for general cycling
1860 through reference styles. Add `p' for switching between number
1861 and page reference types.
1862
375e49d4
SM
1863 * textmodes/reftex-toc.el (reftex-re-enlarge):
1864 Call `enlarge-window' only if there is something to do because in Emacs
4f595e15
RA
1865 the horizontal version throws an error even if the parameter is 0.
1866
1867 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
1868 (reftex-plug-into-AUCTeX): Doc fix.
1869 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
1870 string. Adapt to new name.
1871 (reftex-ref-style-alist): Change structure so that it is not
1872 possible to use multiple different package names within a style.
375e49d4
SM
1873 Remove the symbols for symbols for macro type distinction.
1874 Add characters for macro selection.
4f595e15
RA
1875 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
1876 (reftex-create-bibtex-footer): New variables.
1877 (reftex-format-ref-function): Mention third argument of special
1878 format function.
375e49d4
SM
1879 (reftex-ref-style-alist, reftex-ref-style-default-list):
1880 New variables.
4f595e15
RA
1881 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
1882 to new implementation. Mark as obsolete. Add compatibility code
1883 for honoring the variable values in case they are set.
375e49d4
SM
1884 (reftex-cite-format-builtin, reftex-bibliography-commands):
1885 Add support for ConTeXt.
1886 (reftex-format-ref-function, reftex-format-cite-function):
1887 Fix custom type.
4f595e15
RA
1888 (reftex-cite-key-separator): New variable.
1889
1890 * textmodes/reftex.el (reftex-syntax-table-for-bib)
1891 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
1892 `reftex-syntax-table' because parens have to retain their paren
1893 syntax in order for parsing of BibTeX entries like @book(...) to
1894 work.
1895 (reftex-in-comment): Do not error out if `comment-start-skip' is
1896 not set. Deal correctly with escaped comment characters.
375e49d4
SM
1897 (reftex-tie-multifile-symbols): Add doc string.
1898 Initialize `reftex-ref-style-list'.
4f595e15
RA
1899 (reftex-untie-multifile-symbols): Add doc string.
1900 (reftex-add-index-macros): Doc fix.
1901 (reftex-ref-style-activate, reftex-ref-style-toggle)
1902 (reftex-ref-style-list): New functions.
1903 (reftex-mode-menu): Use them. Adapt to new structure of
1904 `reftex-ref-style-alist'.
1905 (reftex-select-with-char): Kill the RefTeX Select buffer when
1906 done.
1907 (reftex-remove-if): New function.
1908 (reftex-erase-all-selection-and-index-buffers)
1909 (reftex-mode-menu): Reference styles are now computed from
1910 `reftex-ref-style-alist'. Fix typo.
1911 (reftex-report-bug): New function.
1912 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
1913 algorithms with O(n log n). Introduce optional argument SORT (not
1914 yet used).
1915
440ba395
FEG
19162012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
1917
1918 Enhancements for triple-quote string syntax.
375e49d4
SM
1919 * progmodes/python.el (python-syntax-propertize-function):
1920 Match both quote cases in one regexp.
440ba395
FEG
1921 (python-syntax-stringify): Handle matches properly.
1922
4c478e6b
JL
19232012-09-30 Juri Linkov <juri@jurta.org>
1924
1925 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
93cacb6d 1926 to nil around the call to `insert' to prevent
4c478e6b
JL
1927 directory time modification by lock_file. (Bug#2295)
1928 * tar-mode.el (tar-summarize-buffer): Idem.
1929
d80d54b2
JL
19302012-09-30 Juri Linkov <juri@jurta.org>
1931
1932 * facemenu.el (list-colors-sort): Add option "Luminance".
1933 (list-colors-sort-key): Implement it.
1934
1935 * vc/diff-mode.el (diff-refine-removed):
1936 * vc/ediff-init.el (ediff-fine-diff-A):
1937 * vc/smerge-mode.el (smerge-refined-removed):
1938 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
1939
d7e642cc
JD
19402012-09-30 Jan Djärv <jan.h.d@swipnet.se>
1941
1942 * term/ns-win.el (x-file-dialog): New function.
1943
ee41332b
JB
19442012-09-30 Juanma Barranquero <lekktu@gmail.com>
1945
1946 * ido.el (ido-max-directory-size): Default to nil; the current
1947 default is small for POSIX systems, and impractical on Windows 7
1948 now that lstat returns directory sizes for NTFS.
1949
5938d519
MR
19502012-09-30 Martin Rudalics <rudalics@gmx.at>
1951
1952 In buffer display functions handle window-height/window-width
1953 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
375e49d4
SM
1954 * window.el (window--display-buffer): New argument ALIST.
1955 Obey window-height and window-width alist entries.
1956 (window--try-to-split-window): New argument ALIST.
1957 Bind window-combination-limit to t when the window's size shall be
5938d519
MR
1958 changed and window-combination-limit equals `window-size'.
1959 (display-buffer-in-atom-window)
1960 (display-buffer-in-major-side-window)
1961 (display-buffer-in-side-window, display-buffer-same-window)
1962 (display-buffer-reuse-window, display-buffer-pop-up-frame)
1963 (display-buffer-pop-up-window, display-buffer-below-selected)
1964 (display-buffer-at-bottom, display-buffer-in-previous-window)
1965 (display-buffer-use-some-window): Adjust all callers of
1966 window--display-buffer and window--try-to-split-window.
1967 (fit-frame-to-buffer): New option.
1968 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
1969 is non-nil.
1970 (display-buffer-in-major-side-window): Evaluate window-height /
1971 window-width alist entries.
1972
1973 * help.el (temp-buffer-resize-frames)
1974 (temp-buffer-resize-regexps): Remove options.
1975 (temp-buffer-resize-mode): Adjust doc-string.
1976 (resize-temp-buffer-window): Don't consult
1977 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
1978 temp-buffer-resize-frames.
1979
375e49d4
SM
1980 * dired.el (dired-mark-pop-up):
1981 Call display-buffer-below-selected with a fit-window-to-buffer alist
5938d519
MR
1982 entry.
1983
c4c0c2df
CY
19842012-09-30 Chong Yidong <cyd@gnu.org>
1985
48de8b12
CY
1986 * server.el (server-host): Document the security implications.
1987 (server-auth-key): Doc fix.
1988
1989 * startup.el (initial-buffer-choice): Doc fix.
1990
1991 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
1992
a97dc380
CY
1993 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
1994 restriction change.
1995
d39d3c8e
CY
1996 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
1997
c4c0c2df
CY
1998 * help-fns.el (help-fns--obsolete): Fix last change.
1999
98a5e33b
SM
20002012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
2001
34cf6f39
SM
2002 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
2003 (minor-mode-map-alist): Remove redundant code.
2004
e01c13fe
SM
2005 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
2006 visited in a buffer.
2007 (cvs-insert-visited-file): New function.
2008 (find-file-hook): Use it.
2009
2010 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
2011
02661b3a
SM
2012 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
2013 chose face.
2014 (log-edit-empty-buffer-p): Don't require a space after a header.
2015
43711d4b
SM
2016 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
2017
38a30d64
SM
2018 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
2019
4ffb41a9
SM
2020 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
2021 a proper minor-mode.
2022
98a5e33b
SM
2023 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
2024
de82e29b
GM
20252012-09-29 Glenn Morris <rgm@gnu.org>
2026
5cc2e639
GM
2027 * winner.el (winner-mode): Remove variable (let define-minor-mode
2028 handle it).
2029 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
2030 Doc fixes.
2031 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
2032 (winner-mode): Use define-minor-mode.
2033
7bd302eb
GM
2034 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
2035 the full definition in loaddefs, rather than duplicating it.
2036
2923922f 2037 * help-macro.el (three-step-help): No need to autoload defcustom.
ced08382 2038
0e3e4156
GM
2039 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
2040 (inferior-lisp-program, inferior-lisp-load-command)
2041 (inferior-lisp-prompt, inferior-lisp-mode-hook):
2923922f 2042 No need to autoload defcustoms.
0e3e4156 2043
de82e29b
GM
2044 * hippie-exp.el (hippie-expand-try-functions-list)
2045 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
2046 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
2047 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
2923922f 2048 (hippie-expand-only-buffers): No need to autoload defcustoms.
de82e29b
GM
2049 * progmodes/vhdl-mode.el (vhdl-line-expand):
2050 Explicitly load hippie-exp, so it does not get autoloaded
2051 while hippie-expand-try-functions-list is let-bound.
2052
e60b51ab
GM
20532012-09-28 Glenn Morris <rgm@gnu.org>
2054
277f0cfa
GM
2055 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
2056
e60b51ab
GM
2057 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
2058 Only "cl.el" counts as cl these days.
2059
53baf48a
JL
20602012-09-28 Juri Linkov <juri@jurta.org>
2061
2062 Display archive errors in the echo area instead of inserting
2063 to the file buffer.
2064
2065 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
2066 to STDERR-TEST that can be a regexp matching a successful output.
2067 Create a temporary file and redirect stderr to it. Search for
2068 STDERR-TEST in the stderr output and display it in the echo area
2069 if no match is found.
2070 (archive-extract-by-file): New function like
2071 `archive-extract-by-stdout' but extracting archives to files
2072 and looking for successful matches in stdout. Function body is
2073 mostly copied from `archive-rar-extract'.
2074 (archive-rar-extract): Use `archive-extract-by-file'.
2075 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
2076
9c1228c3
LL
20772012-09-28 Leo Liu <sdl.web@gmail.com>
2078
375e49d4
SM
2079 * pcomplete.el (pcomplete-show-completions):
2080 Use minibuffer-message to make pcomplete usable in minibuffer.
147c0425 2081
9c1228c3
LL
2082 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
2083
7f457c06
SM
20842012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
2085
3df749b0
SM
2086 * type-break.el: Use lexical-binding.
2087 (type-break-mode): Use define-minor-mode.
2088
7f457c06
SM
2089 * emacs-lisp/pcase.el (pcase--mark-used): New.
2090 (pcase--u1): Use it (bug#12512).
2091
2092 * custom.el (load-theme): Set buffer-file-name so the load is recorded
2093 in load-history with the right file name.
2094
c00ebc98
TH
20952012-09-28 Tassilo Horn <tsdh@gnu.org>
2096
2097 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
2098 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
2099 (doc-view-get-bounding-box): Make bounding box slicing work for
2100 ODF and DVI documents.
2101
96fb7170
GM
21022012-09-28 Glenn Morris <rgm@gnu.org>
2103
2104 * type-break.el (type-break-mode, type-break-interval)
2105 (type-break-good-rest-interval, type-break-keystroke-threshold):
2106 No need to autoload.
2107 (type-break-good-rest-interval, type-break-keystroke-threshold):
2108 Add :set-after.
2109
5bc93c67
CY
21102012-09-28 Chong Yidong <cyd@gnu.org>
2111
2112 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
2113 Add :version tag.
2114
9cad61d6
SM
21152012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
2116
e28e67b3 2117 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
9cad61d6 2118
daee954c
GM
21192012-09-27 Glenn Morris <rgm@gnu.org>
2120
a88324d4
GM
2121 * faces.el (x-display-name): Declare (for without-x builds).
2122
8e5064e5
GM
2123 * linum.el (linum-format): Don't autoload it. Improve :type.
2124
cc1783c2
GM
2125 * progmodes/tcl.el: Don't require outline when compiling.
2126 (outline-regexp, outline-level): Declare.
1dddcf4c
GM
2127 * textmodes/sgml-mode.el: Don't require outline when compiling.
2128 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
2129
48c339f2
GM
2130 * term.el (term-ansi-reset):
2131 Try setting term-ansi-face-already-done to nil. (Bug#11785)
2132
daee954c
GM
2133 * vc/vc.el (vc-next-action): Only gripe about committing read-only
2134 files for RCS and SCCS. (Bug#9781)
2135
b7f42161
CY
21362012-09-27 Chong Yidong <cyd@gnu.org>
2137
2138 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
2139 change; value should be t.
2140
a2e770db
SM
21412012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
2142
83600dc8
SM
2143 * image-mode.el: Use lexical-binding.
2144 (image-mode-winprops): Use t to stand for the window of
2145 a buffer that's not displayed.
2146 * doc-view.el (doc-view-new-window-function): Handle the new
2147 t in winprops.
2148 (doc-view-enlarge): Make it a real nop if the size is not changed.
2149 (doc-view-display): Handle the case where the buffer is not (yet?)
2150 displayed in any window.
2151 (doc-view-saved-settings): New var.
2152 (doc-view-mode): Use it.
2153 (doc-view-fallback-mode): Set it.
2154
a2e770db
SM
2155 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
2156 Set lexical-binding.
2157 (minibuffer-eldef-shorten-default): New var.
2158 (minibuffer-default-in-prompt-regexps): Use it for new default.
2159 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
2160
e3b60857
JB
21612012-09-26 Juanma Barranquero <lekktu@gmail.com>
2162
2163 * international/uni-bidi.el:
2164 * international/uni-category.el:
2165 * international/uni-name.el:
2166 * international/uni-numeric.el: Regenerate.
2167
3a880af4
SM
21682012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
2169 Stefan Monnier <monnier@iro.umontreal.ca>
2170
2171 * profiler.el: New file.
2172
07b1a5fb
SM
21732012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
2174
2175 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
2176 (testcover-reinstrument): Simplify with CSE.
2177
42019c2e
JB
21782012-09-26 Juanma Barranquero <lekktu@gmail.com>
2179
2180 * window.el (temp-buffer-window-setup): Fix typo in docstring.
2181
179f044b
WS
21822012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
2183
2184 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
2185 (verilog-auto-input, verilog-auto-insert-lisp)
2186 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
2187 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
2188 (verilog-auto-unused, verilog-auto-wire)
2189 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
2190 newline. Reported by Andrew Jones.
2191 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
2192 Reported by Brad Dobbie.
07b1a5fb
SM
2193 (verilog-batch-delete-trailing-whitespace):
2194 Create verilog-batch-delete-trailing-whitespace.
2195 Reported by Brad Dobbie.
179f044b
WS
2196 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
2197 parameters from another module. Reported by Dan Katz.
2198 (verilog-auto, verilog-auto-assign-modport)
2199 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
2200 AUTOINOUTMODPORT for UVM interface module shell generation.
2201 Reported by Brad Dobbie.
2202 (verilog-auto-inst-interfaced-ports): Make default nil, as more
2203 standard behavior.
2204 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
2205 Reported by Matt Martin.
2206
9c52dd5a
MR
22072012-09-25 Martin Rudalics <rudalics@gmx.at>
2208
2209 * window.el (window--resize-child-windows): When resizing child
2210 windows proportionally, process them in reverse order to
2211 preserve the "when splitting a window the new one gets the odd
2212 line" behavior.
2213 (window--resize-root-window-vertically): When resizing the
2214 minibuffer window try to affect only windows at the bottom of the
2215 frame. (Bug#12419)
2216
863666eb
CY
22172012-09-25 Chong Yidong <cyd@gnu.org>
2218
2219 * subr.el (declare): Doc fix.
2220
2221 * help-fns.el (help-fns--obsolete): Handle macros properly.
2222
59f7af81
CY
22232012-09-25 Chong Yidong <cyd@gnu.org>
2224
2225 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
2226 this function obsolete.
2227
2228 * calendar/cal-x.el (calendar-two-frame-setup)
2229 (calendar-only-one-frame-setup, calendar-one-frame-setup):
2230 * calendar/calendar.el (american-calendar, european-calendar)
2231 (calendar-for-loop):
2232 * comint.el (comint-dynamic-simple-complete)
2233 (comint-dynamic-complete-as-filename, comint-unquote-filename):
2234 * desktop.el (desktop-load-default):
2235 * dired-x.el (dired-omit-here-always)
2236 (dired-hack-local-variables, dired-default-directory):
2237 * emacs-lisp/derived.el (derived-mode-class):
2238 * emacs-lisp/timer.el (timer-set-time-with-usecs):
2239 * emacs-lock.el (toggle-emacs-lock):
2240 * epa.el (epa-display-verify-result):
2241 * epg.el (epg-sign-keys, epg-start-sign-keys)
2242 (epg-passphrase-callback-function):
2243 * eshell/esh-util.el (eshell-for):
2244 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
2245 (eshell-add-to-window-buffer-names):
2246 * files.el (locate-file-completion):
2247 * imenu.el (imenu-example--create-c-index)
2248 (imenu-example--create-lisp-index)
2249 (imenu-example--lisp-extract-index-name)
2250 (imenu-example--name-and-position):
2251 * international/mule-cmds.el (princ-list):
2252 * international/mule-diag.el (decode-codepage-char):
2253 * international/mule-util.el (detect-coding-with-priority):
2254 * iswitchb.el (iswitchb-read-buffer):
2255 * mail/mailalias.el (mail-complete):
2256 * mail/sendmail.el (mail-sent-via):
2257 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
2258 (mouse-major-mode-menu):
2259 * password-cache.el (password-read-and-add):
2260 * pcomplete.el (pcomplete-parse-comint-arguments):
2261 * progmodes/sh-script.el (sh-maybe-here-document):
2262 * replace.el (query-replace-regexp-eval):
2263 * savehist.el (savehist-load):
2264 * simple.el (choose-completion-delete-max-match):
2265 * term.el (term-dynamic-simple-complete):
2266 * vc/ediff-init.el (ediff-check-version):
2267 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
2268 * vc/vc.el (vc-diff-switches-list):
2269 * view.el (view-return-to-alist-update): Likewise.
2270
2271 * subr.el (eval-next-after-load, makehash, insert-string)
2272 (assoc-ignore-representation, assoc-ignore-case): Use declare to
2273 mark obsolete.
2274 (mode-line-inverse-video): Variable deleted.
2275
2276 * international/mule-util.el (string-to-sequence): Remove.
2277
2278 * calendar/calendar.el (calendar-version):
2279 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
2280 (icalendar-convert-diary-to-ical):
2281 * cus-edit.el (custom-mode):
2282 * ansi-color.el (ansi-color-unfontify-region):
2283 * international/latin1-disp.el (latin1-char-displayable-p):
2284 * progmodes/cwarn.el (turn-on-cwarn-mode):
07b1a5fb
SM
2285 * progmodes/which-func.el (which-func-update-1):
2286 Use define-obsolete-function-alias.
59f7af81
CY
2287
2288 * net/newst-backend.el (newsticker-cache-filename):
07b1a5fb
SM
2289 * net/newst-treeview.el (newsticker-groups-filename):
2290 Fix incorrect obsolescence declaration.
59f7af81
CY
2291
2292 * allout.el (allout-passphrase-hint-string): Likewise.
2293 (allout-init): Use a declare form to mark obsolete.
2294
2295 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
2296 this applies to functions.
2297
2298 * iswitchb.el (iswitchb-read-buffer): Move code of
2299 iswitchb-define-mode-map here, and delete that obsolete function.
2300
2301 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
2302 font-lock-reference-face.
2303
cca96c97
GM
23042012-09-25 Glenn Morris <rgm@gnu.org>
2305
b06eeda8
GM
2306 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
2307 Doc fixes.
2308
cca96c97
GM
2309 * eshell/em-term.el (eshell-term-name):
2310 Default to term-term-name. (Bug#12485)
2311
dc4f818b
FEG
23122012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
2313
cca96c97
GM
2314 * progmodes/python.el (python-shell-send-buffer): Better handling
2315 of "if __name__ == '__main__':" conditionals when sending the buffer.
dc4f818b 2316
289c24bd
GM
23172012-09-24 Glenn Morris <rgm@gnu.org>
2318
2319 * eshell/esh-cmd.el (eshell-find-alias-function):
2320 Tighten up file-name regexp. (Bug#12499)
2321
8fb8b88f
FEG
23222012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
2323
2324 Enhancements for triple-quote string syntax.
2325 * progmodes/python.el (python-quote-syntax): Remove.
2326 (python-syntax-propertize-function): New value.
07b1a5fb
SM
2327 (python-syntax-count-quotes, python-syntax-stringify):
2328 New functions.
8fb8b88f 2329
6c27f0f8
CY
23302012-09-24 Chong Yidong <cyd@gnu.org>
2331
a5f2b6ec
CY
2332 * mail/supercite.el (sc-version): Remove obsolete function.
2333 (sc-describe): Don't mark as obsolete, since it is bound.
2334 (sc-submit-bug-report): Remove.
2335
2336 * vc/log-edit.el (cvs-changelog-full-paragraphs)
2337 (cvs-commit-buffer-require-final-newline): Remove.
0c765e5f
CY
2338 (log-edit-require-final-newline)
2339 (log-edit-changelog-full-paragraphs): Default to t.
a5f2b6ec
CY
2340
2341 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
2342 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
2343 * vc/vc.el (vc-checkout-carefully): Likewise.
2344
2345 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
2346 (emerge-version): Remove.
2347
2348 * progmodes/compile.el (compile-internal): Remove.
2349 (compilation-parse-errors-function): Fix typo.
2350
2351 * international/mule.el (set-char-table-default): Remove.
2352 (set-coding-priority, make-coding-system, generic-char-p)
2353 (charset-list, charset-bytes, charset-id): Use declare to mark
2354 functions as obsolete.
2355
2356 * vc/pcvs-defs.el (cvs-buffer-name-alist)
2357 (cvs-invert-ignore-marks): Remove references to obsolete vars.
2358 * vc/vc-hooks.el (vc-default-registered): Don't use
2359 vc-master-templates.
2360
07b1a5fb
SM
2361 * font-lock.el (font-lock-reference-face):
2362 Use define-obsolete-variable-alias.
6c27f0f8
CY
2363
2364 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
2365 * calendar/calendar.el (calendar-font-lock-keywords):
2366 * calendar/diary-lib.el (diary-font-lock-keywords)
2367 (diary-fancy-font-lock-keywords):
2368 * textmodes/reftex-sel.el (reftex-insert-docstruct):
2369 * textmodes/reftex-index.el (reftex-insert-index):
2370 * textmodes/reftex-cite.el (reftex-format-bib-entry):
2371 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2372 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
2373 * progmodes/prolog.el (prolog-font-lock-keywords):
2374 * progmodes/idlwave.el (idlwave-idl-keywords):
2375 * progmodes/ada-mode.el (ada-font-lock-keywords):
2376 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
2377
bcc0adbf
GM
23782012-09-24 Glenn Morris <rgm@gnu.org>
2379
2380 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
2381
095bb823
FEG
23822012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
2383
2384 * progmodes/python.el (python-indent-line): More consistent cursor
2385 movement behavior.
2386
70efc5c9
SM
23872012-09-23 Stefan Merten <smerten@oekonux.de>
2388
2389 * textmodes/rst.el: Fix compiler warning.
2390
2f438239
RW
23912012-09-23 Roland Winkler <winkler@gnu.org>
2392
07b1a5fb
SM
2393 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
2394 Transcribe also LaTeX hyphenation.
2f438239
RW
2395 (bibtex-reformat): Bug fix. Do not quote twice the elements of
2396 bibtex-reformat-previous-options.
2397
936ad041
RW
23982012-09-23 Roland Winkler <winkler@gnu.org>
2399
2400 * proced.el (proced-renice-command): New variable.
2401 (proced-marked-processes): New function.
2402 (proced-with-processes-buffer): New macro.
2403 (proced-send-signal): Use them.
2404 (proced-renice): New command bound to r.
2405
6fab0274
RW
24062012-09-23 Roland Winkler <winkler@gnu.org>
2407
2408 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
2409 ibuffer-saved-filter-groups has one element, shortcut the call of
2410 completing-read. (Bug#12331)
2411
9a930676
CY
24122012-09-23 Chong Yidong <cyd@gnu.org>
2413
2414 * bindings.el (mode-line-toggle-read-only):
2415 * bs.el (bs-toggle-readonly):
2416 * buff-menu.el (Buffer-menu-toggle-read-only):
2417 * dired.el (dired-toggle-read-only):
2418 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
2419
d07ff9db
CY
24202012-09-23 Chong Yidong <cyd@gnu.org>
2421
2422 * image.el (image-type-available-p): Adapt to init-image-library
2423 argument changes.
2424
51c4474e
JL
24252012-09-22 Juri Linkov <juri@jurta.org>
2426
2427 * dired.el (dired-mode-map): Add [remap read-only-mode] for
2428 `dired-toggle-read-only'. (Bug#12462)
2429
43bf5e8e
MR
24302012-09-22 Martin Rudalics <rudalics@gmx.at>
2431
2432 * subr.el (temp-output-buffer-show): New function.
2433 (with-output-to-temp-buffer): Call temp-output-buffer-show
2434 instead of internal-temp-output-buffer-show.
2435
c88b867f
CY
24362012-09-22 Chong Yidong <cyd@gnu.org>
2437
3df47cd5
CY
2438 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
2439 (Bug#12462).
2440
c88b867f
CY
2441 * repeat.el (repeat): Doc fix (Bug#12348).
2442
2443 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
2444 (Bug#10909).
2445
2446 * simple.el (shell-command-on-region): Doc fix.
3171e303 2447 (read-only-mode): Doc fix.
c88b867f 2448
df9685f3
EZ
24492012-09-22 Eli Zaretskii <eliz@gnu.org>
2450
2451 * emacs-lisp/timer.el (run-with-idle-timer)
2452 (timer-activate-when-idle): Warn against reinvoking an idle timer
2453 from within its own timer action. (Bug#12447)
2454
8e17c9ba
MR
24552012-09-22 Martin Rudalics <rudalics@gmx.at>
2456
2457 * cus-start.el (window-combination-limit): Add new optional
2458 values.
2459 * window.el (temp-buffer-window-show)
2460 (window--try-to-split-window): Handle new values of
2461 window-combination-limit (Bug#1806).
2462 (split-window): Test window-combination-limit for t instead of
2463 non-nil.
2464 (display-buffer-at-bottom): New buffer display action function.
2465 * help.el (temp-buffer-resize-regexps): New option.
2466 (temp-buffer-resize-mode): Rewrite doc-string.
2467 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
bd909927 2468 Don't resize reused window. Suggested by Glenn Morris.
8e17c9ba 2469
48a24920
SM
24702012-09-22 Stefan Merten <smerten@oekonux.de>
2471
70efc5c9 2472 * textmodes/rst.el: Revamp section title faces.
48a24920
SM
2473 (rst-official-version)
2474 (rst-package-emacs-version-alist): Sync with official version
2475 V1.4.0.
2476 (rst-faces-defaults, rst-set-level-default)
2477 (rst-level-face-max, rst-level-face-base-color)
2478 (rst-level-face-base-light, rst-level-face-format-light)
2479 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
2480 (rst-adornment-faces-alist): Match new setup.
2481 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
2482 (rst-level-5, rst-level-6): New faces.
2483
82f8cd94
CY
24842012-09-22 Chong Yidong <cyd@gnu.org>
2485
2486 * simple.el (undo): Handle indirect buffers (Bug#8207).
2487
acfa068f 24882012-09-21 Leo Liu <sdl.web@gmail.com>
a8c14da8
LL
2489
2490 IDO: Disable match re-ordering for buffer switching.
2bc9406c 2491 * ido.el (ido-buffer-disable-smart-matches): New variable.
a8c14da8
LL
2492 (ido-set-matches-1): Use it. (Bug#2042)
2493
acfa068f 24942012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
a316d229
JM
2495
2496 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
2497 Fix 2011-05-17 change. (Bug#12418)
2498
acfa068f 24992012-09-21 Leo Liu <sdl.web@gmail.com>
d02e58f8
LL
2500
2501 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
2502
acfa068f 25032012-09-21 Glenn Morris <rgm@gnu.org>
511fd0b2
GM
2504
2505 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
2506 Be more robust about locating simple.el.
2507
acfa068f 25082012-09-21 Glenn Morris <rgm@gnu.org>
fa05bfe0
GM
2509
2510 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
2511
acfa068f
CY
25122012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
2513
2514 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
2515
41a97e6f
JL
25162012-09-20 Juri Linkov <juri@jurta.org>
2517
eb2deaff
JL
2518 * replace.el (query-replace-read-from): Use `read-regexp' instead
2519 of `read-from-minibuffer' when `regexp-flag' is non-nil.
2520 (occur-read-primary-args): Use `read-regexp' instead of
2521 `read-string'.
2522 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
2523 `read-from-minibuffer'.
2524 * isearch.el (isearch-occur): Use `read-regexp' instead of
2525 `read-string'.
2526 * dired.el (dired-read-regexp): Use `read-regexp' instead of
2527 `read-from-minibuffer'.
2528 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
2529 of `read-string'. (Bug#7567)
2530
5825610b
JL
2531 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
2532 and allow accepting a list of strings prepended to a list of
2533 standard default values. Doc fix. (Bug#12321)
2534
eebbf404
JL
2535 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
2536
41a97e6f
JL
2537 * replace.el (read-regexp): Don't add ": " when PROMPT already
2538 ends with a colon and space. (Bug#12321)
2539
c9e452d3
TH
25402012-09-20 Tassilo Horn <tsdh@gnu.org>
2541
2542 * doc-view.el (doc-view-display): Better fix for the cl-assertion
2543 error.
2544
ee97deee
SM
25452012-09-20 Stefan Merten <smerten@oekonux.de>
2546
70efc5c9 2547 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
ee97deee
SM
2548 Fixes feature request bug#11711.
2549 (rst-mode): Create `imenu-create-index-function'.
2550 (rst-get-stripped-line): Delete after refactoring.
2551 (rst-section-tree, rst-section-tree-rec)
2552 (rst-section-tree-point): Refactor and document properly.
2553 (rst-imenu-find-adornments-for-position)
07b1a5fb
SM
2554 (rst-imenu-convert-cell, rst-imenu-create-index):
2555 New function.
ee97deee 2556
f490dab9
SM
25572012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
2558
95b9712e
SM
2559 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
2560 (macroexp--expand-all): Use it.
2561 (macroexp--funcall-and-return): Remove by folding it into its sole
2562 caller (macroexp--warn-and-return).
2563 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
2564 Use macroexp--obsolete-warning.
2565
f490dab9
SM
2566 * calc/calc.el: Fix last change by removing the whole chunk, since it
2567 was only needed back when Calc was not bundled.
2568
96e8d411
MR
25692012-09-20 Martin Rudalics <rudalics@gmx.at>
2570
2571 * emacs-lisp/debug.el (debug): Restore assignment to
2572 debugger-old-buffer removed on 2012-09-08.
2573
0876a82d
JL
25742012-09-20 Juri Linkov <juri@jurta.org>
2575
2576 * dired-aux.el (dired-diff): Remove (require 'diff) since
2577 `diff-latest-backup-file' is now autoloaded.
2578
9f7c28f0
CY
25792012-09-20 Chong Yidong <cyd@gnu.org>
2580
2581 * vc/diff.el (diff-latest-backup-file): Autoload.
2582
7a04bee9
SM
25832012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
2584
e6f0a80d
SM
2585 * calc/calc.el: Remove redundant autoload shape check.
2586 (sel-mode): Don't defvar.
2587 (calc-get-stack-element): Add `sel-mode' arg instead.
2588 (calc-top, calc-top-list): Pass it this additional argument.
2589 * calc/calc-store.el (calc-store-map):
2590 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
2591 (calc-map-equation, calc-outer-product, calc-inner-product):
2592 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
2593
7a04bee9
SM
2594 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
2595
12734222
JL
25962012-09-19 Juri Linkov <juri@jurta.org>
2597
2598 * dired-aux.el (dired-diff): Add (require 'diff) because
2599 `diff-latest-backup-file' is not autoloaded.
2600 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
2601 of `dired-get-filename' to t to not report error when there is
2602 no default file on the current line.
2603
46624b4f
SM
26042012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
2605
ce97595b
SM
2606 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
2607 macroexp--eval-if-compile.
2608 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
2609 (macroexp--expand-all): Use them (bug#12371).
2610
46624b4f
SM
2611 * doc-view.el (doc-view-guess-paper-size)
2612 (doc-view-scale-bounding-box): Fix unbound `caddr'.
2613
db8a5a18
TH
26142012-09-19 Tassilo Horn <tsdh@gnu.org>
2615
2616 New feature: set optimal slice from BoundingBox information.
2617 * doc-view.el (doc-view-mode-map): Add keybinding.
2618 (doc-view-menu): Add menu entry.
2619 (doc-view-set-slice): Adapt docstring.
2620 (doc-view-get-bounding-box, doc-view-guess-paper-size)
2621 (doc-view-scale-bounding-box)
2622 (doc-view-set-slice-from-bounding-box): New functions.
2623 (doc-view-paper-sizes): New defvar.
2624
69f6644c
GM
26252012-09-19 Glenn Morris <rgm@gnu.org>
2626
35f5b19d
GM
2627 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
2628 (byte-compile-log-warning): Autoload. (Bug#12371)
2629
69f6644c
GM
2630 * calendar/calendar.el (calendar-american-month-header)
2631 (calendar-european-month-header, calendar-iso-month-header)
2632 (calendar-month-header): New options.
2633 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
2634 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
2635
e543ae91
JD
26362012-09-19 Jan Djärv <jan.h.d@swipnet.se>
2637
2638 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
2639
2fd5e67d
JL
26402012-09-18 Juri Linkov <juri@jurta.org>
2641
2642 * dired-aux.el (dired-diff): Restore original functionality of
2643 getting the default value, but keep new feature of using the
2644 latest existing backup file (`diff-latest-backup-file').
2645
42917e79
JL
26462012-09-18 Juri Linkov <juri@jurta.org>
2647
2648 * dired.el (dired-mark): If the region is active in Transient Mark
2649 mode, mark all files in the active region. Doc fix.
2650 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
2651 Doc fix. (Bug#10624)
2652
20f70ede
JL
26532012-09-18 Juri Linkov <juri@jurta.org>
2654
2655 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
2656 attributes for M-n are pulled from the file at point.
2657 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
2658 Suggested by Drew Adams. (Bug#10624)
2659
32fb8162
DG
26602012-09-18 Dmitry Gutov <dgutov@yandex.ru>
2661
2662 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
2663 whitespace after "end".
2664 (ruby-do-end-to-brace): Collapse block to one line if it fits
2665 within fill-column.
2666
37ab5092
MR
26672012-09-18 Martin Rudalics <rudalics@gmx.at>
2668
2669 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
2670 value.
2671 (debug): Don't remove debugger window when debugger is expected
2672 to be back.
2673
ed1f0bd3
CY
26742012-09-18 Chong Yidong <cyd@gnu.org>
2675
2676 * custom.el (defface): Doc fix.
2677
2678 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
2679
a11035b8
MB
26802012-09-18 Martin Blais <blais@furius.ca> (tiny change)
2681
2682 * progmodes/compile.el (compilation-start): Use compilation-always-kill
2683 to initialize query-on-exit; then test that instead (bug#12288).
2684
64f6a736
SM
26852012-09-17 Stefan Merten <smerten@oekonux.de>
2686
70efc5c9 2687 * textmodes/rst.el: Add support for `testcover'.
64f6a736
SM
2688 (rst-defcustom-testcover, rst-testcover-add-compose)
2689 (rst-testcover-add-1value): New functions.
2690 (rst-portable-mark-active-p): Replace by `use-region-p'.
2691 (rst-update-section, rst-classify-adornment)
2692 (rst-find-title-line): Mark `1value' forms.
2693 (rst-classify-adornment): Remove superfluous form.
2694 (rst-update-section, rst-get-adornments-around)
2695 (rst-adornment-complete-p, rst-get-next-adornment)
2696 (rst-adjust, rst-promote-region)
2697 (rst-display-adornments-hierarchy, rst-straighten-adornments)
2698 (rst-find-pfx-in-region, rst-section-tree-rec)
2699 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
2700 (rst-toc-node, rst-toc, rst-forward-section)
2701 (rst-iterate-leftmost-paragraphs)
2702 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
2703 (rst-bullet-list-region)
2704 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
2705 (rst-compile-find-conf, rst-compile)
2706 (rst-repeat-last-character): Fix style.
2707
580bd868
CY
27082012-09-17 Chong Yidong <cyd@gnu.org>
2709
2710 * comint.el (comint--complete-file-name-data): Don't add a space
2711 if the status is `sole'; that adds a gratuitous space in the
2712 completion-cycling case (Bug#12092).
2713
2714 * pcomplete.el (pcomplete-completions-at-point): Likewise.
2715
69de3ec6
RS
27162012-09-17 Richard Stallman <rms@gnu.org>
2717
0dee970c
RS
2718 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
2719 only in the mime-shown mode, not in raw mode.
2720 (rmail-mime): Toggle off mime by displaying the message without
6b250df6 2721 mime processing. (Bug#12305)
0dee970c 2722
6b250df6
GM
2723 * mail/rmail.el (rmail-retry-failure):
2724 Turn off mime processing first. (Bug#12037)
acb1c47b 2725
69de3ec6
RS
2726 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
2727
d079ee5f
CY
27282012-09-17 Chong Yidong <cyd@gnu.org>
2729
2730 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
2731 (shell-dynamic-complete-functions): Convert to defcustom.
2732 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
2733
865fe16f
CY
2734 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
2735 * comint.el (comint-prompt-read-only):
2736 * custom.el (defcustom):
2737 * hi-lock.el (hi-lock-mode):
2738 * ibuffer.el (ibuffer-formats):
2739 * ielm.el (ielm-prompt-read-only):
2740 * novice.el (disable-command):
2741 * saveplace.el (toggle-save-place):
2742 * speedbar.el (speedbar-supported-extension-expressions):
2743 * startup.el (auto-save-list-file-prefix, init-file-user)
2744 (after-init-hook, inhibit-startup-echo-area-message):
2745 * strokes.el (strokes-help):
2746 * time-stamp.el (time-stamp):
2747 * calendar/calendar.el (calendar, diary-file):
2748 * calendar/diary-lib.el (diary-mail-entries, diary)
2749 (diary-list-entries-hook):
2750 * calendar/holidays.el (holidays, calendar-holidays):
2751 * calendar/lunar.el (lunar-phases):
2752 * calendar/solar.el (sunrise-sunset):
2753 * emulation/edt.el (edt-load-keys):
2754 * emulation/viper.el (viper-mode):
2755 * eshell/em-alias.el (eshell-command-aliases-list):
2756 * eshell/esh-util.el (eshell-convert-numeric-arguments):
2757 * international/ogonek.el (ogonek-information):
2758 * net/tramp-cmds.el (tramp-bug):
2759 * net/quickurl.el (quickurl-reread-hook-postfix):
2760 * play/decipher.el (decipher-font-lock-keywords):
2761 * progmodes/cc-styles.el (c-set-style):
2762 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
2763 * progmodes/inf-lisp.el (inferior-lisp-prompt):
2764 * progmodes/octave-mod.el (octave-mode):
2765 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
2766 * progmodes/verilog-mode.el (verilog-read-defines):
2767 * textmodes/two-column.el (2C-mode): Likewise.
2768
48093eb9
KY
27692012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
2770
2771 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
2772 that holds many addresses.
2773
c584eaf9
CY
27742012-09-16 Chong Yidong <cyd@gnu.org>
2775
40d70ecb
CY
2776 * align.el (align-areas): Call the indication function with
2777 positions instead of markers for arguments (Bug#12343).
2778
1667e065
CY
2779 * files.el (parse-colon-path): Use split-string (Bug#12351).
2780
fdc2806d 2781 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
71ce58e7 2782 (display-buffer-function): Mark as obsolete.
fdc2806d 2783
f1be615c 2784 * progmodes/compile.el (compilation-parse-errors): Accept list
ce97595b
SM
2785 values similar to font-lock-keywords (Bug#12136).
2786 Suggested by Oleksandr Manzyuk.
c584eaf9
CY
2787 (compilation-error-regexp-alist): Doc fix.
2788
f40a9709
GM
27892012-09-15 Glenn Morris <rgm@gnu.org>
2790
72aa16e1
GM
2791 * version.el (emacs-bzr-version-bzr): New function.
2792 (emacs-bzr-get-version): Add optional EXTERNAL argument.
2793
82375160
GM
2794 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
2795 checkouts, check the parent dirstate matches the branch.
2796 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
2797 empty string.
2798
f40a9709
GM
2799 * version.el (emacs-bzr-version): Doc fix.
2800 (emacs-bzr-version-dirstate): New function.
2801 (emacs-bzr-get-version): For lightweight checkouts, if the parent
2802 is local try and check that it matches the branch. If not, just
2803 use dirstate information. (Bug#12441)
2804
cb26b7f5
JL
28052012-09-14 Juri Linkov <juri@jurta.org>
2806
2807 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
2808 (Bug#12399)
2809
2de39f08
SM
28102012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
2811
0fb3cb7c
SM
2812 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
2813
2de39f08
SM
2814 * emacs-lisp/edebug.el: Miscellaneous cleanup.
2815 Remove obsolete byte-compiler hack that tried to silence some warnings.
2816 (edebug-submit-bug-report): Remove.
2817 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
2818 Remove aliases, use the un-prefixed name instead.
2819 (edebug-pop-to-buffer): Consider other frames.
2820 (edebug-original-read):: Make it more obvious that it's always defined.
2821 (edebug--make-form-data-entry, edebug--form-data-name)
2822 (edebug--form-data-begin, edebug--form-data-end): Rename from the
2823 single-dashed name, and implement with cl-defstruct.
2824 (edebug-set-form-data-entry): Use the standard accessors.
2825 (edebug-make-top-form-data-entry): Use push.
2826 (edebug-no-match): Drop useless `funcall'.
2827 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
2828 to functions.
2829 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
2830 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
2831 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
2832 (easy-menu-define, with-custom-print): Remove redundant specs.
2833 (edebug-outside-overriding-local-map)
2834 (edebug-outside-overriding-terminal-local-map): Remove, unused.
2835 (edebug--display): Bind unread-command-events directly to nil rather
2836 than binding it to unread-command-events and later setting it to nil.
2837 (edebug--display): Kill edebug-eval-buffer here...
2838 (edebug--recursive-edit): ...rather than here.
2839 Bind standard-output and standard-input.
2840 (edebug-eval): Check cl-macroexpand-all is fboundp.
2841 (edebug-temp-display-freq-count): Fix last change.
2842
2843 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
2844 * subr.el (noreturn, 1value): Add `debug' spec.
2845 * emacs-lisp/advice.el: Require cl-lib.
2846 (ad-copy-tree): Remove, use copy-tree instead.
2847 (ad-dolist): Remove use dolist or cl-dolist instead.
2848 (ad-do-return): Remove, use cl-return instead.
2849 (defadvice): Add `debug' spec.
2850
5b68b333
JL
28512012-09-13 Juri Linkov <juri@jurta.org>
2852
2853 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
2854 (Bug#12399)
2855
b9800ec4
GM
28562012-09-13 Glenn Morris <rgm@gnu.org>
2857
6a2e6868
GM
2858 * calc/calc.el (math-compose-expr):
2859 * calc/calc-ext.el (math-compose-expr):
2860 * progmodes/cc-defs.el (cl-macroexpand-all):
2861 * progmodes/cc-langs.el (delete-duplicates, mapcan)
2862 (cl-macroexpand-all): Update declarations.
2863
b9800ec4
GM
2864 * vc/vc.el: No need to require ediff.
2865 (ediff-load-version-control): Declare.
2866 (ediff-vc-internal): Fix declaration.
2867 (vc-version-ediff): Require ediff.
2868
c18e885b
PE
28692012-09-13 Paul Eggert <eggert@cs.ucla.edu>
2870
2871 Use a more backwards-compatible timer format (Bug#12430).
2872 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
2873 being right after USECS, as that better supports old code that
2874 inadvisedly looked directly at the timer vector.
2875
d607d303
KH
28762012-09-13 Kenichi Handa <handa@gnu.org>
2877
2878 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
2879 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
2880 `coding-priority' property of these language environment.
2881
72eac303
PE
28822012-09-13 Paul Eggert <eggert@cs.ucla.edu>
2883
2884 Fix glitches caused by addition of psec to timers (Bug#12430).
2885 * image.el (image-animate-timer):
2886 * time.el (display-time-world-timer):
2887 Use timer--function and timer--args rather than raw access to
2888 timer vector.
2889
2168fe4f
GM
28902012-09-13 Glenn Morris <rgm@gnu.org>
2891
2892 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
2893 If not compiling a file, try using load-file-name.
2894
bd8d6108
SM
28952012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
2896
c0c54fbd
SM
2897 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
2898 Fix last change.
2899 (edebug-update-eval-list): Use `push'.
2900
bd8d6108
SM
2901 * emacs-lisp/edebug.el: Use lexical-binding.
2902 Remove the "edebug-" prefix from non-dynamically-scoped variables.
2903 Mark unused args with underscore.
2904 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
2905 (edebug-form-data): Use defvar-local.
2906 (edebug-make-before-and-after-form, edebug-make-after-form):
2907 Use backquote.
2908 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
2909 Not dynamically scoped any more.
2910 (edebug--enter-trace): Add arguments `function' and `args'.
2911 Rename from edebug-enter-trace.
2912 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
2913 (edebug--update-coverage): Add `after-index' and `value' args.
2914 Rename from edebug-update-coverage.
2915 (edebug-slow-after): Call it accordingly.
2916 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
2917 edebug-recursive-edit.
2918 (edebug--display): Call it accordingly. Add args `value',
2919 `offset-index', and `arg-mode'. Rename from edebug-display.
2920 (edebug-debugger, edebug): Call it accordingly.
2921 (edebug-eval-display-list): Use dolist.
2922
a9f9d9de
JL
29232012-09-12 Juri Linkov <juri@jurta.org>
2924
2925 * info.el (Info-search): Don't check for isearch-mode and
2926 isearch-regexp before let-binding search-spaces-regexp to
2927 Info-search-whitespace-regexp.
2928 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
2929 search-whitespace-regexp if isearch-lax-whitespace or
2930 isearch-regexp-lax-whitespace is non-nil.
2931 (Info-mode): Don't set local variable search-whitespace-regexp.
2932 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
2933
bfeae2cf
SM
29342012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2935
2936 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
2937 (debugger-env-macro): Remove support for unread-command-char.
2938
2939 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
2940 the temporary map re-appearing on emulation-mode-map-alists.
2941
2942 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
2943 since 22.1.
2944
2945 * ehelp.el (with-electric-help): Accept functions in
2946 electric-help-form-to-execute.
2947 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
2948 And replace unread-command-char -> unread-command-events.
2949
fbbcaf1b
MA
29502012-09-12 Michael Albinus <michael.albinus@gmx.de>
2951
2952 Sync with Tramp 2.2.6.
2953
2954 * net/tramp.el (tramp-accept-process-output): Don't use
2955 JUST-THIS-ONE in the XEmacs case.
2956
2957 * net/trampver.el: Update release number.
2958
4dece104
MR
29592012-09-12 Martin Rudalics <rudalics@gmx.at>
2960
bfeae2cf
SM
2961 * emacs-lisp/debug.el (debugger-previous-window-height):
2962 New variable.
4dece104
MR
2963 (debug): When debugger-jumping-flag is non-nil try to restore
2964 height of debugger window. (Bug#8789)
2965
45b82ad0
SM
29662012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2967
60c49c0f
SM
2968 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
2969 overriding-local-map and pre/post-command-hook here.
2970 (edebug-recursive-edit): Do it here instead (bug#12345).
2971 (edebug-outside-unread-command-char): Remove all uses of
2972 unread-command-char.
2973
45b82ad0
SM
2974 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
2975 inhibit-debugger is bound instead.
2976
baa26ea0
BG
29772012-09-11 Bastien Guerry <bzg@gnu.org>
2978
2979 * subr.el (set-temporary-overlay-map): Add a docstring.
fc0c31f8 2980 (Bug#12346)
baa26ea0 2981
04e8abfa
BG
29822012-09-11 Bastien Guerry <bzg@gnu.org>
2983
96d03571 2984 * minibuffer.el (completion-table-subvert): Fix docstring.
fc0c31f8 2985 (Bug#12347)
96d03571
BG
2986
29872012-09-11 Bastien Guerry <bzg@gnu.org>
2988
fc0c31f8 2989 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
04e8abfa 2990
04e082b0
MM
29912012-09-10 Michael R. Mauger <mmaug@yahoo.com>
2992
2993 * progmodes/sql.el: Version 3.1
2994 (sql-db2-escape-newlines): New variable.
2995 (sql-escape-newlines-filter): Use it.
2996
399a361b
JB
29972012-09-10 Juanma Barranquero <lekktu@gmail.com>
2998
2999 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
3000
0780c517
DN
30012012-09-10 Dan Nicolaescu <dann@gnu.org>
3002
45b82ad0
SM
3003 * vc/diff-mode.el (diff-mode-menu):
3004 Bind diff-remove-trailing-whitespace.
0780c517 3005
9b851e25
SM
30062012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
3007
3008 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
fc0c31f8
JB
3009 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
3010 (emacs-lisp-byte-code-mode): New functions.
9b851e25
SM
3011 (eval-sexp-add-defvars): Don't skip defvars in column >0.
3012 (eval-defun-2): Remove bogus interactive spec.
3013 (lisp-indent-line): Remove redundant whole-exp code, now done in
3014 indent-according-to-mode.
3015 (save-match-data): Remove redundant indent data.
3016
3017 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
3018 Use `declare'.
3019
3231d532
JL
30202012-09-09 Juri Linkov <juri@jurta.org>
3021
3022 * replace.el (replace-regexp-lax-whitespace): New defcustom.
3023 (replace-lax-whitespace, query-replace-regexp)
3024 (query-replace-regexp-eval, replace-regexp): Doc fix.
3025 (perform-replace, replace-highlight): Let-bind
3026 isearch-lax-whitespace to replace-lax-whitespace and
3027 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
3028
3029 * isearch.el (isearch-query-replace): Let-bind
3030 replace-lax-whitespace to isearch-lax-whitespace and
3031 replace-regexp-lax-whitespace to
3032 isearch-regexp-lax-whitespace. (Bug#10885)
3033
70fe8236
SM
30342012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
3035
3036 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
3037
8ed43f15
AM
30382012-09-09 Alan Mackenzie <acm@muc.de>
3039
70fe8236
SM
3040 * progmodes/cc-engine.el (c-state-cache-init):
3041 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
3042 (c-record-parse-state-state):
3043 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
8ed43f15 3044
bfabf70a
AS
30452012-09-09 Andreas Schwab <schwab@linux-m68k.org>
3046
3047 * register.el (register-separator): Rename from
3048 separator-register. All uses changed. Doc fix.
3049 (register): Fix version.
3050
011474aa
CY
30512012-09-09 Chong Yidong <cyd@gnu.org>
3052
3053 * replace.el (query-replace-map): Bind four new symbols for
3054 requesting window scrolling.
3055
3056 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
3057 query-replace-map (Bug#8948).
3058
3059 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
3060
3061 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
3062 since they are now in query-replace-map.
3063
3064 * window.el (scroll-other-window-down): Make the arg optional.
3065
a8b7cd8d
CY
30662012-09-09 Chong Yidong <cyd@gnu.org>
3067
3068 * files.el (hack-local-variables-confirm): Use quit-window to kill
3069 the *Local Variables* buffer.
3070
c3268831
DG
30712012-09-08 Dmitry Gutov <dgutov@yandex.ru>
3072
3073 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
3074 not just expect to be at its beginning. Adjust callees.
3075 Succeed when do-end block has no space before the pipe character.
3076 (ruby-brace-to-do-end): When the original block is one-liner,
3077 convert to multiline. Reindent the result.
3078
0979429b
J
30792012-09-08 Jambunathan K <kjambunathan@gmail.com>
3080
3081 * register.el (register): New group.
27359e99 3082 (separator-register): New user option.
0979429b
J
3083 (increment-register): Route it to `append-to-register', if
3084 register contains text. Implication is that `C-x r +' can now be
3085 used for appending to a text register (bug#12217).
3086 (append-to-register, prepend-to-register): Add separator based on
5b9c45a6 3087 `separator-register'.
0979429b 3088
ace2989a
AM
30892012-09-08 Alan Mackenzie <acm@muc.de>
3090
3091 AWK Mode: make auto-newline work when there's "==" in the pattern.
3092 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
3093 correctly.
0979429b
J
3094 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
3095 Test more rigorously for "=" token.
ace2989a 3096
616c6c36
DG
30972012-09-08 Dmitry Gutov <dgutov@yandex.ru>
3098
0979429b
J
3099 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
3100 Only fail when reached LIMIT.
616c6c36 3101
35d98877
CY
31022012-09-08 Chong Yidong <cyd@gnu.org>
3103
3104 * dired.el (dired-mode-map): Don't bind M-=.
3105
3106 * dired-aux.el (dired-diff): Use backup file as default.
3107
1715f2db
DA
31082012-09-08 Drew Adams <drew.adams@oracle.com>
3109
3110 * subr.el (add-to-history): Fix delete usage (Bug#12314).
3111
6dcef6ec
CY
31122012-09-08 Chong Yidong <cyd@gnu.org>
3113
3114 * subr.el (syntax-after, syntax-class): Doc fix.
3115
fa2bcf43
MR
31162012-09-08 Martin Rudalics <rudalics@gmx.at>
3117
3118 * window.el (display-buffer-in-previous-window): New buffer
3119 display action function.
3120
3121 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
3122 (debugger-previous-window): New variable.
3123 (debug): Rewrite using display-buffer-in-previous-window,
3124 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
3125
daac280a
SM
31262012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
3127
3128 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
3129
9dd40b00
MM
31302012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
3131
daac280a
SM
3132 * progmodes/python.el (python-shell-send-string):
3133 When default-directory is remote, create temp file on remote
9dd40b00
MM
3134 filesystem.
3135 (python-shell-send-file): When file is remote, pass local view of
3136 file paths to remote Python interpreter. (Bug#12340)
3137
145823ec
CY
31382012-09-07 Chong Yidong <cyd@gnu.org>
3139
cee2e90d
CY
3140 * window.el (switch-to-buffer): Doc fix (Bug#12181).
3141
0d7eb2ea
CY
3142 * files.el (after-find-file): Don't fail on a read-only buffer if
3143 require-final-newline is `visit' or `visit-save' (Bug#11156).
3144
145823ec
CY
3145 * subr.el (read-char-choice): Allow quitting via ESC ESC.
3146
daac280a
SM
3147 * userlock.el (ask-user-about-supersession-threat):
3148 Use read-char-choice (Bug#12093).
145823ec 3149
74c582e6
CY
31502012-09-07 Chong Yidong <cyd@gnu.org>
3151
e5c2edf7
CY
3152 * subr.el (buffer-narrowed-p): New function.
3153
3154 * ses.el (ses-widen):
3155 * simple.el (count-words--buffer-message):
1f9f395d 3156 * net/browse-url.el (browse-url-of-buffer): Use it.
e5c2edf7
CY
3157
3158 * simple.el (count-words-region): Don't signal an error if there
3159 is a non-nil prefix arg and the mark is not set.
c640e87d 3160
74c582e6
CY
3161 * help.el (describe-key-briefly): Allow the message to be seen
3162 when invoked from the minibuffer (Bug#7014).
3163
d81ceaaf
DG
31642012-09-07 Dmitry Gutov <dgutov@yandex.ru>
3165
3166 * progmodes/ruby-mode.el (ruby-end-of-defun)
3167 (ruby-beginning-of-defun): Simplify, allow indentation before
3168 block beginning and end keywords.
8f06acce
DG
3169 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
3170 (ruby-end-of-defun): Expect that the point is at the beginning of
3171 the defun.
d81ceaaf 3172
d458ef98
SM
31732012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3174
3175 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
3176 (bug#12367).
3177 (cl--make-usage-args): Strip _ from argument names.
3178
20367d28
RS
31792012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3180
3181 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
3182 obsolete alias speedbar-key-map.
3183 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
3184 (vhdl-index-menu-init): Don't use obsolete variable
3185 font-lock-maximum-size.
3186
3424a4f6
CY
31872012-09-06 Chong Yidong <cyd@gnu.org>
3188
3189 * frame.el (window-system-version): Mark as obsolete.
3190
fcbfbdea
CY
3191 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
3192 of obsolete variable speedbar-key-map.
3193
826b3235
JL
31942012-09-06 Juri Linkov <juri@jurta.org>
3195
3196 * replace.el (replace-lax-whitespace): New defcustom.
3197 (query-replace, query-replace-regexp, query-replace-regexp-eval)
3198 (replace-string, replace-regexp): Mention it in docstrings.
3199 (perform-replace, replace-highlight): Let-bind
3200 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
3201 to the values of replace-lax-whitespace and regexp-flag.
3202 Don't let-bind search-whitespace-regexp. (Bug#10885)
3203
3204 * isearch.el (isearch-query-replace): Let-bind
3205 replace-lax-whitespace instead of let-binding
3206 replace-search-function and replace-re-search-function.
3207 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
3208 and isearch-regexp-lax-whitespace to lazy-highlight variables.
3209 (isearch-toggle-symbol): Set isearch-regexp to nil
3210 in isearch-word mode (like in isearch-toggle-word).
3211
1ec5e41d
JL
32122012-09-06 Juri Linkov <juri@jurta.org>
3213
3214 * replace.el (replace-search-function)
3215 (replace-re-search-function): Set default values to nil.
3216 (perform-replace): Let-bind isearch-related variables based on
3217 replace-related values, call `isearch-search-fun' and let-bind
3218 the result to `search-function'. Remove code that sets
3219 `search-function' and `search-string' separately for
3220 `delimited-flag'.
3221 (replace-highlight): Add new argument `delimited-flag' and
3222 rename other arguments to the names used in `perform-replace'.
3223 Let-bind `isearch-word' to the argument `delimited-flag'.
3224 (Bug#10885, bug#10887)
3225
0ba2d4b6
DG
32262012-09-07 Dmitry Gutov <dgutov@yandex.ru>
3227
3228 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
3229 ruby-beginning-of-indent, simplify, allow all keywords to have
3230 indentation before them.
3231 (ruby-beginning-of-indent): Adjust for above. Search until the
3232 found point is not inside a string or comment.
3233 (ruby-font-lock-keywords): Allow symbols to start with "@"
3234 character, give them higher priority than variables.
3235 (ruby-syntax-propertize-function)
3236 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
3237 matchers. Expression expansions are not comments when inside a
3238 string, and there comment syntax status is irrelevant.
3239 (ruby-match-expression-expansion): New function. Check that
3240 expression expansion is inside a string, and it's not escaped.
3241 (ruby-font-lock-keywords): Use it.
3242
ef654460
MR
32432012-09-05 Martin Rudalics <rudalics@gmx.at>
3244
3245 * help.el (temp-buffer-max-height): New default value.
3246 (temp-buffer-resize-frames): New option.
3247 (resize-temp-buffer-window): Optionally resize frame.
3248
3249 * window.el (fit-frame-to-buffer-bottom-margin): New option.
3250 (fit-frame-to-buffer): New function.
3251
7e570fbf 32522012-09-05 Glenn Morris <rgm@gnu.org>
72308848
GM
3253
3254 * emulation/cua-rect.el (cua--init-rectangles):
3255 * textmodes/picture.el (picture-mode-map):
3256 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
3257 like forward-char and backward-char. (Bug#12317)
3258
7e570fbf 32592012-09-05 Leo Liu <sdl.web@gmail.com>
3aca1291
LL
3260
3261 * progmodes/flymake.el (flymake-warning-re): New variable.
3262 (flymake-parse-line): Use it.
3263
7e570fbf 32642012-09-05 Glenn Morris <rgm@gnu.org>
b6683353
GM
3265
3266 * calendar/holidays.el (holiday-christian-holidays):
3267 Rename an entry. (Bug#12289)
3268
7e570fbf 32692012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
64f8c4bd
SM
3270
3271 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
3272 (bug#12222).
3273
972debf2
SM
32742012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
3275
3276 * loadup.el: Load macroexp. Remove hack.
3277 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
3278 (macroexp--expand-all): Use it to get better warnings.
3279 (macroexp--backtrace, macroexp--trim-backtrace-frame)
3280 (internal-macroexpand-for-load): New functions.
3281 (macroexp--pending-eager-loads): New var.
3282 (emacs-startup-hook): New hack to replace one in loadup.el.
3283 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
3284 (cl--compiler-macro-cXXr): Move to top, before they can be used.
3285 (cl-psetf): Simplify.
3286 (cl-defstruct): Add indent rule.
3287
8ce192e3
LI
32882012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
3289
3290 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
3291 over `user-mail-address' for the SMTP MAIL FROM envelope.
3292 (smtpmail-via-smtp): Ditto.
3293
6578b4d8
DG
32942012-09-04 Dmitry Gutov <dgutov@yandex.ru>
3295
3296 * progmodes/ruby-mode.el: Clean up keybindings.
3297 (ruby-mode-map): Don't bind ruby-electric-brace,
3298 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
3299 backward-kill-word, reindent-then-newline-and-indent.
3300 (ruby-mark-defun): Remove.
3301 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
3302 (ruby-mode): Set local beginning-of-defun-function and
3303 end-of-defun-function values.
3304
c5e28e39
MR
33052012-09-03 Martin Rudalics <rudalics@gmx.at>
3306
3307 * window.el (temp-buffer-window-setup-hook)
3308 (temp-buffer-window-show-hook): New hooks.
3309 (temp-buffer-window-setup, temp-buffer-window-show)
3310 (with-temp-buffer-window): New functions.
972debf2
SM
3311 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
3312 (special-display-popup-frame): Make sure the window used shows BUFFER.
c5e28e39
MR
3313
3314 * help.el (temp-buffer-resize-mode): Fix doc-string.
3315 (resize-temp-buffer-window): New optional argument WINDOW.
3316
3317 * files.el (recover-file, save-buffers-kill-emacs):
3318 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
3319
73406194
MA
33202012-09-02 Michael Albinus <michael.albinus@gmx.de>
3321
3322 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
3323 remote definition of `default-directory', ensure we can connect.
3324
63dd1c6f
JL
33252012-09-02 Juri Linkov <juri@jurta.org>
3326
3327 Toggle whitespace matching mode with M-s SPC.
3328 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
3329
3330 * isearch.el (search-whitespace-regexp): Doc fix.
3331 Remove cons cell customization.
3332 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
3333 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
3334 New variables.
3335 (isearch-forward, isearch-forward-regexp): Doc fix.
3336 (isearch-toggle-lax-whitespace): New command.
3337 (search-forward-lax-whitespace, search-backward-lax-whitespace)
3338 (re-search-forward-lax-whitespace)
3339 (re-search-backward-lax-whitespace): New functions.
3340 (isearch-whitespace-regexp): Remove function.
3341 (isearch-query-replace): Let-bind replace-search-function and
3342 replace-re-search-function.
3343 (isearch-occur): Let-bind search-spaces-regexp according to the
3344 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
3345 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
3346 condition for C-q SPC.
3347 (isearch-search-fun-default): Use new functions mentioned above.
3348 (isearch-search-forward, isearch-search-backward): Remove functions.
3349 (isearch-search): Don't let-bind search-spaces-regexp.
3350 (isearch-lazy-highlight-space-regexp): Remove variable.
3351 (isearch-lazy-highlight-lax-whitespace)
3352 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
3353 (isearch-lazy-highlight-new-loop): Use them.
3354 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
3355
af7dda05
CY
33562012-09-02 Chong Yidong <cyd@gnu.org>
3357
3358 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
3359
d67d3afd
GM
33602012-09-02 Glenn Morris <rgm@gnu.org>
3361
3362 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
3363
69678719
GM
33642012-09-01 Glenn Morris <rgm@gnu.org>
3365
3366 * term.el: Tidy up menu definitions.
3367 (term-mode-map): Use easymenu for In/Out, Complete menus.
3368 (term-pager-break-map): Initialize in the defvar.
3369 (term-terminal-menu, term-signals-menu): Define with easymenu.
3370 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
3371 (term-pager-menu): New, extracted from term-process-pager.
3372 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
3373 (term-update-mode-line): Propertize line/char and page items.
3374 (term-process-pager): Move keymap initialization elsewhere.
3375
78dd6ab1
MR
33762012-09-01 Martin Rudalics <rudalics@gmx.at>
3377
3378 * window.el (switch-to-prev-buffer): Handle additional values of
3379 BURY-OR-KILL argument. Don't switch in minibuffer window.
3380 (switch-to-next-buffer): Don't switch in minibuffer window.
3381 (quit-restore-window): New function based on quit-window.
3382 Handle additional values of former KILL argument.
3383 (quit-window): Call quit-restore-window with appropriate
3384 interpretation of KILL argument.
3385 (display-buffer-below-selected): New buffer display action
3386 function.
3387
3d10e134
SM
33882012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
3389
3390 * minibuffer.el (completion-at-point-functions): Complete docstring
3391 (bug#12254).
3392
0e23ef9d
PE
33932012-09-01 Paul Eggert <eggert@cs.ucla.edu>
3394
3395 Better seed support for (random).
3396 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
3397 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
3398 * play/mpuz.el, play/tetris.el, play/zone.el:
3399 * calc/calc-comb.el (math-init-random-base):
3400 * play/blackbox.el (bb-init-board):
3401 * play/life.el (life):
3402 * server.el (server-use-tcp):
3403 * type-break.el (type-break):
3404 Remove unnecessary call to (random t).
3405 * net/sasl.el (sasl-unique-id-function):
3406 Change (random t) to (random), now that the latter is more random.
3407 * play/life.el (life-initialized): Remove no-longer-needed var.
3408
862382df
MR
34092012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
3410
3411 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
3412 Consider frame's buffer predicate when choosing the buffer.
3413 (Bug#12081)
3414
262a66e1
RS
34152012-08-30 Richard Stallman <rms@gnu.org>
3416
3417 * simple.el (special-mode-map): Delete binding for `z'.
3418
f17e1d00
AS
34192012-08-30 Andreas Schwab <schwab@linux-m68k.org>
3420
3421 * progmodes/compile.el (compilation-always-kill): Doc fix.
3422
24777832
CY
34232012-08-30 Chong Yidong <cyd@gnu.org>
3424
3425 * window.el (display-buffer-reuse-frames): Make the obsolescence
3426 message more informative.
3427
69ba1f04
GM
34282012-08-30 Glenn Morris <rgm@gnu.org>
3429
3430 * paren.el (show-paren-delay):
3431 Add a :set function. Doc fix. (Bug#12297)
3432
f0019ede
MB
34332012-08-29 Martin Blais <blais@furius.ca> (tiny change)
3434
3435 * progmodes/compile.el (compilation-always-kill): New var.
3436 (compilation-start): Use it.
3437
35e62fc9
SM
34382012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
3439
af070a1c
SM
3440 * simple.el (read-only-mode): Move from files.el for bootstrapping.
3441 * files.el (read-only-mode): Move to simple.el.
3442
35e62fc9
SM
3443 * files.el (read-only-mode): New minor mode.
3444 (toggle-read-only): Use it and mark obsolete.
3445 (find-file--read-only):
3446 * vc/vc.el (vc-next-action, vc-checkout):
3447 * vc/vc-cvs.el (vc-cvs-checkout):
3448 * obsolete/vc-mcvs.el (vc-mcvs-update):
3449 * ffap.el (ffap--toggle-read-only): Update callers.
3450
c2c43c23
MA
34512012-08-29 Michael Albinus <michael.albinus@gmx.de>
3452
3453 * eshell/esh-ext.el (eshell-external-command): Do not examine
972debf2
SM
3454 remote shell scripts.
3455 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
c2c43c23
MA
3456
3457 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
3458 "/usr/local/sbin".
3459
9fba804b
SM
34602012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3461
3462 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
3463
eada0861 34642012-08-28 Leo Liu <sdl.web@gmail.com>
22ab32ef 3465
806f0cc7
LL
3466 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
3467 completion-at-point. (Bug#12220)
3468
3bb213b9
LL
3469 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
3470
22ab32ef
LL
3471 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
3472
eada0861 34732012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
db148c21 3474
19c17fc1
CY
3475 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
3476 be buffer-local; add delete-trailing-whitespace (bug#12259).
db148c21 3477
eada0861 34782012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
ffe6eaf1
JM
3479
3480 * progmodes/hideif.el (hif-compress-define-list):
3481 Fix typo. (Bug#11951)
3482
eada0861 34832012-08-28 Dan Nicolaescu <dann@gnu.org>
d30aca1b
DN
3484
3485 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
3486 buffer local setting.
3487
27d6c5a8
LL
3488 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
3489 rcirc-encode-coding-system.
3490
eada0861 34912012-08-28 Leo Liu <sdl.web@gmail.com>
4432d2e2
LL
3492
3493 * net/rcirc.el (rcirc-split-message): New function.
3494 (rcirc-send-message): Use it. (Bug#12051)
3495
d44688e4
JL
34962012-08-28 Juri Linkov <juri@jurta.org>
3497
3498 * info.el (Info-fontify-node): Hide empty lines at the end of
3499 the node. (Bug#12272)
3500
34f10d41
MR
35012012-08-27 Drew Adams <drew.adams@oracle.com>
3502
3503 * dired.el (dired-pop-to-buffer): Make window start at beginning
3504 of buffer (Bug#12281).
3505
77f1f99c
CY
35062012-08-26 Chong Yidong <cyd@gnu.org>
3507
3508 * window.el (special-display-regexps, special-display-frame-alist)
3509 (special-display-buffer-names, special-display-function)
3510 (display-buffer-reuse-frames): Mark as obsolete.
3511
3512 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
3513
3514 * help.el (help-print-return-message): Don't treat
3515 display-buffer-reuse-frames specially.
3516
d97af5a0
CY
35172012-08-26 Chong Yidong <cyd@gnu.org>
3518
9fba804b
SM
3519 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
3520 New variable, replacing gdb-frame-parameters.
d97af5a0
CY
3521 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
3522 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
3523 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
3524 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
3525 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
3526 the functions directly with gdb-display-buffer-other-frame-action.
3527 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
3528 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
3529 (gdb-display-stack-buffer, gdb-display-locals-buffer)
3530 (gdb-display-registers-buffer): Define directly.
3531 (def-gdb-display-buffer): Macro deleted.
3532 (gdb-display-buffer): Remove second and third args, callers don't
3533 use them. Defer to the default display-buffer behavior, apart
3534 from making windows dedicated.
3535 (gdb-setup-windows): Don't call display-buffer unnecessarily.
3536
3537 * progmodes/gud.el (gud-display-line): Just use display-buffer.
3538
3539 * window.el (display-buffer-pop-up-frame): Handle a
3540 pop-up-frame-parameters alist entry.
3541 (display-buffer): Document it.
3542
dd7ffad6
CY
35432012-08-26 Chong Yidong <cyd@gnu.org>
3544
3545 * isearch.el (search-whitespace-regexp): Make string and nil
3546 values apply to both ordinary and regexp search. Allow a cons
3547 cell value to distinguish between the two.
3548 (isearch-whitespace-regexp, isearch-search-forward)
3549 (isearch-search-backward): New functions.
3550 (isearch-occur, isearch-search-fun-default, isearch-search)
3551 (isearch-lazy-highlight-new-loop): Use them.
3552 (isearch-forward, isearch-forward-regexp): Doc fix.
3553
4c47bd1e
CY
35542012-08-26 Chong Yidong <cyd@gnu.org>
3555
3556 * faces.el (help-argument-name): Always inherit from italic
3557 (Bug#12213).
3558
9aba119d
MR
35592012-08-25 Martin Rudalics <rudalics@gmx.at>
3560
3561 * window.el (window--even-window-heights): Even heights when
3562 WINDOW and the selected window form a vertical combination.
3563 (display-buffer-use-some-window): Provide that window used gets
3564 sized back by quit-window. (Bug#11880) and (Bug#12091)
3565
ca5256ad
PE
35662012-08-24 Paul Eggert <eggert@cs.ucla.edu>
3567
3568 Fix file time stamp problem with bzr and CVS (Bug#12001).
3569 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
3570 in the file's time stamp, since the version control system loses
3571 that information.
3572
d1c0d176
JL
35732012-08-22 Juri Linkov <juri@jurta.org>
3574
3575 * info.el (Info-fontify-node): Hide the suffix of the
3576 Info file name in the header line. (Bug#12187)
3577
141562ff
GM
35782012-08-22 Glenn Morris <rgm@gnu.org>
3579
3580 * calendar/cal-tex.el (cal-tex-weekly-common):
3581 Restore leading blank page.
3582
61a48e19 35832012-08-22 Le Wang <l26wang@gmail.com> (tiny change)
add9ca2d
BG
3584
3585 * misc.el (forward-to-word, backward-to-word): Activate or extend
61a48e19
GM
3586 the region under `shift-select-mode'. (Bug#12231)
3587
35882012-08-22 Bastien Guerry <bzg@gnu.org>
0fcd3d9f
BG
3589
3590 * progmodes/executable.el (executable-prefix): Set to "#!" instead
3591 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
3592 gives details on why the space is never needed.
3593
ea95074e
MR
35942012-08-22 Martin Rudalics <rudalics@gmx.at>
3595
9fba804b
SM
3596 * window.el (walk-window-tree, window-with-parameter):
3597 New optional argument MINIBUF to control whether these functions
ea95074e
MR
3598 should run on the minibuffer window.
3599 (window-at-side-list): Don't operate on minibuffer window.
3600 (window-in-direction): Simplify and rewrite doc-string.
9fba804b
SM
3601 (window--size-ignore): Rename to window--size-ignore-p.
3602 Update callers.
caceae25
MR
3603 (display-buffer-in-atom-window, window--major-non-side-window)
3604 (window--major-side-window, display-buffer-in-major-side-window)
9fba804b
SM
3605 (delete-side-window, display-buffer-in-side-window):
3606 New functions.
caceae25
MR
3607 (window--side-check, window-deletable-p, delete-window)
3608 (delete-other-windows, split-window): Handle side windows and
3609 atomic windows appropriately.
3610 (window--display-buffer): Call display-buffer-record-window also
3611 when the window buffer did not change.
ea95074e 3612
80a51fa0
CS
36132012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
3614
3615 * help-fns.el (help-fns--key-bindings):
3616 Abbreviate non-symbol remap targets. (Bug#12174)
3617
fbb6300b
MR
36182012-08-22 Martin Rudalics <rudalics@gmx.at>
3619
3620 * dired.el (dired-mark-remembered): Don't clobber point.
3621 (Bug#11795)
3622
2b2c0794
GM
36232012-08-22 Glenn Morris <rgm@gnu.org>
3624
3625 * progmodes/bug-reference.el (bug-reference): New custom group.
3626 (bug-reference-bug-regexp): Make it a defcustom.
3627
37219830
DU
36282012-08-22 Daiki Ueno <ueno@unixuser.org>
3629
3630 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
3631 (js-paren-indent-offset, js-square-indent-offset)
3632 (js-curly-indent-offset): Add :safe (Bug#12257).
3633
94e0e559
EC
36342012-08-22 Edward O'Connor <hober0@gmail.com>
3635
3636 * json.el (json-key-format): Add error properties.
3637 (json-encode-key): New function.
3638 (json-encode-hash-table, json-encode-alist, json-encode-plist):
3639 Use json-encode-key.
3640
da485f5e
GM
36412012-08-22 Glenn Morris <rgm@gnu.org>
3642
3643 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
3644 (cal-tex-leftday, cal-tex-rightday): Remove functions.
3645 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
3646 Update for above change.
3647
c6cc78b8
AS
36482012-08-21 Andreas Schwab <schwab@linux-m68k.org>
3649
3650 * cus-face.el (custom-face-attributes): Fix customize type for the
3651 :underline attribute. (Bug#11805)
3652
5481664a
MR
36532012-08-21 Martin Rudalics <rudalics@gmx.at>
3654
3655 * window.el (window-point-1, set-window-point-1): Remove.
3656 (window-in-direction, record-window-buffer)
3657 (set-window-buffer-start-and-point, split-window-below)
9fba804b
SM
3658 (window--state-get-1, display-buffer-record-window):
3659 Replace calls to window-point-1 and set-window-point-1 by calls to
5481664a
MR
3660 window-point and set-window-point respectively.
3661
6d74698e
GM
36622012-08-21 Glenn Morris <rgm@gnu.org>
3663
b7fa2691
GM
3664 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
3665 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
3666 Use it.
3667
52f56d5a
GM
3668 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
3669 (cal-tex-shortday): New function.
3670 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
3671 (cal-tex-cursor-filofax-daily): Use the above.
3672
9f1ee09e
GM
3673 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
3674 New functions.
3675 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
3676 (cal-tex-cursor-filofax-week): Use them.
3677
79858159
GM
3678 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
3679 New constants.
3680 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
3681 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
3682
d346b2b4
GM
3683 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
3684 (cal-tex-end-document): Don't rely on buffer name.
3685
b2403709
GM
3686 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
3687 Use cal-tex-vspace.
3688 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
3689 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
2d225a3a
GM
3690 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
3691 Use cal-tex-arg.
b2403709 3692
1cebb5c0
GM
3693 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
3694 (cal-tex-cursor-week, cal-tex-cursor-week2)
3695 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
3696 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
3697 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
3698 (cal-tex-insert-preamble, cal-tex-b-document)
3699 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
3700 Improve cal-tex-cmd usage.
3701
c68cd5d4
GM
3702 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
3703 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
3704 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
3705 (cal-tex-weekly-paper): New function.
3706 (cal-tex-cursor-week, cal-tex-cursor-week2)
3707 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
3708 (cal-tex-cursor-day): Use it.
3709
9dca4801
GM
3710 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
3711 (cal-tex-cursor-filofax-week): Remove leading blank page.
3712
1941e134
GM
3713 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
3714 Add autoload cookie. For now at least, don't use color, since
3715 no other cal-tex function does.
3716
6d74698e
GM
3717 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
3718 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
3719 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
3720
64cde199
JL
37212012-08-21 Juri Linkov <juri@jurta.org>
3722
3723 * info.el (Info-file-attributes): New variable.
3724 (info-insert-file-contents): Add file attributes to
3725 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
3726 `Info-toc-nodes' when previous modtime of the Info file is less
3727 than new modtime.
3728 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
3729 of info.el. (Bug#12230)
3730
32757648
GM
37312012-08-20 Glenn Morris <rgm@gnu.org>
3732
3733 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
3734 * calendar/holidays.el (calendar-holiday-list):
3735 Report errors with display-warning rather than beep'n'sleep.
3736
a32fbbcf
MA
37372012-08-20 Michael Albinus <michael.albinus@gmx.de>
3738
3739 * net/tramp.el (tramp-accept-process-output): Accept only output
3740 from PROC. Otherwise, process filters and sentinels might be
3741 confused. (Bug#12145)
3742
a05731a0
CY
37432012-08-20 Chong Yidong <cyd@gnu.org>
3744
3745 * descr-text.el (describe-text-properties-1): Use overlays-in to
3746 report on empty overlays (Bug#3322).
3747
36e8d1eb
GM
37482012-08-20 Glenn Morris <rgm@gnu.org>
3749
3d300447
GM
3750 * mail/rmailout.el (rmail-output-read-file-name):
3751 Trap and report errors in rmail-output-file-alist elements.
3752
36e8d1eb
GM
3753 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
3754 since most non-font-lock faces are not also variables).
3755
b96e5814
ER
37562012-08-20 Edward Reingold <reingold@iit.edu>
3757
3758 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
3759 New function. (Bug12160)
3760
7cef3569
GM
37612012-08-19 Glenn Morris <rgm@gnu.org>
3762
3763 * mail/rmailout.el (rmail-output-read-file-name):
3764 Fix previous change (when the alist is nil or does not match).
3765
17975d7f
CY
37662012-08-19 Chong Yidong <cyd@gnu.org>
3767
3768 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
3769 (Bug#12228).
3770
2170b1bd
CY
37712012-08-18 Chong Yidong <cyd@gnu.org>
3772
3773 * simple.el (yank-handled-properties): New defcustom.
3774 (yank-excluded-properties): Add font-lock-face and category.
3775 (yank): Doc fix.
3776
9fba804b
SM
3777 * subr.el (remove-yank-excluded-properties):
3778 Obey yank-handled-properties. The special handling of font-lock-face
2170b1bd
CY
3779 and category is now done this way, instead of being hard-coded.
3780 (insert-for-yank-1): Remove font-lock-face handling.
3781 (yank-handle-font-lock-face-property)
3782 (yank-handle-category-property): New function.
3783
ee218151
GM
37842012-08-17 Glenn Morris <rgm@gnu.org>
3785
3786 * mail/rmailout.el (rmail-output-read-file-name):
3787 Check rmail-output-file-alist against the full message body
3788 in the correct rmail buffer. (Bug#12214)
3789
4a6bc3fd
MA
37902012-08-17 Michael Albinus <michael.albinus@gmx.de>
3791
9fba804b
SM
3792 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3793 Eliminate superfluous prompt. (Bug#12203)
4a6bc3fd 3794
383dcbf9
CY
37952012-08-17 Chong Yidong <cyd@gnu.org>
3796
3797 * mouse.el (mouse-appearance-menu): If x-select-font returns a
3798 font spec, set the font directly (Bug#3228).
3799
998c4a6a
MR
38002012-08-17 Martin Rudalics <rudalics@gmx.at>
3801
3802 * window.el (delete-window): Fix last fix.
3803
52162052
MR
38042012-08-16 Martin Rudalics <rudalics@gmx.at>
3805
3806 * window.el (window-valid-p): Move to window.c.
85c2386b
MR
3807 (window-child, window-child-count, window-last-child)
3808 (window-normalize-window, window-combined-p)
3809 (window-combinations, window-atom-root, window-min-size)
3810 (window-sizable, window-sizable-p, window-size-fixed-p)
3811 (window-min-delta, window-max-delta, window--resizable)
3812 (window--resizable-p, window-resizable, window-total-size)
3813 (window-full-height-p, window-full-width-p, window-body-size)
3814 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
3815 (minimize-window, window-deletable-p, delete-window)
3816 (delete-other-windows, set-window-buffer-start-and-point)
3817 (next-buffer, previous-buffer, split-window, balance-windows-2)
3818 (set-window-text-height, window-buffer-height)
3819 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
9fba804b
SM
3820 (truncated-partial-width-window-p): Minor code adjustments.
3821 In doc-strings state whether the argument window has to denote a
85c2386b 3822 live, valid or any window.
52162052 3823
1c308380
PS
38242012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
3825
3826 * progmodes/subword.el (subword-forward-function)
3827 (subword-backward-function, subword-forward-regexp)
3828 (subword-backward-regexp): New variables.
3829 (subword-forward, subword-forward-internal, subword-backward-internal):
3830 Use new variables, eg so that different "word" definitions
3831 can be easily used. (Bug#11411)
3832
94c9ece1
SM
38332012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
3834
3835 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
3836 for composite selectors.
3837 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
3838 operation just because we can't find a previous revision.
3839
f2045622
CY
38402012-08-15 Chong Yidong <cyd@gnu.org>
3841
3842 * frame.el (set-frame-font): Accept font objects.
3843
582db660
SM
38442012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
3845
3846 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
3847
2f29c200
WJ
38482012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
3849
456e62c2
WJ
3850 * man.el (Man-overstrike-face, Man-underline-face)
3851 (Man-reverse-face): Remove variables.
3852 (Man-overstrike, Man-underline, Man-reverse): New faces.
3853 (Man-fontify-manpage): Use them instead of the variables.
3854 (Man-cleanup-manpage): Comment change.
3855 (Man-ansi-color-map): New variable.
3856 (Man-fontify-manpage): Use it.
3857 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
3858
2f29c200
WJ
3859 Implement ANSI SGR parameters 22-27 (bug#12146).
3860 * ansi-color.el (ansi-colors): Doc fix.
3861 (ansi-color-context, ansi-color-context-region): Doc fix.
3862 (ansi-color--find-face): New function.
3863 (ansi-color-apply, ansi-color-apply-on-region): Use it.
3864 Rename the local variable `face' to `codes' since it is now a list of
3865 ansi codes. Doc fix.
3866 (ansi-color-get-face): Remove.
3867 (ansi-color-parse-sequence): New function, derived from
3868 ansi-color-get-face.
3869 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
3870 codes 22-27.
3871
b4f5e9df
SM
38722012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
3873
3874 * subr.el (read-passwd): Allow use from a minibuffer.
3875
ba025fbd
EZ
38762012-08-14 Eli Zaretskii <eliz@gnu.org>
3877
3878 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
3879 inside comments and strings as identifiers.
3880
3881 * progmodes/gud.el (gud-tooltip-print-command): Quote the
3882 expression to evaluate. This allows to evaluate expressions with
3883 embedded whitespace.
3884 (gud-tooltip-tips): Add a blank before the newline in the
3885 message-box text, for the benefit of message-box emulation on
3886 MS-Windows.
3887
3888 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
3889 messages from GDB, pop them up in a tooltip to give feedback to
3890 user.
b4f5e9df
SM
3891 (gdb-tooltip-print-1): Quote the expression to evaluate.
3892 This allows to evaluate expressions with embedded whitespace.
ba025fbd
EZ
3893 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
3894 if the TTY name is nil or empty (which happens when communicating
3895 with the inferior via pipes, e.g. on MS-Windows).
3896 (gdb-internals): If GDB sends a "&\n" empty debugging message,
3897 don't send that to the GUD buffer.
3898
c548f821
GM
38992012-08-14 Glenn Morris <rgm@gnu.org>
3900
3901 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
3902 Optimize away setq-default with no args, as for setq. (Bug#12195)
3903
55802e4a
CY
39042012-08-14 Chong Yidong <cyd@gnu.org>
3905
4abcdac8
CY
3906 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
3907
55802e4a
CY
3908 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
3909 (Bug#12085).
3910
3c3cda1a
GM
39112012-08-14 Glenn Morris <rgm@gnu.org>
3912
3913 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
3914
e1873bd0
MA
39152012-08-14 Michael Albinus <michael.albinus@gmx.de>
3916
3917 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
3918 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
3919 Use cached shell name.
3920
925411b4
FEG
39212012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
3922
3923 * progmodes/python.el (python-shell-send-string):
3c3cda1a 3924 (python-shell-send-setup-code): Do not use `format' with `message'.
925411b4 3925
e636fafe
DG
39262012-08-14 Dmitry Gutov <dgutov@yandex.ru>
3927
3928 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
3929 (ruby-percent-literal-beg-re): New constant.
3930 (ruby-syntax-general-delimiters-goto-beg): Rename to
3931 `ruby-syntax-enclosing-percent-literal', improve literal type check.
3932 (ruby-syntax-propertize-general-delimiters): Rename to
3933 `ruby-syntax-propertize-percent-literal', it's a shorter and more
3934 popular term. Adjust comments everywhere.
3935 (ruby-syntax-propertize-percent-literal): Only propertize when not
3936 inside a simple string or comment. When the literal is unclosed,
3937 leave the text after it unpropertized.
f063063a
DG
3938 (ruby-syntax-methods-before-regexp): New constant.
3939 (ruby-syntax-propertize-function): Use it to recognize regexps.
3940 Don't look at the text after regexp, just use the whitelist.
e636fafe 3941
e5b19827
AS
39422012-08-14 Andreas Schwab <schwab@linux-m68k.org>
3943
3944 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
3945 non-nil always load the compiled file if it exists. (Bug#12197)
3946
a9f6f311
CY
39472012-08-14 Chong Yidong <cyd@gnu.org>
3948
3949 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
3950 (hi-lock-set-pattern): When deciding whether to use font lock or
3951 overlays, look at font-lock-mode instead of font-lock-fontified
3952 (Bug#12168).
3953 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
3954 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
3955
7d806b1e
DU
39562012-08-14 Daiki Ueno <ueno@unixuser.org>
3957
3958 * subr.el (internal--after-with-selected-window): Fix typo
3959 (Bug#12193).
3960
5beed586
FEG
39612012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
3962
3963 Use `completion-table-dynamic' for completion functions.
3964 * progmodes/python.el
3965 (python-shell-completion--do-completion-at-point)
e636fafe
DG
3966 (python-shell-completion--get-completions):
3967 Remove functions.
5beed586
FEG
3968 (python-shell-completion-complete-at-point): New function.
3969 (python-completion-complete-at-point): Use it.
3970
92cb3b04
J
39712012-08-13 Jambunathan K <kjambunathan@gmail.com>
3972
3973 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
3974 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
3975
89660017
SM
39762012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
3977
3c98c962
SM
3978 * subr.el (function-get): Refine `autoload' arg so it can also
3979 autoload functions for gv.el (bug#12191).
3980 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
3981 autoloads macros.
3982
aa7c6dbe
SM
3983 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
3984 Prefer pcase-let over destructuring-bind.
3985 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
3986 Also, remove whitespace as we go, rather than after accumulating the
3987 various places.
3988
89660017
SM
3989 * subr.el (internal--before-with-selected-window)
3990 (internal--after-with-selected-window): Fix typo seleted->selected.
3991 (with-selected-window): Adjust callers.
3992 Reported by Dmitry Gutov <dgutov@yandex.ru>.
3993
31cd32c9
BG
39942012-08-13 Bastien Guerry <bzg@gnu.org>
3995
0fcd3d9f 3996 * window.el (special-display-popup-frame): Minor docstring
31cd32c9
BG
3997 enhancement. (Bug#12172)
3998
1b15d8ad
AS
39992012-08-13 Andreas Schwab <schwab@linux-m68k.org>
4000
31e54db0
AS
4001 * tar-mode.el (tar-header-data-end): Only ignore size for files of
4002 type 1-6.
4003 (tar-header-block-summarize, tar-get-descriptor): Handle pax
4004 extended headers.
4005
1b15d8ad
AS
4006 * files.el (hack-local-variables-filter): Remove useless eval.
4007
35cb9c06
MR
40082012-08-13 Martin Rudalics <rudalics@gmx.at>
4009
4010 * subr.el (with-selected-window): Fix last change.
4011
1439443b
SM
40122012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
4013
4014 * subr.el (internal--before-with-seleted-window)
4015 (internal--after-with-seleted-window): New functions.
1b15d8ad
AS
4016 (with-selected-window): Use them, to replace dependency on
4017 tty-top-frame.
1439443b 4018
0d9e2599
NN
40192012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
4020
4021 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
4022 binding for `newline'.
4023 (ruby-move-to-block): When moving backward, stop at block opening,
4024 not indentation.
4025 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
4026 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
4027 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
4028 `ruby-toggle-block'.
4029
ba10c48c
SM
40302012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
4031
4032 * ibuffer.el (ibuffer-do-toggle-read-only):
4033 * dired.el (dired-toggle-read-only):
4034 * buff-menu.el (Buffer-menu-toggle-read-only):
4035 * bindings.el (mode-line-toggle-read-only):
4036 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
4037
9229c658
AS
40382012-08-12 Andreas Schwab <schwab@linux-m68k.org>
4039
4040 * descr-text.el (describe-char): Put the overlays over the
4041 "displayed as" character.
4042
0fd09128
JB
40432012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
4044
4045 * calc/calc-units.el (math-default-units-table): Give an
4046 initial value.
4047 (math-put-default-units): Add options to put composite units and
4048 unit systems in the default units table.
4049 (calc-convert-units): Send composite units to
4050 `math-put-default-units' when appropriate.
4051
9ff9402d 40522012-08-11 Glenn Morris <rgm@gnu.org>
7aacaf15 4053
fbb5e336
GM
4054 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
4055
7aacaf15
GM
4056 * tutorial.el (help-with-tutorial):
4057 * emacs-lisp/copyright.el (copyright-update-directory):
4058 * emacs-lisp/autoload.el (autoload-find-generated-file)
4059 (autoload-find-file): Disable local eval: (for insurance).
4060
f40b9f10
GM
4061 * files.el (hack-local-variables-filter): If an eval: form is not
4062 known to be safe, and enable-local-variables is :safe, then ignore
4063 the form totally, as is done for non-eval forms. (Bug#12155)
6f97980a 4064 This is CVE-2012-3479.
f40b9f10 4065
daa9f1a6
SM
40662012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
4067
4068 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
4069 (rx-form): Simplify.
4070
9cd80478
DG
40712012-08-09 Dmitry Gutov <dgutov@yandex.ru>
4072
0d9e2599
NN
4073 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
4074 ?, _, and : are symbol constituents, ! is not (but kinda should be).
4075 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
4076 (ruby-syntax-propertize-function): Adjust for changes in
4077 `ruby-syntax-propertize-heredoc'.
4078
40792012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
4080
9cd80478
DG
4081 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
4082 binding (use `M-;' instead).
9cd80478 4083 (ruby-singleton-class-p): New function.
0d9e2599 4084 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
9cd80478 4085
d301b413
SM
40862012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
4087
4088 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
4089
1530c98e
CY
40902012-08-10 Chong Yidong <cyd@gnu.org>
4091
4092 * progmodes/python.el (python-shell-get-process-name): Don't mess
4093 with same-window-buffer-names.
4094
4095 * eshell/eshell.el (eshell-add-to-window-buffer-names)
4096 (eshell-remove-from-window-buffer-names): Make obsolete.
4097 (eshell-buffer-name, eshell-unload-hook): Don't use them.
4098 (eshell): Just use pop-to-buffer-same-window instead.
4099
e1293765
CY
41002012-08-10 Chong Yidong <cyd@gnu.org>
4101
4102 * bindings.el: Bind M-= back to count-words-region.
4103
4104 * simple.el (count-words-region): Accept a prefix arg for acting
4105 on the entire buffer.
4106 (count-words--buffer-message): New helper function.
4107
e1894109
SM
41082012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
4109
4110 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
4111 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
4112 (event-start, event-end): Use posn-at-point to return a more
4113 informative posn.
4114 (posnp): New function.
4115 * mouse.el (popup-menu-normalize-position): Use it.
4116
c69f56a2
MY
41172012-08-10 Masatake YAMATO <yamato@redhat.com>
4118
4119 * mouse.el (popup-menu-normalize-position): New function.
4120 (popup-menu): Use `popup-menu-normalize-position' to normalize
4121 the form for POSITION argument.
4122
4123 * term/x-win.el (x-menu-bar-open):
4124 Use the value returend from (posn-at-point) as position
4125 passed to `popup-menu'.
4126
31673780
JB
41272012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
4128
4129 * calc/calccomp.el (math-compose-expr): Add extra argument
4130 indicating that parentheses should be put around products in
4131 denominators. Give multiplication precedence over division during
4132 composition.
4133
dab7711b
CY
41342012-08-09 Chong Yidong <cyd@gnu.org>
4135
dee4ef93
CY
4136 * man.el (Man-switches, Man-sed-command, Man-awk-command)
4137 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
4138 (Man-untabify-command, manual-program): Convert to defcustom
4139 (Bug#10429).
4140
73e2bbc5
CY
4141 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
4142
3e861c8a
CY
4143 * descr-text.el (describe-char): Don't insert extra newlines
4144 (Bug#10127).
4145
a9f5a649
CY
4146 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
4147 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
4148
dab7711b
CY
4149 * align.el (align-region): Delete temporary markers (Bug#10047).
4150 Plus some code cleanups.
4151
e0cc4efa
FEG
41522012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
4153
4154 * progmodes/python.el (python-pdbtrack-tracked-buffer)
4155 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
4156 (python-shell-internal-last-output): Use make-local-variable
4157 instead of make-variable-buffer-local.
4158
489af14f
FEG
41592012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
4160
4161 * progmodes/python.el: Enhancements to forward-sexp.
4162 (python-nav-forward-sexp): Rename from
4163 python-nav-forward-sexp-function.
c69f56a2
MY
4164 (python-nav--forward-sexp, python-nav--backward-sexp):
4165 New functions.
489af14f 4166
0fc50303
JB
41672012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
4168
4169 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
4170 modes and simplification modes.
4171
5d65606a
SM
41722012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
4173
4174 * delsel.el (delete-selection-pre-hook): Don't propagate the
4175 file-supersession signals (bug#12161).
4176
4250fdf5
SM
41772012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4178
4179 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
4180 (cl-map-extents): Add compatibility aliases (bug#12135).
4181
d9f9b465
MA
41822012-08-08 Michael Albinus <michael.albinus@gmx.de>
4183
4184 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
4185 tests by `ignore-error'.
4186 (tramp-find-shell): Open also a new shell, when cache is already
4187 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
4188
ce0fcefa
JL
41892012-08-08 Juri Linkov <juri@jurta.org>
4190
4191 * bookmark.el: Add `defaults' property to the bookmark record.
4192 (bookmark-current-buffer): Doc fix.
4193 (bookmark-make-record): Add `defaults' property with default values
4194 to the bookmark record.
4195 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
4196 with `bookmark-insert-current-bookmark'.
4197 (bookmark-set): Get `defaults' property from the bookmark record
4198 and use it in `read-from-minibuffer'.
4199 (bookmark-insert-current-bookmark): Remove function.
4200
4201 * info.el (Info-bookmark-make-record): Add `defaults' property
4202 with values of canonical Info node name, the current Info file
4203 name and the current Info node name. (Bug#12107)
4204
53fa8652
JL
42052012-08-08 Juri Linkov <juri@jurta.org>
4206
4207 * files.el (basic-save-buffer): Use `buffer-name' as the default
4208 of `read-file-name' when buffer is not visiting a file (bug#12128).
4209
242c0a95
JL
42102012-08-08 Juri Linkov <juri@jurta.org>
4211
4212 * info.el (Info-isearch-search): Doc fix.
4213 (Info-search): Change search-failed message from "initial node" to
4214 "end of node" (bug#12078).
4215 (Info-isearch-search): Change `isearch-string-state' to
4216 `isearch--state-string'.
4217
32ac3a6b
GM
42182012-08-08 Glenn Morris <rgm@gnu.org>
4219
4220 * language/persian.el: Remove file.
f8c1afd5 4221 * language/misc-lang.el: Move unique part of persian.el here.
32ac3a6b
GM
4222 * loadup.el: Remove language/persian.
4223
2c2d9c9c
OF
42242012-08-08 Óscar Fuentes <ofv@wanadoo.es>
4225
4226 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
4227
2d79ec42
FEG
42282012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
4229
4230 * progmodes/python.el Fixed defsubst warning.
4231 (python-syntax-context) Rename from python-info-ppss-context.
4232 (python-syntax-context-type): Rename from
4233 python-info-ppss-context-type.
4234 (python-syntax-comment-or-string-p): Rename from
4235 python-info-ppss-comment-or-string-p.
4236
2bd255dd
JB
42372012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
4238
4239 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
4240
c395097f
AS
42412012-08-07 Andreas Schwab <schwab@linux-m68k.org>
4242
6125983e
AS
4243 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
4244 a defcustom that is quoted with backquote.
4245
4250fdf5
SM
4246 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
4247 Fix handling of interactive spec when the body uses return.
651eaf36
AS
4248 (math-do-arg-check, math-define-function-body): Use backquote forms.
4249 * calc/calc-ext.el (math-defcache): Likewise.
4250 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
4251 * allout.el (allout-new-exposure): Likewise.
4252 * calc/calcalg2.el (math-tracing-integral): Likewise.
4253 * info.el (Info-last-menu-item): Likewise.
4254 * emulation/vip.el (vip-loop): Likewise.
4255 * textmodes/artist.el (artist-funcall): Likewise.
4256 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
4257 Construct menu-item directly.
4258
4250fdf5
SM
4259 * progmodes/autoconf.el (font-lock-syntactic-keywords):
4260 Don't declare.
c395097f 4261
5fb50dd3
CY
42622012-08-07 Chong Yidong <cyd@gnu.org>
4263
4264 * simple.el (deactivate-mark): Preserve text properties when
4265 saving the primary selection (Bug#8384).
4266
54eea618
KR
42672012-08-07 Kevin Ryde <user42@zip.com.au>
4268
4269 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
4270 (woman-parse-numeric-value): On a bad .IP line, issue a warning
4271 and continue processing (Bug#12110).
4272
638eaeb9
SM
42732012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
4274
4275 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
4276 syntax-propertize-function (bug#10095).
4277
ea376861
SM
42782012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
4279
f91b35be
SM
4280 * help-fns.el (help-fns--key-bindings, help-fns--signature)
4281 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
4282 describe-function-1.
4283 (describe-function-1): Use them. Move compiler macro after sig.
4284 (help-fns--compiler-macro): Use function-get. Assume we're already in
4285 standard-output. Adjust layout to new call order.
4286
ea376861
SM
4287 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
4288 re-binding a symbol that has a symbol-macro (bug#12119).
4289
d5be7bd0
MB
42902012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
4291
4292 * language/persian.el: New file. (Bug#11812)
4293 * loadup.el: Add language/persian.el.
4294
90749b53
CY
42952012-08-06 Chong Yidong <cyd@gnu.org>
4296
4297 * window.el (window--maybe-raise-frame): New function.
4298 (window--display-buffer): Split off from here.
4299 (display-buffer-reuse-window, display-buffer-pop-up-frame)
4300 (display-buffer-pop-up-window, display-buffer-use-some-window):
4301 Obey an inhibit-switch-frame action alist entry.
4302 (display-buffer): Update doc.
4303
4304 * replace.el (occur-after-change-function): Avoid losing focus by
4305 using the inhibit-switch-frame display parameter (Bug#12139).
4306
ba7b0154
FEG
43072012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
4308
4309 Make internal shell process buffer names start with space.
4310 * progmodes/python.el (python-shell-make-comint): Add optional
4311 argument INTERNAL.
4312 (run-python-internal): Use it.
4313 (python-shell-internal-get-or-create-process): Check for new
4314 internal buffer names.
4315
5eaeacb5
GM
43162012-08-06 Glenn Morris <rgm@gnu.org>
4317
e296d94b 4318 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
5eaeacb5
GM
4319 Do less getting and setting of environment variables.
4320
b7ccbdc2
CY
43212012-08-05 Chong Yidong <cyd@gnu.org>
4322
777fe95e
CY
4323 * proced.el (proced): Add substitution string to docstring to
4324 trigger autoloading of the proced library on C-h f (Bug#1768).
4325
4250fdf5
SM
4326 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
4327 Don't show defvars which have no second argument (Bug#8638).
b7ccbdc2
CY
4328
4329 * imenu.el (imenu-generic-expression): Move documentation here
4330 from imenu--generic-function.
4331 (imenu--generic-function): Refer to imenu-generic-expression.
4332
9e3b7800 43332012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
d5c31f1d
4334
4335 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
4336 indentation declaration.
4337 (viper-loop): Add indentation declaration (Bug#7025).
4338
e5d9c0d1
CY
43392012-08-05 Chong Yidong <cyd@gnu.org>
4340
f0422feb
CY
4341 * help-fns.el (describe-variable): Add hyperlink for
4342 directory-local variables files. Improve buffer-local and
4343 permanent-local reporting; suggested by MON KEY (Bug#6644).
4344
4345 * help-mode.el (help-dir-local-var-def): New button type.
4346
e5d9c0d1
CY
4347 * files.el (kill-buffer-hook): Provide a defvar.
4348
a4f2deaa
GM
43492012-08-05 Glenn Morris <rgm@gnu.org>
4350
4351 * eshell/esh-ext.el (eshell/addpath):
4352 Also update eshell-path-env. (Bug#12013)
4353
a9dd5754
CY
43542012-08-05 Chong Yidong <cyd@gnu.org>
4355
a4f2deaa 4356 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
615b0bf0 4357
d014c740
CY
4358 * fringe.el (fringe-styles): Add docstring.
4359 (fringe--check-mode): New function.
4360 (set-fringe-mode, set-fringe-style): Use it.
4361 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
4362
a9dd5754
CY
4363 * files.el (set-auto-mode): Fix invalid setq call.
4364
7c2dc8bd
SM
43652012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
4366
4367 * isearch.el: Misc simplification; use defstruct.
4368 (isearch-mode-map): Dense maps now work like sparse ones.
4369 (isearch--state): New defstruct.
4370 (isearch-string-state, isearch-message-state, isearch-point-state)
4371 (isearch-success-state, isearch-forward-state)
4372 (isearch-other-end-state, isearch-word-state, isearch-error-state)
4373 (isearch-wrapped-state, isearch-barrier-state)
4374 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
4375 replaced by defstruct's accessors.
4376 (isearch--set-state): Rename from isearch-top-state and change
4377 calling convention.
4378 (isearch-push-state): Use new isearch--get-state.
4379 (isearch-toggle-word): Disable regexp when enabling word.
4380 (isearch-message-prefix): Remove unused arg _c-q-hack.
4381 (isearch-message-suffix): Remove unused arg _ellipsis.
4382
7fcc0070
AS
43832012-08-04 Andreas Schwab <schwab@linux-m68k.org>
4384
4385 * simple.el (list-processes--refresh): For a server use :host or
4386 :local as the address.
97ad0769 4387 (list-processes): Doc fix.
7fcc0070 4388
a11035b8 43892012-08-04 Michal Nazarewicz <mina86@mina86.com>
00340faf
MN
4390
4391 * lisp/mpc.el: Support password in host argument.
4392 (mpc--proc-connect): Parse and use new password element.
4393 Set mpc-proc variable instead of returning process.
4394 (mpc-proc): Adjust accordingly.
4395
6dad7178
EZ
43962012-08-03 Eli Zaretskii <eliz@gnu.org>
4397
18949c2f
EZ
4398 * whitespace.el (whitespace-display-mappings): Use Unicode
4399 codepoints, instead of emacs-mule codepoints. See
4400 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
4401 for the details.
4402
6dad7178
EZ
4403 * files.el (file-truename): Don't skip symlink-chasing part on
4404 windows-nt. Incorporate the resolution of 8+3 short aliases on
4250fdf5
SM
4405 Windows into the loop that recursively chases symlinks.
4406 Compare directory and its parent case-insensitively on MS-Windows and
6dad7178
EZ
4407 MS-DOS.
4408
385b0198
CY
44092012-08-03 Chong Yidong <cyd@gnu.org>
4410
6200f3c4
CY
4411 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
4412
385b0198
CY
4413 * sort.el (sort-regexp-fields): Doc fix.
4414
b9e74744
TH
44152012-08-03 Tassilo Horn <tsdh@gnu.org>
4416
4417 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
4418 labels regex position point at the expected place.
4419
41013cb4
MK
44202012-08-03 MON KEY <monkey@sandpframing.com>
4421
4422 * net/imap.el (imap-interactive-login, imap-authenticate)
4423 (imap-mailbox-lsub, imap-mailbox-list)
4424 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
4425 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
4426 (imap-parse-response): Doc fix.
4427
0ffee616
JT
44282012-08-03 João Távora <joaotavora@gmail.com>
4429
4430 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
4431 if sexp scanning does not move point (Bug#5734).
4432
cfcc9cc8
TH
44332012-08-02 Tassilo Horn <tsdh@gnu.org>
4434
4435 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
4436 Add listings, minted, and ctable packages.
4437 (reftex-label-alist-builtin): Move listings, minted, and ctable
4438 entries before LaTeX.
a01bbb84 4439 (reftex-label-alist): Docfix.
cfcc9cc8 4440
66ec2442
BG
44412012-08-02 Bastien Guerry <bzg@gnu.org>
4442
4443 * replace.el (occur): Fix docstring (bug#12122).
4444
837b365b
GM
44452012-08-02 Glenn Morris <rgm@gnu.org>
4446
4447 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
4448
e098de97
PE
44492012-08-02 Paul Eggert <eggert@cs.ucla.edu>
4450
4451 Obsolete alias inactivate-current-input-method-function (Bug#10150).
4452 * international/mule-cmds.el: Create
4453 inactivate-current-input-method-function as an obsolete alias for
4454 deactivate-current-input-method-function. See Katsumi Yamaoka in
4455 <http://bugs.gnu.org/10150#46>.
4456
a0f95636
JB
44572012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
4458
4459 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
4460 of nested `if's.
4461
0d26d7c4
GM
44622012-08-01 Glenn Morris <rgm@gnu.org>
4463
4464 * progmodes/autoconf.el (autoconf-definition-regexp):
4465 Add AH_TEMPLATE, adjust submatch numbering.
4466 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
4467 (autoconf-current-defun-function): Update for above change.
4468 (autoconf-current-defun-function): First skip to end of current word.
4469
b686ba06
RS
44702012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
4471
4472 * calendar/cal-html.el (cal-html-insert-agenda-days):
4473 Fix typo. (Bug#12018)
4474
0d49da68
FEG
44752012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
4476
4477 Shell processes: enhancements to startup and CEDET compatibility.
4478 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
4479 (python-shell-make-comint): accept-process-output at startup.
4480 (run-python-internal): Set inferior-python-mode-hook to nil.
4481 (python-shell-internal-get-or-create-process): call sit-for.
4482 (python-preoutput-result): Add obsolete alias.
4483 (python-shell-internal-send-string): Use it.
4484 (python-shell-send-setup-code): Remove call to
4485 accept-process-output.
4486
f1a71c6e
AS
44872012-07-31 Andreas Schwab <schwab@linux-m68k.org>
4488
4489 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
4490 (Bug#12108)
4491
d2605269
JB
44922012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
4493
4494 * calc-mode.el (calc-basic-simplification-mode): Rename from
4495 `calc-limited-simplification-mode'.
4496 (calc-alg-simplification-mode): New function.
fc0c31f8 4497 (calc-set-simplify-mode): Adjust message.
f1a71c6e 4498
d2605269
JB
4499 * calc.el (calc-set-mode-line): Adjust mode line display for
4500 basic simplification mode.
4501
4502 * calc-help.el (calc-m-prefix-help): Update help message.
4503
4504 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
4505 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
4506
a3827a43
BG
45072012-07-31 Bastien Guerry <bzg@gnu.org>
4508
4509 * man.el (man): Fix comment. (bug#12101)
4510
502e3f89
MR
45112012-07-31 Martin Rudalics <rudalics@gmx.at>
4512
4513 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
4514 Don't return a non-nil value when no suitable buffer was found.
4515
d7714961
FEG
45162012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
4517
4518 * progmodes/python.el (run-python-internal): Disable font lock for
4519 internal shells.
4520
1f45e27e
SM
45212012-07-30 Stefan Merten <smerten@oekonux.de>
4522
70efc5c9 4523 * textmodes/rst.el: Silence `checkdoc-ispell'.
1f45e27e
SM
4524 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
4525 (rst-official-version, rst-official-cvs-rev)
4526 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
4527 (rst-mode-map): New key binding.
4528
0aee6912
PE
45292012-07-30 Paul Eggert <eggert@cs.ucla.edu>
4530
4531 Update .PHONY listings in makefiles.
4532 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
4533 autoloads, update-subdirs, updates, bzr-update, update-authors,
4534 compile-onefile, compile-calc, backup-compiled-files,
4535 compile-after-backup, compile-one-process, mh-autoloads,
4536 bootstrap-clean, distclean, maintainer-clean.
4537
9052f9f0
JB
45382012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
4539
1823ac5a
JB
4540 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
4541 (calc-set-mode-line): Don't display "AlgSimp ".
4542
4543 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
4544 (calc-lim-simplify-mode): New function.
4545 (calc-set-simplify-mode): Default to 'alg.
4546 (calc-default-simplify-mode): Make algebraic simplifications
4547 the default.
4548
4549 * calc/calc-ext.el (calc-init-extensions): Remove binding for
4550 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
4551
8d7c7eed 4552 * calc/calc-help.el (calc-m-prefix-help): Change messages to
4b337409
JB
4553 indicate new simplification modes.
4554
1823ac5a
JB
4555 * calc/README: Mention new default simplification mode.
4556
9052f9f0
JB
4557 * calc/calc.el (math-normalize-error): New variable.
4558 (math-normalize): Set `math-normalize-error' to t
4559 when there's an error.
4560
4561 * calc/calc-alg.el (math-simplify): Don't simplify when
4562 `math-normalize' returns an error.
4563
20ba0cb4
EZ
45642012-07-29 Eli Zaretskii <eliz@gnu.org>
4565
4566 * international/mule-cmds.el (set-locale-environment): Revert last
4567 change, since display-graphic-p returns nil when this function is
4568 called during startup. Instead...
4569
4570 * term/w32console.el (terminal-init-w32console): ...setup the
4571 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
4572
a5dcc929
JL
45732012-07-29 Juri Linkov <juri@jurta.org>
4574
4575 * simple.el (goto-line): Don't display default line number in the
4576 prompt because it should be displayed by `read-number' (bug#9952).
4577 Add the current line number to the defaults of `goto-line' to
4578 allow its easier modification by users with `M-n' (bug#9201).
4579
4580 * subr.el (read-number): Support multiple default values like in
4581 other minibuffer reading functions. Replace `read' with
4582 `string-to-number' for consistency with `number-to-string'.
4583
72b255c7
PE
45842012-07-29 Paul Eggert <eggert@cs.ucla.edu>
4585
4586 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
4587 * emulation/viper-init.el (viper-deactivate-input-method-action):
4588 Rename from viper-inactivate-input-method-action.
4589 (viper-deactivate-input-method):
4590 Rename from viper-inactivate-input-method.
4591 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
4592 * international/mule-cmds.el (deactivate-input-method):
4593 Rename from inactivate-input-method.
4594 Also run input-method-deactivate-hook.
4595 (deactivate-current-input-method-function):
4596 Rename from inactivate-current-input-method-function.
4597 (input-method-deactivate-hook): New hook.
4598 (input-method-inactivate-hook): Mark obsolete.
bb6eb9fc
PE
4599 (inactivate-input-method): Mark obsolete.
4600
72b255c7
PE
4601 * international/quail.el (quail-activate):
4602 Also run quail-deactivate-hook.
4603 (quail-deactivate): Rename from quail-inactivate.
4604 * international/robin.el (robin-activate):
4605 Also run robin-deactivate-hook.
4606 (robin-deactivate): Rename from robin-inactivate.
4607
2549c068
CY
46082012-07-29 Chong Yidong <cyd@gnu.org>
4609
4610 * simple.el (indicate-copied-region): New function.
4611 (kill-ring-save): Split off from here.
4612
4613 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
4614 (kill-rectangle): Set deactivate-mark to t on read-only error.
4615
4616 * register.el (copy-to-register, copy-rectangle-to-register):
4617 Deactivate the mark, and use indicate-copied-region (Bug#10056).
4c478e6b
JL
4618 (append-to-register, prepend-to-register): Call indicate-copied-region.
4619
46202012-07-29 Juri Linkov <juri@jurta.org>
17711ed9
JL
4621
4622 * simple.el (async-shell-command-buffer): New defcustom.
4623 (shell-command): Use it. (Bug#4719)
4624
01bd1b0d
EZ
46252012-07-28 Eli Zaretskii <eliz@gnu.org>
4626
4627 * international/mule-cmds.el (set-locale-environment): In a
4628 console session on MS-Windows, set up keyboard and terminal
4629 encoding from the OEM codepage, not the ANSI codepage.
4630 (Bug#12055)
4631
a55739d3
CY
46322012-07-28 Chong Yidong <cyd@gnu.org>
4633
4634 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
4635 gdb-get-location.
4636
0e1a094f 46372012-07-28 Leo Liu <sdl.web@gmail.com>
9a0f8f2e
LL
4638
4639 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
4640 the alist (bug#12029).
4641
20329d73
EZ
46422012-07-28 Eli Zaretskii <eliz@gnu.org>
4643
4644 * makefile.w32-in (custom-deps, finder-data, updates, compile)
4645 (compile-always, compile-first)
4646 ($(lisp)/calendar/cal-loaddefs.el)
4647 ($(lisp)/calendar/diary-loaddefs.el)
4648 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
4649 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
4650 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
4651 instead of on update-subdirs.
4652 (bootstrap-clean): Delete $(lisp)/subdirs.el.
4653
345a2258
CY
46542012-07-28 Chong Yidong <cyd@gnu.org>
4655
1eee6341
CY
4656 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
4657 directory if vc-deduce-backend returns nil (Bug#7350).
4658
345a2258
CY
4659 * simple.el (delete-trailing-lines): New option.
4660 (delete-trailing-whitespace): Obey it (Bug#11879).
4661
049a0936
DE
46622012-07-28 David Engster <deng@randomsample.de>
4663
4664 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
4665 Explanation of new 'symbol-qnames feature in doc-strings.
4666 (xml-maybe-do-ns): Return expanded names as plain symbols if
4667 'symbol-qnames was provided in XML-NS argument (Bug#11916).
4668 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
4669
aa81af71
FEG
46702012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
4671
4672 Consistent completion in inferior python with emacs -nw.
4673 * progmodes/python.el (inferior-python-mode): replace "<tab>"
4674 binding in inferior-python-mode-map with "\t".
4675 (python-shell-completion-complete-at-point)
4676 (python-completion-complete-at-point): Remove interactive spec.
4677
e827b1eb
JB
46782012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
4679
4680 * calc/calccomp.el (math-compose-expr): Undo previous change.
4681
a90dfb95
FEG
46822012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
4683
4250fdf5 4684 * progmodes/python.el (python-mode-map): Add keybinding for
a90dfb95
FEG
4685 run-python.
4686 (python-shell-make-comint): Fix pop-to-buffer call.
4687 (run-python): Autoload. New arg SHOW.
4688 (python-shell-get-or-create-process): Do not pop python process
4689 buffer.
4690
32770973 46912012-07-27 Michael Albinus <michael.albinus@gmx.de>
1c6ef030
MA
4692
4693 * notifications.el (notifications-on-action-signal)
4694 (notifications-on-closed-signal): Use also the bus address for the map.
4695 (notifications-notify, notifications-close-notification)
fc0c31f8 4696 (notifications-get-capabilities): Add optional argument BUS.
1c6ef030 4697
86332df2
TH
46982012-07-27 Tassilo Horn <tsdh@gnu.org>
4699
4250fdf5
SM
4700 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
4701 Add support for the lstlisting and minted environments, and for the
86332df2
TH
4702 ctable macro.
4703 * textmodes/reftex.el (reftex-compile-variables): Also recognize
4704 labels written in keyvals syntax.
4705
ca1302a4
JB
47062012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
4707
4708 * calc/calccomp.el (math-compose-expr): Use parentheses when
4709 there is a product in the denominator of a fraction.
4710
f8b91036
EZ
47112012-07-26 Eli Zaretskii <eliz@gnu.org>
4712
4713 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
4714 ($(lisp)/calendar/diary-loaddefs.el)
4715 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
4250fdf5
SM
4716 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
4717 Fixes failures in parallel bootstrap because subdirs.el is being
f8b91036
EZ
4718 rewritten while the autoload files are built at the same time,
4719 which needs to load subdirs.el.
4720
c8e5a42c
MR
47212012-07-26 Martin Rudalics <rudalics@gmx.at>
4722
4723 * mouse.el (popup-menu): Fix doc-string and re-indent code.
4724 (mouse-drag-line): Don't exit tracking when a switch-frame or
4725 switch-window event occurs (Bug#12006).
4726
670d85ea
SM
47272012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4728
4729 * mouse.el (popup-menu): Fix last change.
4730
7abaf5cc
SM
47312012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4732
4733 Autoload from Lisp with more care. Follow aliases when looking for
4734 function properties.
4735 * subr.el (autoloadp): New function.
4736 (symbol-file): Use it.
4737 (function-get): New function.
4738 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
4739 autoload-do-load.
4740 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
4741 (lisp-indent-function):
4742 * emacs-lisp/gv.el (gv-get):
4743 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
4744 * emacs-lisp/byte-opt.el (byte-optimize-form):
4745 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
4746 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
4747 Use function-get.
4748 * emacs-lisp/cl.el: Don't propagate function properties any more.
4749
4750 * speedbar.el (speedbar-add-localized-speedbar-support):
4751 * emacs-lisp/disass.el (disassemble-internal):
4752 * desktop.el (desktop-load-file):
4753 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
4754 (describe-function-1):
4755 * emacs-lisp/find-func.el (find-function-noselect):
4756 * emacs-lisp/elp.el (elp-instrument-function):
4757 * emacs-lisp/advice.el (ad-has-proper-definition):
4758 * apropos.el (apropos-safe-documentation, apropos-macrop):
4759 * emacs-lisp/debug.el (debug-on-entry):
4760 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
4761 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
4762 * calc/calc.el (name): Use autoloadp & autoload-do-load.
4763
b1364986
AA
47642012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
4765
4766 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
4767 function, not an obsolete variable (Bug#12046).
4768
67ada220
AS
47692012-07-25 Andreas Schwab <schwab@linux-m68k.org>
4770
4771 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
4772
f08088e3
CS
47732012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
4774
4775 * emacs-lisp/pp.el (pp-display-expression): Select old selected
4776 window only if it is still live (Bug#12034).
4777
8137e7b3
MR
47782012-07-25 Martin Rudalics <rudalics@gmx.at>
4779
4780 * subr.el (redirect-frame-focus): Add advertised calling
4781 convention (Bug#12030).
4782
09ae5da1
PE
47832012-07-25 Paul Eggert <eggert@cs.ucla.edu>
4784
4785 Prefer typical American spelling for "acknowledgment".
4786 * vc/add-log.el (change-log-acknowledgment): Rename from
4787 change-log-acknowledgement, with an alias for the old name.
4788
3cc5a3a8
JB
47892012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
4790
4791 * calc-alg.el (math-simplify-divide): Don't cross multiply
4792 in an equation when the lhs is a variable.
4793
b7af7f62
JD
47942012-07-24 Julien Danjou <julien@danjou.info>
4795
4796 * net/netrc.el (netrc-find-service-number, netrc-store-data):
4797 Remove, unused.
4798
ec1b09b1
EZ
47992012-07-23 Eli Zaretskii <eliz@gnu.org>
4800
4801 * startup.el (command-line): Don't display an empty user name in
4802 the error message about non-existent home directory, when
4803 init-file-user was set to an empty string. See
4804 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
4805 for the details and context.
4806
b525fd8a
VB
48072012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
4808
4809 * ses.el (ses-cell-formula-aset): New macro.
4810 (ses-cell-references-aset): New macro.
4811 (ses-cell-p): New function.
4812 (ses-rename-cell): Do no longer rely on complex operations like
4813 ses-cell-set-formula or ses-set-cell to change the cell and handle
4814 the undo at the same time, but rather use lower level new macros
4815 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
fc0c31f8 4816 the undo directly. Refresh the mode line.
b525fd8a 4817
2c73e345
LL
48182012-07-21 Leo Liu <sdl.web@gmail.com>
4819
670d85ea
SM
4820 * progmodes/cc-cmds.el (c-defun-name):
4821 Use match-string-no-properties instead for consistency.
2c73e345 4822
542dfbde
LL
48232012-07-20 Leo Liu <sdl.web@gmail.com>
4824
3646bcd6
LL
4825 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
4826 (Bug#7879)
4827
542dfbde
LL
4828 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
4829
25721031
CY
48302012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
4831
4832 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
4833 * progmodes/bug-reference.el, misearch.el: Provide themselves
4834 (bug#11915).
4835
4836 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
4837 of narrowed buffer (bug#11966).
4838
316e68a7
VB
48392012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
4840
4841 * ses.el (ses-rename-cell): Set new name also in reference list of
4842 cells of which the renamed cell depends.
4843
bbf0e7d9
MY
48442012-07-20 Masatake YAMATO <yamato@redhat.com>
4845
4846 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
4847 to check whether menu-bar is shown or not. If not shown,
4848 show the menu-bar as a popup menu instead of using tmm.
4849 * mouse.el (popup-menu): Accept `point' as `position' argument.
4850
c28662a8
DG
48512012-07-20 Dmitry Gutov <dgutov@yandex.ru>
4852
4853 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
4854 up inside string symbol literal (bug#11923).
4855
87ab808f
EZ
48562012-07-20 Eli Zaretskii <eliz@gnu.org>
4857
4858 * startup.el (fancy-startup-text): Read the whole tutorial, not
4859 just its first 256 bytes. Prevents gibberish in display of the
4860 tutorial title.
4861
89dea803
DA
48622012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
4863
4864 Drop idle buffer compaction due to an absence of the
4865 proved efficiency.
4866 * compact.el: Remove.
4867
8a4e6db8
SS
48682012-07-19 Sam Steingold <sds@gnu.org>
4869
4870 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
4871 vc-bzr-pull & vc-bzr-merge-branch.
4872 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
4873 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
4874 for consistency with compilation-error-regexp-alist.
4875 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
4876 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
4877 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
4878 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
4879
5db81e33
SM
48802012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
4881
4882 * emacs-lisp/chart.el: Use lexical-binding.
4883 (chart-emacs-storage): Don't hardcode the list of entries.
4884
5b835e1d
DA
48852012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
4886
4887 Next round of tweaks caused by Fgarbage_collect changes.
4888 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
4889
9cd47b72
DA
48902012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
4891
4892 Compact buffers when idle.
4893 * compact.el: New file.
4894
1d6fc0df
SM
48952012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
4896
4897 * subr.el (eventp): Presume that if it looks vaguely like an event,
4898 it's an event (bug#10190).
4899
1d29cc7d
FEG
49002012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
4901
4902 Enhancements to ppss related code (thanks Stefan).
4903 * progmodes/python.el (python-indent-context)
4904 (python-indent-calculate-indentation, python-indent-dedent-line)
4905 (python-indent-electric-colon, python-nav-forward-block)
4906 (python-mode-abbrev-table)
1d6fc0df 4907 (python-info-assignment-continuation-line-p): Simplify checks
1d29cc7d
FEG
4908 for ppss context.
4909 (python-info-continuation-line-p): Cleanup.
4910 (python-info-ppss-context): Do not catch 'quote.
4911 (python-info-ppss-context-type)
4912 (python-info-ppss-comment-or-string-p): Simplify.
4913
d583cbe6
FEG
49142012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
4915
4916 * progmodes/python.el: Enhancements to eldoc support.
4917 (python-info-current-symbol): New function.
4918 (python-eldoc-at-point): Use python-info-current-symbol.
4919 (python-info-current-defun): Fix cornercase on first defun scan.
4920 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
4921 and signal error when no inferior python process is available.
4922
eceb6feb
DG
49232012-07-18 Dmitry Gutov <dgutov@yandex.ru>
4924
4925 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
4926 assume it's always t.
4927 (vc-git-registered): Remove caching, the function is only called
4928 once.
4929 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
4930
4c8ff0fe
CY
49312012-07-18 Chong Yidong <cyd@gnu.org>
4932
19fb7186
CY
4933 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
4934
9587c688
CY
4935 * simple.el (count-words): Report on narrowing (Bug#9959).
4936
0fe776a1
CY
4937 * bindings.el: Bind M-= to count-words.
4938
4c8ff0fe
CY
4939 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
4940
7f5331cc
MY
49412012-07-18 Masatake YAMATO <yamato@redhat.com>
4942
4943 * progmodes/sh-script.el (sh-imenu-generic-expression):
4944 Capture a function with `function' keyword and without parentheses
4945 like "function FOO" (bug#11856).
4946
2dc2a609
TH
49472012-07-18 Tassilo Horn <tassilo@member.fsf.org>
4948
4949 * window.el (split-window-sensibly): Make WINDOW argument
4950 optional.
4951
439f7677
CY
49522012-07-18 Chong Yidong <cyd@gnu.org>
4953
9aeb25a6
CY
4954 * subr.el (keyboard-translate): Doc fix (Bug#7261).
4955
439f7677
CY
4956 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
4957 and make C-x 8 RET exit isearch (Bug#11439).
4958
4959 * international/iso-transl.el: Move isearch-mode-map key
4960 definitions to isearch.el.
4961
12999ea8
SM
49622012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
4963
4964 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
4965 (eieio-defclass): Use gv-define-setter when possible.
4966
3ab6e069
DA
49672012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
4968
4969 Reflect recent changes in Fgarbage_collect.
4970 * emacs-lisp/chart.el (chart-emacs-storage): Change to
4971 reflect new format of data returned by Fgarbage_collect.
4972
0a60bc10
FEG
49732012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
4974
4975 New utility functions + python-info-ppss-context fix (Bug#11910).
4976 * progmodes/python.el (python-info-beginning-of-block-statement-p)
4977 (python-info-ppss-comment-or-string-p): New functions.
4978 (python-info-ppss-context): Small fix for string check.
4979
6dafa0d5
JL
49802012-07-17 Juri Linkov <juri@jurta.org>
4981
4982 * dired-aux.el (dired-do-async-shell-command): Doc fix.
4983 (dired-do-async-shell-command): Don't add `*' at the end of the
4984 command (Bug#11815).
4985 (dired-do-shell-command): Doc fix.
4986 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
4987 Join the individual commands using either "&" or ";" as the
4988 separator depending on the values of these trailing characters.
4989 At the end re-add the trailing "&". (Bug#10598)
4990
4991 * simple.el (async-shell-command): Sync the interactive spec with
4992 `shell-command'. Doc fix.
4993 (shell-command): Doc fix.
4994
b19dd9d1
JL
49952012-07-17 Juri Linkov <juri@jurta.org>
4996
4997 * descr-text.el (describe-char): Fix format args. (Bug#10129)
4998
bcdc27d7 49992012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7f5331cc 5000
bcdc27d7 5001 Final renames and doc fixes for movement commands (bug#11899).
7f5331cc
MY
5002 * progmodes/python.el (python-nav-beginning-of-statement):
5003 Rename from python-nav-statement-start.
bcdc27d7
FEG
5004 (python-nav-end-of-statement): Rename from
5005 python-nav-statement-end.
5006 (python-nav-beginning-of-block): Rename from
5007 python-nav-block-start.
5008 (python-nav-end-of-block): Rename from python-nav-block-end.
5009
191da00e
FEG
50102012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
5011
7f5331cc
MY
5012 * progmodes/python.el (python-shell-send-string-no-output):
5013 Allow accept-process-output to quit, keeping shell process ready for
191da00e
FEG
5014 future interactions (Bug#11868).
5015
4dc7c8d5 50162012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
aa7aaf8f 5017
88ecaf8f
SM
5018 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
5019
ef501ef0
SM
5020 * emacs-lisp/elint.el (elint-find-args-in-code):
5021 Use help-function-arglist, so as to handle lexical byte-code.
5022
aa7aaf8f
SM
5023 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
5024 change (bug#11826).
5025
45fd731c
SM
50262012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
5027
2143fa32
SM
5028 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
5029 Avoid spuriously marking the buffer as modified because of c-is-sws.
5030
efc26dbe
SM
5031 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
5032 as not-a-comment (bug#11946).
5033
f5695c9a
SM
5034 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
5035 for uninterned vars.
5036
5037 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
5038 Use read-event since we don't really want to read chars but bytes.
5039
45fd731c
SM
5040 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
5041 $$..$$ but also $..$ using regexps (bug#11953).
5042 Use tex-verbatim for \url and \path.
5043 (tex-font-lock-keywords): Define as defconst like the others.
5044 (tex-common-initialization): Don't use font-lock-syntax-table any more.
5045
ddfc8813
RK
50462012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
5047
5048 * international/mule-cmds.el (ucs-insert): Make it an obsolete
5049 alias for insert-char.
5050
758e556a
FEG
50512012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
5052
5053 * progmodes/python.el: Simplified imenu implementation.
5054 (python-nav-jump-to-defun): Remove command.
5055 (python-mode-map): Use `imenu' instead.
5056 (python-nav-list-defun-positions-cache)
5057 (python-imenu-include-defun-type, python-imenu-make-tree)
5058 (python-imenu-subtree-root-label, python-imenu-index-alist):
5059 Remove vars.
5060 (python-nav-list-defun-positions, python-nav-read-defun)
5061 (python-imenu-tree-assoc, python-imenu-make-element-tree)
45fd731c
SM
5062 (python-imenu-make-tree, python-imenu-create-index):
5063 Remove functions.
758e556a
FEG
5064 (python-mode): Update to interact with imenu by setting
5065 `imenu-extract-index-name-function' only.
5066
032d23ab
FEG
50672012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
5068
5069 * progmodes/python.el: Enhancements to navigation commands.
5070 (python-nav-backward-sentence)
5071 (python-nav-forward-sentence): Remove.
5072 (python-nav-backward-statement, python-nav-forward-statement)
5073 (python-nav-statement-start, python-nav-statement-end)
5074 (python-nav-backward-block, python-nav-forward-block)
5075 (python-nav-block-start, python-nav-block-end)
5076 (python-nav-forward-sexp-function)
5077 (python-info-current-line-comment-p)
5078 (python-info-current-line-empty-p): New functions.
5079 (python-indent-context): Use `python-nav-statement-start'.
5080
01795a1b
MA
50812012-07-16 Michael Albinus <michael.albinus@gmx.de>
5082
9328d9aa
MA
5083 * eshell/em-ls.el (eshell/ls): Use `apply'.
5084
5085 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
5086 multi-hops, instead of Tramp internals.
5087
01795a1b
MA
5088 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
5089
5090 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
5091 when F1 and F2 are located on different hosts.
5092
63408057
CY
50932012-07-14 Chong Yidong <cyd@gnu.org>
5094
5095 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
5096 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
5097 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
5098 (xterm-mouse--read-event-sequence-1000)
5099 (xterm-mouse--read-event-sequence-1006): New functions. For old
5100 mouse protocol, handle M-mouse-X events correctly.
5101 (xterm-mouse-event): New arg specifying mouse protocol.
5102 (turn-on-xterm-mouse-tracking-on-terminal)
5103 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
45fd731c
SM
5104 sequence to toggle extended coordinates on newer XTerms.
5105 This appears to be harmless on terminals which do not support this.
63408057 5106
cd276f6e
LL
51072012-07-14 Leo Liu <sdl.web@gmail.com>
5108
28ca98ac
LL
5109 Add fringe bitmap indicators for flymake. (Bug#11253)
5110 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
5111 (flymake-make-overlay): New arg BITMAP.
5112 (flymake-error-bitmap, flymake-warning-bitmap)
5113 (flymake-fringe-indicator-position): New user variables.
5114
cd276f6e
LL
5115 * fringe.el: New bitmap exclamation-mark.
5116
04408072
JD
51172012-07-14 Jan Djärv <jan.h.d@swipnet.se>
5118
5119 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
5120 also (Bug#7879).
5121
b5cf7fc4
CY
51222012-07-14 Chong Yidong <cyd@gnu.org>
5123
5124 * electric.el (electric-pair-post-self-insert-function): Fix pair
5125 insertion in empty-region case (Bug#11520).
5126
be755c79
RT
51272012-07-14 Chong Yidong <cyd@gnu.org>
5128
45fd731c
SM
5129 * bindings.el: Consolidate ctl-x-r-map bindings.
5130 Bind copy-rectangle-as-kill to C-x r w.
be755c79
RT
5131
5132 * rect.el, register.el: Move bindings to bindings.el.
5133
51342012-07-14 Reuben Thomas <rrt@sc3d.org>
5135
5136 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
5137
7f5b3198
AS
51382012-07-13 Andreas Schwab <schwab@linux-m68k.org>
5139
5140 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
5141
97662200
JB
51422012-07-13 Juanma Barranquero <lekktu@gmail.com>
5143
80185fed
JB
5144 * bindings.el (top): Use `mapc' instead of `mapcar'.
5145
97662200
JB
5146 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
5147
2bb1ae55
MA
51482012-07-13 Michael Albinus <michael.albinus@gmx.de>
5149
5150 * progmodes/sql.el (sql-comint): Suppress the check for program on
5151 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
5152 (Bug#11908)
5153
dea31bd3
CY
51542012-07-13 Chong Yidong <cyd@gnu.org>
5155
5156 * bindings.el: Assign a non-nil permanent-local property to
5157 per-buffer variables which lack a default value (Bug#11930).
5158
5159 * help-fns.el (describe-variable): In the "automatically becomes
5160 local" notice, take note of permanent-local variables.
5161
b68b3337
CY
51622012-07-13 Chong Yidong <cyd@gnu.org>
5163
5164 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
5165 to allow printing the message when called from Lisp.
5166
5167 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
5168 Remove toggle-read-only.
5169
5170 * bs.el (bs-toggle-readonly):
45fd731c
SM
5171 * buff-menu.el (Buffer-menu-toggle-read-only):
5172 Remove with-no-warnings around toggle-read-only.
b68b3337
CY
5173
5174 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
5175 Remove with-no-warnings around toggle-read-only.
5176 (ffap-read-only, ffap-read-only-other-window)
5177 (ffap-read-only-other-frame): Callers changed.
5178
5179 * help-mode.el: Don't require view package.
5180 (help-mode-finish): Set buffer-read-only instead of calling
5181 toggle-read-only.
5182
5183 * bindings.el (mode-line-toggle-read-only):
5184 * dired.el (dired-toggle-read-only):
5185 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
5186 with non-nil second arg.
5187
5188 * emacs-lisp/eieio-custom.el (eieio-customize-object):
5189 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
5190 directly.
5191
56bc1586
EZ
51922012-07-12 Eli Zaretskii <eliz@gnu.org>
5193
5194 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
5195 not incf.
5196
a464a6c7
SM
51972012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
5198
5199 More CL cleanups and reduction of use of cl.el.
5200 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
5201 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
5202 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
5203 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
5204 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
5205 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
5206 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
5207 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
5208 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
5209 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
5210 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
5211 * eshell/em-cmpl.el, eshell/em-banner.el:
5212 * calendar/parse-time.el: Use cl-lib.
5213 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
5214 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
5215 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
5216 * term/ns-win.el, term.el, shell.el, ps-samp.el:
5217 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
5218 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
5219 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
5220 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
5221 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
5222 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
5223 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
5224 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
5225 `lambda' rather than with `quote'.
5226 (eshell-do-opt): Adjust accordingly.
5227 (eshell-process-option): Simplify.
5228 * eshell/esh-var.el:
5229 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
5230 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
5231 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
5232 to `pcase--dontcare'.
5233 * emacs-lisp/cl.el (labels): Mark obsolete.
5234 (cl--letf, letf): Move to cl-lib.
5235 (cl--letf*, letf*): Remove.
5236 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
5237 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
5238 (cl-progv): Rewrite.
5239 (cl--letf, cl-letf): Move from cl.el.
5240 (cl-letf*): New macro.
5241 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
5242
7ad4afe1
MA
52432012-07-11 Michael Albinus <michael.albinus@gmx.de>
5244
5245 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
5246
9af57756
CY
52472012-07-11 Chong Yidong <cyd@gnu.org>
5248
5249 * vc/log-edit.el (log-edit-vc-backend): New variable.
5250 (log-edit): Doc fix.
5251
5252 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
5253 argument of log-edit to set up all local variables.
5254 (vc-start-logentry): New optional arg specifying VC backend.
5255
5256 * vc/vc.el (vc-checkin): Use it.
5257 (vc-deduce-fileset): Handle Log Edit buffers.
5258 (vc-diff): Make first argument optional too.
5259
5260 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
5261
8477cc7a
MA
52622012-07-10 Michael Albinus <michael.albinus@gmx.de>
5263
5264 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
5265 command, just in case. The function is not needed anymore.
5266 (eshell-external-command): Do not call `eshell-remote-command'.
5267
19faa8e8
SM
52682012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
5269
f58e0fd5
SM
5270 Reduce use of (require 'cl).
5271 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
5272 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
5273 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
5274 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
5275 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
5276 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
5277 * battery.el, avoid.el, abbrev.el: Use cl-lib.
5278 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
5279 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
5280 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
5281 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
5282 * calculator.el, autorevert.el, apropos.el: Don't require CL.
5283 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
5284 (byte-compile-unfold-bcf, byte-compile-check-variable):
5285 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
5286 (byte-compile-nilconstp):
5287 * emacs-lisp/autoload.el (make-autoload): Use pcase.
5288 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
5289
2519d43a
SM
5290 * emacs-lisp/gv.el (cond): Make it a valid place.
5291 (if): Simplify slightly.
5292
19faa8e8
SM
5293 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
5294 (pcase--self-quoting-p): New function.
5295 (pcase--u1): Use it.
5296
c4907a5e
GM
52972012-07-10 Glenn Morris <rgm@gnu.org>
5298
5299 * emacs-lisp/authors.el (authors-fixed-entries):
5300 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
5301
c4444d16
PE
53022012-07-09 Paul Eggert <eggert@cs.ucla.edu>
5303
5304 Rename configure.in to configure.ac (Bug#11603).
5305 * emacs-lisp/authors.el (authors-canonical-file-name):
5306 * progmodes/autoconf.el (autoconf-mode):
5307 Prefer configure.ac to configure.in.
5308
d75be97d
CY
53092012-07-08 Chong Yidong <cyd@gnu.org>
5310
01ac65bd
CY
5311 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
5312 Implement the mouse-1-click-follows-link handling properly.
5313
5314 * info.el (Info-link-keymap): Use follow-link mechanism for
5315 header-line links (Bug#374).
5316
d75be97d
CY
5317 * simple.el (deactivate-mark): Do not set the primary selection
5318 if another program has acquired it (Bug#11772).
5319
87a92845 53202012-07-07 Kevin Ryde <user42@zip.com.au>
f0ecdfea
KR
5321
5322 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
5323 (woman-decode-region): Replace escaped-escapes without destroying
5324 bold or underline (Bug#11552).
87a92845 5325 (woman2-process-escapes): Handle nofill regions (Bug#11591).
f0ecdfea 5326
621b9d6c
CY
53272012-07-07 Chong Yidong <cyd@gnu.org>
5328
5329 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
19faa8e8
SM
5330 (interprogram-cut-function, interprogram-paste-function):
5331 Mention that we typically mean the clipboard.
621b9d6c 5332
133a11fc
GM
53332012-07-06 Glenn Morris <rgm@gnu.org>
5334
0d27a45e
GM
5335 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
5336
133a11fc
GM
5337 * files.el (toggle-read-only): Restrict message to interactive use.
5338
07b151f1
MA
53392012-07-06 Michael Albinus <michael.albinus@gmx.de>
5340
5341 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
5342
5343 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
5344
211b896b
GM
53452012-07-06 Glenn Morris <rgm@gnu.org>
5346
50394322
GM
5347 * Makefile.in (compile-one-process): Rename from "recompile".
5348
211b896b
GM
5349 * Makefile.in (bzr-update): "compile" is the same as "recompile
5350 autoloads", but parallelizable, so use that instead.
5351
4737eec9
DG
53522012-07-06 Dmitry Gutov <dgutov@yandex.ru>
5353
5354 * window.el (quit-window): Always restore window height when
8137e7b3 5355 it's saved in quit-restore parameter (Bug#11810).
4737eec9 5356
226c3633 53572012-07-06 Glenn Morris <rgm@gnu.org>
cb442973
GM
5358
5359 * simple.el (kill-whole-line): Doc tweak.
5360
226c3633 53612012-07-06 Eli Zaretskii <eliz@gnu.org>
93842198
EZ
5362
5363 * files.el (file-relative-name): Compare file names
5364 case-insensitively if on MS-Windows or MS-DOS, or if
5365 read-file-name-completion-ignore-case is non-nil. Don't use
5366 case-fold-search for this purpose. (Bug#11827)
5367
4dc7c8d5
SM
53682012-07-17 Andreas Schwab <schwab@linux-m68k.org>
5369
5370 * calendar/cal-dst.el (calendar-current-time-zone):
5371 Return calendar-current-time-zone-cache if non-nil.
5372
53732012-07-17 Masatake YAMATO <yamato@redhat.com>
226c3633 53742012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 5375
19faa8e8
SM
5376 * calendar/cal-dst.el (calendar-current-time-zone):
5377 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 5378
60198fc9
GM
53792012-07-06 Glenn Morris <rgm@gnu.org>
5380
5381 * Makefile.in (cvs-update): Remove old alias.
5382
957b3189
MA
53832012-07-05 Michael Albinus <michael.albinus@gmx.de>
5384
5385 Sync with Tramp 2.2.6-pre.
5386
5387 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
5388 compatible declaration.
5389
19faa8e8
SM
5390 * net/tramp-cmds.el (tramp-append-tramp-buffers):
5391 Protect `list-load-path-shadows' call.
957b3189
MA
5392
5393 * net/tramp-compat.el (top): Require packages, which aren't
5394 autoloaded anymore for XEmacs. Protect call of
5395 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
5396 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
5397 it hurts at least for SXEmacs.
5398 (tramp-compat-temporary-file-directory): In XEmacs, there is no
5399 standard-value for `temporary-file-directory'.
5400
5401 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
5402 Redirect stderr to /dev/null.
5403 (tramp-sh-handle-write-region): uid and gid can be floats.
5404 Reported by Russell Sim <russell.sim@gmail.com>.
5405 (tramp-sh-handle-vc-registered): Hide errors.
5406 (tramp-vc-file-name-handler): Use dummy results for `process-file'
5407 and `start-file-process'.
5408 (tramp-maybe-open-connection): Check also whether `non-essential'
5409 is bound.
5410
566df3fc
CY
54112012-07-04 Chong Yidong <cyd@gnu.org>
5412
5413 * xml.el (xml--parse-buffer): Use xml-syntax-table.
5414 (xml-parse-tag): Likewise, and avoid changing entity tables.
5415 (xml-syntax-table): Define from scratch, making sure not to give
5416 x2000 and other Unicode spaces whitespace syntax, since those are
5417 not spaces in XML.
5418 (xml-parse-fragment): Delete unused function.
5419 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
5420 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
5421 (xml-entity-ref, xml-pe-reference-re)
5422 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
5423 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
5424 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
5425 (xml-entity-value-re): Use syntax references in regexps where
5426 possible; no need to define inside a let-binding.
5427 (xml-parse-dtd): Use xml-pe-reference-re.
5428 (xml-entity-or-char-ref-re): New defconst.
5429 (xml-parse-string, xml-substitute-special): Use it.
5430
30eabd7a
SM
54312012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
5432
0781098a
SM
5433 * files.el (locate-dominating-file): Allow `name' to be a predicate.
5434 (find-file--read-only): New function.
5435 (find-file-read-only, find-file-read-only-other-window)
5436 (find-file-read-only-other-frame): Use it.
5437 (insert-file-contents-literally): Don't `fset'.
5438 (get-free-disk-space): Use locate-dominating-file.
5439
b5771c0d
SM
5440 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
5441 function is already compiled.
5442
30eabd7a
SM
5443 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
5444
b4886f6e
MA
54452012-07-03 Michael Albinus <michael.albinus@gmx.de>
5446
5447 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
5448 files on the same host.
5449
b9d82339
AS
54502012-07-03 Andreas Schwab <schwab@linux-m68k.org>
5451
5452 * help-fns.el (describe-function-1): Only call
5453 help-fns--autoloaded-p when we have a file name. (Bug#11848)
5454
a76e6535
CY
54552012-07-03 Chong Yidong <cyd@gnu.org>
5456
5457 * xml.el: Protect parser against XML bombs.
5458 (xml-entity-expansion-limit): New variable.
5459 (xml-parse-string, xml-substitute-special): Use it.
5460 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
5461
b544fef2
GM
54622012-07-03 Glenn Morris <rgm@gnu.org>
5463
5464 * progmodes/bug-reference.el (bug-reference-bug-regexp):
5465 Allow linking to specific messages in debbugs reports (eg 123#5).
5466
a7aef6f5
CY
54672012-07-02 Chong Yidong <cyd@gnu.org>
5468
5469 * xml.el: Fix entity and character reference expansion, allowing
5470 them to expand into markup as per XML spec.
5471 (xml-default-ns): New variable.
5472 (xml-entity-alist): Use XML spec definitions for lt and amp.
30eabd7a
SM
5473 (xml-parse-region): Make first two arguments optional.
5474 Discard text properties.
5475 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
5476 All callers changed.
a7aef6f5
CY
5477 (xml-parse-tag): Call xml-parse-tag-1. For backward
5478 compatibility, this function should not modify buffer contents.
5479 (xml-parse-tag-1): Fix opening-tag regexp.
5480 (xml-parse-string): Rewrite, handling entity and character
5481 references properly.
5482 (xml--entity-replacement-text): Signal an error if a parameter
5483 entity is undefined.
5484
3df31c9f
SM
54852012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
5486
2b5208f1
SM
5487 * comint.el (comint-output-filter): Filter out repeated prompts.
5488
3df31c9f
SM
5489 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
5490 and file-name-absolute-p.
5491 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
5492 internal calls.
5493
e3ac1281
PE
54942012-07-02 Paul Eggert <eggert@cs.ucla.edu>
5495
5496 Spelling fixes.
5497 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
5498 Rename from byte-compile--refiy-function. All uses changed.
5499
fbf2e7ad
CY
55002012-07-01 Chong Yidong <cyd@gnu.org>
5501
5502 * xml.el (xml--parse-buffer): New function. Move most of
5503 xml-parse-region here.
5504 (xml-parse-region): Copy region into a temporary buffer, since
5505 parameter entity substitution requires changing buffer contents.
5506 Use xml--parse-buffer.
5507 (xml-parse-file): Use xml--parse-buffer.
5508 (xml-parse-dtd): Make parameter entity substitution work right.
6fe566a7 5509 Use proper regexps for ELEMENT declarations (Bug#7172).
fbf2e7ad 5510
9bf0aa15
GM
55112012-06-30 Glenn Morris <rgm@gnu.org>
5512
bbce2853
GM
5513 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
5514
9bf0aa15
GM
5515 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
5516 Remove outdated and unnecessary dbus declarations.
5517
0d23c240
EZ
55182012-06-30 Eli Zaretskii <eliz@gnu.org>
5519
5520 * emacs-lisp/timer.el (timer-until): Subtract results of
5521 float-time, instead of taking float-time of the result of
5522 time-subtract, since float-time signals an error for negative time
5523 arguments.
5524
b3218de1
CY
55252012-06-30 Chong Yidong <cyd@gnu.org>
5526
5527 * xml.el (xml-*-re): Convert defvars into defconsts, and
5528 eval-and-compile them so eval-and-compile works on derivatives.
5529 (xml--entity-replacement-text): Use eval-and-comple.
5530
a40c87a0
MA
55312012-06-30 Michael Albinus <michael.albinus@gmx.de>
5532
5533 * vc/vc-git.el (vc-git-registered): Use cache property
5534 `git-registered'.
5535 (vc-git-mode-line-string): Call `vc-working-revision' instead of
5536 `vc-git-working-revision' in order to benefit from the cache.
2bb1ae55 5537 (vc-git-root): Use cache property `git-root'. (Bug#11757)
a40c87a0 5538
ac87de97
DG
55392012-06-30 Dmitry Gutov <dgutov@yandex.ru>
5540
5541 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
2bb1ae55 5542 removed (likely outside Emacs). (Bug#11757)
ac87de97 5543
ac10fe06
SM
55442012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
5545
3df31c9f 5546 * emacs-lisp/cl-lib.el: Require macroexp.
ac10fe06 5547
7f3fbd5d
CY
55482012-06-30 Chong Yidong <cyd@gnu.org>
5549
5550 * xml.el: Implement XML parameter entities.
5551 (xml-parameter-entity-alist): New variable.
5552 (xml-parse-region, xml-parse-fragment): Preserve previous values
5553 of xml-entity-alist and xml-parameter-entity-alist, so that
5554 repeated calls on different documents do not change them.
5555 (xml-parse-tag): Fix doctype regexp.
5556 (xml--entity-replacement-text): New function.
5557 (xml-parse-dtd): Use it. Don't handle system entities; doing that
5558 properly requires url retrieval which is unimplemented.
5559 (xml-escape-string): Doc fix.
5560
3cfbebba
SM
55612012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
5562
5563 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
5564
2af3565e
DA
55652012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
5566
5567 * fringe.el (fringe-mode): Doc fix.
5568
929df0e7
MA
55692012-06-29 Michael Albinus <michael.albinus@gmx.de>
5570
5571 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
5572 is non-nil.
5573 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
5574 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
5575
c8d3a25c 55762012-06-29 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 5577
c8d3a25c
GM
5578 * calendar/cal-dst.el (calendar-current-time-zone):
5579 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 5580
c8d3a25c 55812012-06-29 Masatake YAMATO <yamato@redhat.com>
26e8548e
MY
5582
5583 * progmodes/which-func.el (which-func-format):
5584 Add mouse-face. (Bug#11698)
5585
c8d3a25c
GM
55862012-06-29 Leo Liu <sdl.web@gmail.com>
5587
5588 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
5589
55902012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
5591
5592 * minibuffer.el (minibuffer-confirm-exit-commands):
5593 Add completion-at-point (bug#11725).
5594
55952012-06-29 Glenn Morris <rgm@gnu.org>
5596
5597 * progmodes/f90.el (f90-font-lock-keywords-2):
5598 Add some preprocessor elements. (Bug#10499)
5599
56002012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
5601
5602 * progmodes/cperl-mode.el (cperl-update-syntaxification):
5603 Use syntax-propertize (bug#11739).
5604
2badeec4
JB
56052012-06-28 Juanma Barranquero <lekktu@gmail.com>
5606
5607 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
5608
ae4969c2
JD
56092012-06-28 Julien Danjou <julien@danjou.info>
5610
5611 * term.el (term-handle-colors-array): Use a set of new faces to
5612 color the terminal. Also uses :inverse-video property.
5613 (term-default-fg-color): Set to nil by default, deprecate in favor
5614 of `term-face'.
5615 (term-default-bg-color): Set to nil by default, deprecate in favor
5616 of `term-face'.
5617 (term-current-face): Use `term-face' by default.
5618 (term-bold-attribute): Variable deleted.
5619
1c9bd870
GM
56202012-06-28 Glenn Morris <rgm@gnu.org>
5621
5622 * simple.el (completion-list-mode-finish):
5623 Don't use toggle-read-only. (Since completion-list-mode has
5624 a special mode-class, it wasn't doing anything extra anyway.)
5625
c207708c
SM
56262012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
5627
5628 Make inlining of other-mode interpreted functions work (bug#11799).
5629 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
5630 (byte-compile): Use it to fix compilation of lexical-binding closures.
5631 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
5632 function, if needed.
5633
3fd56834
SM
56342012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
5635
04901786
SM
5636 * help-mode.el (help-make-xrefs): Don't just withstand
5637 cyclic-variable-indirection but any error in documentation-property.
5638
1ec4b7b2
SM
5639 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
5640 memory use.
5641 * bindings.el (bindings--define-key): New function.
5642 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
5643 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
5644 * bindings.el: Use it to purecopy define-key bindings.
5645
e309e2a5
SM
5646 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
5647
d5c6faf9
SM
5648 * emacs-lisp/cl.el (flet): Mark obsolete.
5649 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
5650 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
5651 * progmodes/js.el (js-c-fill-paragraph):
5652 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
5653 (ebrowse-switch-member-buffer-to-derived-class):
5654 * play/5x5.el (5x5-solver): Use cl-flet.
5655
6e9590e2
SM
5656 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
5657 (cl--symbol-function): New macro.
5658 (cl--letf, cl--letf*): Use it.
5659
3fd56834
SM
5660 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
5661 Strip "toggle-" if any.
5662
35ff222c
GM
56632012-06-27 Glenn Morris <rgm@gnu.org>
5664
1ba6038a
GM
5665 * info.el (Info-default-directory-list): Move here from paths.el.
5666 * paths.el: Remove file, which is now empty.
5667 * loadup.el: No longer load "paths".
5668
0ea0e51b
GM
5669 * custom.el (custom-initialize-delay): Doc fix.
5670
35ff222c
GM
5671 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
5672 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
5673 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
5674 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
5675 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
5676 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
5677 * eshell/eshell.el (eshell-defgroup): Remove alias.
5678
c89926a5
CY
56792012-06-27 Chong Yidong <cyd@gnu.org>
5680
5681 * help.el (help-enable-auto-load): New variable.
5682
5683 * help-fns.el (help-fns--autoloaded-p): New function.
5684 (describe-function-1): Refer to a function as "autoloaded" if it
5685 was autoloaded at any time in the past. Perform autoloading if
5686 help-enable-auto-load is non-nil.
5687
cc06e7e7
EZ
56882012-06-26 Eli Zaretskii <eliz@gnu.org>
5689
5690 * makefile.w32-in (compile, compile-always): Depend on
5691 update-subdirs, not on subdirs.el. Otherwise, several different
5692 sub-targets of 'bootstrap' running in parallel could
5693 simultaneously write to subdirs.el, producing a garbled file.
5694
d2c32364
SS
56952012-06-26 Sam Steingold <sds@gnu.org>
5696
5697 * files.el (file-name-base): New convenience function.
0d14cc21
GM
5698 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
5699 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
5700 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
5701 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
5702 * textmodes/ispell.el, textmodes/reftex-ref.el:
d2c32364
SS
5703 * textmodes/tex-mode.el: Use it.
5704 Did not touch cedet and org because they are maintained elsewhere.
5705
5cf983b2
MR
57062012-06-26 Martin Rudalics <rudalics@gmx.at>
5707
5708 * calendar/calendar.el (calendar-exit): Don't try to delete or
5709 iconify last frame. See:
5710 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
5711
8c4f2952
JD
57122012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
5713
5714 * server.el (server-process-filter): Remember dir in the
5715 process's `server-client-directory' properties.
5716
772b2e2c
CY
57172012-06-24 Chong Yidong <cyd@gnu.org>
5718
5719 * xml.el (xml-parse-tag): Correctly handle comment embedded in
5720 non-tag text.
5721
711b11e1
JB
57222012-06-23 Juanma Barranquero <lekktu@gmail.com>
5723
5724 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
5725
dc5d230c
SM
57262012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
5727
5728 * help-fns.el (describe-variable): Don't croak when doc is not found.
5729 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
5730 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
5731 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
5732 * emacs-lisp/smie.el (smie-next-sexp): CSE.
5733 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
5734 ((lambda ..) ..).
5735 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
5736
136e1c1d
CY
57372012-06-23 Chong Yidong <cyd@gnu.org>
5738
e8c1cabf
CY
5739 * info.el (Info-mouse-follow-link): Accept symbol values of
5740 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
136e1c1d
CY
5741 (Info-fontify-node): Use Info-link-keymap for all navigation
5742 buttons, with link-args property to perform the desired action.
5743 (Info-link-keymap): Doc fix.
5744 (Info-next-link-keymap, Info-prev-link-keymap)
5745 (Info-up-link-keymap): Delete now-unused keymaps.
5746
0e9e6c6a
CY
57472012-06-23 Chong Yidong <cyd@gnu.org>
5748
05e89fea
CY
5749 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
5750
0e9e6c6a
CY
5751 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
5752 system abbrevs.
5753
5754 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
5755
e33c6771
SM
57562012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
5757
b68581e2
SM
5758 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
5759 (bug#11719).
5760
e33c6771
SM
5761 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
5762 the requote function doesn't work properly (bug#11714).
5763
7117e105
GM
57642012-06-23 Glenn Morris <rgm@gnu.org>
5765
5766 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
5767
36cec983
SM
57682012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
5769
5770 Further GV/CL cleanups.
5771 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
5772 gv-expander.
5773 (gv--defun-declaration): New function.
5774 (defun-declarations-alist): Use it.
5775 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
5776 (gv-place): Autoload.
5777 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
5778 original definition of dotimes and dolist.
5779 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
5780 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
5781 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
5782 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
5783 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
5784 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
5785 to the function's definition.
5786 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
5787 * window.el:
5788 * files.el:
5789 * faces.el:
5790 * env.el: Don't use CL.
5791
d35af63c
PE
57922012-06-22 Paul Eggert <eggert@cs.ucla.edu>
5793
5794 Support higher-resolution time stamps (Bug#9000).
5795
5796 * calendar/time-date.el (with-decoded-time-value): New arg
5797 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
5798 (encode-time-value): New optional arg PICO. New type 3.
5799 (time-to-seconds) [!float-time]: Support the new picoseconds
5800 component if it's used.
5801 (seconds-to-time, time-subtract, time-add):
5802 Support ps-resolution time stamps as well.
5803
5804 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
5805 (timerp): Timer vectors now have length 9, not 8.
5806 (timer--time): Support new-style (4-part) time stamps.
5807 (timer-next-integral-multiple-of-time): Time stamps now have
5808 picosecond resolution, so take a bit more care about rounding.
5809 (timer-relative-time, timer-inc-time): New optional arg psecs.
5810 (timer-set-time-with-usecs): Set psecs to 0.
5811 (timer--activate): Check psecs component, too.
5812
5813 * proced.el (proced-time-lessp): Support ps-resolution stamps.
5814
ac77b21a
SM
58152012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
5816
f143bfe3
SM
5817 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
5818 Move the non-essential binding to the post/pre-command-hook where it is
5819 more obviously correct.
5820
ac77b21a
SM
5821 * subr.el (read-passwd): Don't use a history at all.
5822 * savehist.el (savehist-save): Remove password saved accidentally
5823 because of the above bug.
5824
76386c5a
BG
58252012-06-22 Bastien Guerry <bzg@gnu.org>
5826
5827 * files.el (toggle-read-only): Display a message telling whether
5828 the buffer is read-only or not (bug#11726).
5829
2ee3d7f0
SM
58302012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
5831
5832 * emacs-lisp/gv.el: New file.
5833 * subr.el (push, pop): Extend to generalized variables.
5834 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
5835 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
5836 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
5837 gv-define-simple-setter, and gv-define-expander.
5838 Remove setf-methods defined in gv. Rename cl-setf -> setf.
5839 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
5840 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
5841 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
5842 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
5843 gv-letplace.
5844 (cl-defstruct): Don't define setf-method any more.
5845 * emacs-lisp/cl.el (flet): Don't autoload.
5846 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
5847 (define-setf-expander, defsetf, define-modify-macro)
5848 (cl-struct-setf-expander): Move from cl-lib.el.
5849 * emacs-lisp/syntax.el:
5850 * emacs-lisp/ewoc.el:
5851 * emacs-lisp/smie.el:
5852 * emacs-lisp/cconv.el:
5853 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
5854 (timer--time): Use gv-define-simple-setter.
5855 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
5856 to avoid coding-system problems in subr.el. Adjust all users.
5857 (macroexp--maxsize, macroexp-small-p): New functions.
5858 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
5859 * scroll-bar.el (scroll-bar-mode):
5860 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
5861 (normal-erase-is-backspace-mode): Don't use the `eq' place.
5862 * winner.el (winner-configuration, winner-make-point-alist)
5863 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
5864 * files.el (locate-file-completion-table): Avoid list*.
5865
c5695d1d
CY
58662012-06-22 Chong Yidong <cyd@gnu.org>
5867
5868 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
5869 (dired-create-files): Doc fix (Bug#11329).
5870 (dired-do-copy): Doc fix (Bug#11334).
5871 (dired-mark-read-string): Doc fix (Bug#11553).
5872
2ee3d7f0
SM
5873 * dired.el (dired-recursive-copies, dired-recursive-deletes):
5874 Doc fix (Bug#11326).
c5695d1d
CY
5875 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
5876 (dired-dwim-target): Doc fix.
5877
5878 * wdired.el (wdired-mode): Doc fix.
5879
89b5595a
GM
58802012-06-22 Glenn Morris <rgm@gnu.org>
5881
575db3f1
GM
5882 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
5883 (pcmpl-rpm-cache-stamp-file): New constant.
5884 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
5885 (pcmpl-rpm-packages): Optionally cache list of packages.
5886
a4c8dd51
GM
5887 * pcmpl-rpm.el (pcmpl-rpm): New group.
5888 (pcmpl-rpm-query-options): New option.
5889 (pcmpl-rpm-packages): No need to inline it.
5890 Use pcmpl-rpm-query-options.
5891
89b5595a
GM
5892 * calendar/calendar.el (calendar-in-read-only-buffer):
5893 Avoid some needless mode changes.
5894
e76f0800
CY
58952012-06-21 Chong Yidong <cyd@gnu.org>
5896
5897 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
5898 (desktop-path): Remove . from the default value (Bug#10977).
6b67c0d4 5899 (desktop-read): Use user-emacs-directory if desktop-path is nil.
e76f0800 5900
297a8f1d
CY
59012012-06-20 Chong Yidong <cyd@gnu.org>
5902
5903 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
5904
d34c18b1
DR
59052012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
5906
5907 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
5908 (bug#11201).
5909
32f7f28e
CY
59102012-06-20 Chong Yidong <cyd@gnu.org>
5911
5912 * term.el (term-window-width): Handle the case of a missing right
5913 fringe (Bug#8837).
5914 (term-check-size): Use window-text-height (Bug#5445).
d34c18b1
DR
5915 (term-mode): Use define-derived-mode. Minor cleanups.
5916 Set font-lock-defaults (Bug#7692).
6ff7caa8
CY
5917 (term-move-columns, term-insert-char, term-emulate-terminal)
5918 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
32f7f28e 5919
493c6688
MA
59202012-06-20 Michael Albinus <michael.albinus@gmx.de>
5921
d34c18b1
DR
5922 * net/ange-ftp.el (ange-ftp-get-passwd):
5923 Bind `enable-recursive-minibuffers'.
493c6688
MA
5924 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
5925
3f06ecf4
DR
59262012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
5927
5928 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
5929
68f12411
GM
59302012-06-19 Glenn Morris <rgm@gnu.org>
5931
5932 * progmodes/python.el (python-mode): Derive from prog-mode.
5933
b3820318
KG
59342012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
5935
5936 * emulation/edt.el (edt-default-menu-bar-update-buffers)
5937 (edt-user-menu-bar-update-buffers): New functions.
5938 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
5939
c6bf3022
CY
59402012-06-19 Chong Yidong <cyd@gnu.org>
5941
5942 * subr.el (with-selected-window): Preserve the selected window's
5943 terminal's top-frame (Bug#4702).
5944
5945 * window.el (save-selected-window): Likewise.
5946
25f09295
SM
59472012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5948
5949 * progmodes/python.el (python-rx-constituents): Move backquote.
5950 (python-skeleton-define, python-define-auxiliary-skeleton):
5951 Use `declare'.
5952
6b11952a
MA
59532012-06-18 Michael Albinus <michael.albinus@gmx.de>
5954
5955 * minibuffer.el (read-file-name-default): Revert the patch from
5956 2012-06-17.
5957
ee4b1330
SM
59582012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5959
5960 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
5961 (pcase--u1, pcase--q1): Don't use apply-partially.
5962
35647f79
GM
59632012-06-18 Glenn Morris <rgm@gnu.org>
5964
5965 * progmodes/python.el (python-proc, python-buffer)
5966 (python-send-receive, python-send-string): Fix obsolete versions.
5967
24b0cff0
MR
59682012-06-18 Martin Rudalics <rudalics@gmx.at>
5969
5970 * window.el (special-display-p): Completely remove stringp
5971 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
5972
29855149
MA
59732012-06-17 Michael Albinus <michael.albinus@gmx.de>
5974
5975 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
5976
5977 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
5978
5979 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
5980 * net/tramp-sh.el (tramp-maybe-open-connection):
5981 Throw if `non-essential' is non-nil.
5982
07463363
MR
59832012-06-17 Martin Rudalics <rudalics@gmx.at>
5984
5985 * window.el (special-display-p): Signal an error if BUFFER-NAME
5986 is not a string (Bug#11713).
5987
48d1354e
PE
59882012-06-17 Paul Eggert <eggert@cs.ucla.edu>
5989
5990 * progmodes/python.el (python-info-beginning-of-backslash):
5991 Rename from python-info-beginning-of-backlash, as a spelling fix.
5992
eb4a8a9a
CY
59932012-06-17 Chong Yidong <cyd@gnu.org>
5994
5995 * term.el (term-emulate-terminal): If term-check-size is called,
5996 move point to the process mark without resetting point (Bug#4635).
5997
ddfbf826 59982012-06-17 Glenn Morris <rgm@gnu.org>
9c758578
GM
5999
6000 * international/mule-cmds.el (mule-menu-keymap)
6001 (set-language-environment, set-locale-environment): Doc tweaks.
6002
9b0e3eba
AA
60032012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
6004
6005 * cus-face.el (custom-face-attributes): Add wave-style underline
6006 attribute.
6007 * faces.el (set-face-attribute): Update docstring to describe
6008 wave-style underline attribute.
6009
771e3eae
CY
60102012-06-16 Chong Yidong <cyd@gnu.org>
6011
6012 * term/xterm.el (terminal-init-xterm): Discard input before
6013 querying background mode (Bug#10959).
6014
7ae2ea10
SM
60152012-06-16 Stefan Merten <smerten@oekonux.de>
6016
6017 * textmodes/rst.el: Added and corrected some comments.
6018 (rst-re-alist-def): Improve symbol syntax.
6019 (rst-mode-syntax-table): Correct syntax entries.
6665a6fd
SM
6020 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
6021 (rst-official-version, rst-official-cvs-rev): Update version
6022 information.
7ae2ea10 6023
b6974efa
JB
60242012-06-15 Juanma Barranquero <lekktu@gmail.com>
6025
6026 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
6027 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
6028
8826d473
GM
60292012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
6030
6031 * progmodes/python.el: New python.el merge.
6032 (python-guess-indent): Obsolete var.
6033 (python-indent-guess-indent-offset): New defcustom.
6034 (python-indent): Obsolete var.
6035 (python-indent-offset): New defcustom.
6036 (python-python-command, python-jython-command): Delete var.
6037 (python-shell-interpreter): New defcustom.
6038 (python-pdbtrack-do-tracking-p): Delete var.
6039 (python-pdbtrack-activate): New defcustom.
6040 (python-use-skeletons): Obsolete var.
6041 (python-skeleton-autoinsert): New defcustom.
6042 (inferior-python-filter-regexp, python-continuation-offset)
6043 (python-honour-comment-indentation, python-indent-string-contents)
6044 (python-jython-packages, python-mode-hook)
6045 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
6046 (python-shell-prompt-alist)
6047 (python-source-modes): Delete defcustoms.
6048 (python-check-buffer-name, python-eldoc-setup-code)
6049 (python-eldoc-string-code, python-ffap-setup-code)
6050 (python-ffap-string-code, python-fill-comment-function)
6051 (python-fill-decorator-function, python-fill-paren-function)
6052 (python-fill-string-function, python-imenu-include-defun-type)
6053 (python-imenu-make-tree, python-imenu-subtree-root-label)
6054 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
6055 (python-shell-compilation-regexp-alist)
6056 (python-shell-completion-module-string-code)
6057 (python-shell-completion-pdb-string-code)
6058 (python-shell-completion-setup-code)
6059 (python-shell-completion-string-code)
6060 (python-shell-enable-font-lock, python-shell-exec-path)
6061 (python-shell-extra-pythonpaths)
6062 (python-shell-internal-buffer-name, python-shell-interpreter-args)
6063 (python-shell-process-environment)
6064 (python-shell-prompt-block-regexp)
6065 (python-shell-prompt-output-regexp)
6066 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
6067 (python-shell-send-setup-max-wait, python-shell-setup-codes)
6068 (python-shell-virtualenv-path): New defcustoms.
6069 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
6070 (inferior-python-mode-syntax-table, python--prompt-regexp)
6071 (python-buffer, python-command python-python-command)
6072 (python-default-template, python-imports, python-indent-index)
6073 (python-indent-list, python-indent-list-length)
6074 (python-mode-running, python-pdbtrack-is-tracking-p)
6075 (python-preoutput-continuation, python-preoutput-leftover)
6076 (python-preoutput-result, python-preoutput-skip-next-prompt)
6077 (python-prev-dir/file, python-recursing)
6078 (python-saved-check-command, python-version-checked)
6079 (python-which-func-length-limit)
6080 (view-return-to-alist): Delete vars.
6081 (python-check-custom-command, python-dotty-syntax-table)
6082 (python-imenu-index-alist, python-indent-current-level)
6083 (python-indent-dedenters, python-indent-levels)
6084 (python-nav-beginning-of-defun-regexp)
6085 (python-nav-list-defun-positions-cache)
6086 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
6087 (python-shell-internal-buffer)
6088 (python-skeleton-available): New vars.
6089 (def-python-skeleton): Delete macro.
6090 (python-skeleton-define): New macro.
6091 (python-define-auxiliary-skeleton, python-rx): New macros.
6092 (python-insert-class): Delete command.
6093 (python-skeleton-class): New command.
6094 (python-insert-def): Delete command.
6095 (python-skeleton-def): New command.
6096 (python-insert-for): Delete command.
6097 (python-skeleton-for): New command.
6098 (python-insert-if): Delete command.
6099 (python-skeleton-if): New command.
6100 (python-insert-try/except, python-insert-try/finally): Delete commands.
6101 (python-skeleton-try): New command.
6102 (python-insert-while): Delete command.
6103 (python-skeleton-while): New command.
6104 (python-backspace): Delete command.
6105 (python-indent-dedent-line-backspace): New command.
6106 (python-electric-colon): Delete command.
6107 (python-indent-electric-colon): New command.
6108 (python-guess-indent): Delete command.
6109 (python-indent-guess-indent-offset): New command.
6110 (python-shift-left): Delete command.
6111 (python-indent-shift-left): New command.
6112 (python-shift-right): Delete command.
6113 (python-indent-shift-right): New command.
6114 (python-find-function): Delete command.
6115 (python-nav-jump-to-defun): New command.
6116 (python-next-statement): Delete command.
6117 (python-nav-forward-sentence): New command.
6118 (python-previous-statement): Delete command.
6119 (python-nav-backward-sentence): New command.
6120 (python-fill-paragraph): Delete command.
6121 (python-fill-paragraph-function): New command.
6122 (python-send-buffer): Delete command.
6123 (python-shell-send-buffer): New command.
6124 (python-send-defun): Delete command.
6125 (python-shell-send-defun): New command.
6126 (python-send-region, python-send-region-and-go): Delete commands.
6127 (python-shell-send-region)
6128 (python-shell-switch-to-shell): New commands.
6129 (python-send-string): Delete command.
6130 (python-shell-send-string): New command.
6131 (python-switch-to-python): Delete command.
6132 (python-shell-switch-to-shell): New command.
6133 (python-describe-symbol): Delete command.
6134 (python-eldoc-at-point): New command.
6135 (python--set-prompt-regexp, python-args-to-list)
6136 (python-after-info-look, python-check-version)
6137 (python-check-comint-prompt, python-find-imports)
6138 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
6139 (python-unload-function, python-expand-template)
6140 (python-maybe-jython, python-preoutput-filter)
6141 (python-pdbtrack-get-source-buffer)
6142 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
6143 (python-pdbtrack-toggle-stack-tracking)
6144 (python-pdbtrack-track-stack-file, python-initial-text)
6145 (python-first-word, python-comment-line-p, python-send-command)
6146 (python-setup-brm, python-sentinel, python-set-proc)
6147 (python-skip-out, python-input-filter, python-outdent-p)
6148 (python-outline-level, python-backslash-continuation-line-p)
6149 (python-end-of-block, python-end-of-statement, python-mark-block)
6150 (python-beginning-of-block, python-beginning-of-statement)
6151 (python-blank-line-p, python-beginning-of-string)
6152 (python-open-block-statement-p): Delete functions.
6153 (python-indent-line, python-indent-line-1): Delete functions.
6154 (python-indent-line): New function.
6155 (python-indentation-levels): Delete function.
6156 (python-indent-calculate-levels): New function.
6157 (python-proc): Delete function.
6158 (python-shell-get-process): New function.
6159 (python-send-receive): Delete function.
6160 (python-shell-send-string-no-output): New function.
6161 (python-module-path): Delete function.
6162 (python-ffap-module-path): New function.
6163 (python-completion-at-point)
6164 (python-symbol-completions): Delete functions.
6165 (python-completion-complete-at-point): New function.
6166 (python-load-file): Delete function.
6167 (python-shell-send-file): New function.
6168 (python-calculate-indentation): Delete function.
6169 (python-indent-calculate-indentation): New function.
6170 (python-skip-comments/blanks): Delete function.
6171 (python-util-forward-comment): New function.
6172 (python-continuation-line-p): Delete function.
6173 (python-info-continuation-line-p): New function.
6174 (python-which-func, python-current-defun): Delete function.
6175 (python-info-current-defun): New function.
6176 (python-beginning-of-defun): Delete function.
6177 (python-nav-beginning-of-defun): New function.
6178 (python-close-block-statement-p)
6179 (python-block-end-p): Delete function.
6180 (python-info-closing-block): New function.
6181 (python-comint-output-filter-function)
6182 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
6183 (python-fill-comment, python-fill-decorator, python-fill-paren)
6184 (python-fill-string, python-imenu-make-element-tree)
6185 (python-imenu-make-tree, python-imenu-tree-assoc)
6186 (python-indent-context, python-indent-dedent-line)
6187 (python-indent-line-function)
6188 (python-indent-post-self-insert-function)
6189 (python-indent-toggle-levels)
6190 (python-info-assignment-continuation-line-p)
6191 (python-info-beginning-of-backlash)
6192 (python-info-block-continuation-line-p)
6193 (python-info-closing-block-message)
6194 (python-info-line-ends-backslash-p)
6195 (python-info-looking-at-beginning-of-defun)
6196 (python-info-ppss-context, python-info-ppss-context-type)
6197 (python-nav-list-defun-positions, python-nav-read-defun)
6198 (python-nav-sentence-end, python-nav-sentence-start)
6199 (python-pdbtrack-comint-output-filter-function)
6200 (python-pdbtrack-set-tracked-buffer)
6201 (python-shell-calculate-exec-path)
6202 (python-shell-calculate-process-environment)
6203 (python-shell-completion--do-completion-at-point)
6204 (python-shell-completion--get-completions)
6205 (python-shell-completion-complete-at-point)
6206 (python-shell-completion-complete-or-indent)
6207 (python-shell-get-or-create-process)
6208 (python-shell-get-process-name)
6209 (python-shell-internal-get-or-create-process)
6210 (python-shell-internal-get-process-name)
6211 (python-shell-internal-send-string, python-shell-make-comint)
6212 (python-shell-parse-command, python-shell-send-setup-code)
6213 (python-skeleton-add-menu-items)
6214 (python-util-clone-local-variables, python-util-position)
6215 (run-python-internal, python-indentation-levels)
6216 (python-nav-beginning-of-defun)
6217 (python-completion-complete-at-point): New functions.
6218 (run-python): Change arguments. New API requirements.
6219
4302f5ba
SM
62202012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
6221
f38ea36d
SM
6222 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
6223 (bug#11649).
6224
6225 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
6226 (macroexp--expand-all): Use it.
6227
4302f5ba
SM
6228 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
6229 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
6230 Use `cl-function' instead.
6231
33377562
JB
62322012-06-14 Juanma Barranquero <lekktu@gmail.com>
6233
6234 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
6235 Suggested by Stefan Monnier while discussing bug#11657.
6236
54c5ba1a
SS
62372012-06-14 Sam Steingold <sds@gnu.org>
6238
6239 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
6240
f9f1b1fe
AS
62412012-06-14 Andreas Schwab <schwab@linux-m68k.org>
6242
6243 * play/doctor.el (doctor-doc): Remove parameter and use
6244 doctor-sent instead of sent.
6245 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
6246
a81068ba
SM
62472012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
6248
5a315f9c
SM
6249 * files.el: Require cl-lib.
6250 (file-name-non-special): Replace case -> cl-case.
6251
6252 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
6253
a81068ba
SM
6254 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
6255 mapping from #' to function*.
6256
8cca9703
CY
62572012-06-13 Chong Yidong <cyd@gnu.org>
6258
6259 * mouse.el (mouse-drag-track): Do not set the mark if the user
6260 releases the mouse without selecting anything (Bug#11588).
6261
a12ac9d7
SM
62622012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
6263
ccf1dc18
SM
6264 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
6265 as well (bug#11646).
6266
ef62b23d
SM
6267 * loadup.el: Count byte-code functions as well.
6268
c4c8444a
SM
6269 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
6270 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
6271
a12ac9d7
SM
6272 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
6273 (bug#11649). Add cl-defun and cl-defmacro.
6274
87e6e64f
DA
62752012-06-13 Drew Adams <drew.adams@oracle.com>
6276
6277 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
6278 Fix last change.
6279
682cefaf
MA
62802012-06-13 Michael Albinus <michael.albinus@gmx.de>
6281
6282 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
6283 Otherwise, it blocks in batch mode.
6284
773e1f08
JB
62852012-06-13 Juanma Barranquero <lekktu@gmail.com>
6286
6287 * help-mode.el (bookmark-make-record-default): Declare.
6288
60057926
CY
62892012-06-13 Chong Yidong <cyd@gnu.org>
6290
6291 * emacs-lisp/package.el (list-packages): Compute a list of
6292 packages that are newly-available since the last list-packages
6293 invocation.
6294 (package-menu--new-package-list): New var.
6295 (package-menu--generate, package-menu--print-info)
6296 (package-menu--status-predicate, package-menu-mark-install):
6297 Handle new status label "new".
6298
ad4d226c
SM
62992012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
6300
6301 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
6302 conversion to backquotes.
6303
f1a4e679
CY
63042012-06-12 Chong Yidong <cyd@gnu.org>
6305
6306 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
6307 Rename from gud-inhibit-global-bindings.
6308
6309 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
6310
6311 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
6312 hook from nxml-glyph-set-hook.
6313
6314 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
6315 declaration.
6316
6317 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
6318
6319 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
6320 Convert to defcustom.
6321
0c9e42b5
DA
63222012-06-12 Drew Adams <drew.adams@oracle.com>
6323
6324 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
6325 New functions.
6326 (help-mode): Use them.
6327
09e06855
GM
63282012-06-11 Glenn Morris <rgm@gnu.org>
6329
6330 * progmodes/fortran.el (fortran-font-lock-keywords-3):
6331 Use preprocessor face for directives.
6332 (fortran-directive-re): Doc fix.
6333
71adb94b
SM
63342012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6335
2eb87922
SM
6336 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
6337 conversion to backquotes (bug#11652).
6338
71adb94b
SM
6339 Fix compiler-expansion of CL's cXXr functions (bug#11673).
6340 * emacs-lisp/cl-lib.el (cl--defalias): New function.
6341 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
6342 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
6343 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
6344 (cl-ninth, cl-tenth): Mark them as inlinable.
6345 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
6346 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
6347 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
6348 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
6349 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
6350 (cl-list*, cl-adjoin): Don't put an autoload manually.
6351 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
6352 (cl--compiler-macro-list*): Add autoload cookie.
6353 (cl--compiler-macro-cXXr): New function.
2eb87922 6354
71adb94b
SM
6355 * help-fns.el (help-fns--compiler-macro): New function extracted from
6356 describe-function-1; follow aliases and use `compiler-macro' property.
6357 (describe-function-1): Use it.
6358
a6674402
CY
63592012-06-11 Chong Yidong <cyd@gnu.org>
6360
6361 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
6362 is uninstalled, if imagemagick is installed.
6363
bb3faf5b
SM
63642012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6365
6366 * emacs-lisp/cl-lib.el: Use lexical-binding.
6367 (cl-map-extents, cl-maclisp-member): Remove.
6368 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
6369 (cl--set-substring, cl--block-wrapper, cl--block-throw)
6370 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
6371 * emacs-lisp/cl-extra.el: Use lexical-binding.
6372 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
6373 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
6374 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
6375 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
6376 * emacs-lisp/cl-seq.el: Use lexical-binding.
6377 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
6378 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
6379 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
6380 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
6381 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
6382 CL's internals.
6383
2fe4b125
MA
63842012-06-11 Michael Albinus <michael.albinus@gmx.de>
6385
6386 Sync with Tramp 2.2.6-pre.
6387
6388 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
6389 `print-length' and `print-level' to nil, in order to avoid
6390 truncation. Reported by Christopher Schmidt
6391 <christopher@ristopher.com>.
6392
6393 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
6394
6395 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
6396 New defmacro.
6397 (tramp-compat-copy-directory): Add optional argument
6398 COPY-CONTENTS. It is not handled yet.
6399
6400 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
6401 (tramp-ftp-file-name-p): Simplify.
6402
6403 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
6404 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
6405 connection vector.
6406
6407 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
6408 (tramp-methods): Do not use `tramp-password-end-of-line'.
6409 (tramp-completion-function-alist-putty): Handle UNIX case.
6410 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
6411 (tramp-do-file-attributes-with-stat)
6412 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
6413 gid as real numbers. They could run out of integer range on cygwin.
6414 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
6415 (tramp-sh-handle-expand-file-name): Handle hops.
87e6e64f
DA
6416 (tramp-open-connection-setup-interactive-shell):
6417 Use `tramp-cleanup'. Move check for busyboxes ...
6418 (tramp-find-shell): ... here. Simplify implementation.
6419 Set "remote-shell" property also for alternative shells.
6420 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
6421 If failing, a regular file would be written otherwise.
6422 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
2fe4b125
MA
6423 (tramp-find-inline-encoding): Cache the coding commands in the
6424 process cache. Apply test command on the remote side, if defined.
6425 (tramp-find-inline-compress): Cache the compress commands in the
6426 process cache.
6427 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
6428 when requested. Handle hops.
6429 (tramp-current-connection): New defvar.
87e6e64f
DA
6430 (tramp-maybe-open-connection): Use `tramp-cleanup'.
6431 Throw `suppress', if there was a failed connection shortly before.
2fe4b125 6432 Handle user interrupt. (Bug#10187)
87e6e64f
DA
6433 (tramp-get-inline-compress, tramp-get-inline-coding):
6434 Read connection properties from the process cache.
2fe4b125
MA
6435
6436 * net/tramp-smb.el (tramp-smb-server-version)
87e6e64f
DA
6437 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
6438 New defconsts.
2fe4b125
MA
6439 (tramp-smb-prompt): Extend for powershell prompt.
6440 (tramp-smb-file-name-handler-alist): Add handlers for
6441 `process-file', `shell-command' and `start-file-process'.
6442 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
6443 (tramp-smb-winexe-shell-command-switch): New defcustoms.
6444 (tramp-smb-file-name-p): Simplify.
6445 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
6446 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
6447 (tramp-smb-shell-quote-argument): New defuns.
6448 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
6449 Implement using "tar". By this, time-stamps are preserved.
6450 (tramp-smb-handle-copy-file): Handle also the case of directories.
6451 (tramp-smb-do-file-attributes-with-stat)
87e6e64f
DA
6452 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
6453 Use `tramp-get-connection-buffer').
2fe4b125
MA
6454 (tramp-smb-handle-rename-file): Use "rename", when source and
6455 target are on the same share.
87e6e64f
DA
6456 (tramp-smb-maybe-open-connection): Handle wrong passwords.
6457 Use `tramp-smb-server-version'.
2fe4b125
MA
6458 (tramp-smb-wait-for-output): Remove prompt.
6459
6460 * net/tramp.el (top): Require 'cl.
87e6e64f
DA
6461 (tramp-methods, tramp-rsh-end-of-line):
6462 Remove `tramp-password-end-of-line' from docstring.
2fe4b125
MA
6463 (tramp-save-ad-hoc-proxies): New defcustom.
6464 (tramp-completion-function-alist): Adapt docstring.
6465 (tramp-default-password-end-of-line): Remove defcustom.
6466 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
6467 (tramp-user-regexp, tramp-file-name-regexp-unified)
6468 (tramp-file-name-regexp-url): Extend regexp by hop separator.
6469 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
6470 (tramp-remote-file-name-spec-regexp): New defconst.
6471 (tramp-file-name-structure): Extend structure for hops.
6472 (tramp-get-method-parameter): Move up.
6473 (tramp-file-name-p, tramp-dissect-file-name)
6474 (with-parsed-tramp-file-name): Handle hops.
6475 (tramp-file-name-hop): New defun.
6476 (tramp-make-tramp-file-name): New optional arg HOP.
6477 (tramp-message-show-progress-reporter-message): New defvar.
6478 (tramp-with-progress-reporter): Use it. We cannot use
6479 `tramp-message-show-message' here, because this suppresses also
6480 error buffers.
6481 (tramp-error-with-buffer): Suppress buffer view, if
87e6e64f
DA
6482 `tramp-message-show-message' is nil.
6483 Use `tramp-get-connection-buffer'.
2fe4b125
MA
6484 (tramp-cleanup): New defun.
6485 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
6486 (tramp-file-name-handler): If `debug-on-error' is set, propagate
6487 an error unchanged.
6488 (tramp-completion-handle-file-name-all-completions): Handle hops.
6489 Fix an error when called from ido.
6490 (tramp-completion-dissect-file-name): Use better local variable
6491 name. Add hop to the vector.
6492 (tramp-handle-insert-file-contents): Use progress-reporter for the
6493 whole scenario.
6494 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
6495 to `t'.
6496 (tramp-check-for-regexp): Simplify search.
6497 (tramp-enter-password): Remove it. Move implementation ...
6498 (tramp-action-password): ... here.
6499 (tramp-mode-string-to-int, tramp-local-host-p)
6500 (tramp-make-tramp-temp-file, tramp-read-passwd)
87e6e64f
DA
6501 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
6502 Set tramp-autoload cookie.
2fe4b125
MA
6503
6504 * net/trampver.el: Update release number.
6505
65062012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6507 Michael Albinus <michael.albinus@gmx.de>
6508
6509 * net/tramp.el (tramp-set-completion-function): Fix docstring.
6510 (tramp-parse-group, tramp-parse-file)
6511 (tramp-parse-shostkeys-sknownhosts): New defuns.
6512 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
6513 (tramp-parse-shosts-group, tramp-parse-sconfig)
6514 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
6515 (tramp-parse-sknownhosts, tramp-parse-hosts)
6516 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
6517 Use them.
6518 (tramp-parse-passwd-group, tramp-parse-netrc-group)
6519 (tramp-parse-putty-group): Don't narrow.
6520 (tramp-parse-putty): Make a loop.
6521 (tramp-file-name-handler): Catch the `suppress' signal.
6522
72834e10
CY
65232012-06-11 Chong Yidong <cyd@gnu.org>
6524
6525 * image.el (imagemagick-register-types): Put the ImageMagick entry
6526 at the end of image-type-file-name-regexps.
6527
a4712e11
JB
65282012-06-11 Johan Bockgård <bojohan@gnu.org>
6529
6530 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
6531 (pcase, pcase-let*, pcase-dolist): Use them.
6532
82ad98e3
SM
65332012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6534
6535 * emacs-lisp/pcase.el (pcase--let*): New function.
6536 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
6537 (pcase--expand): Use macroexp-let².
6538
f80efb86
SM
65392012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
6540
6541 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
6542 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
6543 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
6544 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
6545 * emacs-lisp/derived.el: Use pcase instead of `cl'.
6546 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
6547
31ca4639 65482012-06-10 Glenn Morris <rgm@gnu.org>
94f0aa34 6549
31ca4639
CY
6550 * mail/rmail.el (rmail-yank-current-message): Leave point at
6551 correct position. (Bug#11660)
94f0aa34 6552
31ca4639 65532012-06-10 Chong Yidong <cyd@gnu.org>
9e1b8ec4 6554
31ca4639 6555 * allout-widgets.el: Fix code header.
9e1b8ec4 6556
31ca4639 65572012-06-10 Chong Yidong <cyd@gnu.org>
00cd0305 6558
f80efb86
SM
6559 * cus-edit.el (customize-changed-options-previous-release):
6560 Bump to 24.1.
31ca4639 6561
642b6d30
AS
65622012-06-09 Andreas Schwab <schwab@linux-m68k.org>
6563
6564 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
6565
4f5d2ba1
CY
65662012-06-09 Chong Yidong <cyd@gnu.org>
6567
6568 * ebuff-menu.el (electric-buffer-list): Preserve header line.
6569
e75852fd
MR
65702012-06-09 Martin Rudalics <rudalics@gmx.at>
6571
6572 * window.el (special-display-popup-frame): Don't use
6573 window--display-buffer (Bug#11651).
6574
1e48e282
EZ
65752012-06-09 Eli Zaretskii <eliz@gnu.org>
6576
8a26b487
EZ
6577 Fix parallel builds: make sure loaddefs.el is not being written
6578 while Lisp files are compiled.
6579 (compile): Don't depend on 'mh-autoloads'.
6580 (compile-CMD, compile-SH): Depend on 'autoloads'.
6581 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
6582
1e48e282
EZ
6583 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
6584
6175e34b
CY
65852012-06-09 Chong Yidong <cyd@gnu.org>
6586
6587 * face-remap.el (face-remap-add-relative, face-remap-set-base)
6588 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
6589 Doc fixes (Bug#11225).
6590
d9857e53
SM
65912012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
6592
6593 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
6594 a function if there's a clear indication that it has a compiler-macro.
6595 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
6596 (macro-declarations-alist): Add arglist to declaration functions.
6597 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
6598 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
6599 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
6600 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
6601 Also add autoload to find the compiler macro.
6602 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
6603 (cl--compiler-macro-member, cl--compiler-macro-assoc)
6604 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
6605 (cl--compiler-macro-get): New functions, replacing calls to
6606 cl-define-compiler-macro.
6607 (cl-typep) [compiler-macro]: Use macroexp-let².
6608
f81298f8 66092012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
ee574791
UJ
6610
6611 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
6612 string properly, fixes Bug#11473.
6613
4b56d0fe
CY
66142012-06-08 Chong Yidong <cyd@gnu.org>
6615
6616 * faces.el (set-face-attribute): Doc fix.
6617 (modify-face): Don't use :bold and :italic.
6618 (error, warning, success): Tweak definitions.
6619
6620 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
6621 (custom-modified, custom-set, custom-changed, custom-themed)
6622 (custom-saved, custom-button, custom-button-mouse)
6623 (custom-button-pressed, custom-state, custom-comment-tag)
6624 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
6625 (custom-group-subtitle): Use new-style face specs.
6626 (custom-invalid-face, custom-rogue-face, custom-modified-face)
6627 (custom-set-face, custom-changed-face, custom-saved-face)
6628 (custom-button-face, custom-button-pressed-face)
6629 (custom-documentation-face, custom-state-face)
6630 (custom-comment-face, custom-comment-tag-face)
6631 (custom-variable-tag-face, custom-variable-button-face)
6632 (custom-face-tag-face, custom-group-tag-face-1)
6633 (custom-group-tag-face): Remove obsolete face alias.
6634
6635 * epa.el (epa-validity-high, epa-validity-medium)
6636 (epa-validity-low, epa-mark, epa-field-name, epa-string)
6637 (epa-field-name, epa-field-body):
6638 * font-lock.el (font-lock-comment-face, font-lock-string-face)
6639 (font-lock-keyword-face, font-lock-builtin-face)
6640 (font-lock-function-name-face, font-lock-variable-name-face)
6641 (font-lock-type-face, font-lock-constant-face):
6642 * ido.el (ido-first-match, ido-only-match, ido-subdir)
6643 (ido-virtual, ido-indicator, ido-incomplete-regexp):
6644 * speedbar.el (speedbar-button-face, speedbar-file-face)
6645 (speedbar-directory-face, speedbar-tag-face)
6646 (speedbar-selected-face, speedbar-highlight-face)
6647 (speedbar-separator-face):
6648 * whitespace.el (whitespace-newline, whitespace-space)
6649 (whitespace-hspace, whitespace-tab, whitespace-trailing)
6650 (whitespace-line, whitespace-space-before-tab)
6651 (whitespace-space-after-tab, whitespace-indentation)
6652 (whitespace-empty):
6653 * emulation/cua-base.el (cua-global-mark):
6654 * eshell/em-prompt.el (eshell-prompt):
6655 * net/newst-plainview.el (newsticker-new-item-face)
6656 (newsticker-old-item-face, newsticker-immortal-item-face)
6657 (newsticker-obsolete-item-face, newsticker-date-face)
6658 (newsticker-statistics-face, newsticker-default-face):
6659 * net/newst-reader.el (newsticker-feed-face)
6660 (newsticker-extra-face, newsticker-enclosure-face):
6661 * net/newst-treeview.el (newsticker-treeview-face)
6662 (newsticker-treeview-new-face, newsticker-treeview-old-face)
6663 (newsticker-treeview-immortal-face)
6664 (newsticker-treeview-obsolete-face)
6665 (newsticker-treeview-selection-face):
6666 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
6667 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
6668 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
6669 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
6670 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
6671 (nxml-outline-active-indicator, nxml-outline-ellipsis):
6672 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
6673 (mpuz-text):
6674 * progmodes/vera-mode.el (vera-font-lock-number)
6675 (vera-font-lock-function, vera-font-lock-interface):
6676 * textmodes/table.el (table-cell): Use new-style face specs, and
6677 don't use the old :bold and :italic attributes.
6678
6679 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
6680 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
6681 (ebrowse-member-class, ebrowse-progress): Likewise.
6682 (ebrowse-tree-mark-face, ebrowse-root-class-face)
6683 (ebrowse-file-name-face, ebrowse-default-face)
6684 (ebrowse-member-attribute-face, ebrowse-member-class-face)
6685 (ebrowse-progress-face): Remove obsolete faces.
6686
6687 * progmodes/flymake.el (flymake-errline, flymake-warnline):
6688 Inherit from error and warning faces respectively.
6689
6690 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
6691 Likewise.
f80efb86
SM
6692 (flyspell-incorrect-face, flyspell-duplicate-face):
6693 Remove obsolete aliases.
4b56d0fe 6694
03310646
MA
66952012-06-08 Michael Albinus <michael.albinus@gmx.de>
6696
6697 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
6698 Avoid infloop.
6699
513749ee
SM
67002012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
6701
6702 * startup.el (argv, argi): Make lexically scoped.
6703 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
6704 * emacs-lisp/cl-macs.el: Use lexical-binding.
6705 Rename cl-bind-* to cl--bind-*.
6706 * files.el: Don't require `cl' since it doesn't use it.
6707 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
6708
595ef4ad
JB
67092012-06-08 Juanma Barranquero <lekktu@gmail.com>
6710
6711 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
6712 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
6713 instead of calling external sort utility.
6714 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
6715
e9f66fcb
EZ
67162012-06-08 Eli Zaretskii <eliz@gnu.org>
6717
6718 * descr-text.el (describe-char): Mention how to insert the
6719 character, if the current input method doesn't support it.
6720 See the discussion in this thread for the details:
6721 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
6722
3d10db47
SS
67232012-06-08 Sam Steingold <sds@gnu.org>
6724
6725 * bindings.el (global-map): Bind XF86Forward to next-buffer and
6726 XF86Back to previous-buffer.
6727 (minibuffer-local-map): Bind them to next-history-element and
6728 previous-history-element respectively.
6729 * help-mode.el (help-mode-map): Bind them to help-go-forward and
6730 help-go-back respectively.
6731 * info.el (Info-mode-map): Bind them to Info-history-forward and
6732 Info-history-back respectively.
6733 These are the keys next to Up on the ThinkPad keyboard.
6734
de7e2b36
SM
67352012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
6736
6737 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
6738 * emacs-lisp/cl-macs.el: Provide itself.
6739 (cl--labels-convert-cache): New var.
6740 (cl--labels-convert): New function.
6741 (cl-flet, cl-labels): New implementation with new semantics, relying on
6742 lexical-binding.
6743 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
6744 (cl-closure-vars, cl--function-convert-cache)
6745 (cl--function-convert): Move from cl-macs.el.
6746 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
6747 rename by removing the "cl-" prefix.
6748 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
6749
6fa6c4ae
SM
67502012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6751
6752 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
6753 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
6754 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
6755 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
6756 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
6757 (cl-hash-table-count): Add old compatibility aliases.
6758
6759 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
6760 Use macroexpand-all-environment instead.
6761 (cl--old-macroexpand): New var.
6762 (cl--sm-macroexpand): New function.
6763 (cl-symbol-macrolet): Use it during macro expansion.
6764 (cl--function-convert-cache): New var.
6765 (cl--function-convert): New function, extracted from
6766 cl-macroexpand-all.
6767 (cl-lexical-let): Use it.
6768
6769 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
6770 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
6771 (cl-member): Remove old alias.
6772
6773 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
6774 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
6775 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
6776 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
6777 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
6778 (cl-macroexpand-cmacs): Remove var.
6779 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
6780 Use macroexpand-all instead.
6781
4dd1c416
SM
67822012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6783
6784 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
6785 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
6786 (macroexp-copyable-p): New functions and macros.
6787 * emacs-lisp/edebug.el (edebug-unwrap):
6788 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
6789 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
6790 (pcase--let*): Remove.
6791 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
6792 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
6793 macroexp-const-p instead.
6794 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
6795
6796 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
6797 instead of "cl-" for internal definitions. Use macroexp-const-p.
6798 (cl-old-bc-file-form): Remove var.
6799 (cl-const-exprs-p): Remove fun.
6800 (cl-labels, cl-macrolet): Use backquote.
6801 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
6802 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
6803 (cl-define-setf-expander): Rename from cl-define-setf-method.
6804 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
6805
6806 * international/mule-cmds.el: Don't require CL.
6807 (view-hello-file): Don't use `letf'.
6808
ed8bd4d7
SM
68092012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6810
7287f2f3
SM
6811 * tmm.el (tmm-prompt): Use string-prefix-p.
6812 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
6813 (tmm-add-prompt): Use minibuffer-completion-help.
6814 (tmm-delete-map): Remove.
6815
ed8bd4d7
SM
6816 * subr.el (kbd): Make it its own function.
6817
7b4cdbf4
SM
68182012-06-07 Stefan Merten <smerten@oekonux.de>
6819
6820 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
6821 Silence compiler warnings. Fix versions.
ed8bd4d7 6822 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 6823 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 6824 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
6825 (rst-package-emacs-version-alist): Correct Emacs version to
6826 represent major merge with upstream.
ed8bd4d7 6827 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 6828
2b48d721
GM
68292012-06-06 Glenn Morris <rgm@gnu.org>
6830
6831 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
6832 Only print environment variables if set.
6833
fa779ab0
SM
68342012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
6835
6836 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
6837 (macroexp--cons): Rename from maybe-cons.
6838 (macroexp--accumulate): Rename from macroexp-accumulate.
6839 (macroexp--all-forms): Rename from macroexpand-all-forms.
6840 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
6841 (macroexp--expand-all): Rename from macroexpand-all-1.
6842
628299e0
SS
68432012-06-06 Sam Steingold <sds@gnu.org>
6844
6845 * calendar/calendar.el (calendar-in-read-only-buffer):
6846 Call `special-mode' to enable the standard read-only keybindings.
6847
b7bb5838
SM
68482012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
6849
6850 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
6851 with "loading" messages (bug#11635).
6852
dfb308ba
MA
68532012-06-06 Michael Albinus <michael.albinus@gmx.de>
6854
6855 * files.el (enable-remote-dir-locals): New option.
6856 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
6857
0372ee92
MA
6858 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
6859 Ensure, that the temp directory is local.
6860
6861 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
6862 `temporary-file-directory'.
6863
eed0bb91
MA
6864 * progmodes/python.el (python-send-region): Ensure, that the
6865 temporary file is created also in the remote case.
6866
7a58f64d
GM
68672012-06-06 Glenn Morris <rgm@gnu.org>
6868
f7dd4e98
GM
6869 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
6870 (vc-rcs-update-changelog): Use it.
6871
090bd7cb 6872 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
276d5f5d 6873
7a58f64d
GM
6874 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
6875 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
6876 (vc-sccs-diff): Replace use of the external vcdiff script.
6877
daed4003
GM
68782012-06-05 Glenn Morris <rgm@gnu.org>
6879
6880 * ledit.el: Move to obsolete/.
6881
48c455c7
SS
68822012-06-05 Sam Steingold <sds@gnu.org>
6883
ed9265fc 6884 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
48c455c7
SS
6885 patch (Bug#11140).
6886
57a7d507
SM
68872012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6888
090bd7cb 6889 * emacs-lisp/cust-print.el: Move to obsolete.
d32926ff 6890
53aacf21
SM
6891 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
6892 compiler-macro expansion.
6893
57a7d507
SM
6894 Add native compiler-macro support.
6895 * emacs-lisp/macroexp.el (macroexpand-all-1):
6896 Support compiler-macros directly. Properly follow aliases and apply
6897 the compiler macros more thoroughly.
6898 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
6899 macroexpand now properly follows aliases.
6900 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
6901 (cl-compiler-macroexpand): Use new prop.
6902 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
6903
6904 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
6905
51a5f9d8
MR
69062012-06-05 Martin Rudalics <rudalics@gmx.at>
6907
6908 * window.el (get-lru-window, get-mru-window, get-largest-window):
6909 New argument NOT-SELECTED to avoid picking the selected window.
6910 (window--display-buffer-1, window--display-buffer-2): Replace by
6911 new function window--display-buffer
6912 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
6913 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
6914 Use window--display-buffer.
51a5f9d8
MR
6915 (display-buffer-use-some-window): Remove temporary dedication
6916 hack by calling get-lru-window and get-largest-window with
6917 NOT-SELECTED argument non-nil. Call window--display-buffer.
6918
08f9f738
GM
69192012-06-05 Glenn Morris <rgm@gnu.org>
6920
6921 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
6922 Replace external vcdiff script.
6923
e364a2b7
SM
69242012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
6925
6926 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
6927
041df390
CY
69282012-06-04 Chong Yidong <cyd@gnu.org>
6929
e364a2b7
SM
6930 * image.el (imagemagick-types-inhibit): Revert last change.
6931 Add INFO and M.
47b36b94 6932 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 6933
7c1898a7
SM
69342012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
6935
6936 * emacs-lisp/cl-lib.el: Rename from cl.el.
6937 * emacs-lisp/cl.el: New compatibility file.
6938 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
6939 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
6940 to obey the "cl-" prefix.
6941 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
6942
0c3461de
GM
69432012-06-03 Glenn Morris <rgm@gnu.org>
6944
1e266c88
GM
6945 * emacs-lisp/authors.el (authors-aliases): Addition.
6946
0c3461de
GM
6947 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
6948 Fix :version.
6949
d8a52e15
SM
69502012-06-03 Stefan Merten <smerten@oekonux.de>
6951
6952 * textmodes/rst.el: Add comments.
6953 (rst-transition, rst-adornment): New faces.
6954 (rst-adornment-faces-alist): Make default safe to reevaluate.
6955 Fixes
6956 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
6957 Improve customization tags.
6958 (rst-define-level-faces): Clarify meaning.
6959
5205d6f6
CY
69602012-06-03 Chong Yidong <cyd@gnu.org>
6961
6962 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
6963 (compilation-mode-line-run, compilation-mode-line-exit):
6964 New faces.
5205d6f6
CY
6965 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
6966
757ee657
JD
69672012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
6968
7c1898a7
SM
6969 * progmodes/which-func.el (which-func-update-ediff-windows):
6970 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 6971
5f2c76c6
CY
69722012-06-03 Chong Yidong <cyd@gnu.org>
6973
6974 * bindings.el: Remove explicit help text from format-mode-line.
6975 It is now supplied by mode-line-default-help-echo.
6976 (mode-line-front-space, mode-line-end-spaces)
6977 (mode-line-misc-info): New variables.
6978 (mode-line-modes, mode-line-position): Move the default value to
6979 the variable definition.
6980 (mode-line-default-help-echo): New defcustom.
383f7350
CY
6981 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
6982 (mode-line-modified-help-echo): New functions.
6983 (mode-line-mule-info, mode-line-modified): Use them.
6984 (mode-line-eol-desc, propertized-buffer-identification):
6985 Consistency fixes for help text.
cbe46e5f
CY
6986 (mode-line-coding-system-map): Allow using mouse-3 to invoke
6987 set-buffer-file-coding-system (Bug#289).
6988 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 6989
f2d6a3df
SM
69902012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
6991
6992 * simple.el (execute-extended-command): Set real-this-command
6993 (bug#11506).
6994
37269466
CY
69952012-06-02 Chong Yidong <cyd@gnu.org>
6996
6997 Remove incorrect uses of "modeline" in comments, docstrings, and
6998 function/variable names (Bug#10329).
6999
7000 * cus-edit.el (mode-line):
7001 * dframe.el (dframe-mouse-hscroll):
7002 * emacs-lisp/re-builder.el:
7003 * emacs-lisp/easy-mmode.el (define-minor-mode):
7004 * frame.el (set-frame-name):
7005 * help.el (lookup-minor-mode-from-indicator):
7006 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
7007 * progmodes/cc-cmds.el (c-toggle-auto-newline)
7008 (c-toggle-hungry-state):
7009 * progmodes/antlr-mode.el (antlr-language-alist):
7010 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
7011 * progmodes/vhdl-mode.el (vhdl-mode):
7012 * progmodes/which-func.el (which-func, which-func-cleanup-function):
7013 * term/ns-win.el (ns-face-at-pos):
7014 * term/sup-mouse.el (sup-mouse-report):
7015 * textmodes/flyspell.el (flyspell-mode-line-string):
7016 * textmodes/ispell.el (ispell-highlight-face):
7017 * textmodes/reftex-global.el:
7018 * vc/vc-arch.el (vc-arch-mode-line-string):
7019 * vc/vc-cvs.el (vc-cvs-mode-line-string):
7020 * vc/vc-git.el (vc-git-mode-line-string):
7021 * vc/vc-hooks.el (vc-display-status)
7022 (vc-default-mode-line-string):
7023 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
7024
7025 * ansi-color.el (ansi-color-faces-vector): Change default faces.
7026
7027 * dired.el (dired-sort-set-mode-line): Rename from
7028 dired-sort-set-modeline. All callers changed.
7029
7030 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
7031 eshell-status-in-modeline.
7032
7033 * foldout.el (foldout-mode-line-string): Rename from
7034 foldout-modeline-string. All callers changed.
7035 (foldout-update-mode-line): Rename from foldout-update-modeline.
7036
7037 * subr.el (redraw-modeline): Make into obsolete alias.
7038
7039 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
7040 timeclock-modeline-display. Make old name an alias.
7041 (timeclock-update-mode-line): Likewise. All callers changed.
7042 (timeclock-mode-line-display): No need to check before using
7043 add-hook.
7044 (timeclock-relative, timeclock-day-over-hook)
7045 (timeclock-use-elapsed, timeclock-mode-string)
7046 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
7047
7048 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
7049 crisp-mode-modeline-string.
7050
7051 * play/solitaire.el (solitaire-build-mode-line): Rename from
7052 solitaire-build-modeline. All callers changed.
7053
7054 * play/zone.el (zone-hiding-mode-line): Rename from
7055 zone-hiding-modeline. All callers changed.
7056 (zone): Remove unusued `modeline-hidden-level' property.
7057
7058 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
7059 xscheme-modeline-initialize. All callers changed.
7060
7061 * strokes.el (strokes-lighter): Rename from
7062 strokes-modeline-string.
7063
7064 * textmodes/sgml-mode.el (html-face-tag-alist)
7065 (html-tag-face-alist): Use mode-line face instead of obsolete
7066 alias modeline.
7067
42152ee4
SM
70682012-06-02 Stefan Merten <smerten@oekonux.de>
7069
7070 * textmodes/rst.el: Always require `cl'.
4cf9b38d 7071 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 7072
95f520b5
CY
70732012-06-02 Chong Yidong <cyd@gnu.org>
7074
7075 * image.el (imagemagick-enabled-types): Rename from
7076 imagemagick-types-enable. Add many more types.
7077 (imagemagick-types-inhibit): Change default to nil.
7078 (imagemagick-filter-types): Caller changed.
7079
4a5f187a
SM
70802012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
7081
03fef3e6
SM
7082 * emacs-lisp/cl-macs.el: Use backquotes.
7083 (cl-transform-function-property): Use eval-and-compile rather than
7084 abusing `require'.
7085 (defstruct): Use declare-function instead of with-no-warnings.
7086
4a5f187a
SM
7087 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
7088 (byte-compile-output-docform): Re-add the print-circle bindings.
7089 (byte-compile-fix-header): Use #$ just because it's shorter.
7090 (byte-compile-output-file-form): Remove defun/defmacro.
7091
bd56924f
MR
70922012-06-01 Martin Rudalics <rudalics@gmx.at>
7093
7094 * simple.el (choose-completion): Remove now obsolete binding for
7095 owindow.
7096
046e38ce
MA
70972012-06-01 Michael Albinus <michael.albinus@gmx.de>
7098
7099 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
7100 in order to avoid "Stack overflow in regexp matcher".
7101
32d72c2f
GM
71022012-05-31 Glenn Morris <rgm@gnu.org>
7103
7104 * image.el: For clarity, call imagemagick-register-types at
7105 top-level, rather than relying on a custom :initialize.
7106 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
7107 (imagemagick-filter-types): New function. (Bug#7406)
7108 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
7109 If disabling support, remove elements altogether rather
7110 than using an impossible regexp.
7111 (imagemagick-types-inhibit): Give it the default init function.
7112
dd41169b
SM
71132012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
7114
4a5f187a
SM
7115 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
7116 Handle arbitrary file name lengths (Bug#11585).
dd41169b 7117
efc00ab1 71182012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
7119
7120 * desktop.el (desktop-read): Clear previous and next buffers for
7121 all windows and bury *Messages* buffer (bug#11556).
7122
500fcedc
SM
71232012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
7124
7125 Add `declare' for `defun'. Align `defmacro's with it.
7126 * emacs-lisp/easy-mmode.el (define-minor-mode)
7127 (define-globalized-minor-mode): Don't autoload the var definitions.
7128 * emacs-lisp/byte-run.el: Use lexical-binding.
7129 (defun-declarations-alist, macro-declarations-alist): New vars.
7130 (defmacro, defun): Use them.
7131 (make-obsolete, define-obsolete-function-alias)
7132 (make-obsolete-variable, define-obsolete-variable-alias):
7133 Use `declare'.
7134 (macro-declaration-function): Mark obsolete.
7135 * emacs-lisp/autoload.el: Use lexical-binding.
7136 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
7137
6e8a1786
AM
71382012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7139
7140 * textmodes/ispell.el (ispell-with-no-warnings):
7141 Define as a macro.
500fcedc
SM
7142 (ispell-kill-ispell, ispell-change-dictionary):
7143 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
7144 `interactive-p'.
7145
61b108cc
SM
71462012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
7147
7148 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
7149 (macro-declaration-function): Move var from C code.
7150 (macro-declaration-function): Define function with defalias.
7151 * emacs-lisp/macroexp.el (macroexpand-all-1):
7152 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
7153 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
7154 defun/defmacro any more.
7155 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
7156 Provide fallback for unknown arglist.
7157 (byte-compile-arglist-warn): Change calling convention.
7158 (byte-compile-output-file-form): Move print-vars binding.
7159 (byte-compile-output-docform): Simplify accordingly.
7160 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
7161 (byte-compile-defmacro-declaration): Remove.
7162 (byte-compile-file-form-defmumble): Generalize to defalias.
7163 (byte-compile-output-as-comment): Return byte-positions.
7164 Simplify callers accordingly.
7165 (byte-compile-lambda): Use `assert'.
7166 (byte-compile-defun, byte-compile-defmacro): Remove.
7167 (byte-compile-file-form-defalias):
7168 Use byte-compile-file-form-defmumble.
7169 (byte-compile-defalias-warn): Remove.
7170
6d3f7c2f
SM
71712012-05-29 Stefan Merten <smerten@oekonux.de>
7172
7173 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 7174 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
7175
7176 (rst-mode-abbrev-table): Merge definition.
7177 (rst-mode): Make sure `font-lock-defaults' is buffer local.
7178 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
7179
6dbaa1c7
UJ
71802012-05-29 Ulf Jasper <ulf.jasper@web.de>
7181
7182 * calendar/icalendar.el
7183 (icalendar-export-region): Export UID properly.
7184
d209e2fb 71852012-05-29 Leo Liu <sdl.web@gmail.com>
61b108cc
SM
7186 * calendar/icalendar.el (icalendar-import-format):
7187 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
7188 (icalendar-import-format-uid): New.
7189 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
7190 Export UID.
7191
6876a58d
SM
71922012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
7193
7194 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
7195 different alternative patterns.
7196 (pcase-codegen): Be more careful to preserve identity.
7197 (pcase--u1): Don't forget to mark vars as used.
7198
7199 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
7200 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
7201 (byte-compile-from-buffer): ...rather than here.
7202
7203 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
7204 functions from byte-compile-function-environment.
7205
46b7967e
TN
72062012-05-29 Troels Nielsen <bn.troels@gmail.com>
7207
7208 * window.el (window-deletable-p): Avoid deleting the root window
7209 of a frame with an active minibuffer.
7210
69d565e2
MR
72112012-05-29 Martin Rudalics <rudalics@gmx.at>
7212
7213 * simple.el (choose-completion): Use quit-window (Bug#11567).
7214
a149fa51
CY
72152012-05-29 Chong Yidong <cyd@gnu.org>
7216
7217 * whitespace.el (whitespace-cleanup): Fix usage of
7218 whitespace-empty-at-bob-regexp (Bug#11492).
7219
2b311310
AH
72202012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
7221
7222 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
7223 revert (Bug#11488).
7224
b9cb2387
JL
72252012-05-29 Juri Linkov <juri@jurta.org>
7226
7227 * isearch.el (isearch-mode-map): Bind `M-s _' to
7228 `isearch-toggle-symbol'. Bind `M-s c' to
7229 `isearch-toggle-case-fold'.
7230 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
7231 (isearch-forward): Add `M-s _' to the docstring.
7232 (isearch-forward-symbol, isearch-toggle-case-fold)
7233 (isearch-symbol-regexp): New functions. (Bug#11381)
7234
d5e61c1c
JL
72352012-05-29 Juri Linkov <juri@jurta.org>
7236
7237 * isearch.el (isearch-word): Add docstring. (Bug#11381)
7238 (isearch-occur, isearch-search-and-update): If `isearch-word' is
7239 a function, call it to get the regexp.
7240 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
7241 property `isearch-message-prefix' instead of the string "word ".
7242 (isearch-search-fun-default): For the case of `isearch-word',
7243 return a lambda that calls re-search-forward/re-search-backward
7244 with a regexp returned by `word-search-regexp' or by the function
7245 in `isearch-word'.
7246
8cbd80f7
JL
72472012-05-29 Juri Linkov <juri@jurta.org>
7248
7249 * isearch.el (isearch-search-fun-default): New function.
7250 (isearch-search-fun): Move default part to the new function
7251 `isearch-search-fun-default'.
7252 (isearch-search-fun-function): Set the default value to
7253 `isearch-search-fun-default'. (Bug#11381)
7254
7255 * comint.el (comint-history-isearch-end):
7256 Use `isearch-search-fun-default'.
7257 (comint-history-isearch-search): Use `isearch-search-fun-default'
7258 and remove spacial case for `isearch-word'.
7259 (comint-history-isearch-wrap): Remove spacial case for
7260 `isearch-word'.
7261
7262 * hexl.el (hexl-isearch-search-function):
7263 Use `isearch-search-fun-default'.
7264
7265 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
7266 Use `word-search-regexp' for `isearch-word'.
7267
7268 * misearch.el (multi-isearch-search-fun):
7269 Use `isearch-search-fun-default'.
7270
7271 * simple.el (minibuffer-history-isearch-search):
7272 Use `isearch-search-fun-default' and remove spacial case for
7273 `isearch-word'.
7274 (minibuffer-history-isearch-wrap): Remove spacial case for
7275 `isearch-word'.
7276
7277 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
7278 Remove spacial case for `isearch-word'.
7279 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
7280
85c8c5b6
AM
72812012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7282
7283 Decrease XEmacs incompatibilities.
7284 * textmodes/flyspell.el (flyspell-check-pre-word-p):
7285 Use `string-match'.
7286 (flyspell-delete-region-overlays): Use alternative definition for
7287 XEmacs.
7288 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
7289 (flyspell-word): Use `process-kill-without-query' if XEmacs.
7290 (flyspell-mode-on): Use `interactive-p' if XEmacs.
7291 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
7292 `define-obsolete-face-alias' under XEmacs, but old method.
7293
7294 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
7295 `with-no-warnings' definition or Emacs alias.
7296 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
7297 (ispell-word): Do not use `region-p' if XEmacs.
7298
8cab9efc
AM
72992012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7300
7301 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
7302 Check for `ispell-dictionary-base-alist' instead of full
7303 `ispell-dictionary-alist'.
7304 (ispell-init-process): Show spellchecker when starting new Ispell
7305 process.
7306
fda91268
RZ
73072012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
7308
7309 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
7310 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
7311
694ea8e3
JB
73122012-05-27 Juanma Barranquero <lekktu@gmail.com>
7313
7314 * version.el (motif-version-string, gtk-version-string)
7315 (ns-version-string): Declare.
7316
e4d4f539
JL
73172012-05-27 Juri Linkov <juri@jurta.org>
7318
7319 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
7320 after the `eval-defun-1' specialcaseing
7321 like in `edebug-eval-defun' (bug#10181).
7322
7323 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
7324 like in `eval-defun-1'.
7325
33017faf 73262012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 7327
fda91268
RZ
7328 * mail/sendmail.el (mail-yank-region):
7329 Recognize rmail-yank-current-message in addition to insert-buffer.
7330 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
7331 a *mail* buffer created through rmail-start-mail with sendmail as
7332 mail-user-agent.
7333
33017faf
GM
73342012-05-27 Chong Yidong <cyd@gnu.org>
7335
7336 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
7337 Default to 256 (Bug#11267).
7338
7339 * help.el (describe-mode): Doc fix.
7340
04188bb9
GM
73412012-05-26 Glenn Morris <rgm@gnu.org>
7342
38264cc9
GM
7343 * w32-fns.el (w32-init-info): Remove.
7344 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
7345
eb7afdad
GM
7346 * info.el (info-initialize): For self-contained NS builds, put the
7347 included info/ directory at the front. (Bug#2791)
7348
04188bb9
GM
7349 * paths.el (Info-default-directory-list): Make it a defcustom,
7350 mainly so that we can use custom-initialize-delay.
7351
a179e3f7
SM
73522012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
7353
43416392
SM
7354 * subr.el (buffer-has-markers-at): Mark obsolete.
7355
a179e3f7 7356 * subr.el (lambda): Use declare.
43416392 7357
a179e3f7
SM
7358 * emacs-lisp/lisp-mode.el (lambda):
7359 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
7360
34a008d9
AH
73612012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
7362
7363 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
7364
0a3b289f
GM
73652012-05-26 Glenn Morris <rgm@gnu.org>
7366
7367 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
7368
758c81e8
GM
73692012-05-25 Glenn Morris <rgm@gnu.org>
7370
f9f334f0
GM
7371 * paths.el: Remove no-byte-compile.
7372 * loadup.el: No need to load paths.el uncompiled.
7373
87eb79c2
GM
7374 * image.el (imagemagick-types-inhibit): Doc fix.
7375
758c81e8
GM
7376 * version.el: Remove no-byte-compile and associated formatting.
7377 * loadup.el: No need to load version.el uncompiled. AFAICS, this
7378 is ancient code from when there was an "inc-vers.el".
7379
e7e85dc0
SM
73802012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
7381
7382 * progmodes/gdb-mi.el: Minor style changes.
7383 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
7384 Turn into minor modes.
7385 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
7386 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
7387 (gdb-shell): Remove unneeded let-binding.
7388 (gdb-get-many-fields): Eliminate O(n²) behavior.
7389
f31237a4
EZ
73902012-05-25 Eli Zaretskii <eliz@gnu.org>
7391
7392 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
7393 platforms that don't link in fontset.c.
7394
bc1b21bb
JL
73952012-05-25 Juri Linkov <juri@jurta.org>
7396
7397 Use the same diff color scheme as in modern VCSes (bug#10181).
7398
7399 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
7400 to avoid confusion with `diff-added' that now uses green colors.
7401 (diff-removed): Use shades of red.
7402 (diff-added): Use shades of green.
7403 (diff-changed): Leave just the yellow color.
7404 (diff-use-changed-face): New variable.
7405 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
7406 how to highlight context diff changes.
7407 (diff-refine-change): Use shades of yellow.
7408 (diff-refine-removed): New face that uses shades of red.
7409 (diff-refine-added): New face that uses shades of green.
7410 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
7411 `diff-refine-removed' in the call to `smerge-refine-subst'
7412 depending on the value of `diff-use-changed-face'.
7413
7414 * vc/smerge-mode.el (smerge-mine): Use shades of red.
7415 (smerge-other): Use shades of green.
7416 (smerge-base): Use shades of yellow.
7417 (smerge-refined-change): Empty face.
7418 (smerge-refined-removed): New face that uses shades of red.
7419 (smerge-refined-added): New face that uses shades of green.
7420 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
7421 args `props-r' and `props-a', and use them. Doc fix.
7422 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
7423 on its value use different faces `smerge-refined-change',
7424 `smerge-refined-removed', `smerge-refined-added' in the call to
7425 `smerge-refine-subst'.
7426
7427 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
7428 Add face condition `min-colors 88' with shades of red.
7429 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
7430 `min-colors 88' with shades of green.
7431 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
7432 `min-colors 88' with shades of yellow.
7433
6df9112c
GM
74342012-05-24 Glenn Morris <rgm@gnu.org>
7435
ead5edc0
GM
7436 * paths.el (prune-directory-list, remote-shell-program): Move to...
7437 * files.el (prune-directory-list, remote-shell-program): ...here.
7438 For the latter, delay initialization, prefer ssh, just search PATH.
7439
f18b81e6
GM
7440 * paths.el (term-file-prefix): Move to faces.el (the only user).
7441 * faces.el (term-file-prefix): Move here, make it a defcustom.
7442
ee2f89a6
GM
7443 * paths.el (news-directory, news-path, news-inews-program):
7444 Move to gnus/nnspool.el.
61a583ca 7445
f8815e4c
GM
7446 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
7447
c8f3b42c
GM
7448 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
7449 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
7450 Make the latter a defcustom, with a delayed initialization.
7451
6df9112c
GM
7452 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
7453 These were deleted from Gnus itself late 2010.
7454
5dadff36
JB
74552012-05-22 Juanma Barranquero <lekktu@gmail.com>
7456
9e1701c6
JB
7457 * progmodes/which-func.el (which-func-ff-hook):
7458 Check against user-error, not error.
7459
bd7239f5 7460 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
7461 cl-specs.el, which no longer exists.
7462
3290526d
GM
74632012-05-22 Glenn Morris <rgm@gnu.org>
7464
7465 * info.el (info-emacs-bug): New command.
7466 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
7467 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
7468
ff0c3cfb
GM
74692012-05-21 Glenn Morris <rgm@gnu.org>
7470
7471 * makefile.w32-in (update-subdirs-SH):
7472 * Makefile.in (update-subdirs): Update for moved update-subdirs.
7473
5814f126
SM
74742012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
7475
a52c0aa0
SM
7476 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
7477
5814f126
SM
7478 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7479 Simplify Maven regexp, and make sure the file can't start with a space
7480 (bug#11517).
7481
b847032c
GM
74822012-05-21 Glenn Morris <rgm@gnu.org>
7483
7484 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
7485 Scrap superfluous subshells.
7486
3858bfe7
SM
74872012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
7488
7489 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
7490 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
7491
d14b0029
JB
74922012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
7493
7494 * calc/calc.el (calc-ensure-consistent-units): New variable.
7495
a52c0aa0
SM
7496 * calc/calc-units.el (math-consistent-units-p)
7497 (math-check-unit-consistency): New functions.
7498 (calc-quick-units, calc-convert-units):
7499 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
7500 is non-nil.
d14b0029
JB
7501 (calc-extract-units): Fix typo.
7502
60c4db3a
SM
75032012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
7504
77f3b62e
SM
7505 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
7506
60c4db3a
SM
7507 * textmodes/flyspell.el: Commenting style, plus code simplifications.
7508 (flyspell-default-deplacement-commands): Don't spell check after
7509 repeated window/frame switches (e.g. triggered by mouse-movement).
7510 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
7511 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
7512 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
7513 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
7514 Remove unused vars.
7515 (flyspell-get-casechars, flyspell-get-not-casechars):
7516 Simplify; Don't bother removing a ] just to add it back.
7517 * textmodes/ispell.el (ispell-program-name): Use executable-find.
7518
d209e2fb 75192012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
b1a10716
RS
7520
7521 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
7522 New functions.
bd7239f5 7523 (math-function-table): Add support for more C functions.
b1a10716 7524
3f1b25b5
AM
75252012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7526
090bd7cb
JB
7527 * textmodes/flyspell.el (flyspell-check-pre-word-p)
7528 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
7529 Protect delay handling for otherchars against empty otherchars.
3f1b25b5 7530
b581bb5c
SM
75312012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
7532
7533 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
7534 their respective macro declarations.
7535 * skeleton.el (define-skeleton):
7536 * progmodes/compile.el (define-compilation-mode):
7537 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
7538 (define-ibuffer-filter):
7539 * emacs-lisp/generic.el (define-generic-mode):
7540 * emacs-lisp/easy-mmode.el (define-minor-mode)
7541 (define-globalized-minor-mode):
7542 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
7543 * emacs-lisp/byte-run.el (defsubst):
7544 * custom.el (deftheme): Add doc-string metadata.
7545
70b8ef8f
SM
75462012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7547
7548 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
7549
b1198e17
SM
75502012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7551
9abdc45d
SM
7552 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
7553
b1198e17
SM
7554 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
7555 * emacs-lisp/cl-macs.el: Idem.
7556 * emacs-lisp/cl-specs.el: Remove.
7557
4735906a
SM
75582012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7559
7560 Minor renaming of internal CL functions and variables.
7561 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
7562 (cl--position): Rename from cl-position.
7563 (cl--delete-duplicates): Rename from cl-delete-duplicates.
7564 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
7565 (cl--random-state): Rename from *random-state*.
7566
ac348012
SM
75672012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7568
7569 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
7570 parens around the arg list (bug#11499).
7571
a0a79cde
JL
75722012-05-17 Juri Linkov <juri@jurta.org>
7573
7574 * isearch.el (word-search-regexp, word-search-backward)
7575 (word-search-forward, word-search-backward-lax)
7576 (word-search-forward-lax): Move functions from search.c
7577 (bug#10145, bug#11381).
7578
65034a51
AM
75792012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7580
090bd7cb
JB
7581 * textmodes/flyspell.el (flyspell-check-pre-word-p)
7582 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
7583 Delay for otherchars as for normal word components.
65034a51 7584
1a72a195
SM
75852012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
7586
7587 * minibuffer.el (completion--sifn-requote): Fix last change.
7588 (minibuffer-local-must-match-filename-map):
7589 Move define-obsolete-variable-alias before its var.
7590
fdb058c2
SM
75912012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
7592
c41045e6
SM
7593 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
7594
036dfb8b
SM
7595 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
7596 behavior.
7597 (completion--string-equal-p): New function.
7598 (completion--twq-all): Use it to get better assertion failure data.
7599
2473256d
SM
7600 Only handle ".." and '..' quoting in shell-mode (bug#11466).
7601 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
7602 (shell--requote-argument): New functions.
7603 (shell-completion-vars): Use them.
7604 (shell--parse-pcomplete-arguments): Rename from
7605 shell-parse-pcomplete-arguments.
7606 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
7607 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
7608 Obey comint-file-name-quote-list.
7609
fdb058c2
SM
7610 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
7611 (smie-indent-keyword): Use it.
7612
51fa99f1
SM
76132012-05-14 Stefan Merten <smerten@oekonux.de>
7614
7615 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
7616
e18afed7 76172012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
7618
7619 * net/rlogin.el (rlogin-mode-map): Fix last change.
7620
e18afed7 76212012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
7622
7623 * mail/smtpmail.el (smtpmail-send-command): Send the command and
7624 the following \r\n using a single `process-send-string', since the
7625 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 7626 with two `process-send-string's (Bug#11444).
8633b1f4 7627
e18afed7 76282012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 7629
fdb058c2
SM
7630 * shell.el (shell-parse-pcomplete-arguments):
7631 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 7632
2d21d7f6
WJ
76332012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
7634
e18afed7 7635 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
7636 (image-transform-scale, image-transform-right-angle-fudge): New vars.
7637 (image-transform-width, image-transform-fit-width): New functions.
7638 (image-transform-properties): Use them.
7639 (image-transform-check-size): New function.
7640 (image-toggle-display-image): Use it (for testing).
7641 (image-transform-set-rotation): Reduce angle mod 360.
7642 Delete obsolete comment.
7643
7102e6d0
WJ
76442012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
7645
7646 * image-mode.el: Fix scaling (bug#11399).
7647 (image-transform-resize): Doc fix.
7648 (image-transform-properties): Default scale is 1 and height should
7649 be an integer.
7650
06bc5e6e
SM
76512012-05-13 Johan Bockgård <bojohan@gnu.org>
7652
7653 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
7654 than hard-coding `car', to fix misbehavior when moving forward.
7655
0ae03b6a
CY
76562012-05-13 Chong Yidong <cyd@gnu.org>
7657
7658 * emacs-lisp/tabulated-list.el (tabulated-list-format)
7659 (tabulated-list-entries, tabulated-list-padding)
7660 (tabulated-list-sort-key): Make permanent-local.
7661
7662 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
7663 (electric-buffer-list): Put electric buffer menu
7664 command descriptions in this docstring, instead of the docstring
7665 of electric-buffer-menu-mode. Code cleanups.
7666 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
7667 Electric-buffer-menu-mode.
7668 (electric-buffer-update-highlight): Minor code cleanup.
7669
205a7391
MA
76702012-05-13 Michael Albinus <michael.albinus@gmx.de>
7671
7672 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
7673 (Bug#11447)
7674
e5bd0a28
SM
76752012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
7676
7677 Move define-obsolete-variable-alias before the var's definition.
7678 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
7679 * tooltip.el (tooltip-hook):
7680 * textmodes/reftex-toc.el (reftex-toc-map):
7681 * textmodes/reftex-sel.el (reftex-select-label-map)
7682 (reftex-select-bib-map):
7683 * textmodes/reftex-index.el (reftex-index-map)
7684 (reftex-index-phrases-map):
7685 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
7686 * progmodes/meta-mode.el (meta-mode-map):
7687 * novice.el (disabled-command-hook):
7688 * loadhist.el (unload-hook-features-list):
7689 * frame.el (blink-cursor):
7690 * files.el (find-file-not-found-hooks, write-file-hooks)
7691 (write-contents-hooks):
7692 * emulation/tpu-edt.el (GOLD-map):
7693 * emacs-lock.el (emacs-lock-from-exiting):
7694 * emacs-lisp/generic.el (generic-font-lock-defaults):
7695 * emacs-lisp/chart.el (chart-map):
7696 * dos-fns.el (register-name-alist):
7697 * dired-x.el (dired-omit-files-p):
7698 * desktop.el (desktop-enable):
7699 * cus-edit.el (custom-mode-hook):
7700 * buff-menu.el (buffer-menu-mode-hook):
7701 * bookmark.el (bookmark-read-annotation-text-func)
7702 (bookmark-exit-hooks):
7703 * allout.el (allout-mode-deactivate-hook)
7704 (allout-exposure-change-hook, allout-structure-added-hook)
7705 (allout-structure-deleted-hook, allout-structure-shifted-hook):
7706 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
7707 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
7708 comes before the corresponding variable's definition.
7709
ac59c2f6
CY
77102012-05-12 Chong Yidong <cyd@gnu.org>
7711
7712 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
7713 (Buffer-menu-mouse-select): Restore function (Bug#11459).
7714 (Buffer-menu-mode-map): Bind it.
7715 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 7716
dee6c9a3
SM
77172012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
7718
2171cea5
SM
7719 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
7720 (prolog-upper-case-string, prolog-lower-case-string)
7721 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
7722 (prolog-use-smie, prolog-smie-grammar): New vars.
7723 (prolog-smie-forward-token, prolog-smie-backward-token)
7724 (prolog-smie-rules): New funs.
7725 (prolog-comment-indent): Remove.
7726 (prolog-mode-variables): Use default comment indentation instead.
7727 Setup SMIE.
7728 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
7729 (prolog-mode): Don't call them any more.
7730 (prolog-electric-colon, prolog-electric-dash)
7731 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
7732
aa0382bd
SM
7733 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
7734
dbacb4bd
SM
7735 * minibuffer.el (completion--twq-all): Again, allow case differences.
7736
13bdd94c
SM
7737 * term.el: Move keymap initialization code to be more idiomatic.
7738 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
7739 (term-terminal-menu): Move initialization into declaration.
7740 (term-escape-char): Let the user set it in her .emacs.
7741
ff46c759
SM
7742 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
7743 Provide SMIE-based indentation (not enabled by default yet).
7744 (sh-mode-map): Don't bind electric keys.
7745 Use electric-pair-mode instead of skeleton-pair.
7746 (sh-assignment-regexp): Fit within 80 columns.
7747 (sh-indent-supported): Specify actual shell name instead of boolean.
7748 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
7749 (sh-maybe-here-document): Use it. Make obsolete.
7750 (sh-electric-here-document-mode) New minor mode.
7751 (sh-mode): Use it. Don't set sh-indent-supported-here here.
7752 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
7753 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
7754 (sh-smie-rc-grammar, sh-use-smie): New vars.
7755 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
7756 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
7757 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
7758 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
7759 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
7760 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
7761 (sh-set-shell): Use smie-setup if requested.
7762
dee6c9a3
SM
7763 * term.el (term-set-escape-char): Properly set term-escape-char.
7764 See http://stackoverflow.com/questions/10524656.
7765
9f9aa044
CY
77662012-05-10 Chong Yidong <cyd@gnu.org>
7767
7768 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
7769 Use url-generic-parse-url, and handle host names and Windows
7770 filenames properly.
7771 (ffap-url-unwrap-remote): Use url-generic-parse-url.
7772 (ffap-url-unwrap-remote): Accept list values, specifying a list of
7773 URL schemes to work on.
7774 (ffap--toggle-read-only): New function.
7775 (ffap-read-only, ffap-read-only-other-window)
7776 (ffap-read-only-other-frame): Use it.
7777 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
7778 necessary for ffap-url-unwrap-remote.
7779
836d29b3
DA
77802012-05-10 Dave Abrahams <dave@boostpro.com>
7781
7782 * cus-start.el (create-lockfiles): Add it.
7783
00fd78ed
CY
77842012-05-09 Chong Yidong <cyd@gnu.org>
7785
7786 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
7787 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
7788
666b903b 77892012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
7790
7791 * shell.el (shell-completion-vars): Fix last change (bug#11348).
7792
666b903b 77932012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
7794
7795 * ansi-color.el (ansi-color-process-output): Check for validity of
7796 comint-last-output-start before using it. This avoids a bad
7797 interaction with gdb-mi's input/output buffer.
7798
666b903b 77992012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
7800
7801 * files.el (dir-locals-read-from-file):
7802 Mention dir-locals in any error message.
7803
666b903b 78042012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
7805
7806 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
7807 package (Bug#11410).
7808
f677562b
CY
7809 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
7810 variables into description.
7811
666b903b 78122012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
7813
7814 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
7815 shell-delimiter-argument-list (bug#11348).
7816 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
7817
b499d8d0
JB
78182012-05-09 Juanma Barranquero <lekktu@gmail.com>
7819
8f6b6da8
JB
7820 * textmodes/rst.el: Silence byte-compiler warnings.
7821 (rst-re-alist, rst-reset-section-caches): Move around.
7822 (rst-re): Use `characterp', not `char-valid-p'.
7823 (font-lock-beg, font-lock-end): Declare.
7824
4824146a
JB
7825 * progmodes/idlw-shell.el (specs): Remove reference to deleted
7826 variable `idlwave-shell-activate-alt-keybindings' and simplify.
7827
b499d8d0
JB
7828 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
7829
ad89bb83
GM
78302012-05-08 Glenn Morris <rgm@gnu.org>
7831
7832 * files.el (auto-mode-alist): Treat ".make" like ".mk".
7833
8bba5a75
SM
78342012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
7835
49ed9c8e
SM
7836 * vc/log-edit.el: Add GNU coding standards highlighting.
7837 (log-edit-font-lock-gnu-style)
7838 (log-edit-font-lock-gnu-keywords): New vars.
7839 (log-edit-font-lock-keywords): New fun.
7840 (log-edit-mode): Don't fold case in font-lock.
7841 (log-edit-font-lock-keywords): Do not assume case-folding.
7842
07d00b56
SM
7843 * imenu.el: Misc cleanup. Make docstrings out of comments.
7844 Use lexical-binding.
7845 (imenu--index-alist, imenu--last-menubar-index-alist)
7846 (imenu-menubar-modified-tick): Use defvar-local.
7847 (imenu--split-menu): Remove unused var.
7848 (imenu--cleanup-seen): Declare as global.
7849 (imenu--cleanup): Use dolist.
7850
8bba5a75
SM
7851 * subr.el (defvar-local): Add debug spec and doc-string position.
7852
5075bdb5
GM
78532012-05-08 Glenn Morris <rgm@gnu.org>
7854
090bd7cb 7855 * language/burmese.el, language/cham.el, language/czech.el:
c052c904
GM
7856 * language/english.el, language/georgian.el, language/greek.el:
7857 * language/japanese.el, language/khmer.el, language/korean.el:
7858 * language/lao.el, language/misc-lang.el, language/romanian.el:
7859 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
7860 * language/thai.el, language/utf-8-lang.el:
7861 Remove no-byte-compile setting.
7862
5075bdb5
GM
7863 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
7864
06f679a7
AH
78652012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
7866
7867 * progmodes/make-mode.el (makefile-browse):
7868 Remove unnecessary interactive. (Bug#11324)
7869
03794570
GM
78702012-05-07 Glenn Morris <rgm@gnu.org>
7871
af8630f4
GM
7872 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
7873
03794570
GM
7874 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
7875
f0809a9d
SM
78762012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
7877
28be5ce7
SM
7878 * loadup.el: Preload newcomment.el.
7879 * newcomment.el: Move autoload-only code to toplevel.
7880
f0809a9d
SM
7881 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
7882 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
7883 Handle new :right-align column property.
7884 (tabulated-list-print-col): Idem, plus use `display' text-property to
7885 try and preserve alignment for variable pitch fonts.
7886
1241b724
CY
78872012-05-07 Chong Yidong <cyd@gnu.org>
7888
7889 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
7890 (tabulated-list-use-header-line): New var.
7891 (tabulated-list-init-header): Use it.
7892 (tabulated-list-print-fake-header): New function.
7893 (tabulated-list-print): Use it.
7894 (tabulated-list-sort-button-map): Add non-header-line commands.
7895 (tabulated-list-init-header): Add column name property to basic
7896 labels as well.
7897 (tabulated-list-col-sort): Handle non-header-line button case.
7898 (tabulated-list--sort-by-column-name): Fix a corner case.
7899
f0809a9d
SM
7900 * buff-menu.el (list-buffers--refresh):
7901 Handle Buffer-menu-use-header-line.
1241b724 7902
e5f9458f
CY
79032012-05-06 Chong Yidong <cyd@gnu.org>
7904
7905 * buff-menu.el: Convert to Tabulated List mode.
7906 (Buffer-menu-buffer+size-width): Make obsolete.
7907 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
7908 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
7909 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
7910 documentation into docstring of buffer-menu.
7911 (Buffer-menu-toggle-files-only): Add an informative message.
7912 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
7913 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
7914 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
7915 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
7916 (Buffer-menu-execute, Buffer-menu-select)
7917 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
7918 (Buffer-menu-bury): Use Tabulated List machinery.
7919 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
7920 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 7921 Delete.
e5f9458f
CY
7922 (list-buffers--refresh): New function.
7923 (list-buffers-noselect): Use it.
7924 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
7925 (Buffer-menu--pretty-file-name): New helper functions.
7926
7927 * loadup.el: Preload tabulated-list.
7928
7929 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
7930 tabulated-list-sort-column.
7931 (tabulated-list-init-header): Add the initial aligning space even
7932 if tabulated-list-padding is zero.
7933
e129292c
CS
79342012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
7935
7936 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
7937 whose cdr is not a cons cell correctly (bug#11038).
7938
6632d361
CY
79392012-05-06 Chong Yidong <cyd@gnu.org>
7940
e129292c
CS
7941 * emacs-lisp/tabulated-list.el (tabulated-list-format):
7942 Accept additional plist in column descriptors.
6632d361
CY
7943 (tabulated-list-init-header): Obey it.
7944 (tabulated-list-get-entry): New function.
7945 (tabulated-list-put-tag): Use it. Use string-width instead of
7946 length.
7947 (tabulated-list--column-number): New function.
7948 (tabulated-list-print): Use it.
e129292c
CS
7949 (tabulated-list-print-col): New function.
7950 Set `tabulated-list-column-name' property on each column's text.
6632d361 7951 (tabulated-list-print-entry): Use it.
e129292c
CS
7952 (tabulated-list-delete-entry, tabulated-list-set-col):
7953 New functions.
6632d361
CY
7954 (tabulated-list-sort-column): New command (Bug#11337).
7955
3cc99f68
CY
7956 * buff-menu.el (list-buffers): Move C-x C-b binding from
7957 buff-menu.el to bindings.el.
7958
7959 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
7960 :advertised-binding feature.
7961
52b61776
TN
79622012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
7963
7964 * progmodes/compile.el (compilation-internal-error-properties):
7965 Calculate start position correctly when end-col is set but
7966 end-line is not (Bug#11382).
7967
ebfe2597
WJ
79682012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
7969
7970 * man.el (Man-unindent): Use text-property-default-nonsticky to
7971 prevent untabify from inheriting face properties (Bug#11408).
7972
6d3f7c2f
SM
79732012-05-05 Stefan Merten <smerten@oekonux.de>
7974
7975 * textmodes/rst.el: Major merge with upstream development up to
7976 Docutils SVN r7399 / rst.el V1.2.1.
7977
7978 Clarify maintainership and authors.
7979
7980 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
7981 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
7982 (rst-official-version, rst-official-cvs-rev, rst-version)
7983 (rst-package-emacs-version-alist): New functions and variables
7984 for version information.
7985
7986 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
7987 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
7988 (rst-mode-syntax-table, rst-mode): New and corrected functions
7989 and variables representing reStructuredText features.
7990
7991 (rst-re): New function for reStructuredText regexes. Use in
7992 many places.
7993
7994 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
7995 (rst-mode-map): Rebind keys.
7996
7997 (rst-mode-lazy, rst-font-lock-keywords)
7998 (rst-font-lock-extend-region)
7999 (rst-font-lock-extend-region-internal)
8000 (rst-font-lock-extend-region-extend)
8001 (rst-font-lock-find-unindented-line-limit)
8002 (rst-font-lock-find-unindented-line-match)
8003 (rst-adornment-level, rst-font-lock-adornment-level)
8004 (rst-font-lock-adornment-match)
8005 (rst-font-lock-handle-adornment-pre-match-form)
8006 (rst-font-lock-handle-adornment-matcher): Major revision of
8007 font-locking. Integrate with other code. Use `jit-lock-mode'.
8008
8009 (rst-preferred-adornments, rst-adjust-hook)
8010 (rst-new-adornment-down, rst-preferred-bullets)
8011 (rst-preferred-bullets, rst-indent, rst-indent-width)
8012 (rst-indent-field, rst-indent-literal-normal)
8013 (rst-indent-literal-minimized, rst-indent-comment): Change,
8014 extend and improve customization.
8015
8016 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
8017 (rst-normalize-cursor-position, rst-get-decoration)
8018 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
8019 (rst-rstrip, rst-toc-insert-find-delete-contents)
8020 (rst-shift-fill-region, rst-compute-bullet-tabs)
8021 (rst-debug-print-tabs, rst-debug-mark-found)
8022 (rst-shift-region-guts, rst-shift-region-right)
8023 (rst-shift-region-left, rst-use-char-classes)
8024 (rst-font-lock-keywords-function)
8025 (rst-font-lock-indentation-point)
8026 (rst-font-lock-find-unindented-line-begin)
8027 (rst-font-lock-find-unindented-line-end)
8028 (rst-font-lock-find-unindented-line)
8029 (rst-font-lock-adornment-point, rst-font-lock-level)
8030 (rst-adornment-level-alist): Remove functions and variables.
8031
8032 (rst-compare-adornments, rst-get-adornment-match)
8033 (rst-suggest-new-adornment, rst-get-adornments-around)
8034 (rst-adornment-complete-p, rst-get-next-adornment)
8035 (rst-adjust-adornment, rst-display-adornments-hierarchy)
8036 (rst-straighten-adornments): Standardize function names to
8037 use "adornment" instead of "decoration". Correct callers.
8038 Similar standardizing in many places.
8039
8040 (rst-update-section, rst-adjust, rst-promote-region)
8041 (rst-enumerate-region, rst-bullet-list-region)
8042 (rst-repeat-last-character): Correct use of `interactive'.
8043
8044 (rst-classify-adornment, rst-find-all-adornments)
8045 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
8046 (rst-find-leftmost-column, rst-repeat-last-character):
8047 Refactor functions.
8048
8049 (rst-find-title-line, rst-reset-section-caches)
8050 (rst-get-adornments-around, rst-adjust-adornment-work)
8051 (rst-arabic-to-roman, rst-roman-to-arabic)
8052 (rst-insert-list-pos, rst-insert-list-new-item)
8053 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
8054 New functions.
8055
8056 (rst-all-sections, rst-section-hierarchy)
8057 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
8058 New variables.
8059
8060 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
8061 configuration instead of only buffer. Change where necessary.
8062
8063 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
8064 (rst-shift-region, rst-adaptive-fill): New functions for
8065 indentation and filling.
8066
8067 (rst-comment-line-break, rst-comment-indent)
8068 (rst-comment-insert-comment, rst-comment-region)
8069 (rst-uncomment-region): New functions for handling comments.
8070
8071 (rst-compile): Quote shell arguments.
8072
8073 (rst-compile-pdf-preview, rst-compile-slides-preview):
8074 Delete temporary files after use.
8075
a43f98b3
GM
80762012-05-05 Glenn Morris <rgm@gnu.org>
8077
48176e8b
GM
8078 * calendar/cal-html.el: Optionally include holidays in the output.
8079 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
8080 (cal-html-holidays): New option.
8081 (cal-html-css-default): Add holiday entry.
8082 (holiday-in-range): Autoload it.
8083 (cal-html-htmlify-entry): Add optional class argument.
8084 (cal-html-htmlify-list): Add optional holidays argument.
8085 (cal-html-insert-agenda-days): Include holidays in the output.
8086 (cal-html-one-month): Maybe include holidays.
8087
a43f98b3
GM
8088 * calendar/holidays.el (holiday-in-range):
8089 Move here from cal-tex-list-holidays.
8090 * calendar/cal-tex.el (cal-tex-list-holidays):
8091 Make it an obsolete alias for holiday-in-range. Update all callers.
8092
fef9d149 80932012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
8094
8095 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
8096 Nextstep.
8097
248da2f4
RW
80982012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
8099
8100 * files.el (file-auto-mode-skip): New var.
8101 (set-auto-mode-1): Use it.
8102
f95e9344
SM
81032012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
8104
df96ab1e
SM
8105 * repeat.el: Use lexical-binding.
8106 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
8107 (repeat-undo-count): Remove.
8108 (repeat):
8109 * progmodes/octave-mod.el (octave-abbrev-start):
8110 * progmodes/f90.el (f90-abbrev-start):
8111 * face-remap.el (text-scale-adjust):
8112 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
8113
5342bb06
SM
8114 * emacs-lisp/pcase.el (pcase--let*): New function.
8115 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
8116 a bit more.
8117 (pcase--split-pred): Be more clever about ruling out overlap between
8118 a predicate and some constant pattern.
8119 (pcase--q1): Use `null' instead of (eq foo nil).
8120
f95e9344
SM
8121 * subr.el (setq-local, defvar-local): New macros.
8122 (kbd): Redefine as an alias.
8123 (with-selected-window): Leave unrelated frames alone.
8124 (set-temporary-overlay-map): New function.
8125
71873e2b
SM
81262012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
8127
8128 * subr.el (user-error): New function.
8129 * window.el (switch-to-buffer):
8130 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
8131 (smerge-match-conflict):
8132 * simple.el (previous-matching-history-element)
8133 (next-matching-history-element, goto-history-element, undo-more)
8134 (undo-start):
8135 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
8136 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
8137 (next-file, tags-loop-scan, list-tags, complete-tag):
8138 * progmodes/compile.el (compilation-loop):
8139 * mouse.el (mouse-minibuffer-check):
8140 * man.el (Man-bgproc-sentinel, Man-goto-page):
8141 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
8142 (Info-history-forward, Info-follow-reference, Info-menu)
8143 (Info-extract-menu-item, Info-extract-menu-counting)
8144 (Info-forward-node, Info-backward-node, Info-next-menu-item)
8145 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
8146 (Info-next-reference, Info-prev-reference, Info-index)
8147 (Info-index-next, Info-follow-nearest-node)
8148 (Info-copy-current-node-name):
8149 * imenu.el (imenu--make-index-alist)
8150 (imenu-default-create-index-function, imenu-add-to-menubar):
8151 * files.el (basic-save-buffer, recover-file):
8152 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
8153 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
8154 (checkdoc-message-text, checkdoc-defun):
8155 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
8156 * cus-edit.el (customize-changed-options, customize-rogue)
8157 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
8158 (custom-variable-mark-to-reset-standard)
8159 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
8160 (custom-file):
8161 * completion.el (check-completion-length):
8162 * comint.el (comint-search-arg)
8163 (comint-previous-matching-input-string-position)
8164 (comint-previous-matching-input)
8165 (comint-replace-by-expanded-history-before-point, comint-send-input)
8166 (comint-copy-old-input, comint-backward-matching-input)
8167 (comint-goto-process-mark, comint-set-process-mark):
8168 * calendar/calendar.el (calendar-cursor-to-date): Use it.
8169 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
8170
8a61ee22
SM
81712012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
8172
66408d1e
SM
8173 * dabbrev.el (dabbrev--ignore-case-p): New function.
8174 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
8175 Use it.
8176
8a61ee22
SM
8177 * files.el (automount-dir-prefix): Mark as obsolete.
8178
3c74813a
GM
81792012-05-04 Glenn Morris <rgm@gnu.org>
8180
8181 * patcomp.el, play/bruce.el: Move to obsolete/.
8182
0bfcf5c5
PE
81832012-05-04 Paul Eggert <eggert@cs.ucla.edu>
8184
8185 Fix minor Y10k bugs.
8186 * arc-mode.el (archive-unixdate):
8187 * autoinsert.el (auto-insert-alist):
8188 * calc/calc-forms.el (math-this-year):
8189 * emacs-lisp/copyright.el (copyright-current-year)
8190 (copyright-update-year, copyright):
8191 * tar-mode.el (tar-clip-time-string):
8192 * time.el (display-time-update):
8193 Don't assume years have 4 digits.
8194
78f3273a
CY
81952012-05-04 Chong Yidong <cyd@gnu.org>
8196
8197 * dos-w32.el (file-name-buffer-file-type-alist)
8198 (direct-print-region-use-command-dot-com):
8199 * ffap.el (ffap-menu-regexp):
8200 * find-file.el (ff-special-constructs):
8201 * follow.el (follow-debug):
8202 * forms.el (forms--debug):
8203 * iswitchb.el (iswitchb-all-frames):
8204 * ido.el (ido-all-frames):
8205 * emacs-lisp/timer.el (timer-max-repeats):
8206 * mail/feedmail.el (feedmail-mail-send-hook)
8207 (feedmail-mail-send-hook-queued):
8208 * mail/footnote.el (footnote-signature-separator):
8209 * mail/mailabbrev.el (mail-alias-separator-string)
8210 (mail-abbrev-mode-regexp):
8211 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
8212 * progmodes/idlwave.el (idlwave-libinfo-file)
8213 (idlwave-default-completion-case-is-down)
8214 (idlwave-library-routines): Convert defvars to defcustoms.
8215
8216 * mail/rmail.el (rmail-decode-mime-charset):
8217 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
8218 (idlwave-shell-fix-inserted-breaks)
8219 (idlwave-shell-activate-alt-keybindings)
8220 (idlwave-shell-use-breakpoint-glyph):
8221 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
8222
f7ae6719
SM
82232012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
8224
8225 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
8226
47086495
WS
82272012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
8228
8229 * progmodes/verilog-mode.el (font-lock-keywords):
8230 Fix mis-highligting auto. Reported by Craig Barner.
8231 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
fc0c31f8 8232 defines from global name space. Reported by Dan Dever.
47086495
WS
8233 (verilog-auto-reset, verilog-auto-reset-widths)
8234 (verilog-auto-tieoff): Support using unbased numbers for
8235 AUTORESET and AUTOTIEOFF.
8236 (verilog-submit-bug-report): Update variable list.
8237 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
fc0c31f8 8238 parenthesis from not matching. Reported by Michael Rytting.
47086495
WS
8239 (verilog-auto-template-lint): Fix hash error when linting modules
8240 with no used templates.
8241 (verilog-warn, verilog-warn-error)
8242 (verilog-warn-fatal): When non-interactive report multiple
8243 warnings before exiting. Suggested by Brad Dobbie.
8244 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
8245 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
8246 to report unused template errors. Reported by Brad Dobbie.
8247 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
fc0c31f8 8248 nets, bug438. Reported by Vns Blore.
47086495
WS
8249 (verilog-auto-inout-module, verilog-auto-reg)
8250 (verilog-read-decls, verilog-read-sub-decls-sig)
8251 (verilog-signals-edit-wire-reg, verilog-signals-with):
8252 Fix passing of Verilog data types in ANSI input/output ports
fc0c31f8 8253 such as "output logic" into the AUTOs. Special case "wire" and
47086495
WS
8254 "reg" for backwards compatibility presuming Verilog 2001.
8255 (verilog-auto-ascii-enum): Add "auto enum" as alias.
8256 (verilog-preprocess): Fix replication of preprocess output.
8257 Reported by Brad Dobbie.
8258 (verilog-auto-inst-interfaced-ports):
8259 Create verilog-auto-inst-interfaced-ports, bug429.
8260 Reported by Julian Gorfajn.
8261 (verilog-after-save-font-hook)
8262 (verilog-before-save-font-hook): New variable.
8263 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
8264 (verilog-save-font-mods): Wrap disabling fontification, reported
8265 by David Rogoff.
8266 (verilog-do-indent, verilog-pretty-declarations-auto)
8267 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
8268 Reported by Pierre-David Pfister.
8269 (verilog-set-auto-endcomments): Fix endtask auto comments outside
8270 of class declarations, bug292. Reported by Kevin Heilman.
8271 (verilog-read-decls): Fix 'parameter type' not appearing in
8272 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
8273 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
fc0c31f8 8274 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
47086495
WS
8275 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
8276 Reported by David Kravitz.
8277
82782012-05-03 Michael McNamara <mac@mail.brushroad.com>
8279
8280 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
8281 assignment with tests in ifs and for loops.
8282 (verilog-extended-complete-re, verilog-complete-reg): Change so
8283 that DPI inport functions don't look like fuction declarations.
8284 (verilog-pretty-expr): Don't line up assignment
8285 operations to the test and increment in if and for loops
8286 (verilog-extended-complete-re, verilog-complete-reg): Change so
090bd7cb 8287 that DPI inport functions don't look like fuction declarations.
47086495 8288
2e51d4b5
KH
82892012-05-03 Kenichi Handa <handa@m17n.org>
8290
8291 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 8292 decoding, and show a warning message without signaling an error
2e51d4b5
KH
8293 (Bug#11282).
8294
2bd785a2
SM
82952012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
8296
8297 * emacs-lisp/bytecomp.el
8298 (byte-compile-file-form-custom-declare-variable): Compile all elements,
8299 since cconv.el might have introduced :fun-body, internal-make-closure,
8300 and friends for bytecomp to handle (bug#11391).
8301 * custom.el (defcustom): Avoid ((λ ..) ..).
8302
99d27583
SM
83032012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
8304
8305 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
8306
55a71479
JB
83072012-05-02 Juanma Barranquero <lekktu@gmail.com>
8308
8309 * notifications.el (dbus-debug):
8310 * term/linux.el (gpm-mouse-enable):
8311 * term/screen.el (xterm-register-default-colors): Declare.
8312
7b97c764
CY
83132012-05-02 Chong Yidong <cyd@gnu.org>
8314
2bc356d7
CY
8315 * cus-start.el (gc-cons-percentage, exec-suffixes)
8316 (dos-display-scancodes, dos-hyper-key, dos-super-key)
8317 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
8318 (make-cursor-line-fully-visible, void-text-area-pointer)
8319 (font-list-limit): Add customization data.
8320
7b97c764
CY
8321 * allout.el (allout-exposure-change-functions)
8322 (allout-structure-added-functions)
8323 (allout-structure-deleted-functions)
8324 (allout-structure-shifted-functions): Rename abnormal hooks from
8325 *-hook, and convert to defcustoms.
5d3385a0
JB
8326 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
8327 Convert to defcustoms.
7b97c764
CY
8328 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
8329
8330 * allout-widgets.el: Hook callers changed.
8331
90207a15 83322012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
8333
8334 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
8335 the yanked message in preference to the default value of
8336 buffer-file-coding-system.
8337
90207a15 83382012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 8339
5d3385a0
JB
8340 * window.el (display-buffer--action-function-custom-type):
8341 Fix entry.
d9558cad 8342
90207a15 83432012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
8344
8345 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
8346
d80ac57b
GM
83472012-05-01 Glenn Morris <rgm@gnu.org>
8348
976f7668
GM
8349 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
8350
beb83b5a
GM
8351 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
8352
d80ac57b
GM
8353 * cus-edit.el (custom-variable-documentation): Simplify with format.
8354
b593d6a9 83552012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
f1a71c6e 8356 Stefan Monnier <monnier@iro.umontreal.ca>
b593d6a9
AH
8357
8358 * simple.el (suggest-key-bindings, execute-extended-command):
8359 Move from keyboard.c.
8360
782fbf2a
CY
83612012-05-01 Chong Yidong <cyd@gnu.org>
8362
8363 * follow.el: Eliminate advice.
8364 (set-process-filter, process-filter, sit-for): Advice deleted.
8365 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
8366 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
8367 Vars deleted.
782fbf2a
CY
8368 (follow-auto): Use a :set function.
8369 (follow-mode): Rewritten. Don't advise process filters.
8370 (follow-switch-to-current-buffer-all, follow-scroll-up)
8371 (follow-scroll-down): Assume follow-mode is bound.
8372 (follow-comint-scroll-to-bottom)
8373 (follow-align-compilation-windows): New functions.
8374 (follow--window-sorter): New function.
8375 (follow-all-followers): Use it to explicitly sort windows by their
8376 positions; don't make assumptions about next-window order.
8377 (follow-windows-start-end, follow-delete-other-windows-and-split)
8378 (follow-calc-win-start): Doc fix.
8379 (follow-windows-aligned-p, follow-select-if-visible): Don't call
8380 vertical-motion unnecessarily.
8381 (follow-adjust-window): New function.
8382 (follow-post-command-hook): Use it.
8383 (follow-call-set-process-filter, follow-call-process-filter)
8384 (follow-intercept-process-output, follow-tidy-process-filter-alist)
8385 (follow-stop-intercept-process-output, follow-generic-filter):
8386 Functions deleted.
8387 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
8388 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
8389 New functions, replacing advice on scroll-bar-* commands.
87233a14 8390 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
8391
8392 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
8393 (comint-postoutput-scroll-to-bottom): Use it.
8394 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 8395
290af740
GM
83962012-05-01 Glenn Morris <rgm@gnu.org>
8397
8398 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
8399 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
8400 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
8401 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
8402 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
8403 Remove no-byte-compile setting.
8404
6eac8dc9
SM
84052012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
8406
8407 * minibuffer.el (completion-table-with-quoting): Fix compatibility
8408 all-completions code to not return a number in the last cdr.
8409
9cc7819c
LL
84102012-04-30 Leo Liu <sdl.web@gmail.com>
8411
8412 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
8413 read-only error.
8414
c93b886f
CY
84152012-04-29 Chong Yidong <cyd@gnu.org>
8416
8417 * follow.el (follow-calc-win-end): Rewrite to handle partial
8418 screen lines correctly (Bug#8390).
8419 (follow-avoid-tail-recenter): Minor cleanup.
8420
8b6c19f4
SM
84212012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
8422
8423 Avoid the obsolete `assoc' package.
8424 * speedbar.el (speedbar-refresh): Avoid adelete.
8425 (speedbar-file-lists): Simplify and avoid aput.
8426 * man.el (Man--sections, Man--refpages): New vars, replacing
8427 Man-sections-alist and Man-refpages-alist.
8428 (Man-build-section-alist, Man-build-references-alist):
8429 Use them; avoid aput.
8430 (Man--last-section, Man--last-refpage): New vars.
8431 (Man-follow-manual-reference): Use them.
8432 Use the `default' arg of completing-read.
8433 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
8434
c5bb7569
CY
84352012-04-27 Chong Yidong <cyd@gnu.org>
8436
d1d2e2e8
CY
8437 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
8438
15cd8efd
CY
8439 * startup.el (x-apply-session-resources): New function.
8440
8441 * term/ns-win.el (ns-initialize-window-system):
8442 * term/w32-win.el (w32-initialize-window-system):
8443 * term/x-win.el (x-initialize-window-system): Use it to properly
8444 set menu-bar-mode and other vars from X resources, even if the
8445 initial frame is not a window-system frame (Bug#2299).
8446
c5bb7569
CY
8447 * subr.el (read-key): Avoid running filter function when setting
8448 up temporary tool bar entries (Bug#9922).
8449
a8e7d6d7 84502012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
8451
8452 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
8453 (Bug#11344)
8454
a8e7d6d7 84552012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
8456
8457 * select.el (xselect--encode-string): New function, split from
8458 xselect-convert-to-string.
8459 (xselect-convert-to-string): Use it.
8460 (xselect-convert-to-filename, xselect-convert-to-os)
8461 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
8462 returned strings are properly encoded (Bug#11315).
8463
a8e7d6d7 84642012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
8465
8466 * simple.el (delete-active-region): Move to killing custom group.
8467
a8e7d6d7 84682012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
8469
8470 * progmodes/which-func.el (which-func-current): Quote %
8471 characters for mode-line processing.
8472
578c1d4b 84732012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
8474
8475 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
8476 reaching eob (Bug#11286).
8477
a8e7d6d7 84782012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
8479
8480 * progmodes/gdb-mi.el (gdb-control-level): New variable.
8481 (gdb): Make it buffer-local and init to zero.
8482 (gdb-control-commands-regexp): New variable.
8483 (gdb-send): Don't wrap in "-interpreter-exec console" if
8484 gdb-control-level is positive. Increment gdb-control-level
8485 whenever the command matches gdb-control-commands-regexp, and
8486 decrement it each time the command is "end". (Bug#11279)
8487
a8e7d6d7 84882012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
8489
8490 * window.el (adjust-window-trailing-edge, enlarge-window)
8491 (shrink-window, window-resize):
8492 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
8493 windows (Bug#11276).
8494
b3608390
CY
84952012-04-27 Chong Yidong <cyd@gnu.org>
8496
8497 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 8498 fix "missing prefix" warning. All callers changed.
b3608390 8499
797e6e88
SM
85002012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
8501
8502 * emacs-lisp/assoc.el: Move to obsolete/.
8503
e95a67dc
SM
85042012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
8505
657c21e4 8506 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
8507
8508 * term/ns-win.el (ns-define-service):
8509 * progmodes/pascal.el (pascal-goto-defun):
8510 * progmodes/js.el (js--read-tab):
8511 * progmodes/etags.el (tags-lazy-completion-table):
8512 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
8513 * emacs-lisp/ewoc.el (ewoc--wrap):
8514 * emacs-lisp/assoc.el (aput, adelete, amake):
8515 * doc-view.el (doc-view-convert-current-doc):
8516 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
8517
cb3e7ae0
CY
85182012-04-26 Chong Yidong <cyd@gnu.org>
8519
dce04f7f
CY
8520 * image.el (image-type-from-buffer): Only return supported image
8521 type (Bug#9045).
8522
cb3e7ae0
CY
8523 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
8524 value, for symmetry with diff-end-of-hunk.
8525 (diff-split-hunk, diff-find-source-location)
8526 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
8527 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
8528 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
8529 compute the relevant hunk or file properly (Bug#6005).
8530 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
8531
0d42eb3e
SM
85322012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
8533
8534 * vc/vc-mtn.el:
8535 * vc/vc-hg.el:
8536 * vc/vc-git.el:
8537 * vc/vc-dir.el:
8538 * vc/vc-cvs.el:
8539 * vc/vc-bzr.el:
8540 * vc/vc-arch.el:
8541 * vc/vc.el: Replace lexical-let by lexical-binding.
8542 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
8543 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
8544 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
8545
f08ae1c9
CY
85462012-04-26 Chong Yidong <cyd@gnu.org>
8547
8b71081d
CY
8548 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
8549 (diff-mode-shared-map): Bind it to / and [remap undo].
8550
f08ae1c9
CY
8551 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
8552 (ediff-window-setup-function): Use it as the default, to set up
8553 windows based on whether the current frame is graphical (Bug#2138).
8554 (ediff-choose-window-setup-function-automatically): Make obsolete.
8555
8556 * vc/ediff-init.el: Always define ediff-pixel-width/height.
8557
ef24141c
SM
85582012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
8559
cc356a5d
SM
8560 * ffap.el: Remove old code for obsolete package.
8561 (ffap-complete-as-file-p): Remove.
8562
b4ff4f1f
SM
8563 Use completion-table-with-quoting for comint and pcomplete.
8564 * comint.el (comint--unquote&requote-argument)
8565 (comint--unquote-argument, comint--requote-argument): New functions.
8566 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
8567 (comint-quote-filename): Use regexp-opt-charset.
8568 (comint--common-suffix, comint--common-quoted-suffix)
8569 (comint--table-subvert): Remove.
8570 (comint-unquote-function, comint-requote-function): New vars.
8571 (comint--complete-file-name-data): Use them with
8572 completion-table-with-quoting.
8573 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
8574 * pcomplete.el (pcomplete-arg-quote-list)
8575 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
8576 (pcomplete-unquote-argument-function): Default to non-nil.
8577 (pcomplete-unquote-argument): Simplify.
8578 (pcomplete--common-quoted-suffix): Remove.
8579 (pcomplete-requote-argument-function): New var.
8580 (pcomplete--common-suffix): New function.
8581 (pcomplete-completions-at-point): Use completion-table-with-quoting
8582 and completion-table-subvert.
8583
79c4eeb4
SM
8584 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
8585 (minibuffer--double-dollars): Preserve properties.
8586 (completion--sifn-requote): New function.
8587 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
8588
ef24141c
SM
8589 * minibuffer.el: Add support for completion of quoted/escaped data.
8590 (completion-table-with-quoting, completion-table-subvert): New funs.
8591 (completion--twq-try, completion--twq-all): New functions.
8592 (completion--nth-completion): New function.
8593 (completion-try-completion, completion-all-completions): Use it.
8594
784e7d6e
LL
85952012-04-25 Leo Liu <sdl.web@gmail.com>
8596
dd2ac746
SM
8597 * progmodes/python.el (python-pdbtrack-get-source-buffer):
8598 Use compilation-message if available to find real filename.
784e7d6e 8599
07875ee7
CY
86002012-04-25 Chong Yidong <cyd@gnu.org>
8601
8602 * vc/diff-mode.el (diff-setup-whitespace): New function.
8603 (diff-mode): Use it.
8604
8605 * vc/diff.el (diff-sentinel):
8606 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
8607 Whitespace mode variables based on diff style (Bug#8612).
8608
5055880d
LL
86092012-04-25 Leo Liu <sdl.web@gmail.com>
8610
daf75653
LL
8611 * progmodes/python.el (python-send-region): Add suffix .py to the
8612 temp file.
8613
5055880d
LL
8614 * files.el (auto-mode-alist): Use javascript-mode instead.
8615
db9b177b
AH
86162012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
8617
ef24141c 8618 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b 8619
090bd7cb 8620 * net/soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 8621 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 8622 references, see Bug#9.
ef24141c 8623 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 8624 when receiving a fault reply.
ef24141c 8625 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b 8626
090bd7cb 8627 * net/soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 8628 (soap-inspect-simple-type): New function.
db9b177b 8629
090bd7cb 8630 * net/soap-client.el (soap-simple-type): New struct.
db9b177b 8631 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
8632 (soap-decode-basic-type, soap-encode-basic-type):
8633 support unsignedInt and double basic types.
db9b177b 8634 (soap-resolve-references-for-simple-type)
ef24141c
SM
8635 (soap-parse-simple-type, soap-encode-simple-type): New function.
8636 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b 8637
090bd7cb 8638 * net/soap-client.el (soap-default-xsd-types)
ef24141c
SM
8639 (soap-default-soapenc-types): Add integer, byte and anyURI types.
8640 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
8641 the local name of "soapenc:Array".
8642 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
8643 decoding integer, byte and anyURI xsd types.
8644
1fc6097b
CY
86452012-04-25 Chong Yidong <cyd@gnu.org>
8646
8647 * cus-edit.el (custom-buffer-create-internal): Update header text.
8648
afc6df87
EZ
86492012-04-25 Eli Zaretskii <eliz@gnu.org>
8650
8651 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
8652 settings on 'system-type', not on 'window-system'. On MS-Windows,
8653 set interactive-mode on in GDB.
8654
dfbd787f
SM
86552012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
8656
8657 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
8658 (ruby-syntax-propertize-regexp): Remove.
8659 (ruby-syntax-propertize-function): Split regexp into chunks.
8660 Match following code directly.
8661
85222d44
DG
86622012-04-24 Dmitry Gutov <dgutov@yandex.ru>
8663
51a8ea2a
DG
8664 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
8665 (ruby-syntax-propertize-regexp): New function.
8666 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
8667 by a special keyword.
8668
85222d44
DG
8669 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
8670 (ruby-syntax-general-delimiters-goto-beg)
8671 (ruby-syntax-propertize-general-delimiters): New functions.
8672 (ruby-syntax-propertize-function): Use them to handle GDL.
8673 (ruby-font-lock-keywords): Move old handling of GDL...
8674 (ruby-font-lock-syntactic-keywords): .. to here.
8675 (ruby-calculate-indent): Adjust indentation for GDL.
8676
b613912b
MA
86772012-04-24 Michael Albinus <michael.albinus@gmx.de>
8678
b5380639
MA
8679 * notifications.el (top): Remove unneeded declarations.
8680 (notifications-specification-version): Change to "1.2".
e43042fe 8681 (notifications-interface, notifications-notify-method)
b613912b
MA
8682 (notifications-close-notification-method): Fix docstring.
8683 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
8684 (notifications-notify): Add :action-items, :resident and
8685 :transient hints. Change "image_data" to "image-data" and
8686 "image_path" to "image-path".
b613912b
MA
8687 (notifications-get-capabilities): New defun.
8688
257440aa
LL
86892012-04-24 Leo Liu <sdl.web@gmail.com>
8690
8691 * progmodes/python.el: Move hideshow setup to the end.
8692
b1bac16e
MR
86932012-04-24 Martin Rudalics <rudalics@gmx.at>
8694
8695 * window.el (handle-select-window): Clear echo area since this is
8696 no more done by read_char (Bug#11304).
8697
d81bd059
SM
86982012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
8699
8700 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
8701 and `/ M' to filter-derived-mode.
8702 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
8703 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
8704 (ibuffer-mark-by-mode): Use default rather than initial-input.
8705 (ibuffer-filter-by-derived-mode): Autoload and require-match.
8706
c4cf6d91
IA
87072012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
8708
8709 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
8710 (ibuffer-filter-by-derived-mode): New filter.
8711 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
8712
7511ded8
CY
87132012-04-23 Andreas Politz <politza@fh-trier.de>
8714
8715 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
8716
775c916b
CY
87172012-04-23 Chong Yidong <cyd@gnu.org>
8718
8719 * cus-edit.el (customize-apropos, customize-apropos-options):
8720 Disable matching of non-option variables (Bug#11176).
8721 (customize-option, customize-option-other-window)
8722 (customize-changed-options): Doc fix.
8723 (customize-apropos-options, customize-apropos-faces)
8724 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
8725
8726 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 8727 Fix word list splitting (Bug#11132).
46c71e23
CY
8728 (apropos-symbol, apropos-keybinding, apropos-label)
8729 (apropos-property, apropos-function-button)
8730 (apropos-variable-button, apropos-misc-button): New faces.
8731 (apropos-symbol-face, apropos-keybinding-face)
8732 (apropos-label-face, apropos-property-face, apropos-match-face):
8733 Variables removed (Bug#8396).
8734 (apropos-library-button, apropos-format-plist, apropos-print)
8735 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 8736
2df41f9c
MA
87372012-04-23 Michael Albinus <michael.albinus@gmx.de>
8738
8739 * net/xesam.el (xesam-mode-map): Use let-bound map in
8740 initialization. (Bug#11292)
8741
da00640a
AM
87422012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8743
8744 Preserve ispell session localwords when switching back to
8745 original buffer.
8746
090bd7cb
JB
8747 * textmodes/ispell.el (ispell-buffer-session-localwords):
8748 New buffer-local variable to hold buffer session localwords.
ed9265fc 8749 (ispell-kill-ispell): Add option 'clear to delete session
da00640a
AM
8750 localwords.
8751 (ispell-command-loop, ispell-change-dictionary)
8752 (ispell-buffer-local-words): Preserve session localwords when
8753 needed.
8754
090bd7cb
JB
8755 * textmodes/flyspell.el (flyspell-process-localwords)
8756 (flyspell-do-correct): Preserve session localwords when needed.
da00640a 8757
f621ccf5
AM
87582012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8759
090bd7cb
JB
8760 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
8761 using obsolete `translation-table-for-input'.
ef24141c
SM
8762 (ispell-word, ispell-process-line, ispell-complete-word):
8763 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 8764
c2d1019e
CY
87652012-04-22 Chong Yidong <cyd@gnu.org>
8766
8767 * cus-edit.el (custom-variable-menu)
8768 (custom-variable-reset-saved, custom-face-menu)
8769 (custom-face-reset-saved): If there is no saved value, make the
8770 "reset-saved" operation bring back the default (Bug#9509).
8771 (custom-face-state): Properly detect themed faces.
8772
eeddc531
CY
8773 * faces.el (face-spec-set): Stop supporting deprecated form of
8774 third arg.
8775
dcbf5805
MA
87762012-04-22 Michael Albinus <michael.albinus@gmx.de>
8777
8778 Move functions from C to Lisp. Make non-blocking method calls
8779 the default. Implement further D-Bus standard interfaces.
8780
ef24141c
SM
8781 * net/dbus.el (dbus-message-internal): Declare function.
8782 Remove unneeded function declarations.
dcbf5805
MA
8783 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
8784 (dbus-message-type-method-return, dbus-message-type-error)
8785 (dbus-message-type-signal): Declare variables. Remove local
8786 definitions.
8787 (dbus-interface-dbus, dbus-interface-peer)
8788 (dbus-interface-introspectable, dbus-interface-properties)
8789 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
8790 Adapt docstring.
8791 (dbus-interface-objectmanager): New defconst.
8792 (dbus-call-method, dbus-call-method-asynchronously)
8793 (dbus-send-signal, dbus-method-return-internal)
8794 (dbus-method-error-internal, dbus-register-service)
8795 (dbus-register-signal, dbus-register-method): New defuns, moved
8796 from dbusbind.c
8797 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
8798 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
8799 New defuns.
dcbf5805
MA
8800 (dbus-call-method-non-blocking): Make it an obsolete function.
8801 (dbus-unregister-object, dbus-unregister-service)
8802 (dbus-handle-event, dbus-register-property)
8803 (dbus-property-handler): Obey the new structure of
8804 `bus-registered-objects'.
8805 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
8806 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
8807 Use `dbus-call-method'.
8808
cf20dee0
CY
88092012-04-22 Chong Yidong <cyd@gnu.org>
8810
8811 * cus-edit.el (custom-commands, custom-reset-menu)
8812 (Custom-reset-standard): Tweak labels.
8813 (custom-reset-button-menu): Change default to t.
8814 (custom-buffer-create-internal): For the custom-reset-button-menu
8815 case, put the revert button first.
8816 (custom-group-subtitle): New face.
8817 (custom-group-value-create): Align docstring to a specific column.
8818
8819 * wid-edit.el (widget-documentation-link-add): Don't handle
8820 indentation in this function.
8821 (widget-documentation-string-indent-to): New function.
8822 (widget-documentation-string-value-create): Use it.
8823
8824 * autorevert.el (auto-revert):
8825 * epg-config.el (epg):
8826 * ibuffer.el (ibuffer):
8827 * mpc.el (mpc):
8828 * ses.el (ses):
8829 * eshell/eshell.el (eshell):
8830 * net/ange-ftp.el (ange-ftp):
8831 * progmodes/ebnf2ps.el (postscript):
8832 * progmodes/flymake.el (flymake):
8833 * progmodes/prolog.el (prolog):
8834 * progmodes/verilog-mode.el (verilog-mode):
8835 * progmodes/which-func.el (which-func):
8836 * term/xterm.el (xterm):
8837 * textmodes/picture.el (picture):
8838 * textmodes/tildify.el (tildify):
8839 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
8840 customization buffers.
8841
583e23bd
AM
88422012-04-22 Alan Mackenzie <acm@muc.de>
8843
8844 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
8845 Adding a ) can hide the resulting (..) from searches. Fix it.
8846 Bound the backward search to the position of the existing (.
8847
7dd51bf1
JB
88482012-04-21 Juanma Barranquero <lekktu@gmail.com>
8849
8850 * progmodes/verilog-mode.el (verilog-mode): Check whether
8851 which-func-modes is t before adding verilog-mode.
8852 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
8853
d64a438f
LL
88542012-04-21 Leo Liu <sdl.web@gmail.com>
8855
7dd51bf1 8856 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 8857
081e8d65
MV
88582012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
8859
8860 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
8861 filling of the last column of a table (Bug#5635).
8862 (woman-find-next-control-line): New arg, specifying an additional
8863 regexp component for the control line.
8864 (woman2-roff-buffer): Use it.
8865 (woman-break-table): New function.
8866 (woman2-TS): Use it.
8867
88682012-04-21 Chong Yidong <cyd@gnu.org>
8869
8870 * woman.el (woman-set-buffer-display-table, woman-decode-region)
8871 (woman-horizontal-escapes, woman-negative-vertical-space)
8872 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
8873 (WoMan-warn-ignored): Use ?\s instead of ?\ .
8874
ed571ccb
SM
88752012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
8876
8877 * minibuffer.el (completion-file-name-table): Complete user names.
8878
39773899
LL
88792012-04-20 Leo Liu <sdl.web@gmail.com>
8880
8881 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
8882 and pcase-let*.
8883
de6ff46d
CY
88842012-04-20 Chong Yidong <cyd@gnu.org>
8885
8886 * server.el (server-execute): Respect initial-buffer-choice if it
8887 is a string and there are no files to open (Bug#2825).
8888 (server-create-window-system-frame, server-create-tty-frame):
8889 Don't switch buffers here.
2d0e8e61
CY
8890 (server-process-filter): Only try to open a window system frame if
8891 compiled with graphical support (Bug#8314).
de6ff46d 8892
54071013
DN
88932012-04-20 Dan Nicolaescu <dann@gnu.org>
8894
8895 * battery.el (battery-echo-area-format): Display remaining time
8896 for sysfs backend too (Bug#11269).
8897 (battery-linux-sysfs): Fix conditional for the charge.
8898
f30d612a
CY
88992012-04-20 Chong Yidong <cyd@gnu.org>
8900
c07a4c0b 8901 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
8902 (gdb-inferior-io--init-proc): New function.
8903 (gdb-init-1): Use it.
8904 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
8905 responsible for allocating a new pty and hooking it to gdb when
8906 the old pty gets an EIO due to process exit.
8907 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
8908 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
8909 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
8910
2116e93c
EZ
89112012-04-20 Eli Zaretskii <eliz@gnu.org>
8912
8913 * window.el (window-min-size, window-sizable, window-min-delta)
8914 (window-max-delta, window--resizable, window-resizable)
8915 (window-total-size, window-full-height-p, window-full-width-p)
8916 (window-in-direction, window--resize-mini-window, window-resize)
8917 (window--resize-child-windows-normal)
8918 (window--resize-child-windows, window--resize-siblings)
8919 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 8920 (enlarge-window, shrink-window): Doc fixes.
2116e93c 8921
c07a4c0b 89222012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 8923
ef24141c
SM
8924 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
8925 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
8926 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
8927 pty process (Bug#11273).
8928 (gdb-update): New arg to suppress talking to the gdb process.
8929 (gdb-done-or-error): Use it.
8930 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
8931 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
8932 sentinel not being called.
8933
8934 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
8935
d02766ab
CY
8936 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
8937
c07a4c0b 89382012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
8939
8940 * net/network-stream.el (open-network-stream): Doc fix.
8941
c07a4c0b 89422012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
8943
8944 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
8945
c07a4c0b 89462012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
8947
8948 Ensure searching for keywords is case sensitive.
8949
8950 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
8951 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
8952 (c-defun-name, c-mark-function, c-cpp-define-name)
8953 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 8954 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 8955
ef24141c
SM
8956 * progmodes/cc-mode.el (c-font-lock-fontify-region):
8957 Bind case-fold-search to nil.
f0f6bc35 8958
c07a4c0b 89592012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
8960
8961 * mail/sendmail.el (mail-bury): Call return action with the right
8962 Rmail buffer (Bug#11242).
8963
9a864fa2
CY
8964 * server.el (server-process-filter): Handle corner case where both
8965 tty and nowait options are present (Bug#11102).
8966
539aa513
EZ
89672012-04-20 Eli Zaretskii <eliz@gnu.org>
8968
8969 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
8970 (top level): Put into the executable the ident-style '$Id:' tag on
8971 windows-nt as well.
539aa513 8972
cfc7d5da
SM
89732012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
8974
8975 * electric.el (electric-indent-post-self-insert-function): Check that
8976 electric-indent-mode is enabled in current buffer.
8977
5b01685c
JB
89782012-04-19 Juanma Barranquero <lekktu@gmail.com>
8979
8980 * imenu.el (imenu-progress-message): Restore; it is "used" in
8981 erc/erc-imenu.el and net/snmp-mode.el.
8982
4d6769e1
JB
89832012-04-19 Juanma Barranquero <lekktu@gmail.com>
8984
8985 * avoid.el (mouse-avoidance-mode): Mark unused arg.
8986 (mouse-avoidance-nudge-mouse): Remove unused binding.
8987
8988 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
8989
8990 * descr-text.el (describe-char):
8991 * progmodes/python.el (python-describe-symbol):
8992 Don't call `toggle-read-only', set `buffer-read-only'.
8993
8994 * imenu.el (imenu-default-goto-function): Mark unused args.
8995 (imenu-progress-message): Remove obsolete macro; all callers changed.
8996
8997 * subr.el (keymap-canonicalize): Remove unused binding.
8998 (read-passwd): Mark unused arg.
8999
9000 * tutorial.el (tutorial--display-changes): Remove unused binding.
9001 (tutorial--save-tutorial-to): Remove unused variable.
9002
9003 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
9004 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
9005 (package-generate-autoloads, package-menu--generate)
9006 (package-menu--find-upgrades): Remove unused bindings.
9007
9008 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
9009 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
9010 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
9011 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
9012 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
9013 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
9014 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
9015 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
9016 (cua-delete-char-rectangle): Mark unused args.
9017 (cua-align-rectangle): Remove unused binding.
9018
9019 * mail/rmail.el (compilation--message->loc)
9020 (epa--find-coding-system-for-mime-charset): Declare.
9021
9022 * net/dbus.el (dbus-register-service): Declare.
9023 (dbus-name-owner-changed-handler): Remove unused binding.
9024
9025 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
9026 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
9027 (nxml-scan-backward-within): Mark unused arg.
9028 (nxml-dynamic-markup-word): Remove unused binding.
9029
9030 * mouse.el (mouse-menu-major-mode-map):
9031 * emacs-lisp/authors.el (authors-scan-change-log)
9032 (authors-add-to-author-list):
9033 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
9034 * emacs-lisp/smie.el (smie-auto-fill):
9035 * mail/sendmail.el (mail-bury):
9036 * mail/unrmail.el (unrmail):
9037 * net/tls.el (open-tls-stream):
9038 * textmodes/picture.el (picture-mouse-set-point):
9039 Remove unused bindings.
9040
8c8fc5df
MA
90412012-04-19 Michael Albinus <michael.albinus@gmx.de>
9042
9043 * net/tramp.el (tramp-action-password): Let-bind
9044 `enable-recursive-minibuffers' to t.
9045
a77b0ac9
SS
90462012-04-18 Sam Steingold <sds@gnu.org>
9047
9048 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
9049 instead of 'string to accommodate values like [f11].
9050 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
9051 * progmodes/gdb-mi.el: Likewise.
9052
12a106a9
LL
90532012-04-18 Leo Liu <sdl.web@gmail.com>
9054
9055 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
9056 current buffer.
9057 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
9058 LOCAL is nil.
9059
bc6494ef
CY
90602012-04-18 Chong Yidong <cyd@gnu.org>
9061
9062 * simple.el (line-move): Use forward-line if in batch mode
9063 (Bug#11053).
9064
c09c46b2
CS
90652012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
9066
9067 * files.el (after-find-file): Do not try to add a final newline if
9068 the buffer is read-only (Bug#11156).
9069
5f6530ea
RS
90702012-04-17 Richard Stallman <rms@gnu.org>
9071
9072 * mail/rmail.el (rmail-start-mail):
9073 Pass (rmail-mail-return...) for the return-action.
9074 Pass (rmail-yank-current-message...) for the yank-action.
9075 (rmail-yank-current-message): New function.
9076 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
9077 (rmail-reply): Likewise.
9078 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
9079
9080 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 9081 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
9082 buffer, not newbuf.
9083
197b6f3c
JB
90842012-04-17 Juanma Barranquero <lekktu@gmail.com>
9085
9086 * server.el (server-ensure-safe-dir): Simplify.
9087
2311d8e5 90882012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 9089
2311d8e5
GM
9090 * emacs-lisp/smie.el: Provide smarter auto-filling.
9091 (smie-auto-fill): New function.
9092 (smie-setup): Use it.
98fb480e 9093
2311d8e5
GM
9094 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
9095
90962012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
9097
9098 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
9099 (comment-indent): Use it.
9100
2311d8e5 91012012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
9102
9103 * ses.el: The overall change is to add cell renaming, that is
9104 setting fancy names for cell symbols other than name matching
9105 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 9106 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 9107 (ses-create-cell-variable): New defun.
2311d8e5 9108 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
9109 (ses-relocate-formula): Relocate formulas only for cells the
9110 symbols of which are not renamed, i.e. symbols whose names do not
9111 match regexp "\\`[A-Z]+[0-9]+\\'".
9112 (ses-relocate-all): Relocate values only for cells the symbols of
9113 which are not renamed.
9114 (ses-load): Create cells variables as the (ses-cell ...) are read,
9115 in order to check row col consistency with cell symbol name only
9116 for cells that are not renamed.
9117 (ses-replace-name-in-formula): New defun.
9118 (ses-rename-cell): New defun.
4bdf2ad2 9119
fc72b15c
PO
91202012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
9121
9122 * progmodes/perl-mode.el (perl-indent-parens-as-block):
9123 New option (bug#11118).
9124 (perl-calculate-indent): Respect it.
9125
12e10e61
GM
91262012-04-17 Glenn Morris <rgm@gnu.org>
9127
9128 * dired-aux.el (dired-mark-read-string): Doc fix.
9129
30009afd
DA
91302012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
9131
9132 * dired-aux.el (dired-mark-read-string): Offer optional completion.
9133 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
9134
41f03f4d
GM
91352012-04-17 Glenn Morris <rgm@gnu.org>
9136
9137 * mouse.el (mouse-drag-track):
9138 * speedbar.el (speedbar-frame-mode):
9139 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
9140
f45f90f3
LL
91412012-04-16 Leo Liu <sdl.web@gmail.com>
9142
9143 * progmodes/python.el: Trivial cleanup.
9144
94ee8db5
GM
91452012-04-16 Glenn Morris <rgm@gnu.org>
9146
121b8917
GM
9147 * vc/vc.el (vc-string-prefix-p):
9148 * vc/pcvs-util.el (cvs-string-prefix-p):
9149 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
9150 * mpc.el (mpc-string-prefix-p):
9151 Make all of these into obsolete aliases for string-prefix-p.
9152 Update callers.
9153 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
9154
1197ecfa
GM
9155 * textmodes/two-column.el: Move custom options to the start.
9156 (frame-width): Remove compat definition.
9157 (2C-associate-buffer, 2C-dissociate):
9158 Use with-current-buffer rather than save-excursion.
9159 (2C-dissociate): Force a mode-line update.
9160 (2C-autoscroll): Use ignore-errors.
9161
099e7202
GM
9162 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
9163 Autoload trivia.
9164
bf350d6a
GM
9165 * emacs-lisp/cl-extra.el (*random-state*):
9166 Remove unnecessary declaration.
9167
0e829eab
GM
9168 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
9169
e3ad7552
GM
9170 * play/cookie1.el (cookie-snarf):
9171 Give an explicit error if input file cannot be read.
9172
68892d27
GM
9173 * play/yow.el (yow-file): Use expand-file-name rather than concat.
9174
20f0c46d
GM
9175 * progmodes/perl-mode.el (c-macro-expand):
9176 Remove unnecessary autoload (it is in loaddefs.el).
9177
5a0978ce
GM
9178 * textmodes/picture.el (picture-desired-column)
9179 (picture-update-desired-column): Convert comments to doc-strings.
9180 (picture-substitute): Remove function.
9181 (picture-mode-map): Initialize in the defvar.
9182
6b955486
GM
9183 * woman.el: Remove eval-after-load for tar-mode.
9184 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
9185 (woman-tar-extract-file): Autoload it.
9186
94ee8db5
GM
9187 * frame.el (automatic-hscrolling): Make this alias obsolete.
9188
177eca34
AM
91892012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9190
090bd7cb 9191 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 9192 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
9193 (ispell-dictionary-base-alist): Revert to original XEmacs
9194 friendly version for default. [:alpha:] will be added in
090bd7cb 9195 `ispell-set-spellchecker-params' if needed.
177eca34 9196
c505aaeb
CY
91972012-04-16 Chong Yidong <cyd@gnu.org>
9198
b19dd9d1 9199 * image.el (imagemagick--file-regexp): New variable.
c505aaeb
CY
9200 (imagemagick-register-types): Use it.
9201 (imagemagick-types-inhibit): Add :set function. Allow new value
9202 of t to inhibit all types.
9203
9204 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
9205 so we can preload it.
9206
9207 * loadup.el (fboundp): Preload regexp-opt, needed by
9208 imagemagick-register-types.
9209
60efac0f
CY
92102012-04-15 Chong Yidong <cyd@gnu.org>
9211
9212 * frame.el (scrolling): Remove nearly unused customization group.
9213
9214 * scroll-all.el (scroll-all-mode): Move to windows group.
9215
5dd1713e
CY
92162012-04-15 Chong Yidong <cyd@gnu.org>
9217
9218 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
9219
e6fd457e
CY
92202012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
9221
9222 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 9223 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 9224
e153c136
GM
92252012-04-15 Glenn Morris <rgm@gnu.org>
9226
9227 * simple.el (process-file-side-effects): Doc fix.
9228
e6fd457e 92292012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
9230
9231 * international/mule-cmds.el (set-language-environment): Doc fix.
9232
3603c3b1
JB
92332012-04-14 Juanma Barranquero <lekktu@gmail.com>
9234
9235 * server.el (server-auth-key, server-generate-key): Doc fixes.
9236 (server-get-auth-key): Doc fix. Use `string-match-p'.
9237 (server-start): Reflow docstring.
9238
e6de100c
LI
92392012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
9240
9241 * server.el (server-generate-key): `called-interactively-p'
9242 requires a parameter.
9243
29734c21
MN
92442012-04-14 Michal Nazarewicz <mina86@mina86.com>
9245
9246 * server.el (server-auth-key): New variable.
75f1671a 9247 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
9248 (server-start): Use the new variable and functions to allow
9249 setting a permanent server key (bug#9423).
9250
d65c9521
LL
92512012-04-14 Leo Liu <sdl.web@gmail.com>
9252
9253 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
9254
5ae255c7
PE
92552012-04-14 Paul Eggert <eggert@cs.ucla.edu>
9256
9257 Spelling fixes.
9258 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
9259 Emacs uses American spelling.
9260
d5e6342e
JB
92612012-04-14 Juanma Barranquero <lekktu@gmail.com>
9262
9263 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
9264 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
9265 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
9266 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
9267
ab036cd7
SM
92682012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
9269
9270 * progmodes/which-func.el (which-func-modes): Change default.
9271
35dc09a1 92722012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
9273
9274 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
9275 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
9276
35dc09a1 92772012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
9278
9279 * custom.el (custom-theme-set-variables): Doc fix.
9280
35dc09a1 92812012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
9282
9283 * international/mule.el (set-auto-coding-for-load): Doc fix.
9284
35dc09a1 92852012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 9286
35dc09a1
GM
9287 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
9288 imenu work again for Objective C Mode. Correct the *-index values,
9289 these having been disturbed by a previous change in 2011-08.
57f845ee 9290
0de3da9f
AM
9291 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
9292 Correct two search limits.
9293
35dc09a1 92942012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
9295
9296 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
9297
35dc09a1 92982012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
9299
9300 * international/characters.el: Fix sorting.
9301
35dc09a1 93022012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
9303
9304 * international/characters.el: Add more missing Latin case pairs.
9305
35dc09a1 93062012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
9307
9308 * files.el (dir-locals-set-class-variables): Doc fix.
9309
35dc09a1 93102012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 9311
3f1b5bf8
EZ
9312 * international/characters.el: Add set-case-syntax-pair call for
9313 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
9314 counterpart. (Bug#11209)
9315
9f847f41
EZ
9316 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
9317
35dc09a1 93182012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
9319
9320 * calendar/holidays.el (calendar-check-holidays): Doc fix.
9321
35dc09a1 93222012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 9323
35dc09a1
GM
9324 * textmodes/ispell.el (ispell-dictionary-base-alist):
9325 Add data for Hebrew.
e2627d21 9326
35dc09a1 93272012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 9328
35dc09a1
GM
9329 * net/rcirc.el (rcirc-cmd-quit):
9330 Revert 2012-03-18 change (Bug#11192).
5c14e333 9331
35dc09a1 93322012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
9333
9334 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
9335
35dc09a1 93362012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 9337
4517fe3a
SM
9338 * minibuffer.el (completion-in-region-mode-map):
9339 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 9340
b472a594
VD
93412012-04-13 Vivek Dasmohapatra <vivek@etla.org>
9342
9343 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
9344
09b95ce3
MY
93452012-04-13 Masatake YAMATO <yamato@redhat.com>
9346
9347 * minibuffer.el (minibuffer-local-filename-syntax): New variable
9348 to allow `C-M-f' and `C-M-b' to move to the nearest path
9349 separator (bug#9511).
9350
4b63a9ca
LI
93512012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
9352
9353 * avoid.el: Require cl when compiling. And also move the
9354 `provide' to the end.
9355
7b55b8bf
TV
93562012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9357
9358 * avoid.el (mouse-avoidance-banish-position): New variable.
9359 (mouse-avoidance-banish-destination): Use it (bug#10165).
9360
adedaa1f
LL
93612012-04-13 Leo Liu <sdl.web@gmail.com>
9362
9363 * progmodes/which-func.el (which-func-modes): Add objc-mode.
9364
70e74021
KB
93652012-04-13 Ken Brown <kbrown@cornell.edu>
9366
9367 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 9368 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
9369 (browse-url-filename-alist): For the same reason, don't modify
9370 file:// URLs on Cygwin.
9371
e75e89ba
SM
93722012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
9373
9374 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
9375 the region on shift if the binding is already shifted (bug#11221).
9376
82f289a4
GM
93772012-04-12 Glenn Morris <rgm@gnu.org>
9378
9379 * mail/mailpost.el: Move to obsolete/.
9380
d333dc4c
DA
93812012-04-12 Drew Adams <drew.adams@oracle.com>
9382
9383 * imenu.el (imenu--generic-function): Ignore invisible definitions
9384 (bug#10123).
9385
0d15b5ba
VD
93862012-04-12 Vivek Dasmohapatra <vivek@etla.org>
9387
9388 * hexl.el (hexl-bits): New variable.
9389 (hexl-options): Mention the variable in the doc string.
75f1671a 9390 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 9391 (hexl-mode): Mention the new variable.
75f1671a
JB
9392 (hexl-mode, hexl-current-address, hexl-current-address):
9393 Use the displen.
0d15b5ba
VD
9394 (hexl-ascii-start-column): New function.
9395 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
9396 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
9397
64a440db
AM
93982012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9399
9400 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
9401 '("-i" ENCODING), in 2 separate command-line arguments, to specify
9402 the encoding, as expected by hunspell.
9403
6decb6c2
SM
94042012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
9405
9406 * battery.el (battery--linux-sysfs-regexp): New const.
9407 (battery-status-function): Use it. Remove yeeloong special case.
9408 (battery-yeeloong-sysfs): Remove.
9409 (battery-echo-area-format): Remove yeeloong special case.
9410
088be6fb
SM
94112012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
9412
6622e416
SM
9413 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
9414 Reported by Noah Friedman.
9415
088be6fb
SM
9416 * subr.el (read-passwd): Use read-string.
9417
b49f886e
LMI
94182012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9419
9420 * vcursor.el (vcursor-move): Increase the priority of the overlay
9421 (bug#9663).
9422
a63067fc
DD
94232012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
9424
9425 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
9426 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
9427
ac3cf14a
WS
94282012-04-11 William Stevenson <yhvh2000@gmail.com>
9429
9430 * textmodes/artist.el (artist-mode): Convert artist-mode to use
9431 define-minor-mode (bug#10760).
9432
c4fc691b 94332012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 9434
4d6769e1 9435 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
9436 that directories matching `grep-find-ignored-files' won't be
9437 pruned (bug#10351).
9438
af23e2e5
CY
94392012-04-11 Chong Yidong <cyd@gnu.org>
9440
9441 * startup.el (command-line): Remove support for long-obsolete
9442 variable font-lock-face-attributes.
9443
ab7ce8c1
GM
94442012-04-11 Glenn Morris <rgm@gnu.org>
9445
9446 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
9447
de8c03dc
SM
94482012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
9449
9450 * window.el (window--state-get-1): Obey window-point-insertion-type.
9451
050cc68b
LB
94522012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
9453
9454 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
9455 to previous function when point is on the first character of a
75f1671a 9456 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 9457
a38c310c
GM
94582012-04-11 Glenn Morris <rgm@gnu.org>
9459
effed0c2
GM
9460 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
9461 not just file-errors.
9462
a38c310c
GM
9463 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
9464 (vc-bzr-sha1): Use internal sha1.
9465
0221e323
SM
94662012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
9467
9468 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
9469
43956923
SG
94702012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
9471
9472 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
9473 that start in the middle of the line (bug#10496).
9474
6a8c9eaf
DN
94752012-04-10 Dan Nicolaescu <dann@gnu.org>
9476
9477 * battery.el (battery-linux-proc-acpi): Only one battery is
9478 discharged at a time, but that seems to confuse battery.el when
9479 computing `rate-type' for the battery not being discharged
9480 (bug#10332).
9481
1930bf5d
SM
94822012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
9483
2a718f6f
SM
9484 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
9485
599430d0
SM
9486 * international/quail.el: Use dolist and simplify.
9487 (quail-define-package, quail-update-keyboard-layout)
9488 (quail-define-rules): Use dolist.
9489 (quail-insert-kbd-layout, quail-get-translation): CSE.
9490
a2754b6c
SM
9491 * tmm.el: Use dolist, remove left over hook.
9492 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
9493 Use dolist.
9494 (calendar-load-hook): Don't mess with it.
9495
1930bf5d
SM
9496 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
9497 Use derived-mode-p. Run the diff asynchronously.
9498
9f67961c
LMI
94992012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
9500
9501 * obsolete/mouse-sel.el: Add an Obsolete-since header.
9502
2a8ce227
JB
95032012-04-10 Juanma Barranquero <lekktu@gmail.com>
9504
9505 * misc.el: Display absolute path of loaded DLLs (bug#10424).
9506 (list-dynamic-libraries--loaded): New function.
9507 (list-dynamic-libraries--refresh): Use it.
9508
8f33b5f8
NW
95092012-04-10 Nathan Weizenbaum <nweiz@google.com>
9510
1930bf5d
SM
9511 * progmodes/python.el (python-fill-paragraph):
9512 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
9513 disabled (bug#7018).
9514
b12f0439
L
95152012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
9516
1930bf5d 9517 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
9518 DOS/MS Windows for the Baltic languages. There are still plenty
9519 of texts written in this encoding/codepage (bug#6519).
b12f0439 9520
57c3bd01
GM
95212012-04-10 Glenn Morris <rgm@gnu.org>
9522
9523 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
9524 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
9525
6c3eab30
FA
95262012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
9527
1930bf5d 9528 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
9529 next-line "n" and previous-line "p" in order to make recentf more
9530 consistent with ibuffer, dired or org-mode (bug#9387).
9531
24d78a88
LMI
95322012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
9533
bc72b5d9
LMI
9534 * image.el (put-image): Return the overlay created instead of the
9535 optional input string (bug#7834). Note that this may break code
9536 that is (for some reason or other) depending on `put-image'
9537 returning the string.
9538
bd2dba5a
LMI
9539 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
9540
74beb59f
LMI
9541 * simple.el (zap-to-char): Allow zapping using input methods
9542 (bug#1580).
9543
24d78a88
LMI
9544 * textmodes/fill.el (fill-region): Leave point and mark where they
9545 were before filling (bug#5399).
9546
263f20cd
GM
95472012-04-09 Glenn Morris <rgm@gnu.org>
9548
9549 * version.el (emacs-bzr-get-version):
9550 Handle lightweight checkouts of local branches.
9551
58d1f797
AS
95522012-04-09 Andreas Schwab <schwab@linux-m68k.org>
9553
263f20cd 9554 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 9555
b4d3bc10
CY
95562012-04-09 Chong Yidong <cyd@gnu.org>
9557
9558 * custom.el (custom-variable-p): Return nil for non-symbol
9559 arguments instead of signaling an error.
9560 (user-variable-p): Obsolete alias for custom-variable-p.
9561
9562 * apropos.el (apropos-variable):
9563 * files-x.el (read-file-local-variable):
9564 * simple.el (set-variable):
9565 * woman.el (woman-mini-help):
9566 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
9567
fd06db5d
GM
95682012-04-09 Glenn Morris <rgm@gnu.org>
9569
e5fcdb5e
GM
9570 * startup.el (normal-top-level): Don't look for leim-list.el
9571 in places where it will not be found. (Bug#910)
9572
fd06db5d
GM
9573 * international/mule-cmds.el (set-default-coding-systems):
9574 * files.el (normal-mode):
9575 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
9576 This function was removed with ucs-tables.el in 2008.
9577
b39bb7e1
EZ
95782012-04-08 Eli Zaretskii <eliz@gnu.org>
9579
9580 * textmodes/ispell.el (ispell-check-version): For hunspell, set
9581 ispell-encoding8-command to "-i", without a trailing space.
9582 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
9583 separate command-line arguments, to specify the encoding, since
9584 that's how hunspell expects it.
9585
5c5b8e23
GM
95862012-04-08 Glenn Morris <rgm@gnu.org>
9587
9588 * loadup.el: Load bindings before cus-start.
9589 This reduces somewhat the number of "rogue" settings in emacs -Q.
9590
a1ed8b05
GM
95912012-04-07 Glenn Morris <rgm@gnu.org>
9592
9593 * version.el (emacs-bzr-get-version): New function.
dfae128a 9594 (emacs-bzr-version): New variable.
a1ed8b05
GM
9595 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
9596 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
9597
b142f158
EZ
95982012-04-07 Eli Zaretskii <eliz@gnu.org>
9599
dfae128a
GM
9600 * international/uni-bidi.el, international/uni-category.el:
9601 * international/uni-combining.el, international/uni-decimal.el:
9602 * international/uni-decomposition.el, international/uni-digit.el:
9603 * international/uni-lowercase.el, international/uni-mirrored.el:
9604 * international/uni-name.el, international/uni-numeric.el:
9605 * international/uni-titlecase.el, international/uni-uppercase.el:
9606 Update for Unicode 6.1.
b142f158 9607
9078ead6
EZ
96082012-04-07 Eli Zaretskii <eliz@gnu.org>
9609
9610 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
9611
f23d2c7d
LMI
96122012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
9613
9614 * window.el (shrink-window): Mention the `window-min-height'
9615 variable in the doc string.
9616
0a0a3573
BG
96172012-04-05 Bastien Guerry <bzg@altern.org>
9618
9619 * color.el (color-lighten-name): Fix typo.
9620
e5248ac9
SM
96212012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
9622
9623 * server.el (server--on-display-p): New function.
9624 (server--on-display-p): Use it.
9625
b4243e22
GV
96262012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
9627
9628 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
9629 (bug#11145).
9630
305d9f44
SM
96312012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
9632
9633 * comint.el (comint--common-quoted-suffix): Check string boundary
9634 before comparing (bug#11158).
9635 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
9636
3d439cd1
CY
96372012-04-04 Chong Yidong <cyd@gnu.org>
9638
321cc491
CY
9639 * minibuffer.el (completion-extra-properties): Doc fix.
9640
3d439cd1
CY
9641 * subr.el (delayed-warnings-hook): Doc fix.
9642
2d562c0f
DU
96432012-04-04 Daiki Ueno <ueno@unixuser.org>
9644
9645 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
9646 selection (Bug#11159).
9647 (epa-insert-keys): Inform that the default public key will be
9648 exported if no key is selected.
9649
4443f204
RS
96502012-04-04 Richard Stallman <rms@gnu.org>
9651
9652 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
9653
529c06b6
CY
96542012-04-03 Chong Yidong <cyd@gnu.org>
9655
9656 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
9657 mail-insert-file, not its obsolete alias mail-attach-file.
9658
66b907dc
MA
96592012-04-03 Michael Albinus <michael.albinus@gmx.de>
9660
9661 * notifications.el (notifications-notify): Fix docstring.
9662
c0ea195d
GM
96632012-04-02 Glenn Morris <rgm@gnu.org>
9664
9665 * emacs-lisp/authors.el (authors-aliases): Another addition.
9666
5ca64e00
MA
96672012-04-02 Michael Albinus <michael.albinus@gmx.de>
9668
9669 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
9670 `tramp-compat-call-process' instead of `tramp-local-call-process'.
9671 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
9672
42ee526b
CY
96732012-04-01 Chong Yidong <cyd@gnu.org>
9674
9675 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
9676 Handle root directory properly.
9677 (copy-directory): Caller changed.
9678
9679 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
9680 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
9681
0b021094
GM
96822012-03-31 Glenn Morris <rgm@gnu.org>
9683
40f86458
GM
9684 * term/xterm.el (xterm-extra-capabilities): Doc fix.
9685
7019c177
GM
9686 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
9687
a1daddd6
GM
9688 * calendar/calendar.el (calendar-window-list)
9689 (calendar-hide-window): Restore. (Bug#11140)
9690 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
9691
0b021094
GM
9692 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
9693
40311efc
TV
96942012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9695
9696 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
9697 Check if file is a symlink (Bug#10489).
9698
9699 * files.el (copy-directory): Likewise.
9700
5319014e
CY
97012012-03-30 Chong Yidong <cyd@gnu.org>
9702
9703 * image.el (imagemagick-types-inhibit)
9704 (imagemagick-register-types): Doc fix.
9705
935d1290
AM
97062012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9707
090bd7cb 9708 * textmodes/ispell.el (ispell-get-extended-character-mode):
ef24141c 9709 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 9710 and treats ~word as ordinary words in pipe mode.
935d1290 9711
61c6e8fd
GM
97122012-03-30 Glenn Morris <rgm@gnu.org>
9713
9714 * tutorial.el (help-with-tutorial): Ensure local variables don't
9715 happen to make the buffer read-only. (Bug#11127)
9716
81fdff00
SM
97172012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
9718
9719 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
9720 (perl-calculate-indent): Return `noindent' in strings.
9721
6e7a6ec0
SS
97222012-03-28 Sam Steingold <sds@gnu.org>
9723
9724 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
9725 instead of the broken adhockery which does not prevent calendar
9726 buffers from being displayed at random after exit.
9727 (calendar-window-list, calendar-hide-window): Remove the broken
9728 adhockery.
9729
fee88ca0
GM
97302012-03-28 Glenn Morris <rgm@gnu.org>
9731
9732 * replace.el (query-replace-map): Doc fix.
9733
38de3354
AS
97342012-03-28 Andreas Schwab <schwab@linux-m68k.org>
9735
9736 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
9737 contents. (Bug#11109)
9738
b973155e
SM
97392012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
9740
9741 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
9742 (bug#11077).
9743 (avl-tree--check, avl-tree--check-node): New funs.
9744
dcb6e7b3
MR
97452012-03-27 Martin Rudalics <rudalics@gmx.at>
9746
9747 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
9748 (switch-to-prev-buffer, switch-to-next-buffer):
9749 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
9750 showing a buffer already is done on the same frame.
9751
b4fa35fa
GM
97522012-03-27 Glenn Morris <rgm@gnu.org>
9753
9754 * startup.el (mail-host-address): Doc fix.
9755
f9210e18
SM
97562012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
9757
9758 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
9759 than 197 variables.
9760
c0bf7753
AF
97612012-03-26 Ami Fischman <ami@fischman.org>
9762
9763 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
9764
33da7b16
GM
97652012-03-26 Glenn Morris <rgm@gnu.org>
9766
02243d9d
GM
9767 * files.el (save-buffers-kill-emacs): Doc fix.
9768
33da7b16
GM
9769 * startup.el (normal-top-level, command-line, command-line-1):
9770 Give them doc strings.
9771
e5a69fd0
EZ
97722012-03-25 Eli Zaretskii <eliz@gnu.org>
9773
9774 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 9775 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 9776
9a69676a
CY
97772012-03-25 Chong Yidong <cyd@gnu.org>
9778
4125cb8b
CY
9779 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
9780 theme if it was previously enabled before (Bug#11031).
9781
dd470960
CY
9782 * cus-theme.el (custom-theme-write-faces): Retrieve current face
9783 spec with custom-face-get-current-spec if its :shown-value is not
9784 determined yet (Bug#9337).
4125cb8b 9785 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 9786
9a69676a
CY
9787 * button.el (button-at): Minor addition to docstring.
9788
6e7e90fa
SL
97892012-03-24 Simon Leinen <simon.leinen@gmail.com>
9790
9791 * vc/vc.el (vc-merge): Fix a prompt.
9792
f06e2758
CY
97932012-03-24 Chong Yidong <cyd@gnu.org>
9794
9795 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
9796 point (Bug#9623).
9797
6e7e90fa
SL
9798 * button.el (button-at): Minor addition to docstring.
9799
b9d0879b
SM
98002012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
9801
9802 * newcomment.el (comment-choose-indent): No space after BOL.
9803
e71cebb3
SS
98042012-03-22 Sam Steingold <sds@gnu.org>
9805
9806 * window.el (switch-to-prev-buffer): Revert last patch because the
9807 bug turned out to be an advertised feature (Elisp manual 28.14).
9808
335aff35
GM
98092012-03-22 Glenn Morris <rgm@gnu.org>
9810
9811 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
9812 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
9813
c676576a
LMI
98142012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
9815
9816 * net/network-stream.el (network-stream-open-starttls): Make error
9817 message under Windows be less misleading.
9818
126f3d39
LW
98192012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
9820
9821 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
9822 understands (bug#9942).
9823
64fee311
CY
98242012-03-22 Chong Yidong <cyd@gnu.org>
9825
9826 * simple.el (end-of-visible-line): Handle return value of
9827 next-single-property-change properly (Bug#9371).
9828
a640d29a
KH
98292012-03-22 Kenichi Handa <handa@m17n.org>
9830
9831 * international/quail.el (quail-insert-kbd-layout): Fix previous
9832 change. To avoid unwanted bidi reordering, use
9833 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
9834
39675016
DG
98352012-03-21 Dmitry Gutov <dgutov@yandex.ru>
9836
9837 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
9838 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
9839 (ruby-beginning-of-indent): Be more careful with the difference
9840 between word-boundary and symbol boundary.
9841 (ruby-mode-syntax-table): Make : a symbol constituent.
9842
0a6934fc 98432012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 9844
3d008e4f
SM
9845 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
9846
0a6934fc
SM
98472012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
9848
af67c9d7
SM
9849 * progmodes/etags.el (tags-completion-at-point-function):
9850 Improve last fix.
9851
1acad97c
SM
9852 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
9853
e298b5da
SS
98542012-03-21 Sam Steingold <sds@gnu.org>
9855
9856 * progmodes/etags.el (tags-completion-at-point-function):
9857 Avoid the error when point is inside the pattern.
9858
91d82a70
JY
98592012-03-21 John Yates <john@yates-sheets.org> (tiny change)
9860
9861 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
9862 line (Bug#10855).
9863
69188b79
CY
98642012-03-21 Drew Adams <drew.adams@oracle.com>
9865
9866 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
9867
99fc91fe
AK
98682012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
9869
9870 * ido.el (ido-set-current-directory, ido-read-internal)
9871 (ido-choose-completion-string, ido-completion-help): Handle nil
9872 value of ido-completion-buffer (Bug#11008).
9873
087bbb4c
SS
98742012-03-21 Sam Steingold <sds@gnu.org>
9875
9876 * window.el (switch-to-prev-buffer): Do not switch to a visible
9877 window previous buffer, just like with the frame previous buffers.
9878
fb5b8aca
CY
98792012-03-21 Chong Yidong <cyd@gnu.org>
9880
9881 * faces.el (make-face, make-empty-face, copy-face):
9882 * face-remap.el (face-remap-add-relative, face-remap-set-base):
9883 Doc fixes.
9884
dc9924b8
SM
98852012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
9886
9887 * wid-edit.el (widget-complete-field): Remove (bug#11051).
9888 (widget-complete): Remove broken use of it.
9889
f0bcceb9
CY
98902012-03-20 Chong Yidong <cyd@gnu.org>
9891
dc9924b8
SM
9892 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
9893 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
9894 characters.
9895
ee52ebf3
TH
98962012-03-20 Tassilo Horn <tassilo@member.fsf.org>
9897
9898 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
9899 to draw rectangles, not squares. (Regression introduced by revno
9900 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
9901
4c5779ab
CY
99022012-03-18 Chong Yidong <cyd@gnu.org>
9903
9904 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
9905 it is not yet defined (for temacs).
9906
15360934
LL
99072012-03-18 Leo Liu <sdl.web@gmail.com>
9908
735135f9
PE
9909 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
9910 prefix.
15360934 9911
d9a8eb66
EZ
99122012-03-17 Eli Zaretskii <eliz@gnu.org>
9913
9914 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
9915 (ispell-choices-win-default-height, ispell-silently-savep)
9916 (ispell-dictionary-alist, ispell-encoding8-command)
9917 (ispell-check-version, ispell-aspell-find-dictionary)
9918 (ispell-valid-dictionary-list, ispell-words-keyword)
9919 (ispell-get-word, ispell-internal-change-dictionary)
9920 (ispell-region, ispell-skip-region-list)
9921 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
9922 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
9923 (ispell-message-text-end, ispell-message)
9924 (ispell-buffer-local-parsing): Doc fix.
9925
f02ff80d
J
99262012-03-13 Jambunathan K <kjambunathan@gmail.com>
9927
9928 * htmlfontify.el: Add support for code block fontification for ODT
9929 export (Bug #9914).
9930 (hfy-optimisations): Define new option
9931 `body-text-only'
9932 (hfy-fontify-buffer): Honor above setting.
9933 (hfy-begin-span, hfy-end-span): New routines factored out form
9934 `hfy-fontify-buffer'.
9935 (hfy-begin-span-handler, hfy-end-span-handler): New variables
9936 that permit insertion of custom tags.
9937 (hfy-fontify-buffer): Use above handlers.
9938 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
9939 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 9940 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 9941 over multiple runs. This is made possible by having the caller let
f02ff80d
J
9942 bind a special variable `hfy-user-sheet-assoc'.
9943 (htmlfontify-string): New defun.
9944 (hfy-compile-face-map): Make sure that the last char in the
9945 buffer is correctly fontified.
9946 (hfy-face-resolve-face): Whitespace only change.
9947
9ac7a13f
EZ
99482012-03-17 Eli Zaretskii <eliz@gnu.org>
9949
9950 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
9951 message more clear.
9952
e2b5bdd7
LL
99532012-03-16 Leo Liu <sdl.web@gmail.com>
9954
9955 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
9956
2e492df3
AM
99572012-03-16 Alan Mackenzie <acm@muc.de>
9958
9959 Further optimise the handling of large macros.
9960
9961 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
9962 limit to a call of `c-literal-limits'.
9963 (c-determine-+ve-limit): New function.
dc9924b8
SM
9964 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
9965 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
9966 In CASE 5B, restrict a search limit to 500.
9967 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
9968
9969 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
9970 Restrict macro bounds to +-500 from after-change's BEG END.
9971
50e94f0c
LL
99722012-03-16 Leo Liu <sdl.web@gmail.com>
9973
9974 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
9975
6f09f6ed
AH
99762012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
9977
9978 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 9979 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 9980
c7e73d51
GM
99812012-03-16 Glenn Morris <rgm@gnu.org>
9982
da986230
GM
9983 * view.el (view-buffer, view-buffer-other-window)
9984 (view-buffer-other-frame): Doc fixes re special mode-class.
9985
0835f01e
GM
9986 * subr.el (eval-after-load): If named feature is provided not from
9987 a file, run after-load forms. (Bug#10946)
9988
c7e73d51
GM
9989 * calendar/calendar.el (calendar-insert-at-column):
9990 Handle non-unit-width characters a bit better. (Bug#10978)
9991
3f2eafd1
CY
99922012-03-15 Chong Yidong <cyd@gnu.org>
9993
9994 * emacs-lisp/ring.el (ring-extend): New function.
9995 (ring-insert+extend): Extend the ring correctly (Bug#11019).
9996
9997 * comint.el (comint-read-input-ring)
9998 (comint-add-to-input-history): Grow comint-input-ring lazily.
9999
103af3fe
SM
100002012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
10001
663b1677
SM
10002 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
10003 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
10004
103af3fe
SM
10005 * imenu.el: Fix multiple inheritance breakage (bug#9199).
10006 (imenu-add-to-menubar): Don't add a redundant index.
10007 (imenu-update-menubar): Handle a dynamically composed keymap.
10008
899cb7cb
KY
100092012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
10010
10011 * mail/sendmail.el (mail-encode-header):
10012 Bind rfc2047-encode-encoded-words to nil.
10013
3809f91d
GM
100142012-03-13 Glenn Morris <rgm@gnu.org>
10015
10016 * calendar/calendar.el (calendar-string-spread):
10017 Handle non-unit-width characters a bit better. (Bug#10978)
10018
9e345a01
LL
100192012-03-13 Leo Liu <sdl.web@gmail.com>
10020
10021 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
10022 directory and file as argument (Bug#10822).
10023
4a07df36
KS
100242012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
10025
10026 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
10027 For dynamically generated code, follow $PC.
10028 (gdb-disassembly-handler-custom): Handle no function name case.
10029
4aaa9356
TL
100302012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
10031
10032 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
10033 * emulation/ws-mode.el (ws-query-replace):
10034 * sort.el (sort-regexp-fields):
10035 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
10036
225979da
SM
100372012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
10038
10039 * dabbrev.el: Fix cycle completion order (bug#10963).
10040 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
10041 (dabbrev-completion): Don't use an obarray; provide
10042 a cycle-sort-function.
10043
e2f1fdab
LL
100442012-03-12 Leo Liu <sdl.web@gmail.com>
10045
dc9924b8 10046 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
10047 (kill-do-not-save-duplicates): Doc fix.
10048
b19490ed
SM
100492012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
10050
10051 * dabbrev.el: Fix cycle completion (bug#10963).
10052 Use lexical binding and wrap to 80 columns.
10053 (dabbrev-completion): Delay computing the list of completions.
10054
4b05d722
KH
100552012-03-12 Kenichi Handa <handa@m17n.org>
10056
10057 * international/quail.el (quail-insert-kbd-layout): Surround each
10058 row by LRO and PDF instead of inserting many LRMs. Pad the left
10059 and right of each non-spacing marks. Insert invisible space
10060 between lower and upper characters to prevent composition.
10061
dbbc2e69
SM
100622012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
10063
10064 * minibuffer.el (minibuffer-complete): Don't get confused when the
10065 function is run twice via different commands (bug#10958).
10066 (complete-with-action): Fix docstring.
10067
292112ed
CY
100682012-03-12 Chong Yidong <cyd@gnu.org>
10069
5d1ac394
CY
10070 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
10071 (nxml-completion-at-point-function): New function.
10072 (nxml-mode): Use it.
10073 (nxml-bind-meta-tab-to-complete-flag): Default to t.
10074
292112ed
CY
10075 * emacs-lisp/package.el (package-unpack, package-unpack-single):
10076 Load generated autoloads file before byte compiling (Bug#10970).
10077 (package--make-autoloads-and-compile): New helper fun.
10078
4098f8f7
CS
100792012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
10080
10081 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
10082
8f754691
MA
100832012-03-11 Michael Albinus <michael.albinus@gmx.de>
10084
10085 * autorevert.el (auto-revert-handler): Ensure, that
10086 file-readable-p is applied only for local files or in
10087 auto-revert-tail-mode.
10088
e29ab36b
AS
100892012-03-11 Andreas Schwab <schwab@linux-m68k.org>
10090
dbbc2e69
SM
10091 * server.el (server-eval-at): Handle non-tcp connections.
10092 Decode result string.
ad0bf5b6 10093
e29ab36b
AS
10094 * server.el (server-msg-size): New constant.
10095 (server-reply-print): New function.
10096 (server-eval-and-print): Use it.
10097 (server-eval-at): Use server-quote-arg and server-unquote-arg.
10098 Handle -print-nonl.
10099
de5939ba
CS
101002012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
10101
10102 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
10103 (Bug#10987).
10104
0c93eabf
CY
101052012-03-11 Chong Yidong <cyd@gnu.org>
10106
397a688f
CY
10107 * simple.el (goto-line): Doc fix (Bug#9938).
10108
2cc775f9
CY
10109 * subr.el (save-window-excursion): Doc fix (Bug#9979).
10110
0c93eabf
CY
10111 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
10112 when finished (Bug#10963).
10113
c491fa41
MR
101142012-03-11 Martin Rudalics <rudalics@gmx.at>
10115
10116 * window.el (split-window-below): Fix bug in case where
10117 split-window-keep-point is nil (Bug#10971).
10118
300e8fa5
JL
101192012-03-11 Juri Linkov <juri@jurta.org>
10120
10121 * replace.el (replace-highlight): Set isearch-word to nil
10122 unconditionally. (Bug#10887)
10123
dbf6c5a1
EZ
101242012-03-10 Eli Zaretskii <eliz@gnu.org>
10125
10126 * net/mairix.el (mairix-replace-invalid-chars): Rename from
10127 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 10128 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
10129 (mairix-widget-create-query): Add usage information about mairix
10130 search forms: negating words, searching for substrings, etc.
10131
b9e501de
JP
101322012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
10133
10134 * international/fontset.el (font-encoding-alist): Add an entry for
10135 ksx1001 (Bug#5667).
10136
92795c91
RS
101372012-03-10 Richard Stallman <rms@gnu.org>
10138
1694e6c1
RS
10139 * mail/sendmail.el (mail-encode-header):
10140 Set rfc2047-encode-encoded-words.
10141
607e8555
RS
10142 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
10143
de3bc99a
RS
10144 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
10145 view buffer means not swapped.
10146 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
10147 (rmail-write-region-annotate): Error if real text has disappeared.
10148
92795c91
RS
10149 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
10150
699bd04e
CY
101512012-03-10 Chong Yidong <cyd@gnu.org>
10152
10153 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
10154 * emulation/cua-base.el (cua--init-keymaps):
10155 Add delete-forward-char to remappings (Bug#9666).
699bd04e 10156
570a1714
MR
101572012-03-10 Martin Rudalics <rudalics@gmx.at>
10158
dbbc2e69
SM
10159 * speedbar.el (speedbar-unhighlight-one-tag-line):
10160 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 10161
82dcf4e4
CY
101622012-03-10 Chong Yidong <cyd@gnu.org>
10163
7a2c7ca7
CY
10164 * minibuffer.el (completion-in-region, completion-help-at-point):
10165 Give the completion field overlay a high priority (Bug#6830).
10166
82dcf4e4
CY
10167 * dired.el (dired-goto-file): Recognize absolute file name
10168 listings (Bug#7126).
10169 (dired-goto-file-1): New helper function.
10170 (dired-toggle-read-only): Inhibit warnings.
10171
052e28ac
MA
101722012-03-09 Michael Albinus <michael.albinus@gmx.de>
10173
75f1671a 10174 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
10175 there are no properties.
10176
95d5e396
LL
101772012-03-09 Leo Liu <sdl.web@gmail.com>
10178
10179 * savehist.el (savehist-printable): Stricter check for string
10180 value (Bug#10937).
10181
3f018d6d
EZ
101822012-03-09 Eli Zaretskii <eliz@gnu.org>
10183
dbbc2e69
SM
10184 * mail/smtpmail.el (smtpmail-send-it):
10185 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
10186 valid mbox format.
10187
f7fd3d79
GM
101882012-03-09 Glenn Morris <rgm@gnu.org>
10189
10190 * files.el (dir-locals-find-file):
10191 Don't check result is regular, readable.
10192 (dir-locals-read-from-file): Demote errors.
10193
6ff6e72f
EZ
101942012-03-08 Eli Zaretskii <eliz@gnu.org>
10195
dbbc2e69
SM
10196 * international/quail.el (quail-insert-kbd-layout):
10197 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
10198 layout cell, to prevent their reordering by bidi display engine.
10199 For details, see the discussion in
10200 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
10201
9cec7834
AM
102022012-03-08 Alan Mackenzie <acm@muc.de>
10203
10204 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
10205 the starting position; make it extend the marked region when
10206 invoked repeatedly - all under appropriate circumstances.
10207 Fixes bugs #5525, #10906.
10208
9a40b8d4
GM
102092012-03-08 Glenn Morris <rgm@gnu.org>
10210
10211 * files.el (locate-dominating-file, dir-locals-find-file):
10212 Undo 2012-03-06 change.
10213
7a08ed35
EZ
102142012-03-07 Eli Zaretskii <eliz@gnu.org>
10215
dbbc2e69
SM
10216 * international/quail.el (quail-help):
10217 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
10218 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
10219 for the reason.
10220
5aca4f71 102212012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
10222
10223 Avoid superfluous registering of signals. (Bug#10807)
10224
10225 * notifications.el (notifications-on-action-object)
10226 (notifications-on-close-object): New defvars.
10227 (notifications-on-action-signal, notifications-on-closed-signal):
10228 Unregister the signal if not needed any longer.
10229 (notifications-notify): Register `notifications-action-signal' or
10230 `notifications-closed-signal', if :on-action or :on-close has been
10231 passed as argument.
10232
78e8b10a
CY
102332012-03-07 Chong Yidong <cyd@gnu.org>
10234
10235 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
10236 non-X platforms.
10237
69481eb8
GM
102382012-03-06 Glenn Morris <rgm@gnu.org>
10239
10240 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
10241 (x-disown-selection-internal, x-get-selection-internal):
10242 Doc fix (add arglist signatures). (Bug#10783)
10243
133b8e11
KS
102442012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
10245
10246 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
10247 Handle breakpoints with no "type".
10248
99a83064
GM
102492012-03-06 Glenn Morris <rgm@gnu.org>
10250
10251 * files.el (locate-dominating-file): Add optional predicate argument.
10252 (dir-locals-find-file): Make use of above change.
10253
17798e78
TTN
102542012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
10255
10256 * info.el (Info-insert-dir): Also try "dir.gz".
10257
eb182446
GM
102582012-03-06 Glenn Morris <rgm@gnu.org>
10259
8f2114ee
GM
10260 * files.el (dir-locals-find-file):
10261 Ignore non-readable or non-regular files. (Bug#10928)
10262
eb182446
GM
10263 * files.el (locate-dominating-file): Doc fix.
10264
24679323
AS
102652012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
10266
10267 * calendar/calendar.el (calendar-set-mode-line):
10268 `getenv' returns a string. (Bug#10951)
10269
01d972a9
LL
102702012-03-05 Leo Liu <sdl.web@gmail.com>
10271
109aa8a9
LL
10272 * simple.el (backward-delete-char-untabify): Constrain point to
10273 field (Bug#10939).
10274
01d972a9
LL
10275 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
10276
10607bea
CY
102772012-03-05 Chong Yidong <cyd@gnu.org>
10278
10279 * simple.el (count-words): If called from Lisp, return the word
10280 count, for symmetry with `count-lines'. Arglist changed.
10281 (count-words--message): Args changed. Consolidate counting code
10282 from count-words and count-words-region.
10283 (count-words-region): Caller changed.
10284 (count-lines-region): Make it an obsolete alias.
10285
5dd11cfe
TH
102862012-03-04 Tassilo Horn <tassilo@member.fsf.org>
10287
10288 * saveplace.el (save-place-to-alist)
10289 (save-place-ignore-files-regexp): Allow value nil to disable this
10290 feature.
10291
c349f4e6
CY
102922012-03-04 Chong Yidong <cyd@gnu.org>
10293
10294 * faces.el (face-spec-reset-face): For the default face, reset the
10295 attributes to default values (Bug#10748).
10296
e627be4c
LMI
102972012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
10298
10299 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
10300 previous patch: Check `message-send-mail-function', and not the
10301 default function (bug#10897).
10302
ebeabff4
MA
103032012-03-04 Michael Albinus <michael.albinus@gmx.de>
10304
a41a6cf4
MA
10305 * notifications.el (notifications-on-action-signal)
10306 (notifications-on-closed-signal): Check for unique service name of
10307 incoming event. Fix error in removing entry.
ebeabff4 10308 (top): Register for signals with wildcard service name.
a41a6cf4 10309 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 10310
c1ca42b4
CY
103112012-03-04 Chong Yidong <cyd@gnu.org>
10312
dc9924b8 10313 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 10314
ea16568d
GM
103152012-03-04 Glenn Morris <rgm@gnu.org>
10316
10317 * abbrev.el (copy-abbrev-table, abbrev-table-p)
10318 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
10319 (expand-abbrev, define-abbrev-table): Doc fixes.
10320
fbae4637
LMI
103212012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10322
10323 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
10324 `message-default-send-mail-function' and not `send-mail-function'
10325 when doing the prompting for `sendmail-query-once' before sending
10326 in Message buffers (bug#10897).
10327
a1e7225c
LMI
10328 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
10329 This is inconsistent with all the other stream functions, which leave
10330 the setting up to the higher levels (if so wanted) (bug#10931).
10331
56d093a9
AM
103322012-03-02 Alan Mackenzie <acm@muc.de>
10333
10334 Depessimize the handling of very large macros.
10335
10336 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
10337 (c-macro-cache-syntactic): New variables to implement a one
10338 element macro cache.
10339 (c-invalidate-macro-cache): New function.
10340 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
10341 Adapt to use the new cache.
10342 (c-state-safe-place): Use better the cache of safe positions.
10343 (c-state-semi-nonlit-pos-cache)
10344 (c-state-semi-nonlit-pos-cache-limit):
10345 New variables for...
10346 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
10347 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
10348 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
10349 Use c-state-semi-safe-place.
56d093a9 10350
dbbc2e69
SM
10351 * progmodes/cc-langs.el (c-get-state-before-change-functions):
10352 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 10353
817e5c3d
MA
103542012-03-02 Michael Albinus <michael.albinus@gmx.de>
10355
dbbc2e69
SM
10356 * jka-compr.el (jka-compr-call-process):
10357 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
10358 not remote.
10359
a032a702
MA
103602012-03-01 Michael Albinus <michael.albinus@gmx.de>
10361
10362 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
10363 access of FILE2, if FILE1 does not exist.
10364
99a54f21
MA
10365 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
10366 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
10367
10368 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
10369 Add "PAGER=" to `process-environment'.
10370
f6561e1f
MM
103712012-03-01 Michael R. Mauger <mmaug@yahoo.com>
10372
10373 * progmodes/sql.el: Bug fix
10374 (sql-get-login-ext): Save login values in globals.
10375 (sql-get-login): Use new version of `sql-get-login-ext'.
10376 (sql-interactive-mode): Set global `sql-connection' to nil.
10377 (sql-connect): Set global values for connection.
10378 (sql-product-interactive): Save global values as buffer local.
10379
2d44d9cc
LL
103802012-02-29 Leo Liu <sdl.web@gmail.com>
10381
10382 * abbrev.el (define-abbrevs): Reset sys to nil.
10383
96b49301 103842012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10385
bf7f9bc5
JB
10386 * files.el (file-equal-p): Rename from `files-equal-p'.
10387 Return nil when one or both files don't exist.
96b49301 10388 (file-subdir-of-p): Now only top directory must exists,
10389 return nil if it doesn't.
bf7f9bc5
JB
10390 (copy-directory): No need to test with `file-subdir-of-p' after
10391 creating dir.
10392 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
10393 to `file-equal-p'.
96b49301 10394
44e97401
GM
103952012-02-28 Glenn Morris <rgm@gnu.org>
10396
10397 * shell.el (shell-mode):
10398 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
10399 * play/landmark.el (landmark-font-lock-face-O):
10400 * play/handwrite.el (handwrite):
10401 * play/gomoku.el (gomoku-O):
10402 * net/browse-url.el (browse-url-browser-display):
10403 * international/mule.el (define-charset):
10404 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
10405 * filesets.el (filesets-find-file-delay):
10406 * eshell/em-xtra.el (eshell-xtra):
10407 * eshell/em-unix.el (eshell-grep):
10408 * emulation/viper.el (viper-mode):
10409 * emacs-lisp/regexp-opt.el (regexp-opt-group):
10410 * emacs-lisp/easymenu.el (easy-menu-define):
10411 * calendar/timeclock.el (timeclock-use-display-time):
10412 * bs.el (bs-mode):
10413 * bookmark.el (bookmark-save-flag):
10414 Doc fix (standardize possessive apostrophe usage).
10415
c98c6276
CY
104162012-02-27 Chong Yidong <cyd@gnu.org>
10417
bf7f9bc5
JB
10418 * emulation/viper-cmd.el (viper-intercept-ESC-key):
10419 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 10420
c98c6276
CY
10421 * font-lock.el (font-lock-specified-p): Rename from
10422 font-lock-spec-present. Callers changed.
10423
9c62cd04 104242012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 10425
bf7f9bc5
JB
10426 * emacs-lisp/package.el (package-compute-transaction):
10427 Handle holding a package version to t in package-load-list.
8ac9e529 10428
530739c9
MA
104292012-02-26 Michael Albinus <michael.albinus@gmx.de>
10430
10431 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
10432 (tramp-get-inode, tramp-get-device): Use cached values.
10433
487915d7
AM
104342012-02-26 Alan Mackenzie <acm@muc.de>
10435
10436 Check there is a font-lock specification before doing initial
10437 fontification.
10438
10439 * font-core.el (font-lock-mode): Move the conditional from
10440 :after-hook to font-lock-initial-fontify.
10441 (font-lock-default-function): Move the check for a specification
10442 to font-lock-spec-present.
10443
dc9924b8 10444 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
10445 (font-lock-spec-present): New function.
10446
4fd96557
JB
104472012-02-26 Jim Blandy <jimb@red-bean.com>
10448
10449 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
10450 (gdb-send): Apply it to the operand of the '-interpreter-exec
10451 console' command, so that we can pass arguments with (say) quotes
10452 in them. Store exact string sent in gdb-debug-log (Bug#10765).
10453
9a4888c0
CY
104542012-02-26 Chong Yidong <cyd@gnu.org>
10455
07498861
CY
10456 * help-fns.el (describe-function-1): Clarify description of
10457 remapping (Bug#10844).
10458
9a4888c0
CY
10459 * files.el (files-equal-p): Doc fix.
10460 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
10461 and quit the loop once a mismatch is found.
10462
ea8fb88d
JB
104632012-02-25 Juanma Barranquero <lekktu@gmail.com>
10464
10465 * bs.el (bs--show-with-configuration): Don't throw an error
10466 if the window cannot be split; otherwise, subsequent calls to
10467 bs-show fail, restoring a stale window config. (Bug#10882)
10468
525795c1
JD
104692012-02-25 Jan Djärv <jan.h.d@swipnet.se>
10470
10471 * term/ns-win.el (global-map): Bind ns-drag-file to
10472 ns-find-file (Bug#5855, Bug#10050).
10473
f008086f
AS
104742012-02-25 Andreas Schwab <schwab@linux-m68k.org>
10475
10476 * calendar/parse-time.el (parse-time-string): Allow extractor to
10477 return nil.
10478
a3fcfa99
MA
104792012-02-25 Michael Albinus <michael.albinus@gmx.de>
10480
91027d08
JB
10481 * net/tramp.el (tramp-file-name-for-operation):
10482 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
10483
10484 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
10485 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
10486 Add COPY-CONTENTS argument.
a3fcfa99 10487
67b0de11
CY
104882012-02-25 Chong Yidong <cyd@gnu.org>
10489
10490 Add custom groups for VC backends, for consistency with vc-bzr.
10491
10492 * vc/vc-arch.el (vc-arch):
10493 * vc/vc-cvs.el (vc-cvs):
10494 * vc/vc-git.el (vc-git):
10495 * vc/vc-hg.el (vc-hg):
10496 * vc/vc-mtn.el (vc-mtn):
10497 * vc/vc-rcs.el (vc-rcs):
10498 * vc/vc-sccs.el (vc-sccs):
10499 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
10500 All relevant defcustoms reassigned.
10501
3c9dfce6
CY
105022012-02-25 Chong Yidong <cyd@gnu.org>
10503
1339bf43
CY
10504 * newcomment.el (comment-styles): Add autoload (Bug#10868).
10505
3c9dfce6
CY
10506 * term/x-win.el (x-initialize-window-system): Reduce default for
10507 x-selection-timeout to 5 seconds (Bug#8869).
10508
25b2e303 105092012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10510
ec70a47d
GM
10511 * files.el (files-equal-p, file-subdir-of-p): New functions.
10512 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 10513 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
10514 * dired-aux.el (dired-copy-file-recursive): Same.
10515 (dired-create-files): Modify destination when source is equal to
10516 dest when copying files.
53a46cd0 10517 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 10518
914260cd
MA
105192012-02-24 Michael Albinus <michael.albinus@gmx.de>
10520
10521 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
10522 (Bug#10874)
10523
2cb228f7
AM
105242012-02-23 Alan Mackenzie <acm@muc.de>
10525
10526 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
10527 parameter "after-hook:" to allow the expansion to run code after
10528 the execution of the mode hooks.
10529
10530 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 10531 from font-lock-mode-internal.
2cb228f7 10532
91027d08 10533 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
10534 :after-hook.
10535
8f0fde21
SM
105362012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
10537
3e88618b
SM
10538 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
10539 (completion--cache-all-sorted-completions): New function.
10540 (completion-all-sorted-completions): Use it.
10541 (completion--do-completion, minibuffer-force-complete):
10542 Use it to re-instate the flush hook.
10543
8f0fde21
SM
10544 * icomplete.el (icomplete-completions): Replace last fix with a better
10545 one (bug#10850).
10546
8e911f6f
DG
105472012-02-23 Dmitry Gutov <dgutov@yandex.ru>
10548
10549 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
10550 when it might call us back infinitely (bug#10797).
10551
49fe4321
GM
105522012-02-23 Glenn Morris <rgm@gnu.org>
10553
10554 * minibuffer.el (completion-category-overrides): Doc fix.
10555
b291b572
SM
105562012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
10557
10558 * minibuffer.el (completion-table-with-context): Fix inf-loop.
10559 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
10560
31a9ef2e
GM
105612012-02-23 Glenn Morris <rgm@gnu.org>
10562
5e6e6794 10563 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
10564 (authors-obsolete-files-regexps, authors-ignored-files)
10565 (authors-ambiguous-files, authors-renamed-files-alist):
10566 Add more entries.
10567
0bd1e074
JL
105682012-02-23 Juri Linkov <juri@jurta.org>
10569
10570 * isearch.el (isearch-occur): Sync interactive spec with occur's
10571 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
10572
b617673c
JL
10573 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
10574
19e9789e
JL
105752012-02-22 Juri Linkov <juri@jurta.org>
10576
10577 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
10578 (ucs-insert): Doc fix. Check for hex digits in the string.
10579 Don't display `nil' in the error message. (Bug#10857)
10580
f41ce09d
AM
105812012-02-22 Alan Mackenzie <acm@muc.de>
10582
7a71b18d 10583 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 10584
ac2eceee
GM
105852012-02-22 Glenn Morris <rgm@gnu.org>
10586
10587 * ffap.el (ffap-c-path):
10588 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
10589
abd1f678
CY
105902012-02-22 Chong Yidong <cyd@gnu.org>
10591
10592 * custom.el (load-theme): Doc fix.
10593
f25aef2e
GM
105942012-02-22 Glenn Morris <rgm@gnu.org>
10595
10596 * dired-x.el (dired-guess-shell-alist-default):
10597 Remove escape sequences from nroff output. (Bug#172)
10598
5f8dc2ca
GM
105992012-02-21 Glenn Morris <rgm@gnu.org>
10600
6ff86ec4
GM
10601 * vc/emerge.el (emerge-defvar-local):
10602 Set `permanent-local' property rather than unused `preserved'.
10603
be3223a3 10604 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
10605 (picture-mode-map): Use it. (Bug#10860)
10606 (picture-mode): Doc fix.
10607
3fe58f4f
JB
106082012-02-21 Juanma Barranquero <lekktu@gmail.com>
10609
10610 * newcomment.el (uncomment-region-default): Remove unused binding.
10611
f9a998c3
GM
106122012-02-21 Glenn Morris <rgm@gnu.org>
10613
10614 * textmodes/picture.el (picture-motion, picture-motion-reverse)
10615 (picture-self-insert, picture-tab-chars): Doc fix.
10616 (picture-mode-map): Fix C-a, C-e.
10617
c6029348
GM
106182012-02-20 Glenn Morris <rgm@gnu.org>
10619
10620 * emacs-lisp/authors.el (authors-aliases): Add another entry.
10621
ab1ce9d7
LL
106222012-02-20 Leo Liu <sdl.web@gmail.com>
10623
10624 * icomplete.el (icomplete-completions): Check FROM arg before
10625 passing to substring (Bug#10850).
10626
0fd40f89
CY
106272012-02-19 Chong Yidong <cyd@gnu.org>
10628
10629 * comint.el: Require ansi-color.
10630 (comint-output-filter-functions): Add ansi-color-process-output.
10631
10632 * ansi-color.el: Don't set comint-output-filter-functions; it is
10633 now in the initial value defined in comint.el.
10634 (ansi-color-apply-face-function): New variable.
10635 (ansi-color-apply-on-region): Use it.
10636 (ansi-color-apply-overlay-face): New function.
10637
10638 * shell.el (shell): No need to require ansi-color.
10639 (shell-mode): Use ansi-color-apply-face-function to highlight
10640 color escapes using font-lock-face property (Bug#10835).
10641
20af2394
CY
106422012-02-19 Chong Yidong <cyd@gnu.org>
10643
10644 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
10645 mode-line formats (Bug#10839).
10646
e23a3fbe
GM
106472012-02-18 Glenn Morris <rgm@gnu.org>
10648
b474519e
GM
10649 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
10650
10651 * mail/undigest.el (unforward-rmail-message): Doc fix.
10652
e23a3fbe
GM
10653 * saveplace.el (save-place-ignore-files-regexp): Add :version.
10654
57939ff4
EZ
106552012-02-18 Eli Zaretskii <eliz@gnu.org>
10656
10657 * international/characters.el (script-list): Sync with the latest
10658 Unicode Character Database.
10659
0c23686e
AS
106602012-02-18 Andreas Schwab <schwab@linux-m68k.org>
10661
10662 * international/titdic-cnv.el: Remove duplicate coding tag.
10663 * language/cham.el: Likewise.
10664 * language/tai-viet.el: Likewise.
10665
6818b449
GM
106662012-02-18 Glenn Morris <rgm@gnu.org>
10667
10668 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
10669 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
10670 (calendar-bahai-all-holidays-flag, calendar-other-dates):
10671 * calendar/diary-lib.el (diary-abbreviated-year-flag):
10672 * calendar/holidays.el (holiday-bahai-holidays)
10673 (calendar-holidays, list-holidays):
10674 Use utf-8 Bahá'í in doc-strings, menus, etc.
10675
0311a3fc
TH
106762012-02-17 Tassilo Horn <tassilo@member.fsf.org>
10677
10678 * saveplace.el (save-place-ignore-files-regexp): New variable
10679 allowing for excluding files from saving their location of point.
10680 The default value matches the temporary commit message editing
10681 files from Git, SVN, Bazaar, and Mercurial.
10682 (save-place-to-alist): Use it.
10683
d209e2fb 106842012-02-17 Lawrence Mitchell <wence@gmx.li>
f1a71c6e 10685 Stefan Monnier <monnier@iro.umontreal.ca>
eb864a71
LM
10686
10687 * newcomment.el (uncomment-region-default): Don't leave extra space
10688 when an arg is provided (bug#8150).
10689
ee0ce425
TZ
106902012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
10691
eb864a71 10692 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 10693
95ddf442
GM
106942012-02-17 Glenn Morris <rgm@gnu.org>
10695
10696 * net/socks.el: Require network-stream. (Bug#10599)
10697
48dd1e39 106982012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
10699
10700 * international/charprop.el:
10701 * international/uni-name.el:
10702 * international/uni-old-name.el:
10703 * international/uni-comment.el: Regenerate.
10704
d68cd087
GM
107052012-02-16 Glenn Morris <rgm@gnu.org>
10706
10707 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
10708 Interactively in calendar buffer, give an error if not on a date.
10709
13932042
GM
107102012-02-15 Glenn Morris <rgm@gnu.org>
10711
10712 * shell.el (shell-delimiter-argument-list):
10713 Revert 2011-02-17 change. (Bug#8027)
10714
c3a70e2b
CY
107152012-02-15 Chong Yidong <cyd@gnu.org>
10716
60236b0d
CY
10717 * minibuffer.el (completion-at-point-functions): Doc fix.
10718
c3a70e2b
CY
10719 * custom.el (defcustom): Doc fix; note use of defvar.
10720
9f26dc24
GM
107212012-02-15 Glenn Morris <rgm@gnu.org>
10722
10723 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
10724 Doc fixes.
10725
6546b134
GM
107262012-02-14 Glenn Morris <rgm@gnu.org>
10727
10728 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
10729
d29b2b4c
LI
107302012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
10731
10732 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
10733 way the ports list is computed.
835bdcba
LI
10734 (smtpmail-query-smtp-server): Prompt the user for a port number if
10735 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 10736
08dcdbc9
TZ
107372012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
10738
10739 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
10740
2605051a
GM
107412012-02-13 Glenn Morris <rgm@gnu.org>
10742
10743 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
10744
7ee99f32
TZ
107452012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
10746
10747 * net/gnutls.el (gnutls-trustfiles): New variable.
10748 (gnutls-negotiate): Use it.
10749
5f0af64f
LI
107502012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
10751
10752 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
10753 does its stuff if Gnus is running.
10754
c14fcc95
AM
107552012-02-13 Alan Mackenzie <acm@muc.de>
10756
10757 Fix a loop in c-set-fl-decl-start.
10758
7a71b18d 10759 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
10760 c-backward-syntactic-ws actually moves backwards.
10761
142b4d90
LL
107622012-02-13 Leo Liu <sdl.web@gmail.com>
10763
10764 * net/rcirc.el (rcirc-markup-attributes): Move point to the
10765 beginning so that all \C-o chars are removed.
10766
fa9958a6
TZ
107672012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
10768
dc9924b8 10769 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 10770
0bc5886a
AM
107712012-02-12 Alan Mackenzie <acm@muc.de>
10772
10773 Fix infinite loop with long macros.
4d6769e1 10774 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 10775
d4bd55e7
CY
107762012-02-12 Chong Yidong <cyd@gnu.org>
10777
10778 * window.el (display-buffer): Doc fix (Bug#10785).
10779
66f3fe22
GM
107802012-02-12 Glenn Morris <rgm@gnu.org>
10781
bd7da63e
GM
10782 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
10783 (x-disown-selection-internal, x-get-selection-internal):
10784 Sync docs with the xselect.c versions.
10785
66f3fe22
GM
10786 * allout-widgets.el: Add missing license notice.
10787
3e0d2fa7
GM
107882012-02-11 Glenn Morris <rgm@gnu.org>
10789
cfecdf09
GM
10790 * select.el (x-get-selection-internal, x-own-selection-internal)
10791 (x-disown-selection-internal):
10792 * x-dnd.el (x-get-selection-internal): Update declarations.
10793
6d216d7f
GM
10794 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
10795
2bed3f04
GM
10796 * window.el (window-sides-slots):
10797 * tool-bar.el (tool-bar-position):
10798 * term/xterm.el (xterm-extra-capabilities):
10799 * ses.el (ses-self-reference-early-detection):
10800 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
10801 (verilog-auto-wire-type)
10802 (verilog-auto-delete-trailing-whitespace)
10803 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
10804 (verilog-auto-tieoff-declaration):
10805 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
10806 (sql-oracle-statement-starters, sql-oracle-scan-on):
10807 * progmodes/prolog.el (prolog-align-comments-flag)
10808 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
10809 (prolog-left-indent-regexp, prolog-paren-indent-p)
10810 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
10811 (prolog-types, prolog-mode-specificators)
10812 (prolog-determinism-specificators, prolog-directives)
10813 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
10814 (prolog-electric-dot-flag)
10815 (prolog-electric-dot-full-predicate-template)
10816 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
10817 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
10818 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
10819 (prolog-program-switches, prolog-prompt-regexp)
10820 (prolog-debug-on-string, prolog-debug-off-string)
10821 (prolog-trace-on-string, prolog-trace-off-string)
10822 (prolog-zip-on-string, prolog-zip-off-string)
10823 (prolog-use-standard-consult-compile-method-flag)
10824 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
10825 (prolog-imenu-max-lines, prolog-info-predicate-index)
10826 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
10827 (prolog-char-quote-workaround):
10828 * progmodes/cc-vars.el (c-defun-tactic):
10829 * net/tramp.el (tramp-encoding-command-interactive)
10830 (tramp-local-end-of-line):
10831 * net/soap-client.el (soap-client):
10832 * net/netrc.el (netrc-file):
10833 * net/gnutls.el (gnutls):
10834 * minibuffer.el (completion-category-overrides)
10835 (completion-cycle-threshold)
10836 (completion-pcm-complete-word-inserts-delimiters):
10837 * man.el (Man-name-local-regexp):
10838 * mail/feedmail.el (feedmail-display-full-frame):
10839 * international/characters.el (glyphless-char-display-control):
10840 * eshell/em-ls.el (eshell-ls-date-format):
10841 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
10842 (lisp-lambda-list-keyword-parameter-indentation)
10843 (lisp-lambda-list-keyword-parameter-alignment):
10844 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
10845 * dired-x.el (dired-omit-verbose):
10846 * cus-theme.el (custom-theme-allow-multiple-selections):
10847 * calc/calc.el (calc-highlight-selections-with-faces)
10848 (calc-lu-field-reference, calc-lu-power-reference)
10849 (calc-note-threshold):
10850 * battery.el (battery-mode-line-limit):
10851 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
10852 (archive-7z-update):
10853 * allout.el (allout-prefixed-keybindings)
10854 (allout-unprefixed-keybindings)
10855 (allout-inhibit-auto-fill-on-headline)
10856 (allout-flattened-numbering-abbreviation):
10857 * allout-widgets.el (allout-widgets-auto-activation)
10858 (allout-widgets-icons-dark-subdir)
10859 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
10860 (allout-widgets-theme-dark-background)
10861 (allout-widgets-theme-light-background)
10862 (allout-widgets-item-image-properties-emacs)
10863 (allout-widgets-item-image-properties-xemacs)
10864 (allout-widgets-run-unit-tests-on-load)
10865 (allout-widgets-time-decoration-activity)
10866 (allout-widgets-hook-error-post-time)
10867 (allout-widgets-track-decoration):
10868 Add missing :version tags to new defcustoms and defgroups.
10869
5fec1b8e
GM
10870 * progmodes/sql.el (sql-ansi-statement-starters)
10871 (sql-oracle-statement-starters): Add custom type.
10872
3e0d2fa7
GM
10873 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
10874 (prolog-system-version): Give it a type.
10875
90b671e2
EZ
108762012-02-11 Eli Zaretskii <eliz@gnu.org>
10877
10878 * term/pc-win.el (x-select-text, x-selection-owner-p)
10879 (x-own-selection-internal, x-disown-selection-internal)
10880 (x-get-selection-internal): Sync doc strings and argument lists
10881 with xselect.c, common-win.el and x-win.el. (Bug#10783)
10882
5eac0c02
LL
108832012-02-11 Leo Liu <sdl.web@gmail.com>
10884
10885 * progmodes/python.el (python-end-of-statement): Fix infinite
10886 loop. (Bug#10788)
10887
f82cb659
GM
108882012-02-10 Glenn Morris <rgm@gnu.org>
10889
10890 * international/mule-cmds.el (unify-8859-on-encoding-mode)
10891 (unify-8859-on-decoding-mode): Properly mark as obsolete.
10892
cc26d239
LI
108932012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
10894
10895 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
10896 about SMTP before checking the From header.
10897
91027d08 10898 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
10899 into own function for reuse by emacsbug.el.
10900
1be3ca5a
LL
109012012-02-10 Leo Liu <sdl.web@gmail.com>
10902
10903 * subr.el (condition-case-unless-debug): Rename from
10904 condition-case-no-debug. All callers changed.
10905 (with-demoted-errors): Fix caller.
10906
10907 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
10908 * nxml/rng-valid.el (rng-do-some-validation):
10909 * emacs-lisp/package.el (package-refresh-contents)
10910 (package-menu-execute):
10911 * desktop.el (desktop-create-buffer):
91027d08 10912 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 10913
b011fbfe
GM
109142012-02-10 Glenn Morris <rgm@gnu.org>
10915
b2096d72
GM
10916 * textmodes/bibtex.el:
10917 Add missing :version tags for new/changed defcustoms.
10918
b011fbfe
GM
10919 * files.el (remote-file-name-inhibit-cache): Doc fixes.
10920
4c7e65bf
LI
109212012-02-09 Lars Ingebrigtsen <larsi@rusty>
10922
10923 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
10924 (smtpmail-via-smtp): Use it, or fall back on the From address.
10925 (smtpmail-send-it): Ditto.
10926
f3934f6f
SM
109272012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
10928
10929 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
10930 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
10931 (byte-compile-tmp-var): New const.
10932 (byte-compile-defvar): Use it to minimize .elc size.
10933 Just use `defvar' rather than simulate it (bug#10761).
10934
a075a2c5
GM
109352012-02-09 Glenn Morris <rgm@gnu.org>
10936
cf3aa21b
GM
10937 * files.el (rename-uniquely): Doc fix. (Bug#3806)
10938
354998cd
GM
10939 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
10940 Add :version tags.
10941
dc9924b8
SM
10942 * progmodes/compile.el (compilation-error-screen-columns)
10943 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 10944
dab3703d
GM
10945 * vc/log-view.el (log-view-toggle-entry-display):
10946 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
10947
3f88cd72
GM
10948 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
10949 (report-emacs-bug-can-use-xdg-email):
10950 (report-emacs-bug-insert-to-mailer): Doc fixes.
10951 (report-emacs-bug): Message fix.
10952
d95b247d
GM
10953 * net/browse-url.el (browse-url-can-use-xdg-open)
10954 (browse-url-xdg-open): Doc fixes.
10955
a075a2c5
GM
10956 * electric.el (electric-indent-mode, electric-pair-mode)
10957 (electric-layout-rules, electric-layout-mode): Doc fixes.
10958 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
10959
ffb6157e
MR
109602012-02-08 Martin Rudalics <rudalics@gmx.at>
10961
10962 * server.el (server-unselect-display): Don't inadvertently kill
10963 the current buffer. (Bug#10729)
10964
e1ac4066
GM
109652012-02-08 Glenn Morris <rgm@gnu.org>
10966
34e8a2da
GM
10967 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
10968 (sql-list-table): Doc fixes.
10969
b4ac6e8c
GM
10970 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
10971 Comment out (does nothing).
10972
e1ac4066
GM
10973 * completion.el (dynamic-completion-mode):
10974 * dirtrack.el (dirtrack-debug-mode):
10975 * electric.el (electric-layout-mode):
10976 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
10977 * face-remap.el (text-scale-mode, buffer-face-mode):
10978 * iimage.el (iimage-mode):
10979 * image-mode.el (image-transform-mode):
10980 * minibuffer.el (completion-in-region-mode):
10981 * scroll-lock.el (scroll-lock-mode):
10982 * simple.el (next-error-follow-minor-mode):
10983 * tar-mode.el (tar-subfile-mode):
10984 * tooltip.el (tooltip-mode):
10985 * vcursor.el (vcursor-use-vcursor-map):
10986 * wid-browse.el (widget-minor-mode):
10987 * emulation/tpu-edt.el (tpu-edt-mode):
10988 * emulation/tpu-extras.el (tpu-cursor-free-mode):
10989 * international/iso-ascii.el (iso-ascii-mode):
10990 * language/thai-util.el (thai-word-mode):
10991 * mail/supercite.el (sc-minor-mode):
10992 * net/goto-addr.el (goto-address-mode):
10993 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
10994 * progmodes/cwarn.el (cwarn-mode):
10995 * progmodes/flymake.el (flymake-mode):
10996 * progmodes/glasses.el (glasses-mode):
10997 * progmodes/hideshow.el (hs-minor-mode):
10998 * progmodes/pascal.el (pascal-outline-mode):
10999 * textmodes/enriched.el (enriched-mode):
11000 * vc/smerge-mode.el (smerge-mode):
11001 Doc fixes (minor mode argument).
11002
5e0d957f
EZ
110032012-02-07 Eli Zaretskii <eliz@gnu.org>
11004
11005 * ls-lisp.el (ls-lisp-sanitize): New function.
11006 (ls-lisp-insert-directory): Use it to fix or remove any elements
11007 in file-alist with missing attributes. (Bug#4673)
11008
98d7371e
AM
110092012-02-07 Alan Mackenzie <acm@muc.de>
11010
11011 Fix spurious recognition of c-in-knr-argdecl.
11012
11013 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
11014 putative K&R region.
11015
667ced3a
AM
110162012-02-07 Alan Mackenzie <acm@muc.de>
11017
eb864a71
LM
11018 * progmodes/cc-engine.el (c-forward-objc-directive):
11019 Prevent looping in "#pragma mark @implementation".
667ced3a 11020
5b77774d
MA
110212012-02-07 Michael Albinus <michael.albinus@gmx.de>
11022
11023 * notifications.el (notifications-on-closed-signal): Make `reason'
11024 optional. (Bug#10744)
11025
af008560
GM
110262012-02-07 Glenn Morris <rgm@gnu.org>
11027
60d47423
GM
11028 * emacs-lisp/easy-mmode.el (define-minor-mode):
11029 Doc fixes for the macro and the mode it defines.
11030
dd605cc4
GM
11031 * image.el (imagemagick-types-inhibit): Doc fix.
11032
af008560
GM
11033 * cus-start.el (imagemagick-render-type): Add it.
11034
5cc59a37
LI
110352012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
11036
4d6769e1
JB
11037 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
11038 Set the default at load time, too, so that `font-lock-fontify-buffer'
11039 can be called without setting up the entire mode first. This fixes
11040 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 11041
9a6dd747
CY
110422012-02-06 Chong Yidong <cyd@gnu.org>
11043
2d16b285
CY
11044 * simple.el (list-processes--refresh): Delete exited processes
11045 (Bug#8094).
11046
171e9b6e
CY
11047 * comint.el (comint-next-prompt): next-single-char-property-change
11048 and prev-single-char-property-change never return nil (Bug#8657).
11049
9a6dd747
CY
11050 * custom.el (defcustom): Doc fix (Bug#9711).
11051
aa4589a7
CY
110522012-02-05 Chong Yidong <cyd@gnu.org>
11053
5c2a252f
CY
11054 * cus-edit.el (custom-variable-reset-backup): Quote the value
11055 before storing it in the customized-value property (Bug#6712).
4aab9006 11056 (custom-display): Add a customization type tag.
983b9602 11057 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 11058
aa4589a7
CY
11059 * wid-edit.el (widget-field-value-get): New optional arg to
11060 suppress trailing whitespace truncation.
11061 (character): Use it (Bug#2689).
11062
1ff980ae
AS
110632012-02-05 Andreas Schwab <schwab@linux-m68k.org>
11064
11065 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
11066 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
11067
03988c98
CY
110682012-02-05 Chong Yidong <cyd@gnu.org>
11069
eeb6cc88
CY
11070 * cus-edit.el (custom-variable-value-create): For mismatched
11071 types, show the current value (Bug#7600).
11072
03988c98
CY
11073 * custom.el (defcustom): Doc fix.
11074
f8cdeef0
GM
110752012-02-05 Glenn Morris <rgm@gnu.org>
11076
11077 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
11078
0696d255
JB
110792012-02-05 Juanma Barranquero <lekktu@gmail.com>
11080
11081 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
11082 (pp-buffer): Use `ignore-errors', `looking-at-p'.
11083 (pp-last-sexp): Use `looking-at-p'.
11084
34c99998
GM
110852012-02-04 Glenn Morris <rgm@gnu.org>
11086
8f05da42
GM
11087 * files.el (revert-buffer):
11088 Doc fix (mention revert-buffer-in-progress-p).
11089
f160676e
GM
11090 * emacs-lisp/ert-x.el (ert-simulate-command):
11091 Check deferred-action-list (which is obsolete) is bound.
11092
c7291ad9
GM
11093 * subr.el (with-wrapper-hook): Doc fixes.
11094
34c99998
GM
11095 * simple.el (filter-buffer-substring-functions)
11096 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
11097
6283a7d3
LL
110982012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
11099
11100 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
11101 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
11102
e96e3013
LL
111032012-02-04 Leo Liu <sdl.web@gmail.com>
11104
11105 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
11106
8ded50f2
GM
111072012-02-04 Glenn Morris <rgm@gnu.org>
11108
82ff1d13
GM
11109 * image.el (image-extension-data): Add obsolete alias.
11110
987a0a16
GM
11111 * isearch.el (isearch-update): Doc fix.
11112
ea32ef46
GM
11113 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
11114
8ded50f2
GM
11115 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
11116
eea14f31
GM
111172012-02-03 Glenn Morris <rgm@gnu.org>
11118
11119 * image.el (image-animated-p): Doc fix. Use image-animated-types.
11120 (image-animate-timeout): Doc fix.
11121
11122 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
11123
12f381b7
GM
111242012-02-02 Glenn Morris <rgm@gnu.org>
11125
953cebf5
GM
11126 * server.el (server-auth-dir): Doc fix.
11127 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
11128
12f381b7
GM
11129 * subr.el (run-mode-hooks): Doc fix.
11130
953a8c3b
JL
111312012-02-02 Juri Linkov <juri@jurta.org>
11132
11133 * image-mode.el (image-toggle-display-image): Remove tautological
11134 `major-mode' from the `derived-mode-p' test.
11135
c5d3843c
KH
111362012-02-02 Kenichi Handa <handa@m17n.org>
11137
9f6e692e 11138 * composite.el (compose-region): Cancel previous change.
c5d3843c 11139
159462d4 111402012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
11141
11142 * composite.el (compose-region, compose-string): Signal error for
11143 a null string component (Bug#6988).
11144
9f562668
CY
111452012-02-01 Chong Yidong <cyd@gnu.org>
11146
e2cef717
CY
11147 * view.el (view-buffer-other-window, view-buffer-other-frame):
11148 Handle special modes like view-buffer (Bug#10650).
11149 (view-buffer): Simplify.
11150
9f562668
CY
11151 * frame.el (set-frame-font): Tweak meaning of third argument.
11152
9f6e692e
JB
11153 * dynamic-setting.el (font-setting-change-default-font):
11154 Use set-frame-font (Bug#9982).
9f562668 11155
781acb9f
GM
111562012-02-01 Glenn Morris <rgm@gnu.org>
11157
6035be52
GM
11158 * progmodes/compile.el (compilation-internal-error-properties):
11159 Respect compilation-first-column in the "*compilation*" buffer.
11160
781acb9f
GM
11161 * emacs-lisp/easy-mmode.el (define-minor-mode):
11162 Relax :variable's test for a named function.
11163
abbceb00
AM
111642012-01-31 Alan Mackenzie <acm@muc.de>
11165
11166 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
11167 off by one error.
11168
fce3fdeb
CY
111692012-01-31 Chong Yidong <cyd@gnu.org>
11170
11171 * frame.el (set-frame-font): New arg ALL-FRAMES.
11172
11173 * menu-bar.el (menu-set-font): Use set-frame-font.
11174
11175 * faces.el (face-spec-reset-face): Don't apply unspecified
11176 attribute values to the default face.
11177
47893581
JB
111782012-01-31 Juanma Barranquero <lekktu@gmail.com>
11179
11180 * progmodes/cwarn.el (cwarn): Remove dead link.
11181 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
11182 Remove * from defcustom docstrings.
11183 (turn-on-cwarn-mode): Make obsolete.
11184 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
11185 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
11186
e58e988a
GM
111872012-01-31 Glenn Morris <rgm@gnu.org>
11188
60dc2671 11189 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 11190 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 11191 Allow named functions to be used as the cdr of :variable.
e58e988a 11192
7a3f511d
GM
111932012-01-30 Glenn Morris <rgm@gnu.org>
11194
11195 * emacs-lisp/authors.el (authors-fixed-entries):
11196 Remove reference to deleted file rnewspost.el.
11197
cb882333
JB
111982012-01-29 Juanma Barranquero <lekktu@gmail.com>
11199
11200 * window.el (window-with-parameter): Remove unused variable `windows'.
11201 (window--side-check): Remove unused variable `code'.
11202 (window--resize-siblings): Remove unused variable `first'.
11203 (adjust-window-trailing-edge): Remove unused variable `failed'.
11204 (window-deletable-p, window--delete): Remove unused variable `buffer'.
11205 Use `let', not `let*'.
11206 (balance-windows-2): Remove unused variable `found'.
11207 (window--state-put-2): Remove unused variable `splits'.
11208 (window-state-put): Remove unused variable `selected'.
11209 (same-window-p): Use `string-match-p'.
11210 (display-buffer-assq-regexp): Remove unused variable `value'.
11211 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
11212 Mark argument ALIST as ignored.
11213 (pop-to-buffer): Remove unused variable `old-window'.
11214
907201af
EZ
112152012-01-29 Eli Zaretskii <eliz@gnu.org>
11216
11217 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
11218 and .lzma compressed files.
11219
ea162670
CY
112202012-01-29 Chong Yidong <cyd@gnu.org>
11221
5b95ee8a
CY
11222 * frame.el (window-system-default-frame-alist): Doc fix.
11223
ea162670
CY
11224 * dynamic-setting.el (font-setting-change-default-font): Don't
11225 change the default face if SET-FONT argument is non-nil (Bug#9982).
11226
d6e6f4b1
SB
112272012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
11228
11229 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
11230
0f29fa41 112312012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
11232
11233 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
11234 breakpoints in files outside current directory (Bug#6098).
11235
db174434
CY
112362012-01-29 Chong Yidong <cyd@gnu.org>
11237
6b25e4e2
SE
11238 * progmodes/python.el: Require ansi-color at top-level.
11239
6df6ae42
JB
11240 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
11241 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
11242 (lisp-mode-abbrev-table): Add doc.
11243 (lisp-mode-variables): Don't set local-abbrev-table.
11244 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
11245
e70ee681
RW
112462012-01-28 Roland Winkler <winkler@gnu.org>
11247
11248 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
11249
ace88aa2
RW
112502012-01-28 Roland Winkler <winkler@gnu.org>
11251
11252 * textmodes/bibtex.el (bibtex-entry-alist): New function.
11253 (bibtex-set-dialect): Use it. Either set global values of
11254 dialect-dependent variables or bind these variables buffer-locally
11255 (Bug#10254).
11256 (bibtex-mode): Call bibtex-set-dialect via
11257 hack-local-variables-hook.
eb864a71
LM
11258 (bibtex-dialect): Update docstring.
11259 Add safe-local-variable predicate.
ace88aa2
RW
11260 (bibtex-entry-alist, bibtex-field-alist): Initialize via
11261 bibtex-set-dialect.
11262 (bibtex-mode-map): Define menu for each dialect.
11263 (bibtex-entry): Fix docstring.
11264
93376c5b
CY
112652012-01-28 Chong Yidong <cyd@gnu.org>
11266
11267 * eshell/esh-arg.el (eshell-quote-argument): New function.
11268
11269 * eshell/esh-ext.el (eshell-invoke-batch-file):
11270 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
11271 first arg to eshell-parse-command (Bug#10523).
11272
4372494f
DA
112732012-01-28 Drew Adams <drew.adams@oracle.com>
11274
11275 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
11276 `default-directory' is non-nil.
11277
4d4ec1f8
EZ
112782012-01-28 Eli Zaretskii <eliz@gnu.org>
11279
11280 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
11281 line that displays system-configuration-options. (Bug#9924)
11282
7c188927
DA
112832012-01-28 Drew Adams <drew.adams@oracle.com>
11284
11285 * descr-text.el (describe-char): Show information about POS, in
11286 addition to information about the character at POS. Improve and
11287 update the doc string. Change "code point" to "code point in
11288 charset", to avoid confusion with the character's Unicode code
11289 point shown above that. (Bug#10129)
11290
e0da685a
EZ
112912012-01-28 Eli Zaretskii <eliz@gnu.org>
11292
11293 * descr-text.el (describe-char): Show the raw character, not only
11294 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
11295 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
11296 for the reasons.
11297
70550acf
PH
112982012-01-28 Phil Hagelberg <phil@hagelb.org>
11299
eb864a71
LM
11300 * emacs-lisp/package.el (package-install):
11301 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 11302
0ce8e868
CY
113032012-01-28 Chong Yidong <cyd@gnu.org>
11304
cb882333
JB
11305 * emacs-lisp/package.el (package-maybe-load-descriptor):
11306 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
11307 (package-maybe-load-descriptor): Use it.
11308 (package-download-transaction): Fully load required packages
11309 inside the loop, so that `require' calls work (Bug#10593).
11310 (package-install): No need to call package-initialize now.
11311
2e7f3bea
CY
113122012-01-28 Chong Yidong <cyd@gnu.org>
11313
6e9bad14
CY
11314 * simple.el (deactivate-mark): Doc fix (Bug#8614).
11315
f823b8ca
CY
11316 * tooltip.el (tooltip-mode): Doc fix.
11317 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
11318
2680c309
CY
11319 * frame.el (set-cursor-color): Doc fix (Bug#352).
11320
d7a9e63b
CY
11321 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
11322 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
11323
2e7f3bea
CY
11324 * cus-edit.el (custom-buffer-create-internal): Fix search button
11325 action (Bug#10542).
2ae01800 11326 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 11327
fc4f7a23
EW
113282012-01-27 Eduard Wiebe <usenet@pusto.de>
11329
11330 * dired.el (dired-mark-files-regexp):
11331 Include any subdirectory components. (Bug#10445)
11332
7dd37071
ML
113332012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
11334
11335 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
11336 Handle [host]:port syntax. (Bug#10533)
11337
a268160b
AH
113382012-01-27 Alex Harsanyi <harsanyi@mac.com>
11339
11340 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
11341
e43273ef
GM
113422012-01-26 Glenn Morris <rgm@gnu.org>
11343
11344 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
11345 * term.el (term-raw-escape-map): Use Control-X-prefix.
11346 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
11347
1edf595d
MR
113482012-01-25 Martin Rudalics <rudalics@gmx.at>
11349
11350 * window.el (window-state-get, window--state-get-1): Don't deal
11351 with fixed-sizeness of windows. Simplify code.
11352
fa8eafef
JC
113532012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
11354
6df6ae42
JB
11355 * window.el (window--state-get-1, window--state-put-2):
11356 Don't save and restore the mark.
fa8eafef 11357
0b21c100
CY
113582012-01-25 Chong Yidong <cyd@gnu.org>
11359
11360 * custom.el (custom-variable-p): Doc fix.
11361
5ae1a6c8
GM
113622012-01-25 Glenn Morris <rgm@gnu.org>
11363
40047858
GM
11364 * dired.el (dired-goto-file): Handle some of the more common
11365 characters that `ls -b' escapes. (Bug#10596)
11366
5ddce96c
GM
11367 * progmodes/compile.el (compilation-next-error-function):
11368 Respect compilation-first-column in the "*compilation*" buffer.
11369 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
11370
5ae1a6c8
GM
11371 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
11372
b559f1a9
GM
113732012-01-24 Glenn Morris <rgm@gnu.org>
11374
11375 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
11376
6725d21a
JD
113772012-01-24 Julien Danjou <julien@danjou.info>
11378
11379 * color.el (color-rgb-to-hsl): Fix value computing.
11380 (color-hue-to-rgb): New function.
11381 (color-hsl-to-rgb): New function.
11382 (color-clamp, color-saturate-hsl, color-saturate-name)
11383 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
11384 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
11385
70df4bbe
GM
113862012-01-24 Glenn Morris <rgm@gnu.org>
11387
11388 * vc/vc-rcs.el (vc-rcs-create-tag):
11389 * vc/vc-sccs.el (vc-sccs-create-tag):
11390 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
11391
802a2ae2
ML
113922012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
11393
11394 * eshell/esh-util.el (eshell-read-hosts-file):
11395 Skip comment lines. (Bug#10549)
11396
d7128bb1
ML
11397 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
11398
d1a5c3b4
JB
113992012-01-23 Juanma Barranquero <lekktu@gmail.com>
11400
2724d9c7
JB
11401 * subr.el (display-delayed-warnings): Doc fix.
11402 (collapse-delayed-warnings): New function to collapse identical
11403 adjacent warnings.
11404 (delayed-warnings-hook): Add it.
d1a5c3b4 11405
a5509865
MA
114062012-01-22 Michael Albinus <michael.albinus@gmx.de>
11407
11408 * net/tramp.el (tramp-action-login): Set connection property "login-as".
11409
a5509865
MA
11410 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
11411 (tramp-default-user-alist): Don't add "pscp".
11412 (tramp-do-copy-or-rename-file-out-of-band): Use connection
11413 property "login-as", if set. (Bug#10530)
11414
cc6d5805
MA
114152012-01-21 Michael Albinus <michael.albinus@gmx.de>
11416
11417 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
11418 "plink1" and "psftp". (Bug#10530)
11419
114202012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
11421
11422 * international/mule-cmds.el (prefer-coding-system): Show a
11423 warning message if the default value of file-name-coding-system
11424 was not changed.
11425
f0960428
JC
114262012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
11427
cb882333
JB
11428 * windmove.el (windmove-reference-loc):
11429 Fix windmove-reference-loc miscalculation.
f0960428 11430
dd6f2a63
JB
114312012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
11432
11433 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
11434 default unit.
11435
7b447e9b
GM
114362012-01-21 Glenn Morris <rgm@gnu.org>
11437
117a9ea1
GM
11438 * international/mule.el (auto-coding-alist): Add .tbz.
11439
7b447e9b
GM
11440 * files.el (local-enable-local-variables): Doc fix.
11441 (inhibit-local-variables-regexps): Rename from
11442 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
11443 Doc fix. Add some extensions from auto-coding-alist.
11444 (inhibit-local-variables-suffixes):
11445 Rename from inhibit-first-line-modes-suffixes. Doc fix.
11446 (inhibit-local-variables-p):
11447 New function, extracted from set-auto-mode-1.
11448 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
11449 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
11450 (hack-local-variables): Doc fix. Make the mode-only case
11451 respect enable-local-variables and friends.
11452 Respect inhibit-local-variables-regexps for file-locals, but
11453 not for directory-locals.
11454 (set-visited-file-name):
11455 Take account of inhibit-local-variables-regexps.
11456 Whether it applies may change as the file name is changed.
11457 * jka-cmpr-hook.el (jka-compr-install):
11458 * jka-compr.el (jka-compr-uninstall):
11459 Update for inhibit-first-line-modes-suffixes name change.
11460
dd6e3cdd
MR
114612012-01-20 Martin Rudalics <rudalics@gmx.at>
11462
11463 * help-macro.el (make-help-screen): Temporarily restore original
11464 binding for minor-mode-map-alist (Bug#10454).
11465
0d0deb38
JD
114662012-01-19 Julien Danjou <julien@danjou.info>
11467
11468 * color.el (color-name-to-rgb): Use the white color to find the max
11469 color component value and return correctly computed values.
11470 (color-name-to-rgb): Add missing float conversion for max value.
11471
34a02f46
MR
114722012-01-19 Martin Rudalics <rudalics@gmx.at>
11473
11474 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
11475 special state value for window-persistent-parameters.
11476 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
11477 (window--state-put-2): Reset all window parameters to nil before
11478 assigning values of persistent parameters.
11479
606c44c4
AM
114802012-01-18 Alan Mackenzie <acm@muc.de>
11481
11482 Eliminate sluggishness and hangs in fontification of "semicolon
11483 deserts".
11484
cb882333
JB
11485 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
11486 Change value 10000 -> 3000.
606c44c4
AM
11487 (c-state-safe-place): Reformulate so it doesn't stack up an
11488 infinite number of wrong entries in c-state-nonlit-pos-cache.
11489 (c-determine-limit-get-base, c-determine-limit): New functions to
11490 determine backward search limits disregarding literals.
11491 (c-find-decl-spots): Amend commenting.
11492 (c-cheap-inside-bracelist-p): New function which detects "={".
11493
11494 * progmodes/cc-fonts.el
11495 (c-make-font-lock-BO-decl-search-function): Give a limit to a
11496 backward search.
11497 (c-font-lock-declarations): Fix an occurrence of point being
11498 undefined. Check additionally for point being in a bracelist or
11499 near a macro invocation without a semicolon so as to avoid a
11500 fruitless time consuming search for a declarator. Give a more
11501 precise search limit for declarators using the new
11502 c-determine-limit.
11503
f3860cea
GM
115042012-01-18 Glenn Morris <rgm@gnu.org>
11505
11506 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
11507 (set-auto-mode): Doc fixes.
11508
1db03b16
GM
115092012-01-17 Glenn Morris <rgm@gnu.org>
11510
0e6038be
GM
11511 * isearch.el (search-nonincremental-instead): Fix doc typo.
11512
1db03b16
GM
11513 * dired.el (dired-insert-directory): Handle newlines in directory name.
11514 (dired-build-subdir-alist): Unescape newlines in directory name.
11515
4cb0aa75
MA
115162012-01-17 Michael Albinus <michael.albinus@gmx.de>
11517
11518 * net/tramp.el (tramp-local-end-of-line): New defcustom.
11519 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
11520 (tramp-action-terminal): Use it. (Bug#10530)
11521
1d00653d
SM
115222012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
11523
11524 * minibuffer.el (completion--replace): Strip properties (bug#10062).
11525
6a6ee00d
MR
115262012-01-16 Martin Rudalics <rudalics@gmx.at>
11527
11528 * window.el (window-state-ignored-parameters): Remove variable.
11529 (window--state-get-1): Rename argument MARKERS to IGNORE.
11530 Handle persistent window parameters. Make copy of clone-of
11531 parameter only if requested. (Bug#10348)
11532 (window--state-put-2): Install a window parameter only if it has
11533 a non-nil value or an existing parameter shall be overwritten.
11534
97912def
MA
115352012-01-15 Michael Albinus <michael.albinus@gmx.de>
11536
11537 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
11538
688070a5
EZ
115392012-01-14 Eli Zaretskii <eliz@gnu.org>
11540
11541 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
11542 don't pass the (nil) value of `upnode' to string-match.
11543
301afadc
CY
115442012-01-14 Chong Yidong <cyd@gnu.org>
11545
11546 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 11547 Fix values recognized by the cursorBlink resource.
301afadc 11548
9e5788aa
PE
115492012-01-14 Paul Eggert <eggert@cs.ucla.edu>
11550
11551 * epg.el (epg--make-temp-file): Avoid permission race condition
11552 when running on old Emacs versions (bug#10403).
11553
3cdb7f5a
GM
115542012-01-14 Glenn Morris <rgm@gnu.org>
11555
11556 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
11557
8c82b1b4
AM
115582012-01-13 Alan Mackenzie <acm@muc.de>
11559
11560 Fix filling for when filladapt mode is enabled.
11561
11562 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
11563 c-mask-paragraph, pass in `fill-paragraph' rather than
11564 `fill-region-as-paragraph'. (This is a reversion of a previous
11565 change.)
eb864a71
LM
11566 * progmodes/cc-mode.el (c-basic-common-init):
11567 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 11568
e517eda4
GM
115692012-01-13 Glenn Morris <rgm@gnu.org>
11570
1498536e
GM
11571 * dired.el (dired-switches-escape-p): New function.
11572 (dired-insert-directory): Use dired-switches-escape-p.
11573 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
11574
e517eda4
GM
11575 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
11576
328f984d
GM
115772012-01-12 Glenn Morris <rgm@gnu.org>
11578
11579 * mail/sendmail.el (mail-mode): Update paragraph-separate for
11580 changes in adaptive-fill-regexp. (Bug#10276)
11581
2cc769a8
AM
115822012-01-11 Alan Mackenzie <acm@muc.de>
11583
11584 Fix Emacs bug #10463 - put `widen's around the critical spots.
11585
1d00653d 11586 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
11587 widen around each invocation of c-state-pp-to-literal. Remove an
11588 unused let variable.
11589
e52c37fa
GM
115902012-01-11 Glenn Morris <rgm@gnu.org>
11591
11592 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 11593 Doc fix.
e52c37fa 11594
96f8741e
CY
115952012-01-10 Chong Yidong <cyd@gnu.org>
11596
1d00653d
SM
11597 * net/network-stream.el (network-stream-open-starttls):
11598 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
11599 response to the capability command.
11600
b09a806e
GM
116012012-01-10 Glenn Morris <rgm@gnu.org>
11602
11603 * mail/unrmail.el (unrmail): Tweak previous change.
11604
7655cb66
CY
116052012-01-09 Chong Yidong <cyd@gnu.org>
11606
11607 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
11608
9d5a8f0b
AM
116092012-01-08 Alan Mackenzie <acm@muc.de>
11610
11611 Optimise font locking in long enum definitions.
11612
11613 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
11614 arm to a cond form to handle enums.
11615 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
11616 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
11617
9a0115ab 116182012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
11619
11620 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 11621 (Bug#10401)
6bb72cbd 11622
f186bb95
LMI
116232012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
11624
29232a68
LMI
11625 * faces.el (set-face-attribute): Clarify the meaning of the nil
11626 frame (bug#10294).
11627
4e5d086d
LMI
11628 * subr.el (with-selected-frame): Mention that the selected frame
11629 is restored (bug#9980).
11630
8e66aebe
LMI
11631 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
11632 (bug#9759).
11633
cd394be1 11634 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
11635 (password-read): Don't autoload unused function.
11636
adf4e762
JB
116372012-01-07 Juanma Barranquero <lekktu@gmail.com>
11638
11639 * progmodes/which-func.el (which-func-mode): Turn into a
11640 non-interactive function and mark as obsolete (bug#10428).
11641
89bd9ccd
CY
116422012-01-06 Chong Yidong <cyd@gnu.org>
11643
11644 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
11645 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
11646 functions, along with 1 and -1.
11647
4afee9d5
EZ
116482012-01-06 Eli Zaretskii <eliz@gnu.org>
11649
11650 * time.el (display-time-load-average)
11651 (display-time-default-load-average): Doc fixes. See the thread
11652 starting at
11653 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
11654 for the details.
11655
536aea70
GM
116562012-01-06 Glenn Morris <rgm@gnu.org>
11657
665ae865
GM
11658 * mail/unrmail.el (unrmail): Give an explicit error if the input file
11659 has no messages. (Bug#10377)
11660
c869783d
GM
11661 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
11662 than Info-edit. (Bug#10385)
11663
2bb4227e
GM
11664 * time.el (display-time-load-average, display-time-next-load-average):
11665 Doc fixes.
11666
7d5944b9
GM
11667 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
11668 local setting of buffer-read-only to the input buffer. (Bug#10419)
11669
536aea70
GM
11670 * calendar/calendar.el (calendar-mode):
11671 Locally set scroll-margin to 0. (Bug#10379)
11672
7dccca16
UM
116732012-01-06 Ulrich Mueller <ulm@gentoo.org>
11674
11675 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
11676
afbb7930
GM
116772012-01-05 Glenn Morris <rgm@gnu.org>
11678
11679 * eshell/em-unix.el (diff-no-select): Autoload it.
11680 (eshell/diff): Use diff-no-select. (Bug#10420)
11681
04482335
CY
116822012-01-05 Chong Yidong <cyd@gnu.org>
11683
7baca3bc
CY
11684 * shell.el (shell-dynamic-complete-functions): Revert last change.
11685 (shell-command-completion-function): New function.
11686 (shell-completion-vars): Use it to implement
11687 shell-completion-execonly (Bug#10417).
11688
04482335
CY
11689 * custom.el (enable-theme): Don't set custom-safe-themes.
11690
1d00653d
SM
11691 * cus-theme.el (custom-theme-merge-theme):
11692 Ignore custom-enabled-themes and custom-safe-themes.
04482335 11693
bb5aa5d6
MM
116942012-01-05 Michael R. Mauger <mmaug@yahoo.com>
11695
11696 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
11697 first prompt in `sql-interacive-mode'.
11698 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 11699 keywords.
6df6ae42 11700 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
11701 (sql-product-interactive): Bug fix: Set `sql-buffer' in
11702 context of original buffer. Invoke `sql-login-hook'.
11703
a7183d7c
EZ
117042012-01-04 Eli Zaretskii <eliz@gnu.org>
11705
11706 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
11707 letters in cite-prefix.
11708
a1eacd1e
LMI
117092012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11710
11711 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
11712
787cdb34
CY
117132012-01-03 Chong Yidong <cyd@gnu.org>
11714
1d00653d
SM
11715 * shell.el (shell-dynamic-complete-functions):
11716 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
11717 comint-filename-completion first (Bug#10417).
11718
30710442
RS
117192012-01-02 Richard Stallman <rms@gnu.org>
11720
11721 * battery.el (battery-status-function):
11722 Detect when to use battery-yeeloong-sysfs.
11723 (battery-echo-area-format): Add string for Yeeloong.
11724 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
11725 (battery-yeeloong-sysfs): New function.
11726
f75bfc33
CY
117272012-01-02 Chong Yidong <cyd@gnu.org>
11728
11729 * dirtrack.el (dirtrack-list): Eliminate unused third element.
11730 (dirtrack): Merge code for handling relative filenames in prompt
11731 from shell-dir-cookie-watcher.
11732 (dirtrack-debug-message): New arg to avoid excess format calls.
11733
11734 * shell.el (shell-dir-cookie-re): Variable deleted.
11735 (shell-dir-cookie-watcher): Function deleted.
11736 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
11737 with dirtrack-mode.
11738
651e947e
EZ
117392012-01-01 Eli Zaretskii <eliz@gnu.org>
11740
1d00653d
SM
11741 * term/w32-win.el (dynamic-library-alist) <gnutls>:
11742 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
11743 libgnutls-26.dll.
11744
94d4c7dc
AS
117452011-12-31 Andreas Schwab <schwab@linux-m68k.org>
11746
11747 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
11748
8d43f3cd
EZ
117492011-12-31 Eli Zaretskii <eliz@gnu.org>
11750
11751 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
11752 headers of non-MIME messages, when rmail-enable-mime is non-nil.
11753
98c8795a
MA
117542011-12-29 Michael Albinus <michael.albinus@gmx.de>
11755
11756 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
11757 also for alternative shells.
11758 (tramp-open-connection-setup-interactive-shell): Check, whether
11759 the shell is a busybox.
11760 (tramp-send-command): Don't suppress multiple prompts for
11761 busyboxes, it hurts.
11762
51281b32
CY
117632011-12-28 Chong Yidong <cyd@gnu.org>
11764
11765 * progmodes/gdb-mi.el (gdb-get-source-file-list)
11766 (gdb-get-source-file): Move mode line update to
11767 gdb-get-source-file (Bug#10087).
11768
2170cb53
CY
117692011-12-25 Chong Yidong <cyd@gnu.org>
11770
11771 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
11772 gud-gdb-marker-filter without taking it as an argument.
11773 (gud-gdb-run-command-fetch-lines): Caller changed.
11774 (gud-gdb-completion-function): New variable.
11775 (gud-gdb-completion-at-point): Use it.
11776 (gud-gdb-completions-1): Split from gud-gdb-completions.
11777
11778 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
11779 function as separate arguments.
11780 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
11781 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
11782 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
11783 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
11784 (gdb-stopped, def-gdb-auto-update-trigger)
11785 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
11786 (gdb-get-changed-registers, gdb-get-main-selected-frame):
11787 Callers changed.
2170cb53
CY
11788 (gud-gdbmi-completions): New function.
11789 (gdb): Use it for generating the completion table.
11790
be8b11bb
AM
117912011-12-24 Alan Mackenzie <acm@muc.de>
11792
11793 Introduce a mechanism to widen the region used in context font
1d00653d 11794 locking. Use this to protect declarations from losing their contexts.
be8b11bb 11795
1d00653d
SM
11796 * progmodes/cc-langs.el (c-before-font-lock-functions):
11797 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 11798 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
11799 functions to be run just before context (etc.) font locking.
11800
11801 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 11802 New, functionality extracted from
be8b11bb 11803 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 11804 (c-in-after-change-fontification): New variable.
be8b11bb
AM
11805 (c-after-change): Set c-in-after-change-fontification.
11806 (c-set-fl-decl-start): Rejig its interface, so it can be called
11807 from both after-change and context fontifying.
b81d40f0
JB
11808 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
11809 New functions.
11810 (c-standard-font-lock-fontify-region-function): New variable.
11811 (c-font-lock-fontify-region): New function.
be8b11bb 11812
341cf6ac
JL
118132011-12-24 Juri Linkov <juri@jurta.org>
11814
11815 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
11816 (Bug#10348)
11817
bffcee0a
MA
118182011-12-23 Michael Albinus <michael.albinus@gmx.de>
11819
11820 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
11821 existence of source file. (Bug#10325)
11822
cb5e207c
AM
118232011-12-23 Alan Mackenzie <acm@muc.de>
11824
11825 Fix unstable fontification inside templates.
11826
b81d40f0
JB
11827 * progmodes/cc-langs.el (c-before-font-lock-functions):
11828 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
11829 additionally has c-set-fl-decl-start. The other languages (apart
11830 from AWK) have that as a single entry.
11831
b81d40f0
JB
11832 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
11833 The functionality for "local" declarations has been extracted to
cb5e207c
AM
11834 c-set-fl-decl-start.
11835
b81d40f0
JB
11836 * progmodes/cc-mode.el (c-common-init, c-after-change):
11837 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
11838 (c-set-fl-decl-start): New function, extracted from
11839 c-font-lock-enclosing-decls and enhanced.
11840
60ff536c
JB
118412011-12-23 Juanma Barranquero <lekktu@gmail.com>
11842
11843 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
11844
1c4757d6
JL
118452011-12-22 Juri Linkov <juri@jurta.org>
11846
11847 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
11848
d031f2c7
CY
118492011-12-22 Chong Yidong <cyd@gnu.org>
11850
11851 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
11852
bace743a
DA
118532011-12-21 Drew Adams <drew.adams@oracle.com>
11854
11855 * files.el (file-remote-p): Fix docstring. (Bug#10319)
11856
728a1f2b
JC
118572011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
11858
11859 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
11860
0d373f73
TZ
118612011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
11862
fec0aaa4
TZ
11863 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
11864 highlighting and support. Fix up comments for capitalization.
11865 (cfengine-mode-debug): New var.
11866 (cfengine3-mode): Change the modeline indicator to "CFE3".
11867 (cfengine3-font-lock-keywords): Improve defun highlighting.
11868 (cfengine2-actions): Rename from `cfengine-actions'.
11869 (cfengine2-font-lock-keywords): Rename from
11870 `cfengine-font-lock-keywords'.
11871 (cfengine2-imenu-expression): Rename from
11872 `cfengine-imenu-expression'.
11873 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
11874 (cfengine2-beginning-of-defun): Rename from
11875 `cfengine-beginning-of-defun'.
11876 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
11877 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
11878 (cfengine2-mode): Rename from `cfengine-mode'. Change the
11879 modeline indicator to "CFE2".
11880 (cfengine-mode): Defalias to `cfengine-auto-mode'.
11881 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 11882
bc86f573
CY
118832011-12-21 Chong Yidong <cyd@gnu.org>
11884
11885 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
11886 filename argument.
11887
d45ba96b
MR
118882011-12-20 Martin Rudalics <rudalics@gmx.at>
11889
11890 * window.el (window-normalize-buffer-to-display): Remove.
11891 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
11892
a6198c90
CY
118932011-12-19 Chong Yidong <cyd@gnu.org>
11894
11895 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
11896 Don't signal an error in a predicate function; return non-nil.
11897 (vc-dir-mark-file): Move the error here.
11898 (vc-dir-mark-unmark): If acting on the region, keep going if one
11899 of the entries cannot be marked/unmarked.
11900 (vc-dir-mark-all-files): If current entry is a directory, mark
11901 only child files, as documented.
11902
34c5fb55
VB
119032011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
11904
11905 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
11906 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
11907 addition.
11908
c803b2b7
JD
119092011-12-18 Jan Djärv <jan.h.d@swipnet.se>
11910
11911 * term/ns-win.el (ns-get-selection-internal)
11912 (ns-store-selection-internal): Declare.
1154d12e
JB
11913 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
11914 Declare as obsolete.
11915 (ns-get-pasteboard, ns-paste-secondary):
11916 Use ns-get-selection-internal.
41e9b956 11917 (ns-set-pasteboard, ns-copy-including-secondary):
1154d12e 11918 Use ns-store-selection-internal.
c803b2b7 11919
9cff91f8 119202011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
11921
11922 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 11923 (vc-deduce-fileset): Doc fix.
99a289d9 11924
f16c898a
AS
119252011-12-16 Andreas Schwab <schwab@linux-m68k.org>
11926
11927 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
11928
763237c4
SS
119292011-12-13 Sam Steingold <sds@gnu.org>
11930
11931 * man.el (Man-getpage-in-background): When running under a
11932 window-system, ignore $MANWIDTH and $COLUMNS.
11933
5fc1c122
KH
119342011-12-15 Kenichi Handa <handa@m17n.org>
11935
11936 * language/ethio-util.el: Change coding tag to utf-8-emacs.
11937 (setup-ethiopic-environment-internal): Comment out key-binding for
11938 ethio-toggle-punctuation.
11939
13d49cbb
AM
119402011-12-13 Alan Mackenzie <acm@muc.de>
11941
898169a2
AM
11942 Add the switch statement to AWK Mode.
11943
7a71b18d 11944 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
11945 "default" to the keywords regexp.
11946
7a71b18d 11947 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 11948 expression as the rest.
1d00653d
SM
11949 (c-nonlabel-token-key): Allow string literals for AWK.
11950 Refactor for the other modes.
898169a2 11951
13d49cbb 11952 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 11953 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
11954 routines. Limit backward searching in c-font-lock-enclosing.decl.
11955
11956 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
11957 pp-state and literal type in addition to the limits.
1d00653d 11958 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 11959 (c-state-literal-at): Use the above new defun.
1d00653d
SM
11960 (c-slow-in-literal, c-fast-in-literal): Remove.
11961 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
11962
11963 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
11964 being in a literal. Add a limit for backward searching.
11965
11966 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
11967 c-slow-in-literal.
11968
15e0efc7
SM
119692011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
11970
11971 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
11972
454592a6
MR
119732011-12-13 Martin Rudalics <rudalics@gmx.at>
11974
11975 * window.el (delete-other-windows): Use correct frame in call to
11976 window-with-parameter.
11977
87393f26
DP
119782011-12-12 Daniel Pfeiffer <occitan@t-online.de>
11979
11980 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
11981 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
11982 (makefile-gmake-statements, makefile-makepp-statements):
11983 Use it and add new makepp keywords.
11984 (makefile-makepp-font-lock-keywords): Add new patterns.
11985 (makefile-match-function-end): Match new [...] and [[...]].
11986
11636b22
JB
119872011-12-11 Juanma Barranquero <lekktu@gmail.com>
11988
11989 * ses.el (ses-call-printer-return, ses-cell-property-get)
11990 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
11991 (ses-create-cell-variable, ses-reset-header-string)
11992 (ses-cell-set-formula, ses-repair-cell-reference-all)
11993 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
11994 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
11995 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
11996 (ses-aset-with-undo, ses-load, ses-truncate-cell)
11997 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
11998 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
11999 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
12000 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
12001 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
12002 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
12003 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
12004 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
12005
cf018193
VB
120062011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
12007
12008 * ses.el: The overall change is to add cell renaming, that is
12009 setting fancy names for cell symbols other than name matching
12010 "\\`[A-Z]+[0-9]+\\'" regexp .
12011 (ses-create-cell-variable): New defun.
12012 (ses-relocate-formula): Relocate formulas only for cells the
12013 symbols of which are not renamed, i.e. symbols whose names do not
12014 match regexp "\\`[A-Z]+[0-9]+\\'".
12015 (ses-relocate-all): Relocate values only for cells the symbols of
12016 which are not renamed.
12017 (ses-load): Create cells variables as the (ses-cell ...) are read,
12018 in order to check row col consistency with cell symbol name only
12019 for cells that are not renamed.
12020 (ses-replace-name-in-formula): New defun.
12021 (ses-rename-cell): New defun.
12022
ee957461
CY
120232011-12-11 Chong Yidong <cyd@gnu.org>
12024
12025 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
12026 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
12027
9a9e9ef0
MR
120282011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
12029
12030 * window.el (other-window): Fix docstring.
12031
92a8eba5
EZ
120322011-12-10 Eli Zaretskii <eliz@gnu.org>
12033
12034 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
12035 `from' or `to' address before taking its substring.
12036 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
12037 encoded name is chopped in the middle of the encoded string, and
12038 thus displayed encoded.
12039
e152e577
JB
120402011-12-10 Juanma Barranquero <lekktu@gmail.com>
12041
12042 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
12043
e5d84bfe
EZ
120442011-12-10 Eli Zaretskii <eliz@gnu.org>
12045
12046 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
12047 to use texinfo-update-node and commands that call it if the
12048 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 12049 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
12050 (texinfo-all-menus-update, texinfo-master-menu)
12051 (texinfo-update-node, texinfo-every-node-update)
12052 (texinfo-multiple-files-update): Doc fix. Warn against updating
12053 all the @node lines.
12054 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
12055 argument is numeric. Explain better in the doc string what the
12056 function really does.
12057 (texinfo-insert-master-menu-list): Improve the error message
12058 displayed if there's no menu in the Top node.
12059 (Bug#2975) See also this thread:
e5d84bfe
EZ
12060 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
12061
1d84e9bb
MG
120622011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
12063
12064 * speedbar.el (speedbar-supported-extension-expressions):
12065 Add .adb and .ads, commonly used for Ada source code (bug#10256).
12066
382c953b
JB
120672011-12-09 Juanma Barranquero <lekktu@gmail.com>
12068
12069 * printing.el (pr-mode-alist):
12070 * simple.el (filter-buffer-substring-functions)
12071 (completion-list-insert-choice-function):
12072 * window.el (window-with-parameter, window-atom-root)
12073 (window-sides-slots, window-size-fixed, window-min-delta)
12074 (window-max-delta, window--resize-mini-window)
12075 (window--resize-child-windows-normal, window-tree)
12076 (delete-other-windows, quit-window, split-window)
12077 (display-buffer-record-window, special-display-buffer-names)
12078 (special-display-regexps, special-display-popup-frame)
12079 (same-window-p, split-window-sensibly)
12080 (display-buffer-overriding-action, display-buffer-alist)
12081 (display-buffer-base-action, display-buffer, switch-to-buffer)
12082 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
12083 (fit-window-to-buffer, recenter-positions)
12084 (mouse-autoselect-window-state, mouse-autoselect-window-select):
12085 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
12086 and remove unneeded backslashes in docstrings.
12087
39c9faef
SM
120882011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
12089
98449af8
SM
12090 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
12091
39c9faef
SM
12092 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
12093 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
12094 end in ".mk".
12095 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
12096 when reading the makefile (bug#10116).
12097
86ed9fdc
SM
120982011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
12099
12100 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
12101 (bug#10116).
12102
5580f89d
GM
121032011-12-06 Glenn Morris <rgm@gnu.org>
12104
12105 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
12106
28d3917c
CY
121072011-12-06 Chong Yidong <cyd@gnu.org>
12108
12109 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
12110
a98edce9
JB
121112011-12-06 Juanma Barranquero <lekktu@gmail.com>
12112
12113 * textmodes/table.el (table-shorten-cell): Fix typo.
12114
e65adfac
CG
121152011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
12116
12117 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
12118
71cc0b74
EZ
121192011-12-05 Eli Zaretskii <eliz@gnu.org>
12120
12121 * descr-text.el (describe-char): Fix display of strong
12122 right-to-left characters and directional embeddings and overrides.
12123
12124 * simple.el (what-cursor-position): Fix display of codepoints of
12125 strong right-to-left characters.
12126
315bc30d
CY
121272011-12-05 Chong Yidong <cyd@gnu.org>
12128
12129 * faces.el (read-color): Doc fix.
12130
58a70b94
GM
121312011-12-05 Glenn Morris <rgm@gnu.org>
12132
12133 * align.el (align--set-marker): Add doc-string.
12134 Don't try to move something that is not a marker. (Bug#10216)
12135
5158face
GM
121362011-12-04 Glenn Morris <rgm@gnu.org>
12137
12138 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
12139 overly zealous deletion of trailing whitespace.
12140
520fca41
JB
121412011-12-04 Juanma Barranquero <lekktu@gmail.com>
12142
12143 * server.el (server-delete-client): On Windows, do not try to delete
12144 the only terminal.
12145 (server-process-filter): On Windows, treat requests for a tty frame as
12146 if they were for a GUI frame if the running server is in GUI mode.
12147
5e605a2e
GM
121482011-12-03 Glenn Morris <rgm@gnu.org>
12149
12150 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
12151
5c3fe83f
SM
121522011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
12153
6f5e57e7
SM
12154 * electric.el: Streamline electric-indent's hook.
12155 (electric-indent-chars): Revert to simple list.
12156 (electric-indent-functions): New var.
12157 (electric-indent-post-self-insert-function): Use it.
12158
5c3fe83f
SM
12159 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
12160 there's no inferior buffer (bug#10196).
12161 (prolog-consult-compile): Don't use toggle-read-only.
12162
6bdac736
MA
121632011-12-02 Michael Albinus <michael.albinus@gmx.de>
12164
12165 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
12166 interrupt. (Bug#10187)
12167
6131ba7f
SM
121682011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
12169
99c79fee
SM
12170 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
12171 (bug#9160).
12172
6131ba7f
SM
12173 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
12174 (bug#10191).
12175
cb0a02ea
JL
121762011-12-02 Juri Linkov <juri@jurta.org>
12177
12178 * info.el (Info-search): Display "end of manual" when Isearch
12179 reaches the end of single-file Info manual. (Bug#9918)
12180
66e0570c
EZ
121812011-12-02 Eli Zaretskii <eliz@gnu.org>
12182
12183 * isearch.el (isearch-message-prefix): Run the input method part
12184 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
12185
02b16839
JL
121862011-12-02 Juri Linkov <juri@jurta.org>
12187
12188 * isearch.el (isearch-occur): Use `word-search-regexp' for
12189 `isearch-word'.
12190 (isearch-search-and-update): Add condition for `isearch-word' and
12191 call `word-search-regexp'. (Bug#10145)
12192
0b950688
GM
121932011-12-01 Glenn Morris <rgm@gnu.org>
12194
12195 * eshell/em-hist.el (eshell-hist-initialize):
12196 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 12197 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 12198
9505c3c7
SM
121992011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
12200
12201 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
12202
1bbe96b2 122032011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 12204
a1beca85
SM
12205 * progmodes/verilog-mode.el (verilog-pretty-expr):
12206 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
12207 verilog, such as += *= and the like.
12208 (verilog-assignment-operator-re): Regular expression to find the
12209 assigment operator in a verilog assignment.
12210 (verilog-assignment-operation-re): Regular expression to find an
12211 assignment statement for pretty-expr.
12212 (verilog-in-attribute-p): Query returns true if point is in an
12213 attribute context; used to skip these for expression line up from
12214 pretty-expr.
12215 (verilog-in-parameter-p): Query returns true if point is in an
12216 parameter definition context; used to skip these for expression
12217 line up from pretty-expr.
12218 (verilog-in-parenthesis-p): Query returns true if point is in a
12219 parenthetical expression, specifically ( ) but not [ ] or { };
12220 used by pretty-expr.
12221 (verilog-just-one-space): If there is no space, don't add one.
12222 (verilog-get-lineup-indent-2): Specifically skip just attribute
12223 contexts for expression lineup, rather than skipping all
12224 parenthetical expressions.
12225 (verilog-calculate-indent): Fix comment, and fix indent.
12226 (verilog-do-indent): Indent declarations in lists (suggested by
12227 Joachim Lechner).
12228 (verilog-mode-abbrev-table): Populate abbrev mode with the various
12229 skeleton items.
12230 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
12231 by Alain Mellan).
12232
1bbe96b2 122332011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
12234
12235 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
12236 parameters with embedded comments. Reported by Ray Stevens.
12237 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
12238 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
12239 Reported by Tim Holt.
12240 (verilog-auto): Fix AUTOing a upper module then AUTOing module
12241 instantiated by upper module causing wrong expansion until AUTOed a
12242 second time. Reported by K C Buckenmaier.
12243 (verilog-diff-auto): Fix showing .* as a difference when
12244 `verilog-auto-star-save' off. Reported by Dan Dever.
12245 (verilog-auto-reset, verilog-read-always-signals)
12246 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
12247 temporary signals in reset list if
12248 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
12249 style to each signal's assignment type, bug381.
12250 Reported by Thomas Esposito.
6288f0ca
WS
12251 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
12252 (verilog-uvm-statement-re): Support UVM indentation and
12253 highlighting, with old OVM keywords only.
a1beca85 12254 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
12255 Support AUTOTIEOFF creating non-wire data types.
12256 Suggested by Jonathan Greenlaw.
6288f0ca
WS
12257 (verilog-auto-insert-lisp, verilog-delete-to-paren)
12258 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
12259 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
12260 (verilog-read-sub-decls, verilog-read-sub-decls-line):
12261 Fix mismatching parenthesis inside commented out code when deleting
382c953b 12262 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
12263 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
12264 non-numeric vector width. Reported by Alex Reed.
12265 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 12266 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
12267 (verilog-auto-delete-trailing-whitespace):
12268 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
12269 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
12270 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
12271 Fix verilog-scan-cache corruption when running user AUTO expansion
12272 hooks that call indentation routines.
12273 (verilog-simplify-range-expression): Fix typo ignoring lower case
12274 identifiers.
12275 (verilog-delete-auto): Fix delete-autos to also remove user created
12276 automatics, as long as they start with AUTO.
12277 (verilog-batch-diff-auto, verilog-diff-auto)
12278 (verilog-diff-function): Add `verilog-diff-auto' and bind to
12279 "C-c?" to report differences in AUTO expansion, ignoring spaces.
12280 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
12281 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
12282 (verilog-re-search-forward-quick, verilog-syntax-ppss):
12283 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
12284 is disabled and its cache will get corrupt, causing AUTOS not to
12285 expand. Instead use only -quick functions.
12286 (verilog-scan-region): Fix scanning over escaped quotes.
12287 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
12288 (verilog-re-search-backward-quick)
12289 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
12290 related functions now ignore strings, to fix misparsing of strings
12291 with magic comments embedded in them.
a1beca85
SM
12292 (verilog-read-auto-template):
12293 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
12294 Reported by Brad Dobbie.
12295 (verilog-read-auto-template):
12296 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 12297 Reported by Brad Dobbie.
6288f0ca
WS
12298 (verilog-auto-inst, verilog-auto-inst-param)
12299 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
12300 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
12301 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
12302 debugging templates without merge conflicts, bug357.
12303 Reported by Brad Dobbie.
12304 (verilog-read-auto-template):
12305 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
12306 Reported by Brad Dobbie.
12307 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
12308 abbrevs so user won't be asked to save.
12309 (verilog-read-auto-lisp-present): Fix to start at beginning of
12310 buffer in case called outside of verilog-auto.
12311 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
12312 to "X-2". Reported by Matthew Myers.
12313 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
12314 all inputs from module templates. Reported by Leith Johnson.
12315 (verilog-module-inside-filename-p): Fix locating programs as with
12316 modules.
12317 (verilog-auto-inst-port): Fix vl-width expressions when using
12318 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
12319 (verilog-decls-get-regs, verilog-decls-get-signals,
12320 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
12321 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
12322 verilog-read-decls): Combine reg and wire structures into one var
12323 structure to represent SystemVerilog concepts.
12324 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
12325 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
12326 (verilog-auto-wire-type, verilog-insert-definition):
12327 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
12328 SystemVerilog "logic" keyword instead of "wire"/"reg".
12329 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
12330 to declares outputs that also have assignments (presumably in an
a1beca85
SM
12331 ifdef or generate if so there's not a driver conflict).
12332 Reported by Matthew Myers.
12333 (verilog-auto-declare-nettype, verilog-insert-definition):
12334 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
12335 `default_nettype none. Reported by Julian Gorfajn.
12336 (verilog-read-always-signals-recurse, verilog-read-decls)
12337 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
12338 malformed end statement, bug325. Reported by Joshua Wise and
12339 Andrew Drake.
12340 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
12341 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
12342 when expanding .* in interfaces, bug320.
12343 Reported by Pierre-David Pfister.
6288f0ca 12344 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
12345 name and open parenthesis, bug317.
12346 Reported by Pierre-David Pfister.
6288f0ca
WS
12347 (verilog-simplify-range-expression): Fix simplification of
12348 multiplications inside AUTOWIRE connections, bug303.
12349 (verilog-auto-inst-port): Support parameter expansion in
12350 multidimensional arrays.
12351 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
12352 after "assert property". Reported by Julian Gorfajn.
12353 (verilog-simplify-range-expression): Fix "couldn't merge" errors
12354 with multiplication, bug303.
12355 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
12356 Reported by Jan Frode Lonnum.
12357
1bbe96b2
GM
123582011-11-30 Juanma Barranquero <lekktu@gmail.com>
12359
12360 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
12361 (hfy-shell-file-name, hfy-shell):
12362 * international/fontset.el (x-decompose-font-name): Fix typos.
12363
123642011-11-29 Ken Brown <kbrown@cornell.edu>
12365
12366 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
12367 (gdb-version): Remove defvar.
12368 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
12369 (gdb-gud-context-command, gdb-non-stop-handler)
12370 (gdb-current-context-command, gdb-stopped): Use it.
12371 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
12372 (gdb-non-stop-handler): Don't enable pretty-printing here.
12373 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
12374 non-stop mode. Use the following.
12375 (gdb-check-target-async): New defun.
12376 (gud-watch, gdb-stopped): Fix whitespace.
12377 (gdb-get-source-file): Don't try to display the source file if
12378 `gdb-main-file' is nil.
12379
123802011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
12381
12382 * align.el: Try to generate fewer markers (bug#10047).
12383 (align--set-marker): New macro.
12384 (align-region): Use it.
12385
c935221f
SM
123862011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
12387
12388 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
12389
e70b5064
CY
123902011-11-29 Chong Yidong <cyd@gnu.org>
12391
12392 * indent.el (indent-for-tab-command, indent-according-to-mode):
12393 Doc fix.
12394 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
12395
f3af92b7
MA
123962011-11-29 Michael Albinus <michael.albinus@gmx.de>
12397
12398 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
12399 aware of remote file names. (Bug#10124)
12400
ed472be9
CY
124012011-11-29 Chong Yidong <cyd@gnu.org>
12402
12403 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
12404
24510c22
SM
124052011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
12406
12407 * files.el (find-file): Don't use force-same-window (bug#10144).
12408 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
12409 use pop-to-buffer if the selected window can't be used.
12410 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
12411
c60c3703
EZ
124122011-11-28 Eli Zaretskii <eliz@gnu.org>
12413
12414 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
12415 special-mode-map.
12416
e95def75
CY
124172011-11-28 Chong Yidong <cyd@gnu.org>
12418
12419 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
12420
c3f1c606
NR
124212011-11-27 Nick Roberts <nickrob@snap.net.nz>
12422
12423 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
12424 gdb-get-source-file-list on gdb-create-source-file-list.
12425
00db469c
EZ
124262011-11-26 Eli Zaretskii <eliz@gnu.org>
12427
12428 * whitespace.el (whitespace-newline): Use a different foreground
12429 color for 16-color light-background displays.
12430
4ad3bc2a
CY
124312011-11-24 Chong Yidong <cyd@gnu.org>
12432
12433 * window.el (display-buffer--special-action): Doc fix.
12434
e9fce1ac
JB
124352011-11-25 Juanma Barranquero <lekktu@gmail.com>
12436
12437 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
12438 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
12439 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
12440 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
12441 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
12442 (avl-tree-stack-first):
12443 * emacs-lisp/cconv.el (cconv--analyse-use):
12444 * net/gnutls.el (gnutls-negotiate): Fix typos.
12445
cb825e5d
GM
124462011-11-24 Glenn Morris <rgm@gnu.org>
12447
3adbe224
GM
12448 * lpr.el (lpr-windows-system, lpr-lp-system):
12449 * mail/binhex.el (binhex-begin-line):
12450 * progmodes/grep.el (grep-history, grep-find-history):
12451 * textmodes/flyspell.el:
12452 * vc/pcvs-defs.el (cvs-global-menu):
12453 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
12454 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
12455 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
12456
321decc8
GM
12457 * net/tls.el: Fix case of "GnuTLS".
12458
420b63ad
GM
12459 * paths.el (rmail-file-name): Format doc-string for make-docfile.
12460
cb825e5d
GM
12461 * version.el (emacs-build-system): Give it a doc-string.
12462
a0649f08
JL
124632011-11-24 Juri Linkov <juri@jurta.org>
12464
12465 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
12466
c0bc0fd4
GM
124672011-11-24 Glenn Morris <rgm@gnu.org>
12468
12469 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
12470 if called on a non-mime message just toggle the headers. (Bug#8006)
12471
20db1522
JB
124722011-11-24 Juanma Barranquero <lekktu@gmail.com>
12473
12474 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
12475 (allout-lead-with-comment-string, allout-structure-deleted-hook)
12476 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
12477 (allout-rebullet-heading, allout-open-sibtopic)
12478 (allout-toggle-current-subtree-encryption)
12479 (allout-toggle-subtree-encryption, allout-encrypt-string)
12480 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
12481 (allout-distinctive-bullets-string, allout-auto-activation):
12482 * window.el (window-normalize-buffer-to-display):
12483 * progmodes/verilog-mode.el (verilog-batch-indent):
12484 * textmodes/bibtex.el (bibtex-field-braces-opt)
12485 (bibtex-field-strings-opt):
12486 * vc/cvs-status.el (cvs-tree-merge):
12487 Fix typos.
12488
7262a87c
MA
124892011-11-23 Michael Albinus <michael.albinus@gmx.de>
12490
12491 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
12492 `non-essential' to t, in order to avoid remote connections.
12493
283430a1
EZ
124942011-11-23 Eli Zaretskii <eliz@gnu.org>
12495
a1beca85
SM
12496 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
12497 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
12498 case-insensitively.
12499
d2992a38
ML
125002011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
12501
12502 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
12503
50419064
GM
125042011-11-23 Glenn Morris <rgm@gnu.org>
12505
da94eca1
GM
12506 * paths.el (rmail-file-name): Reformat the doc-string so that it
12507 is picked up.
12508
9aac4de2
GM
12509 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
12510 (rmail-auto-file): Ignore case in the "special" field names,
12511 as mail-fetch-field does for all others.
12512
8038d2d2
GM
12513 * mail/rmail.el (rmail-forward):
12514 * mail/rmailkwd.el (rmail-set-label):
12515 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
12516 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
12517
f3fe222a
GM
12518 * mail/rmail.el (rmail-current-message): Doc fix.
12519
50419064
GM
12520 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
12521
28109f49
SM
125222011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
12523
12524 * server.el (server-eval-and-print): Allow C-g (bug#6585).
12525
394c65f1
GM
125262011-11-22 Glenn Morris <rgm@gnu.org>
12527
12528 * mail/rmailmm.el (test-rmail-mime-handler)
12529 (test-rmail-mime-bulk-handler)
12530 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
12531
f2a0aa3a
JL
125322011-11-21 Juri Linkov <juri@jurta.org>
12533
1154d12e
JB
12534 * calc/calc.el (calc-read-key-sequence):
12535 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 12536
9c34a344
LMI
125372011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
12538
12539 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
12540 Tell the caller that the next line needs recomputation, even
12541 though it doesn't start a sexp (bug#10094).
12542
f04a3be9
SM
125432011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
12544
12545 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
12546
7978747f
SM
125472011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
12548
f04a3be9
SM
12549 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
12550 Use force-same-window.
7978747f 12551
fe7a3057
JB
125522011-11-20 Juanma Barranquero <lekktu@gmail.com>
12553
12554 * descr-text.el (describe-char-unicode-data):
12555 * json.el (json-string-escape):
12556 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
12557 (Footnote-unicode, Footnote-style-p):
12558 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
12559
24901d61
CY
125602011-11-20 Chong Yidong <cyd@gnu.org>
12561
12562 * window.el (replace-buffer-in-windows): Restore interactive spec.
12563
bac7ff22
SM
125642011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
12565
24f3d7b9
SM
12566 * electric.el (electric-indent-mode): Fix last change (too optimistic).
12567
bac7ff22
SM
12568 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
12569 (byte-compile-global-not-obsolete-vars): New var.
12570 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
12571 Use it.
12572 (byte-compile-warn-obsolete): Align text with the one in *Help*.
12573
cd1181db
JB
125742011-11-20 Juanma Barranquero <lekktu@gmail.com>
12575
12576 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
12577 * progmodes/pascal.el (electric-pascal-equal):
12578 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
12579 * xml.el (xml-substitute-special): Fix typos.
12580
7fb18e9e
GM
125812011-11-20 Glenn Morris <rgm@gnu.org>
12582
12583 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
12584 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
12585 Doc fixes.
12586 (rmail-decode-mime-charset): Mark as obsolete.
12587
12588 * mail/rmailsum.el (rmail-message-regexp-p-1):
12589 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
12590 Before using mime functions, check they are set. (Bug#10077)
12591
d5a6b3ba
JL
125922011-11-19 Juri Linkov <juri@jurta.org>
12593
12594 * info.el (Info-finder-find-node): Use `package--builtins' instead
12595 of `package-alist'. Use node names formed by the pattern "Keyword "
12596 and the keyword name.
12597
e981b61f
AS
125982011-11-19 Andreas Schwab <schwab@linux-m68k.org>
12599
1d00653d 12600 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 12601
3ffbc301
JL
126022011-11-19 Juri Linkov <juri@jurta.org>
12603
12604 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
12605 that calls `revert-buffer' on all Info buffers. (Bug#9915)
12606 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
12607 `old-history', `old-history-forward'. Add let-binding
12608 `window-selected'. Remove calls to `kill-buffer',
12609 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
12610 before calling `Info-find-node', so `Info-find-node-2' will reread
12611 the Info file. Restore window positions only when `window-selected'
12612 is non-nil.
12613
30c62133
JL
126142011-11-19 Juri Linkov <juri@jurta.org>
12615
12616 * isearch.el (isearch-lazy-highlight-new-loop):
12617 Remove condition `(not isearch-error)'. (Bug#9918)
12618
12619 * misearch.el (multi-isearch-search-fun): Add condition
12620 `(not bound)' to ignore lazy-highlighting search.
12621 Add the search-failed message "end of multi" when the end of
12622 multi-sequence is reached. Uncapitalize the search-failed
12623 message "Repeat for next buffer".
12624
12625 * info.el (Info-search): Add the search-failed message
12626 "end of the manual" when the end of the manual is reached
12627 in Isearch mode.
12628
645ca9cf
JL
126292011-11-19 Juri Linkov <juri@jurta.org>
12630
12631 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
12632 Use non-destructive `remove' instead of `delete' because
12633 `Info-history-list' stored to `Info-isearch-initial-history-list' in
12634 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
12635
df754f66
JL
126362011-11-19 Juri Linkov <juri@jurta.org>
12637
12638 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
12639 to nil instead of binding `search-ring' and `regexp-search-ring'.
12640 (Bug#9185)
12641
0e23d96a
EZ
126422011-11-19 Eli Zaretskii <eliz@gnu.org>
12643
12644 * simple.el (line-move): Force movement by logical lines for any
12645 hscrolled window, not only when auto-hscroll-mode is on.
12646 (line-move-visual): Update doc string to that effect. (Bug#10076)
12647
8a6ccb66
AS
126482011-11-19 Andreas Schwab <schwab@linux-m68k.org>
12649
12650 * language/european.el (macintosh): Define as alias for mac-roman.
12651
49ae5b39
EZ
126522011-11-19 Eli Zaretskii <eliz@gnu.org>
12653
12654 * mail/rmailmm.el (rmail-mime-display-header)
12655 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
12656 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
12657 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
12658 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
12659 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
12660 of a raw aref.
12661 (rmail-mime-entity-segment): To get past the tagline, move forward
12662 2 more lines, to account for the 2 empty lines that precede and
12663 follow the line with the buttons.
12664 (rmail-mime-update-tagline): Move one more line, to get past the
12665 empty line that follows the buttons in the tagline. (Bug#9520)
12666
c56cad4a
MR
126672011-11-19 Martin Rudalics <rudalics@gmx.at>
12668
12669 * window.el (window-max-delta-1, window-min-delta-1)
12670 (window-min-size-1, window-state-get-1, window-state-put-1)
12671 (window-state-put-2): Use "window--" prefix.
12672
cbe71af3
SM
126732011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
12674
2ad52c60
SM
12675 * emacs-lisp/smie.el: Improve warnings and conflict detection.
12676 (smie-warning-count): New var.
12677 (smie-set-prec2tab): Use it.
12678 (smie-bnf->prec2): Improve warnings. Add docstring.
12679 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
12680 (smie-bnf--set-class): New function.
12681 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
12682 corner case.
12683
6944dbc1
SM
12684 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
12685 (compilation-error-properties, compilation-move-to-column):
12686 Handle compilation-first-column while in the target buffer.
12687
c400c4d7
SM
12688 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
12689 Don't hardcode point-min==1.
12690
6dbe3e96
SM
12691 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
12692 (eshell-rewrite-for-command): Remove workaround.
12693 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
12694 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
12695 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
12696
cbe71af3
SM
12697 * files-x.el (modify-file-local-variable): Obey commenting conventions.
12698
a8e1496d
GM
126992011-11-17 Glenn Morris <rgm@gnu.org>
12700
12701 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
12702 Ignore buffer-local generated-autoload-file if it is the same
12703 as the global value. (Bug#10049)
12704
df85d315
JB
127052011-11-17 Juanma Barranquero <lekktu@gmail.com>
12706
12707 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
12708 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
12709 (reftex-toc-previous-heading, reftex-toc-max-level)
12710 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
12711 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
12712 (reftex-toc-do-promote, reftex-toc-promote-prepare)
12713 (reftex-toc-promote-action, reftex-toc-extract-section-number)
12714 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
12715 (reftex-toc-rename-label, reftex-toc-visit-location)
12716 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
12717 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
12718 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
12719 leaving "*toc*" only for references to the buffer.
12720
a0c2d0ae
MR
127212011-11-17 Martin Rudalics <rudalics@gmx.at>
12722
12723 * window.el (window-resize, delete-window, split-window):
12724 Replace window-splits by window-combination-resize.
1d00653d 12725 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 12726
35c0bac8
GM
127272011-11-17 Glenn Morris <rgm@gnu.org>
12728
12729 * progmodes/sh-script.el (sh-font-lock-keywords-var):
12730 Make bash entry derive from sh entry, not shell entry.
12731
d0c8fc8a
MA
127322011-11-16 Michael Albinus <michael.albinus@gmx.de>
12733
7262a87c
MA
12734 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
12735 local file name.
12736
7877f373
JB
127372011-11-16 Juanma Barranquero <lekktu@gmail.com>
12738
12739 * menu-bar.el (menu-bar-file-menu):
12740 * printing.el (pr-ps-utility):
12741 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
12742 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
12743 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
12744 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
12745 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
12746 (icalendar--convert-cyclic-to-ical)
12747 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
12748 (icalendar--convert-ical-to-diary)
12749 (icalendar--convert-recurring-to-diary)
12750 (icalendar--convert-non-recurring-all-day-to-diary)
12751 (icalendar-import-format-sample):
12752 * progmodes/idlw-shell.el (idlwave-shell-mode):
12753 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
12754 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
12755 (vhdl-ps-print-init): Fix typos.
12756
10649b82
KM
127572011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
12758
9d0cfcd6
GM
12759 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
12760 FSF and collapse date sequence, obscure author/maintainer email address
12761 better, remove extra version line, track relocation of author's webpage.
10649b82 12762
9d0cfcd6
GM
12763 * progmodes/python.el (python-pdbtrack-input-prompt)
12764 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
12765 regular python pdb prompts. Adjustments shamelessly taken exactly as
12766 suggested in EmacsWiki page (tiny change):
12767 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 12768
58179cce
JB
127692011-11-16 Juanma Barranquero <lekktu@gmail.com>
12770
12771 * expand.el (expand-pos, expand-index, expand-point):
12772 Remove redundant info from docstring.
12773 (expand-add-abbrevs): Doc fix.
12774 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
12775 (expand-sample-perl-mode-expand-list): Fix typos.
12776
12777 * net/dbus.el (dbus-event-member-name):
12778 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
12779 * term/pc-win.el (msdos-create-frame-with-faces):
12780 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
12781
b6f67890
MR
127822011-11-16 Martin Rudalics <rudalics@gmx.at>
12783
12784 * window.el (split-window, window-state-get-1)
12785 (window-state-put-1, window-state-put-2): Rename occurrences of
12786 window-nest to window-combination-limit.
1d00653d 12787 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 12788
ce7ddba0
CY
127892011-11-16 Chong Yidong <cyd@gnu.org>
12790
12791 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
12792 regexp (Bug#10033).
12793
3ae704f4
SM
127942011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
12795
12796 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
12797 `completing-read' will remove *Completions* and will preserve
12798 current-buffer for us.
12799 (tmm-add-prompt): Users of *Completions* will always (re)set its
12800 major mode.
12801 (tmm-old-comp-map): Remove.
12802
6ad1cdde
GM
128032011-11-16 Glenn Morris <rgm@gnu.org>
12804
12805 * mail/rmailedit.el: Require rmailmm when compiling.
12806 (rmail-old-mime-state): New declaration.
12807 (rmail-edit-current-message): If editing a mime message,
12808 edit the "raw" message from the mbox buffer.
12809 (rmail-cease-edit): Handle mime messages. (Bug#9840)
12810
d20faa20
GM
128112011-11-15 Glenn Morris <rgm@gnu.org>
12812
12813 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
12814 which wasn't being used. Add optional arg to force given state.
12815 (rmail-mime): Add optional arg to force given state.
12816
c7015153
JB
128172011-11-15 Juanma Barranquero <lekktu@gmail.com>
12818
12819 * allout.el (allout-encryption-plaintext-sanitization-regexps):
12820 * frame.el (display-mm-dimensions-alist):
12821 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
12822 (outline-move-subtree-down):
12823 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
12824 (newsticker--treeview-do-get-node):
12825 * net/quickurl.el (quickurl-list-buffer-name):
12826 * progmodes/dcl-mode.el (dcl-mode):
12827 * progmodes/gdb-mi.el (gdb-mapcar*):
12828 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
12829
45261b50
GM
128302011-11-15 Glenn Morris <rgm@gnu.org>
12831
12832 * mail/rmail.el (rmail-file-coding-system): It's only ever used
12833 in a boolean sense, so just make it a boolean, and fix the doc.
12834 (rmail-show-mime-function, rmail-mime-feature)
12835 (rmail-require-mime-maybe): Doc fixes.
12836 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
12837
12838 * mail/rmailmm.el (rmail-show-mime): Doc fix.
12839
0d26e0b6
JB
128402011-11-15 Juanma Barranquero <lekktu@gmail.com>
12841
12842 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
12843 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
12844 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
12845 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
12846
447f30f6
GM
128472011-11-15 Glenn Morris <rgm@gnu.org>
12848
672b871d
GM
12849 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
12850 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
12851 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
12852 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
12853 (rmail-mime, rmail-show-mime): Doc fixes.
12854
f6aa5bb1
GM
12855 * term/ns-win.el (mode-line-frame-identification):
12856 Leave it alone. (Bug#10051)
12857
947cd66b
GM
12858 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
12859
447f30f6
GM
12860 * mail/rmailout.el (rmail-output-to-rmail-buffer):
12861 Handle empty buffers. (Bug#9978)
12862
0b381c7e
JB
128632011-11-14 Juanma Barranquero <lekktu@gmail.com>
12864
12865 * international/mule.el (define-charset):
12866 * mail/rmailmm.el (rmail-mime-find-header-encoding):
12867 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
12868 * progmodes/verilog-mode.el (verilog-backward-token):
12869 * textmodes/ispell.el (lookup-words):
12870 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
12871
71e027ac
GM
128722011-11-14 Glenn Morris <rgm@gnu.org>
12873
56632ce4
GM
12874 * progmodes/executable.el
12875 (executable-make-buffer-file-executable-if-script-p):
12876 Handle file-modes returning nil.
12877
40500957
GM
12878 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
12879 message - not necessary, and causes problems. (Bug#9831)
12880
071c2340
GM
12881 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
12882
d3cfca60
GM
12883 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
12884
71e027ac
GM
12885 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
12886 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
12887 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
12888
89d61221
MR
128892011-11-12 Martin Rudalics <rudalics@gmx.at>
12890
12891 * window.el (window-resize, delete-window): Use window-splits
12892 variable instead of function.
12893 (window-state-get-1, window-state-put-2, window-state-put):
12894 Don't deal with windows' splits status.
12895
98282f6f
GM
128962011-11-12 Glenn Morris <rgm@gnu.org>
12897
12898 * apropos.el (apropos-do-all, apropos-library, apropos-value)
12899 (apropos-documentation): Doc fixes.
12900
40a8bdf6
JB
129012011-11-11 Juanma Barranquero <lekktu@gmail.com>
12902
12903 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
12904 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
12905
65bd19ff
SM
129062011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
12907
12908 * electric.el (electric-indent-post-self-insert-function): Make it
12909 possible for a char to only indent in some circumstances.
12910 (electric-indent-mode): Simplify.
12911
54f9154c
MR
129122011-11-11 Martin Rudalics <rudalics@gmx.at>
12913
12914 * window.el (windows-with-parameter): Remove unused function.
12915 (windows-at-side): Rename to window-at-side-list.
12916 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
12917 (window-side-check, window-size-ignore, window-size-fixed-1)
12918 (window-in-direction-2): Prefix with "window--".
12919 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 12920
68cbc58b
GM
129212011-11-11 Glenn Morris <rgm@gnu.org>
12922
12923 * subr.el (eval-after-load): If FILE is already loaded,
12924 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
12925
b2621720
GM
129262011-11-10 Glenn Morris <rgm@gnu.org>
12927
9a4de110
GM
12928 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
12929 Call svn via vc-svn-command rather than vc-do-command.
12930 (vc-svn-command): Add --non-interactive. (Bug#9993)
12931 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
12932
b2621720
GM
12933 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
12934 Add toggle-read-only. (Bug#7292)
12935 * files.el (toggle-read-only): Mention that it should only
12936 be used interactively. (Bug#10006)
12937
1dce7193
SM
129382011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
12939
d9ac1a1e
SM
12940 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12941 Adjust regexp for OCaml warnings.
12942
0c325082
SM
12943 * electric.el (electric-pair-post-self-insert-function): Let user
12944 turn it off buffer-locally (bug#9932).
12945
90132c14
SM
12946 * progmodes/python.el (python-beginning-of-statement):
12947 Rewrite (bug#2703).
12948
1dce7193
SM
12949 * progmodes/compile.el: Better handle TABs (bug#9749).
12950 (compilation-internal-error-properties)
12951 (compilation-next-error-function): Obey the target buffer's
12952 compilation-error-screen-columns.
12953
c4e7c63a
JB
129542011-11-09 Juanma Barranquero <lekktu@gmail.com>
12955
12956 * progmodes/meta-mode.el: Remove obsolete comments.
12957 (meta-right-comment-regexp, meta-ignore-comment-regexp):
12958 Fix typos in docstrings.
12959
2cffd681
MR
129602011-11-09 Martin Rudalics <rudalics@gmx.at>
12961
12962 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 12963 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
12964 (window--resizable): New function. Make all callers of
12965 window-resizable call window--resizable instead.
12966 (window-resizable): Rewrite in terms of window--resizable.
12967
0edcba87
GM
129682011-11-08 Glenn Morris <rgm@gnu.org>
12969
12970 * progmodes/delphi.el (delphi-mode-syntax-table):
12971 Let define-derived-mode define a proper syntax table. (Bug#9994)
12972
4b0d61e3
SM
129732011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
12974
12975 * window.el: Stay away from defsubst.
12976 (window-list-no-nils): Remove.
12977 (window-state-get-1, window-state-get): Use backquote instead.
12978
cd394be1 129792011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 12980
4b0d61e3 12981 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 12982 Fix incorrect use of default argument in `completing-read'.
12983
e1c2c6f2
MR
129842011-11-08 Martin Rudalics <rudalics@gmx.at>
12985
12986 * window.el (display-buffer-function, special-display-function):
12987 Mention display-buffer-record-window but do not mention
12988 help-setup parameter in doc-strings.
b3f4a882 12989 (window-min-delta): Fix doc-string typo.
e1c2c6f2 12990
105216ed
CY
129912011-11-08 Chong Yidong <cyd@gnu.org>
12992
12993 * window.el (window-total-height, window-total-width): Doc fix.
12994 (window-body-size): Move from C.
12995 (window-body-height, window-body-width): Move to C.
12996
0a9f9ab5
SM
129972011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
12998
12999 * window.el: Make special-display like display-buffer-alist (bug#9532).
13000 (display-buffer--special-action): New function, morphed
13001 from display-buffer--special.
13002 (display-buffer): Use it to handle special-display-buffers at higher
13003 priority (just after display-buffer-alist).
13004 (display-buffer-fallback-action, display-buffer--other-frame-action)
13005 (pop-to-buffer-same-window): Remove display-buffer--special.
13006
a769dd15
GM
130072011-11-07 Glenn Morris <rgm@gnu.org>
13008
13009 * calendar/cal-menu.el (cal-menu-set-date-title):
13010 Do nothing if not in a calendar. (Bug#9976)
13011
05a61ee3
SM
130122011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
13013
13014 * files.el (find-file): Always use selected-window.
13015
be7f5545
MR
130162011-11-07 Martin Rudalics <rudalics@gmx.at>
13017
13018 * window.el (window-combinations): Make WINDOW argument
13019 mandatory. Rewrite doc-string.
13020 (walk-window-subtree, window-atom-check, window-min-delta)
13021 (window-max-delta, window--resize-this-window)
13022 (window--resize-root-window-vertically, window-tree)
13023 (balance-windows, window-state-put): Rewrite doc-strings as to
13024 not mention the term "subwindow".
13025 (window--resize-subwindows-skip-p): Rename to
13026 window--resize-child-windows-skip-p.
13027 (window--resize-subwindows-normal): Rename to
13028 window--resize-child-windows-normal.
13029 (window--resize-subwindows): Rename to
13030 window--resize-child-windows.
13031 (window-or-subwindow-p): Rename to window--in-subtree-p.
13032
3c6702ef
ML
130332011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
13034
13035 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
13036 Ensure that mbox format messages end in two newlines (Bug#9974).
13037
49745b39
CY
130382011-11-06 Chong Yidong <cyd@gnu.org>
13039
13040 * window.el (window-combination-p): Function deleted; its
13041 side-effect is not used in any existing code.
13042 (window-combinations, window-combined-p): Call window-*-child
13043 directly.
13044
24300f5f
CY
130452011-11-05 Chong Yidong <cyd@gnu.org>
13046
13047 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
13048 (window-size-ignore, window-state-get): Callers changed.
13049 (window-normalize-window): Rename from window-normalize-any-window.
13050 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 13051 (window-normalize-live-window): Delete.
447f16b8
CY
13052 (window-combination-p, window-combined-p, window-combinations)
13053 (walk-window-subtree, window-atom-root, window-min-size)
13054 (window-sizable, window-sizable-p, window-size-fixed-p)
13055 (window-min-delta, window-max-delta, window-resizable)
13056 (window-resizable-p, window-full-height-p, window-full-width-p)
13057 (window-current-scroll-bars, window-point-1, set-window-point-1)
13058 (window-at-side-p, window-in-direction, window-resize)
13059 (adjust-window-trailing-edge, maximize-window, minimize-window)
13060 (window-deletable-p, delete-window, delete-other-windows)
13061 (record-window-buffer, unrecord-window-buffer)
13062 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
13063 (quit-window, split-window, window-state-put)
13064 (set-window-text-height, fit-window-to-buffer)
13065 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 13066
89bd5ee1
EZ
130672011-11-04 Eli Zaretskii <eliz@gnu.org>
13068
53479029
EZ
13069 * mail/rmail.el (rmail-simplified-subject): Decode subject with
13070 rfc2047-decode-string.
13071 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
13072 warnings.
13073
89bd5ee1
EZ
13074 * window.el (window-body-height, window-body-width): Mention in
13075 the doc string that the return values are in frame's canonical
13076 units. (Bug#9949)
13077
bd17fdee
AM
130782011-11-03 Alan Mackenzie <acm@muc.de>
13079
13080 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
13081 change in cc-engine.el.
13082
acc825c5
SM
130832011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
13084
13085 * window.el (switch-to-buffer): Use `force-same-window' interactively.
13086
1885e5b8
MR
130872011-11-02 Martin Rudalics <rudalics@gmx.at>
13088
13089 * window.el (quit-window): Call unrecord-window-buffer after
13090 showing another buffer in the window. (Bug#9937)
acc825c5 13091 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 13092
ebe06da9
JB
130932011-11-02 Juanma Barranquero <lekktu@gmail.com>
13094
13095 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
13096 Accept status with more than 9 shelves. (Bug#9935)
13097 Reported by Colin D Bennett <colin@gibibit.com>.
13098
4ee88440
MR
130992011-11-01 Martin Rudalics <rudalics@gmx.at>
13100
13101 * help.el (with-help-window): Don't reference
13102 temp-buffer-show-specifiers in doc-string.
13103
08e1d82c
AS
131042011-10-31 Andreas Schwab <schwab@linux-m68k.org>
13105
13106 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
13107 menu-item.
13108
84bd6e9e
VJL
131092011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
13110
13111 * whitespace.el: New version 13.2.2.
13112 (whitespace-newline-mode): Disable properly. Reported by Sarah
13113 <EmacsWiki>.
13114
dba0634a
UJ
131152011-10-30 Ulf Jasper <ulf.jasper@web.de>
13116
13117 * net/newst-treeview.el: Remove "Time-stamp".
13118 (newsticker--group-manage-orphan-feeds): Do not call
13119 newsticker--treeview-tree-update.
db22a3c2
JB
13120 (newsticker-treeview-update, newsticker-treeview):
13121 Call newsticker--treeview-tree-update if necessary.
dba0634a 13122
3d8daefe
MR
131232011-10-30 Martin Rudalics <rudalics@gmx.at>
13124
13125 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
13126 (window-iso-combinations): Remove "iso-" infix.
13127 Suggested by Chong Yidong.
3d8daefe
MR
13128 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
13129 (window-max-delta-1, window-resize, window--resize-siblings)
13130 (window--resize-this-window, adjust-window-trailing-edge)
13131 (split-window, balance-windows-1)
13132 (shrink-window-if-larger-than-buffer):
13133 * calendar/calendar.el (calendar-generate-window):
db22a3c2 13134 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 13135
1bc4c3ae
SM
131362011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
13137
13138 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
13139 in place (bug#9907).
13140 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
13141 (eshell-rewrite-if-command, eshell-rewrite-for-command)
13142 (eshell-structure-basic-command, eshell-rewrite-while-command)
13143 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
13144 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
13145 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
13146 (eshell-do-pipelines-synchronously, eshell-eval-command):
13147 Use backquotes and prefer setq to set.
13148 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
13149 (eshell-macrop): Use functionp.
c1e2f5fa 13150 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 13151
30b65d9c
CY
131522011-10-30 Chong Yidong <cyd@gnu.org>
13153
13154 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
13155 instead of set-mark (Bug#9810).
13156
2d197ffb
CY
131572011-10-30 Chong Yidong <cyd@gnu.org>
13158
13159 * window.el (split-window-below, split-window-right): Rename from
13160 split-window-above-each-other and split-window-side-by-side
13161 respectively. All callers changed.
13162 (split-window-sensibly, split-window-sensibly): Use them.
13163 (split-window-keep-point): Doc fix.
13164
13165 * isearch.el: Add isearch-scroll property to split-window-below
13166 and split-window-right.
13167
13168 * follow.el (follow-mode):
13169 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
13170 * progmodes/ada-xref.el (ada-gdb-application):
13171 * emulation/vip.el (vip-buffer-in-two-windows):
13172 * image-dired.el (image-dired-dired-with-window-configuration):
13173 * dired-x.el (dired-do-find-marked-files):
13174 * dired.el (dired-pop-to-buffer):
13175 * bs.el (bs--show-with-configuration):
13176 * vc/emerge.el (emerge-setup-windows):
13177 * textmodes/two-column.el (2C-two-columns):
13178 * textmodes/reftex-toc.el (reftex-toc):
13179 * progmodes/gdb-mi.el (gdb-setup-windows):
13180 * progmodes/fortran.el (fortran-window-create):
13181 * net/newst-treeview.el (newsticker--treeview-window-init):
13182 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
13183 * emulation/tpu-edt.el (tpu-gold-map):
13184 * emulation/crisp.el (crisp-mode-map):
13185 * calendar/calendar.el (calendar-basic-setup): Callers changed.
13186
38bb2ca8
CY
131872011-10-29 Chong Yidong <cyd@gnu.org>
13188
aa4de341
CY
13189 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
13190
e1eb5385
CY
13191 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
13192
5d2ece3c
CY
13193 * textmodes/flyspell.el (flyspell-word): Fix char offset for
13194 forged Ispell output (Bug#7904).
13195
38bb2ca8
CY
13196 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
13197
d0af9f77
SM
131982011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
13199
13200 * doc-view.el: Avoid ugly errors about not finding nil.
13201 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
13202 (doc-view-dvipdf-program, doc-view-unoconv-program)
13203 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
13204 Avoid nil or absolute file name as default value.
13205 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
13206
52bedd34
AM
132072011-10-28 Alan Mackenzie <acm@muc.de>
13208
db22a3c2 13209 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 13210
7e43cfa5
AM
132112011-10-28 Alan Mackenzie <acm@muc.de>
13212
13213 Amend the handling of c-beginning/end-of-defun in nested declaration
13214 scopes.
13215
52bedd34
AM
13216 * progmodes/cc-vars.el (c-defun-tactic): Move here from
13217 cc-langs.el. Change it to a defcustom.
7e43cfa5 13218
52bedd34
AM
13219 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
13220 cc-vars.el.
7e43cfa5 13221
d0af9f77
SM
13222 * progmodes/cc-engine.el (c-beginning-of-statement-1):
13223 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 13224
52bedd34 13225 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 13226 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
13227 (c-widen-to-enclosing-decl-scope): New function.
13228 (c-while-widening-to-decl-block): New macro.
13229 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
13230 outward for defun boundaries, and correspondingly change symbol
13231 `respect-enclosure' to `go-outward'.
13232 (c-declaration-limits): Change algorithm to report only the "innermost"
13233 defun's boundaries.
13234
1a2ce9ee
DD
132352011-10-28 Deniz Dogan <deniz@dogan.se>
13236
13237 * net/rcirc.el (rcirc-mode): Use hard newlines.
13238
bc97a826
AM
132392011-10-28 Alan Mackenzie <acm@muc.de>
13240
13241 Amend to indent and fontify macros "which include their own semicolon"
13242 correctly, using the "virtual semicolon" mechanism.
13243
52bedd34 13244 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 13245
d0af9f77 13246 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 13247 Recode to scan one line at a time rather than having \n and \r
58179cce 13248 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 13249 (c-forward-label): Amend for virtual semicolons.
58179cce 13250 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 13251
52bedd34
AM
13252 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
13253 of the new C macros.
bc97a826 13254
52bedd34 13255 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
13256 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
13257 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
13258 (c-opt-cpp-macro-define): Make into a full language variable.
13259 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
13260 AWK Mode (including \n, \r) removed, no longer needed.
13261
d0af9f77
SM
13262 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
13263 Invoke c-make-macro-with-semi-re.
bc97a826 13264
52bedd34
AM
13265 * progmodes/cc-vars.el (c-macro-with-semi-re):
13266 (c-macro-names-with-semicolon): New variables.
58179cce 13267 (c-make-macro-with-semi-re): New function.
bc97a826 13268
7a6c0941
SM
132692011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
13270
13271 * vc/log-edit.el: Fill empty field rather than adding new one.
13272 (log-edit-add-field): New function.
13273 (log-edit-insert-changelog): Use it.
13274
b0c4cdcf
ML
132752011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
13276
13277 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
13278
ee1f1da9
SM
132792011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
13280
13281 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
13282 (gdb--check-interpreter): New function.
13283 (gdb): Use it.
13284
51bc5f8b
GM
132852011-10-27 Glenn Morris <rgm@gnu.org>
13286
416a2c45
GM
13287 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
13288 (least-positive-float, least-negative-float)
13289 (least-positive-normalized-float, least-negative-normalized-float)
13290 (float-epsilon, float-negative-epsilon):
13291 Remove unnecessary declarations.
13292
13293 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
13294 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
13295 (least-positive-float, least-negative-float)
13296 (least-positive-normalized-float, least-negative-normalized-float)
13297 (float-epsilon, float-negative-epsilon): Add doc-strings,
13298 based on those in cl.texi.
13299
51bc5f8b
GM
13300 * files.el (set-visited-file-name): If the major-mode changed,
13301 reload the local variables. (Bug#9796)
13302
15de15c6
CY
133032011-10-27 Chong Yidong <cyd@gnu.org>
13304
13305 * subr.el (change-major-mode-after-body-hook): New hook.
13306 (run-mode-hooks): Run it.
13307
ee1f1da9
SM
13308 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
13309 Use change-major-mode-before-body-hook.
15de15c6
CY
13310
13311 * simple.el (fundamental-mode):
13312 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
13313 change introducing fundamental-mode-hook.
13314
5430d399
JB
133152011-10-26 Juanma Barranquero <lekktu@gmail.com>
13316
acc825c5 13317 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 13318
ad74a69e
MA
133192011-10-26 Michael Albinus <michael.albinus@gmx.de>
13320
13321 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 13322 tramp.el explicitly. (Bug#7583)
ad74a69e 13323
71d4c2a5
SM
133242011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
13325
13326 * progmodes/octave-mod.el:
13327 * progmodes/octave-inf.el: Update maintainer.
13328
b1f6fa26
CY
133292011-10-26 Chong Yidong <cyd@gnu.org>
13330
13331 * subr.el (with-wrapper-hook): Rewrite doc.
13332
3f04efd6
MA
133332011-10-25 Michael Albinus <michael.albinus@gmx.de>
13334
13335 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 13336 filenames "/method:foo:". (Bug#9793)
3f04efd6 13337
410488d3
SM
133382011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
13339
13340 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
13341 (bug#9865).
13342
c1ebb47e
GM
133432011-10-24 Glenn Morris <rgm@gnu.org>
13344
13345 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
13346
7f5c46c7
MA
133472011-10-24 Michael Albinus <michael.albinus@gmx.de>
13348
13349 * notifications.el: Add the requirement of a running D-Bus session
13350 bus to the Commentary.
13351
db2440b6
JL
133522011-10-24 Juri Linkov <juri@jurta.org>
13353
13354 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
13355 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
13356 (Bug#9364)
13357
feecf435
JL
133582011-10-24 Juri Linkov <juri@jurta.org>
13359
13360 * info.el (Info-following-node-name-re): Add newline to the list
13361 of allowed characters for leading space. (Bug#9824)
13362
a3839de2
SM
133632011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
13364
acc825c5
SM
13365 * progmodes/octave-inf.el (inferior-octave-mode-map):
13366 Fix C-c C-h binding.
a3839de2
SM
13367 * progmodes/octave-mod.el (octave-help): Remove.
13368
09388e76
MA
133692011-10-23 Michael Albinus <michael.albinus@gmx.de>
13370
13371 Sync with Tramp 2.2.3.
13372
13373 * net/tramp-cache.el (top): Pacify byte-compiler using
13374 `init-file-user' and `site-run-file'.
13375
13376 * net/trampver.el: Update release number.
13377
86c60681
CY
133782011-10-23 Chong Yidong <cyd@gnu.org>
13379
13380 * files.el (toggle-read-only): Remove obsolete comment about
13381 version control.
13382
13383 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
13384 for toggle-read-only. Note that this hasn't called vc-next-action
13385 since 2008-05-02, though it wasn't documented at the time.
13386
a3839de2
SM
13387 * vc/ediff-init.el (ediff-toggle-read-only-function):
13388 Use toggle-read-only.
86c60681 13389
cd5495ff
AM
133902011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
13391
13392 Fix bug #9560, sporadic wrong indentation; improve instrumentation
13393 of c-parse-state.
13394
00b77525 13395 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 13396 correct faulty logical expression.
cd5495ff
AM
13397 (c-parse-state-state, c-record-parse-state-state):
13398 (c-replay-parse-state-state): New defvar/defuns.
13399 (c-debug-parse-state): Use new functions.
13400
42ee24ed
MR
134012011-10-22 Martin Rudalics <rudalics@gmx.at>
13402
13403 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 13404 last fix. Use window-in-direction correctly.
42ee24ed 13405
a7dee7e7
CY
134062011-10-21 Chong Yidong <cyd@gnu.org>
13407
13408 * progmodes/idlwave.el (idlwave-mode):
13409 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
13410 require-final-newline; that's done in prog-mode.
13411 Suggested by Stefan Monnier.
a7dee7e7 13412
e07b9a6d
MR
134132011-10-21 Martin Rudalics <rudalics@gmx.at>
13414
13415 * mouse.el (mouse-drag-window-above)
13416 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
13417 (mouse-drag-mode-line-1, mouse-drag-header-line)
13418 (mouse-drag-vertical-line-rightward-window): Remove.
13419 (mouse-drag-line): New function.
13420 (mouse-drag-mode-line, mouse-drag-header-line)
13421 (mouse-drag-vertical-line): Call mouse-drag-line.
13422 * window.el (window-at-side-p, windows-at-side): New functions.
13423
7e1361d9
UM
134242011-10-21 Ulrich Mueller <ulm@gentoo.org>
13425
13426 * tar-mode.el (tar-grind-file-mode):
13427 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
13428
30fcaf3a
CY
134292011-10-21 Chong Yidong <cyd@gnu.org>
13430
13431 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
13432 * progmodes/vera-mode.el (vera-mode):
13433 Use mode-require-final-newline.
30fcaf3a 13434
516eddb0
GM
134352011-10-20 Glenn Morris <rgm@gnu.org>
13436
db22a3c2 13437 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 13438
10d5f513
CS
134392011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
13440
13441 * emulation/cua-base.el (cua-set-mark): Fix case of string.
13442
ac6c8639
CY
134432011-10-20 Chong Yidong <cyd@gnu.org>
13444
13445 * emulation/cua-base.el (cua-mode):
13446 * mail/footnote.el (footnote-mode):
13447 * mail/mailabbrev.el (mail-abbrevs-mode):
13448 * net/xesam.el (xesam-minor-mode):
13449 * progmodes/bug-reference.el (bug-reference-mode):
13450 * progmodes/cap-words.el (capitalized-words-mode):
13451 * progmodes/compile.el (compilation-minor-mode)
13452 (compilation-shell-minor-mode):
13453 * progmodes/gud.el (gud-tooltip-mode):
13454 * progmodes/hideif.el (hide-ifdef-mode):
13455 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
13456 * progmodes/subword.el (subword-mode):
13457 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
13458 * progmodes/which-func.el (which-function-mode):
13459 * term/tvi970.el (tvi970-set-keypad-mode):
13460 * term/vt100.el (vt100-wide-mode):
13461 * textmodes/flyspell.el (flyspell-mode):
13462 * textmodes/ispell.el (ispell-minor-mode):
13463 * textmodes/nroff-mode.el (nroff-electric-mode):
13464 * textmodes/paragraphs.el (use-hard-newlines):
13465 * textmodes/refill.el (refill-mode):
13466 * textmodes/reftex.el (reftex-mode):
13467 * textmodes/rst.el (rst-minor-mode):
13468 * textmodes/sgml-mode.el (html-autoview-mode)
13469 (sgml-electric-tag-pair-mode):
13470 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
13471 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
13472 * emulation/crisp.el (crisp-mode):
13473 * emacs-lisp/eldoc.el (eldoc-mode):
13474 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
13475 minor mode behavior.
13476
aa42ab43
JL
134772011-10-19 Juri Linkov <juri@jurta.org>
13478
13479 * descr-text.el (describe-char): Add #x2010 and #x2011 to
13480 the list of hard-coded chars with escape-glyph face.
13481
89400f1d
SM
134822011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
13483
13484 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
13485
305c07f6
MA
134862011-10-19 Michael Albinus <michael.albinus@gmx.de>
13487
13488 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
13489 running process.
13490
13754b54
GM
134912011-10-19 Glenn Morris <rgm@gnu.org>
13492
13493 * vc/vc-bzr.el (vc-bzr-after-dir-status):
13494 Ignore ignored files. (Bug#9726)
13495
06e21633
CY
134962011-10-19 Chong Yidong <cyd@gnu.org>
13497
13498 Doc fix for minor modes, stating that an omitted argument enables
13499 the mode unconditionally when called from Lisp.
13500
13501 * abbrev.el (abbrev-mode):
13502 * allout.el (allout-mode):
13503 * autoinsert.el (auto-insert-mode):
13504 * autoarg.el (autoarg-mode, autoarg-kp-mode):
13505 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
13506 (global-auto-revert-mode):
13507 * battery.el (display-battery-mode):
13508 * composite.el (global-auto-composition-mode)
13509 (auto-composition-mode):
13510 * delsel.el (delete-selection-mode):
13511 * desktop.el (desktop-save-mode):
13512 * dired-x.el (dired-omit-mode):
13513 * dirtrack.el (dirtrack-mode):
13514 * doc-view.el (doc-view-minor-mode):
13515 * double.el (double-mode):
13516 * electric.el (electric-indent-mode, electric-pair-mode):
13517 * emacs-lock.el (emacs-lock-mode):
13518 * epa-hook.el (auto-encryption-mode):
13519 * follow.el (follow-mode):
13520 * font-core.el (font-lock-mode):
13521 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
13522 * help.el (temp-buffer-resize-mode):
13523 * hilit-chg.el (highlight-changes-mode)
13524 (highlight-changes-visible-mode):
13525 * hi-lock.el (hi-lock-mode):
13526 * hl-line.el (hl-line-mode, global-hl-line-mode):
13527 * icomplete.el (icomplete-mode):
13528 * ido.el (ido-everywhere):
13529 * image-file.el (auto-image-file-mode):
13530 * image-mode.el (image-minor-mode):
13531 * iswitchb.el (iswitchb-mode):
13532 * jka-cmpr-hook.el (auto-compression-mode):
13533 * linum.el (linum-mode):
13534 * longlines.el (longlines-mode):
13535 * master.el (master-mode):
13536 * mb-depth.el (minibuffer-depth-indicate-mode):
13537 * menu-bar.el (menu-bar-mode):
13538 * minibuf-eldef.el (minibuffer-electric-default-mode):
13539 * mouse-sel.el (mouse-sel-mode):
13540 * msb.el (msb-mode):
13541 * mwheel.el (mouse-wheel-mode):
13542 * outline.el (outline-minor-mode):
13543 * paren.el (show-paren-mode):
13544 * recentf.el (recentf-mode):
13545 * reveal.el (reveal-mode, global-reveal-mode):
13546 * rfn-eshadow.el (file-name-shadow-mode):
13547 * ruler-mode.el (ruler-mode):
13548 * savehist.el (savehist-mode):
13549 * scroll-all.el (scroll-all-mode):
13550 * scroll-bar.el (scroll-bar-mode):
13551 * server.el (server-mode):
13552 * shell.el (shell-dirtrack-mode):
13553 * simple.el (auto-fill-mode, transient-mark-mode)
13554 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
13555 (line-number-mode, column-number-mode, size-indication-mode)
13556 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
13557 * strokes.el (strokes-mode):
13558 * time.el (display-time-mode):
13559 * t-mouse.el (gpm-mouse-mode):
13560 * tool-bar.el (tool-bar-mode):
13561 * tooltip.el (tooltip-mode):
13562 * type-break.el (type-break-mode-line-message-mode)
13563 (type-break-query-mode):
13564 * view.el (view-mode):
13565 * whitespace.el (whitespace-mode, whitespace-newline-mode)
13566 (global-whitespace-mode, global-whitespace-newline-mode):
13567 * xt-mouse.el (xterm-mouse-mode): Doc fix.
13568
a3839de2
SM
13569 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
13570 Fix autogenerated docstring.
06e21633 13571
5214e501
JL
135722011-10-19 Juri Linkov <juri@jurta.org>
13573
13574 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
13575 by checking environment variables "DESKTOP_SESSION" and
13576 "XDG_CURRENT_DESKTOP". (Bug#9779)
13577
195f8db9
JL
135782011-10-19 Juri Linkov <juri@jurta.org>
13579
13580 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
13581 (browse-url-chromium-program, browse-url-chromium-arguments):
13582 New defcustoms.
13583 (browse-url-default-browser): Check for `browse-url-chromium' and
13584 call `browse-url-chromium-program'.
13585 (browse-url-chromium): New command. (Bug#9779)
13586
343a34ff
JB
135872011-10-18 Juanma Barranquero <lekktu@gmail.com>
13588
13589 * facemenu.el (list-colors-duplicates): On Windows, detect more
13590 duplicates by assuming that only colors matching "^System" are
13591 special "system colors". (Bug#9722)
13592
6978a151
SM
135932011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
13594
13595 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
13596 to distinguish the author from the committer.
13597
6a80b297
MA
135982011-10-18 Michael Albinus <michael.albinus@gmx.de>
13599
13600 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
13601
b31a5677
JK
136022011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
13603
13604 * international/mule.el (sgml-html-meta-auto-coding-function):
13605 Add support for detecting encoding in HTML5 specified only as
13606 <meta charset="UTF-8">. Implementation just makes http-equiv and
13607 content-type parts from HTML4 encoding string optional. (Bug#9716)
13608
80c6d77f
GM
136092011-10-18 Glenn Morris <rgm@gnu.org>
13610
13611 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
13612
08b0fee8
CY
136132011-10-18 Chong Yidong <cyd@gnu.org>
13614
13615 * faces.el (cursor): Doc fix.
13616
67e729a5
CY
136172011-10-17 Chong Yidong <cyd@gnu.org>
13618
13619 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
13620
343a34ff 136212011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
13622
13623 * dirtrack.el (dirtrack): Support shell buffers with path
13624 prefixes, e.g. tramp-based remote shells. (Bug#9647)
13625
0bc06380
TZ
136262011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
13627
13628 * json.el: Bump version to 1.3 and note change in History.
13629 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
13630
8b79f3e0
SM
136312011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
13632
5a7c536b
SM
13633 * comint.el (comint-insert-input, comint-send-input)
13634 (comint-get-old-input-default, comint-backward-matching-input)
13635 (comint-next-prompt): Use nil instead of `input' for field property of
13636 past user input (bug#114).
13637
96a8a0df
SM
13638 * minibuffer.el (completion--replace): Inherit surrounding properties
13639 (bug#114).
13640 (minibuffer-complete-and-exit): Use it.
13641
8b79f3e0
SM
13642 * comint.el (comint--table-subvert): Quote the all-completions output
13643 (bug#9160).
13644
b8f7ff0d
MR
136452011-10-17 Martin Rudalics <rudalics@gmx.at>
13646
8b79f3e0 13647 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 13648
b8f7ff0d 13649 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 13650 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
13651 entries and separate them from frame entries.
13652
c235b555
GM
136532011-10-15 Glenn Morris <rgm@gnu.org>
13654
13655 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
13656 Doc fixes.
13657
6bbfa6e1
CY
136582011-10-15 Chong Yidong <cyd@stupidchicken.com>
13659
8b79f3e0
SM
13660 * net/network-stream.el (network-stream-open-starttls):
13661 Improve detection of failure due to lack of TLS support.
ec5c990d 13662
6bbfa6e1
CY
13663 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
13664 putting the input text in front and in bold.
13665
98488977
SM
136662011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
13667
3d1337be
SM
13668 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
13669
ee0b45e4
SM
13670 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
13671 empty buffer.
13672
98488977
SM
13673 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
13674 unread-command-events rather than pushing yet-another event.
13675
186f4720
EZ
136762011-10-14 Eli Zaretskii <eliz@gnu.org>
13677
13678 * mail/sendmail.el (sendmail-query-once): Improve the wording of
13679 the explanation of the possible choices. Make the options passed
13680 to completing-read shorter.
13681
8b7a997c
AM
136822011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13683
13684 * textmodes/flyspell.el (flyspell-large-region): Make sure
13685 extended character mode is used if defined (Bug#1339).
13686
12587bbb
EZ
136872011-10-13 Eli Zaretskii <eliz@gnu.org>
13688
13689 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
13690 character info for LRE, LRO, RLE, and RLO characters by appending
13691 an invisible PDF.
12587bbb 13692
bad41229
SM
136932011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
13694
13695 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
13696 even in case of error; add debug spec; simplify data flow.
13697 (with-timeout-handler): Remove.
13698
28dbc92f
MA
136992011-10-12 Michael Albinus <michael.albinus@gmx.de>
13700
13701 Fix Bug#6019, Bug#9315.
13702
13703 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
13704 complete `buffer-file-name', the local file name part could look
13705 remotely (for example on VMS).
13706
13707 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
13708 `tramp-run-real-handler'.
13709 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
13710 already quoted by '"'.
13711
13712 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
13713 Let `file-name-handler-alist' be nil, the local file name part
13714 could look remotely (for example on VMS).
13715
e1b0b23a
SM
137162011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
13717
13718 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
13719 from here...
13720 (flyspell-post-command-hook): ...to here.
13721
a120bde9
SM
137222011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
13723
13724 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
13725 if not needed.
13726 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
13727 using completion. Protect against "slow" callers.
13728 Remove the "message hack".
13729
7ce7717b
JL
137302011-10-11 Juri Linkov <juri@jurta.org>
13731
13732 * isearch.el (isearch-lazy-highlight-word): New variable.
13733 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
13734 Use it. (Bug#9727)
13735
c02ee9d6
GM
137362011-10-11 Glenn Morris <rgm@gnu.org>
13737
13738 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
13739 like f90-previous-statement does.
13740
93e616fd 137412011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13742
1f190e73 13743 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
13744 only in interactive use, to avoid error.
13745
af7b6078
SM
137462011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
13747
13748 * minibuffer.el (completion-file-name-table): Fix last change,
13749 i.e. ignore normal errors but not the other ones.
13750
0563dae9
MR
137512011-10-10 Martin Rudalics <rudalics@gmx.at>
13752
13753 * window.el (special-display-buffer-names)
13754 (special-display-regexps): Remove some remnants of earlier
13755 changes from doc-strings.
366ca7f3
MR
13756 (quit-windows-on): New function.
13757
13758 * vc/vc.el (vc-revert, vc-rollback):
13759 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
13760 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 13761 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 13762
49677495
MR
137632011-10-09 Martin Rudalics <rudalics@gmx.at>
13764
13765 * window.el (frame-auto-hide-function): Add version tag.
13766 (Bug#9699)
13767
56f2d1e1
MA
137682011-10-09 Michael Albinus <michael.albinus@gmx.de>
13769
13770 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
13771 condition.
13772
112a6592
LL
137732011-10-09 Leo Liu <sdl.web@gmail.com>
13774
13775 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
13776 (Bug#9701)
13777
0812589b
GM
137782011-10-08 Glenn Morris <rgm@gnu.org>
13779
13780 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
13781 before the first code statement zero indent. (Bug#9690)
13782
b2b0776e
CY
137832011-10-08 Chong Yidong <cyd@stupidchicken.com>
13784
13785 * simple.el (count-words-region): Always count in the region.
13786 Report the number of lines and characters too.
13787 (count-words): New command, which counts in the buffer if the
13788 region is inactive, as count-words-region used to.
13789 (count-words--message): New function. Handle plurals.
13790 (count-lines-region): Make it an alias for count-words-region.
13791
13792 * bindings.el (esc-map): Replace count-lines-region with
13793 count-words-region.
13794
c557cd6b
MR
137952011-10-08 Martin Rudalics <rudalics@gmx.at>
13796
13797 * window.el (window--delete): Delete dedicated frame
13798 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 13799 (switch-to-buffer): Fix doc-string typo.
c557cd6b 13800
61a57ef4 138012011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13802
3a7d293b 13803 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 13804
c3833279
CY
138052011-10-07 Chong Yidong <cyd@stupidchicken.com>
13806
13807 * bindings.el ([M-left],[M-right]): Bind to left-word and
13808 right-word respectively.
13809
21ce8245
GM
138102011-10-07 Glenn Morris <rgm@gnu.org>
13811
13812 * cus-start.el (debug-on-quit): Fix custom type.
13813
6d823bb2
LMI
138142011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
13815
0181e193
LMI
13816 * subr.el (define-key-after): Clarify that the function is not
13817 useful for non-menu keymaps.
13818
6d823bb2
LMI
13819 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
13820
8e3459ce 138212011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13822
21ce8245 13823 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 13824 in current minibuffer (Fix bug with recursive minibuffers).
13825
a1c2d21e
CY
138262011-10-06 Chong Yidong <cyd@stupidchicken.com>
13827
13828 * progmodes/gdb-mi.el (gdb): Doc fix.
13829
5a4cf282
MR
138302011-10-05 Martin Rudalics <rudalics@gmx.at>
13831
13832 * window.el (frame-auto-hide-function): New option replacing
13833 frame-auto-delete. Suggested by Stefan Monnier.
13834 (window--delete): Call frame-auto-hide-function instead of
13835 investigating frame-auto-delete.
c96111ea
MR
13836 (window-point-1, set-window-point-1): New functions.
13837 (window-in-direction, record-window-buffer, window-state-get-1)
13838 (display-buffer-record-window): Use window-point-1 instead of
13839 window-point.
13840 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 13841
9854542e
SM
138422011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
13843
13844 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
13845
8943cfb0
GM
138462011-10-05 Glenn Morris <rgm@gnu.org>
13847
13848 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
13849 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
13850
647ab967
LL
138512011-10-05 Leo Liu <sdl.web@gmail.com>
13852
13853 * subr.el (read-char-choice): Fix argument to buffer-live-p which
13854 works with buffer object.
13855
3ddfbced
SM
138562011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
13857
13858 * mpc.el (mpc-tool-bar-map): Add labels.
13859
bdfa5dd2
GM
138602011-10-04 Glenn Morris <rgm@gnu.org>
13861
13862 * calendar/holidays.el (calendar-check-holidays): Doc fix.
13863
0e2070b5
MR
138642011-10-04 Martin Rudalics <rudalics@gmx.at>
13865
13866 * window.el (window--delete): New function.
13867 (frame-auto-delete): Resuscitate option.
13868 (bury-buffer, replace-buffer-in-windows)
13869 (quit-window): Rewrite using window--delete.
13870 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
13871 Pass display-buffer-mark-dedicated to window--display-buffer-2
13872 (Bug#9639).
13873
3dc61a09
SM
138742011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
13875
915a9b64
SM
13876 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
13877 returns a list (bug#9554). Add remote file name completion.
13878 * comint.el (comint--table-subvert): Curry and get quote&unquote
13879 functions as arguments.
13880 (comint--complete-file-name-data): Adjust call accordingly.
13881 * pcomplete.el (pcomplete--table-subvert): Remove.
13882 (pcomplete-completions-at-point): Use comint--table-subvert instead.
13883
3dc61a09
SM
13884 * minibuffer.el (completion-table-case-fold): Use currying.
13885 (completion--styles-type, completion--cycling-threshold-type):
13886 New constants.
13887 (completion-styles, completion-category-overrides)
13888 (completion-cycle-threshold): Use them.
13889 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
13890 completion-table-case-fold.
13891
8ea0a993
SB
138922011-10-03 Stephen Berman <stephen.berman@gmx.net>
13893
13894 * minibuffer.el (completion-category-overrides): Fix type of styles
13895 and add more user friendly tags (bug#9660).
13896
8c24b7f6
SM
138972011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
13898
13899 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
13900 (mule-input-method-string): New widget.
13901 (default-input-method, language-info-custom-alist): Use it.
13902
428fe61a
SM
139032011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
13904
32c1fffd
SM
13905 * pcomplete.el: Require comint.
13906 (pcomplete--common-suffix): Remove.
13907 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
13908 (pcomplete--table-subvert): Sync with comint--table-subvert.
13909 (pcomplete--entries): Use comint-completion-file-name-table.
13910 * comint.el (comint-unquote-filename): Simplify.
13911 (comint-completion-file-name-table): New function (bug#9616).
13912 (comint--complete-file-name-data): Use it.
13913
428fe61a
SM
13914 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
13915 (pcmpl-gnu-tar-buffer): Remove.
13916 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
13917 around. Make sure pcomplete-suffix-list is only changed temporarily.
13918 Don't look inside the tar's file if it's too large.
428fe61a 13919
04c52e2f
CY
139202011-10-01 Chong Yidong <cyd@stupidchicken.com>
13921
ce3cefcc
CY
13922 * cus-edit.el (custom-mode-map):
13923 * epa.el (epa-key-list-mode-map):
13924 * man.el (Man-mode-map):
13925 * startup.el (splash-screen-keymap):
13926 * simple.el (special-mode-map): Use scroll-up-command and
13927 scroll-down-command.
13928
13929 * progmodes/idlw-help.el (idlwave-help-mode-map):
13930 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
13931 * net/newst-plainview.el (newsticker-mode-map):
13932 * emulation/ws-mode.el (wordstar-mode-map):
13933 * emulation/vi.el (vi-com-map):
13934 * calc/calc-graph.el (calc-graph-show-dumb):
13935 * term/sun.el (terminal-init-sun):
13936 * term/ns-win.el (global-map):
13937 * progmodes/grep.el (grep-mode-map):
13938 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
13939 * mail/rmail.el (rmail-mode-map):
13940 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
13941
04c52e2f
CY
13942 * custom.el (custom-safe-themes, load-theme): Treat value of t for
13943 custom-safe-themes as special.
13944
79adf8c8
JD
139452011-10-01 Julien Danjou <julien@danjou.info>
13946
13947 * notifications.el (notifications-notify): Fix docstring.
13948
63bd50d3
PS
139492011-10-01 Per Starbäck <per@starback.se>
13950
13951 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
13952
199e4c7e
MR
139532011-09-30 Martin Rudalics <rudalics@gmx.at>
13954
13955 * startup.el (command-line-1): Fix last fix by inserting
13956 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 13957 (Bug#9605) and (Bug#9636)
199e4c7e 13958
fe5f08dd
EZ
139592011-09-29 Eli Zaretskii <eliz@gnu.org>
13960
13961 * simple.el (line-move): If auto-hscroll-mode is disabled and the
13962 window is hscrolled, move by logical lines. (Bug#9607)
13963 (line-move-visual): Update the doc string to the above effect.
13964
b5516bbd
MR
139652011-09-29 Martin Rudalics <rudalics@gmx.at>
13966
ccee00c0
MR
13967 * window.el (display-buffer-record-window): When WINDOW is the
13968 selected window use `point' instead of `window-point'. (Bug#9626)
13969
b5516bbd
MR
13970 * startup.el (command-line-1): Use insert-before-markers when
13971 inserting initial-scratch-message. (Bug#9605)
ccee00c0 13972
b5516bbd
MR
13973 * help.el (help-window): Remove variable.
13974
52aa0014
GM
139752011-09-29 Glenn Morris <rgm@gnu.org>
13976
13977 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
13978
df9a7357
JB
139792011-09-29 Juanma Barranquero <lekktu@gmail.com>
13980
13981 * descr-text.el (describe-char-categories): Accept category
13982 descriptions more than one line long.
13983
a8406c20
SM
139842011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
13985
88d9610c
SM
13986 * simple.el (delete-trailing-whitespace): Fix last change.
13987
a5daf810
SM
13988 * progmodes/perl-mode.el (perl-syntax-propertize-function):
13989 Don't confuse "y => 3" as the beginning of a `y' operation.
13990
a8406c20
SM
13991 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
13992 object has more than 4 slots (bug#9613).
13993
a239d4e9
JB
139942011-09-28 Juanma Barranquero <lekktu@gmail.com>
13995
13996 * subr.el (with-output-to-temp-buffer):
13997 * net/quickurl.el (quickurl, quickurl-browse-url):
13998 Fix typos in docstrings.
13999
693fbdb6
EZ
140002011-09-27 Eli Zaretskii <eliz@gnu.org>
14001
14002 * minibuffer.el (completion-styles)
14003 (completion-category-overrides): Cross reference each other in doc
14004 strings.
14005
8b457e28
GM
140062011-09-27 Glenn Morris <rgm@gnu.org>
14007
14008 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
14009 to split-string. (Bug#9606)
14010
85a16208
LMI
140112011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
14012
14013 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
14014 (bug#9615).
14015
502f9ebd
CY
140162011-09-27 Chong Yidong <cyd@stupidchicken.com>
14017
14018 * emacs-lisp/package.el (list-packages): Fix echo area message.
14019
7690bdea
LL
140202011-09-27 Leo Liu <sdl.web@gmail.com>
14021
14022 * ido.el (ido-read-internal): Accept cons cell HIST arg.
14023
e2ee6f30
MA
140242011-09-25 Michael Albinus <michael.albinus@gmx.de>
14025
14026 * net/dbus.el (dbus-unregister-object): Don't release services for
14027 registered signals. (Bug#9581)
14028
f3f98342
TZ
140292011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
14030
14031 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
14032 function that picks between cfengine 2 and 3 support
14033 automatically. Update docs accordingly.
14034
dd7aa8dd
KH
140352011-09-22 Kenichi Handa <handa@m17n.org>
14036
14037 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
14038 ZERO.
14039 (indian-itrans-v5-table-for-tamil): New variable.
14040 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
14041
3f2b07f8
KM
140422011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
14043
14044 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
14045 that's true if the current command involved collapsing of text.
14046 It's reset to false at the beginning of the next command.
14047 (allout-post-command-business): Move the cursor to the beginning
14048 of entry if the cursor is hidden and collapsing activity just
14049 happened.
14050
371d6a61
CY
140512011-09-24 Chong Yidong <cyd@stupidchicken.com>
14052
14053 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
14054 tracking (Bug#9541).
14055
2ac2721a
UJ
140562011-09-24 Ulf Jasper <ulf.jasper@web.de>
14057
14058 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
14059 (newsticker-show-news): Automatically load html rendering package
14060 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
14061 because w3m-fill-column is let-bound" and the error "Symbol's value
14062 as variable is void: w3m-fill-column".
2ac2721a 14063
fac7ae53
MA
140642011-09-24 Michael Albinus <michael.albinus@gmx.de>
14065
14066 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
14067 Release services only if they are defined. (Bug#9581)
14068
e08b633b
RS
140692011-09-23 Richard Stallman <rms@gnu.org>
14070
e488d29c
RS
14071 * textmodes/paragraphs.el (forward-sentence): For backwards case,
14072 distinguish start of paragraph from start of its text.
14073
19c38752
RS
14074 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
14075
e08b633b
RS
14076 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
14077 (rmail-generate-viewer-buffer): Put that hook on view buffer.
14078 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
14079
0a39f27e
AS
140802011-09-23 Andreas Schwab <schwab@linux-m68k.org>
14081
14082 * international/mule-diag.el (mule-diag): Insert a newline after
14083 each fontset description.
14084
db4e950d
SM
140852011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
14086
14087 * simple.el (delete-trailing-whitespace):
14088 Document last change; simplify.
14089
eca3f3ea
PW
140902011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
14091
d68e189a
PW
14092 * simple.el (delete-trailing-whitespace): Also delete
14093 extra newlines at the end of the buffer.
14094
eca3f3ea
PW
14095 * textmodes/picture.el: Make motion commands obey shift-select-mode.
14096 (picture-newline): Use forward-line so as to ignore fields.
14097
01c157cc
SM
140982011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
14099
14100 * subr.el (with-wrapper-hook): Fix edebug spec.
14101
022de23e
LMI
141022011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
14103
14104 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
14105 (bug#4538).
14106
91683089
MA
141072011-09-23 Michael Albinus <michael.albinus@gmx.de>
14108
eca3f3ea
PW
14109 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
14110 Fix nasty bug using wrong cached values.
91683089 14111
5bdd6fa4
AM
141122011-09-23 Alan Mackenzie <acm@muc.de>
14113
14114 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
14115
97adfb97
CY
141162011-09-23 Chong Yidong <cyd@stupidchicken.com>
14117
14118 * window.el (pop-to-buffer): Ensure right window is selected if we
14119 chose another frame.
14120
d4ef2b50
EZ
141212011-09-22 Eli Zaretskii <eliz@gnu.org>
14122
14123 * simple.el (what-cursor-position): Use get-char-property-change
14124 and next-single-char-property-change, to be able to show display
14125 properties that come from overlays as well as text properties.
14126
72258fe5
CY
141272011-09-22 Chong Yidong <cyd@stupidchicken.com>
14128
14129 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
14130
14131 * cmuscheme.el (run-scheme, switch-to-scheme):
14132 * cus-edit.el (customize-group, custom-buffer-create)
14133 (customize-browse):
14134 * info.el (info):
14135 * shell.el (shell):
14136 * mail/sendmail.el (mail):
14137 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
14138
8f098516
RS
141392011-09-22 Richard Stallman <rms@gnu.org>
14140
14141 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
14142 move back only to line beg, don't move back over blank lines.
14143
e74f1bb6
MA
141442011-09-22 Michael Albinus <michael.albinus@gmx.de>
14145
14146 * files.el (copy-directory): Set directory attributes only in case
14147 they could be retrieved from the source directory. (Bug#9565)
14148
bfeef8b6
DK
141492011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
14150
14151 * progmodes/hideshow.el (hs-looking-at-block-start-p)
14152 (hs-find-block-beginning, hs-hide-level-recursive):
14153 Ignore strings as well as comments. (Bug#9502)
14154
7e423bb8
AS
141552011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
14156
14157 * progmodes/sql.el (sql-comint-postgres):
14158 Convert port number to a string. (Bug#9566)
14159
b4d72fcf
MR
141602011-09-22 Martin Rudalics <rudalics@gmx.at>
14161
14162 * window.el (quit-window): Undedicate window when switching to
14163 previous buffer. Reported by Thierry Volpiatto
14164 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
14165 (special-display-popup-frame): When popping up a new frame reset
14166 its previous buffers to nil. Simplify code.
b4d72fcf 14167
a7b88dc6
MA
141682011-09-21 Michael Albinus <michael.albinus@gmx.de>
14169
14170 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
14171 and process filter, as done also in `shell-command'.
14172
cf4eacfd
MR
141732011-09-21 Martin Rudalics <rudalics@gmx.at>
14174
eca3f3ea 14175 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
14176 Call set-window-start with NOFORCE argument t.
14177 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
14178 (quit-window): Reword doc-string. Handle new format of
14179 quit-restore parameter. Don't delete window if it has a
14180 previous buffer we can show instead of the present one.
14181 (display-buffer-record-window): Rewrite using a new format for
14182 the quit-restore window parameter
14183 (special-display-popup-frame, display-buffer-same-window)
14184 (display-buffer-reuse-window, display-buffer-pop-up-frame)
14185 (display-buffer-pop-up-window, display-buffer-use-some-window):
14186 Adapt symbol passed to display-buffer-record-window.
14187 * help.el (help-window-setup): Handle new format of quit-restore
14188 parameter.
14189
8d28cb95
SM
141902011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
14191
94ab793f
SM
14192 * faces.el (face-list): Fix docstring (bug#9564).
14193
8d28cb95
SM
14194 * window.el (display-buffer--action-function-custom-type):
14195 Don't include internal functions in the Custom interface.
14196
3820edeb
JL
141972011-09-20 Juri Linkov <juri@jurta.org>
14198
14199 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
14200 (Info-forward-node, Info-backward-node, Info-next-preorder)
14201 (Info-last-preorder): Use it. (Bug#9528)
14202
5147931d
JL
142032011-09-20 Juri Linkov <juri@jurta.org>
14204
14205 * info.el (Info-last-preorder): Visit last menu item only when
14206 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
14207
cf499a1a
JD
142082011-09-20 Julien Danjou <julien@danjou.info>
14209
14210 * password-cache.el (password-cache-remove): Remove entries even if the
14211 value is nil, so that password with a nil value (negative caching) is
14212 possible to invalidate.
14213
f84e2fe2
LM
142142011-09-20 Lawrence Mitchell <wence@gmx.li>
14215
14216 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
14217 all whitespace around breakpoint. (Bug#9553)
14218 (f90-find-breakpoint): Only break at whitespace inside a comment.
14219
78054a46
SM
142202011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
14221
14222 * minibuffer.el (completion-file-name-table): Keep track of errors.
14223 (completion-table-with-predicate): Handle the case where pred1 is nil.
14224 * pcomplete.el (pcomplete-completions-at-point): Simplify.
14225
345083b2
SM
142262011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
14227
e24e27be
SM
14228 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
14229 (debugger-return-value): Signal an error if the debugging context does
14230 not await any return value.
14231
345083b2
SM
14232 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
14233 * image-mode.el (image-toggle-display-text)
14234 (image-toggle-display-image): Stay away from evil `intangible'.
14235
08d355e3
LL
142362011-09-19 Leo Liu <sdl.web@gmail.com>
14237
14238 * replace.el (occur-revert-arguments): Make it permanent-local.
14239 (occur-mode): Don't call font-lock-defontify.
14240
f01da43f
CY
142412011-09-19 Chong Yidong <cyd@stupidchicken.com>
14242
14243 * net/ldap.el (ldap-search-internal): Don't push empty search
14244 result (Bug#9508).
14245
b6072fa6
SM
142462011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
14247
14248 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
14249
443d6696
MA
142502011-09-19 Michael Albinus <michael.albinus@gmx.de>
14251
14252 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
14253 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
14254
7cc6e154
JL
142552011-09-18 Juri Linkov <juri@jurta.org>
14256
14257 * buff-menu.el (Buffer-menu-mode-map):
14258 * dired.el (dired-mode-map):
14259 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
14260 (lisp-interaction-mode-map):
14261 * emacs-lisp/package.el (package-menu-mode-map):
14262 * epa.el (epa-key-list-mode-map):
14263 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
14264 (menu-bar-options-menu):
14265 * outline.el (outline-mode-menu-bar-map):
14266 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
14267 * vc/vc-dir.el (vc-dir-menu-map):
14268 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
14269 Capitalize non-function content words in menu item strings.
14270
14271 * dired.el (dired-mode-map): Add menu item for
14272 `image-dired-dired-toggle-marked-thumbs'.
14273
80302a81
JL
142742011-09-18 Juri Linkov <juri@jurta.org>
14275
14276 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
14277 to `isearch-case-fold-search' and restore its original value
14278 after the `isearch-mode' call.
14279
46c5cf66
JL
142802011-09-18 Juri Linkov <juri@jurta.org>
14281
14282 * progmodes/grep.el (grep-process-setup): Don't check code for 1
14283 because `zgrep' returns 1 for successful matches (bug#9226).
14284
d18b513b
JL
142852011-09-18 Juri Linkov <juri@jurta.org>
14286
14287 * info.el (Info-extract-menu-node-name): Check the second match
14288 for empty string (second test-case of bug#9528).
14289 (Info-last-preorder): Let-bind `Info-history' to nil to not add
14290 intermediate nodes to the history (first test-case of bug#9528).
14291
72753f87
JL
142922011-09-18 Juri Linkov <juri@jurta.org>
14293
14294 * info.el (Info-mode-syntax-table): New variable.
1154d12e 14295 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 14296
c9384295
JL
142972011-09-18 Juri Linkov <juri@jurta.org>
14298
1154d12e
JB
14299 * info.el (Info-file-supports-index-cookies):
14300 Increment line-beginning-position's arg from 3 to 4 because makeinfo
14301 outputs one more line for long file names (bug#4142).
c9384295 14302
d473dce8
CY
143032011-09-18 Chong Yidong <cyd@stupidchicken.com>
14304
14305 * newcomment.el (comment-normalize-vars): If prompting for
14306 comment-start, set comment-start-skip too (Bug#8424).
14307
2176854d
JB
143082011-09-18 Johan Bockgård <bojohan@gnu.org>
14309
14310 * icomplete.el: Fix previous fix of Bug#5849.
14311 (icomplete-mode): Don't set completion-show-inline-help.
14312 (icomplete-minibuffer-setup): Set completion-show-inline-help
14313 locally during icompletion.
14314
3aace4e4
CY
143152011-09-18 Chong Yidong <cyd@stupidchicken.com>
14316
c940224f
CY
14317 * woman.el (woman2-process-escapes): Don't delete unrecognized
14318 escapes (Bug#7843).
14319
3aace4e4
CY
14320 * files.el (inhibit-first-line-modes-regexps): Add image files.
14321 (hack-local-variables-prop-line): Return nil for malformed
14322 prop-lines (Bug#9044).
14323
710dec63
MA
143242011-09-18 Michael Albinus <michael.albinus@gmx.de>
14325
14326 * net/tramp.el (top): Don't require 'shell.
14327 (tramp-methods): Fix docstring.
14328 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
14329 Return complete remote file name. Handle "smb" case.
14330 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
14331 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
14332
14333 * net/tramp-compat.el (top): Require 'shell.
14334
14335 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
14336 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
14337 `tramp-current-host'.
14338 (tramp-get-remote-tmpdir): Remove.
14339
14340 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
14341 `tramp-tmpdir' entries.
14342 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
14343 (tramp-smb-handle-file-attributes): Ignore errors.
14344 (tramp-smb-wait-for-output): Check also for process end.
14345
5d5ac8ec
LMI
143462011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
14347
14348 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
14349 when sending QUIT (bug#9312).
14350
8c0f49f0
CY
143512011-09-17 Chong Yidong <cyd@stupidchicken.com>
14352
14353 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
14354 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
14355 occur-mode-display-occurrence.
14356 (occur-edit-mode): Add usage message.
14357 (occur-cease-edit): New command.
14358 (occur-after-change-function): Use text properties to find the
14359 position of the prefix text.
14360 (occur-engine): Set stickiness of prefix text properties.
14361
8f1383f7
GM
143622011-09-17 Glenn Morris <rgm@gnu.org>
14363
14364 * progmodes/etags.el (complete-tag):
14365 Fix call to completion-in-region. (Bug#9526)
14366
744ba0e3
JL
143672011-09-17 Juri Linkov <juri@jurta.org>
14368
14369 * textmodes/ispell.el (ispell-word): Add to the error message
14370 the word, ispell program name and current dictionary (bug#9121).
14371 (ispell-tex-arg-end): Capitalize "error" in the error message.
14372
d9bbf400
AS
143732011-09-17 Andreas Schwab <schwab@linux-m68k.org>
14374
14375 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
14376 check. (Bug#4251)
14377
8da11505
JL
143782011-09-17 Juri Linkov <juri@jurta.org>
14379
14380 * window.el (window-safe-min-height, window-safe-min-width):
14381 Fix typos (followup to bug#9522).
14382
a91adc7e
SJ
143832011-09-17 Sven Joachim <svenjoac@gmx.de>
14384
14385 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
14386
064f328a
EZ
143872011-09-16 Eli Zaretskii <eliz@gnu.org>
14388
14389 * simple.el (line-move): If goal-column is set, move by logical
14390 lines, not by display lines. (Bug#971)
14391 (next-line, previous-line, goal-column, line-move-visual): Doc fix
14392 to reflect the above change.
14393
e69df516
SM
143942011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
14395
14396 * image.el (imagemagick-register-types): Use regexp-opt.
14397
cbb0f9ab
CY
143982011-09-15 Chong Yidong <cyd@stupidchicken.com>
14399
14400 * window.el (display-buffer-base-action): Rename from
14401 display-buffer-default-action. Make default value empty.
14402 (display-buffer-overriding-action): Convert to defvar.
14403 (display-buffer-fallback-action): New var.
14404
25322144
CY
144052011-09-15 Chong Yidong <cyd@stupidchicken.com>
14406
14407 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
14408 declaration.
14409 (package--add-to-archive-contents): If there is a duplicate entry
14410 with an older version, remove it.
14411 (package-menu-mark-delete, package-menu-mark-install)
14412 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
14413 (package-menu-mark-obsolete-for-deletion):
14414 Use package-menu-get-status instead of a regexp search.
25322144
CY
14415 (package-menu-get-status): Use tabulated-list-entry.
14416 (package-menu-mark-upgrades): New command.
d770725a 14417 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
14418 (package-menu-execute): Do installation before deletion.
14419 (package-menu-refresh, package-menu-execute): Use derived-mode-p
14420 instead of checking major-mode.
14421 (package-menu--find-upgrades): New function.
14422
7520339c
LMI
144232011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
14424
14425 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
14426 passwords in the log buffer.
65a046c4
LMI
14427 (smtpmail-process-filter): Update the process marker so that the
14428 "broken by peer" status message is inserted in the right place.
7520339c 14429
d3c30954
SM
144302011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
14431
3fe48822
SM
14432 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
14433 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
14434 bibtex-completion-at-point-function.
14435 (bibtex-completion-at-point-function): Use them.
14436
1b8b3954
SM
14437 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
14438
d3c30954
SM
14439 * mpc.el (mpc-constraints-tag-lookup): New function.
14440 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
14441 also to browser "album|playlist".
14442
72779976
JL
144432011-09-14 Juri Linkov <juri@jurta.org>
14444
14445 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
14446 (isearch-edit-string): Use length of `isearch-string' when
14447 `isearch-fail-pos' returns nil.
14448 (isearch-message): Remove duplicate code and call
14449 `isearch-fail-pos' with arg `t'.
14450
a0bf2bcd
CY
144512011-09-14 Chong Yidong <cyd@stupidchicken.com>
14452
17bb0a2d
CY
14453 * replace.el (occur-mode-goto-occurrence): Don't force using other
14454 window (Bug#9499).
14455
a0bf2bcd
CY
14456 * dired-aux.el (dired-do-chmod): Don't provide initial input.
14457
f678e0b6
MR
144582011-09-14 Martin Rudalics <rudalics@gmx.at>
14459
14460 * window.el (display-buffer-window): Remove.
14461 (display-buffer-record-window): Use help-setup window parameter
14462 instead of variable display-buffer-window.
14463 (display-buffer-function, special-display-buffer-names)
14464 (special-display-function): Mention help-setup parameter instead
14465 of display-buffer-window in doc-string.
d3c30954
SM
14466 * help.el (help-window-setup): New argument help-window.
14467 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
14468 Reword some messages.
14469 (with-help-window): Pass window used for displaying the buffer
14470 to help-window-setup. Don't set display-buffer-window.
14471
8e39b2e8
GM
144722011-09-13 Glenn Morris <rgm@gnu.org>
14473
14474 * emacs-lisp/debug.el (debugger-make-xrefs):
14475 Preserve point. (Bug#9462)
14476
85e9c04b
CY
144772011-09-13 Chong Yidong <cyd@stupidchicken.com>
14478
14479 * window.el (window-deletable-p): Use next-frame.
14480
1b36ed6a
MR
144812011-09-13 Martin Rudalics <rudalics@gmx.at>
14482
14483 * window.el (window-auto-delete): Remove.
14484 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 14485 dedication and previous buffers.
1b36ed6a
MR
14486 (switch-to-prev-buffer): Don't delete window.
14487 (delete-windows-on): Delete a window's frame if and only if the
14488 window is dedicated.
14489 (replace-buffer-in-windows): Delete buffer's window or frame if
14490 and only if window is dedicated.
14491 (quit-window): Handle quit-restore as before last change.
4d61f28d 14492 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 14493
ef8ef9fb
CY
144942011-09-13 Chong Yidong <cyd@stupidchicken.com>
14495
14496 * window.el (window-deletable-p): Never delete the last frame on a
14497 given terminal.
14498
b2cba41e
GM
144992011-09-13 Glenn Morris <rgm@gnu.org>
14500
14501 * help.el (describe-key-briefly): Copy previous standard-output change.
14502
51553db6 145032011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
14504
14505 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
14506
b7556719
GM
145072011-09-13 Glenn Morris <rgm@gnu.org>
14508
14509 * emacs-lisp/lisp-mode.el (lisp-indent-function):
14510 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
14511
64b51947
CY
145122011-09-12 Chong Yidong <cyd@stupidchicken.com>
14513
14514 * dired-aux.el (dired-mark-read-string): Don't return default
14515 value on empty input (Bug#9361).
14516 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
14517 Omit initial minibuffer contents.
14518 (dired-do-chmod): Signal an error on empty input.
14519 (dired-mark-read-string): Don't return default on empty input.
14520
14521 * files.el (file-modes-symbolic-to-number): Doc fix.
14522
393a301e
SM
145232011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
14524
14525 * international/mule-cmds.el (ucs-completions): Remove.
14526 (read-char-by-name): Use complete-with-action instead; add metadata.
14527
fa5660f9
CY
145282011-09-11 Chong Yidong <cyd@stupidchicken.com>
14529
14530 * window.el (display-buffer--action-function-custom-type)
14531 (display-buffer--action-custom-type): New vars.
14532 (display-buffer-alist, display-buffer-default-action)
14533 (display-buffer-overriding-action): Add defcustom types.
14534
4a592f66
CY
14535 * frame.el (delete-other-frames): Doc fix (Bug#276).
14536
73d56dbd
LMI
145372011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14538
14539 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
14540
37ac18a3
CY
145412011-09-11 Chong Yidong <cyd@stupidchicken.com>
14542
14543 Change modes that used same-window-* vars to use switch-to-buffer.
14544
14545 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
14546 Use switch-to-buffer.
14547
14548 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
14549 (customize-browse, custom-buffer-create-other-window):
14550 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
14551
14552 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
14553 (Info-prev, Info-up, Info-speedbar-goto-node)
14554 (info-display-manual): Use switch-to-buffer.
14555 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
14556
14557 * mail/sendmail.el (mail): Use switch-to-buffer.
14558 (mail-recover): Use switch-to-buffer-other-window.
14559
14560 * cmuscheme.el (run-scheme, switch-to-scheme):
14561 * ielm.el (ielm):
14562 * shell.el (shell):
14563 * net/rlogin.el (rlogin):
14564 * net/telnet.el (telnet, rsh):
14565 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
14566
10195bd6
AS
145672011-09-11 Andreas Schwab <schwab@linux-m68k.org>
14568
14569 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
14570
b322f63a
LMI
145712011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14572
39d7fed6
LMI
14573 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
14574 so don't mention it (bug#9301).
ba5a81f1 14575 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 14576
ee0e9f11
LMI
14577 * faces.el (face-spec-set-match-display): Make `(type graphic)'
14578 match `x', `w32' and `ns', like the manual says (bug#9029).
14579
0b1c89c1 14580 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
14581 (process-kill-buffer-query-function): Mention the buffer name in
14582 the query.
0b1c89c1 14583
77549ea8
LMI
14584 * image-mode.el (image-next-line): The line parameter is mandatory
14585 (bug#9258).
14586
803ef892
LMI
14587 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
14588 which can be useful (bug#9301).
14589
12980837
LMI
14590 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
14591
91054f8f
LMI
14592 * subr.el (match-string): Mention that the current buffer should
14593 be the same as the search was done in (bug#9282).
14594
b322f63a
LMI
14595 * facemenu.el: Disable the remove-* commands if the mark isn't
14596 active (bug#9162).
14597
3199b96f
CY
145982011-09-10 Chong Yidong <cyd@stupidchicken.com>
14599
14600 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
14601 of display-buffer.
14602 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
14603
14604 * replace.el (occur-mode-goto-occurrence)
14605 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
14606 and display-buffer.
14607
14608 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
14609 display-buffer.
14610
14611 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
14612 special-display and same-window variables.
14613 (mail-other-window): Use switch-to-buffer-other-window.
14614 (mail-other-frame): USe switch-to-buffer-other-frame.
14615
393a301e
SM
14616 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
14617 Use display-buffer-other-frame.
3199b96f
CY
14618 (gdb-display-gdb-buffer): Use pop-to-buffer.
14619
14620 * progmodes/gud.el (gud-goto-info): Use info-other-window.
14621
14622 * progmodes/python.el: Don't set same-window-buffer-names.
14623
14624 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
14625
14626 * window.el (display-buffer-alist): Add *Python*.
14627
8319e0bf
CY
146282011-09-10 Chong Yidong <cyd@stupidchicken.com>
14629
14630 * window.el (display-buffer-alist): Add entry for buffers
14631 previously handled same-window-*.
14632 (display-buffer-alist, display-buffer-default-action)
14633 (display-buffer-overriding-action): Mark as risky.
14634 (display-buffer-alist): Document action function changes.
14635 (display-buffer--same-window-action)
14636 (display-buffer--other-frame-action): New variables.
14637 (switch-to-buffer, display-buffer-other-frame): Use them.
14638 (display-buffer): Rename reuse-frame entry to reusable-frames.
14639 (display-buffer-reuse-selected-window): Function deleted.
14640 (display-buffer-reuse-window): Handle reusable-frames alist entry.
14641 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
14642 (display-buffer-special): New function.
14643 (display-buffer--maybe-pop-up-frame-or-window): Rename from
14644 display-buffer-reuse-or-pop-window. Split off special-display
14645 part into display-buffer-special.
14646 (display-buffer-use-some-window): Don't perform any special
14647 pop-up-frames handling.
14648 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 14649 (display-buffer--maybe-same-window): Rename from
0d3ff375 14650 display-buffer-maybe-same-window.
8319e0bf 14651
919a69aa
CY
14652 * info.el: Don't set same-window-regexps.
14653 (info-setup): New function.
14654 (info-other-window, info): Call it.
14655
14656 * cus-edit.el: Don't set same-window-regexps.
14657 (customize-group): New argument.
14658 (customize-group-other-window): Use it.
14659 (customize-face, customize-face-other-window): Likewise.
14660 (custom-buffer-create-other-window): Use pop-to-buffer directly.
14661
8319e0bf
CY
14662 * net/rlogin.el:
14663 * net/telnet.el:
14664 * progmodes/gud.el: Don't set same-window-regexps.
14665
14666 * cmuscheme.el:
14667 * ielm.el:
14668 * shell.el:
14669 * mail/sendmail.el:
14670 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
14671
25173000
JL
146722011-09-10 Juri Linkov <juri@jurta.org>
14673
14674 * isearch.el (isearch-edit-string): Remove obsolete mention of
14675 `C-w' (`isearch-yank-word-or-char') from docstring.
14676 (isearch-query-replace): Fix typo in docstring (bug#9466).
14677
056e44ef
JL
146782011-09-10 Juri Linkov <juri@jurta.org>
14679
14680 * paren.el (show-paren-function): Don't show escaped parens.
14681 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
14682
c3760c17
EZ
146832011-09-10 Eli Zaretskii <eliz@gnu.org>
14684
14685 * mail/sendmail.el (mml-to-mime, mml-attach-file)
14686 (mm-default-file-encoding): Remove autoload forms, they are
14687 replaced with autoload cookies in mml.el and mm-encode.el.
14688 (mail-add-attachment): New command.
14689 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
14690 (mail-mode): Mention mail-insert-file and mail-add-attachment in
14691 the doc string.
14692 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
14693
fece895e
RT
146942011-09-10 Reuben Thomas <rrt@sc3d.org>
14695
e69df516
SM
14696 * simple.el (count-words-region): Use buffer if there's no region
14697 (bug#9429).
fece895e 14698
5e68ce4a
JL
146992011-09-09 Juri Linkov <juri@jurta.org>
14700
14701 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
14702 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
14703 (wdired-isearch-filter-read-only): New function. (Bug#6362)
14704
0a6b9622
AM
147052011-09-09 Alan Mackenzie <acm@muc.de>
14706
14707 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
14708 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
14709
14a29deb
EZ
147102011-09-09 Eli Zaretskii <eliz@gnu.org>
14711
14712 Fix for Savannah bug#9392.
14713 * simple.el (mail-encode-mml): New defvar.
14714
14715 * mail/rmail.el (mail-encode-mml): Add a defvar.
14716 (rmail-enable-mime-composing): Default to t.
14717 (rmail-forward): Use MIME method of forwarding only if both
14718 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
14719 Set mail-encode-mml non-nil if the MIME method was used.
14720
14721 * mail/sendmail.el (mml-to-mime): Add autoload form.
14722 (mail-encode-mml): Add a defvar.
14723 (mail-mode): Make mail-encode-mml buffer-local and initialize it
14724 to nil.
14725 (mail-send): If mail-encode-mml is non-nil, run the outgoing
14726 message through mml-to-mime, and reset mail-encode-mml to nil.
14727
28c45130
GM
147282011-09-09 Glenn Morris <rgm@gnu.org>
14729
14730 * woman.el (woman-if-body): When processing an .el block,
14731 do not delete the next .el block as well. (Bug#9447)
69f4b618 14732 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 14733
9b1c252e
MR
147342011-09-08 Martin Rudalics <rudalics@gmx.at>
14735
14736 * window.el (window-deletable-p): Make sure window is live before
14737 invoking window-prev-buffers.
14738
567457e3
LL
147392011-09-08 Leo Liu <sdl.web@gmail.com>
14740
14741 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
14742
97f05794
JL
147432011-09-08 Juri Linkov <juri@jurta.org>
14744
14745 * progmodes/compile.el (compilation-environment): Make it
14746 a defcustom (bug#8340).
14747
8b0874b5
MR
147482011-09-08 Martin Rudalics <rudalics@gmx.at>
14749
14750 * window.el (frame-auto-delete): Rename to window-auto-delete.
14751 Make it control auto-deletion of windows and/or frames.
14752 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 14753 for deleting window/frame. (Bug#9419)
8b0874b5
MR
14754 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
14755 Rewrite handling of case when window/frame can be deleted.
14756 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 14757 argument t. (Bug#9456)
8b0874b5 14758
4feb6e73
CY
147592011-09-07 Chong Yidong <cyd@stupidchicken.com>
14760
14761 * help-mode.el (help-mode): Restore autoload.
14762
91ab9c13
JL
147632011-09-07 Juri Linkov <juri@jurta.org>
14764
14765 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
14766 `compilation-environment'. Set buffer-local
14767 `compilation-environment' to `thisenv' later after (funcall mode).
14768 (Bug#8340)
14769
14770 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
14771 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
14772 instead of replacing its value. (Bug#8340)
14773
0527e251
JL
147742011-09-07 Juri Linkov <juri@jurta.org>
14775
14776 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
14777 based on text properties put by `grep-filter' instead of matching
14778 escape sequences.
14779 (grep-mode): Set buffer-local `compilation-error-screen-columns'
14780 to the value of `grep-error-screen-columns' (bug#9438).
14781
249f792c
JL
147822011-09-07 Juri Linkov <juri@jurta.org>
14783
14784 * simple.el (next-error-highlight, next-error-highlight-no-select):
14785 Doc fix (bug#9432).
14786
ff7271b9
OT
147872011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
14788
14789 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
14790 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
14791
183fc730
LL
147922011-09-07 Leo Liu <sdl.web@gmail.com>
14793
14794 * net/rcirc.el (rcirc-mode): Conditionally initialize
14795 rcirc-input-ring.
14796
77694924
SM
147972011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
14798
14799 * emacs-lisp/find-func.el (find-function-C-source): Only set
14800 find-function-C-source-directory after checking that we found a source
14801 file there (bug#9440).
14802
d809b8eb
AM
148032011-09-06 Alan Mackenzie <acm@muc.de>
14804
14805 * isearch.el (isearch-other-meta-char): Wherever a key list is
14806 unread, "unread" the prefix arg, too. This fixes bug #8901.
14807
453de99f
OG
148082011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
14809
14810 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
14811
90439906
JL
148122011-09-05 Juri Linkov <juri@jurta.org>
14813
14814 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
14815
f62bd846
JL
148162011-09-05 Juri Linkov <juri@jurta.org>
14817
14818 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
14819 keeping point where processing of grep matches begins, and
14820 continue to delete remaining escape sequences from the same point.
14821 (grep-filter): Make leading zero optional in "0?1;31m" because
14822 git-grep emits "\033[1;31m" escape sequences unlike expected
14823 "\033[01;31m" as GNU Grep does (bug#9408).
14824 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
14825
045820ec
JL
148262011-09-05 Juri Linkov <juri@jurta.org>
14827
14828 * subr.el (y-or-n-p): Capitalize "yes".
14829
f5e29b9b
MA
148302011-09-04 Michael Albinus <michael.albinus@gmx.de>
14831
14832 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
14833 `tramp-cache-unload-hook' where appropriate.
14834 (tramp-methods): Rename `tramp-remote-sh' to
14835 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
14836 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
14837
14838 * net/tramp-sh.el (top): Don't require 'shell.
14839 (tramp-methods): Add `tramp-remote-shell' and
14840 `tramp-remote-shell-args' entries.
14841 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
14842 (tramp-sh-handle-shell-command): Remove.
14843 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
14844 Use `tramp-remote-shell'.
14845
2784c434
CY
148462011-09-03 Chong Yidong <cyd@stupidchicken.com>
14847
393a301e 14848 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
14849 (sendmail-query-once): Save directly to send-mail-function.
14850 Update message-send-mail-function too.
14851
14852 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
14853
464cdf56
CS
148542011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
14855
14856 * progmodes/python.el (python-mode-map): Use correct function to
14857 start python interpreter from menu-bar (as reported by Geert
14858 Kloosterman).
14859 (inferior-python-mode-map): Fix typo.
393a301e 14860 (python-shell-map): Remove.
464cdf56 14861
d37e5c87
DD
148622011-09-03 Deniz Dogan <deniz@dogan.se>
14863
14864 * net/rcirc.el (rcirc-print): Simplify code for
14865 rcirc-scroll-show-maximum-output. There is no need to walk
14866 through all windows to find the right one.
14867
f3ada0ee
CS
148682011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
14869
14870 * help.el (help-return-method): Doc fix.
14871
1f3c99ca
MR
148722011-09-03 Martin Rudalics <rudalics@gmx.at>
14873
14874 * window.el (window-deletable-p): Don't return a non-nil value
14875 when there's a buffer that was shown in the window before.
14876 (Bug#9419)
393a301e
SM
14877 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
14878 Set window's previous buffers to nil.
1f3c99ca 14879
a3cf097f
EZ
148802011-09-03 Eli Zaretskii <eliz@gnu.org>
14881
14882 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
14883 newline before and after the tag line, so it doesn't interfere
14884 with determining the paragraph direction of bidirectional text.
14885
3d03de90
LL
148862011-09-03 Leo Liu <sdl.web@gmail.com>
14887
14888 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
14889
c3313451
CY
148902011-09-02 Chong Yidong <cyd@stupidchicken.com>
14891
393a301e 14892 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
14893 (pop-to-buffer): Change interactive spec. Pass second argument
14894 directly to display-buffer.
14895 (display-buffer): Fix interactive spec. Use functionp to
14896 distinguish between a function and a list of functions.
14897
14898 * abbrev.el (edit-abbrevs):
14899 * arc-mode.el (archive-extract):
14900 * autoinsert.el (auto-insert):
14901 * bookmark.el (bookmark-bmenu-list):
14902 * files.el (find-file):
14903 * view.el (view-buffer):
14904 * progmodes/compile.el (compilation-goto-locus):
14905 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
14906
89894cd8
CY
149072011-09-02 Chong Yidong <cyd@stupidchicken.com>
14908
14909 * window.el (display-buffer-alist): Doc fix.
14910 (display-buffer): Add docstring. Don't treat
14911 display-buffer-default specially.
14912 (display-buffer-reuse-selected-window)
14913 (display-buffer-same-window, display-buffer-maybe-same-window)
14914 (display-buffer-reuse-window, display-buffer-pop-up-frame)
14915 (display-buffer-pop-up-window)
14916 (display-buffer-reuse-or-pop-window)
14917 (display-buffer-use-some-window): New functions.
14918 (display-buffer-default-action): Use them.
393a301e 14919 (display-buffer-default): Delete.
89894cd8
CY
14920 (pop-to-buffer-1): Fix choice of actions.
14921
ae0bc9fb
SM
149222011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
14923
14924 * minibuffer.el (completion--insert-strings): Don't get confused by
14925 completion entries that end with an LF char.
14926
e9d90883
EZ
149272011-09-01 Eli Zaretskii <eliz@gnu.org>
14928
14929 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
14930
437014c8
CY
149312011-09-01 Chong Yidong <cyd@stupidchicken.com>
14932
14933 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
14934 (display-buffer-same-window, display-buffer-other-window):
14935 New functions.
437014c8
CY
14936 (pop-to-buffer-1): New function. Use the above.
14937 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 14938 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
14939
14940 * view.el (view-buffer-other-window, view-buffer-other-frame):
14941 Just use pop-to-buffer.
14942
a5e063d5
TV
149432011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14944
14945 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
14946
793d32bb
WH
149472011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
14948
14949 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
14950
d65e4c15
RS
149512011-08-31 Richard Stallman <rms@gnu.org>
14952
14953 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
14954 of the separation of rmail-view-buffer from rmail-buffer.
14955 If you say no to "replace original", the decrypt is in the
14956 view buffer. If you say yes, the decrypt goes into the
14957 rmail buffer also.
14958
f818cd2a
MR
149592011-08-31 Martin Rudalics <rudalics@gmx.at>
14960
14961 * window.el (display-buffer-window): Rewrite doc-string.
14962 (display-buffer-record-window): New function.
14963 (display-buffer-macro-specifiers)
14964 (display-buffer-even-window-sizes, display-buffer-set-height)
14965 (display-buffer-set-width, display-buffer-in-window)
14966 (display-buffer-reuse-window, display-buffer-split-specifiers)
14967 (display-buffer-side-specifiers, display-buffer-split-window-1)
14968 (display-buffer-split-window, display-buffer-split-atom-window)
14969 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
14970 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
14971 (display-buffer-other-window-means-other-frame)
14972 (display-buffer-normalize-special)
14973 (display-buffer-normalize-default)
14974 (display-buffer-normalize-argument)
14975 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
14976 (display-buffer-normalize-specifiers, display-buffer-frame)
14977 (display-buffer-same-window, display-buffer-same-frame)
14978 (display-buffer-other-window)
14979 (display-buffer-same-frame-other-window)
14980 (display-buffer-other-frame, pop-to-buffer-same-window)
14981 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
14982 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
14983 (switch-to-buffer-same-frame)
14984 (switch-to-buffer-other-window-same-frame)
14985 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
14986 (display-buffer-alist-set-1, display-buffer-alist-set-2)
14987 (display-buffer-alist-set): Remove.
14988 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
14989 (special-display-regexps, special-display-function):
14990 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
14991 parameter.
14992 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
14993 (special-display-frame-alist, special-display-popup-frame)
14994 (same-window-buffer-names, same-window-regexps, same-window-p)
14995 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
14996 (split-window-preferred-function, split-height-threshold)
14997 (split-width-threshold, window-splittable-p)
14998 (split-window-sensibly, window--try-to-split-window)
14999 (window--frame-usable-p, even-window-heights)
15000 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
15001 (window--display-buffer-2, display-buffer-other-frame):
15002 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
15003 (display-buffer-default, display-buffer-assq-regexp): New functions.
15004 (display-buffer-alist): Rewrite doc-string.
15005 (display-buffer-default-action)
15006 (display-buffer-overriding-action): New variables.
15007 (display-buffer, switch-to-buffer): Rewrite.
15008 (pop-to-buffer): Restore Emacs 23 behavior but use
15009 window-normalize-buffer-to-display.
15010 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
15011 Restore Emacs 23 behavior but use
15012 window-normalize-buffer-to-switch-to.
15013 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
15014 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
15015 Rewrite using Emacs 23 options.
f818cd2a 15016
5bc3b51d
MA
150172011-08-31 Michael Albinus <michael.albinus@gmx.de>
15018
15019 * net/tramp.el (tramp-root-regexp): Remove.
15020 (tramp-completion-file-name-regexp-unified)
15021 (tramp-completion-file-name-regexp-separate)
15022 (tramp-completion-file-name-regexp-url): Don't use leading volume
b46a6a83 15023 letter on w32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
15024 (tramp-drop-volume-letter): Simplify definition.
15025 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 15026
b1a4f8e1
SM
150272011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
15028
15029 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
15030 (bug#9356).
15031
5664fa7b
RT
150322011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
15033
b1a4f8e1 15034 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 15035
9a45d6c3
JL
150362011-08-29 Juri Linkov <juri@jurta.org>
15037
15038 * isearch.el (isearch-done): Don't display message "Mark saved"
15039 when arg `edit' is non-nil to prevent its flicker in the echo area.
15040
fb87e0fb
CY
150412011-08-28 Chong Yidong <cyd@stupidchicken.com>
15042
15043 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
15044 obsolete packages for deletion.
15045
09ac1c2a
CS
150462011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
15047
15048 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 15049 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
15050 view-mode from help-mode.
15051 (help-xref-override-view-map): Remove.
15052 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
15053 view-mode is not used anymore.
15054
7a1ff57f
CY
150552011-08-28 Chong Yidong <cyd@stupidchicken.com>
15056
15057 * server.el (server-port): Doc fix.
15058
b9696605
CY
15059 * cus-theme.el (custom-theme-choose-mode): Inherit from
15060 special-mode (Bug#9124).
15061 (custom-theme-choose-mode-map): Add special-mode to parent.
15062
ef8cdf8c
AM
150632011-08-28 Alan Mackenzie <acm@muc.de>
15064
15065 * progmodes/cc-fonts.el
15066 (c-make-font-lock-BO-decl-search-function): New function.
15067 (c-basic-matchers-after - "Fontify the clauses after various
15068 keywords"): Extract the three keyword lists for the 3 erroneous
15069 constructs from the list of four, and use the new function above
15070 in place of an old one.
15071
27de4e20
DD
150722011-08-28 Deniz Dogan <deniz@dogan.se>
15073
15074 * net/rcirc.el (rcirc-insert-prev-input)
15075 (rcirc-insert-next-input): Remove unused argument.
15076
356a3681
SM
150772011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
15078
15079 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
15080
3fc9b218
AM
150812011-08-27 Alan Mackenzie <acm@muc.de>
15082
15083 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
15084 handle function pointer parameters properly.
15085
538a061c
MR
150862011-08-27 Martin Rudalics <rudalics@gmx.at>
15087
15088 * window.el (display-buffer-reuse-window): Fix case where
15089 selected window was reused with non-nil OTHER-WINDOW argument.
15090 (Bug#9381)
15091
35b1c40c
DD
150922011-08-27 Deniz Dogan <deniz@dogan.se>
15093
15094 * net/rcirc.el (rcirc-check-auth-status): Adding support for
15095 oftc's NickServ messages.
15096
2f6a3e79
GM
150972011-08-27 Glenn Morris <rgm@gnu.org>
15098
15099 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
15100
7254299e
CY
151012011-08-26 Chong Yidong <cyd@stupidchicken.com>
15102
15103 * emacs-lisp/package.el (package-install): Call package-initialize
15104 if called interactively.
15105
f8ccf167
LL
151062011-08-26 Leo Liu <sdl.web@gmail.com>
15107
15108 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
15109
3e8cd5ce
JL
151102011-08-25 Juri Linkov <juri@jurta.org>
15111
15112 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
15113 `search-whitespace-regexp' (bug#9364).
15114
93eb7113
JL
151152011-08-25 Juri Linkov <juri@jurta.org>
15116
15117 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
15118 `regexp-search-ring' to their global values to protect from
15119 updating by `read-from-minibuffer' (bug#9185).
15120
f65d1611
JL
151212011-08-25 Juri Linkov <juri@jurta.org>
15122
15123 * textmodes/ispell.el (ispell-command-loop): Add newline
15124 at the end of the "Use option `i'..." line.
15125
f1cf7a31
JL
151262011-08-25 Juri Linkov <juri@jurta.org>
15127
15128 * battery.el (display-battery-mode): If `battery-status-function'
15129 or `battery-mode-line-format' is nil, display the message and set
15130 `display-battery-mode' to nil (bug#9363).
15131
0c95fcf7
EZ
151322011-08-25 Eli Zaretskii <eliz@gnu.org>
15133
15134 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
15135 bidi-string-mark-left-to-right; they are unnecessary now.
15136
a2ebe600
DD
151372011-08-25 Deniz Dogan <deniz@dogan.se>
15138
15139 * net/quickurl.el: Documentation typo fixes.
15140
e4ed06f1
CY
151412011-08-25 Chong Yidong <cyd@stupidchicken.com>
15142
15143 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
15144
e5f1c99e
GM
151452011-08-25 Glenn Morris <rgm@gnu.org>
15146
b2948976
GM
15147 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
15148
e5f1c99e
GM
15149 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
15150 (smtpmail-via-smtp): Handle nil response from smtp.
15151
f22f4808
JL
151522011-08-24 Juri Linkov <juri@jurta.org>
15153
15154 * proced.el (proced-marked): Inherit from `error' instead of
15155 `font-lock-warning-face'.
15156
15157 * ibuffer.el (ibuffer-marked-face): Change default face from
15158 `font-lock-warning-face' to `warning'.
15159 (ibuffer-deletion-face): Change default face from
15160 `font-lock-type-face' to `error'.
15161
15162 * battery.el (battery-update): Use the face `error' instead of
15163 `font-lock-warning-face' (bug#6117).
15164
6a93965e
JL
151652011-08-24 Juri Linkov <juri@jurta.org>
15166
15167 * faces.el (success): Change face color from "Green3" to
15168 "ForestGreen" on light background (bug#9353).
15169
1ed43b09
CY
151702011-08-24 Chong Yidong <cyd@stupidchicken.com>
15171
5664fa7b
RT
15172 * window.el (quit-window): Rename from quit-restore-window.
15173 Use same arglist as old quit-window.
1ed43b09
CY
15174 (frame-auto-delete): Doc fix.
15175
15176 * view.el (view-mode-exit): Use quit-window.
15177
11dcdbb2
JL
151782011-08-24 Juri Linkov <juri@jurta.org>
15179
15180 * isearch.el (isearch-ring-adjust1): Start visiting previous
15181 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
15182 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
15183 for empty search string (when the last search string is reused
15184 automatically) to adjust the isearch ring to the last element and
15185 prepare the correct index for further M-p commands (bug#9185).
15186
de62b4df
KH
151872011-08-24 Kenichi Handa <handa@m17n.org>
15188
15189 * international/ucs-normalize.el: If decomposition property of
15190 CHAR is the default one (i.e. a list of CHAR itself), treat it as
15191 nil.
15192 (nfd, nfkd): Likewise.
15193
963b492b
SM
151942011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
15195
15196 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
15197 from process filters aren't reliably transmitted to the surrounding
15198 accept-process-output.
15199 (mpc-proc-check): New function.
15200 (mpc-proc-sync): Use it (bug#8293)
15201
93b6b5e1
SM
152022011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
15203
15204 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
15205 Add compatibility functions (bug#9313).
15206
bca633fb
EZ
152072011-08-23 Eli Zaretskii <eliz@gnu.org>
15208
b177498a
EZ
15209 * cus-start.el (all): Add entry for bidi-paragraph-direction.
15210
6df6ae42 15211 * international/uni-bidi.el: Regenerate.
bca633fb 15212
0902a04e
KH
152132011-08-23 Kenichi Handa <handa@m17n.org>
15214
15215 * international/charprop.el:
15216 * international/uni-bidi.el:
15217 * international/uni-category.el:
15218 * international/uni-combining.el:
15219 * international/uni-comment.el:
15220 * international/uni-decimal.el:
15221 * international/uni-decomposition.el:
15222 * international/uni-digit.el:
15223 * international/uni-lowercase.el:
15224 * international/uni-mirrored.el:
15225 * international/uni-name.el:
15226 * international/uni-numeric.el:
15227 * international/uni-old-name.el:
15228 * international/uni-titlecase.el:
15229 * international/uni-uppercase.el: Regenerate.
15230
3bbf23bc
MR
152312011-08-23 Martin Rudalics <rudalics@gmx.at>
15232
15233 * help.el (help-window-setup): Fix message displayed when other
15234 window is reused. (Bug#9341)
15235
b3fd59bd
SM
152362011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
15237
1802e444
SM
15238 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
15239 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
15240
b3fd59bd
SM
15241 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
15242 Mark obsolete.
15243 * shell.el (shell-parse-pcomplete-arguments): New function.
15244 (shell-completion-vars): Use it instead (bug#9160).
15245
4eb61348
SM
152462011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
15247
867cab74
SM
15248 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
15249 strings and comments (bug#9333).
15250
4eb61348
SM
15251 * emacs-lisp/debug.el (debug-arglist): New function.
15252 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
15253 (debug-on-entry-1): Handle interpreted closures (bug#9120).
15254
262a1439
JL
152552011-08-22 Juri Linkov <juri@jurta.org>
15256
56ee679c
JL
15257 * progmodes/compile.el (compilation-mode-font-lock-keywords):
15258 Revert regexp that highlights output switches to its old
15259 pre-2010-10-28 value and remove one `?' from it (bug#9319).
15260
262a1439
JL
15261 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
15262 to check for empty output (bug#9226).
15263
f13f86fb
CY
152642011-08-22 Chong Yidong <cyd@stupidchicken.com>
15265
15266 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
15267 symbol-constituent as the default, as that stops font-lock from
15268 working properly (Bug#8843).
15269
c65c9622
LMI
152702011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
15271
15272 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
15273 `coding-system-for-*' around the process open call to avoid
15274 auth-source side effects.
e7f2c178 15275 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
15276 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
15277 probe hangs.
c65c9622 15278
23a8a5ab
CY
152792011-08-21 Chong Yidong <cyd@stupidchicken.com>
15280
ff98b2dd
CY
15281 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
15282
23a8a5ab
CY
15283 * emacs-lisp/find-func.el (find-function-noselect): New arg
15284 lisp-only.
15285
15286 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
15287 signal an error for built-in functions (Bug#6664).
15288
f5e3c598
LMI
152892011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
15290
15291 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
15292 (smtpmail-try-auth-methods): Use it.
15293
a3f2468a
CY
152942011-08-21 Chong Yidong <cyd@stupidchicken.com>
15295
2c34e8da
CY
15296 * font-lock.el (font-lock-fontify-region)
15297 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
15298 (font-lock-default-unfontify-buffer)
15299 (font-lock-default-fontify-region)
15300 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
15301
b3fd59bd
SM
15302 * progmodes/compile.el (compilation-error-properties):
15303 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
15304 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
15305 `ant' regexp.
ee31aabc 15306
a3f2468a
CY
15307 * net/browse-url.el (browse-url-firefox): Don't call
15308 browse-url-firefox-sentinel unless using -remote (Bug#9328).
15309
8e999f70
GM
153102011-08-20 Glenn Morris <rgm@gnu.org>
15311
c21a496a
GM
15312 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
15313
59ee0542
GM
15314 * tutorial.el (tutorial--default-keys): Update some default bindings.
15315
8e999f70
GM
15316 * files.el (hack-local-variables): Fully ignore case for "mode:".
15317
e3715033
AM
153182011-08-20 Alan Mackenzie <acm@muc.de>
15319
15320 Resolve invalid use of a regexp in regexp-opt.
15321
4d61f28d
JB
15322 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
15323 detection for a java annotation.
e3715033 15324
4d61f28d 15325 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
15326 detection for a java annotation.
15327
4d61f28d
JB
15328 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
15329 handling for java.
e3715033
AM
15330 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
15331
04ed2e9c
CY
153322011-08-20 Chong Yidong <cyd@stupidchicken.com>
15333
15334 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
15335 (Bug#9274).
15336
826cee64
AM
153372011-08-20 Alan Mackenzie <acm@muc.de>
15338
58179cce 15339 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
15340 such a construct. Mainly for when jit-lock etc. starts a chunk
15341 here.
15342
58179cce 15343 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 15344 variable.
58179cce 15345 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
15346 c-make-font-lock-search-function.
15347 (c-make-font-lock-search-function): Use the above function.
15348 (c-make-font-lock-context-search-function): New function.
15349 (c-cpp-matchers): Enhance the preprocessor expression case with
15350 the above function
15351 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
15352 which takes an expression.
15353
15354 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
15355
13009bd8
MR
153562011-08-20 Martin Rudalics <rudalics@gmx.at>
15357
15358 * window.el (display-buffer-reuse-window)
15359 (display-buffer-pop-up-window): Don't reuse or split a side
15360 window.
15361
9234ff7f
GM
153622011-08-19 Glenn Morris <rgm@gnu.org>
15363
15364 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 15365 Downcase "Mode:". (Bug#9331)
9234ff7f 15366
f635daa1
CY
153672011-08-18 Chong Yidong <cyd@stupidchicken.com>
15368
15369 * international/characters.el: Add L and R categories.
15370
15371 * subr.el (bidi-string-mark-left-to-right): Rename from
15372 string-mark-left-to-right. Use category search.
15373
15374 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
15375
bc987f8b
JL
153762011-08-18 Juri Linkov <juri@jurta.org>
15377
15378 * faces.el (error, warning, success): New faces with definitions
15379 copied from old default values of `font-lock-warning-face',
15380 `compilation-warning', `compilation-info' (bug#6117).
15381
15382 * font-lock.el (font-lock-warning-face): Inherit from `error'.
15383
15384 * progmodes/compile.el (compilation-error): Inherit from `error'.
15385 (compilation-warning): Inherit from `warning'.
15386 (compilation-info): Inherit from `success'.
15387
15388 * dired.el (dired-marked): Inherit from `warning'.
15389 (dired-flagged): Inherit from `error'.
15390
57173b96
LMI
153912011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
15392
3e79eb87
LMI
15393 * mail/smtpmail.el (auth-source): Require to avoid problems with
15394 binding variables (bug#9298). Also clean up some unused
15395 autoloads.
15396
b3fd59bd
SM
15397 * net/network-stream.el (network-stream-open-starttls):
15398 Support using starttls.el without using gnutls-cli.
57173b96 15399
02b404de
JL
154002011-08-17 Juri Linkov <juri@jurta.org>
15401
15402 * progmodes/grep.el (rgrep): Handle the case when
15403 `grep-find-command' is a cons cell (bug#9278).
15404
8c9177f2
MR
154052011-08-17 Martin Rudalics <rudalics@gmx.at>
15406
15407 * window.el (display-buffer-pop-up-frame): Run frame creation
15408 function with BUFFER current (as special-display-popup-frame
15409 does). Reported by Drew Adams.
15410
3644a0ab
DU
154112011-08-17 Daiki Ueno <ueno@unixuser.org>
15412
15413 * epa-mail.el: Simplify GnuPG group expansion using
15414 epg-expand-group.
15415 (epa-mail-group-alist, epa-mail-group-modtime)
15416 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
15417 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
15418 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
15419 Remove.
15420
5e617bc2 154212011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
15422
15423 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
15424
9c4aeabf
AM
154252011-08-16 Alan Mackenzie <acm@muc.de>
15426
15427 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
15428 Correct, to avoid the inside of macros.
15429
3a99bf64
RS
154302011-08-16 Richard Stallman <rms@gnu.org>
15431
04963aa8
RS
15432 * epa-mail.el: Handle GnuPG group definitions.
15433 (epa-mail-group-alist, epa-mail-group-modtime)
15434 (epa-mail-gnupg-conf-file): New variables.
15435 (epa-mail-parse-groups, epa-mail-sync-groups)
15436 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
15437 (epa-mail-expand-recipients): New functions.
15438 (epa-mail-encrypt): Call epa-mail-expand-recipients.
15439
177549d0
RS
15440 * mail/rmail.el (rmail-epa-decrypt): New command.
15441
fe38beef
RS
15442 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
15443 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
15444 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
15445 (epa-decrypt-armor-in-region): Make error message clearer.
15446
934eacb9
SM
154472011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
15448
15449 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
15450 and "a2b" to "ab" for `prefix'.
15451
d024fb4e
CY
154522011-08-14 Chong Yidong <cyd@stupidchicken.com>
15453
15454 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
15455 filter groups.
de148fee
CY
15456 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
15457 Fourquet (Bug#8804).
d024fb4e 15458
62f1ca49
JB
154592011-08-12 Juanma Barranquero <lekktu@gmail.com>
15460
15461 * startup.el (argi): Declare as global variable (bug#9275).
15462
9ccaaa4b
CY
154632011-08-12 Chong Yidong <cyd@stupidchicken.com>
15464
15465 * subr.el (string-mark-left-to-right): Search the entire string
15466 for RTL script, not just the terminating character. Doc fix.
15467
a3dae87a
SM
154682011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
15469
6cd18349
SM
15470 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
15471 New function.
15472 (js--regexp-literal, js-syntax-propertize-function): Remove.
15473 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
15474 (js-mode-map): Don't rebind electric keys.
15475 (js-insert-and-indent): Remove.
15476 (js-mode): Setup electric-layout and electric-indent instead.
15477
a3dae87a
SM
15478 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
15479
9d5cb631
DU
154802011-08-12 Daiki Ueno <ueno@unixuser.org>
15481
15482 * epa.el (epa-progress-callback-function): Fix the logic of
15483 displaying progress.
15484 * epa-file.el (epa-file-insert-file-contents): Make progress
15485 display more user-friendly.
15486 (epa-file-write-region): Ditto.
15487
3e26a4a2
CY
154882011-08-10 Chong Yidong <cyd@stupidchicken.com>
15489
15490 * subr.el (string-mark-left-to-right): New function.
15491
15492 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
15493 Use string-mark-left-to-right.
15494 (list-buffers-noselect): Caller changed.
15495
a3dae87a
SM
15496 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
15497 Use string-mark-left-to-right.
3e26a4a2
CY
15498 (tabulated-list-print): Recenter after moving point.
15499
ac8cf6e6
JL
155002011-08-10 Juri Linkov <juri@jurta.org>
15501
15502 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
15503 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
15504 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
15505
8d96c9a4
CY
155062011-08-09 Chong Yidong <cyd@stupidchicken.com>
15507
15508 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
15509 (Bug#7554).
15510
7be1c708 155112011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
15512
15513 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
15514 character. (Bug#6594)
15515
37e11a63
CY
155162011-08-08 Chong Yidong <cyd@stupidchicken.com>
15517
839dde57
CY
15518 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
15519 (image-dired--with-db-file): New macro.
15520 (image-dired-write-tags, image-dired-remove-tag)
15521 (image-dired-create-gallery-lists, image-dired-write-comments)
15522 (image-dired-get-comment, image-dired-mark-tagged-files)
15523 (image-dired-list-tags, image-dired-gallery-generate): Use it.
15524 (image-dired-gallery-generate): Use insert-file-contents.
15525
37e11a63
CY
15526 * time.el (display-time-world-list, display-time-world-display):
15527 * time-stamp.el (time-stamp-string):
15528 * vc/add-log.el (add-change-log-entry): Use setenv instead of
15529 set-time-zone-rule (Bug#7337).
15530
0b4946c4
DU
155312011-08-08 Daiki Ueno <ueno@unixuser.org>
15532
15533 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
15534 (epg-error-to-string, epg-errors-to-string): New function.
15535 (epg-wait-for-completion): Reverse errors list.
15536 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
15537 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
15538 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
15539 (epg-sign-keys, epg-generate-key-from-file)
15540 (epg-generate-key-from-string): Format errors by using
15541 epg-errors-to-string (bug#9255).
15542 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
15543
75bfc667
JL
155442011-08-07 Juri Linkov <juri@jurta.org>
15545
15546 * faces.el (list-faces-display): Remove extra angle bracket
15547 from `help-mode-map'.
15548
15549 * info.el (Info-history-toc-nodes): Doc fix.
15550
15551 * longlines.el (longlines-mode): Doc fix.
15552
673e08bb
SM
155532011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
15554
4640dd88
SM
15555 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
15556 of statements and in a few more cases (bug#9183).
15557
673e08bb
SM
15558 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
15559 New functions.
15560 (cl-transform-lambda): Use them (bug#9239).
15561
89b3f019
MR
155622011-08-05 Martin Rudalics <rudalics@gmx.at>
15563
15564 * window.el (display-buffer-same-window)
15565 (display-buffer-same-frame, display-buffer-other-window)
15566 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
15567 (pop-to-buffer-other-window)
15568 (pop-to-buffer-same-frame-other-window)
15569 (pop-to-buffer-other-frame): Make them defuns.
15570 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
15571
640c8776
SM
155722011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
15573
15574 * subr.el (make-composed-keymap): Move from C. Change calling
15575 convention, and improve docstring to bring attention to a subtle point.
15576 * minibuffer.el (completing-read-default): Adjust accordingly.
15577
63648a95
MA
155782011-08-03 Michael Albinus <michael.albinus@gmx.de>
15579
15580 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
15581 (tramp-open-shell): Use `tramp-shell-quote-argument'.
15582
15583 * net/trampver.el: Update release number.
15584
b796c9b7
SM
155852011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
15586
15587 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
15588 "in" (bug#9190).
15589
2239d7d5
LMI
155902011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15591
e07dd7c3
LMI
15592 * mail/sendmail.el (sendmail-query-once): Restore the current
15593 buffer after querying (bug#9074).
15594
0e6a2bd7
LMI
15595 * dired.el (dired-flagged): Use different faces for marked and
15596 flagged files (bug#6117).
15597
ce887515
LMI
15598 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
15599 (bug#4433).
15600
92f2affc
LMI
15601 * ido.el (ido-mode): Switch off the message if called
15602 non-interactively.
15603
57d5aff0
LMI
15604 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
15605 before 587, since it appears that that's more likely to work for
15606 more people.
15607
98cd6c18 15608 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 15609 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
15610 exist.
15611
b96dec83
LMI
15612 * info.el: Remove the `Info-beginning-of-buffer' function
15613 (bug#8325).
15614
b796c9b7
SM
15615 * net/network-stream.el (network-stream-open-starttls):
15616 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 15617
d90e2ea0
MR
156182011-08-01 Martin Rudalics <rudalics@gmx.at>
15619
15620 * window.el (display-buffer-in-window): Don't set dedicated status
15621 of window here (Bug#9215).
15622 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
15623 (display-buffer-pop-up-side-window)
b796c9b7 15624 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 15625
cca09170
SM
156262011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
15627
15628 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
15629 before binding generated-autoload-file.
15630
027b979c
DD
156312011-08-01 Deniz Dogan <deniz@dogan.se>
15632
15633 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
15634
3c7ee4f3
MA
156352011-07-30 Michael Albinus <michael.albinus@gmx.de>
15636
15637 Sync with Tramp 2.2.2.
15638
15639 * net/trampver.el: Update release number.
15640
2cc8e51a
JL
156412011-07-30 Juri Linkov <juri@jurta.org>
15642
15643 * dired-aux.el (dired-touch-initial): Remove function.
15644 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
15645 current time, and `default' to the last modification time of the
15646 current marked file (bug#6887).
15647
a514d856
JM
156482011-07-28 Jose E. Marchesi <jemarch@gnu.org>
15649
15650 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 15651 numeric argument to read-number (bug#9163).
a514d856 15652
8a7eddd7
MA
156532011-07-27 Michael Albinus <michael.albinus@gmx.de>
15654
15655 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
15656 connection process, it could be nil.
15657
1ddd96f5
LL
156582011-07-27 Leo Liu <sdl.web@gmail.com>
15659
15660 Simplify url handling in rcirc-mode.
15661
15662 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
15663 (rcirc-browse-url-at-mouse): Remove.
15664 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
15665
b248a85d
AM
156662011-07-26 Alan Mackenzie <acm@muc.de>
15667
15668 Fontify bitfield declarations properly.
15669
15670 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
15671 (c-symbol-chars): Now exported as a lang variable.
15672 (c-not-primitive-type-keywords): New lang variable.
15673
15674 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
15675 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 15676 parsed as a bitfield declaration.
b248a85d 15677
b796c9b7
SM
15678 * progmodes/cc-engine.el (c-beginning-of-statement-1):
15679 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
15680 (c-punctuation-in): New function.
15681 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
15682 declarations properly.
15683
68575ab0
UJ
156842011-07-26 Ulf Jasper <ulf.jasper@web.de>
15685
15686 * calendar/icalendar.el (icalendar--all-events): Take care of
15687 multiple vcalendars in a single file.
b796c9b7 15688 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 15689
0f0a88b9
DD
156902011-07-25 Deniz Dogan <deniz@dogan.se>
15691
15692 * image.el (insert-image): Clarifying docstring.
15693
0b3f36df
MA
156942011-07-24 Michael Albinus <michael.albinus@gmx.de>
15695
15696 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
15697 `tramp-send-command-and-check' if there is no error.
15698 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
15699
a9901f61
AM
157002011-07-22 Alan Mackenzie <acm@muc.de>
15701
15702 Prevent cc-langs.elc being loaded at run time.
15703
15704 * progmodes/cc-mode.el: Remove two autoload forms which loaded
15705 cc-langs.
15706
4d61f28d 15707 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
15708 "(require 'cc-langs)". Quote a form so it will evaluate at
15709 (cc-mode's) compilation time.
15710
11d074b2
MA
157112011-07-22 Michael Albinus <michael.albinus@gmx.de>
15712
15713 * net/tramp.el (tramp-file-name-handler): Avoid recursive
15714 loading. (Bug#9114)
15715
938b94c8
MR
157162011-07-21 Martin Rudalics <rudalics@gmx.at>
15717
15718 * window.el (display-buffer-pop-up-window)
15719 (display-buffer-pop-up-side-window)
15720 (display-buffer-in-side-window): Call display-buffer-set-height
15721 and display-buffer-set-width after setting the new window's
b796c9b7 15722 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 15723
bfa4f190
SS
157242011-07-20 Sam Steingold <sds@gnu.org>
15725
15726 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
15727 (etags-tags-included-tables): Call `convert-standard-filename' on
15728 the file names contained in TAGS so that windows Emacs can handle
15729 TAGS files created by cygwin ctags.
15730
8ca42262
LMI
157312011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
15732
15733 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
15734 which apparently didn't work.
15735
5db2afd2 157362011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 15737
5db2afd2
RW
15738 * proced.el (proced-send-signal): For *Marked Processes* buffer
15739 put point at beginning of buffer.
15740
92e15d10
SB
157412011-07-19 Stephen Berman <stephen.berman@gmx.net>
15742
15743 * proced.el (proced-format): Make header lines align with the text
15744 (bug#1779).
15745
1bfd59e5
LMI
157462011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
15747
15748 * view.el (view-buffer): Allow running in `special' modes if we're
15749 visiting a file (bug#8615).
15750
f5aae37c
MR
157512011-07-19 Martin Rudalics <rudalics@gmx.at>
15752
15753 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
15754 (display-buffer-alist-set-1, display-buffer-alist-set-2):
15755 New functions.
f5aae37c
MR
15756 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
15757 more accurately.
15758
bf2c1571
AM
157592011-07-18 Alan Mackenzie <acm@muc.de>
15760
15761 Fontify declarators properly when, e.g., a jit-lock chunk begins
15762 inside a declaration.
15763
15764 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
15765
b796c9b7
SM
15766 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
15767 New function.
bf2c1571
AM
15768 (c-complex-decl-matchers): Insert reference to
15769 c-font-lock-enclosing-decls.
15770
15771 * progmodes/cc-engine.el (c-backward-single-comment):
15772 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
15773 to nil around calls to (forward-comment -1).
15774
4e190b80
LMI
157752011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
15776
12dc863d
LMI
15777 * image.el (put-image): Doc typo fix.
15778
a762e966
LMI
15779 * progmodes/etags.el (tags-search): Doc typo fix.
15780
4e190b80
LMI
15781 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
15782 password if we get errors 550 to 554.
15783
f019fb21
LMI
157842011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
15785
b796c9b7 15786 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 15787
81746738
LMI
15788 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
15789 indentation character (bug#6380).
15790
3ee3a1b5
LMI
15791 * files.el (buffer-offer-save): Made permanently local (bug#6241).
15792
c82f64de
LMI
15793 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
15794 to clarify what the problem is (bug#4291).
15795
f019fb21
LMI
15796 * simple.el (current-kill): Clarify what
15797 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
15798 (auto-fill-mode): Document `auto-fill-function' in relation to
15799 `auto-fill-mode' (bug#2470).
f019fb21 15800
0794775d
LM
158012011-07-16 Lawrence Mitchell <wence@gmx.li>
15802
15803 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
15804 method if slot is read-only (bug#9035).
15805
be39b8cc
MR
158062011-07-16 Martin Rudalics <rudalics@gmx.at>
15807
b796c9b7 15808 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 15809 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
15810 selected before, see discussion of (Bug#8615), (Bug#6954).
15811 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 15812
6ccf7859
GM
158132011-07-15 Glenn Morris <rgm@gnu.org>
15814
15815 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 15816 Respect help-form.
6ccf7859 15817
87e86684
LM
158182011-07-09 Lawrence Mitchell <wence@gmx.li>
15819
15820 * net/gnutls.el (gnutls-min-prime-bits): New variable.
15821 (gnutls-negotiate): Use it.
15822
d6066239
LMI
158232011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
15824
b796c9b7
SM
15825 * net/gnutls.el (gnutls-negotiate):
15826 Upcase `gnutls-algorithm-priority'.
d6066239 15827
bd23ebc0
GM
158282011-07-15 Glenn Morris <rgm@gnu.org>
15829
c65bca65
GM
15830 * jka-compr.el (jka-compr-verbose): Move from here...
15831 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
15832 Add missing :version tag.
15833 * info.el: No need to require jka-compr when compiling.
bd23ebc0 15834
478615cc
LMI
158352011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
15836
7b41decb
LMI
15837 * net/gnutls.el (gnutls-algorithm-priority): New variable.
15838 (gnutls-negotiate): Use it.
15839
dbc44fcd
LMI
15840 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
15841
06789f97
LMI
15842 * info.el (Info-beginning-of-buffer): New command.
15843 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
15844 announcing `b' as the key (bug#8325).
ab896c37 15845 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 15846
c39da690
LMI
15847 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
15848
3aa5f34b
LMI
15849 * international/mule-cmds.el
15850 (describe-specified-language-support): Make the error message
15851 clearer (bug#8905).
15852
4bf0979f
LMI
15853 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
15854
478615cc
LMI
15855 * isearch.el (isearch-barrier): Add a doc string, since it's
15856 mentioned in a function doc string (bug#8678).
15857
75c68aa1
MR
158582011-07-15 Martin Rudalics <rudalics@gmx.at>
15859
15860 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
15861 buffer argument (Bug#9083) and self-identifying label argument.
15862
a7c33da2
GM
158632011-07-15 Glenn Morris <rgm@gnu.org>
15864
15865 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
15866
2f5c6024
LMI
158672011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
15868
15869 * man.el (Man-fontify-manpage): Fix message when formatting the
15870 man page (bug#7929).
15871
0bb23927 158722011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
15873
15874 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
15875 argument LRM; if non-nil, append an invisible LRM character to the
15876 buffer name.
15877 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
15878 last argument non-nil, when formatting buffer names.
0bb23927
EZ
15879 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
15880 paragraph direction.
cce4b0a7 15881
621ef9ab
LMI
158822011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
15883
d1583c48
LMI
15884 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
15885 the man page name (bug#7929).
15886
6a57fb5f
LMI
15887 * image.el (put-image): Mention the `put-image' overlay property
15888 (bug#7834).
15889
d7956b14
LMI
15890 * scroll-bar.el (set-scroll-bar-mode): Mention that
15891 `scroll-bar-mode' lists the values (bug#7772).
15892
5b2d4a66
LMI
15893 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
15894 command (bug#7729).
15895
7509a874
LMI
15896 * rect.el (apply-on-rectangle): Return the point after the last
15897 operation.
15898 (string-rectangle): Go to the point after the last operation
15899 (bug#7522).
15900
4fe74b19
LMI
15901 * printing.el (pr-toggle-region): Clarify the documentation
15902 slightly (bug#7493).
15903
b796c9b7
SM
15904 * time.el (display-time-update):
15905 Allow `display-time-mail-function' to return nil (bug#7158).
15906 Fix suggested by Detlev Zundel.
ab283561 15907
fc233c9d
LMI
15908 * vc/diff.el (diff): Clarify the order the file names are read
15909 (bug#7111).
15910
43f5740b
LMI
15911 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
15912 the doc string (bug#7015).
15913
f2182a76
LMI
15914 * font-lock.el (font-lock-maximum-decoration): Mention what
15915 numeric levels mean (bug#6935).
15916
621ef9ab
LMI
15917 * startup.el (initial-buffer-choice): Don't mention the `none'
15918 selection, which is against policy.
15919
adc47434
MR
159202011-07-14 Martin Rudalics <rudalics@gmx.at>
15921
b796c9b7
SM
15922 * window.el (display-buffer-normalize-special):
15923 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 15924
7e5bfb8f
EZ
159252011-07-14 Eli Zaretskii <eliz@gnu.org>
15926
15927 * subr.el (version<, version<=, version=): Mention "-CVS" and
15928 "-12345" alpha version numbers.
15929
27fa387a
CY
159302011-07-14 Chong Yidong <cyd@stupidchicken.com>
15931
15932 * bindings.el: Add advertised binding for set-mark-command
15933 (Bug#5772).
15934
8bdfa064
CY
159352011-07-14 Chong Yidong <cyd@stupidchicken.com>
15936
15937 * bindings.el (mode-line-other-buffer):
15938 * bookmark.el (bookmark-bmenu-2-window):
15939 * bs.el (bs-cycle-next, bs-cycle-previous):
15940 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
15941 switch-to-buffer.
15942
15943 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 15944 Delete.
8bdfa064 15945
5eba16a3
JB
159462011-07-14 Juanma Barranquero <lekktu@gmail.com>
15947
15948 * follow.el (follow-debug-message, follow-redisplay):
15949 * jka-cmpr-hook.el (with-auto-compression-mode):
15950 Fix typos in docstrings.
15951
15853710
LMI
159522011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15953
a28e4607
LMI
15954 * subr.el (with-silent-modifications): Clarify somewhat what the
15955 macro inhibits (bug#6525).
15956
15853710
LMI
15957 * simple.el (eval-expression): Note what it does if called
15958 interactively (bug#6495).
15959
bee0fcef
CY
159602011-07-13 Chong Yidong <cyd@stupidchicken.com>
15961
b796c9b7
SM
15962 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
15963 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
15964
15965 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
15966 Remove switch-to-buffer.
15967
58274504
LMI
159682011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15969
bd2fcc8d
LMI
15970 * files.el (make-directory): Clarify that an error will be raised
15971 if there's an error (bug#6397).
15972
0f04b32c
LMI
15973 * startup.el (initial-buffer-choice): Add `none' as a choice
15974 (bug#6234).
15975
465c5fc8
LMI
15976 * subr.el (add-hook): Clarify section about buffer-local hooks
15977 (bug#6218).
15978
58274504
LMI
15979 * dired.el (dired-flagged): Clarify doc string (bug#6117).
15980
bead9a43
JB
159812011-07-13 Juanma Barranquero <lekktu@gmail.com>
15982
15983 * tabify.el (untabify): Preserve the current column so that point
15984 doesn't move (bug#6032).
15985
3af98a7b
LMI
159862011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15987
b796c9b7
SM
15988 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
15989 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 15990
6240145a
GM
159912011-07-13 Glenn Morris <rgm@gnu.org>
15992
15993 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
15994 (dired-insert-directory): Give a message the first time
15995 if ls is found not to support --dired.
15996
1d8c2ccc
LMI
159972011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15998
15999 * simple.el (toggle-truncate-lines): Clarify what is toggled
16000 (bug#5580). Text by Drew Adams.
16001
5fc4038e
CY
160022011-07-13 Chong Yidong <cyd@stupidchicken.com>
16003
16004 * simple.el (blink-matching-open): Make the error message from the
16005 last change less verbose.
16006
bf6012e5
DN
160072011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
16008
16009 * font-lock.el (font-lock-comment-face): Use the high contrast
16010 "yellow" color for font-lock-comment-face on low color terminals
16011 using a dark background color (bug#4221).
16012
343c3b5a
LMI
160132011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
16014
7e9505c5
LMI
16015 * dired.el (dired-insert-set-properties): Make the doc string
16016 reflect what it does now (bug#5325).
16017
c26fdcf5
LMI
16018 * simple.el (blink-matching-open): Say that we were unable to find
16019 the match within the limit, if we're limited (bug#5122).
16020
bb388cc5
LMI
16021 * international/mule-cmds.el (prefer-coding-system): Add an
16022 example (bug#4869).
16023
343c3b5a
LMI
16024 * progmodes/etags.el (tags-search): Document `file-list-form'
16025 (bug#4731).
16026
2a517d45
LM
160272011-07-13 Lawrence Mitchell <wence@gmx.li>
16028
16029 * net/browse-url.el (browse-url-default-browser)
16030 (browse-url-browser-function): Make the default browser choice a
16031 bit more logical (bug#4300). Also clean up the doc string.
16032
b6c78ef2
JB
160332011-07-13 Juanma Barranquero <lekktu@gmail.com>
16034
16035 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
16036 binary endings (bug#4440).
16037
1c4dd947
LMI
160382011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
16039
a2014063
LMI
16040 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
16041 which can be pretty annoying (bug#8971).
16042
9c9c2d88
LMI
16043 * jka-compr.el (jka-compr-verbose): New variable, and use
16044 throughout (bug#8971).
16045
1c4dd947
LMI
16046 * info.el (Info-find-file): Fall back on the installation
16047 directory if we can't find the info node anywhere else.
16048
a1c9f41b
SO
160492011-07-13 Sergei Organov <osv@javad.com> (tiny change)
16050
16051 * vc/vc.el (vc-revert-file):
16052 Don't set file time-stamp in the past. (Bug#5181)
16053
536f3d36
LMI
160542011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
16055
7152b011
LMI
16056 * files.el (after-find-file): Give a better error message when
16057 trying to find a symlink that points to a file that doesn't exist
16058 (bug#4398).
16059
536f3d36
LMI
16060 * progmodes/cc-vars.el: Remove (probably) misleading comment
16061 (bug#4396).
16062
460c0fba
JB
160632011-07-12 Johan Bockgård <bojohan@gnu.org>
16064
16065 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
16066
7a6bda45
CY
160672011-07-12 Chong Yidong <cyd@stupidchicken.com>
16068
16069 * mouse-sel.el: Hack restoring functionality, while keeping
16070 compatibility with 2010-07-03 changes to mouse selection.
16071 (mouse-sel-primary-overlay): New var.
16072 (mouse-sel-selection-alist): Use it.
16073 (mouse-sel-mode): Doc fix; remove points that are default features
16074 of mouse.el.
16075
c79598ef
JB
160762011-07-12 Johan Bockgård <bojohan@gnu.org>
16077
16078 * progmodes/compile.el (compilation-error-regexp-alist-alist):
16079 Fix previous fix (bug#2490).
16080
ff8be6ef
RW
160812011-07-12 Roland Winkler <winkler@gnu.org>
16082
b796c9b7
SM
16083 * textmodes/bibtex.el (bibtex-initialize):
16084 Use pop-to-buffer-same-window.
ff8be6ef
RW
16085 (bibtex-search-entries): Fix interactive call.
16086
296ba3ee
LMI
160872011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
16088
f5242a02 16089 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
16090 Fontise bytecomp Error lines more correctly (bug#2490).
16091 Fix suggested by Johan Bockgård.
f5242a02 16092
296ba3ee
LMI
16093 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
16094
16095 * dired-x.el (dired-guess-default): Use `delete-dups'.
16096
f69fd0d2
CY
160972011-07-12 Chong Yidong <cyd@stupidchicken.com>
16098
16099 * dired.el (dired-mark-prompt):
16100 * dired-aux.el (dired-read-shell-command): Doc fix.
16101
eab5dc07
LMI
161022011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
16103
b796c9b7
SM
16104 * mail/sendmail.el (sendmail-query-once):
16105 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
16106 emacs -Q.
16107
16108 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
16109
eab5dc07
LMI
16110 * cus-edit.el (custom-file): Take an optional no-error variable.
16111 (customize-save-variable): Set the variable, and give a warning if
16112 running under "emacs -q".
16113
a1e65d42
JB
161142011-07-11 Juanma Barranquero <lekktu@gmail.com>
16115
16116 * loadhist.el (unload-feature-special-hooks):
16117 Add `auto-coding-functions', `fill-nobreak-predicate' and
16118 `find-directory-functions' (bug#5327).
16119
1d52da10
LMI
161202011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
16121
be958f1d
LMI
16122 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
16123
5bedb26c
LMI
16124 * cus-edit.el (custom-guess-name-alist): -alist variables should
16125 use the `alist' type (bug#3120). Suggested by Drew Adams.
16126
1d52da10
LMI
16127 * printing.el: Add documentation to all the `pr-toggle-' commands.
16128
cd394be1 161292011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
16130
16131 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
16132 backends where it makes sense (bug#2623).
16133
dcc88d8a
LMI
161342011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
16135
c3de9feb
LMI
16136 * dired-x.el (dired-guess-default): Remove duplicate shell command
16137 entries (bug#2028).
8a93078b 16138 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 16139 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 16140
dcc88d8a
LMI
16141 * subr.el (remove-duplicates): New conveniency function.
16142
505e3645
LMI
161432011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
16144
16145 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
16146 (bug#1526).
16147
161482011-07-10 Martin Rudalics <rudalics@gmx.at>
16149
16150 * window.el (display-buffer-normalize-default): Don't invert
16151 meaning of even-window-heights. Reported by Eli Zaretskii
16152 <eliz@gnu.org>.
16153
455e4fa1
BR
161542011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
16155
16156 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
16157
8e0bc3e9
CY
161582011-07-10 Chong Yidong <cyd@stupidchicken.com>
16159
16160 * window.el (display-buffer): Fix arguments to
16161 display-buffer-reuse-window in last change.
16162
fa7c3228
CY
16163 * faces.el (link): Use a less saturated blue on light backgrounds.
16164
16165 * startup.el (fancy-startup-text, fancy-about-text)
16166 (fancy-startup-tail): Use font-lock faces, for background safety.
16167
c0a7f300
BN
161682011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
16169
b796c9b7
SM
16170 * emulation/viper-cmd.el (viper-change-state-to-vi):
16171 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 16172
4dc2a129
MR
161732011-07-09 Martin Rudalics <rudalics@gmx.at>
16174
16175 * window.el (display-buffer-default-specifiers): Remove.
16176 (display-buffer-macro-specifiers): Remove default specifiers.
16177 (display-buffer-alist): Default to nil.
b796c9b7 16178 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
16179 (display-buffer-pop-up-window): Allow splitting internal
16180 windows. Check whether a live window was created.
16181 (display-buffer-other-window-means-other-frame)
16182 (display-buffer-normalize-arguments): Rename to
16183 display-buffer-normalize-argument and rewrite. Set the
16184 other-window specifier.
16185 (display-buffer-normalize-special): New function.
16186 (display-buffer-normalize-options): Rename to
16187 display-buffer-normalize-default and rewrite.
16188 (display-buffer-normalize-options-inhibit): Remove.
16189 (display-buffer-normalize-specifiers): Rewrite.
16190 (display-buffer): Process other-window specifier and call
16191 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
16192 more faithfully.
b796c9b7 16193 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 16194 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
16195 (display-buffer-in-window, display-buffer-alist-set):
16196 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
16197 <tassilo@member.fsf.org>.
16198
2d43b8c9
LL
161992011-07-09 Leo Liu <sdl.web@gmail.com>
16200
16201 * register.el (insert-register): Restore accidental change on
16202 2011-06-26. (Bug#9028)
16203
7f9b7c53
GM
162042011-07-09 Glenn Morris <rgm@gnu.org>
16205
16206 * subr.el (remq): Handle the empty list. (Bug#9024)
16207
f042cfd8
AS
162082011-07-08 Andreas Schwab <schwab@linux-m68k.org>
16209
16210 * mail/sendmail.el (send-mail-function): No longer delay custom
16211 initialization.
16212 * custom.el (custom-initialize-delay): Doc fix.
16213
856b2f11
SM
162142011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
16215
16216 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
16217
afae1d68
MA
162182011-07-08 Michael Albinus <michael.albinus@gmx.de>
16219
16220 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
16221 human-friendly prompt.
16222
0757af94
SM
162232011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
16224
16225 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
16226 provided by a particular plugin.
16227
d760b731
LMI
162282011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
16229
16230 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
16231 save customizations (with "emacs -Q"), just set the variable
16232 instead of erroring out.
16233
16234 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
16235
cd79ce90
JL
162362011-07-08 Juri Linkov <juri@jurta.org>
16237
16238 * arc-mode.el (archive-zip-expunge, archive-zip-update)
16239 (archive-zip-update-case): Use 7z if found by `executable-find'.
16240 The order of searching the available programs is the same as in
16241 `archive-zip-extract' (bug#8968).
16242
14cc04aa
CY
162432011-07-07 Chong Yidong <cyd@stupidchicken.com>
16244
16245 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
16246 (menu-bar-options-menu): Tweak descriptions.
16247
0a1848ec
LMI
162482011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
16249
16250 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
16251 menu items into verb phrases (bug#1421). Also refill to fit under
16252 80 columns.
16253
f5bd0689
CY
162542011-07-07 Chong Yidong <cyd@stupidchicken.com>
16255
538e85c6
CY
16256 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
16257 (Info-read-node-name): Doc fix (Bug#1084).
16258
f5bd0689
CY
16259 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
16260 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
16261 (end-of-sexp, beginning-of-sexp)
16262 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
16263 (forward-symbol, forward-same-syntax, word-at-point)
16264 (sentence-at-point): Doc fix (Bug#1144).
16265
56ec5115
LMI
162662011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
16267
f3f8e37f
LMI
16268 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
16269 should cover it (bug#1281).
16270
0757af94 16271 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 16272
e9fce1ac 16273 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
16274 negotiation fails, then possibly try again with a non-encrypted
16275 connection (bug#9017).
16276
56ec5115
LMI
16277 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
16278 be used.
16279
c2f9aec8
RS
162802011-07-07 Richard Stallman <rms@gnu.org>
16281
16282 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
16283 property, and handle its changed format.
16284 Look for the correct line number.
16285 Use file's line contents (but not past first =) to find
16286 correct line in message.
16287
ef7b981d 162882011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
16289
16290 * international/characters.el (build-unicode-category-table):
16291 Delete it.
0757af94 16292 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 16293
0757af94 16294 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
16295 to src/chartab.c.
16296 (get-char-code-property): Call unicode-property-table-internal to
16297 load a file. Call get-unicode-property-internal where necessary.
16298 (put-char-code-property): Call unicode-property-table-internal to
16299 load a file. Call put-unicode-property-internal where necessary.
16300 put-unicode-property-internal where necessary.
0757af94
SM
16301 (char-code-property-description):
16302 Call unicode-property-table-internal to load a file.
c805dec0
KH
16303
16304 * international/charprop.el:
16305 * international/uni-bidi.el:
16306 * international/uni-category.el:
16307 * international/uni-combining.el:
16308 * international/uni-comment.el:
16309 * international/uni-decimal.el:
16310 * international/uni-decomposition.el:
16311 * international/uni-digit.el:
16312 * international/uni-lowercase.el:
16313 * international/uni-mirrored.el:
16314 * international/uni-name.el:
16315 * international/uni-numeric.el:
16316 * international/uni-old-name.el:
16317 * international/uni-titlecase.el:
16318 * international/uni-uppercase.el: Regenerate.
16319
16320 * loadup.el: Load international/charprop.el before
16321 international/characters.
16322
e14b388a
CY
163232011-07-07 Chong Yidong <cyd@stupidchicken.com>
16324
16325 * window.el (next-buffer, previous-buffer): Signal an error if
16326 called from a minibuffer window.
16327
16328 * bindings.el: Revert 2011-07-04 change.
16329
354cf0ba
RS
163302011-07-06 Richard Stallman <rms@gnu.org>
16331
16332 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
16333 (rmail-mime-insert-bulk, rmail-mime-insert-text):
16334 Treat markers like ints.
16335 (rmail-mime-entity): Doc fix.
16336
a48868a7
LMI
163372011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
16338
4906cd3d
LMI
16339 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
16340 defcustom again for backwards compatibility.
16341
e0457abe
LMI
16342 * simple.el (shell-command-on-region): Fill.
16343
d67f7e1f
LMI
16344 * dired-aux.el (dired-kill-line): Add a doc string.
16345
fe204702
LMI
16346 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
16347 to "\\sw\\|\\s_" (bug#358).
16348
a48868a7
LMI
16349 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
16350 (dired-unmark-backward): Ditto.
16351 (dired-flag-backup-files): Ditto.
16352
16353 * dired-x.el (dired-mark-sexp): Ditto.
16354
aa8a705c
RS
163552011-07-06 Richard Stallman <rms@gnu.org>
16356
16357 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
16358 (rmail-mime-entity): New arg TRUNCATED.
16359 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
16360 New functions.
16361 (rmail-mime-save): Warn if entity is truncated.
16362 (rmail-mime-toggle-hidden): Likewise, for showing.
16363 (rmail-mime-process-multipart): Record when an entity is truncated.
16364
a9a936b9
RS
16365 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
16366 if ENTITY is a string.
16367
1f2b92cb
LMI
163682011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
16369
f4f73198 16370 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
16371 of faces when `M-C-x'-ing their definitions (bug#8378).
16372 Also clean up the code slightly.
f4f73198 16373
12b16734 16374 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 16375 because that makes the colors go away.
12b16734 16376
f0691d22
LMI
16377 * mail/sendmail.el (send-mail-function): Change the default to
16378 `sendmail-query-once'.
9e87df06 16379 (sendmail-query-once): Add an autoload cookie.
f0691d22 16380
1f2b92cb
LMI
16381 * net/network-stream.el (network-stream-open-starttls): Try using
16382 a plain connection even if the server offered STARTTLS, and we
16383 kinda wanted to use it, if Emacs doesn't have any STARTTLS
16384 capability. This should make smtpmail.el work in slightly more
16385 configurations.
16386
1cdd2a1b
MA
163872011-07-06 Michael Albinus <michael.albinus@gmx.de>
16388
16389 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
16390 New defun.
16391 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
16392
fbcc67e2
MM
163932011-07-06 Michael R. Mauger <mmaug@yahoo.com>
16394
16395 * progmodes/sql.el: Version 3.0
0757af94 16396 (sql-product-alist): Add product :completion-object,
fbcc67e2 16397 :completion-column, and :statement attributes.
0757af94 16398 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 16399 (sql-mode-syntax-table): Mark all punctuation.
0757af94 16400 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
16401 ansi keywords.
16402 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 16403 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
16404 (sql-oracle-show-reserved-words): New function for development.
16405 (sql-product-font-lock): Simplify for source code buffers.
16406 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
16407 New functions.
16408 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
16409 (sql-mode-map): Add statement movement functions.
16410 (sql-ansi-statement-starters, sql-oracle-statement-starters):
16411 New variable.
fbcc67e2
MM
16412 (sql-statement-regexp, sql-beginning-of-statement)
16413 (sql-end-of-statement, sql-signum): New functions.
0757af94 16414 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
16415 (sql-show-sqli-buffer): Bug fix.
16416 (sql-interactive-mode): Store connection data as buffer local.
0757af94 16417 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
16418 with sql-interactive-mode.
16419 (sql-save-connection): Save buffer local settings.
0757af94 16420 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
16421 (sql-product-interactive): Bug fix.
16422 (sql-preoutput-hold): New variable.
16423 (sql-interactive-remove-continuation-prompt): Bug fixes.
16424 (sql-debug-redirect): New variable.
16425 (sql-str-literal): New function.
16426 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 16427 Redesign.
fbcc67e2
MM
16428 (sql-oracle-save-settings, sql-oracle-restore-settings)
16429 (sql-oracle-list-all, sql-oracle-list-table): New functions.
16430 (sql-completion-object, sql-completion-column)
16431 (sql-completion-sqlbuf): New variables.
16432 (sql-build-completions-1, sql-build-completions)
16433 (sql-try-completion): New functions.
16434 (sql-read-table-name): Use them.
16435 (sql-contains-names): New buffer local variable.
16436 (sql-list-all, sql-list-table): Use it.
16437 (sql-oracle-completion-types): New variable.
16438 (sql-oracle-completion-object, sql-sqlite-completion-object)
16439 (sql-postgres-completion-object): New functions.
16440
d4eaeab1
GM
164412011-07-06 Glenn Morris <rgm@gnu.org>
16442
16443 * window.el (pop-to-buffer): Doc fix.
16444
322b7dab 164452011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
16446
16447 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
16448
322b7dab 164492011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 16450
322b7dab 16451 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 16452
322b7dab 16453 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 16454
605dd5bf
CY
164552011-07-05 Chong Yidong <cyd@stupidchicken.com>
16456
16457 * button.el (button): Inherit from link face. Suggested by Dan
16458 Nicolaescu.
16459
7dbfa719
SM
164602011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
16461
3db614b0
SM
16462 * progmodes/gdb-mi.el: Fit in 80 columns.
16463 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
16464 switch-to-buffer.
16465
7dbfa719
SM
16466 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
16467 if imenu is simply not configured (bug#8941).
16468
919d884a
KM
164692011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
16470
16471 * allout.el (allout-post-undo-hook): New allout outline-change
16472 event hook to signal undo activity.
16473 (allout-post-command-business): Run allout-post-undo-hook if an
16474 undo just occurred.
7dbfa719
SM
16475 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
16476 * allout-widgets.el (allout-widgets-after-undo-function):
16477 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
16478 in the vicinity of an undo.
16479 (allout-widgets-mode): Include allout-widgets-after-undo-function
16480 on the new allout-post-undo-hook.
16481
450a0f09
SM
164822011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
16483
16484 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
16485 Let define-derived-mode define it.
16486 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
16487 cycles of abbrev-table inheritance (bug#8998).
16488
2de69e00
RW
164892011-07-05 Roland Winkler <winkler@gnu.org>
16490
16491 * textmodes/bibtex.el: Add support for biblatex.
16492 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
16493 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
16494 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
16495 (bibtex-entry-alist, bibtex-field-alist): New variables.
16496 (bibtex-entry-field-alist): Obsolete alias for
16497 bibtex-BibTeX-entry-alist.
16498 (bibtex-entry-alist, bibtex-field-alist): New widgets.
16499 (bibtex-set-dialect): New command.
16500 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
16501 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
16502 Bind via bibtex-set-dialect.
2de69e00
RW
16503 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
16504 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
16505 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
16506 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
16507 Define via bibtex-set-dialect.
450a0f09
SM
16508 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
16509 Obey bibtex-no-opt-remove-re.
2de69e00
RW
16510 (bibtex-vec-push, bibtex-vec-incr): New functions.
16511 (bibtex-format-entry, bibtex-field-list)
16512 (bibtex-print-help-message, bibtex-validate)
16513 (bibtex-search-entries): Use new format of bibtex-entry-alist.
16514
2dcdbdd9
SM
165152011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
16516
16517 * progmodes/compile.el (compilation-goto-locus):
16518 * net/tramp-cmds.el (tramp-append-tramp-buffers):
16519 * bs.el (bs-cycle-next, bs-cycle-previous):
16520 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
16521 * bindings.el (mode-line-other-buffer):
16522 * autoinsert.el (auto-insert):
16523 * arc-mode.el (archive-extract):
16524 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
16525
b27640fe
JB
165262011-07-05 Juanma Barranquero <lekktu@gmail.com>
16527
16528 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
16529 Fix check of `emacs-lock-unlockable-modes'.
16530 Coerce true values of `emacs-lock--try-unlocking' to t.
16531
53bbe3ad
JB
165322011-07-05 Juanma Barranquero <lekktu@gmail.com>
16533
16534 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
16535 * emacs-lock.el: New file.
16536
1d3cdbc7
JD
165372011-07-05 Julien Danjou <julien@danjou.info>
16538
16539 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
16540 than `boundp' to check if face is set.
16541
9173deec
JB
165422011-07-05 Juanma Barranquero <lekktu@gmail.com>
16543
16544 * register.el (registerv-make):
16545 * window.el (window-min-height): Fix typos in docstrings.
16546
869795d6
JD
165472011-07-05 Jan Djärv <jan.h.d@swipnet.se>
16548
9173deec 16549 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
16550 Update doc string.
16551
b768cdcd
JB
165522011-07-04 Juanma Barranquero <lekktu@gmail.com>
16553
16554 * server.el (server-execute): Catch quit and call
16555 `server-return-error' to pass the error back to emacsclient and
16556 close the connection (bug#8942).
16557
13aa217b
KM
165582011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
16559
16560 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
16561 insecure exception for current topic. Also note that auto-saves
16562 are handled differently.
16563
5d3385a0 16564 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
16565 State variables for tracking auto-save inhibition situation.
16566
16567 (allout-write-contents-hook-handler): Rename from
16568 'allout-write-file-hook-handler', and describe how it depends on
16569 write-contents-functions sensitivity to non-nil value to prevent
16570 file write.
16571
16572 (allout-auto-save-hook-handler): Remove. auto-save does not check
16573 this in individual buffers, only in the starting buffer, so this
16574 is not the right way for us to inhibit auto-save in a buffer
16575 according to its condition.
16576
16577 (allout-mode): Use new allout-write-contents-hook-handler, and
16578 only with write-contents-functions. Remove auto-save provisions -
16579 they're implemented elsewhere.
16580
16581 (allout-before-change-handler): If undo is in progress, note that
16582 for attention of allout-post-command-business.
16583
16584 (allout-post-command-business): If the command we're following was
16585 an undo, check for change in the status of encrypted items and
16586 adjust auto-save inhibitions accordingly.
16587
16588 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
16589 according to whether there are or aren't any plain-text topics
16590 pending encryption.
16591
2dcdbdd9 16592 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
16593 Adjust buffer-saved-size and some allout state to inhibit auto-saves
16594 if there are plain-text topics pending encryption.
13aa217b
KM
16595
16596 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
16597 buffer-saved-size and some allout state to not inhibit auto-saves
16598 if there are no longer any plain-text topics pending encryption.
16599
0757af94
SM
16600 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
16601 No longer provide for exemption of the current topic.
13aa217b 16602
ac89b32c
JL
166032011-07-04 Juri Linkov <juri@jurta.org>
16604
16605 Add 7z operations to delete and save changed members (bug#8968).
16606 * arc-mode.el (archive-7z-expunge, archive-7z-update):
16607 New defcustoms.
16608 (archive-7z-write-file-member): New function.
16609 (archive-7z-summarize): Fix the number of dashes in the
16610 listing output.
16611
8fa39615
SM
166122011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
16613
16614 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
16615 (bug#8958).
16616
2f11b3f1
CY
166172011-07-04 Chong Yidong <cyd@stupidchicken.com>
16618
d66fef2b
CY
16619 * bindings.el: Ignore next-buffer and previous-buffer in
16620 minibuffer-local-map.
16621
2f11b3f1
CY
16622 * font-lock.el (font-lock-builtin-face): Change light background
16623 color to dark slate blue (Bug#6693).
16624
f932a347
WD
166252011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
16626
16627 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
16628
c8af70e1
SM
166292011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
16630
16631 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
16632 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
16633 Add switch-to-buffer.
16634
f158badc
LMI
166352011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
16636
16637 * isearch.el (isearch-search-fun-function): Clarify further the
16638 meaning of the function returned.
16639
6d95bd46
MA
166402011-07-04 Michael Albinus <michael.albinus@gmx.de>
16641
16642 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
16643
16644 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
16645 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
16646 Use it.
16647 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
16648 `tramp-default-remote-path' does not exist.
16649 (tramp-send-command-and-read): New optional argument NOERROR.
16650 (tramp-open-connection-setup-interactive-shell)
16651 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
16652 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
16653 (tramp-process-sentinel): Flush also process' connection property.
16654 (tramp-sh-handle-start-file-process): Do not set process
16655 sentinel. It is done now ...
16656 (tramp-maybe-open-connection): ... here. (Bug#8929)
16657
909e6b67
MK
166582011-07-04 MON KEY <monkey@sandpframing.com>
16659
16660 * play/animate.el (animate-string): Doc fixes and allow changing
16661 the buffer name (bug#5417).
16662
166632011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
16664
c8af70e1 16665 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 16666
f34755dc
PE
166672011-07-04 Paul Eggert <eggert@cs.ucla.edu>
16668
396cec72
PE
16669 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
16670 This is simpler and helps future-proof the code.
16671 (timer-until): Use time-subtract and float-time.
08235028 16672 (timer--time-less-p): Use time-less-p.
f34755dc 16673
56e6cc31
JB
166742011-07-04 Juanma Barranquero <lekktu@gmail.com>
16675
3abb79e5
JB
16676 * type-break.el (timep): Use the value of `float-time' to avoid a
16677 byte-compiler warning.
16678
56e6cc31
JB
16679 * server.el (server-eval-and-print): Return any result, even nil.
16680
7b9430b4
PE
166812011-07-03 Paul Eggert <eggert@cs.ucla.edu>
16682
16683 * type-break.el: Accept time formats that the builtins accept.
16684 (timep, type-break-time-difference): Accept any format that
16685 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
16686 This is simpler and helps future-proof the code.
16687 (type-break-time-difference): Round rather than ignoring
16688 subseconds components.
16689
3034e9e7
LMI
166902011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16691
16692 * info.el (Info-apropos-matches): Make non-interactive, since it
16693 doesn't seem to do anything useful as a command (bug#8829).
16694
1485f4c0
CY
166952011-07-03 Chong Yidong <cyd@stupidchicken.com>
16696
16697 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 16698 Move from faces.el.
1485f4c0
CY
16699 (frame-default-terminal-background): New function.
16700
16701 * custom.el (custom-push-theme): Don't record faces in `changed'
16702 theme; this doesn't work correctly for per-frame face settings.
16703 (disable-theme): Use face-set-after-frame-default to reset faces.
16704 (custom--frame-color-default): New function.
16705
9fa3dd45
LMI
167062011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16707
c8af70e1 16708 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
16709 (bug#8769).
16710
6cbbc20c
KR
167112011-03-29 Kevin Ryde <user42@zip.com.au>
16712
16713 * progmodes/compile.el (compilation-error-regexp-alist-alist):
16714 `perl-Test2' extend to match possible "fail #N" rep count
16715 (bug#8377).
16716
c7f98048
LMI
167172011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16718
65676592
LMI
16719 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
16720 `smtpmail-via-smtp' now returns the error instead of nil.
16721
c7f98048
LMI
16722 * isearch.el (isearch-search-fun-function): Clarify the doc string
16723 (bug#8101).
16724
56e6cc31 167252011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
16726
16727 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
16728 unnecessary spaces (bug#8987).
16729
2b216704
LMI
167302011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16731
16732 * net/network-stream.el (open-network-stream): Use the
16733 :end-of-capability command thoughout.
16734
167352011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
16736
16737 * net/network-stream.el (open-network-stream): Add the
16738 :end-of-capability command parameter, used by pop3.el.
16739
36adf6ce
LMI
167402011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16741
1ca0da0e
LMI
16742 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
16743
fc00f69c
LMI
16744 * fringe.el (fringe-query-style): Remove redundant text " (type ?
16745 for list)" (bug#6475).
16746
28fd8759 16747 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 16748 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
16749 an error (bug#6297).
16750
0dd8b6da
LMI
16751 * man.el (Man-reference-regexp): Allow matching possible
16752 word-wrapped references (bug#6289).
16753
ce1438d6
LMI
16754 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
16755 for consistency with the other vc buffers (bug#6197).
16756 (vc-checkin): Ditto.
16757
16758 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
16759
36adf6ce
LMI
16760 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
16761
e83cc1f7
LMI
167622011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
16763
8a20ca4c
LMI
16764 * custom.el (defcustom): Clarify that :set is only used in the
16765 Customize user interface (bug#6089).
16766
83319045
LMI
16767 * progmodes/flymake.el (flymake-mode): If the buffer isn't
16768 associated with a file, refuse to run instead of erroring out
16769 (bug#6084).
16770
a8392169
LMI
16771 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
16772 the doc string, since it appears that using `fill-column' always
16773 controls the width (bug#7845).
16774
e83cc1f7
LMI
16775 * simple.el (shell-command-on-region): Say where the error output
16776 went if `shell-command-default-error-buffer' is set (bug#6857).
16777
e47ca23b
KM
167782011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
16779
16780 * allout.el (allout-yank-processing): Adjust cursor position for
16781 backwards-deleted space.
16782
16783 (allout-rebullet-heading): Register changes with
16784 allout-exposure-changed-hook, so the modified topic is properly
16785 decorated.
16786
5cf56143
LMI
167872011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
16788
08549772
LMI
16789 * minibuffer.el (completion-in-region): Document PREDICATE
16790 (bug#7136).
16791
48e96771
LMI
16792 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
16793 of keyword/argument pairs (bug#6904).
16794
c8af70e1
SM
16795 * replace.el (multi-occur):
16796 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 16797
e17d05e2
LMI
167982011-07-02 Drew Adams <drew.adams@oracle.com>
16799
16800 * dired.el (dired-mark-if): Make the message about whether it's
16801 marking or unmarking clearer (bug#8523).
16802
063b0e45
LMI
168032011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
16804
16805 * disp-table.el (display-table-print-array): New function.
16806 (describe-display-table): Use it to print the vectors more pretty
16807 (Bug#8859).
16808
28545e04
MR
168092011-07-02 Martin Rudalics <rudalics@gmx.at>
16810
16811 * window.el (window-state-get-1): Don't assign clone numbers.
16812 Add clone-of item to list of window parameters.
16813 (window-state-put-2): Don't process clone numbers.
16814 (display-buffer-alist): Fix doc-string.
16815
3349e122
SM
168162011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
16817
16818 * subr.el (remq): Don't allocate if it's not needed.
16819 (keymap--menu-item-binding, keymap--menu-item-with-binding)
16820 (keymap--merge-bindings): New functions.
16821 (keymap-canonicalize): Use them to refine the canonicalization.
16822 * minibuffer.el (minibuffer-local-completion-map)
16823 (minibuffer-local-must-match-map): Move initialization from C.
16824 (minibuffer-local-filename-completion-map): Move initialization from C;
16825 don't inherit from anything here.
16826 (minibuffer-local-filename-must-match-map): Make obsolete.
16827 (completing-read-default): Use make-composed-keymap to combine
16828 minibuffer-local-filename-completion-map with either
16829 minibuffer-local-must-match-map or
16830 minibuffer-local-filename-completion-map.
16831
d224ac83
GM
168322011-07-01 Glenn Morris <rgm@gnu.org>
16833
3de63bf8
GM
16834 * type-break.el (type-break-time-sum): Use dolist.
16835
d224ac83
GM
16836 * textmodes/flyspell.el (flyspell-word-search-backward):
16837 Replace CL function.
16838
1a1e3f32
SM
168392011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
16840
fe3f64d5
SM
16841 * mouse.el (mouse--strip-first-event): New function.
16842 (function-key-map): Use it to map fringe clicks to normal clicks
16843 by default.
16844
eb604e34
SM
16845 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
16846 (vc-bzr-revision-completion-table): Add support for annotate and date.
16847
1a1e3f32
SM
16848 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
16849 inherit from parent.
16850
5bd35902
LMI
168512011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
16852
ace6c69c 16853 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 16854 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 16855
191e2bed
LMI
16856 * dired.el (dired-mode): Fix up the doc string as suggested by
16857 Drew Adams (bug#8817).
16858
5bd35902
LMI
16859 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
16860 cookie, since the manual says that it should be possible to add
16861 this function to `find-file-hook' (bug#8709).
16862
eee8207a
TZ
168632011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
16864
16865 * progmodes/cfengine.el: Moved all cfengine3.el functionality
16866 here. Noted Ted Zlatanov as the maintainer.
16867 (cfengine-common-settings, cfengine-common-syntax): New functions
16868 to set up common things between `cfengine-mode' and
16869 `cfengine3-mode'.
16870 (cfengine3-mode): New mode.
16871 (cfengine3-defuns cfengine3-defuns-regex
16872 (cfengine3-class-selector-regex cfengine3-category-regex)
16873 (cfengine3-vartypes cfengine3-font-lock-keywords)
16874 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 16875 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 16876
36b148cf
MA
168772011-07-01 Michael Albinus <michael.albinus@gmx.de>
16878
16879 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
16880
16881 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
16882
0bf4ba9a
MR
168832011-07-01 Martin Rudalics <rudalics@gmx.at>
16884
16885 * window.el (same-window-buffer-names, same-window-regexps)
16886 (same-window-p, special-display-frame-alist)
16887 (special-display-popup-frame, special-display-function)
16888 (special-display-buffer-names, special-display-regexps)
16889 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
16890 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
16891 (split-window-preferred-function, split-height-threshold)
16892 (split-width-threshold, even-window-heights)
16893 (display-buffer-mark-dedicated, window-splittable-p)
16894 (split-window-sensibly, window-safely-shrinkable-p):
16895 Un-obsolete.
16896 (display-buffer): Don't spread args with function specifier
16897 because special-display-popup-frame won't like it.
16898
35837f51
PE
168992011-07-01 Paul Eggert <eggert@cs.ucla.edu>
16900
d0672f86
PE
16901 Time-stamp simplifications and fixes.
16902 These improve accuracy slightly, and future-proof the code
16903 against some potential changes to current-time format.
16904
b9444d97
PE
16905 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
16906 by using time-since and float-time.
16907
0ef923dc
PE
16908 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
16909 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
16910 + NNN microseconds".
16911
2f81380d
PE
16912 * type-break.el (type-break-time-sum): Rewrite using time-add.
16913
845b5c3e
PE
16914 * play/hanoi.el (hanoi-current-time-float): Remove.
16915 All uses replaced by float-time.
16916
ee6f1be0
PE
16917 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
16918 This yields a more-accurate answer.
16919 (rng-time-to-float): Remove; no longer needed.
16920
fe955043
PE
16921 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
16922
5777162a
PE
16923 * calendar/timeclock.el (timeclock-seconds-to-time):
16924 Defalias to seconds-to-time, since they're the same thing.
16925
3103f8b6 16926 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 16927 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
16928 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
16929
0e61a35f
SM
169302011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
16931
16932 * window.el (bury-buffer): Don't iconify the only frame.
16933 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
16934 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
16935
ddd63a1e
CY
169362011-07-01 Chong Yidong <cyd@stupidchicken.com>
16937
0e61a35f
SM
16938 * eshell/em-smart.el (eshell-smart-display-navigate-list):
16939 Add mouse-yank-primary.
ddd63a1e 16940
055f4923
TZ
169412011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
16942
16943 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
16944
6a2fb145
SM
169452011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
16946
16947 * emacs-lisp/find-func.el (find-library--load-name): New fun.
16948 (find-library-name): Use it to find relative load names when provided
16949 absolute file name (bug#8803).
16950
fd4983f2
LMI
169512011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
16952
887d14ad
LMI
16953 * textmodes/flyspell.el (flyspell-word): Consider words that
16954 differ only in case as potential doublons (bug#5687).
16955
c53dc7fc
LMI
16956 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
16957 Remove two rather uninteresting debugging-like messages to make
16958 debbugs.el more silent.
16959
fd4983f2
LMI
16960 * comint.el (comint-password-prompt-regexp): Accept "Response" as
16961 a password-like phrase.
16962
7a71b18d 169632011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
16964
16965 * progmodes/cc-guess.el: New file.
16966
6a2fb145 16967 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
16968
16969 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
16970 derived from `c-basic-common-init'.
16971
16972 * progmodes/cc-mode.el (top-level): Require cc-guess.
16973 (c-basic-common-init): Use `cc-choose-style-for-mode'.
16974
1fa280a3
LM
169752011-06-30 Lawrence Mitchell <wence@gmx.li>
16976
16977 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
16978
e6597158
AM
169792011-06-30 Alan Mackenzie <acm@muc.de>
16980
1fa280a3
LM
16981 * progmodes/cc-engine.el (c-guess-continued-construct):
16982 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
16983 lock is disabled. Name this case as "CASE G".
16984
68ba37fb
KM
169852011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
16986
16987 * allout.el (allout-yank-processing): Fix injection of extra space
16988 between bullet and non-whitespace character in first topic when
16989 pasting, ensuring that the actual spacing in the pasted topic
16990 following the bullet char is preserved. This extra space was
16991 causing pasted encrypted topics to get a decrypted status even
16992 when the content was actually still encrypted. Now the decryption
16993 status from before the paste is preserved.
16994
16995 (allout-flag-region): Set all allout overlays so they evaporate
16996 when reduced to zero length (evanescent), to prevent overlay
16997 leakage.
16998
887a0b34
GM
169992011-06-30 Glenn Morris <rgm@gnu.org>
17000
94b9acce
GM
17001 * w32-fns.el (w32-charset-info-alist): Declare.
17002
1d9b46d4
GM
17003 * find-dired.el (find-grep-options): Simplify.
17004
cc232200
GM
17005 * term/ns-win.el (ns-set-resource): Declare.
17006
28e77c46
GM
17007 * ses.el (row, col): Declare dynamic variables honestly.
17008
887a0b34
GM
17009 * textmodes/reftex-parse.el (index-tags): Declare.
17010
658d8eb8
CY
170112011-06-30 Chong Yidong <cyd@stupidchicken.com>
17012
17013 * cus-edit.el (customize-push-and-save): New function.
17014
17015 * files.el (hack-local-variables-confirm): Use it.
17016
1fa280a3
LM
17017 * custom.el (load-theme): New arg NO-CONFIRM.
17018 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
17019 (custom-enabled-themes): Doc fix.
17020
17021 * cus-theme.el (customize-create-theme)
17022 (custom-theme-merge-theme): Callers to load-theme changed.
17023
bb617717
LMI
170242011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
17025
d61bdd5d
LMI
17026 * thingatpt.el (thing-at-point-short-url-regexp): Require that
17027 short URLs have at least one dot in them (bug #7614).
17028
bb617717
LMI
17029 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
17030 nil, because using a pty is apparently too slow (bug #895).
17031
2f31f37a
LMI
170322011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
17033
17034 * mail/sendmail.el (sendmail-query-once): New function.
17035 (sendmail-query-once-function): New variable.
17036
3076b24e
GM
170372011-06-29 Glenn Morris <rgm@gnu.org>
17038
faf2a174
GM
17039 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
17040
3076b24e
GM
17041 * ses.el (top-level): Require cl when compiling.
17042 (ses-set-localvars): Fix error statement.
17043 Call it at compile time to silence a storm of warnings.
17044
5386012d
MR
170452011-06-29 Martin Rudalics <rudalics@gmx.at>
17046
17047 * window.el (normalize-live-buffer): Rename to
17048 window-normalize-buffer.
17049 (normalize-live-frame): Rename to window-normalize-frame.
17050 (normalize-any-window): Rename to window-normalize-any-window.
17051 (normalize-live-window): Rename to window-normalize-live-window.
17052 (make-window-atom): Rename to window-make-atom.
17053 (window-resize-reset): Rename to window--resize-reset.
17054 (window-resize-reset-1): Rename to window--resize-reset-1.
17055 (resize-mini-window): Rename to window--resize-mini-window.
17056 (resize-subwindows-skip-p): Rename to
17057 window--resize-subwindows-skip-p.
17058 (resize-subwindows-normal): Rename to
17059 window--resize-subwindows-normal.
17060 (resize-subwindows): Rename to window--resize-subwindows.
17061 (resize-other-windows): Rename to window--resize-siblings.
17062 (resize-this-window): Rename to window--resize-this-window.
17063 (resize-root-window): Rename to window--resize-root-window.
17064 (resize-root-window-vertically): Rename to
17065 window--resize-root-window-vertically.
17066 (normalize-buffer-to-display): Rename to
17067 window-normalize-buffer-to-display.
17068 (normalize-buffer-to-switch-to): Rename to
17069 window-normalize-buffer-to-switch-to.
17070 Correspondingly update all callers of the functions listed
17071 above.
17072 (display-buffer-alist, display-buffer-normalize-arguments)
17073 (display-buffer-normalize-options, display-buffer)
17074 (display-buffer-alist-set): Use "function" instead of
17075 "fun-with-args".
17076
1176868d
CY
170772011-06-28 Chong Yidong <cyd@stupidchicken.com>
17078
17079 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
17080 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
17081 debbugs.gnu.org. Mention acknowledgment email.
17082
20a7a65f
LMI
170832011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
17084
17085 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
17086 buffer multibyteness, since it shouldn't matter.
17087
5f45cca5
MR
170882011-06-28 Martin Rudalics <rudalics@gmx.at>
17089
17090 * window.el (display-buffer-in-side-window): Handle dedicated
17091 windows as in display-buffer-reuse-window.
17092 (display-buffer-normalize-alist): Use value of override
17093 specifier.
17094 (display-buffer-normalize-specifiers): Use value of
17095 other-window-means-other-frame specifier.
17096 (display-buffer-alist): Rewrite some texts in widgets.
17097 (display-buffer): Spread arguments when calling function
17098 specified by fun-with-args.
17099
ad85fe1f
DD
171002011-06-28 Deniz Dogan <deniz@dogan.se>
17101
1fa280a3
LM
17102 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
17103 Unnest `let'.
da68c4c8 17104
ad85fe1f
DD
17105 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
17106 selectors (Bug#5732).
ec49bd31 17107 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 17108
a08cc025
JA
171092011-06-27 Jari Aalto <jari.aalto@cante.net>
17110
17111 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
17112 (eshell-ls-date-format): New defcustom.
17113 (eshell-ls-file): Use it.
17114
e2b551c5
SM
171152011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
17116
17117 * help-fns.el (describe-variable): Fix message for terminal-local vars.
17118
8982b231
KY
171192011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
17120
17121 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
17122 (ange-ftp-make-tmp-name): New arg.
17123 (ange-ftp-file-local-copy): Use it.
17124
36c9fa27
J
171252011-06-27 Jambunathan K <kjambunathan@gmail.com>
17126
17127 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
17128 no-conversion (Bug#8870).
17129
d68443dc
MR
171302011-06-27 Martin Rudalics <rudalics@gmx.at>
17131
17132 * window.el (window-right, window-left, window-child)
17133 (window-child-count, window-last-child)
17134 (window-iso-combination-p, walk-window-tree-1)
17135 (window-atom-check-1, window-tree-1, delete-window)
17136 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
17137 new naming conventions - window-vchild, window-hchild,
17138 window-next and window-prev are now called window-top-child,
17139 window-left-child, window-next-sibling and window-prev-sibling
17140 respectively.
d615d6d2
MR
17141 (resize-window-reset): Rename to window-resize-reset.
17142 (resize-window-reset-1): Rename to window-resize-reset-1.
17143 (resize-window): Rename to window-resize.
17144 (window-min-height, window-min-width)
17145 (resize-mini-window, resize-this-window, resize-root-window)
17146 (resize-root-window-vertically, adjust-window-trailing-edge)
17147 (enlarge-window, shrink-window, maximize-window)
17148 (minimize-window, delete-window, quit-restore-window)
17149 (split-window, balance-windows, balance-windows-area-adjust)
17150 (balance-windows-area, window-state-put-2)
17151 (display-buffer-even-window-sizes, display-buffer-set-height)
17152 (display-buffer-set-width, set-window-text-height)
17153 (fit-window-to-buffer): Rename all "resize-window" prefixed
17154 calls to use the "window-resize" prefix convention.
17155 (display-buffer-alist): Fix symbol for label specifier.
17156 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
17157 corresponding specifier.
17158 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 17159
b6458526
VB
171602011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
17161
17162 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
17163 convention.
17164 (ses-call-printer): Does not pass an empty string to formatter when the
17165 cell is empty to keep from barking printer Calc math-format-value.
17166
d31fd9ac
RS
171672011-06-27 Richard Stallman <rms@gnu.org>
17168
43d5bf84
RS
17169 * battery.el (battery-mode-line-limit): New variable.
17170 (battery-update): Handle it.
17171
d31fd9ac
RS
17172 * mail/rmailmm.el (rmail-mime-process-multipart):
17173 Handle truncated messages.
17174
819a6054
GM
171752011-06-27 Glenn Morris <rgm@gnu.org>
17176
17177 * progmodes/flymake.el (flymake-err-line-patterns):
17178 Allow for column numbers in the ant/javac pattern. (Bug#8866)
17179
cedc73f2
VB
171802011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
17181
819a6054 17182 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
17183 (ses--clean-!, ses--clean-_): New functions.
17184 (ses-range): Add configurability of readout order, and conversion
17185 to Calc vector.
17186
5e5d49b6
VB
17187 * ses.el (ses-repair-cell-reference-all): New function.
17188 (ses-cell-symbol): Set macro as safe, so that it can be used in
17189 formulas.
17190
56e6cc31 17191 * ses.el: Update cycle detection algorithm.
90ca8b49 17192 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 17193 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
17194 (ses-set-localvars): New function.
17195 (ses-make-cell): Add property-list as a cell element.
17196 (ses-cell-property-get-fun, ses-cell-property-get)
17197 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
17198 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
17199 New functions.
90ca8b49
VB
17200 (ses-cell-property-set, ses-cell-property-pop)
17201 (ses-cell-property-get-handle): New macro.
17202 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
17203 New aliases, used for code readability.
17204 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
17205 cycle detection.
17206 (ses-self-reference-early-detection): New defcustom.
fac916bf 17207 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
17208 (ses-mode): Use ses-set-localvars.
17209 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
17210 before lauching the update processing.
17211 (ses-initialize-Dijkstra-attempt): New function.
17212 (ses-recalculate-cell): Update for cycle detection based on
17213 Dijkstra algorithm.
17214
2bb63e81
VB
17215 * ses.el: Fix commenting and indenting convention.
17216
c9d29fb8
SM
172172011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
17218
17219 * bs.el (bs-cycle-next): Complete last change.
17220
d8e4b68b
JB
172212011-06-27 Drew Adams <drew.adams@oracle.com>
17222
17223 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
17224
40098786
LMI
172252011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
17226
c9d29fb8
SM
17227 * net/network-stream.el (network-stream-open-starttls):
17228 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
17229 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
17230
40098786
LMI
17231 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
17232 to binary to possibly avoid line encoding issues on Windows (among
17233 other things).
17234
468d09d4
LMI
172352011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
17236
17237 * net/network-stream.el (open-network-stream): Return an :error
17238 saying what the problem was, if possible.
17239
17240 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
17241 server.
17242
17243 * net/network-stream.el (network-stream-open-starttls): If we
17244 wanted to use STARTTLS, and the server offered it, but we weren't
17245 able to because we had no STARTTLS support, then close the connection.
17246 (open-network-stream): Return an :error element, if present.
17247
16f07dd7
CY
172482011-06-26 Chong Yidong <cyd@stupidchicken.com>
17249
88821ca0
CY
17250 * hl-line.el (hl-line-sticky-flag): Doc fix.
17251 (global-hl-line-sticky-flag): New option (Bug#8323).
17252 (global-hl-line-highlight): Obey it.
17253
16f07dd7
CY
17254 * vc/vc.el (vc-revert-show-diff): Default to t.
17255
6b5ccddf
KM
172562011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
17257
c9d29fb8
SM
17258 * allout-widgets.el (allout-widgets-post-command-business):
17259 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
17260 undecorated when an isearch is continued past, and isearch
17261 automatically collapses them. This leads to "widget leaks", where
17262 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
17263 hidden widgets can slow down cursor travel, substantially.
17264 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
17265 so we're doing without this nicety.
17266
17267 (allout-widgets-tally-string): Don't try to do a hash-table-count
17268 of allout-widgets-tally when it's nil. This eliminates spurious "Error
17269 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
17270 *Messages* when allout-widgets-maintain-tally is t.
17271
355f2e07
MR
172722011-06-26 Martin Rudalics <rudalics@gmx.at>
17273
17274 * window.el (display-buffer-normalize-argument): Rename to
17275 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
17276 LABEL argument. Respect special-display-function when popping up
17277 a new frame. Fix code searching for a window showing the buffer
17278 on another frame.
c9d29fb8
SM
17279 (display-buffer-normalize-specifiers):
17280 Call display-buffer-normalize-arguments.
355f2e07
MR
17281 (display-buffer-in-window): Don't undedicate the window if its
17282 buffer remains the same.
17283 Reported by Drew Adams <drew.adams@oracle.com>.
17284 (display-buffer-alist): Add choice for same-window macro
17285 specfier.
17286 (display-buffer): Mention special meaning of LABEL argument in
17287 doc-string. Fix quoting. Don't pop up a new frame even as
17288 fallback.
17289
7ca8fc42
JB
172902011-06-26 Juanma Barranquero <lekktu@gmail.com>
17291
17292 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
17293 avoid deleting the current window in some cases (bug#8911).
17294
bc312254
AS
172952011-06-26 Andreas Schwab <schwab@linux-m68k.org>
17296
17297 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
17298 (Bug#8934)
17299
2db18f3f
LMI
173002011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
17301
c9d29fb8
SM
17302 * net/network-stream.el (network-stream-open-starttls):
17303 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
17304 (network-stream-open-tls): Ditto.
17305
6302e0d3
LL
173062011-06-26 Leo Liu <sdl.web@gmail.com>
17307
17308 * register.el (registerv): New struct.
17309 (registerv-make): New function.
c9d29fb8
SM
17310 (jump-to-register, describe-register-1, insert-register):
17311 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
17312 struct. (Bug#8415)
17313
5fdd4046
CY
173142011-06-26 Chong Yidong <cyd@stupidchicken.com>
17315
2afef60a
CY
17316 * vc/vc.el (vc-revert-show-diff): New defcustom.
17317 (vc-diff-internal): New arg specifying diff buffer.
17318 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
17319 reuse an existing *vc-diff* buffer (Bug#8927).
17320
5fdd4046
CY
17321 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
17322
e93db24a
GM
173232011-06-26 Glenn Morris <rgm@gnu.org>
17324
17325 * progmodes/f90.el (f90-critical-indent): New option.
17326 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
17327 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
17328 (f90-mode): Doc fix.
17329 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
17330 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
17331 (f90-beginning-of-block, f90-next-block, f90-indent-region)
17332 (f90-match-end): Handle block, critical.
17333
eefff499
GM
173342011-06-25 Glenn Morris <rgm@gnu.org>
17335
f6ba4cc9
GM
17336 * calendar/diary-lib.el (diary-included-files): Doc fix.
17337 (diary-include-files): New function, extracted from
17338 diary-include-other-diary-files and diary-mark-included-diary-files.
17339 (diary-include-other-diary-files, diary-mark-included-diary-files):
17340 Just call diary-include-files.
17341 (diary-mark-entries): Reset diary-included-files on first call.
17342
16712304
GM
17343 * calendar/diary-lib.el (diary-mark-entries)
17344 (diary-mark-included-diary-files):
17345 Visit included diary-files in temp buffers.
17346
5d8e0d43
GM
17347 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
17348 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
17349 (f90-start-block-re, f90-imenu-generic-expression)
17350 (f90-looking-at-program-block-start, f90-no-block-limit):
17351 Add support for submodules.
17352
ccf7a5d5
GM
17353 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
17354 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 17355
11fdef7d 173562011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
17357
17358 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
17359 buffer-file-type before setting its value, to avoid disastrous
eefff499 17360 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 17361
74f53697
JB
173622011-06-25 Juanma Barranquero <lekktu@gmail.com>
17363
17364 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
17365
17366 * ses.el (ses-unload-function):
17367 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
17368
17369 * proced.el (proced-unload-function):
17370 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
17371
18a4ce5e
AR
173722011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
17373
17374 * server.el (server-create-window-system-frame): Add parameters arg.
17375 (server-process-filter): Doc fix. Handle frame-parameters.
17376
519d22cc
JB
173772011-06-25 Juanma Barranquero <lekktu@gmail.com>
17378
17379 Fix bug#8730, bug#8781.
17380
17381 * loadhist.el (unload--set-major-mode): New function.
17382 (unload-feature): Use it.
17383
17384 * progmodes/python.el (python-after-info-look): Add autoload cookie.
17385 (python-unload-function): New function.
17386
c206f5b0
SM
173872011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
17388
17389 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
17390
f9ad64f3
GS
173912011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
17392
17393 * net/browse-url.el (browse-url-firefox-program): Add icecat to
17394 the candidates list.
17395
7d0da90e
JB
173962011-06-24 Juanma Barranquero <lekktu@gmail.com>
17397
17398 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
17399
14b4e83d
RS
174002011-06-23 Richard Stallman <rms@gnu.org>
17401
17402 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
17403 (rmail-variables): Set next-error-move-function.
17404 (rmail-what-message): Take argument POS.
17405 (rmail-next-error-move): New function.
17406
273d2baf
SM
174072011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
17408
17409 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
17410 messages for adjacent non-terminals.
17411
56c2cc9a
RS
174122011-06-23 Richard Stallman <rms@gnu.org>
17413
17414 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 17415 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
17416 (rmail-start-mail): Don't specify use of rmail-mail-return;
17417 that's done by mail-bury now.
17418 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 17419
d59eb518
MA
174202011-06-23 Michael Albinus <michael.albinus@gmx.de>
17421
17422 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
17423 SIZE is a number.
17424
02cfc6d6
MR
174252011-06-23 Martin Rudalics <rudalics@gmx.at>
17426
17427 * window.el (get-lru-window, get-mru-window)
17428 (get-largest-window): Never return a minibuffer window.
17429 (display-buffer-pop-up-window): Fix a bug that could lead to
17430 reusing the minibuffer window.
17431 (display-buffer): Pass original specifier argument to
17432 display-buffer-function instead of the normalized one.
17433 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
17434
4e323265
LL
174352011-06-22 Leo Liu <sdl.web@gmail.com>
17436
17437 * minibuffer.el (completing-read-function)
1f9f395d 17438 (completing-read-default): Move from minibuf.c.
4e323265 17439
7a70468f
RS
174402011-06-22 Richard Stallman <rms@gnu.org>
17441
50718fc2
RS
17442 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
17443 to Rmail even if not started by a special Rmail command.
17444
7a70468f
RS
17445 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
17446 Copy the buffer currently showing just one message.
17447
297dde5a
RW
174482011-06-22 Roland Winkler <winkler@gnu.org>
17449
17450 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
17451 (bibtex-clean-entry): First delete the old key so that a
17452 customized algorithm for generating the new key does not get
17453 confused by the old key.
17454 (bibtex-url): Obey regexp of first step.
17455 (bibtex-search-entries): Do not use add-to-list with local
17456 list-var.
17457
97bb1093
LMI
174582011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
17459
17460 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
17461 stored a user name, then query for the password first, instead of
17462 waiting for SMTP to give an error message and the trying again.
17463
1c0f1a19
JD
174642011-06-22 Lawrence Mitchell <wence@gmx.li>
17465
17466 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
17467 BUFFER in call-process.
17468
396f7c9d
LMI
174692011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
17470
17471 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
17472 QUIT twice.
ddb7ffee
LMI
17473 (smtpmail-try-auth-methods): Require user name and password from
17474 auth-source.
396f7c9d 17475
8998d1b3
MR
174762011-06-22 Martin Rudalics <rudalics@gmx.at>
17477
17478 * window.el (display-buffer-default-specifiers)
17479 (display-buffer-alist): Remove entries for pop-up-frame-alist.
17480 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 17481 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
17482
17483 * frame.el (pop-up-frame-alist, pop-up-frame-function)
17484 (special-display-frame-alist, special-display-popup-frame):
17485 Remove duplicate declarations. These are now in window.el.
17486
4ea31e07
LMI
174872011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
17488
c9d29fb8
SM
17489 * mail/smtpmail.el (smtpmail-via-smtp):
17490 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
17491 server supports it. SMTP servers that support STARTTLS commonly
17492 require it.
17493
17494 * net/network-stream.el (network-stream-open-starttls): Support
17495 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 17496 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 17497
95f41d9a
LMI
17498 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
17499 upgrades with `open-network-stream', and rely solely on
17500 auth-source for all credentials. Big changes throughout the file,
17501 but in particular:
c9d29fb8
SM
17502 (smtpmail-auth-credentials): Remove.
17503 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
17504 (smtpmail-via-smtp): Check for servers saying they want AUTH after
17505 MAIL FROM, too.
95f41d9a 17506
c9d29fb8
SM
17507 * net/network-stream.el (network-stream-open-starttls):
17508 Provide support for client certificates both for external and built-in
4ea31e07
LMI
17509 STARTTLS.
17510 (auth-source): Require.
17511 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
17512 (network-stream-certificate): Change cert-cert to cert and
17513 cert-key to key.
4ea31e07 17514
065ec2c7
MA
175152011-06-21 Michael Albinus <michael.albinus@gmx.de>
17516
17517 * net/tramp-cache.el (top): Don't load the persistency file when
17518 "emacs -Q" has been called.
17519
cd93b359
DR
175202011-06-21 Tim Harper <timcharper@gmail.com>
17521
d8e4b68b
JB
17522 * term/ns-win.el (ns-initialize-window-system):
17523 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
17524 resource to NO as it is not yet supported by the NS port.
17525
ae9c0411
JB
175262011-06-21 Juanma Barranquero <lekktu@gmail.com>
17527
17528 * misc.el (list-dynamic-libraries--refresh): Compute header here...
17529 (list-dynamic-libraries): ...not here.
17530
7f3f739f
LL
175312011-06-21 Leo Liu <sdl.web@gmail.com>
17532
17533 * subr.el (sha1): Implement sha1 using secure-hash.
17534
327c8fb1
MR
175352011-06-21 Martin Rudalics <rudalics@gmx.at>
17536
17537 * window.el (display-buffer-alist): In default value do not
17538 enforce searching a window on any but the selected frame.
17539 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
17540 (display-buffer-select-window): Remove function.
17541 (display-buffer-in-window): When a window on another frame gets
17542 reused, do not select it any more but just raise its frame if
17543 necessary (Bug#8851) and (Bug#8856).
17544 (display-buffer-normalize-options): Handle pop-up-frames related
17545 options more faithfully.
17546 (pop-to-buffer): Don't rely on `display-buffer' selecting the
17547 window if it is on another frame.
c9d29fb8
SM
17548 (display-buffer-alist, display-buffer-default-specifiers):
17549 Don't make new frame unsplittable by default.
9e9de014
MR
17550 (display-buffer-normalize-argument): Fix doc-string typo and use
17551 'same-frame-other-window instead of 'other-window when associating
17552 with display-buffer-macro-specifiers.
327c8fb1 17553
7cf3f556
VB
175542011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
17555
17556 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
17557 New functions.
17558 (5x5-mode-map, 5x5-mode-menu): Bind them.
17559 (5x5-draw-grid): Tweak the solver's rendering.
17560
60a406cf
SM
175612011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
17562
17563 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
17564 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
17565
d8e4b68b 175662011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
17567
17568 * menu-bar.el: Use function variable instead of switch-to-buffer.
17569 (menu-bar-select-buffer-function): New variable.
60a406cf 17570 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 17571
478d6f95
SM
175722011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
17573
17574 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
17575 variable's status.
17576
ca530739
JD
175772011-06-20 Jan Djärv <jan.h.d@swipnet.se>
17578
17579 * x-dnd.el (x-dnd-version-from-flags)
17580 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
17581 and long as number (Bug#8899).
17582 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
17583
bcd70d97
SM
175842011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
17585
60a406cf 17586 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
17587 (completion-try-completion, completion-all-completions): Compute the
17588 metadata argument if it's missing; make it optional (bug#8795).
17589
60a406cf 17590 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
17591 (widget-complete): Use new :completion-function property.
17592 (widget-completions-at-point): New function.
17593 (default): Use :completion-function instead of :complete.
60a406cf
SM
17594 (widget-default-completions): Rename from widget-default-complete;
17595 Rewrite.
bcd70d97
SM
17596 (widget-string-complete, widget-file-complete, widget-color-complete):
17597 Remove functions.
17598 (file, symbol, function, variable, coding-system, color):
17599 * international/mule-cmds.el (default-input-method, charset)
17600 (language-info-custom-alist):
17601 * cus-edit.el (face): Use new property :completions.
17602
17603 * progmodes/pascal.el (pascal-completions-at-point): New function.
17604 (pascal-mode): Use it.
17605 (pascal-mode-map): Use completion-at-point.
17606 (pascal-toggle-completions): Make obsolete.
17607 (pascal-complete-word, pascal-show-completions):
17608 * progmodes/octave-mod.el (octave-complete-symbol):
17609 Redefine as obsolete alias.
17610 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
17611 Signal absence of completion info for old Octave,
17612 (inferior-octave-complete): Redefine as obsolete alias.
17613 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
17614 (meta-completions-at-point): Rename from meta-complete-symbol and
17615 adapt it for use on completion-at-point-functions.
17616 (meta-common-mode): Use it.
17617 (meta-looking-at-backward, meta-match-buffer): Remove.
17618 (meta-complete-symbol): Redefine as obsolete alias.
17619 (meta-common-mode-map): Use completion-at-point.
17620 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
17621 (makefile-mode-map): Use completion-at-point.
17622 (makefile-completions-at-point): Rename from makefile-complete and
17623 adapt it for use on completion-at-point-functions.
17624 (makefile-mode): Use it.
17625 (makefile-complete): Redefine as obsolete alias.
17626
aebf69c8
DD
176272011-06-20 Deniz Dogan <deniz@dogan.se>
17628
17629 * net/rcirc.el: Delete trailing whitespaces once and for all.
17630
bfbbb27d
DC
176312011-06-20 Daniel Colascione <dan.colascione@gmail.com>
17632
17633 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
17634
d264a46b
CY
176352011-06-19 Chong Yidong <cyd@stupidchicken.com>
17636
4ca009e5
CY
17637 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
17638
d264a46b
CY
17639 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
17640
fbf5b3ce
MR
176412011-06-19 Martin Rudalics <rudalics@gmx.at>
17642
17643 * window.el (display-buffer-other-window-means-other-frame):
17644 Call display-buffer-normalize-alist.
17645 (display-buffer-normalize-specifiers-1): Rename to
17646 display-buffer-normalize-argument. New argument other-frame.
17647 Rewrite.
17648 (display-buffer-normalize-specifiers-2): Rename to
17649 display-buffer-normalize-options.
17650 (display-buffer-normalize-alist-1): New function.
17651 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
17652 display-buffer-normalize-alist.
17653 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
17654 (display-buffer-normalize-options-inhibit): New variable.
17655 (display-buffer-normalize-specifiers): Rewrite calling
17656 display-buffer-normalize-alist,
17657 display-buffer-normalize-argument, and
17658 display-buffer-normalize-options. Don't call the latter if
17659 display-buffer-normalize-options-inhibit is non-nil.
17660 (frame-auto-delete): New option.
17661 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
17662 (window-list-no-nils, window-state-ignored-parameters)
17663 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
17664 (window-state-put-1, window-state-put-2, window-state-put):
17665 New functions.
9a028c23
MR
17666 (display-buffer-normalize-options): Move special-display-p group
17667 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 17668
6d10d800
CY
176692011-06-18 Chong Yidong <cyd@stupidchicken.com>
17670
6420d28b
CY
17671 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
17672 groups (Bug#8776).
17673 (rx-submatch-n): New function.
17674 (rx): Document it.
17675
ddb8b596
CY
17676 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
17677 (Bug#8768).
17678
17679 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
17680
77080289
CY
17681 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
17682
61dfb316
CY
17683 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
17684 anytime existing face settings are present (Bug#8889).
17685
6d10d800
CY
17686 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
17687 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
17688 Remove unused argument.
17689
be3fb2b8
MR
176902011-06-18 Martin Rudalics <rudalics@gmx.at>
17691
bcd70d97
SM
17692 * window.el (display-buffer-default-specifiers):
17693 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
17694 pop-up-window-min-width, and another reuse-window specifier
17695 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
17696 (display-buffer-normalize-specifiers-2):
17697 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
17698 pop-up-windows is unset. Add a reuse-window specifier for the
17699 case popping up a new window fails.
17700 (special-display-popup-frame): Remove double quoting.
28dec25a 17701 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 17702
1c6d8c76
SM
177032011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
17704
17705 * shell.el (shell-completion-vars): Set pcomplete-termination-string
17706 according to comint-completion-addsuffix.
17707
17708 * pcomplete.el: Convert to lexical binding and fix bug#8819.
17709 (pcomplete-suffix-list): Mark as obsolete.
17710 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
17711 pcomplete-seen in the closure.
17712 (pcomplete-comint-setup): Setup completion-at-point as well.
17713 (pcomplete--entries): New function.
17714 (pcomplete--env-regexp): New var.
17715 (pcomplete-entries): Rewrite to work with partial-completion and
17716 without relying on pcomplete-suffix-list.
17717 (pcomplete-pare-list): Remove, unused.
17718
25aef8b8
MR
177192011-06-17 Martin Rudalics <rudalics@gmx.at>
17720
17721 * window.el (display-buffer-alist): Set pop-up-window-min-height
17722 and pop-up-window-min-width in default value. Reported by
17723 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
17724 other-window-means-other-frame.
17725 (display-buffer-macro-specifiers): Comment out entry for
17726 other-window specifier.
17727 (display-buffer-other-window-means-other-frame): New function.
17728 (display-buffer-normalize-specifiers-1): New arguments
17729 buffer-name and label. Treat other-window case specially.
17730 (display-buffer-normalize-specifiers-2): Treat other-window case
17731 specially.
17732 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
17733 (display-buffer-normalize-specifiers):
17734 Call display-buffer-normalize-specifiers-3.
25aef8b8 17735
dbad4f69
MR
177362011-06-17 Martin Rudalics <rudalics@gmx.at>
17737
17738 * window.el (same-window-p): Fix two typos introduced when
17739 adding with-no-warnings.
d1067961
MR
17740 (display-buffer-normalize-specifiers-1): Don't check
17741 pop-up-frames for 'unset initialization.
17742 (display-buffer-normalize-specifiers-2): Major rewrite using
17743 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
17744 (pop-up-frames, display-buffer-reuse-frames)
17745 (display-buffer-mark-dedicated): Don't initialize to 'unset.
17746 Suggested by David Engster <deng@randomsample.de>.
17747 (even-window-heights): Initialize to 'unset.
17748 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
17749 (display-buffer-macro-specifiers): Don't pop up a new frame in the
17750 other window case.
dbad4f69 17751
9b9c9e3a
MR
177522011-06-16 Martin Rudalics <rudalics@gmx.at>
17753
bcd70d97
SM
17754 * window.el (display-buffer-normalize-specifiers-1):
17755 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 17756 second argument of display-buffer (Bug#8865).
981d5c09
MR
17757 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
17758 (switch-to-buffer-other-window-same-frame)
17759 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
17760 Adams (Bug#8875).
9c2755e9
MR
17761 (display-buffer): Don't check noninteractive when calling
17762 display-buffer-pop-up-frame.
17763 (display-buffer-pop-up-frame): Never pop up a frame in
17764 noninteractive mode (Bug#8857).
67222e1d
MR
17765 (enlarge-window, shrink-window): Don't report an error when the
17766 window can't be resized as requested (Bug#8862).
9b9c9e3a 17767
2b75be67
SM
177682011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
17769
9ffdd3ba
SM
17770 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
17771
cb581a67
SM
17772 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
17773
2b75be67
SM
17774 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
17775
8c0e3589
AM
177762011-06-15 Alan Mackenzie <acm@muc.de>
17777
cb581a67
SM
17778 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
17779 for declarators, disable knr checking to speed up for normal files.
17780 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 17781
b96e6cde
LMI
177822011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
17783
4bba86e6
LMI
17784 * net/network-stream.el (open-network-stream): Add the keyword
17785 :always-query-capabilities for the case where you want to force a
17786 `plain' network connection, but the protocol still requires the
17787 capabilitiy command (i.e., SMTP and EHLO).
17788
2b75be67 17789 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
17790 consistency with other `-live-p' functions.
17791
efdcdbf8
SM
177922011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
17793
17794 * window.el (same-window-buffer-names, same-window-regexps)
17795 (special-display-frame-alist, special-display-popup-frame)
17796 (special-display-function, special-display-buffer-names)
17797 (special-display-regexps, pop-up-frame-alist)
17798 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
17799 (pop-up-windows, split-window-preferred-function)
17800 (split-height-threshold, split-width-threshold, even-window-heights)
17801 (display-buffer-mark-dedicated): Don't encourage the use of
17802 display-buffer-alist from Elisp code.
17803
c5cde042
DN
178042011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
17805
17806 * progmodes/python.el (python-mode): Derive from prog-mode.
17807 * progmodes/ps-mode.el (ps-mode):
17808 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 17809 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
17810 * progmodes/ld-script.el (ld-script-mode): Likewise.
17811
baa1c9ab
MR
178122011-06-15 Martin Rudalics <rudalics@gmx.at>
17813
17814 * window.el (display-buffer-alist): Trim default value to avoid
17815 popping up a new frame (Bug#8857) or reusing an arbitrary window
17816 on another frame.
17817 (display-buffer): Do not fall back on popping up a new frame in
17818 batch mode (Bug#8857).
17819
c5dd5a51
CY
178202011-06-14 Chong Yidong <cyd@stupidchicken.com>
17821
17822 * cus-theme.el (describe-theme-1): Use custom-theme-p.
17823 (custom-theme-summary): New function.
17824 (customize-themes): Use it.
17825
d647b7c4
GM
178262011-06-13 Glenn Morris <rgm@gnu.org>
17827
17828 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
17829
9481c002
MR
178302011-06-13 Martin Rudalics <rudalics@gmx.at>
17831
357f93d2
MR
17832 * help.el (help-window): Remove variable.
17833 (help-window-point-marker, temp-buffer-max-height)
17834 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
17835 (help-print-return-message): Don't set help-window.
17836 (resize-temp-buffer-window): Rewrite cod eand doc-string.
17837 (help-window-setup-finish): Remove.
17838 (help-window-display-message, help-window-setup)
17839 (with-help-window): Major rewrite based on new
17840 display-buffer-window variable.
17841
17842 * help-mode.el (help-mode-finish): Remove help-window related
17843 code.
17844
17845 * view.el (view-exits-all-viewing-windows): Remove reference to
17846 view-return-to-alist in doc-string.
17847 (view-return-to-alist): Make obsolete.
17848 (view-buffer): Call pop-to-buffer-same-window and remove
17849 undo-window code.
17850 (view-buffer-other-window): Call pop-to-buffer-other-window and
17851 simplify code. Ignore second argument.
17852 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
17853 simplify code. Ignore second argument.
17854 (view-return-to-alist-update): Make obsolete.
17855 (view-mode-enter): Rename second argument to QUIT-RESTORE.
17856 Rewrite using quit-restore window parameters.
2b75be67
SM
17857 (view-mode-exit): Rename second argument to EXIT-ONLY.
17858 Rewrite using quit-restore-window.
357f93d2
MR
17859 (View-exit, View-exit-and-edit, View-leave, View-quit)
17860 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
17861 appropriate arguments.
17862 (view-end-message): Use quit-restore window parameter.
17863
9481c002
MR
17864 * window.el (display-buffer-function): Rewrite doc-string.
17865 (display-buffer-window, display-buffer-alist): New variables.
17866 (display-buffer-split-specifiers)
17867 (display-buffer-side-specifiers)
17868 (display-buffer-macro-specifiers): New constants.
17869 (display-buffer-even-window-sizes, display-buffer-set-height)
17870 (display-buffer-set-width, display-buffer-select-window)
17871 (display-buffer-in-window, display-buffer-reuse-window)
17872 (display-buffer-split-window-1, display-buffer-split-window)
17873 (display-buffer-split-atom-window, display-buffer-pop-up-window)
17874 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
17875 (display-buffer-in-side-window, normalize-buffer-to-display)
17876 (display-buffer-normalize-specifiers-1)
17877 (display-buffer-normalize-specifiers-2)
2b75be67
SM
17878 (display-buffer-normalize-specifiers, display-buffer-frame):
17879 New functions.
9481c002
MR
17880 (display-buffer): Major rewrite.
17881 (display-buffer-other-window, display-buffer-other-frame)
17882 (pop-to-buffer, switch-to-buffer-other-window)
17883 (switch-to-buffer-other-frame): Rewrite.
17884 (display-buffer-same-window, display-buffer-same-frame)
17885 (display-buffer-same-frame-other-window)
17886 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
17887 (pop-to-buffer-other-window)
17888 (pop-to-buffer-same-frame-other-window)
17889 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
17890 (switch-to-buffer-other-window-same-frame): New functions.
17891 (same-window-p, special-display-p): Rewrite disabling warnings.
17892 Make obsolete.
17893 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
17894 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
17895 Make obsolete
17896 (same-window-buffer-names, same-window-regexps)
17897 (special-display-frame-alist, special-display-popup-frame)
17898 (special-display-function, special-display-buffer-names)
17899 (special-display-regexps, pop-up-frame-alist)
17900 (pop-up-frame-function, split-window-preferred-function)
17901 (split-height-threshold, split-width-threshold)
17902 (even-window-heights): Make obsolete.
17903
9db51aca
GM
179042011-06-12 Glenn Morris <rgm@gnu.org>
17905
17906 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 17907 Misc simplifications.
9db51aca 17908
39cffb44
MR
179092011-06-12 Martin Rudalics <rudalics@gmx.at>
17910
17911 * window.el (window-safely-shrinkable-p): Restore function which
17912 was inadvertently removed in change from 2011-06-11. Declare as
17913 obsolete.
17914
2b75be67
SM
17915 * calendar/calendar.el (calendar-generate-window):
17916 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
17917 window-safely-shrinkable-p.
17918
a8955be7
GM
179192011-06-12 Glenn Morris <rgm@gnu.org>
17920
17921 * progmodes/fortran.el (fortran-mode-syntax-table):
17922 * progmodes/f90.el (f90-mode-syntax-table):
17923 Set % to punctuation. (Bug#8820)
17924 (f90-find-tag-default): Remove, no longer needed.
17925
f0d4059d
DC
179262011-06-12 Daniel Colascione <dan.colascione@gmail.com>
17927
17928 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
17929
1100a63c
CY
179302011-06-11 Chong Yidong <cyd@stupidchicken.com>
17931
17932 * image.el (image-animated-p): Return animation delay in seconds.
17933 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
17934 (image-animate-timeout): Remove DELAY argument. Don't assume
17935 every subimage has the same delay; get it from image-animated-p.
17936 (image-animate): Caller changed.
17937
def722bf
MA
179382011-06-11 Michael Albinus <michael.albinus@gmx.de>
17939
17940 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
17941 to ignored backtrace functions.
17942
0a2bb1a9
GM
179432011-06-11 Glenn Morris <rgm@gnu.org>
17944
17945 * calendar/appt.el (appt-disp-window-function): Doc fix.
17946 (appt-check): Handle overlapping appointments. (Bug#8337)
17947
6198ccd0
MR
179482011-06-11 Martin Rudalics <rudalics@gmx.at>
17949
17950 * window.el (window-tree-1, window-tree): New functions, moving
17951 the latter to window.el.
17952 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
17953 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
17954 (bw-refresh-edges): Remove.
17955 (balance-windows-1, balance-windows-2): New functions.
17956 (balance-windows): Rewrite in terms of window tree functions,
17957 balance-windows-1 and balance-windows-2.
17958 (bw-adjust-window): Remove.
17959 (balance-windows-area-adjust): New function with functionality of
17960 bw-adjust-window but using resize-window.
2b75be67
SM
17961 (set-window-text-height): Rewrite doc-string.
17962 Use normalize-live-window and resize-window.
17963 (enlarge-window-horizontally, shrink-window-horizontally):
17964 Rename argument to DELTA.
6198ccd0
MR
17965 (window-buffer-height): New function.
17966 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
17967 Rewrite using new window resize routines.
2b75be67
SM
17968 (kill-buffer-and-window, mouse-autoselect-window-select):
17969 Use ignore-errors instead of condition-case.
6198ccd0
MR
17970 (quit-window): Call delete-frame instead of delete-windows-on
17971 for the only buffer on frame.
17972
9397e56f
MR
179732011-06-10 Martin Rudalics <rudalics@gmx.at>
17974
17975 * loadup.el (top-level): Load window before files for the sake
17976 of replace-buffer-in-windows.
17977
17978 * files.el (read-buffer-to-switch)
17979 (switch-to-buffer-other-window)
2b75be67
SM
17980 (switch-to-buffer-other-frame, display-buffer-other-frame):
17981 Move to window.el.
9397e56f
MR
17982
17983 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
17984 (previous-buffer): Move to window.el.
17985
17986 * bindings.el (unbury-buffer): Move to window.el.
17987
17988 * window.el (delete-other-windows-vertically): Move after
17989 definition of delete-other-windows.
17990 (other-window, delete-windows-on, replace-buffer-in-windows):
17991 Move here from window.c.
17992 (record-window-buffer, unrecord-window-buffer)
17993 (set-window-buffer-start-and-point, switch-to-prev-buffer)
17994 (switch-to-next-buffer): New functions.
17995 (get-next-valid-buffer, last-buffer, next-buffer): Move here
17996 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
17997 (previous-buffer): Move here from simple.el.
17998 Call switch-to-prev-buffer.
9397e56f
MR
17999 (bury-buffer): Move here from buffer.c. Switch to previous
18000 buffer when window cannot be deleted.
18001 (unbury-buffer): Move here from bindings.el.
18002 (ctl-x-map): Move binding for other-window from window.c to
18003 here.
18004 (read-buffer-to-switch, switch-to-buffer-other-window)
18005 (switch-to-buffer-other-frame): Move here from files.el.
18006 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
18007 (switch-to-buffer): Move here from buffer.c.
18008 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 18009
562dd5e9
MR
180102011-06-10 Martin Rudalics <rudalics@gmx.at>
18011
18012 * window.el (window-min-height, window-min-width): Move here
18013 from window.c. Add defcustoms and rewrite doc-strings.
18014 (resize-mini-window, resize-window): New functions.
18015 (adjust-window-trailing-edge, enlarge-window, shrink-window):
18016 Move here from window.c.
18017 (maximize-window, minimize-window): New functions.
18018 (delete-window, delete-other-windows, split-window): Move here
18019 from window.c.
18020 (window-split-min-size): New function.
18021 (split-window-keep-point): Mention split-window-above-each-other
18022 instead of split-window-vertically.
2b75be67 18023 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
18024 Rename split-window-vertically to split-window-above-each-other
18025 and provide defalias for old definition.
18026 (split-window-side-by-side, split-window-horizontally):
18027 Rename split-window-horizontally to split-window-side-by-side
18028 and provide defalias for the old definition.
562dd5e9
MR
18029 (ctl-x-map): Move bindings for delete-window,
18030 delete-other-windows and enlarge-window here from window.c.
18031 Replace bindings for split-window-vertically and
18032 split-window-horizontally by bindings for
18033 split-window-above-each-other and split-window-side-by-side.
18034
18035 * cus-start.el (all): Remove entries for window-min-height and
18036 window-min-width. Add entries for window-splits and
18037 window-nest.
18038
f0da764a
GM
180392011-06-09 Glenn Morris <rgm@gnu.org>
18040
80675c21
GM
18041 * calendar/appt.el (appt-mode-line): New function.
18042 (appt-check, appt-disp-window): Use it.
18043
f0da764a
GM
18044 * files.el (hack-one-local-variable-eval-safep):
18045 Allow minor-modes with explicit +/-1 arguments.
18046
59f623b7
TZ
180472011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
18048
18049 * term/xterm.el (xterm): Add defgroup.
18050 (xterm-extra-capabilities): Add defcustom to supply known xterm
18051 capabilities, skip querying them, or query them (default).
18052 (terminal-init-xterm): Use it.
18053 (terminal-init-xterm-modify-other-keys): New function to set up
18054 modifyOtherKeys support to simplify `terminal-init-xterm'.
18055
9aab8e0d
MR
180562011-06-09 Martin Rudalics <rudalics@gmx.at>
18057
18058 * window.el (resize-window-reset, resize-window-reset-1)
18059 (resize-subwindows-skip-p, resize-subwindows-normal)
18060 (resize-subwindows, resize-other-windows, resize-this-window)
18061 (resize-root-window, resize-root-window-vertically)
18062 (window-deletable-p, window-or-subwindow-p)
18063 (frame-root-window-p): New functions.
18064
e8b08aee
GM
180652011-06-09 Glenn Morris <rgm@gnu.org>
18066
18067 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
18068 (ange-ftp-get-files): Use it.
18069
254c37a5
AK
180702011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
18071
18072 * mail/sendmail.el (mail-recover-1, mail-recover):
18073 * files.el (recover-file, recover-session):
18074 Handle dired-listing-switches not being just a single short option.
18075
35d7dbd3
GM
180762011-06-09 Glenn Morris <rgm@gnu.org>
18077
18078 * calendar/appt.el (appt-display-message, appt-disp-window):
18079 Handle lists of appointments.
18080
387522b2
MR
180812011-06-08 Martin Rudalics <rudalics@gmx.at>
18082
2b75be67
SM
18083 * window.el (one-window-p): Move down in code.
18084 Rewrite doc-string.
18085 (window-current-scroll-bars): Rewrite doc-string.
18086 Normalize live window argument.
387522b2
MR
18087 (walk-windows, get-window-with-predicate, count-windows):
18088 Rewrite doc-string. Use window-list-1.
18089 (window-in-direction-2, window-in-direction, get-mru-window):
18090 New functions.
18091
d8e4b68b 180922011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
18093
18094 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
18095 Doc fix (Bug#8713).
18096
180972011-06-08 Chong Yidong <cyd@stupidchicken.com>
18098
18099 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
18100
181012011-06-08 Juanma Barranquero <lekktu@gmail.com>
18102
18103 * loadhist.el (unload-feature-special-hooks):
18104 Add `comint-output-filter-functions'.
18105
0de12c52
IK
181062011-06-08 Ivan Kanis <gnu@kanis.fr>
18107
18108 * calendar/appt.el (appt-check): Move some initializations into the let.
18109
f3d1777e
MR
181102011-06-08 Martin Rudalics <rudalics@gmx.at>
18111
18112 * window.el (window-height): Defalias to window-total-height.
18113 (window-width): Defalias to window-body-width.
18114
18af70d0
CY
181152011-06-07 Chong Yidong <cyd@stupidchicken.com>
18116
18117 * image-mode.el (image-toggle-animation): New command.
18118 (image-mode-map): Bind it to RET.
18119 (image-mode): Update message.
18120 (image-toggle-display-image): Avoid a spurious cache flush.
18121 (image-transform-rotation): Doc fix.
18122 (image-transform-properties): Return quickly in the normal case.
18123 (image-animate-loop): Rename from image-animate-max-time.
18124
2b75be67 18125 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
18126 (create-animated-image): Remove unnecessary function.
18127 (image-animate): Rename from image-animate-start. New arg.
2b75be67 18128 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
18129 (image-animate-timer): Use car-safe.
18130 (image-animate-timeout): Rename argument.
18131
190b47e6
MR
181322011-06-07 Martin Rudalics <rudalics@gmx.at>
18133
18134 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
18135 window.c. Rename first argument to ALL-FRAMES.
18136 Rephrase doc-strings.
18137 (get-buffer-window-list): Rewrite using window-list-1.
18138 Rephrase doc-string.
a1511caf
MR
18139 (window-safe-min-height, window-safe-min-width): New constants.
18140 (window-size-ignore, window-min-size, window-min-size-1)
18141 (window-sizable, window-sizable-p, window-size-fixed-1)
18142 (window-size-fixed-p, window-min-delta-1, window-min-delta)
18143 (window-max-delta-1, window-max-delta, window-resizable)
18144 (window-resizable-p, window-total-height, window-total-width)
18145 (window-body-width): New functions.
18146 (window-full-height-p, window-full-width-p): Rewrite using
18147 window-total-size.
18148 (window-body-height): Rewrite using window-body-size.
190b47e6 18149
85cc1f11
MR
181502011-06-06 Martin Rudalics <rudalics@gmx.at>
18151
18152 * window.el (window-right, window-left, window-child)
18153 (window-child-count, window-last-child, window-any-p)
18154 (normalize-live-buffer, normalize-live-frame)
18155 (normalize-any-window, normalize-live-window)
18156 (window-iso-combination-p, window-iso-combined-p)
18157 (window-iso-combinations)
18158 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
18159 (windows-with-parameter, window-with-parameter)
18160 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
18161 (window-atom-check, window-side-check, window-check):
18162 New functions.
85cc1f11
MR
18163 (ignore-window-parameters, window-sides, window-sides-vertical)
18164 (window-sides-slots): New variables.
18165 (window-size-fixed): Move down in code. Minor doc-string fix.
18166
e7156492
AS
181672011-06-05 Andreas Schwab <schwab@linux-m68k.org>
18168
18169 * comint.el (comint-dynamic-complete-as-filename)
18170 (comint-dynamic-complete-filename): Correctly call
18171 completion-in-region.
18172
7e821d0d
DD
181732011-06-05 Deniz Dogan <deniz@dogan.se>
18174
18175 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
18176 in last change.
18177
ac09b8a1
DD
181782011-06-05 Deniz Dogan <deniz@dogan.se>
18179
18180 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
18181 (rcirc): Use it to prompt for encryption.
18182
34699b85
RW
181832011-06-05 Roland Winkler <winkler@gnu.org>
18184
18185 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
18186 (bibtex-search-entries): New command bound to C-c C-a.
18187 (bibtex-display-entries): New function.
18188
004dedd3
RW
181892011-06-05 Roland Winkler <winkler@gnu.org>
18190
18191 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
18192 (bibtex-insert-kill): After yanking insert newline if necessary.
18193 (bibtex-initialize): Call bibtex-string-files-init only once.
18194 (bibtex-mode): Do not call easy-menu-add.
18195 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
18196 (bibtex-yank): Set arg properly if nil.
18197
022fe7ce
RW
181982011-06-05 Roland Winkler <winkler@gnu.org>
18199
2b75be67
SM
18200 * textmodes/bibtex.el (bibtex-search-entry-globally):
18201 New variable.
022fe7ce
RW
18202 (bibtex-search-entry): Use it.
18203
b7c3692a
RW
182042011-06-05 Roland Winkler <winkler@gnu.org>
18205
18206 * textmodes/bibtex.el (bibtex-entry-format): New option
18207 sort-fields.
18208 (bibtex-format-entry, bibtex-reformat): Honor this option.
18209 (bibtex-parse-entry): Return fields in proper order.
18210
8eda563d
JB
182112011-06-05 Juanma Barranquero <lekktu@gmail.com>
18212
18213 * doc-view.el (doc-view-remove-if): Move computation of result out
18214 of `dolist' to silence misleading lexical-binding warning.
18215
7dbe3dbc
CY
182162011-06-04 Chong Yidong <cyd@stupidchicken.com>
18217
18218 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
18219 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
18220
0c33dd17
MA
182212011-06-04 Michael Albinus <michael.albinus@gmx.de>
18222
18223 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
18224 "SunOS 5.10".
18225
f8f91c2b
MA
182262011-06-04 Michael Albinus <michael.albinus@gmx.de>
18227
18228 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
18229 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
18230 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
18231 (tramp-parse-putty):
18232 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
18233 (tramp-completion-function-alist-ssh)
18234 (tramp-completion-function-alist-telnet)
18235 (tramp-completion-function-alist-su)
18236 (tramp-completion-function-alist-putty): Set `tramp-autoload'
18237 cookie.
18238
18239 * net/tramp-ftp.el:
18240 * net/tramp-sh.el:
18241 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
18242 load "tramp.el" `tramp-set-completion-function'.
18243
e17d9003
SM
182442011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
18245
18246 * shell.el: Require and use pcomplete.
18247 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
18248 (shell-completion-vars): Set pcomplete-default-completion-function.
18249
6c4cab03
DD
182502011-06-04 Deniz Dogan <deniz@dogan.se>
18251
18252 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
18253 `memq' (Bug#8799).
18254
ea9fafe0
SM
182552011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
18256
18257 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
18258
b3e945d3
JB
182592011-06-02 Juanma Barranquero <lekktu@gmail.com>
18260
18261 * bs.el (bs--mark-unmark, bs--nth-wrapper):
18262 * mpc.el (mpc-select-extend, mpc-songpointer-context):
18263 * vc/log-view.el (log-view-beginning-of-defun):
18264 * vc/smerge-mode.el (smerge-apply-resolution-patch)
18265 (smerge-refine-forward, smerge-refine-chopup-region):
18266 Silence warning for unused `dotimes' counter variables.
18267
7d520089
SM
182682011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
18269
18270 * net/tramp.el (tramp-with-progress-reporter): Rename from
18271 with-progress-reporter. Use `declare'.
18272 * net/tramp-smb.el:
18273 * net/tramp-sh.el:
18274 * net/tramp-gvfs.el: Update all uses.
18275
a1c2400f
JB
182762011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
18277
18278 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
18279 buffer isn't killed before making it current.
18280
2403c841
SM
182812011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
18282
18283 Silence various byte-compiler warnings.
18284 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
18285 `access-type' and new obsolescence format.
18286 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
18287 new format.
18288 (byte-compile-check-variable): New `access-type' argument.
18289 Only warn if the access-type is obsolete.
18290 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
18291 (byte-compile-variable-set): Adjust callers.
18292 * help-fns.el (describe-variable): Adjust to new obsolescence format.
18293 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
18294 setting it as obsolete.
18295 * simple.el (minibuffer-completing-symbol):
18296 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
18297 access as obsolete.
18298 * minibuffer.el (minibuffer-completing-file-name): Don't make it
18299 obsolete yet.
18300 * international/quail.el (quail-mouse-choose-completion): Remove unused
18301 code referring to obsolete var.
18302 (quail-choose-completion-string): Remove.
18303 * server.el (server-clients-with, server-kill-buffer-query-function)
18304 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
18305 * proced.el (proced-send-signal):
18306 * emacs-lisp/lisp.el (lisp-complete-symbol):
18307 Replace completion-annotate-function with completion-extra-properties.
18308
2462470b
SM
183092011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
18310
fb5b2591
SM
18311 * simple.el (goto-line): Use read-number.
18312 (overriding-map-is-bound): Remove.
18313 (saved-overriding-map): Change default.
18314 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
18315 Take the map as argument.
18316 (universal-argument, negative-argument, digit-argument): Use it.
18317 (restore-overriding-map): Adjust.
18318 (do-auto-fill): Use fill-forward-paragraph.
18319 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
18320
fd6fa53f
SM
18321 * minibuffer.el (minibuffer-inactive-mode-map): New var.
18322 (minibuffer-inactive-mode): New major mode.
18323 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
18324 the *Messages* buffer" hack.
18325 (mouse-popup-menubar): Don't burp if the event is a normal key.
18326
2462470b
SM
18327 Miscellaneous tweaks.
18328 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
18329 lexical scoping as in subr.el's dolist and dotimes.
18330 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
18331 Silence compiler warning.
18332 * thingatpt.el (forward-whitespace): Trivial coding style fix.
18333 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
18334 * international/ccl.el (ccl-compile): Trivial simplification.
18335 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
18336 * emacs-lisp/testcover.el (testcover-end): Remove spurious
18337 `printflag' argument.
18338 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
18339 Purecopy the whole obsolescence data.
18340
108bf785
LL
183412011-06-01 Leo Liu <sdl.web@gmail.com>
18342
18343 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
18344 improve doc-string as suggested by Marco Pessotto
18345 <melmothx@gmail.com>.
18346 (rcirc-print): Fix last change.
18347
30a23501
SM
183482011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
18349
18350 * minibuffer.el (complete-with-action): Return nil for the metadata and
18351 boundaries of non-functional tables.
18352 (completion-table-dynamic): Return nil for the metadata.
18353 (completion-table-with-terminator): Add default case, using
18354 complete-with-action.
18355 (completion--metadata): New function.
18356 (completion-all-sorted-completions, minibuffer-completion-help): Use it
18357 to try and avoid pathological performance problems.
18358 (completion--embedded-envvar-table): Return `category' metadata.
18359
bcd54f83
LMI
183602011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
18361
18362 * subr.el (process-alive-p): New tiny convenience function.
18363
e227544d
SM
183642011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
18365
18366 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
18367 content but also its previous major mode.
18368
e8296fdc
HE
183692011-05-31 Helmut Eller <eller.helmut@gmail.com>
18370
4d61f28d 18371 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
18372 *Backtrace* buffer when we exit with C-M-c.
18373
620c53a6
SM
183742011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
18375
18376 * minibuffer.el: Add metadata method to completion tables.
18377 (completion-category-overrides): New defcustom.
18378 (completion-metadata, completion--field-metadata)
18379 (completion-metadata-get, completion--styles)
18380 (completion--cycle-threshold): New functions.
18381 (completion-try-completion, completion-all-completions):
18382 Add `metadata' argument to choose completion-styles.
18383 (completion--do-completion): Use metadata to choose cycling.
18384 (completion-all-sorted-completions): Use metadata for sorting.
18385 Remove :completion-cycle-penalty which is not needed any more.
18386 (completion--try-word-completion): Add `metadata' argument.
18387 (minibuffer-completion-help): Check metadata for annotation function
18388 and sorting.
18389 (completion-file-name-table): Return `category' metadata.
18390 (minibuffer-completing-file-name): Make obsolete.
18391 * simple.el (minibuffer-completing-symbol): Make obsolete.
18392 * icomplete.el (icomplete-completions): Pass new `metadata' param to
18393 completion-try-completion.
18394
1257e755
SM
183952011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
18396
18397 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
18398
3767e706
LL
183992011-05-30 Leo Liu <sdl.web@gmail.com>
18400
18401 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
18402 (rcirc-print): Decode all incoming messages (bug#8744).
18403 (rcirc-decode-coding-system): Allow value nil for automatic coding
18404 system detection.
3767e706 18405
d1a5d56a
GM
184062011-06-01 Glenn Morris <rgm@gnu.org>
18407
18408 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
18409
e8cbec34
CY
184102011-05-29 Chong Yidong <cyd@stupidchicken.com>
18411
18412 * image.el (image-animate-max-time): Allow nil and t values.
18413 Default to nil.
18414 (create-animated-image): Doc fix.
18415 (image-animate-start): Remove second arg; just use
18416 image-animate-max-time.
18417 (image-animate-timeout): Doc fix. Args changed.
18418
18419 * image-mode.el (image-toggle-display-image): Ensure that the
18420 image spec passed to the animate timer is the same object as in
58179cce 18421 the buffer's display property (Bug#6981).
e8cbec34
CY
18422 (image-transform-properties): Doc fix.
18423
18424 * image.el (image-animate-max-time): Default to nil.
18425
159daf87
MR
184262011-05-29 Martin Rudalics <rudalics@gmx.at>
18427
18428 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
18429 entire buffer list (Bug#8184).
18430
d66c4c7c
CY
184312011-05-29 Chong Yidong <cyd@stupidchicken.com>
18432
18433 * image.el (imagemagick-types-inhibit)
18434 (imagemagick-register-types): Doc fix.
18435
80aec780
DD
184362011-05-29 Deniz Dogan <deniz@dogan.se>
18437
18438 * net/rcirc.el (rcirc): Use the user's stored encryption method by
18439 default.
18440
1dd3c2d9
CY
184412011-05-29 Chong Yidong <cyd@stupidchicken.com>
18442
18443 * select.el: Don't perform clipboard-manager saving in hooks;
18444 leave the hooks empty.
18445
60e56523
LL
184462011-05-28 Leo Liu <sdl.web@gmail.com>
18447
18448 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
18449 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
18450 (occur-edit-mode): New major mode (Bug#8463).
18451 (occur-after-change-function): New function.
18452 (occur-engine): Give Occur tags a read-only property.
18453
2b1e1a22
KR
184542011-05-28 Kevin Ryde <user42@zip.com.au>
18455
18456 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
18457
5d344e88
CY
184582011-05-28 Chong Yidong <cyd@stupidchicken.com>
18459
8e6ca83d
CY
18460 * bindings.el (help-echo): Make the initial non-indicator dash
18461 empty on graphical terminals (Bug#7295).
18462
5d344e88
CY
18463 * files.el (auto-mode-alist): Move config rule after the
18464 in-stripping one (Bug#8547).
18465
bfbbace7
CY
18466 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
18467
fbeba6e2
CY
18468 * startup.el (normal-splash-screen): Remove gratuitous mode-line
18469 setting (Bug#8740).
18470
60ed8c72
AA
184712011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
18472
4ac619f0
AA
18473 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
18474 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
18475 (Bug#8539).
60ed8c72 18476
23db196e
CY
184772011-05-28 Chong Yidong <cyd@stupidchicken.com>
18478
18479 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
18480
5012f24c
DK
184812011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
18482
18483 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
18484 (hs-hide-block-at-point, hs-find-block-beginning)
18485 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
18486 (Bug#8279).
18487
6a639b16
GM
184882011-05-28 Glenn Morris <rgm@gnu.org>
18489
18490 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
18491
d43eaf2c
CY
184922011-05-28 Chong Yidong <cyd@stupidchicken.com>
18493
5199bde1
CY
18494 * help-fns.el (describe-function-1): If the function is a derived
18495 major mode, print the parent mode.
18496
d43eaf2c
CY
18497 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
18498 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
18499
423428a8
SM
185002011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
18501
0ff8e1ba 18502 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 18503 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
18504 * progmodes/etags.el (tags-completion-at-point-function):
18505 * info-look.el (info-lookup-completions-at-point): Mark as
18506 non-exclusive.
18507 (info-complete): Adjust accordingly.
18508
423428a8
SM
18509 * info-look.el: Convert to lexical-binding and completion-at-point.
18510 (info-lookup-completions-at-point): New function.
18511 (info-complete): Use it and completion-in-region.
18512
b74aa22b
DA
185132011-05-28 Drew Adams <drew.adams@oracle.com>
18514
18515 * isearch.el: Let M-e start with point at the first mismatched char.
18516 (isearch-fail-pos): New function.
18517 (isearch-edit-string): Use it.
18518
66e2e71d
DK
185192011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
18520
18521 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
18522
b1890b0f 185232011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
18524
18525 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
18526 traversal functions for avl-trees.
18527 (avl-tree--stack): New struct.
18528 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
18529 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
18530 (avl-tree--do-enter): Add optional `updatefun' arg.
18531 Change return value.
eb95d01d 18532 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
18533 (avl-tree--do-delete): Add `test' and `nilflag' args.
18534 Change return value.
eb95d01d
TC
18535 (avl-tree-member): Add optional `nilflag'
18536 (avl-tree-member-p): New function.
18537 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
18538 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
18539 (avl-tree-stack-empty-p): New functions.
18540
3769ddcf
TC
18541 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
18542 avl-tree--del-balance1 and make it work both ways.
18543 (avl-tree--del-balance2): Remove.
18544 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
18545 make it work both ways.
18546 (avl-tree--enter-balance2): Remove.
18547 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
18548 New macros.
18549 (avl-tree--mapc, avl-tree-map): Add direction argument.
18550
eb95d01d 185512011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
18552
18553 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
18554
a9f737ee
CY
185552011-05-27 Chong Yidong <cyd@stupidchicken.com>
18556
18557 * select.el: Support clipboard managers with built-in function
18558 x-clipboard-manager-save, via delete-frame-functions and
18559 kill-emacs-hook.
18560 (xselect-convert-to-targets): Add MULTIPLE target to list.
18561 (xselect-convert-to-save-targets): New function.
18562
c92a1e54
KH
185632011-05-27 Kenichi Handa <handa@m17n.org>
18564
18565 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
18566 let-binding rfc2047-encode-encoded-words to nil.
18567
e145f188
GM
185682011-05-27 Glenn Morris <rgm@gnu.org>
18569
5ec8a862
GM
18570 * mail/emacsbug.el: Don't require url-util.
18571
4b29d9fb
GM
18572 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
18573
e145f188
GM
18574 * files.el (set-auto-mode):
18575 Also respect mode: entries at the end of the file. (Bug#8586)
18576
7d15102b
GM
185772011-05-26 Glenn Morris <rgm@gnu.org>
18578
98f593b8
GM
18579 * files.el (hack-local-variables-prop-line, hack-local-variables):
18580 Downcase mode names, as seems to be traditional.
27b48e63 18581 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 18582
7d15102b
GM
18583 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
18584 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
18585
51d5b4ec
JD
185862011-05-25 Julien Danjou <julien@danjou.info>
18587
18588 * textmodes/rst.el (rst-define-level-faces): Do not define face
18589 symbol if it is already defined.
18590
91513f63
VB
185912011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
18592
18593 * play/5x5.el (5x5-new-game, 5x5-randomize):
18594 Reset 5x5-solver-output to nil when a new grid is cast.
18595 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
18596 these debugging traces, as defmacro breaks the compiled code.
18597
4d90d6d0
DK
185982011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
18599
18600 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
18601
e1b90ef6
LL
186022011-05-24 Leo Liu <sdl.web@gmail.com>
18603
18604 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
18605 (vc-bzr-sha1): Adapt.
18606
d8e4b68b 18607 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
18608
18609 * bindings.el: Provide sha1 feature.
18610
db0406bb 186112011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
18612
18613 * mail/sendmail.el: Require `rfc2047'.
18614 (mail-insert-from-field): Do not perform RFC2047 encoding.
18615 (mail-encode-header): New function.
18616 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
18617 buffer to the return value of select-message-coding-system.
18618 Call mail-encode-header.
b8d747b9
KH
18619
18620 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
18621
db0406bb 186222011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 18623
4d90d6d0
DK
18624 * mail/supercite.el (sc-default-cite-frame):
18625 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 18626
eb8a5e9b
GM
186272011-05-24 Glenn Morris <rgm@gnu.org>
18628
f8630703
GM
18629 * progmodes/python.el (brm-menu): Declare.
18630
8831bbed
GM
18631 * emulation/viper.el (viper-set-hooks): Declare.
18632
eb8a5e9b
GM
18633 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
18634 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
18635 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
18636 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
18637 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
18638 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
18639
a2a25d24
SM
186402011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
18641
18642 Add an :exit-function for completion-at-point.
18643
18644 * minibuffer.el (completion--done): New fun.
18645 (completion--do-completion): Use it. New arg `expect-exact'.
18646 (minibuffer-complete, minibuffer-complete-word): Don't output message,
18647 since completion--do-completion does it for us now.
18648 (minibuffer-force-complete): Use completion--done and
18649 completion--replace. Handle sole-completion case with more care.
18650 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
18651 (completion-extra-properties): New var.
18652 (completion-annotate-function): Make obsolete.
18653 (minibuffer-completion-help): Adjust accordingly.
18654 Use completion-list-insert-choice-function.
18655 (completion-at-point, completion-help-at-point):
18656 Bind completion-extra-properties.
18657 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
18658 * simple.el (completion-list-insert-choice-function): New var.
18659 (completion-setup-function): Preserve it.
18660 (choose-completion): Pay attention to it, shuffle the code a bit.
18661 (choose-completion-string): New arg `insert-function'.
18662
18663 * textmodes/bibtex.el: Convert to lexical binding.
18664 (bibtex-mode-map): Use completion-at-point.
18665 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
18666 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
18667 (bibtex-complete): Define as obsolete alias.
18668 (bibtex-complete-internal): Remove.
18669 (bibtex-format-entry): Remove unused sub-group in regexp.
18670 * shell.el (shell--command-completion-data)
18671 (shell-environment-variable-completion):
18672 * pcomplete.el (pcomplete-completions-at-point):
18673 * comint.el (comint--complete-file-name-data): Use :exit-function
18674 instead of completion-table-with-terminator so it also works for
18675 choose-completion.
18676
e44e373d
SM
186772011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
18678
4f91a816
SM
18679 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
18680
782fc819
SM
18681 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
18682 (bug#8710).
18683
e44e373d
SM
18684 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
18685
381987c3
KM
186862011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
18687
18688 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
18689 customization variable and implement: If non-nil, auto-fill will
18690 be inhibited while on topic's header line.
18691
b776bc70
VB
186922011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
18693
18694 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 18695 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
18696 always have a solution in grid size = 5 cases.
18697 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
18698 (5x5-solver-output, 5x5-log-buffer): New vars.
18699 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
18700 Make these variables buffer local to achieve 5x5 multi-session-ness.
18701 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
18702 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
18703 (5x5-solve-suggest): New funs.
18704 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
18705 randomize a grid so that we ensure that there is always a solution.
18706 (5x5-make-random-grid): Allow other movement than flipping.
18707
7de88b6e
KR
187082011-05-23 Kevin Ryde <user42@zip.com.au>
18709
18710 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 18711 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
18712 advice and passes PREDICATE.
18713
b1ef1257
SM
187142011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
18715
bbca48fe
SM
18716 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
18717 byte-compile-lambda if it's actually a lambda.
18718
b1ef1257
SM
18719 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
18720 Fix function quoting. Use backquote better.
18721
92a9cc65
YS
187222011-05-22 Yuanle Song <sylecn@gmail.com>
18723
18724 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
18725 matching (Bug#8516).
18726
f0fb8059
JA
187272011-01-22 Jari Aalto <jari.aalto@cante.net>
18728
18729 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
18730 different face (Bug#8178).
18731
d5b44c93
CY
187322011-05-22 Chong Yidong <cyd@stupidchicken.com>
18733
18734 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
18735 defface (Bug#8144).
18736
79106a44
SM
187372011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
18738
9c848d8a
SM
18739 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
18740 funcall as well (bug#8712). Warn when performing those conversions.
18741 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
18742
79106a44
SM
18743 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
18744
88dfa756
GM
187452011-05-22 Glenn Morris <rgm@gnu.org>
18746
18747 * files.el (hack-local-variables-prop-line): Small simplifications.
18748 (hack-local-variables, hack-local-variables-prop-line):
18749 If MODE-ONLY, return the mode, rather than just `t'.
18750
b7cf2c79
SM
187512011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
18752
18753 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
18754
3f1a8558
GM
187552011-05-21 Glenn Morris <rgm@gnu.org>
18756
7e4ccca3
GM
18757 * files.el (hack-local-variables-prop-line, hack-local-variables):
18758 If only interested in the mode, don't bother doing the other stuff.
18759
637d46ca
GM
18760 * image-mode.el (image-after-revert-hook):
18761 Redraw all frames on which the image is visible. (Bug#8567)
18762
973d955b
GM
18763 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
18764
3f1a8558
GM
18765 * wid-edit.el (widget-checklist-match-inline):
18766 Fix 2011-04-19 change. (Bug#8649)
18767
96479927
SM
187682011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
18769
1dcf791f
SM
18770 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
18771 Also allow singlespace after single-letter capitals followed by a dot.
18772
96479927
SM
18773 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
18774 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
18775
35fd0881
N
187762011-05-20 Nix <nix@esperi.org.uk>
18777
18778 * files.el (basic-save-buffer-2):
18779 Fix handling of break-hardlink-on-save with non-existent files.
18780
82745640
DD
187812011-05-19 Deniz Dogan <deniz@dogan.se>
18782
18783 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 18784 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 18785
4a720484
GM
187862011-05-19 Glenn Morris <rgm@gnu.org>
18787
d1f21341
GM
18788 * progmodes/f90.el (f90-type-def-re):
18789 Handle "type, bind(c)". (Bug#8691)
18790
4a720484
GM
18791 * emacs-lisp/autoload.el (batch-update-autoloads):
18792 Set autoload-excludes by parsing loadup.el rather than Makefiles.
18793
2fb0a219
MA
187942011-05-18 Michael Albinus <michael.albinus@gmx.de>
18795
18796 * net/tramp.el (tramp-process-actions): Set "first-password-request"
18797 property for the correct connection in case of multihops.
18798
e565dd37
GM
187992011-05-18 Glenn Morris <rgm@gnu.org>
18800
c2571358 18801 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
18802 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
18803
e565dd37
GM
18804 Rationalize calendar handling of day and month abbrev-arrays.
18805 * calendar/calendar.el (calendar-customized-p): New function.
18806 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
18807 (calendar-day-name-array, calendar-month-name-array): Doc fix.
18808 Add :set function.
18809 (calendar-abbrev-length, calendar-day-abbrev-array)
18810 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
18811 (calendar-day-abbrev-array, calendar-month-abbrev-array):
18812 Elements may no longer be nil.
18813 (calendar-day-name, calendar-month-name):
18814 Update for changed nature of abbrev arrays.
18815 * calendar/diary-lib.el (diary-name-pattern):
18816 Update for changed nature of abbrev arrays.
18817 (diary-mark-entries-1): Update calendar-make-alist calls.
18818 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
18819 * calendar/cal-html.el (cal-html-day-abbrev-array):
18820 Simply inherit from calendar-day-abbrev-array.
18821
1d99a745
SM
188222011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
18823
18824 * progmodes/grep.el (grep-mode): Disable default
18825 compilation-directory-matcher setting (bug#8684).
18826
7c1d9aa0
MA
188272011-05-17 Michael Albinus <michael.albinus@gmx.de>
18828
18829 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
18830 instead of "head" and "tail". There were problems with SunOS 5.9,
18831 and it performs better.
18832
3952e9d8
GM
188332011-05-17 Glenn Morris <rgm@gnu.org>
18834
2dd12e7f
GM
18835 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
18836
e4157b9c
GM
18837 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
18838 Replace obsolete function.
18839
8e249bbd
GM
18840 * shell.el (pcomplete-parse-arguments-function): Declare.
18841
3952e9d8
GM
18842 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
18843 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
18844 (appt-check): Doc fixes.
18845 (appt-disp-window-function, appt-delete-window-function):
18846 Remove needless special case in custom :type.
18847 (appt-display-count): Default to 0, not nil.
18848 (appt-check): Reset appt-display-count to 0, not nil.
18849
c71a0d48 188502011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 18851
c71a0d48
GM
18852 * progmodes/python.el (python-font-lock-keywords):
18853 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 18854
31d55be9
SM
188552011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
18856
18857 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
18858
3bfacb2f
KR
188592011-05-16 Kevin Ryde <user42@zip.com.au>
18860
18861 * info-look.el (makefile-automake-mode): New setups, looking in
18862 automake manual, then makefile-mode.
18863 (makefile-mode): Remove automake manual, have it just in
18864 makefile-automake-mode since there's various things different or
18865 not relevant to plain make.
18866 (makefile-mode): Remove "other-modes" non-existent automake-mode,
18867 believe a hypothetical automake-mode would go to makefile-mode,
18868 not the other way around.
18869
c8e83751
CY
188702011-05-15 Chong Yidong <cyd@stupidchicken.com>
18871
5e9e35cd
CY
18872 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
18873 hunk-end tags (Bug#8672).
18874
c8e83751
CY
18875 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
18876 vc-annotate-show-diff-revision-at-line (Bug#8671).
18877
50b23e5a
GM
188782011-05-14 Glenn Morris <rgm@gnu.org>
18879
7210a739
GM
18880 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
18881 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
18882 (change-log-font-lock-keywords): Also handle multiple author lines
18883 with leading tabs. (Bug#8644)
7210a739 18884
4691905a
GM
18885 * calendar/appt.el (appt-check): Rename some local variables.
18886 Some simplification/reordering.
18887
50b23e5a
GM
18888 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
18889 (feedmail-sendmail-f-doesnt-sell-me-out)
18890 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
18891 (feedmail-debug-sit-for, feedmail-queue-express-hook)
18892 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
18893 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
18894 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
18895 (feedmail-binmail-gnulinuxish-template):
18896 Rename from feedmail-binmail-linuxish-template.
18897 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
18898 Use insert-buffer-substring.
18899
215cda7c
BC
189002011-05-14 Bill Carpenter <bill@carpenter.org>
18901
18902 * mail/feedmail.el (feedmail-patch-level): Increase.
18903 (feedmail-debug): New custom group.
18904 (feedmail-confirm-outgoing-timeout)
18905 (feedmail-sendmail-f-doesnt-sell-me-out)
18906 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
18907 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
18908 (feedmail-sender-line, feedmail-from-line)
18909 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 18910 (feedmail-spray-this-address)
215cda7c
BC
18911 (feedmail-spray-address-fiddle-plex-list)
18912 (feedmail-queue-use-send-time-for-date)
18913 (feedmail-queue-use-send-time-for-message-id)
18914 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
18915 (feedmail-buffer-eating-function):
18916 Doc fixes.
18917 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
18918 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
18919 (feedmail-message-action-scroll-down): New functions.
18920 (feedmail-queue-directory, feedmail-queue-draft-directory):
18921 Use expand-file-name.
18922 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
18923 Remove C-v help entry.
18924 (feedmail-queue-buffer-file-name): New variable.
18925 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
18926 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
18927 (feedmail-message-action-send-strong, feedmail-message-action-edit)
18928 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
18929 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
18930 (feedmail-message-action-toggle-spray)
18931 (feedmail-run-the-queue-no-prompts)
18932 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
18933 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
18934 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
18935 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
18936 (feedmail-envelope-deducer, feedmail-fiddle-from)
18937 (feedmail-fiddle-sender, feedmail-default-date-generator)
18938 (feedmail-fiddle-date, feedmail-fiddle-message-id)
18939 (feedmail-fiddle-spray-address)
18940 (feedmail-fiddle-list-of-spray-fiddle-plexes)
18941 (feedmail-fiddle-list-of-fiddle-plexes)
18942 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
18943 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
18944 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
18945 Change default. Doc fix.
18946 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
18947 (feedmail-binmail-linuxish-template): New constant.
18948 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
18949 Respect feedmail-sendmail-f-doesnt-sell-me-out.
18950 (feedmail-send-it): Add debug call.
18951 Use feedmail-queue-buffer-file-name, and
18952 feedmail-send-it-immediately-wrapper.
18953 (feedmail-message-action-send): Add debug call.
18954 Use feedmail-send-it-immediately-wrapper.
18955 (feedmail-queue-express-to-queue): Add debug call.
18956 Run feedmail-queue-express-hook.
18957 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
18958 (feedmail-message-action-help-blat):
18959 Rename from feedmail-queue-send-edit-prompt-help-first.
18960 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
18961 Check line-endings. Handle errors better.
18962 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
18963 Doc fix. Add debug call.
18964 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
18965 Use feedmail-queue-send-edit-prompt-inner.
18966 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
18967 (feedmail-queue-send-edit-prompt-inner): New function, extracted
18968 from feedmail-queue-send-edit-prompt.
18969 (feedmail-queue-send-edit-prompt-help)
18970 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
18971 (feedmail-tidy-up-slug): Add debug call.
18972 Respect feedmail-queue-slug-suspect-regexp.
18973 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
18974 (feedmail-dump-message-to-queue): Add debug call.
18975 Expand queue-directory.
18976 (feedmail-dump-message-to-queue): Change message slightly.
18977 Use feedmail-say-chatter.
18978 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
18979 (feedmail-send-it-immediately-wrapper): New function.
18980 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
18981 Insert empty string rather than newline. Handle full-frame case.
18982 Use catch/throw. Use feedmail-say-chatter.
18983 (feedmail-fiddle-from): Try mail-host-address.
18984 (feedmail-default-message-id-generator): Doc fix.
18985 Bind system-time-locale. Handle missing end.
18986 (feedmail-fiddle-x-mailer): Add debug call.
18987 Handle feedmail-x-mailer-line being nil.
18988 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
18989 Add debug call. Use buffer-substring-no-properties.
18990 (feedmail-say-debug, feedmail-say-chatter): New functions.
18991 (feedmail-find-eoh): Give an explicit error.
18992
42c7e61e
UJ
189932011-05-13 Ulf Jasper <ulf.jasper@web.de>
18994
c2571358 18995 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 18996 family from helvetica to sans.
c2571358 18997 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
18998 etc/images/newsticker.
18999
c2571358 19000 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
19001 family from helvetica to sans.
19002
19003 * net/newst-plainview.el (newsticker-new-item-face)
19004 (newsticker-old-item-face, newsticker-immortal-item-face)
19005 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 19006 (newsticker-statistics-face): Change default family from
42c7e61e 19007 helvetica to sans.
c2571358 19008 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
19009 etc/images/newsticker.
19010
5d3385a0
JB
19011 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
19012 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
19013 auto-marking.
19014
8497a297
DV
190152011-05-13 Didier Verna <didier@xemacs.org>
19016
19017 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
19018 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
19019 TODO entries.
8497a297
DV
19020 (lisp-lambda-list-keyword-parameter-indentation)
19021 (lisp-lambda-list-keyword-parameter-alignment)
19022 (lisp-lambda-list-keyword-alignment): New customizable user options.
19023 (lisp-indent-defun-method): Improve docstring.
19024 (extended-loop-p): Fix comment.
19025 (lisp-indent-lambda-list-keywords-regexp): New variable.
19026 (lisp-indent-lambda-list): New function.
19027 (lisp-indent-259): Use it.
19028 (lisp-indent-defmethod): Support for more than one
19029 method qualifier and properly indent methods lambda-lists.
19030 (defgeneric): Provide a missing common-lisp-indent-function property.
19031
f278f87f
SM
190322011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
19033
19034 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
19035 bounds for the empty string (bug#8667).
19036
5233edd7
GM
190372011-05-13 Glenn Morris <rgm@gnu.org>
19038
5237a44f
GM
19039 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
19040
8340026c 19041 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 19042 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 19043
5233edd7 19044 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 19045 (appt-time-msg-list): Doc fix.
a5464014 19046 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 19047
92d10796
AS
190482011-05-12 Andreas Schwab <schwab@linux-m68k.org>
19049
19050 * progmodes/ld-script.el (ld-script-keywords)
19051 (ld-script-builtins): Update keywords list.
19052
914a0ae1
SM
190532011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
19054
c89be45f
SM
19055 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
19056
914a0ae1
SM
19057 * shell.el (shell-completion-vars): New function.
19058 (shell-mode):
19059 * simple.el (read-shell-command): Use it.
19060 (blink-matching-open): No need for " [...]" in minibuffer-message.
19061
98dc3df3
GM
190622011-05-12 Glenn Morris <rgm@gnu.org>
19063
19064 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
19065 (appt-check): Simplify.
19066
d2fc7e3d 190672011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 19068
4d61f28d 19069 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
19070 literal "/dev/null".
19071
d2fc7e3d 190722011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
19073
19074 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
19075 Fix typo.
19076
d2fc7e3d 190772011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 19078
3f254caa
SM
19079 * progmodes/which-func.el (which-function):
19080 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
19081 which might not be defined (Bug#8260).
19082
d45885f7
GM
190832011-05-12 Glenn Morris <rgm@gnu.org>
19084
19085 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
19086 Let byte-compile-initial-macro-environment always take precedence.
19087
488086f4
SM
190882011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
19089
19090 * net/rcirc.el: Add support for SSL/TLS connections.
19091 (rcirc-server-alist): New field `encryption'.
19092 (rcirc): Check `encryption' settings.
19093 (rcirc-connect): New arg `encryption'. Use open-network-stream.
19094 Merge make-local-variable into `set'.
19095 (rcirc--connection-open-p): New function.
19096 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
19097 the process is not a network process (e.g. running gnutls-cli).
19098 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
19099 Make rcirc-(en|de)code-coding-system local here.
19100 (rcirc-mode): Merge make-local-variable into `set'.
19101 (rcirc-parent-buffer): Make permanent buffer-local.
19102 (rcirc-multiline-minor-mode): Don't do it here.
19103 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
19104 there's no server buffer.
19105
7d3b9d44
GM
191062011-05-11 Glenn Morris <rgm@gnu.org>
19107
f64049c6
GM
19108 * newcomment.el (comment-kill): Prefix "unused" local.
19109
93c9df73
GM
19110 * term/w32console.el (get-screen-color): Declare.
19111
7d3b9d44
GM
19112 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
19113 Handle symbol elements of byte-compile-initial-macro-environment.
19114
9e2dd53f
LL
191152011-05-10 Leo Liu <sdl.web@gmail.com>
19116
488086f4
SM
19117 * bookmark.el (bookmark-bmenu-mode-map):
19118 Bind bookmark-bmenu-search to `/'.
8b340240 19119
9e2dd53f 19120 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
19121 (footnote-unicode-string, footnote-unicode-regexp): New variable.
19122 (Footnote-unicode): New function.
19123 (footnote-style-alist): Add unicode style to the list.
19124 (footnote-style): Doc fix.
9e2dd53f 19125
79b70037
GM
191262011-05-10 Jim Meyering <meyering@redhat.com>
19127
19128 Fix doubled-word typos.
19129 * international/quail.el (quail-insert-kbd-layout): and and -> and
19130 * kermit.el: and and -> and
19131 * net/ldap.el (ldap-search-internal): to to -> to
19132 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
19133 * progmodes/js.el (js-mode): and and -> and
19134 * textmodes/artist.el (artist-move-to-xy): at at -> at
19135 (artist-draw-region-trim-line-endings): if if -> if
19136 And Safetyc -> Safety.
19137 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
19138
b8f82dc1 191392011-05-10 Glenn Morris <rgm@gnu.org>
f1a71c6e 19140 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
19141
19142 * files.el (hack-one-local-variable-eval-safep):
19143 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
19144
4f99f44b
GM
191452011-05-10 Glenn Morris <rgm@gnu.org>
19146
19147 * calendar/diary-lib.el (diary-list-entries-hook)
19148 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
19149 (diary-nongregorian-marking-hook, diary-list-entries)
19150 (diary-include-other-diary-files, diary-mark-entries)
19151 (diary-mark-included-diary-files): Doc fixes.
19152
84f29e6b
JB
191532011-05-09 Juanma Barranquero <lekktu@gmail.com>
19154
19155 * misc.el: Require tabulated-list.el during compilation.
19156
9bedd73a
CY
191572011-05-09 Chong Yidong <cyd@stupidchicken.com>
19158
488086f4
SM
19159 * progmodes/compile.el (compilation-start):
19160 Run compilation-filter-hook for the async case too.
9bedd73a
CY
19161 (compilation-filter-hook): Doc fix.
19162
797c735c
DD
191632011-05-09 Deniz Dogan <deniz@dogan.se>
19164
19165 * wdired.el: Remove outdated installation comment. Fix usage
19166 comment.
19167
5f4b1dfe
JB
191682011-05-09 Juanma Barranquero <lekktu@gmail.com>
19169
19170 * misc.el: Implement new command `list-dynamic-libraries'.
19171 (list-dynamic-libraries--loaded-only-p): New variable.
19172 (list-dynamic-libraries--refresh): New function.
19173 (list-dynamic-libraries): New command.
19174
4c44026c
CY
191752011-05-09 Chong Yidong <cyd@stupidchicken.com>
19176
488086f4
SM
19177 * progmodes/compile.el (compilation-error-regexp-alist-alist):
19178 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
19179 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
19180 higher priority to avoid clobbering by gnu.
19181
027f966d
CY
191822011-05-08 Chong Yidong <cyd@stupidchicken.com>
19183
19184 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
19185 if the face has existing theme settings (Bug#8454).
19186
085f5d7d
CY
191872011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
19188
488086f4
SM
19189 * progmodes/perl-mode.el (perl-imenu-generic-expression):
19190 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 19191
2a86a00c
RS
19192 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
19193 special file names `.' and `..' (Bug#8259).
19194
d9c54a06
CY
191952011-05-08 Chong Yidong <cyd@stupidchicken.com>
19196
488086f4
SM
19197 * progmodes/grep.el (grep-mode-font-lock-keywords):
19198 Remove buffer-changing entries.
d9c54a06
CY
19199 (grep-filter): New function.
19200 (grep-mode): Add it to compilation-filter-hook.
19201
19202 * progmodes/compile.el (compilation-filter-hook)
19203 (compilation-filter-start): New defvars.
19204 (compilation-filter): Call compilation-filter-hook prior to
19205 updating the process mark.
19206
c4662635
SM
192072011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
19208
19209 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
19210
b0512a1d
EZ
192112011-05-07 Eli Zaretskii <eliz@gnu.org>
19212
605c9376
EZ
19213 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
19214 mailclient-send-it even if window-system is nil. (Bug#8595)
19215
c4662635
SM
19216 * term/w32console.el (terminal-init-w32console):
19217 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
19218 background-mode. (Bug#8597)
19219
d1dc2cc2
SM
192202011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
19221
19222 Make bytecomp.el understand that defmethod defines funs (bug#8631).
19223 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
19224 New functions.
19225 (defgeneric, eieio--defmethod): Use them.
19226 (eieio-defgeneric): Remove.
19227 (defmethod): Call defgeneric in a way visible to the byte-compiler.
19228
915d1300
GM
192292011-05-07 Glenn Morris <rgm@gnu.org>
19230
a3961c3e
GM
19231 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
19232 Use let rather than let*.
19233 (timeclock-find-discrep): Remove unused local.
19234
314347b9
GM
19235 * calendar/diary-lib.el (diary-comment-start): Doc fix.
19236
915d1300
GM
19237 * calendar/appt.el (appt-time-msg-list): Doc fix.
19238
275b59b0
NF
192392011-05-06 Noah Friedman <friedman@splode.com>
19240
19241 * apropos.el (apropos-print-doc): Only use
19242 emacs-lisp-docstring-fill-column when it is bound to an integer,
19243 per that variable's documentation.
19244
6c19f744
SM
192452011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
19246
19247 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 19248 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 19249
60f884b2
GM
192502011-05-06 Glenn Morris <rgm@gnu.org>
19251
5006e634
GM
19252 * calendar/appt.el (appt-message-warning-time): Doc fix.
19253 (appt-warning-time-regexp): New option.
19254 (appt-make-list): Respect appt-message-warning-time.
19255
548d0a63
GM
19256 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
19257 New options.
19258 (diary-add-to-list): Strip comments from the displayed string.
19259 (diary-mode): Set comment-start and comment-end.
19260
60f884b2
GM
19261 * vc/diff-mode.el (smerge-refine-subst): Declare.
19262 (diff-refine-hunk): Don't require smerge-mode when compiling.
19263
989681bb
JB
192642011-05-06 Juanma Barranquero <lekktu@gmail.com>
19265
19266 * simple.el (list-processes): Return nil as the docstring says.
19267
a6bc05e1
MA
192682011-05-05 Michael Albinus <michael.albinus@gmx.de>
19269
19270 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
19271 to "".
19272 (ange-ftp-write-region, ange-ftp-insert-file-contents)
19273 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
19274 determining of binary transfer. (Bug#7383)
19275
23c22e9a
MA
192762011-05-05 Michael Albinus <michael.albinus@gmx.de>
19277
c4662635
SM
19278 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
19279 Fix port computation bug. (Bug#8618)
23c22e9a 19280
0bff894f
GM
192812011-05-05 Glenn Morris <rgm@gnu.org>
19282
b8296902
GM
19283 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
19284
1f522ce8
GM
19285 * simple.el (shell-dynamic-complete-functions)
19286 (comint-dynamic-complete-functions): Declare.
19287
cf5bee67
GM
19288 * net/network-stream.el (gnutls-negotiate):
19289 * simple.el (tabulated-list-print): Fix declarations.
19290
19291 * progmodes/gud.el (syntax-symbol, syntax-point):
19292 Remove unnecessary and incorrect declarations.
19293
0bff894f 19294 * emacs-lisp/check-declare.el (check-declare-scan):
1f9f395d 19295 Handle byte-compile-initial-macro-environment in bytecomp.el.
0bff894f 19296
9869b3ae
SM
192972011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
19298
19299 Fix earlier half-done eieio-defmethod change (bug#8338).
19300 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
19301 Streamline and change calling convention.
19302 (defmethod): Adjust accordingly and simplify.
19303 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
19304 new eieio--defmethod.
19305 (slot-boundp): Minor CSE simplification.
19306
9c1d5ac5
MZ
193072011-05-05 Milan Zamazal <pdm@zamazal.org>
19308
19309 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
19310 (glasses-make-readable): Use glasses-separate-capital-groups.
19311
455c834e
JB
193122011-05-05 Juanma Barranquero <lekktu@gmail.com>
19313
19314 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
19315 (warning-series): Doc fix.
19316 (display-warning): Don't try to create the buffer if we just found it.
19317
9ed7c8cb
CY
193182011-05-04 Chong Yidong <cyd@stupidchicken.com>
19319
19320 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
19321 (autoload-find-generated-file): New function.
19322 (generate-file-autoloads): Bind generated-autoload-file to
19323 buffer-file-name.
9869b3ae
SM
19324 (update-file-autoloads, update-directory-autoloads):
19325 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
19326 output file (Bug#7989).
19327 (batch-update-autoloads): Doc fix.
19328
0898ca10
JB
193292011-05-04 Juanma Barranquero <lekktu@gmail.com>
19330
19331 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
19332
31dfb76c
GM
193332011-05-04 Glenn Morris <rgm@gnu.org>
19334
f330b642
GM
19335 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
19336 function, so it follows changes in calendar-date-style.
19337 (diary-fancy-date-matcher): New function.
19338 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
19339 (diary-fancy-font-lock-fontify-region-function):
19340 Use diary-fancy-date-pattern as a function.
19341
31dfb76c
GM
19342 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
19343 non-numbers for `year' etc pseudo-variables. (Bug#8583)
19344
48e79d6a
TZ
193452011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
19346
19347 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
19348 instead of positional arguments. Allow :keylist and :crlfiles
19349 arguments.
19350 (open-gnutls-stream): Call it.
19351
19352 * net/network-stream.el (network-stream-open-starttls): Adjust to
19353 call `gnutls-negotiate' with :process and :hostname arguments.
19354
dd5a5ee0
SM
193552011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
19356
ef80fc09
SM
19357 * minibuffer.el (completion--message): New function.
19358 (completion--do-completion, minibuffer-complete)
19359 (minibuffer-force-complete, minibuffer-complete-word): Use it.
19360 (completion--do-completion): Don't ignore completion-auto-help when in
19361 icomplete-mode.
19362
dd5a5ee0
SM
19363 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
19364 internal encoding (e.g. tibetan zero is not whitespace).
19365 (global-whitespace-mode): Prefer save-current-buffer.
19366 (whitespace-trailing-regexp): Remove useless save-match-data.
19367 (whitespace-empty-at-bob-regexp): Minor simplification.
19368
b7d22a83
CY
193692011-05-03 Chong Yidong <cyd@stupidchicken.com>
19370
19371 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
19372
5192af46
AM
193732011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
19374
19375 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 19376 Use `concat' to create string for insertion.
5192af46 19377
5767d190
SM
193782011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
19379
19380 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
19381 Avoid open-line which runs post-self-insert-hook.
19382 (bibtex-fill-entry): Remove unused `end' var.
19383
bf242939
AM
193842011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
19385
5767d190
SM
19386 * textmodes/ispell.el (ispell-add-per-file-word-list):
19387 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 19388
25666126
LL
193892011-05-03 Leo Liu <sdl.web@gmail.com>
19390
19391 * isearch.el (isearch-yank-pop): New command.
5767d190 19392 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
19393 (isearch-forward): Mention it.
19394
52d3c2d0
SM
193952011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
19396
1bcace58
SM
19397 * simple.el (minibuffer-complete-shell-command): Remove.
19398 (minibuffer-local-shell-command-map): Use completion-at-point.
19399 (read-shell-command): Setup completion vars here instead.
19400 (read-expression-map): Bind TAB to symbol completion.
19401
52d3c2d0
SM
19402 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
19403 error directly rather via storing it into `results'.
19404
35813471
LL
194052011-05-02 Leo Liu <sdl.web@gmail.com>
19406
19407 * vc/diff.el: Fix description.
19408
e793a940
LMI
194092011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
19410
19411 * server.el (server-eval-at): New function.
19412
8de66e05
LMI
194132011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
19414
19415 * net/network-stream.el (open-network-stream): Take a :nowait
19416 parameter and pass it on to `make-network-process'.
19417 (network-stream-open-plain): Ditto.
19418
dcb79f20
AS
194192011-04-30 Andreas Schwab <schwab@linux-m68k.org>
19420
19421 * faces.el (face-spec-set-match-display): Don't match toolkit
19422 options on terminal frames.
19423
14a7fbd8
SM
194242011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
19425
7eabc1be
SM
19426 * progmodes/pascal.el: Use lexical binding.
19427 (pascal-mode-map): Remove author preferences.
19428
14a7fbd8
SM
19429 * pcomplete.el (pcomplete-std-complete): Don't abuse
19430 completion-at-point.
19431
50f84510
JB
194322011-04-28 Juanma Barranquero <lekktu@gmail.com>
19433
6e087a44
JB
19434 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
19435 removing code that has been dead since 1991 or so.
19436
50f84510
JB
19437 * startup.el (command-line): When warning about "_emacs", use a
19438 delayed warning to allow the user to filter it out.
19439
0ba690bd
DD
194402011-04-28 Deniz Dogan <deniz@dogan.se>
19441
19442 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
19443 user has not joined.
19444
08abfaad
SM
194452011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
19446
19447 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
19448 aren't any completions at point.
19449
638f053a
JB
194502011-04-28 Juanma Barranquero <lekktu@gmail.com>
19451
19452 * subr.el (display-delayed-warnings): New function.
19453 (delayed-warnings-hook): New variable.
19454
8fff8daa
SM
194552011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
19456
08abfaad
SM
19457 * minibuffer.el (completion-at-point, completion-help-at-point):
19458 Don't presume that a given completion-at-point-function will always
19459 use the same calling convention.
19460
8fff8daa
SM
19461 * pcomplete.el (pcomplete-completions-at-point):
19462 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
19463 pcomplete-seen is non-nil.
19464 (pcomplete-comint-setup): Also recognize the new comint/shell
19465 completion functions.
19466 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
19467 pcomplete-seen is non-nil.
19468
841a1577 194692011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 19470
841a1577 19471 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 19472 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 19473 the first character in the entry. This allows for code to add its
211ec907
UJ
19474 own uid to the entry.
19475 (icalendar--convert-float-to-ical): Add export of
19476 `diary-float'-entries save for those with the optional DAY
19477 argument.
19478
2a782793
DC
194792011-04-27 Daniel Colascione <dan.colascione@gmail.com>
19480
19481 * subr.el (shell-quote-argument): Use alternate escaping strategy
19482 when we spot a variable reference in a string.
19483
0438ce91
DC
194842011-04-26 Daniel Colascione <dan.colascione@gmail.com>
19485
19486 * cus-start.el (all): Define customization for debug-on-event.
19487
841a1577 194882011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
19489
19490 * subr.el (shell-quote-argument): Escape correctly under Windows.
19491
d090ed6c
SM
194922011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
19493
19494 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
19495
bfd31217
MA
194962011-04-25 Michael Albinus <michael.albinus@gmx.de>
19497
d090ed6c
SM
19498 * net/tramp.el (tramp-process-actions): Add POS argument.
19499 Delete region between POS and (pos).
bfd31217 19500
d090ed6c
SM
19501 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
19502 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
19503 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
19504
19505 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
19506 position in `tramp-process-actions' call.
19507
19508 * net/trampver.el: Update release number.
19509
e92f3bd3
SM
195102011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
19511
850256b5
SM
19512 * custom.el (defcustom): Obey lexical-binding.
19513
e92f3bd3
SM
19514 Fix octave-inf completion problems reported by Alexander Klimov.
19515 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
19516 Inherit from octave-mode-syntax-table.
19517 (inferior-octave-mode): Set info-lookup-mode.
19518 (inferior-octave-completion-at-point): New function.
19519 (inferior-octave-complete): Use it and completion-in-region.
19520 (inferior-octave-dynamic-complete-functions): Use it as well, and use
19521 comint-filename-completion.
19522 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
19523 symbol elements which shouldn't be word elements.
19524 (octave-font-lock-keywords, octave-beginning-of-defun)
19525 (octave-function-header-regexp): Adjust regexps accordingly.
19526 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
19527
cd22b309
JB
195282011-04-25 Juanma Barranquero <lekktu@gmail.com>
19529
19530 * net/gnutls.el (gnutls-errorp): Declare before first use.
19531
8b492194
TZ
195322011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
19533
19534 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
19535 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 19536 default trustfile exists before going to use it. Add missing
5a5fa834 19537 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
19538 Reported by Claudio Bley <claudio.bley@gmail.com>.
19539 (open-gnutls-stream): Add usage example.
19540
19541 * net/network-stream.el (network-stream-open-starttls): Give host
19542 parameter to `gnutls-negotiate'.
19543 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 19544 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 19545
841a1577 195462011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 19547
cd22b309
JB
19548 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
19549 Use correct match group (bug#8438).
05842630 19550
3ba7869c
CY
195512011-04-24 Chong Yidong <cyd@stupidchicken.com>
19552
512e3ae1
CY
19553 * emacs-lisp/package.el (package-built-in-p): Fix typo.
19554 (package-menu--generate): New arg specifying packages to show.
19555 (package-menu-refresh, package-menu-execute, list-packages):
19556 Callers changed.
19557 (package-show-package-list): New function, replacing deleted
19558 package--list-packages (renamed because it is non-internal).
19559
19560 * finder.el (finder-list-matches): Use package-show-package-list
19561 instead of deleted package--list-packages.
19562
e92f3bd3
SM
19563 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
19564 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
19565 (vc-annotate-mode-map): Bind it to RET.
19566
7031be6d
UR
195672011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
19568
19569 * progmodes/etags.el (next-file): Don't use set-buffer to change
19570 buffers (Bug#8478).
19571
4ef177aa
CY
195722011-04-24 Chong Yidong <cyd@stupidchicken.com>
19573
c8d173eb
CY
19574 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
19575
4ef177aa
CY
19576 * apropos.el (apropos-label-face): Avoid variable-pitch face.
19577 (apropos-accumulator): Doc fix.
19578 (apropos-function, apropos-macro, apropos-command)
19579 (apropos-variable, apropos-face, apropos-group, apropos-widget)
19580 (apropos-plist): Add face property.
19581 (apropos-symbols-internal): Fix indentation.
19582 (apropos-print): Simplify help, and recognize apropos-multi-type.
19583 (apropos-print-doc): Use button-type-get to extract the button's
19584 face property. Fill docstring (Bug#8352).
19585
4ffd0d6b 195862011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
19587
19588 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
19589
c6c32125 19590 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 19591 (mpuz-mode-map): Use mapc.
c6c32125
JB
19592 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
19593 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
19594 Fix typos in docstrings.
19595
58d468b4
JB
19596 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
19597 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
19598
6470c3c6
JB
19599 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
19600
4ffd0d6b 196012011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
19602
19603 * minibuffer.el (completion--do-completion): Avoid the "Next char
19604 not unique" prompt if icomplete-mode is enabled (Bug#5849).
19605
3ad8bad0
CY
19606 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
19607 mouse-2 into unread-command-events, it is interpreted correctly.
19608
71d73c9c 19609 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 19610 (image-toggle-display): Doc fix.
71d73c9c 19611
841a1577 196122011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 19613
4ffd0d6b
GM
19614 * textmodes/page.el (what-page): Use line-number-at-pos to
19615 calculate line number (Bug#6825).
6e1dbaa9 19616
c2fb1b60
JB
196172011-04-22 Juanma Barranquero <lekktu@gmail.com>
19618
19619 * eshell/esh-mode.el (find-tag-interactive): Declare function.
19620 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
19621 Pass argument NO-DEFAULT to `find-tag-interactive'.
19622
e02f48d7
JB
196232011-04-22 Juanma Barranquero <lekktu@gmail.com>
19624
19625 Lexical-binding cleanup.
19626
19627 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
19628 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
19629 * progmodes/ada-prj.el (ada-prj-initialize-values)
19630 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
19631 (ada-prj-show-value):
19632 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
19633 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
19634 (antlr-invalidate-context-cache, antlr-options-menu-filter)
19635 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
19636 * progmodes/bug-reference.el (bug-reference-push-button):
19637 * progmodes/fortran.el (fortran-line-length):
19638 * progmodes/glasses.el (glasses-change):
19639 * progmodes/octave-mod.el (octave-fill-paragraph):
19640 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
19641 (python-pdbtrack-grub-for-buffer, python-sentinel):
19642 * progmodes/sql.el (sql-save-connection):
19643 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
19644 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
19645 Mark unused parameters.
19646
19647 * progmodes/compile.el (compilation--flush-directory-cache)
19648 (compilation--flush-parse, compile-internal): Mark unused parameters.
19649 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
19650 (compilation-next-error-function): Remove unused variable `timestamp'.
19651
19652 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
19653 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
19654
19655 * progmodes/dcl-mode.el (dcl-end-of-command):
19656 Remove unused variable `start'.
19657 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
19658 (dcl-option-value-basic, dcl-option-value-offset)
19659 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
19660 Mark unused parameters.
19661 (dcl-save-local-variable): Remove unused variable `val'.
19662 (mode): Declare.
19663
19664 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
19665 Mark unused parameters.
19666 (delphi-ignore-changes): Move before first use.
19667 (delphi-charset-token-at): Remove unused variable `start'.
19668 (delphi-else-start): Remove unused variable `if-count'.
19669 (delphi-comment-block-start, delphi-comment-block-end):
19670 Remove unused variable `kind'.
19671 (delphi-indent-line): Remove unused variable `new-point'.
19672
19673 * progmodes/ebrowse.el (ebrowse-files-list)
19674 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
19675 Mark unused parameters. Don't quote `lambda'.
19676 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
19677 Don't quote `lambda'.
19678 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
19679 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
19680 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
19681 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
19682 Use `ignore-errors'.
19683 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
19684 (ebrowse-view/find-file-and-search-pattern)
19685 (ebrowse-view/find-member-declaration/definition):
19686 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
19687 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
19688 Rename parameter PREFIX-ARG to PREFIX.
19689 (ebrowse-tags-read-name): Remove unused variables `start' and
19690 `member-info'.
19691 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
19692 to `tags-file'.
19693
19694 * progmodes/etags.el (local-find-tag-hook): Declare.
19695 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
19696 Mark unused parameters.
19697
19698 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
19699 (executable-interpret): Mark unused parameter.
19700
19701 * progmodes/flymake.el (flymake-process-sentinel)
19702 (flymake-after-change-function)
19703 (flymake-create-temp-with-folder-structure)
19704 (flymake-get-include-dirs-dot): Mark unused parameters.
19705 (flymake-safe-delete-directory): Remove unused variable `err'.
19706
19707 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
19708 (speedbar-timer-fn, speedbar-line-text)
19709 (speedbar-change-expand-button-char, speedbar-delete-subblock)
19710 (speedbar-center-buffer-smartly): Declare functions.
19711 (gdb-find-watch-expression): Remove unused variable `array'.
19712 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
19713 (gdb-starting): Mark unused parameters.
19714 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
19715 (gdb-table-string): Remove unused variable `res'.
19716 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
19717 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
19718 (gdb-display-buffer): Remove unused variable `cur-size'.
19719
19720 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
19721 allow lexical-binding compilation.
19722 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
19723 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
19724 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
19725 Mark unused parameters.
19726 (gud-gdb-marker-filter): Remove unused variable `match'.
19727 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
19728 lambda expressions and funcall them, instead of using `fset'.
19729
19730 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
19731 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
19732
19733 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
19734 variable `header-beg'; use `let'.
19735
19736 * progmodes/icon.el (indent-icon-exp): Remove unused variables
19737 `restart', `last-sexp' and `at-do'.
19738
19739 * progmodes/js.el (js--debug): Mark unused parameter.
19740 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
19741 (js--splice-into-items): Remove unused variable `item'.
19742 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
19743
19744 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
19745 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
19746 (makefile-complete): Remove unused variable `try'.
19747 (makefile-fill-paragraph, makefile-match-function-end):
19748 Mark unused parameters.
19749
19750 * progmodes/octave-inf.el (inferior-octave-complete):
19751 Remove unused variable `proc'.
19752 (inferior-octave-output-digest): Mark unused parameter.
19753
19754 * progmodes/perl-mode.el (perl-calculate-indent):
19755 Remove unused variable `err'.
19756
19757 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
19758 (prolog-indent-line): Mark unused parameters.
19759 (prolog-indent-line): Remove unused variable `beg'.
19760
19761 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
19762 (reporter-dont-compact-list): Declare.
19763
19764 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
19765 Remove unused variable `char'.
19766 (sh-debug): Mark unused parameter.
19767 (sh-get-indent-info): Remove unused variable `start'.
19768 (sh-calculate-indent): Remove unused variable `var'.
19769
19770 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
19771 (simula-electric-keyword): Remove unused variable `null'.
19772 (simula-search-backward, simula-search-forward): Remove unused
19773 variables `begin' and `end'.
19774
19775 * progmodes/vera-mode.el (vera-guess-basic-syntax):
19776 Remove unused variable `pos'.
19777 (vera-electric-tab, vera-comment-uncomment-region):
19778 Mark unused parameters.
19779 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
19780
7ede3b65
CY
197812011-04-22 Chong Yidong <cyd@stupidchicken.com>
19782
19783 * emacs-lisp/package.el (package--builtins, package-alist)
19784 (package-load-descriptor, package-built-in-p, package-activate)
19785 (define-package, package-installed-p)
19786 (package-compute-transaction, package-buffer-info)
19787 (package--push): Doc fix. Distinguish more clearly between
19788 version strings and version lists.
19789
121656e9
JB
197902011-04-21 Juanma Barranquero <lekktu@gmail.com>
19791
19792 Lexical-binding cleanup.
19793
19794 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
19795 (5x5-make-mutate-best):
19796 * play/fortune.el (fortune-in-buffer):
19797 * play/gomoku.el (gomoku-init-display):
19798 * play/solitaire.el (solitaire, solitaire-do-check):
19799 * play/tetris.el (tetris-default-update-speed-function):
19800 Mark unused parameters.
19801
19802 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
19803 (bubbles--shift): Remove unused variable `char-org'.
19804 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
19805 (bubbles--show-images): Remove unused variable `char'.
19806
19807 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
19808 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
19809 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
19810 (decipher-analyze-buffer): Use ?\s.
19811 (decipher-make-checkpoint): Remove unused variable `mapping'.
19812
19813 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
19814
19815 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
19816 Remove unused variable `result'; use `let'.
19817
19818 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
19819 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
19820 (gametree-children-shown-p, gametree-compute-reduced-score):
19821 Use `ignore-errors'.
19822
19823 * play/handwrite.el (ps-lpr-switches): Declare.
19824 (handwrite): Remove unused variables `pmin' and `lastp'.
19825
19826 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
19827
19828 * play/landmark.el (landmark-init-display)
19829 (landmark-update-naught-weights): Mark unused parameters.
19830 (landmark-y): Remove unused variable `noise'. Simplify.
19831 (landmark-human-plays): Remove unused variable `score'.
19832
19833 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
19834 (mpuz-try-proposal): Remove unused variable `game'.
19835
19836 * play/zone.el (life-patterns): Declare.
19837
80f499c7
JB
198382011-04-20 Juanma Barranquero <lekktu@gmail.com>
19839
19840 * vc/vc.el (ediff-vc-internal): Declare function.
19841
024ff170
SM
198422011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
19843
c0a193ea
SM
19844 * shell.el: Use lexical-binding and std completion UI.
19845 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
19846 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
19847 comint-preoutput-filter-functions rather than on
19848 comint-output-filter-functions.
19849 (shell-command-completion, shell--command-completion-data)
19850 (shell-filename-completion, shell-environment-variable-completion)
19851 (shell-c-a-p-replace-by-expanded-directory): New functions.
19852 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
19853 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
19854 (shell-dynamic-complete-environment-variable): Use them.
19855 (shell-dynamic-complete-as-environment-variable)
19856 (shell-dynamic-complete-as-command): Remove.
19857 (shell-match-partial-variable): Match past point.
19858 * comint.el: Clean up use of completion-at-point-functions.
19859 (comint-completion-at-point): New function.
19860 (comint-mode): Use it completion-at-point-functions.
19861 (comint-dynamic-complete): Make it obsolete.
19862 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
19863 (comint-c-a-p-replace-by-expanded-history): New function.
19864 (comint-dynamic-complete-functions)
19865 (comint-replace-by-expanded-history): Use it.
19866 * minibuffer.el (completion-table-with-terminator): Allow dynamic
19867 termination strings. Try harder to avoid second try-completion.
19868 (completion-in-region-mode-map): Disable bindings that don't work yet.
19869
2dbaa080
SM
19870 * comint.el: Use lexical-binding. Require CL.
19871 (comint-dynamic-complete-functions): Use comint-filename-completion.
19872 (comint-completion-addsuffix): Tweak custom type.
19873 (comint-filename-completion, comint--common-suffix)
19874 (comint--common-quoted-suffix, comint--table-subvert)
19875 (comint--complete-file-name-data): New functions.
19876 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
19877 (comint-dynamic-list-filename-completions): Use them.
19878 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 19879
2dbaa080
SM
19880 * minibuffer.el (completion-in-region-mode):
19881 Keep completion-in-region-mode--predicate global.
19882 (completion-in-region--postch):
19883 Assume completion-in-region-mode--predicate is not null.
19884
c79a6f38
SM
19885 * progmodes/flymake.el (flymake-start-syntax-check-process):
19886 Obey `dir'. Simplify.
19887
024ff170
SM
19888 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
19889 we're in VC after all.
19890
1c6c854e
CS
198912011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
19892
19893 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 19894 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
19895 (vc-version-diff): Use vc-diff-build-argument-list-internal.
19896
bed7f140
SM
198972011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
19898
332e62ab
SM
19899 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
19900 add sanity check.
19901
bed7f140
SM
19902 * obsolete/erc-hecomplete.el: Make obsolete.
19903 * obsolete/: Standardize obsolescence info in the header.
19904
f195c582
GM
199052011-04-20 Glenn Morris <rgm@gnu.org>
19906
19907 * calendar/solar.el (solar-horizontal-coordinates):
19908 Use the longitude argument rather than `calendar-longitude'.
19909 (solar-date-next-longitude): Remove unused locals.
19910
cb79b8c0
VJL
199112011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
19912
19913 * whitespace.el: New version 13.2.1.
19914
199152011-04-20 felix <EmacsWiki> (tiny change)
19916
d8e4b68b 19917 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
19918 switching between major modes on a file.
19919
602ea69d
SM
199202011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
19921
19922 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
19923 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
19924 multi-line comments as well.
19925
06b60517
JB
199262011-04-19 Juanma Barranquero <lekktu@gmail.com>
19927
19928 Lexical-binding cleanup.
19929
19930 * arc-mode.el (archive-mode-revert):
19931 * cmuscheme.el (scheme-interactively-start-process):
19932 * custom.el (custom-initialize-delay):
19933 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
19934 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
19935 * emacs-lock.el (emacs-lock-clear-sentinel):
19936 * ezimage.el (defezimage):
19937 * follow.el (follow-avoid-tail-recenter):
19938 * fringe.el (set-fringe-mode-1):
19939 * generic-x.el (bat-generic-mode-compile):
19940 * help-mode.el (help-info-variable, help-do-xref)
19941 (help-mode-revert-buffer):
19942 * help.el (view-emacs-todo):
19943 * iswitchb.el (iswitchb-completion-help):
19944 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
19945 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
19946 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
19947 * locate.el (locate-update):
19948 * longlines.el (longlines-encode-region)
19949 (longlines-after-change-function):
19950 * outline.el (outline-isearch-open-invisible):
19951 * ps-def.el (declare-function, charset-dimension, char-width)
19952 (encode-char):
19953 * ps-mule.el (ps-mule-plot-string):
19954 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
19955 (recentf-edit-list-select, recentf-edit-list-validate)
19956 (recentf-open-files-action):
19957 * rect.el (delete-whitespace-rectangle-line)
19958 (rectangle-number-line-callback):
19959 * register.el (window-configuration-to-register)
19960 (frame-configuration-to-register):
19961 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
19962 * select.el (xselect-convert-to-string, xselect-convert-to-length)
19963 (xselect-convert-to-targets, xselect-convert-to-delete)
19964 (xselect-convert-to-filename, xselect-convert-to-charpos)
19965 (xselect-convert-to-lineno, xselect-convert-to-colno)
19966 (xselect-convert-to-os, xselect-convert-to-host)
19967 (xselect-convert-to-user, xselect-convert-to-class)
19968 (xselect-convert-to-name, xselect-convert-to-integer)
19969 (xselect-convert-to-atom, xselect-convert-to-identity):
19970 * subr.el (declare, ignore, process-kill-without-query)
19971 (text-clone-maintain):
19972 * terminal.el (te-get-char, te-tic-sentinel):
19973 * tool-bar.el (tool-bar-make-keymap):
19974 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
19975 * type-break.el (type-break-mode, type-break-noninteractive-query):
19976 * view.el (View-back-to-mark):
19977 * wid-browse.el (widget-browse-action, widget-browse-widget)
19978 (widget-browse-widgets, widget-browse-sexp):
19979 * widget.el (define-widget-keywords):
19980 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
19981 Mark unused parameters.
19982
19983 * align.el (align-adjust-col-for-rule): Mark unused parameter.
19984 (align-areas): Remove unused variable `look'.
19985 (align-region): Remove unused variables `real-end' and `pos-list'.
19986
19987 * apropos.el (apropos-score-doc): Remove unused variable `i'.
19988
19989 * bindings.el (mode-line-modified, mode-line-remote):
19990 Mark unused parameters.
19991 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
19992
19993 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
19994 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
19995
19996 * comint.el (comint-history-isearch-pop-state)
19997 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
19998 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
19999 (comint-substitute-in-file-name): Doc fix.
20000
20001 * completion.el (cmpl-statistics-block): Mark unused parameter.
20002 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
20003 (save-completions-to-file, load-completions-from-file):
20004 Remove unused local variable `e'.
20005
20006 * composite.el (compose-chars): Remove unused variable `len'.
20007 (lgstring-insert-glyph): Remove unused variable `g'.
20008 (compose-glyph-string): Remove unused variables `ascent',
20009 `descent', `lbearing' and `rbearing'.
20010 (compose-glyph-string-relative): Remove unused variables
20011 `lbearing', `rbearing' and `wadjust'.
20012 (compose-gstring-for-graphic): Remove unused variables `header',
20013 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
20014 (compose-gstring-for-terminal): Remove unused variables `header'
20015 and `nchars'. Use `let', not `let*'.
20016
20017 * cus-edit.el (Custom-set, Custom-save, custom-reset)
20018 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
20019 (Custom-buffer-done, custom-buffer-create-internal)
20020 (custom-browse-visibility-action, custom-browse-group-tag-action)
20021 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
20022 (widget-magic-mouse-down-action, custom-toggle-parent)
20023 (custom-add-parent-links, custom-toggle-hide-variable)
20024 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
20025 (custom-toggle-hide-face, face, hook, custom-group-link-action)
20026 (custom-face-menu-create, custom-variable-menu-create, get)
20027 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
20028 (custom-reset-standard-save-and-update): Remove unused variable `value'.
20029 (customize-apropos): Remove unused variable `tests'.
20030 (custom-group-value-create): Remove unused variable `hidden-p'.
20031 (sort-fold-case): Declare.
20032
20033 * cus-theme.el (custom-reset-standard-faces-list)
20034 (custom-reset-standard-variables-list): Declare.
20035 (customize-create-theme, custom-theme-revert, custom-theme-write)
20036 (custom-theme-choose-mode, customize-themes, custom-theme-save):
20037 Mark unused parameters.
20038
20039 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
20040
20041 * delim-col.el (delimit-columns-max): Move defvar before first use.
20042
20043 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 20044 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
20045
20046 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
20047 (auto-insert): Declare.
20048 (desktop-restore-file-buffer): Rename desktop-* parameters;
20049 mark unused ones.
20050 (desktop-create-buffer): Rename desktop-* parameters and bind them.
20051 (desktop-buffer): Rename desktop-* parameters.
20052
20053 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
20054 (dframe-reposition-frame-xemacs, dframe-help-echo)
20055 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
20056 Mark unused parameters.
20057
20058 * dired-aux.el (backup-extract-version-start, overwrite-query)
20059 (overwrite-backup-query, rename-regexp-query)
20060 (rename-non-directory-query): Declare.
20061 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
20062 (dired-add-entry): Remove unused variable `orig-file-name'.
20063 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
20064 Use parameter PRESERVE-TIME instead of accessing dynamic variable
20065 `dired-copy-preserve-time' directly.
20066 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
20067 (dired-insert-subdir-newpos): Rename unused variable `pos'.
20068
20069 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
20070 (dired-virtual-revert, dired-make-relative-symlink):
20071 Mark unused parameters.
20072 (manual-program): Declare.
20073 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
20074 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
20075 wrapped in `with-no-warnings' to avoid replacing one warning by another.
20076
20077 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
20078
20079 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
20080
20081 * echistory.el (electric-history-in-progress, Helper-return-blurb):
20082 Declare.
20083
20084 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
20085
20086 * electric.el (Electric-command-loop): Rename parameter
20087 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
20088
20089 * expand.el (expand-in-literal): Remove unused variable `here'.
20090
20091 * facemenu.el (facemenu-add-new-color):
20092 Remove unused variable `docstring'.
20093
20094 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
20095 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
20096 (face-attr-construct): Mark unused parameter. Doc fix.
20097 (read-color): Remove unused variable `hex-string'.
20098
20099 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
20100 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
20101 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
20102 (display-buffer-other-frame): Remove unused variable `old-window'.
20103 (kill-buffer-hook): Declare.
20104 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
20105 Mark unused parameters.
20106 (after-find-file): Pass 1 to `auto-save-mode', not t.
20107
20108 * files-x.el (auto-insert): Declare.
20109 (modify-file-local-variable-prop-line): Remove unused variable `val'.
20110
20111 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 20112 variable `buf'. Mark unused parameter.
06b60517
JB
20113 (find-lisp-insert-directory): Mark unused parameter.
20114
20115 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
20116 (format-encode-region): Remove unused variables `cur-buf' and `result'.
20117 (format-common-tail): Remove, unused.
20118 (format-deannotate-region): Remove unused variable `loc'.
20119 (format-annotate-region): Remove unused variable `p'.
20120 (format-annotate-single-property-change): Remove unused variables
20121 `default' and `tail'.
20122
20123 * forms.el (read-file-filter): Declare.
20124 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
20125
20126 * frame.el (frame-creation-function-alist): Mark unused parameter.
20127 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
20128
20129 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
20130 Remove unused parameters.
20131 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
20132 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
20133
20134 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
20135 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
20136 (hfy-prepare-tag-map): Mark unused parameters.
20137 (htmlfontify-buffer): Use `called-interactively-p'.
20138
20139 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
20140 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
20141 (ibuffer-do-occur): Mark unused parameters.
20142 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
20143 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
20144
20145 * ibuffer.el: Don't quote `lambda'.
20146 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
20147 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
20148 Mark unused parameters.
20149
20150 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
20151 (ido-completing-read): Mark unused parameters.
20152 (ido-copy-current-word): Mark unused parameters;
20153 remove unused variable `name'.
20154 (ido-sort-merged-list): Remove unused parameter `dirs'.
20155
20156 * ielm.el (ielm-input-sender): Mark unused parameter.
20157 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
20158 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
20159 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
20160 `ielm-string' as a dynamic variable accessible from the IELM prompt.
20161 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
20162
20163 * image-dired.el (image-dired-display-thumbs): Remove unused
20164 variables `curr-file' and `count'.
20165 (image-dired-remove-tag): Remove unused variable `start'.
20166 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
20167 variable `curr-file'
20168 (image-dired-rotate-original): Remove unused variable `temp-file'.
20169 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
20170 Remove unused variable `file'.
20171 (image-dired-gallery-generate): Remove unused variable `curr'.
20172 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
20173
20174 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
20175
20176 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
20177
20178 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
20179
20180 * isearch.el (minibuffer-history-symbol): Declare.
20181 (isearch-edit-string): Remove unused variable `err'.
20182 (isearch-message-prefix, isearch-message-suffix):
20183 Mark unused parameters.
20184
20185 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
20186
20187 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
20188
20189 * makesum.el (double-column): Remove unused variable `cnt'.
20190
20191 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
20192 (ido-ignore-item-temp-list): Declare.
20193
20194 * mouse-drag.el (mouse-drag-throw): Remove unused variables
20195 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
20196 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
20197 (mouse-drag-drag): Remove unused variables `mouse-delta' and
20198 `mouse-col-delta'.
20199
20200 * mouse-sel.el (mouse-extend-internal):
20201 Remove unused variable `orig-window-frame'.
20202
20203 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
20204 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
20205 Move declarations before first use.
20206 (pcomplete-opt): Mark unused parameters; doc fix.
20207
20208 * proced.el (proced-revert): Mark unused parameter.
20209 (proced-send-signal): Remove unused variable `err'.
20210
20211 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
20212 Rename parameter PREFIX-ARG to ARG.
20213 (ps-basic-plot-string, ps-basic-plot-whitespace):
20214 Mark unused parameters.
20215
20216 * replace.el (replace-count): Define.
20217 (occur-revert-function): Mark unused parameters.
20218 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
20219 (isearch-case-fold-search, isearch-string): Declare.
20220 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
20221 bind `case-fold-search'. Remove unused variables `beg' and `end',
20222 and simplify.
20223 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
20224 COUNT and bind `replace-count'.
20225 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
20226 to COUNT.
20227
20228 * savehist.el (print-readably, print-string-length): Declare.
20229
20230 * shadowfile.el (shadow-expand-cluster-in-file-name):
20231 Remove unused variable `cluster'.
20232 (shadow-copy-file): Remove unused variable `i'.
20233 (shadow-noquery, shadow-clusters, shadow-site-cluster)
20234 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
20235 (shadow-define-literal-group, shadow-define-regexp-group)
20236 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
20237
20238 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
20239 (shell): Use `called-interactively-p'.
20240 (shell-directory-tracker): Remove unused variable `chdir-failure'.
20241
20242 * simple.el (compilation-context-lines, comint-file-name-quote-list)
20243 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
20244 (delete-backward-char): Remove unused variable `ocol'.
20245 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
20246 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
20247 (event-apply-hyper-modifier, event-apply-shift-modifier)
20248 (event-apply-control-modifier, event-apply-meta-modifier):
20249 Mark unused parameters.
20250 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
20251 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
20252
20253 * speedbar.el (speedbar-ignored-directory-expressions)
20254 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
20255 (speedbar-find-file, speedbar-dir-follow)
20256 (speedbar-directory-buttons-follow, speedbar-tag-find)
20257 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
20258 (speedbar-buffers-line-directory, speedbar-buffer-click):
20259 Mark unused parameters.
20260 (speedbar-tag-file): Remove unused variable `mode'.
20261 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
20262
20263 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
20264
20265 * talk.el (talk): Remove unused variable `display'.
20266
20267 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
20268 (tar-write-region-annotate): Mark unused parameter.
20269
20270 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
20271 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
20272 Declare them, wrapped in `with-no-warnings' to avoid replacing one
20273 warning by another.
20274
20275 * time-stamp.el (time-stamp-string-preprocess):
20276 Remove unused variable `require-padding'.
20277
20278 * tree-widget.el (widget-glyph-enable): Declare.
20279 (tree-widget-action): Mark unused parameter.
20280
20281 * w32-fns.el (x-get-selection): Mark unused parameter.
20282 (autoload-make-program, generated-autoload-file): Declare.
20283
20284 * wdired.el (wdired-revert): Mark unused parameters.
20285 (wdired-xcase-word): Remove unused variable `err'.
20286
20287 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
20288 (whitespace-help-scroll): Remove unused variable `data-help'.
20289
20290 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
20291 (widget-image-insert, widget-after-change, default)
20292 (widget-default-format-handler, widget-default-notify)
20293 (widget-default-prompt-value, widget-info-link-action)
20294 (widget-url-link-action, widget-function-link-action)
20295 (widget-variable-link-action, widget-file-link-action)
20296 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
20297 (widget-field-prompt-internal, widget-field-action, widget-field-match)
20298 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
20299 (widget-insert-button-action, widget-delete-button-action, visibility)
20300 (widget-documentation-link-action, widget-documentation-string-action)
20301 (widget-const-prompt-value, widget-regexp-match, symbol)
20302 (widget-coding-system-prompt-value)
20303 (widget-key-sequence-value-to-external, sexp)
20304 (widget-sexp-value-to-internal, character, vector, cons)
20305 (widget-choice-prompt-value, widget-boolean-prompt-value)
20306 (widget-color--choose-action): Mark unused parameters.
20307 (widget-item-match-inline, widget-choice-match-inline)
20308 (widget-checklist-match, widget-checklist-match-inline)
20309 (widget-group-match): Rename parameter VALUES to VALS.
20310 (widget-field-value-set): Remove unused variable `size'.
20311 (widget-color-action): Remove unused variables `value' and `start'.
20312
20313 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 20314 variable `dir'. Doc fix.
06b60517
JB
20315 (windmove-find-other-window): Don't pass it.
20316
20317 * window.el (count-windows): Mark unused parameter.
20318 (bw-adjust-window): Remove unused variable `err'.
20319
20320 * woman.el (woman-file-name): Remove unused variable `default'.
20321 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
20322 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
20323 (global-font-lock-mode): Declare.
20324 (woman-decode-region): Mark unused parameter.
20325 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
20326
20327 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
20328 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
20329 (x-dnd-handle-moz-url): Remove unused variable `title'.
20330 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
20331
20332 * xml.el (xml-parse-tag, xml-parse-attlist):
20333 Remove unused variable `pos'.
20334
bc4f7f3d
GM
203352011-04-19 Glenn Morris <rgm@gnu.org>
20336
20337 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
20338 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
20339 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
20340 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
20341 * calendar/cal-html.el (cal-html-insert-minical):
20342 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
20343 (calendar-mark-date-pattern):
20344 Prefix "unused" locals.
20345
20346 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
20347 optional argument `style'.
20348
20349 * calendar/appt.el (appt-make-list):
20350 * calendar/cal-china.el (calendar-chinese-date-string):
20351 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
20352 (diary-hebrew-yahrzeit):
20353 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
20354 * calendar/calendar.el (calendar-generate-window):
20355 * calendar/time-date.el (time-to-days):
20356 Remove unused local variables.
20357
16a43933
CY
203582011-04-18 Chong Yidong <cyd@stupidchicken.com>
20359
20360 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
20361 glyphless-char-display table.
20362 (tabulated-list-glyphless-char-display): New var.
20363
7eed1860
SS
203642011-04-18 Sam Steingold <sds@gnu.org>
20365
20366 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
20367 to acknowledgments.
20368
4d2d1ccd
GM
203692011-04-17 Glenn Morris <rgm@gnu.org>
20370
20371 * calendar/diary-lib.el (diary-sexp-entry):
20372 * calendar/holidays.el (holiday-sexp):
20373 Set debug-on-error rather than the removed stack-trace-on-error.
20374
239da61d
GM
203752011-04-16 Glenn Morris <rgm@gnu.org>
20376
20377 * progmodes/f90.el: Use lexical-binding.
20378 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
20379
8b05752a
SM
203802011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
20381
daca8ba5
SM
20382 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
20383 (mail-mode): Setup mailalias completion here instead.
20384 * mail/mailalias.el: Use lexical-binding.
20385 (pattern, mailalias-done): Declare dynamic.
20386 (mail-completion-at-point-function): New function, from mail-complete.
20387 (mail-complete): Use it.
20388 (mail-completion-expand): New function.
20389 (mail-get-names): Use it.
20390 (mail-directory, mail-directory-process, mail-directory-stream):
20391 Don't use `pattern' for lexically bound arg.
20392
6f542485
SM
20393 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
20394
037e7c3f
SM
20395 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
20396 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
20397 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
20398
8b05752a
SM
20399 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
20400 (byte-save-window-excursion, byte-temp-output-buffer-setup)
20401 (byte-interactive-p): Define them again, for use when inlining
20402 old code.
20403
49093f60
JB
204042011-04-15 Juanma Barranquero <lekktu@gmail.com>
20405
20406 * loadup.el: Use `string-to-number', not `string-to-int'.
20407
b5b8e7de
SM
204082011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
20409
20410 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
20411 gud-gdb-complete-command.
20412 (gud-gdb-completions): New function, from gud-gdb-complete-command.
20413 (gud-gdb-completion-at-point): New function.
20414 (gud-gdb-completions): Remove.
20415
f42efeb5
MA
204162011-04-14 Michael Albinus <michael.albinus@gmx.de>
20417
49093f60
JB
20418 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
20419 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
20420 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
20421 whether `executable-find' is bound.
f42efeb5
MA
20422
20423 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
20424
e240cc21
SM
204252011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
20426
20427 * minibuffer.el (completion-in-region-mode-predicate)
20428 (completion-in-region-mode--predicate): New vars.
20429 (completion-in-region, completion-in-region--postch)
20430 (completion-in-region-mode): Use them.
20431 (completion--capf-wrapper): Also return the hook function.
20432 (completion-at-point, completion-help-at-point):
20433 Adjust and provide a predicate.
c2bd2ab0
SM
20434
20435 Preserve arg names for advice of subr and lexical functions (bug#8457).
20436 * help-fns.el (help-function-arglist): Consolidate the subr and
20437 new-byte-code cases. Add argument `preserve-names' to extract names
20438 from the docstring when needed.
20439 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
20440 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
20441 (ad-arglist): Use help-function-arglist's new arg.
20442 (ad-definition-type): Use cond.
20443
c183f693
JB
204442011-04-13 Juanma Barranquero <lekktu@gmail.com>
20445
06641a47
JB
20446 * autorevert.el (auto-revert-handler):
20447 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
20448 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
20449 Don't quote lambda.
20450
c183f693
JB
20451 * image-mode.el (image-transform-set-scale):
20452 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
20453
1e3b6001
G
204542011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
20455
20456 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 20457 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
20458 Upgrades via gnutls-cli are too slow to be done opportunistically.
20459
2d6af8dd
JB
204602011-04-12 Juanma Barranquero <lekktu@gmail.com>
20461
20462 * dframe.el (dframe-current-frame): Remove spurious quote.
20463
c0749a51
GM
204642011-04-12 Glenn Morris <rgm@gnu.org>
20465
088d0d61
GM
20466 * calendar/cal-tex.el (cal-tex-end-document):
20467 Try to automatically use latin1 input if needed.
20468
c0749a51
GM
20469 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
20470 Don't try to cons a mark onto an empty element.
20471
5c90fde0
LL
204722011-04-11 Leo Liu <sdl.web@gmail.com>
20473
20474 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
20475 buffers.
20476 (ido-kill-buffer-at-head): Support killing virtual buffers.
20477
369e974d
CY
204782011-04-10 Chong Yidong <cyd@stupidchicken.com>
20479
20480 * minibuffer.el (completion-show-inline-help): New var.
20481 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
20482 (minibuffer-force-complete, minibuffer-complete-word):
20483 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
20484
20485 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
20486 to avoid interference from inline help (Bug#5849).
20487
37f1c930
LL
204882011-04-10 Leo Liu <sdl.web@gmail.com>
20489
099c39a4
JB
20490 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
20491 Fix typo.
37f1c930 20492
a32d4040
CY
204932011-04-09 Chong Yidong <cyd@stupidchicken.com>
20494
20495 * image-mode.el (image-toggle-display-image): Signal an error if
20496 not in Image mode.
20497 (image-transform-mode, image-transform-resize)
20498 (image-transform-set-rotation): Doc fix.
daca8ba5 20499 (image-transform-set-resize): Delete.
a32d4040
CY
20500 (image-transform-set-scale, image-transform-fit-to-height)
20501 (image-transform-fit-to-width): Handle image-toggle-display-image
20502 and image-transform-resize directly.
20503
099c39a4 205042011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
20505
20506 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
20507 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
20508 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
20509 (doc-view-mode-map): Add bindings for the new functions.
20510
099c39a4 205112011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 20512
4d61f28d 20513 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
20514 Fix typo in docstring.
20515
3726838a
EZ
205162011-04-08 Eli Zaretskii <eliz@gnu.org>
20517
04f33f1e
EZ
20518 * files.el (file-size-human-readable): Produce one digit after
20519 decimal, like "ls -lh" does.
20520
20521 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
20522 the file size representation.
20523
3726838a
EZ
20524 * simple.el (list-processes): If async subprocesses are not
20525 available, error out with a clear error message.
20526
cbb59342
CY
205272011-04-08 Chong Yidong <cyd@stupidchicken.com>
20528
20529 * help.el (help-form-show): New function, to be called from C.
20530 Put help-form output in a buffer named differently than *Help*.
20531
e3971c44
EZ
205322011-04-08 Eli Zaretskii <eliz@gnu.org>
20533
20534 * files.el (file-size-human-readable): New function.
20535
20536 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
20537 computing the representation inline. Don't require `cl'.
20538
12544bbe
GM
205392011-04-08 Glenn Morris <rgm@gnu.org>
20540
a1de6c6a
GM
20541 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
20542
3c4671f4
GM
20543 * net/browse-url.el (browse-url-firefox):
20544 Test system-type, not system-configuration.
20545
b605679c
GM
20546 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
20547 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
20548 Use log-edit-empty-buffer-p. (Bug#7598)
20549
56442f0c
GM
20550 * net/rlogin.el (rlogin-process-connection-type): Simplify.
20551 (rlogin-mode-map): Initialize in the defvar.
20552 (rlogin): Use ignore-errors.
20553
12544bbe
GM
20554 * replace.el (occur-mode-map): Some fixes for menu items.
20555
eb237b0f
AH
205562011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
20557
20558 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
20559
7d668f2c
CY
205602011-04-06 Chong Yidong <cyd@stupidchicken.com>
20561
e67a13ab
CY
20562 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
20563 issuing unused warnings.
20564
20565 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
20566 macro directly.
20567
7d668f2c
CY
20568 * simple.el: Lisp reimplement of list-processes. Based on an
20569 earlier reimplementation by Leo Liu, but using tabulated-list.el.
20570 (process-menu-mode): New major mode.
20571 (list-processes--refresh, list-processes):
20572 (process-menu-visit-buffer): New functions.
20573
20574 * files.el (save-buffers-kill-emacs): Don't assume any return
20575 value of list-processes, which is undocumented anyway.
20576
a83ec3c9
CY
205772011-04-06 Chong Yidong <cyd@stupidchicken.com>
20578
20579 * emacs-lisp/tabulated-list.el: New file.
20580
e91a96fe
CY
20581 * emacs-lisp/package.el: Use Tabulated List mode.
20582 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
20583 (package-menu-mode): Derive from tabulated-list-mode. Set up the
20584 table format using Tabulated List mode variables.
20585 (package--push): New macro, replacing package-list-maybe-add.
20586 (package-menu--generate): Use package--push. Renamed from
20587 package--generate-package-list.
20588 (package-menu-refresh, list-packages): Use it.
daca8ba5 20589 (package-menu--print-info): Rename from package-print-package.
e91a96fe 20590 Return insertion data instead of inserting it directly.
099c39a4
JB
20591 (package-menu-describe-package, package-menu-execute):
20592 Use tabulated-list-get-id.
e91a96fe
CY
20593 (package-menu-mark-delete, package-menu-mark-install)
20594 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
20595 (package-menu-mark-obsolete-for-deletion):
20596 Use tabulated-list-put-tag.
e91a96fe
CY
20597 (package--list-packages, package-menu-revert)
20598 (package-menu-get-package, package-menu-get-version)
20599 (package-menu-sort-by-column): Functions deleted.
20600 (package-menu-package-list, package-menu-sort-key): Vars deleted.
20601 (package-menu--status-predicate, package-menu--version-predicate)
20602 (package-menu--name-predicate)
20603 (package-menu--description-predicate): Handle arguments in the
20604 Tabulated List format.
20605 (package-list-packages-no-fetch): Call list-packages.
20606
3e214b50
JB
206072011-04-06 Juanma Barranquero <lekktu@gmail.com>
20608
20609 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 20610 (after-find-file): Don't bind it.
3e214b50
JB
20611 (revert-buffer-in-progress-p): New variable.
20612 (revert-buffer): Bind it.
20613 Pass nil for `after-find-file-from-revert-buffer'.
20614
20615 * saveplace.el (save-place-find-file-hook): Use new variable
20616 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
20617
3f0f1700
GM
206182011-04-06 Glenn Morris <rgm@gnu.org>
20619
c0274801
GM
20620 * Makefile.in (AUTOGEN_VCS): New variable.
20621 (autoloads): Use $AUTOGEN_VCS.
20622
3f0f1700
GM
20623 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
20624 * calendar/calendar.el (calendar-mode-map):
20625 Check for toolkit scroll bars. (Bug#8305)
20626
41ea9e48
CY
206272011-04-05 Chong Yidong <cyd@stupidchicken.com>
20628
20629 * minibuffer.el (completion-in-region--postch)
20630 (completion-in-region-mode): Remove unnecessary messages.
20631
6194c800
JB
206322011-04-05 Juanma Barranquero <lekktu@gmail.com>
20633
33256f14
JB
20634 * font-lock.el (font-lock-refresh-defaults):
20635 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
20636 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
20637
6194c800
JB
20638 * info.el (Info-directory-list, Info-read-node-name-2)
20639 (Info-split-parameter-string): Doc fixes.
20640 (Info-virtual-nodes): Reflow docstring.
20641 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
20642 (Info-apropos-toc-nodes, info-finder, Info-get-token)
20643 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
20644 Fix typos in docstrings.
20645 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
20646 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
20647 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
20648 (Info-restore-desktop-buffer): Mark unused parameters.
20649 (Info-directory-find-file, Info-directory-find-node)
20650 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
20651 (Info-virtual-index-find-node, Info-apropos-find-file)
20652 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 20653 Mark unused parameters; fix typos in docstrings.
6194c800
JB
20654 (Info-virtual-index): Remove unused local variable `nodename'.
20655
b87a8200 206562011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 20657
b87a8200
DD
20658 * net/rcirc.el: Update my e-mail address.
20659 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 20660
3b2ff876
CY
206612011-04-05 Chong Yidong <cyd@stupidchicken.com>
20662
20663 * startup.el (command-line): Save the cursor's theme-face
20664 directly, instead of using face-override-spec.
20665
20666 * custom.el (load-theme): Minor optimization in assigning faces.
20667
8d17e7ca
JB
206682011-04-04 Juanma Barranquero <lekktu@gmail.com>
20669
20670 * help-fns.el (describe-variable): Complete all variables having
20671 documentation, including keywords.
20672 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
20673
2fbc1934
JB
206742011-04-04 Juanma Barranquero <lekktu@gmail.com>
20675
20676 Convert to lexical-binding.
20677
20678 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
20679 (bs--get-marked-string, bs--get-modified-string)
20680 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
20681 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
20682 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
20683
20684 * ehelp.el (electric-help-execute-extended)
20685 (electric-help-ctrl-x-prefix):
20686 * hexl.el (hexl-revert-buffer-function):
20687 * linum.el (linum-after-change, linum-after-scroll):
20688 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
20689
20690 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
20691
74f50695
DU
206922011-04-04 Daiki Ueno <ueno@unixuser.org>
20693
20694 * epa-dired.el:
20695 * epa-mail.el:
20696 * epa-hook.el:
20697 * epa-file.el:
20698 * epa.el:
20699 * epg.el: Use lexical binding.
20700
c11325f7
CY
207012011-04-03 Chong Yidong <cyd@stupidchicken.com>
20702
0d9e9a12
CY
20703 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
20704
c11325f7 20705 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
20706 dictionary case for flyspell-mark-duplications-exceptions.
20707 Use regexp matching for languages.
c11325f7
CY
20708 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
20709 default dictionary (Bug#7926).
20710
da91b5f2
CY
207112011-04-02 Chong Yidong <cyd@stupidchicken.com>
20712
099c39a4
JB
20713 * emacs-lisp/package.el (package--with-work-buffer):
20714 Recognize https URLs.
da91b5f2 20715
099c39a4
JB
20716 * net/network-stream.el: Move from gnus/proto-stream.el.
20717 Change prefix to network-stream throughout.
da91b5f2
CY
20718 (open-protocol-stream): Merge into open-network-stream, leaving
20719 open-protocol-stream as an alias. Handle nil BUFFER args.
20720
20721 * subr.el (open-network-stream): Move to net/network-stream.el.
20722
afa8e9f6
GM
207232011-04-02 Glenn Morris <rgm@gnu.org>
20724
1d2e369d
GM
20725 * find-dired.el (find-exec-terminator): New option.
20726 (find-ls-option): Test for -ls support.
20727 (find-ls-subdir-switches): Test for -b in find-ls-option.
20728 (find-dired, find-grep-dired): Doc fixes.
20729 (find-dired): Use find-exec-terminator.
20730
8abb7da8 20731 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
20732 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
20733 (find-name-arg): Remove purecopy.
8abb7da8 20734
f3ca7378
GM
20735 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
20736 (grep-compute-defaults): Check for `-exec COMMAND +' support.
20737 Set grep-find-use-xargs, grep-find-command, and grep-find-template
20738 accordingly. Don't add the null-device if not needed.
20739
afa8e9f6
GM
20740 * files.el (save-some-buffers): Doc fix.
20741
35eae264
EZ
207422011-04-02 Eli Zaretskii <eliz@gnu.org>
20743
20744 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
20745
26b51db5
JB
207462011-04-01 Juanma Barranquero <lekktu@gmail.com>
20747
20748 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
20749 Use `dolist' rather than `mapcar'.
20750
7200d79c
SM
207512011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
20752
03408648 20753 Add lexical binding.
7200d79c 20754
03408648
SM
20755 * subr.el (apply-partially): Use new closures rather than CL.
20756 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
20757 (dolist, dotimes): Use slightly different expansion for lexical code.
20758 (functionp): Move to C.
20759 (letrec): New macro.
20760 (with-wrapper-hook): Use it and apply-partially instead of CL.
20761 (eval-after-load): Preserve lexical-binding.
20762 (save-window-excursion, with-output-to-temp-buffer): Turn them
20763 into macros.
7200d79c 20764
03408648
SM
20765 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
20766
20767 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
20768 than the arglist.
20769 (help-add-fundoc-usage): Don't add `Not documented'.
20770 (help-function-arglist): Handle closures, subroutines, and new
20771 byte-code-functions.
20772 (help-make-usage): Remove leading underscores.
20773 (describe-function-1): Handle closures.
20774 (describe-variable): Use special-variable-p for completion.
20775
20776 * files.el (lexical-binding): Declare safe.
f488fb65 20777
03408648
SM
20778 * emacs-lisp/pcase.el: Don't use destructuring-bind.
20779 (pcase--memoize): Rename from pcase-memoize. Change weakness.
20780 (pcase): Add `let' pattern.
20781 Change memoization so it actually works.
20782 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
20783 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
20784 <let>: New case.
f488fb65 20785
03408648
SM
20786 * emacs-lisp/macroexp.el: Use lexical binding.
20787 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
20788 Don't convert ' to #' without checking that it's indeed quoting
20789 a lambda.
20790
20791 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 20792 Use eval-sexp-add-defvars.
03408648
SM
20793 (eval-sexp-add-defvars): New fun.
20794
20795 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
20796
20797 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
20798 Don't autoload.
20799 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
20800 than the internal `byte-compile-lambda'.
20801 (defmethod): Don't hide code under quotes.
20802 (eieio-defmethod): New `code' argument.
20803
20804 * emacs-lisp/eieio-comp.el: Remove.
20805
20806 * emacs-lisp/edebug.el (edebug-eval-defun)
20807 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
20808 (edebug-toggle): Avoid `eval'.
20809
20810 * emacs-lisp/disass.el (disassemble-internal): Handle new
20811 `closure' objects.
20812 (disassemble-1): Handle new byte codes.
20813
20814 * emacs-lisp/cl.el (pushnew): Silence warning.
20815
20816 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
20817 (cl-byte-compile-throw): Remove.
20818 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
20819
20820 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
20821 closures.
20822
20823 * emacs-lisp/cconv.el: New file.
20824
20825 * emacs-lisp/bytecomp.el: Use lexical binding instead of
20826 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
20827 (byte-compile-initial-macro-environment):
20828 Handle declare-function here.
20829 (byte-compile--lexical-environment): New var.
20830 (byte-stack-ref, byte-stack-set, byte-discardN)
20831 (byte-discardN-preserve-tos): New lap codes.
20832 (byte-interactive-p): Don't use any more.
20833 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
20834 New macros.
20835 (byte-compile-lapcode): Use them and handle new lap codes.
20836 (byte-compile-obsolete): Remove.
20837 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
20838 (byte-compile-arglist-warn): Check late def of inlinable funs.
20839 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
20840 since they should have been expanded by now.
20841 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
20842 (byte-compile-from-buffer): Remove unused second arg.
20843 (byte-compile-preprocess): New function.
20844 (byte-compile-toplevel-file-form): New function to distinguish
20845 file-form calls from outside from file-form calls from hunk-handlers.
20846 (byte-compile-file-form): Simplify.
20847 (byte-compile-file-form-defsubst): Remove.
20848 (byte-compile-file-form-defmumble): Simplify now that
20849 byte-compile-lambda always returns a byte-code-function.
20850 (byte-compile): Preprocess.
20851 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
20852 Remove, not used any more.
20853 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
20854 (byte-compile-make-args-desc): New funs.
20855 (byte-compile-lambda): Handle lexical functions. Always return
20856 a byte-code-function.
20857 (byte-compile-reserved-constants): New var, to make up room for
20858 closed-over variables.
20859 (byte-compile-constants-vector): Obey it.
20860 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
20861 (byte-compile-macroexpand-declare-function): New function.
20862 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
20863 byte-code-functions.
20864 (byte-compile-form): Check obsolescence here.
20865 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
20866 (byte-compile-variable-ref): Remove.
20867 (byte-compile-dynamic-variable-op): New fun.
20868 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
20869 (byte-compile-variable-set): New funs.
20870 (byte-compile-discard): Add 2 args.
20871 (byte-compile-stack-ref, byte-compile-stack-set)
20872 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
20873 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
20874 macroexpand-all instead.
20875 (byte-compile-quote-form): Remove.
20876 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
20877 (byte-compile-bind, byte-compile-unbind): New funs.
20878 (byte-compile-let): Handle let* and lexical binding.
20879 (byte-compile-let*): Remove.
20880 (byte-compile-catch, byte-compile-unwind-protect)
20881 (byte-compile-track-mouse, byte-compile-condition-case):
20882 Handle a new :fun-body form, used for lexical scoping.
20883 (byte-compile-save-window-excursion)
20884 (byte-compile-with-output-to-temp-buffer): Remove.
20885 (byte-compile-defun): Simplify.
20886 (byte-compile-stack-adjustment): New fun.
20887 (byte-compile-out): Use it.
20888 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
20889
20890 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
20891 handler any more.
20892
20893 * emacs-lisp/byte-opt.el: Use lexical binding.
20894 (byte-inline-lapcode): Remove (to bytecomp).
20895 (byte-compile-inline-expand): Pay attention to inlining to/from
20896 lexically bound code.
20897 (byte-compile-unfold-lambda): Don't handle byte-code-functions
20898 any more.
20899 (byte-optimize-form-code-walker): Don't handle save-window-excursion
20900 any more and don't call compiler-macros.
20901 (byte-compile-splice-in-already-compiled-code): Remove.
20902 (byte-code): Don't inline any more.
20903 (disassemble-offset): Receive `bytes' as argument rather than via
20904 dynamic scoping.
20905 (byte-compile-tag-number): Declare before first use.
20906 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
20907 `return' even if make-spliceable.
20908 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
20909 obsolete interactive-p.
20910 (byte-optimize-lapcode): Optimize new lap-codes.
20911 Don't trip up on new form of `byte-constant' lap code.
20912
20913 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
20914
20915 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
20916
20917 * custom.el (custom-initialize-default, custom-declare-variable):
20918 Use `defvar'.
20919
20920 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
20921 New variables.
20922 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
20923 (COMPILE_FIRST): Add macroexp and cconv.
20924 * makefile.w32-in: Mirror changes in Makefile.in.
20925
20926 * vc/cvs-status.el:
20927 * vc/diff-mode.el:
20928 * vc/log-edit.el:
20929 * vc/log-view.el:
20930 * vc/smerge-mode.el:
20931 * textmodes/bibtex-style.el:
090bd7cb 20932 * textmodes/css-mode.el:
03408648
SM
20933 * startup.el:
20934 * uniquify.el:
da91b5f2
CY
20935 * minibuffer.el:
20936 * newcomment.el:
20937 * reveal.el:
20938 * server.el:
20939 * mpc.el:
20940 * emacs-lisp/smie.el:
20941 * doc-view.el:
20942 * dired.el:
03408648
SM
20943 * abbrev.el: Use lexical binding.
20944
0f0c1f27
EZ
209452011-04-01 Eli Zaretskii <eliz@gnu.org>
20946
20947 * info.el (info-display-manual): New function.
20948
c82b2579
SM
209492011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
20950
20951 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
20952
221ddf68
TH
209532011-03-31 Tassilo Horn <tassilo@member.fsf.org>
20954
20955 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 20956 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 20957
cba6e77e
GM
209582011-03-31 Glenn Morris <rgm@gnu.org>
20959
e040639f
GM
20960 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
20961
cba6e77e
GM
20962 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
20963
6d0f1c9e
CS
209642011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
20965
20966 * progmodes/python.el (python-default-interpreter)
20967 (python-python-command-args, python-jython-command-args)
20968 (python-which-shell, python-which-args, python-which-bufname)
20969 (python-file-queue, python-comint-output-filter-function)
20970 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
20971 variables and functions.
20972
3e2d70fd
SM
209732011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
20974
20975 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
20976 (completion-in-region-mode): New minor mode.
20977 (completion-in-region): Use it.
20978 (completion-in-region--data, completion-in-region-mode-map): New vars.
20979 (completion-in-region--postch): New function.
20980 (completion--capf-misbehave-funs, completion--capf-safe-funs):
20981 New vars.
20982 (completion--capf-wrapper): New function.
20983 (completion-at-point): Use it to track well-behavedness of
20984 hook functions.
20985 (completion-help-at-point): New command.
20986
f3e4086c
JM
209872011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
20988
20989 * vc/add-log.el (add-change-log-entry): Don't use whitespace
20990 syntax class to search for whitespace on a single line
20991 (Message-ID: <4D938140.4030905@redhat.com>).
20992
eb7ffc14
LL
209932011-03-30 Leo Liu <sdl.web@gmail.com>
20994
20995 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
20996 New commands.
20997 (edit-abbrevs-map): Bind them here.
20998 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
20999
d806ab68
KM
210002011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
21001
21002 * allout.el (allout-hide-by-annotation, allout-flag-region):
21003 Reduce possibility of overlay leakage by making them volatile.
21004
21005 * allout-widgets.el (allout-widgets-tally): Define as nil so the
21006 hash is not shared between buffers. Mode initialization is
21007 responsible for giving it a useful starting value.
21008 (allout-item-span): Reduce possibility of overlay leakage by
21009 making them volatile.
21010 (allout-widgets-count-buttons-in-region): Add diagnostic function
21011 for tracking down button overlay leaks.
21012
ea622834
LL
210132011-03-29 Leo Liu <sdl.web@gmail.com>
21014
21015 * ido.el (ido-read-internal): Use the default history var
21016 minibuffer-history if no HISTORY is specified.
21017
b62f8267
G
210182011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
21019
03408648
SM
21020 * net/imap.el (imap-shell-open, imap-process-connection-type):
21021 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
21022 Kerberos, SSL, other subprocesses.
21023
947b6566
LL
210242011-03-28 Leo Liu <sdl.web@gmail.com>
21025
21026 * abbrev.el (abbrev-table-empty-p): New function.
21027 (prepare-abbrev-list-buffer): Place empty abbrev tables after
21028 nonempty ones. (Bug#5937)
21029
5ffb62aa
JD
210302011-03-27 Jan Djärv <jan.h.d@swipnet.se>
21031
21032 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
21033
7a097943
LL
210342011-03-27 Leo Liu <sdl.web@gmail.com>
21035
21036 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
21037 for foreground and background colors.
21038 (ansi-color-make-color-map): Adapt.
21039
c5b40130
LL
210402011-03-25 Leo Liu <sdl.web@gmail.com>
21041
1f48f7d2
LL
21042 * midnight.el (midnight-time-float): Remove. Note it calculates
21043 the microsecond component incorrectly and seconds-to-time does the
21044 same job.
625897ec 21045 Remove redundant (require 'timer).
1f48f7d2 21046
c5b40130
LL
21047 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
21048 (ido-completions): Remove unused arguments. (Bug#8329)
21049
d86d2721
SM
210502011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
21051
21052 * minibuffer.el (completion--flush-all-sorted-completions):
21053 Remove itself from hook.
21054 (completion-at-point): Let the functions perform the completion
21055 immediately and return nil or t.
21056 * comint.el (comint-dynamic-complete-functions): Now identical to
21057 completion-at-point-functions.
21058 (comint-dynamic-list-input-ring): Remove unused var `index'.
21059 (comint--match-partial-filename, comint--unquote&expand-filename):
21060 New funs, split from comint-match-partial-filename.
21061 (comint-dynamic-complete): Use completion-at-point.
21062 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
21063
e8974c48
DA
210642011-03-24 Drew Adams <drew.adams@oracle.com>
21065
21066 * thingatpt.el: Support `defun'.
21067
def71b5e
LL
210682011-03-23 Leo Liu <sdl.web@gmail.com>
21069
cb5af48e
LL
21070 * abbrevlist.el: Move to obsolete/abbrevlist.el.
21071
def71b5e
LL
21072 * help-mode.el (help-mode-finish): Tweak regexp.
21073
927c53e7
GM
210742011-03-23 Glenn Morris <rgm@gnu.org>
21075
18d05bed
GM
21076 * eshell/esh-opt.el (eshell-eval-using-options):
21077 Do not bind unused local variable `eshell-option-stub'.
21078
927c53e7
GM
21079 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
21080
9d0da923
JB
210812011-03-22 Juanma Barranquero <lekktu@gmail.com>
21082
21083 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
21084 keymap variable in `with-no-warnings' to avoid a warning when the
21085 keymap has been already `defconst'ed.
21086
4b978a67
LL
210872011-03-22 Leo Liu <sdl.web@gmail.com>
21088
21089 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
21090 encode all chars in abbrevs; otherwise use emacs-mule or
21091 utf-8-emacs. (Bug#8308)
21092
5fd62452
JB
210932011-03-22 Juanma Barranquero <lekktu@gmail.com>
21094
0b1596c6
JB
21095 * simple.el (backward-delete-char-untabify):
21096 Avoid warning about using `delete-backward-char'.
21097
5fd62452
JB
21098 * image.el (image-type-file-name-regexps): Make it variable.
21099 `imagemagick-register-types' modifies it, and the user may want
21100 to add new extensions for known image types.
21101 (imagemagick-register-types): Throw error if not using ImageMagick.
21102
0b4e93f1
LL
211032011-03-22 Leo Liu <sdl.web@gmail.com>
21104
21105 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
21106 located before rcirc-prompt-end-marker.
21107 (rcirc-complete): Error if point is not after rcirc prompt.
21108 Handle the case when table is nil.
9882e214 21109 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 21110
fccee4ab
CY
211112011-03-22 Chong Yidong <cyd@stupidchicken.com>
21112
21113 * custom.el (custom--inhibit-theme-enable): Make it affect only
21114 custom-theme-set-variables and custom-theme-set-faces.
21115 (provide-theme): Ignore custom--inhibit-theme-enable.
21116 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
21117 (custom-enabling-themes): Delete variable.
d86d2721
SM
21118 (enable-theme): Accept only loaded themes as arguments.
21119 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
21120 (custom-enabled-themes): Forbid themes from setting this.
21121 Eliminate use of custom-enabling-themes.
21122 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 21123
af896da6
LL
211242011-03-21 Leo Liu <sdl.web@gmail.com>
21125
21126 * ido.el (ido-read-internal): Add ido-selected to history instead
21127 of user input.
21128
78f64af0
SM
211292011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
21130
21131 * subr.el (deferred-action-list, deferred-action-function):
21132 Mark obsolete.
21133
b16ac1ec
LL
211342011-03-21 Leo Liu <sdl.web@gmail.com>
21135
810f7698
LL
21136 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
21137 change on 2011-02-13 (bug#8309).
21138
b16ac1ec
LL
21139 * minibuffer.el (read-file-name-function): Change default value.
21140 (read-file-name--defaults): Rename from read-file-name-defaults.
21141 (read-file-name-default): Rename from read-file-name.
21142 (read-file-name): Call read-file-name-function.
21143
4e05e67e
GM
211442011-03-21 Glenn Morris <rgm@gnu.org>
21145
21146 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
21147 Doc fixes.
21148
4359915b
CY
211492011-03-21 Chong Yidong <cyd@stupidchicken.com>
21150
21151 * cus-theme.el: Add missing provide statement.
21152 (customize-create-theme): Extract theme value correctly.
21153 (custom-theme-visit-theme): Autoload.
21154 (customize-create-theme): Prompt before inserting default faces.
21155
1fe275ee
JB
211562011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
21157
21158 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
21159 units and musical notes.
21160
cd394be1 211612011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
21162
21163 * ido.el (ido-read-internal): Use completing-read-default.
21164 (ido-completing-read): Fix compatibility with completing-read.
21165
7d476bde
CO
211662011-03-20 Christian Ohler <ohler@gnu.org>
21167
21168 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
21169 (ert-delete-all-tests): Use `called-interactively-p' rather than
21170 `interactive-p'.
21171 (ert--make-xrefs-region): Respect END.
21172
fe0fb33e
CY
211732011-03-19 Chong Yidong <cyd@stupidchicken.com>
21174
ff854b0b
CY
21175 * dired-aux.el (dired-create-directory): Signal an error if the
21176 directory already exists (Bug#8246).
21177
fe0fb33e
CY
21178 * facemenu.el (list-colors-display): Call list-faces-display
21179 inside with-help-window.
21180 (list-colors-print): Use display property to align the final
21181 column, instead of checking window-width.
21182
576bce32
EZ
211832011-03-19 Eli Zaretskii <eliz@gnu.org>
21184
4d61f28d 21185 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
21186 windows-nt systems.
21187 (emerge-protect-metachars): Quote correctly for ms-dos and
21188 windows-nt systems.
21189
89c41d68 211902011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
21191
21192 * info.el (info-initialize): Replace all uses of `:' with
21193 path-separator for compatibility with non-Unix systems.
21194 Cache quoting of path-separator. (Bug#8258)
21195
b14e3e21 211962011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
21197
21198 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
21199 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
21200 (mouse-avoidance-mode): Fix typos in docstrings.
21201
4525ce3e
CY
212022011-03-19 Chong Yidong <cyd@stupidchicken.com>
21203
21204 * startup.el (package-subdirectory-regexp): Move from package.el.
21205 Omit \\` and \\', and let callers add them.
21206
21207 * emacs-lisp/package.el (package-strip-version)
21208 (package-load-all-descriptors): Add \\` and \\' to
21209 package-subdirectory-regexp before using it.
21210 (package-untar-buffer): New arg DIR; ensure that file untars only
21211 into this expected directory. Remove superfluous delete-region.
21212 (package-unpack): Caller changed.
21213 (package-tar-file-info): Use package-subdirectory-regexp.
21214
a904a09a 212152011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 21216
a904a09a
SM
21217 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
21218 diff-mode-shared-map (bug#8284).
21219 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
21220
212212011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
21222
21223 * calendar/time-date.el (format-seconds): Use assoc instead of
21224 assoc-string, since assoc-string doesn't exist in XEmacs.
21225
171fc304
JB
212262011-03-17 Juanma Barranquero <lekktu@gmail.com>
21227
21228 * custom.el (custom-known-themes): Reflow docstring.
21229 (custom-theme-load-path): Fix typo in docstring.
21230 (load-theme): Fix typo in error message.
21231 (custom-available-themes, custom-variable-theme-value):
21232 Use `let', not `let*'.
21233
d71990a1
JB
212342011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
21235
21236 * calc/README: Mention inclusion of musical notes.
21237
21238 * calc/calc-units.el (calc-lu-quant): Rename from
21239 `calc-logunits-quantity'.
21240 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
21241 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
21242 (calc-db): Rename from `calc-dblevel'.
21243 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
21244 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
21245 (calc-np): Rename from `calc-nplevel'.
21246 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
21247 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
21248 (calc-lu-plus): Rename from `calc-logunits-add'.
21249 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
21250 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
21251 (calc-lu-minus): Rename from `calc-logunits-sub'.
21252 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
21253 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
21254 (calc-lu-times): Rename from `calc-logunits-mul'.
21255 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
21256 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
21257 (calc-lu-divide): Rename from `calc-logunits-div'.
21258 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
21259 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
21260
21261 * calc/calc-ext.el (calc-init-extensions): Update the names of the
21262 functions being autoloaded.
21263
21264 * calc/calc.el (calc-lu-power-reference): Rename from
21265 `calc-logunits-power-reference'.
21266 (calc-lu-field-reference): Rename from
21267 `calc-logunits-field-reference'.
21268
7a71b18d
GM
21269 * calc/calc-help.el (calc-l-prefix-help):
21270 Mention musical note functions.
d71990a1 21271
40c2934b
SM
212722011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
21273
21274 * minibuffer.el (completion-all-sorted-completions):
21275 Use :completion-cycle-penalty text property if present.
21276
b0911414
KM
212772011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
21278
21279 * allout.el (allout-yank-processing): Adjust for new rebulleting
21280 regime so bullet being yanked is used without prompting the user
21281 for a choice.
21282
8a05b668
JB
212832011-03-16 Juanma Barranquero <lekktu@gmail.com>
21284
21285 * startup.el (command-line): Warn the user that _emacs is deprecated.
21286
5ba5fb81
JB
212872011-03-16 Juanma Barranquero <lekktu@gmail.com>
21288
21289 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
21290 (delphi-verbose, delphi-comment-face, delphi-string-face)
21291 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
21292 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
21293 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
21294 (delphi-new-comment-line, delphi-font-lock-defaults)
21295 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
21296 Fix typos in docstrings.
21297
2dab465b
KM
212982011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
21299
5ba5fb81 21300 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
21301 Invert the roles of character and string values for INSTEAD, so a
21302 string is used for the more common case of a defaulting prompt.
21303
0adf5618
SM
213042011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
21305
21306 * progmodes/ruby-mode.el (ruby-backward-sexp):
21307 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
21308 * play/gamegrid.el (gamegrid-make-face):
21309 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
21310 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
21311 * notifications.el (notifications-notify):
21312 * net/xesam.el (xesam-search-engines):
21313 * net/quickurl.el (quickurl-list-insert):
21314 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
21315
d72700e5
CY
213162011-03-15 Chong Yidong <cyd@stupidchicken.com>
21317
21318 * startup.el (command-line): Update package subdirectory regexp.
21319
49c5410a
SM
213202011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
21321
c6eee9aa
SM
21322 * allout.el (allout-abbreviate-flattened-numbering)
21323 (allout-mode-deactivate-hook): Fix up obsolescence "date".
21324
49c5410a
SM
21325 * subr.el (read-char-choice): Only show the cursor after the prompt,
21326 not after the answer.
21327
047b2bb9
KR
213282011-03-15 Kevin Ryde <user42@zip.com.au>
21329
21330 * help-fns.el (variable-at-point): Skip leading quotes, if any
21331 (bug#8253).
21332
0a57d256
SM
213332011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
21334
21335 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
21336 warning message.
21337
77c992bc
MA
213382011-03-14 Michael Albinus <michael.albinus@gmx.de>
21339
21340 * shell.el (shell): When called interactively, offer to change the
21341 shell file name on remote hosts.
21342
eebc475d
TZ
213432011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
21344
21345 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
21346 integration for LDAP parameters. The host, base, user or binddn,
21347 and secret tokens can be specified in a netrc file, for instance.
21348 This is optional because an `auth-source' parameter must be
21349 specified in the search attributes.
21350
9d05d1ba
JB
213512011-03-13 Juanma Barranquero <lekktu@gmail.com>
21352
21353 * help.el (describe-mode): Link to the mode's definition (bug#8185).
21354
09d9db2c
GM
213552011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
21356
21357 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
21358 into declaration. Remove redundant and harmful binding.
21359
213602011-03-12 Eli Zaretskii <eliz@gnu.org>
21361
21362 * files.el (file-ownership-preserved-p): Pass `integer' as an
21363 explicit 2nd argument to `file-attributes'. If the file's owner
21364 is the Administrators group on Windows, and the current user is
21365 Administrator, consider that a match.
21366
21367 * server.el (server-ensure-safe-dir): Consider server directory
21368 safe on MS-Windows if its owner is the Administrators group while
21369 the current Emacs user is Administrator. Use `=' to compare
21370 numerical UIDs, since they could be integers or floats.
21371
219bd536
JB
213722011-03-12 Juanma Barranquero <lekktu@gmail.com>
21373
21374 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
21375
f3afd36b
MA
213762011-03-12 Michael Albinus <michael.albinus@gmx.de>
21377
21378 Sync with Tramp 2.2.1.
21379
21380 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
21381
21382 * net/trampver.el: Update release number.
21383
3aaaa6f1
SM
213842011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
21385
94642599
SM
21386 * progmodes/compile.el (compilation--previous-directory): Fix up
21387 various nil/dead-marker mismatches (bug#8014).
21388 (compilation-directory-properties, compilation-error-properties):
21389 Don't call it at a position past the one we're about to change.
21390
3aaaa6f1
SM
21391 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
21392 Disable obsolescence warnings in the file that declares it.
21393
14239447
KM
213942011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
21395
099c39a4
JB
21396 * allout-widgets.el (allout-widgets-tally):
21397 Initialize allout-widgets-tally as a hash table rather than nil to
21398 prevent mode-line redisplay warnings. Also, clarify the module
21399 description and fix a comment typo.
14239447 21400
135e287c
JB
214012011-03-11 Juanma Barranquero <lekktu@gmail.com>
21402
21403 * help-fns.el (describe-variable): Don't complete keywords.
21404 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
21405
ffbf300e
CY
214062011-03-10 Chong Yidong <cyd@stupidchicken.com>
21407
ba08b241
CY
21408 * emacs-lisp/package.el (package-version-join): Impose a standard
21409 string representation for pre/alpha/beta version lists.
21410 (package-unpack-single): Standardize the directory name by passing
21411 it through package-version-join.
21412 (package-strip-rcs-id): Accept any version string that does not
21413 signal an error in version-to-list.
ffbf300e 21414
f346fd6b
MA
214152011-03-10 Michael Albinus <michael.albinus@gmx.de>
21416
21417 * simple.el (delete-trailing-whitespace): Return nil for the
21418 benefit of `write-file-functions'.
21419
ccb55d27
GM
214202011-03-10 Glenn Morris <rgm@gnu.org>
21421
5ceaac0c
GM
21422 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
21423
02da65ff
GM
21424 * vc/vc-git.el (vc-git-program): New option.
21425 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
21426 (vc-git--call): Use it.
21427
b2f603cc
GM
21428 * eshell/esh-util.el (eshell-condition-case): Doc fix.
21429
5772caab
GM
21430 * cus-edit.el (Custom-newline): If no button at point, look
21431 for a subgroup button at start-of-line. (Bug#2298)
21432
ccb55d27
GM
21433 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
21434
ec6ecaed
JD
214352011-03-10 Julien Danjou <julien@danjou.info>
21436
21437 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
21438 `cursor-type' is nil.
21439
9d5aa01d
JB
214402011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
21441
21442 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
21443
b6a5875b
KM
214442011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
21445
7a71b18d 21446 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
21447 preserves the existing header prefix, rebulleting it if necessary,
21448 rather than replacing it. This is necessary for proper operation
21449 of cooperative addons like allout-widgets.
1154d12e
JB
21450 (allout-make-topic-prefix, allout-rebullet-heading):
21451 Change SOLICIT arg to INSTEAD, and interpret additionally a string
21452 value as alternate bullet to be used, instead of prompting the user
21453 for a bullet character.
b6a5875b 21454
ee545c35
MA
214552011-03-09 Michael Albinus <michael.albinus@gmx.de>
21456
d86d2721
SM
21457 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
21458 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
21459 `tramp-default-port'.
21460
c47971d7
DD
214612011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
21462
21463 * net/rcirc.el (rcirc-handler-001): Remove useless
21464 with-rcirc-process-buffer.
21465 (rcirc-check-auth-status): Swap arguments to string-match.
21466
13522cb4
GM
214672011-03-09 Glenn Morris <rgm@gnu.org>
21468
0be6f4f1
GM
21469 * shell.el (shell-mode):
21470 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
21471
13522cb4
GM
21472 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
21473 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
21474
515de2e3
CY
214752011-03-08 Chong Yidong <cyd@stupidchicken.com>
21476
21477 * emacs-lisp/package.el (package-refresh-contents)
21478 (package-menu-execute): Use condition-case-no-debug.
21479
b511b994
MA
214802011-03-08 Michael Albinus <michael.albinus@gmx.de>
21481
21482 * simple.el (shell-command-to-string): Use `process-file'.
21483
21484 * emacs-lisp/package.el (package-tar-file-info): Handle also
21485 remote files.
21486
d86d2721
SM
21487 * emacs-lisp/package-x.el (package-upload-buffer-internal):
21488 Use `equal' for upload base check.
b511b994 21489
25bbfb31
AM
214902011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
21491
21492 * textmodes/texinfo.el (texinfo-environments):
21493 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
21494
be996521
GM
214952011-03-08 Glenn Morris <rgm@gnu.org>
21496
e9c8529f
GM
21497 * cus-start.el (cursor-in-non-selected-windows):
21498 Fix :set quoting oddness. (Bug#8192)
21499
be996521
GM
21500 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
21501 in some setf expressions. (Bug#2159)
21502
2bb5649e
CY
215032011-03-08 Chong Yidong <cyd@stupidchicken.com>
21504
21505 * custom.el (custom-available-themes): Return themes in
21506 alphabetical order.
21507
33383987 21508See ChangeLog.15 for earlier changes.
e3d51b27
MR
21509
21510;; Local Variables:
21511;; coding: utf-8
e3d51b27
MR
21512;; End:
21513
acaf905b 21514 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
21515
21516 This file is part of GNU Emacs.
21517
21518 GNU Emacs is free software: you can redistribute it and/or modify
21519 it under the terms of the GNU General Public License as published by
21520 the Free Software Foundation, either version 3 of the License, or
21521 (at your option) any later version.
21522
21523 GNU Emacs is distributed in the hope that it will be useful,
21524 but WITHOUT ANY WARRANTY; without even the implied warranty of
21525 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21526 GNU General Public License for more details.
21527
21528 You should have received a copy of the GNU General Public License
21529 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.