Fix minor compilation problem with MSVC.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
375e49d4
SM
12012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
4 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
5
16ce6ccd
KF
62012-10-01 Karl Fogel <kfogel@red-bean.com>
7
8 * bookmark.el (bookmark-version-control): Give tags in the
9 :type choices (Bug#12309), and improve doc string.
e4c4abdd
KF
10 (bookmark-write-file): Bind `print-circle' to `t' to allow
11 circular custom bookmark types. (Bug#12503)
16ce6ccd 12
19e54a4d
PE
132012-10-01 Paul Eggert <eggert@cs.ucla.edu>
14
86ec63ba
PE
15 Revert the FOLLOW-SYMLINKS change for file-attributes.
16 * files.el (remote-file-name-inhibit-cache, after-find-file):
17 * time.el (display-time-file-nonempty-p): Undo last change.
18
19e54a4d
PE
19 * profiler.el (profiler-sampling-interval): Change default back to 1.
20 See Stefan Monnier in
21 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
22
0478776b
FEG
232012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
24
25 Shell output catching a la gud-gdb.
26 * progmodes/python.el (python-shell-fetch-lines-in-progress)
375e49d4
SM
27 (python-shell-fetch-lines-string, python-shell-fetched-lines):
28 New Vars.
0478776b
FEG
29 (python-shell-fetch-lines-filter): New function.
30 (python-shell-send-string-no-output): Use them.
31
c22bac2c
TM
322012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
33
34 * profiler.el (profiler-sampling-interval): Rename from
35 profiler-sample-interval.
36 (profiler-sampling-interval): Default to 10.
37 (profiler-find-profile): New command (was profiler-find-log).
38 (profiler-find-profile-other-window): New command.
39 (profiler-find-profile-other-frame): New command.
40 (profiler-profile): Introduce API-level data structure.
41
e7a2937b
PE
422012-09-30 Paul Eggert <eggert@cs.ucla.edu>
43
44 file-attributes has a new optional arg FOLLOW-SYMLINKS.
45 * files.el (remote-file-name-inhibit-cache):
46 * time.el (display-time-file-nonempty-p): Use it.
47 * files.el (after-find-file): Don't chase links before calling
48 file-exists-p, as file-exists-p already does the right thing.
49
4f595e15
RA
502012-09-30 Ralf Angeli <angeli@caeruleus.net>
51
52 Merge from standalone RefTeX repository.
53
54 The following ChangeLog entries are shortened versions of the
55 original ones with file paths adapted. A not so strongly edited
56 version of the original ChangeLog can be found in the commit log.
57
58 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
375e49d4
SM
59 (reftex-arg-cite): Use `reftex-cite-key-separator'.
60 Correctly handle new value type returned by `reftex-citation'.
4f595e15
RA
61
62 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
375e49d4
SM
63 that entries with whitespace at various places are found.
64 Doc fix. Include entries that are cross-referenced from cited entries.
4f595e15
RA
65 Include @String definitions in the resulting bib file. Add header
66 and footer defined in `reftex-create-bibtex-header' and
67 `reftex-create-bibtex-footer'.
68 (reftex-do-citation): Make it possible again to insert
69 non-existent entries. Save match data when asking for optional
70 arguments. Return all keys, not just the first one.
71 (reftex-all-used-citation-keys): Fix regexp to correctly extract
72 all citations in the same line.
73 (reftex-parse-bibtex-entry): Accept additional optional argument
74 `raw' and keep quotes or braces if it is non-nil. Match fields
75 containing hyphens besides word constituents.
76 (reftex-get-string-refs): New function.
77 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
78 and ask if it should be reread in case it did.
79 (reftex-pop-to-bibtex-entry)
80 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
81 entries with spaces or tabs in front of arguments.
82 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
375e49d4
SM
83 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
84 Match entries containing numbers and symbol constituents.
85 (reftex-do-citation, reftex-figure-out-cite-format):
86 Use `reftex-cite-key-separator'.
4f595e15
RA
87
88 * textmodes/reftex-dcr.el: Move provide statement to end of file.
89 (reftex-mouse-view-crossref): Explain why point is set.
90
91 * textmodes/reftex-global.el: Whitespace changes.
92
93 * textmodes/reftex-index.el: Move provide statement to end of
94 file.
95 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
96 (reftex-index-visit-phrases-buffer): Set marker when visiting
97 buffer. This allows for returning from the phrases file to the
98 file one was just editing instead of the file where the last
99 phrases was added from.
100 (reftex-index-phrases-syntax-table): New variable. Give ?\"
101 punctuation syntax as it usually is not used as string quote in
102 TeX-related modes and may occur unmatched. The change also
103 prevents fontification of quoted content.
104 (reftex-index-phrases-mode): Use it.
105
375e49d4
SM
106 * textmodes/reftex-parse.el (reftex-parse-from-file):
107 Move backward one char if a `\' was matched after a section macro.
4f595e15
RA
108 (reftex-parse-from-file): Use beginning of match instead of end as
109 bound.
110
111 * textmodes/reftex-ref.el: Adapt creation of
112 `reftex-<package>-<macro>' functions to new structure of
113 `reftex-ref-style-alist'.
375e49d4
SM
114 (reftex-reference): Use `reftex-ref-style-list' function.
115 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
4f595e15
RA
116 reference macro if `reftex-ref-macro-prompt' is non-nil.
117 (reftex-reference): Pass refstyle to `reftex-format-special'.
118 Determine reference macro by looking at
375e49d4
SM
119 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
120 Use only one special format function.
4f595e15
RA
121 (reftex-varioref-vref, reftex-fancyref-fref)
122 (reftex-fancyref-Fref): Remove definitions. The functions are now
123 generated from `reftex-ref-style-alist'.
124 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
125 Remove.
126 (reftex-format-special): New function.
127
128 * textmodes/reftex-sel.el
129 (reftex-select-cycle-ref-style-internal): Adapt to new structure
130 of `reftex-ref-style-alist'. Remove code for testing macro type.
131 (reftex-select-toggle-varioref)
132 (reftex-select-toggle-fancyref): Remove.
133 (reftex-select-cycle-ref-style-internal)
134 (reftex-select-cycle-ref-style-forward)
135 (reftex-select-cycle-ref-style-backward): New functions.
136 (reftex-select-label-map): Use `v' and `V' for general cycling
137 through reference styles. Add `p' for switching between number
138 and page reference types.
139
375e49d4
SM
140 * textmodes/reftex-toc.el (reftex-re-enlarge):
141 Call `enlarge-window' only if there is something to do because in Emacs
4f595e15
RA
142 the horizontal version throws an error even if the parameter is 0.
143
144 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
145 (reftex-plug-into-AUCTeX): Doc fix.
146 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
147 string. Adapt to new name.
148 (reftex-ref-style-alist): Change structure so that it is not
149 possible to use multiple different package names within a style.
375e49d4
SM
150 Remove the symbols for symbols for macro type distinction.
151 Add characters for macro selection.
4f595e15
RA
152 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
153 (reftex-create-bibtex-footer): New variables.
154 (reftex-format-ref-function): Mention third argument of special
155 format function.
375e49d4
SM
156 (reftex-ref-style-alist, reftex-ref-style-default-list):
157 New variables.
4f595e15
RA
158 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
159 to new implementation. Mark as obsolete. Add compatibility code
160 for honoring the variable values in case they are set.
375e49d4
SM
161 (reftex-cite-format-builtin, reftex-bibliography-commands):
162 Add support for ConTeXt.
163 (reftex-format-ref-function, reftex-format-cite-function):
164 Fix custom type.
4f595e15
RA
165 (reftex-cite-key-separator): New variable.
166
167 * textmodes/reftex.el (reftex-syntax-table-for-bib)
168 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
169 `reftex-syntax-table' because parens have to retain their paren
170 syntax in order for parsing of BibTeX entries like @book(...) to
171 work.
172 (reftex-in-comment): Do not error out if `comment-start-skip' is
173 not set. Deal correctly with escaped comment characters.
375e49d4
SM
174 (reftex-tie-multifile-symbols): Add doc string.
175 Initialize `reftex-ref-style-list'.
4f595e15
RA
176 (reftex-untie-multifile-symbols): Add doc string.
177 (reftex-add-index-macros): Doc fix.
178 (reftex-ref-style-activate, reftex-ref-style-toggle)
179 (reftex-ref-style-list): New functions.
180 (reftex-mode-menu): Use them. Adapt to new structure of
181 `reftex-ref-style-alist'.
182 (reftex-select-with-char): Kill the RefTeX Select buffer when
183 done.
184 (reftex-remove-if): New function.
185 (reftex-erase-all-selection-and-index-buffers)
186 (reftex-mode-menu): Reference styles are now computed from
187 `reftex-ref-style-alist'. Fix typo.
188 (reftex-report-bug): New function.
189 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
190 algorithms with O(n log n). Introduce optional argument SORT (not
191 yet used).
192
440ba395
FEG
1932012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
194
195 Enhancements for triple-quote string syntax.
375e49d4
SM
196 * progmodes/python.el (python-syntax-propertize-function):
197 Match both quote cases in one regexp.
440ba395
FEG
198 (python-syntax-stringify): Handle matches properly.
199
4c478e6b
JL
2002012-09-30 Juri Linkov <juri@jurta.org>
201
202 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
203 to nil around the call to `add-text-properties' to prevent
204 directory time modification by lock_file. (Bug#2295)
205 * tar-mode.el (tar-summarize-buffer): Idem.
206
d80d54b2
JL
2072012-09-30 Juri Linkov <juri@jurta.org>
208
209 * facemenu.el (list-colors-sort): Add option "Luminance".
210 (list-colors-sort-key): Implement it.
211
212 * vc/diff-mode.el (diff-refine-removed):
213 * vc/ediff-init.el (ediff-fine-diff-A):
214 * vc/smerge-mode.el (smerge-refined-removed):
215 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
216
d7e642cc
JD
2172012-09-30 Jan Djärv <jan.h.d@swipnet.se>
218
219 * term/ns-win.el (x-file-dialog): New function.
220
ee41332b
JB
2212012-09-30 Juanma Barranquero <lekktu@gmail.com>
222
223 * ido.el (ido-max-directory-size): Default to nil; the current
224 default is small for POSIX systems, and impractical on Windows 7
225 now that lstat returns directory sizes for NTFS.
226
5938d519
MR
2272012-09-30 Martin Rudalics <rudalics@gmx.at>
228
229 In buffer display functions handle window-height/window-width
230 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
375e49d4
SM
231 * window.el (window--display-buffer): New argument ALIST.
232 Obey window-height and window-width alist entries.
233 (window--try-to-split-window): New argument ALIST.
234 Bind window-combination-limit to t when the window's size shall be
5938d519
MR
235 changed and window-combination-limit equals `window-size'.
236 (display-buffer-in-atom-window)
237 (display-buffer-in-major-side-window)
238 (display-buffer-in-side-window, display-buffer-same-window)
239 (display-buffer-reuse-window, display-buffer-pop-up-frame)
240 (display-buffer-pop-up-window, display-buffer-below-selected)
241 (display-buffer-at-bottom, display-buffer-in-previous-window)
242 (display-buffer-use-some-window): Adjust all callers of
243 window--display-buffer and window--try-to-split-window.
244 (fit-frame-to-buffer): New option.
245 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
246 is non-nil.
247 (display-buffer-in-major-side-window): Evaluate window-height /
248 window-width alist entries.
249
250 * help.el (temp-buffer-resize-frames)
251 (temp-buffer-resize-regexps): Remove options.
252 (temp-buffer-resize-mode): Adjust doc-string.
253 (resize-temp-buffer-window): Don't consult
254 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
255 temp-buffer-resize-frames.
256
375e49d4
SM
257 * dired.el (dired-mark-pop-up):
258 Call display-buffer-below-selected with a fit-window-to-buffer alist
5938d519
MR
259 entry.
260
c4c0c2df
CY
2612012-09-30 Chong Yidong <cyd@gnu.org>
262
48de8b12
CY
263 * server.el (server-host): Document the security implications.
264 (server-auth-key): Doc fix.
265
266 * startup.el (initial-buffer-choice): Doc fix.
267
268 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
269
a97dc380
CY
270 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
271 restriction change.
272
d39d3c8e
CY
273 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
274
c4c0c2df
CY
275 * help-fns.el (help-fns--obsolete): Fix last change.
276
98a5e33b
SM
2772012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
278
34cf6f39
SM
279 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
280 (minor-mode-map-alist): Remove redundant code.
281
e01c13fe
SM
282 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
283 visited in a buffer.
284 (cvs-insert-visited-file): New function.
285 (find-file-hook): Use it.
286
287 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
288
02661b3a
SM
289 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
290 chose face.
291 (log-edit-empty-buffer-p): Don't require a space after a header.
292
43711d4b
SM
293 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
294
38a30d64
SM
295 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
296
4ffb41a9
SM
297 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
298 a proper minor-mode.
299
98a5e33b
SM
300 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
301
de82e29b
GM
3022012-09-29 Glenn Morris <rgm@gnu.org>
303
5cc2e639
GM
304 * winner.el (winner-mode): Remove variable (let define-minor-mode
305 handle it).
306 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
307 Doc fixes.
308 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
309 (winner-mode): Use define-minor-mode.
310
7bd302eb
GM
311 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
312 the full definition in loaddefs, rather than duplicating it.
313
2923922f 314 * help-macro.el (three-step-help): No need to autoload defcustom.
ced08382 315
0e3e4156
GM
316 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
317 (inferior-lisp-program, inferior-lisp-load-command)
318 (inferior-lisp-prompt, inferior-lisp-mode-hook):
2923922f 319 No need to autoload defcustoms.
0e3e4156 320
de82e29b
GM
321 * hippie-exp.el (hippie-expand-try-functions-list)
322 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
323 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
324 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
2923922f 325 (hippie-expand-only-buffers): No need to autoload defcustoms.
de82e29b
GM
326 * progmodes/vhdl-mode.el (vhdl-line-expand):
327 Explicitly load hippie-exp, so it does not get autoloaded
328 while hippie-expand-try-functions-list is let-bound.
329
e60b51ab
GM
3302012-09-28 Glenn Morris <rgm@gnu.org>
331
277f0cfa
GM
332 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
333
e60b51ab
GM
334 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
335 Only "cl.el" counts as cl these days.
336
53baf48a
JL
3372012-09-28 Juri Linkov <juri@jurta.org>
338
339 Display archive errors in the echo area instead of inserting
340 to the file buffer.
341
342 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
343 to STDERR-TEST that can be a regexp matching a successful output.
344 Create a temporary file and redirect stderr to it. Search for
345 STDERR-TEST in the stderr output and display it in the echo area
346 if no match is found.
347 (archive-extract-by-file): New function like
348 `archive-extract-by-stdout' but extracting archives to files
349 and looking for successful matches in stdout. Function body is
350 mostly copied from `archive-rar-extract'.
351 (archive-rar-extract): Use `archive-extract-by-file'.
352 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
353
9c1228c3
LL
3542012-09-28 Leo Liu <sdl.web@gmail.com>
355
375e49d4
SM
356 * pcomplete.el (pcomplete-show-completions):
357 Use minibuffer-message to make pcomplete usable in minibuffer.
147c0425 358
9c1228c3
LL
359 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
360
7f457c06
SM
3612012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
362
3df749b0
SM
363 * type-break.el: Use lexical-binding.
364 (type-break-mode): Use define-minor-mode.
365
7f457c06
SM
366 * emacs-lisp/pcase.el (pcase--mark-used): New.
367 (pcase--u1): Use it (bug#12512).
368
369 * custom.el (load-theme): Set buffer-file-name so the load is recorded
370 in load-history with the right file name.
371
c00ebc98
TH
3722012-09-28 Tassilo Horn <tsdh@gnu.org>
373
374 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
375 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
376 (doc-view-get-bounding-box): Make bounding box slicing work for
377 ODF and DVI documents.
378
96fb7170
GM
3792012-09-28 Glenn Morris <rgm@gnu.org>
380
381 * type-break.el (type-break-mode, type-break-interval)
382 (type-break-good-rest-interval, type-break-keystroke-threshold):
383 No need to autoload.
384 (type-break-good-rest-interval, type-break-keystroke-threshold):
385 Add :set-after.
386
5bc93c67
CY
3872012-09-28 Chong Yidong <cyd@gnu.org>
388
389 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
390 Add :version tag.
391
9cad61d6
SM
3922012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
393
e28e67b3 394 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
9cad61d6 395
daee954c
GM
3962012-09-27 Glenn Morris <rgm@gnu.org>
397
a88324d4
GM
398 * faces.el (x-display-name): Declare (for without-x builds).
399
8e5064e5
GM
400 * linum.el (linum-format): Don't autoload it. Improve :type.
401
cc1783c2
GM
402 * progmodes/tcl.el: Don't require outline when compiling.
403 (outline-regexp, outline-level): Declare.
1dddcf4c
GM
404 * textmodes/sgml-mode.el: Don't require outline when compiling.
405 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
406
48c339f2
GM
407 * term.el (term-ansi-reset):
408 Try setting term-ansi-face-already-done to nil. (Bug#11785)
409
daee954c
GM
410 * vc/vc.el (vc-next-action): Only gripe about committing read-only
411 files for RCS and SCCS. (Bug#9781)
412
b7f42161
CY
4132012-09-27 Chong Yidong <cyd@gnu.org>
414
415 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
416 change; value should be t.
417
a2e770db
SM
4182012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
419
83600dc8
SM
420 * image-mode.el: Use lexical-binding.
421 (image-mode-winprops): Use t to stand for the window of
422 a buffer that's not displayed.
423 * doc-view.el (doc-view-new-window-function): Handle the new
424 t in winprops.
425 (doc-view-enlarge): Make it a real nop if the size is not changed.
426 (doc-view-display): Handle the case where the buffer is not (yet?)
427 displayed in any window.
428 (doc-view-saved-settings): New var.
429 (doc-view-mode): Use it.
430 (doc-view-fallback-mode): Set it.
431
a2e770db
SM
432 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
433 Set lexical-binding.
434 (minibuffer-eldef-shorten-default): New var.
435 (minibuffer-default-in-prompt-regexps): Use it for new default.
436 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
437
e3b60857
JB
4382012-09-26 Juanma Barranquero <lekktu@gmail.com>
439
440 * international/uni-bidi.el:
441 * international/uni-category.el:
442 * international/uni-name.el:
443 * international/uni-numeric.el: Regenerate.
444
3a880af4
SM
4452012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
446 Stefan Monnier <monnier@iro.umontreal.ca>
447
448 * profiler.el: New file.
449
07b1a5fb
SM
4502012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
451
452 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
453 (testcover-reinstrument): Simplify with CSE.
454
42019c2e
JB
4552012-09-26 Juanma Barranquero <lekktu@gmail.com>
456
457 * window.el (temp-buffer-window-setup): Fix typo in docstring.
458
179f044b
WS
4592012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
460
461 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
462 (verilog-auto-input, verilog-auto-insert-lisp)
463 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
464 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
465 (verilog-auto-unused, verilog-auto-wire)
466 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
467 newline. Reported by Andrew Jones.
468 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
469 Reported by Brad Dobbie.
07b1a5fb
SM
470 (verilog-batch-delete-trailing-whitespace):
471 Create verilog-batch-delete-trailing-whitespace.
472 Reported by Brad Dobbie.
179f044b
WS
473 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
474 parameters from another module. Reported by Dan Katz.
475 (verilog-auto, verilog-auto-assign-modport)
476 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
477 AUTOINOUTMODPORT for UVM interface module shell generation.
478 Reported by Brad Dobbie.
479 (verilog-auto-inst-interfaced-ports): Make default nil, as more
480 standard behavior.
481 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
482 Reported by Matt Martin.
483
9c52dd5a
MR
4842012-09-25 Martin Rudalics <rudalics@gmx.at>
485
486 * window.el (window--resize-child-windows): When resizing child
487 windows proportionally, process them in reverse order to
488 preserve the "when splitting a window the new one gets the odd
489 line" behavior.
490 (window--resize-root-window-vertically): When resizing the
491 minibuffer window try to affect only windows at the bottom of the
492 frame. (Bug#12419)
493
863666eb
CY
4942012-09-25 Chong Yidong <cyd@gnu.org>
495
496 * subr.el (declare): Doc fix.
497
498 * help-fns.el (help-fns--obsolete): Handle macros properly.
499
59f7af81
CY
5002012-09-25 Chong Yidong <cyd@gnu.org>
501
502 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
503 this function obsolete.
504
505 * calendar/cal-x.el (calendar-two-frame-setup)
506 (calendar-only-one-frame-setup, calendar-one-frame-setup):
507 * calendar/calendar.el (american-calendar, european-calendar)
508 (calendar-for-loop):
509 * comint.el (comint-dynamic-simple-complete)
510 (comint-dynamic-complete-as-filename, comint-unquote-filename):
511 * desktop.el (desktop-load-default):
512 * dired-x.el (dired-omit-here-always)
513 (dired-hack-local-variables, dired-default-directory):
514 * emacs-lisp/derived.el (derived-mode-class):
515 * emacs-lisp/timer.el (timer-set-time-with-usecs):
516 * emacs-lock.el (toggle-emacs-lock):
517 * epa.el (epa-display-verify-result):
518 * epg.el (epg-sign-keys, epg-start-sign-keys)
519 (epg-passphrase-callback-function):
520 * eshell/esh-util.el (eshell-for):
521 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
522 (eshell-add-to-window-buffer-names):
523 * files.el (locate-file-completion):
524 * imenu.el (imenu-example--create-c-index)
525 (imenu-example--create-lisp-index)
526 (imenu-example--lisp-extract-index-name)
527 (imenu-example--name-and-position):
528 * international/mule-cmds.el (princ-list):
529 * international/mule-diag.el (decode-codepage-char):
530 * international/mule-util.el (detect-coding-with-priority):
531 * iswitchb.el (iswitchb-read-buffer):
532 * mail/mailalias.el (mail-complete):
533 * mail/sendmail.el (mail-sent-via):
534 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
535 (mouse-major-mode-menu):
536 * password-cache.el (password-read-and-add):
537 * pcomplete.el (pcomplete-parse-comint-arguments):
538 * progmodes/sh-script.el (sh-maybe-here-document):
539 * replace.el (query-replace-regexp-eval):
540 * savehist.el (savehist-load):
541 * simple.el (choose-completion-delete-max-match):
542 * term.el (term-dynamic-simple-complete):
543 * vc/ediff-init.el (ediff-check-version):
544 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
545 * vc/vc.el (vc-diff-switches-list):
546 * view.el (view-return-to-alist-update): Likewise.
547
548 * subr.el (eval-next-after-load, makehash, insert-string)
549 (assoc-ignore-representation, assoc-ignore-case): Use declare to
550 mark obsolete.
551 (mode-line-inverse-video): Variable deleted.
552
553 * international/mule-util.el (string-to-sequence): Remove.
554
555 * calendar/calendar.el (calendar-version):
556 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
557 (icalendar-convert-diary-to-ical):
558 * cus-edit.el (custom-mode):
559 * ansi-color.el (ansi-color-unfontify-region):
560 * international/latin1-disp.el (latin1-char-displayable-p):
561 * progmodes/cwarn.el (turn-on-cwarn-mode):
07b1a5fb
SM
562 * progmodes/which-func.el (which-func-update-1):
563 Use define-obsolete-function-alias.
59f7af81
CY
564
565 * net/newst-backend.el (newsticker-cache-filename):
07b1a5fb
SM
566 * net/newst-treeview.el (newsticker-groups-filename):
567 Fix incorrect obsolescence declaration.
59f7af81
CY
568
569 * allout.el (allout-passphrase-hint-string): Likewise.
570 (allout-init): Use a declare form to mark obsolete.
571
572 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
573 this applies to functions.
574
575 * iswitchb.el (iswitchb-read-buffer): Move code of
576 iswitchb-define-mode-map here, and delete that obsolete function.
577
578 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
579 font-lock-reference-face.
580
cca96c97
GM
5812012-09-25 Glenn Morris <rgm@gnu.org>
582
b06eeda8
GM
583 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
584 Doc fixes.
585
cca96c97
GM
586 * eshell/em-term.el (eshell-term-name):
587 Default to term-term-name. (Bug#12485)
588
dc4f818b
FEG
5892012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
590
cca96c97
GM
591 * progmodes/python.el (python-shell-send-buffer): Better handling
592 of "if __name__ == '__main__':" conditionals when sending the buffer.
dc4f818b 593
289c24bd
GM
5942012-09-24 Glenn Morris <rgm@gnu.org>
595
596 * eshell/esh-cmd.el (eshell-find-alias-function):
597 Tighten up file-name regexp. (Bug#12499)
598
8fb8b88f
FEG
5992012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
600
601 Enhancements for triple-quote string syntax.
602 * progmodes/python.el (python-quote-syntax): Remove.
603 (python-syntax-propertize-function): New value.
07b1a5fb
SM
604 (python-syntax-count-quotes, python-syntax-stringify):
605 New functions.
8fb8b88f 606
6c27f0f8
CY
6072012-09-24 Chong Yidong <cyd@gnu.org>
608
a5f2b6ec
CY
609 * mail/supercite.el (sc-version): Remove obsolete function.
610 (sc-describe): Don't mark as obsolete, since it is bound.
611 (sc-submit-bug-report): Remove.
612
613 * vc/log-edit.el (cvs-changelog-full-paragraphs)
614 (cvs-commit-buffer-require-final-newline): Remove.
0c765e5f
CY
615 (log-edit-require-final-newline)
616 (log-edit-changelog-full-paragraphs): Default to t.
a5f2b6ec
CY
617
618 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
619 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
620 * vc/vc.el (vc-checkout-carefully): Likewise.
621
622 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
623 (emerge-version): Remove.
624
625 * progmodes/compile.el (compile-internal): Remove.
626 (compilation-parse-errors-function): Fix typo.
627
628 * international/mule.el (set-char-table-default): Remove.
629 (set-coding-priority, make-coding-system, generic-char-p)
630 (charset-list, charset-bytes, charset-id): Use declare to mark
631 functions as obsolete.
632
633 * vc/pcvs-defs.el (cvs-buffer-name-alist)
634 (cvs-invert-ignore-marks): Remove references to obsolete vars.
635 * vc/vc-hooks.el (vc-default-registered): Don't use
636 vc-master-templates.
637
07b1a5fb
SM
638 * font-lock.el (font-lock-reference-face):
639 Use define-obsolete-variable-alias.
6c27f0f8
CY
640
641 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
642 * calendar/calendar.el (calendar-font-lock-keywords):
643 * calendar/diary-lib.el (diary-font-lock-keywords)
644 (diary-fancy-font-lock-keywords):
645 * textmodes/reftex-sel.el (reftex-insert-docstruct):
646 * textmodes/reftex-index.el (reftex-insert-index):
647 * textmodes/reftex-cite.el (reftex-format-bib-entry):
648 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
649 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
650 * progmodes/prolog.el (prolog-font-lock-keywords):
651 * progmodes/idlwave.el (idlwave-idl-keywords):
652 * progmodes/ada-mode.el (ada-font-lock-keywords):
653 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
654
bcc0adbf
GM
6552012-09-24 Glenn Morris <rgm@gnu.org>
656
657 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
658
095bb823
FEG
6592012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
660
661 * progmodes/python.el (python-indent-line): More consistent cursor
662 movement behavior.
663
70efc5c9
SM
6642012-09-23 Stefan Merten <smerten@oekonux.de>
665
666 * textmodes/rst.el: Fix compiler warning.
667
2f438239
RW
6682012-09-23 Roland Winkler <winkler@gnu.org>
669
07b1a5fb
SM
670 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
671 Transcribe also LaTeX hyphenation.
2f438239
RW
672 (bibtex-reformat): Bug fix. Do not quote twice the elements of
673 bibtex-reformat-previous-options.
674
936ad041
RW
6752012-09-23 Roland Winkler <winkler@gnu.org>
676
677 * proced.el (proced-renice-command): New variable.
678 (proced-marked-processes): New function.
679 (proced-with-processes-buffer): New macro.
680 (proced-send-signal): Use them.
681 (proced-renice): New command bound to r.
682
6fab0274
RW
6832012-09-23 Roland Winkler <winkler@gnu.org>
684
685 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
686 ibuffer-saved-filter-groups has one element, shortcut the call of
687 completing-read. (Bug#12331)
688
9a930676
CY
6892012-09-23 Chong Yidong <cyd@gnu.org>
690
691 * bindings.el (mode-line-toggle-read-only):
692 * bs.el (bs-toggle-readonly):
693 * buff-menu.el (Buffer-menu-toggle-read-only):
694 * dired.el (dired-toggle-read-only):
695 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
696
d07ff9db
CY
6972012-09-23 Chong Yidong <cyd@gnu.org>
698
699 * image.el (image-type-available-p): Adapt to init-image-library
700 argument changes.
701
51c4474e
JL
7022012-09-22 Juri Linkov <juri@jurta.org>
703
704 * dired.el (dired-mode-map): Add [remap read-only-mode] for
705 `dired-toggle-read-only'. (Bug#12462)
706
43bf5e8e
MR
7072012-09-22 Martin Rudalics <rudalics@gmx.at>
708
709 * subr.el (temp-output-buffer-show): New function.
710 (with-output-to-temp-buffer): Call temp-output-buffer-show
711 instead of internal-temp-output-buffer-show.
712
c88b867f
CY
7132012-09-22 Chong Yidong <cyd@gnu.org>
714
3df47cd5
CY
715 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
716 (Bug#12462).
717
c88b867f
CY
718 * repeat.el (repeat): Doc fix (Bug#12348).
719
720 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
721 (Bug#10909).
722
723 * simple.el (shell-command-on-region): Doc fix.
3171e303 724 (read-only-mode): Doc fix.
c88b867f 725
df9685f3
EZ
7262012-09-22 Eli Zaretskii <eliz@gnu.org>
727
728 * emacs-lisp/timer.el (run-with-idle-timer)
729 (timer-activate-when-idle): Warn against reinvoking an idle timer
730 from within its own timer action. (Bug#12447)
731
8e17c9ba
MR
7322012-09-22 Martin Rudalics <rudalics@gmx.at>
733
734 * cus-start.el (window-combination-limit): Add new optional
735 values.
736 * window.el (temp-buffer-window-show)
737 (window--try-to-split-window): Handle new values of
738 window-combination-limit (Bug#1806).
739 (split-window): Test window-combination-limit for t instead of
740 non-nil.
741 (display-buffer-at-bottom): New buffer display action function.
742 * help.el (temp-buffer-resize-regexps): New option.
743 (temp-buffer-resize-mode): Rewrite doc-string.
744 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
bd909927 745 Don't resize reused window. Suggested by Glenn Morris.
8e17c9ba 746
48a24920
SM
7472012-09-22 Stefan Merten <smerten@oekonux.de>
748
70efc5c9 749 * textmodes/rst.el: Revamp section title faces.
48a24920
SM
750 (rst-official-version)
751 (rst-package-emacs-version-alist): Sync with official version
752 V1.4.0.
753 (rst-faces-defaults, rst-set-level-default)
754 (rst-level-face-max, rst-level-face-base-color)
755 (rst-level-face-base-light, rst-level-face-format-light)
756 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
757 (rst-adornment-faces-alist): Match new setup.
758 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
759 (rst-level-5, rst-level-6): New faces.
760
82f8cd94
CY
7612012-09-22 Chong Yidong <cyd@gnu.org>
762
763 * simple.el (undo): Handle indirect buffers (Bug#8207).
764
acfa068f 7652012-09-21 Leo Liu <sdl.web@gmail.com>
a8c14da8
LL
766
767 IDO: Disable match re-ordering for buffer switching.
2bc9406c 768 * ido.el (ido-buffer-disable-smart-matches): New variable.
a8c14da8
LL
769 (ido-set-matches-1): Use it. (Bug#2042)
770
acfa068f 7712012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
a316d229
JM
772
773 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
774 Fix 2011-05-17 change. (Bug#12418)
775
acfa068f 7762012-09-21 Leo Liu <sdl.web@gmail.com>
d02e58f8
LL
777
778 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
779
acfa068f 7802012-09-21 Glenn Morris <rgm@gnu.org>
511fd0b2
GM
781
782 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
783 Be more robust about locating simple.el.
784
acfa068f 7852012-09-21 Glenn Morris <rgm@gnu.org>
fa05bfe0
GM
786
787 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
788
acfa068f
CY
7892012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
790
791 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
792
41a97e6f
JL
7932012-09-20 Juri Linkov <juri@jurta.org>
794
eb2deaff
JL
795 * replace.el (query-replace-read-from): Use `read-regexp' instead
796 of `read-from-minibuffer' when `regexp-flag' is non-nil.
797 (occur-read-primary-args): Use `read-regexp' instead of
798 `read-string'.
799 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
800 `read-from-minibuffer'.
801 * isearch.el (isearch-occur): Use `read-regexp' instead of
802 `read-string'.
803 * dired.el (dired-read-regexp): Use `read-regexp' instead of
804 `read-from-minibuffer'.
805 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
806 of `read-string'. (Bug#7567)
807
5825610b
JL
808 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
809 and allow accepting a list of strings prepended to a list of
810 standard default values. Doc fix. (Bug#12321)
811
eebbf404
JL
812 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
813
41a97e6f
JL
814 * replace.el (read-regexp): Don't add ": " when PROMPT already
815 ends with a colon and space. (Bug#12321)
816
c9e452d3
TH
8172012-09-20 Tassilo Horn <tsdh@gnu.org>
818
819 * doc-view.el (doc-view-display): Better fix for the cl-assertion
820 error.
821
ee97deee
SM
8222012-09-20 Stefan Merten <smerten@oekonux.de>
823
70efc5c9 824 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
ee97deee
SM
825 Fixes feature request bug#11711.
826 (rst-mode): Create `imenu-create-index-function'.
827 (rst-get-stripped-line): Delete after refactoring.
828 (rst-section-tree, rst-section-tree-rec)
829 (rst-section-tree-point): Refactor and document properly.
830 (rst-imenu-find-adornments-for-position)
07b1a5fb
SM
831 (rst-imenu-convert-cell, rst-imenu-create-index):
832 New function.
ee97deee 833
f490dab9
SM
8342012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
835
95b9712e
SM
836 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
837 (macroexp--expand-all): Use it.
838 (macroexp--funcall-and-return): Remove by folding it into its sole
839 caller (macroexp--warn-and-return).
840 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
841 Use macroexp--obsolete-warning.
842
f490dab9
SM
843 * calc/calc.el: Fix last change by removing the whole chunk, since it
844 was only needed back when Calc was not bundled.
845
96e8d411
MR
8462012-09-20 Martin Rudalics <rudalics@gmx.at>
847
848 * emacs-lisp/debug.el (debug): Restore assignment to
849 debugger-old-buffer removed on 2012-09-08.
850
0876a82d
JL
8512012-09-20 Juri Linkov <juri@jurta.org>
852
853 * dired-aux.el (dired-diff): Remove (require 'diff) since
854 `diff-latest-backup-file' is now autoloaded.
855
9f7c28f0
CY
8562012-09-20 Chong Yidong <cyd@gnu.org>
857
858 * vc/diff.el (diff-latest-backup-file): Autoload.
859
7a04bee9
SM
8602012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
861
e6f0a80d
SM
862 * calc/calc.el: Remove redundant autoload shape check.
863 (sel-mode): Don't defvar.
864 (calc-get-stack-element): Add `sel-mode' arg instead.
865 (calc-top, calc-top-list): Pass it this additional argument.
866 * calc/calc-store.el (calc-store-map):
867 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
868 (calc-map-equation, calc-outer-product, calc-inner-product):
869 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
870
7a04bee9
SM
871 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
872
12734222
JL
8732012-09-19 Juri Linkov <juri@jurta.org>
874
875 * dired-aux.el (dired-diff): Add (require 'diff) because
876 `diff-latest-backup-file' is not autoloaded.
877 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
878 of `dired-get-filename' to t to not report error when there is
879 no default file on the current line.
880
46624b4f
SM
8812012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
882
ce97595b
SM
883 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
884 macroexp--eval-if-compile.
885 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
886 (macroexp--expand-all): Use them (bug#12371).
887
46624b4f
SM
888 * doc-view.el (doc-view-guess-paper-size)
889 (doc-view-scale-bounding-box): Fix unbound `caddr'.
890
db8a5a18
TH
8912012-09-19 Tassilo Horn <tsdh@gnu.org>
892
893 New feature: set optimal slice from BoundingBox information.
894 * doc-view.el (doc-view-mode-map): Add keybinding.
895 (doc-view-menu): Add menu entry.
896 (doc-view-set-slice): Adapt docstring.
897 (doc-view-get-bounding-box, doc-view-guess-paper-size)
898 (doc-view-scale-bounding-box)
899 (doc-view-set-slice-from-bounding-box): New functions.
900 (doc-view-paper-sizes): New defvar.
901
69f6644c
GM
9022012-09-19 Glenn Morris <rgm@gnu.org>
903
35f5b19d
GM
904 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
905 (byte-compile-log-warning): Autoload. (Bug#12371)
906
69f6644c
GM
907 * calendar/calendar.el (calendar-american-month-header)
908 (calendar-european-month-header, calendar-iso-month-header)
909 (calendar-month-header): New options.
910 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
911 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
912
e543ae91
JD
9132012-09-19 Jan Djärv <jan.h.d@swipnet.se>
914
915 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
916
2fd5e67d
JL
9172012-09-18 Juri Linkov <juri@jurta.org>
918
919 * dired-aux.el (dired-diff): Restore original functionality of
920 getting the default value, but keep new feature of using the
921 latest existing backup file (`diff-latest-backup-file').
922
42917e79
JL
9232012-09-18 Juri Linkov <juri@jurta.org>
924
925 * dired.el (dired-mark): If the region is active in Transient Mark
926 mode, mark all files in the active region. Doc fix.
927 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
928 Doc fix. (Bug#10624)
929
20f70ede
JL
9302012-09-18 Juri Linkov <juri@jurta.org>
931
932 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
933 attributes for M-n are pulled from the file at point.
934 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
935 Suggested by Drew Adams. (Bug#10624)
936
32fb8162
DG
9372012-09-18 Dmitry Gutov <dgutov@yandex.ru>
938
939 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
940 whitespace after "end".
941 (ruby-do-end-to-brace): Collapse block to one line if it fits
942 within fill-column.
943
37ab5092
MR
9442012-09-18 Martin Rudalics <rudalics@gmx.at>
945
946 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
947 value.
948 (debug): Don't remove debugger window when debugger is expected
949 to be back.
950
ed1f0bd3
CY
9512012-09-18 Chong Yidong <cyd@gnu.org>
952
953 * custom.el (defface): Doc fix.
954
955 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
956
a11035b8
MB
9572012-09-18 Martin Blais <blais@furius.ca> (tiny change)
958
959 * progmodes/compile.el (compilation-start): Use compilation-always-kill
960 to initialize query-on-exit; then test that instead (bug#12288).
961
64f6a736
SM
9622012-09-17 Stefan Merten <smerten@oekonux.de>
963
70efc5c9 964 * textmodes/rst.el: Add support for `testcover'.
64f6a736
SM
965 (rst-defcustom-testcover, rst-testcover-add-compose)
966 (rst-testcover-add-1value): New functions.
967 (rst-portable-mark-active-p): Replace by `use-region-p'.
968 (rst-update-section, rst-classify-adornment)
969 (rst-find-title-line): Mark `1value' forms.
970 (rst-classify-adornment): Remove superfluous form.
971 (rst-update-section, rst-get-adornments-around)
972 (rst-adornment-complete-p, rst-get-next-adornment)
973 (rst-adjust, rst-promote-region)
974 (rst-display-adornments-hierarchy, rst-straighten-adornments)
975 (rst-find-pfx-in-region, rst-section-tree-rec)
976 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
977 (rst-toc-node, rst-toc, rst-forward-section)
978 (rst-iterate-leftmost-paragraphs)
979 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
980 (rst-bullet-list-region)
981 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
982 (rst-compile-find-conf, rst-compile)
983 (rst-repeat-last-character): Fix style.
984
580bd868
CY
9852012-09-17 Chong Yidong <cyd@gnu.org>
986
987 * comint.el (comint--complete-file-name-data): Don't add a space
988 if the status is `sole'; that adds a gratuitous space in the
989 completion-cycling case (Bug#12092).
990
991 * pcomplete.el (pcomplete-completions-at-point): Likewise.
992
69de3ec6
RS
9932012-09-17 Richard Stallman <rms@gnu.org>
994
0dee970c
RS
995 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
996 only in the mime-shown mode, not in raw mode.
997 (rmail-mime): Toggle off mime by displaying the message without
6b250df6 998 mime processing. (Bug#12305)
0dee970c 999
6b250df6
GM
1000 * mail/rmail.el (rmail-retry-failure):
1001 Turn off mime processing first. (Bug#12037)
acb1c47b 1002
69de3ec6
RS
1003 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
1004
d079ee5f
CY
10052012-09-17 Chong Yidong <cyd@gnu.org>
1006
1007 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
1008 (shell-dynamic-complete-functions): Convert to defcustom.
1009 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
1010
865fe16f
CY
1011 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
1012 * comint.el (comint-prompt-read-only):
1013 * custom.el (defcustom):
1014 * hi-lock.el (hi-lock-mode):
1015 * ibuffer.el (ibuffer-formats):
1016 * ielm.el (ielm-prompt-read-only):
1017 * novice.el (disable-command):
1018 * saveplace.el (toggle-save-place):
1019 * speedbar.el (speedbar-supported-extension-expressions):
1020 * startup.el (auto-save-list-file-prefix, init-file-user)
1021 (after-init-hook, inhibit-startup-echo-area-message):
1022 * strokes.el (strokes-help):
1023 * time-stamp.el (time-stamp):
1024 * calendar/calendar.el (calendar, diary-file):
1025 * calendar/diary-lib.el (diary-mail-entries, diary)
1026 (diary-list-entries-hook):
1027 * calendar/holidays.el (holidays, calendar-holidays):
1028 * calendar/lunar.el (lunar-phases):
1029 * calendar/solar.el (sunrise-sunset):
1030 * emulation/edt.el (edt-load-keys):
1031 * emulation/viper.el (viper-mode):
1032 * eshell/em-alias.el (eshell-command-aliases-list):
1033 * eshell/esh-util.el (eshell-convert-numeric-arguments):
1034 * international/ogonek.el (ogonek-information):
1035 * net/tramp-cmds.el (tramp-bug):
1036 * net/quickurl.el (quickurl-reread-hook-postfix):
1037 * play/decipher.el (decipher-font-lock-keywords):
1038 * progmodes/cc-styles.el (c-set-style):
1039 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
1040 * progmodes/inf-lisp.el (inferior-lisp-prompt):
1041 * progmodes/octave-mod.el (octave-mode):
1042 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
1043 * progmodes/verilog-mode.el (verilog-read-defines):
1044 * textmodes/two-column.el (2C-mode): Likewise.
1045
48093eb9
KY
10462012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
1047
1048 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
1049 that holds many addresses.
1050
c584eaf9
CY
10512012-09-16 Chong Yidong <cyd@gnu.org>
1052
40d70ecb
CY
1053 * align.el (align-areas): Call the indication function with
1054 positions instead of markers for arguments (Bug#12343).
1055
1667e065
CY
1056 * files.el (parse-colon-path): Use split-string (Bug#12351).
1057
fdc2806d 1058 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
71ce58e7 1059 (display-buffer-function): Mark as obsolete.
fdc2806d 1060
f1be615c 1061 * progmodes/compile.el (compilation-parse-errors): Accept list
ce97595b
SM
1062 values similar to font-lock-keywords (Bug#12136).
1063 Suggested by Oleksandr Manzyuk.
c584eaf9
CY
1064 (compilation-error-regexp-alist): Doc fix.
1065
f40a9709
GM
10662012-09-15 Glenn Morris <rgm@gnu.org>
1067
72aa16e1
GM
1068 * version.el (emacs-bzr-version-bzr): New function.
1069 (emacs-bzr-get-version): Add optional EXTERNAL argument.
1070
82375160
GM
1071 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
1072 checkouts, check the parent dirstate matches the branch.
1073 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
1074 empty string.
1075
f40a9709
GM
1076 * version.el (emacs-bzr-version): Doc fix.
1077 (emacs-bzr-version-dirstate): New function.
1078 (emacs-bzr-get-version): For lightweight checkouts, if the parent
1079 is local try and check that it matches the branch. If not, just
1080 use dirstate information. (Bug#12441)
1081
cb26b7f5
JL
10822012-09-14 Juri Linkov <juri@jurta.org>
1083
1084 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
1085 (Bug#12399)
1086
2de39f08
SM
10872012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
1088
0fb3cb7c
SM
1089 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
1090
2de39f08
SM
1091 * emacs-lisp/edebug.el: Miscellaneous cleanup.
1092 Remove obsolete byte-compiler hack that tried to silence some warnings.
1093 (edebug-submit-bug-report): Remove.
1094 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
1095 Remove aliases, use the un-prefixed name instead.
1096 (edebug-pop-to-buffer): Consider other frames.
1097 (edebug-original-read):: Make it more obvious that it's always defined.
1098 (edebug--make-form-data-entry, edebug--form-data-name)
1099 (edebug--form-data-begin, edebug--form-data-end): Rename from the
1100 single-dashed name, and implement with cl-defstruct.
1101 (edebug-set-form-data-entry): Use the standard accessors.
1102 (edebug-make-top-form-data-entry): Use push.
1103 (edebug-no-match): Drop useless `funcall'.
1104 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
1105 to functions.
1106 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
1107 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
1108 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
1109 (easy-menu-define, with-custom-print): Remove redundant specs.
1110 (edebug-outside-overriding-local-map)
1111 (edebug-outside-overriding-terminal-local-map): Remove, unused.
1112 (edebug--display): Bind unread-command-events directly to nil rather
1113 than binding it to unread-command-events and later setting it to nil.
1114 (edebug--display): Kill edebug-eval-buffer here...
1115 (edebug--recursive-edit): ...rather than here.
1116 Bind standard-output and standard-input.
1117 (edebug-eval): Check cl-macroexpand-all is fboundp.
1118 (edebug-temp-display-freq-count): Fix last change.
1119
1120 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
1121 * subr.el (noreturn, 1value): Add `debug' spec.
1122 * emacs-lisp/advice.el: Require cl-lib.
1123 (ad-copy-tree): Remove, use copy-tree instead.
1124 (ad-dolist): Remove use dolist or cl-dolist instead.
1125 (ad-do-return): Remove, use cl-return instead.
1126 (defadvice): Add `debug' spec.
1127
5b68b333
JL
11282012-09-13 Juri Linkov <juri@jurta.org>
1129
1130 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
1131 (Bug#12399)
1132
b9800ec4
GM
11332012-09-13 Glenn Morris <rgm@gnu.org>
1134
6a2e6868
GM
1135 * calc/calc.el (math-compose-expr):
1136 * calc/calc-ext.el (math-compose-expr):
1137 * progmodes/cc-defs.el (cl-macroexpand-all):
1138 * progmodes/cc-langs.el (delete-duplicates, mapcan)
1139 (cl-macroexpand-all): Update declarations.
1140
b9800ec4
GM
1141 * vc/vc.el: No need to require ediff.
1142 (ediff-load-version-control): Declare.
1143 (ediff-vc-internal): Fix declaration.
1144 (vc-version-ediff): Require ediff.
1145
c18e885b
PE
11462012-09-13 Paul Eggert <eggert@cs.ucla.edu>
1147
1148 Use a more backwards-compatible timer format (Bug#12430).
1149 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
1150 being right after USECS, as that better supports old code that
1151 inadvisedly looked directly at the timer vector.
1152
d607d303
KH
11532012-09-13 Kenichi Handa <handa@gnu.org>
1154
1155 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
1156 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
1157 `coding-priority' property of these language environment.
1158
72eac303
PE
11592012-09-13 Paul Eggert <eggert@cs.ucla.edu>
1160
1161 Fix glitches caused by addition of psec to timers (Bug#12430).
1162 * image.el (image-animate-timer):
1163 * time.el (display-time-world-timer):
1164 Use timer--function and timer--args rather than raw access to
1165 timer vector.
1166
2168fe4f
GM
11672012-09-13 Glenn Morris <rgm@gnu.org>
1168
1169 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
1170 If not compiling a file, try using load-file-name.
1171
bd8d6108
SM
11722012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
1173
c0c54fbd
SM
1174 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
1175 Fix last change.
1176 (edebug-update-eval-list): Use `push'.
1177
bd8d6108
SM
1178 * emacs-lisp/edebug.el: Use lexical-binding.
1179 Remove the "edebug-" prefix from non-dynamically-scoped variables.
1180 Mark unused args with underscore.
1181 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
1182 (edebug-form-data): Use defvar-local.
1183 (edebug-make-before-and-after-form, edebug-make-after-form):
1184 Use backquote.
1185 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
1186 Not dynamically scoped any more.
1187 (edebug--enter-trace): Add arguments `function' and `args'.
1188 Rename from edebug-enter-trace.
1189 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
1190 (edebug--update-coverage): Add `after-index' and `value' args.
1191 Rename from edebug-update-coverage.
1192 (edebug-slow-after): Call it accordingly.
1193 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
1194 edebug-recursive-edit.
1195 (edebug--display): Call it accordingly. Add args `value',
1196 `offset-index', and `arg-mode'. Rename from edebug-display.
1197 (edebug-debugger, edebug): Call it accordingly.
1198 (edebug-eval-display-list): Use dolist.
1199
a9f9d9de
JL
12002012-09-12 Juri Linkov <juri@jurta.org>
1201
1202 * info.el (Info-search): Don't check for isearch-mode and
1203 isearch-regexp before let-binding search-spaces-regexp to
1204 Info-search-whitespace-regexp.
1205 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
1206 search-whitespace-regexp if isearch-lax-whitespace or
1207 isearch-regexp-lax-whitespace is non-nil.
1208 (Info-mode): Don't set local variable search-whitespace-regexp.
1209 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
1210
bfeae2cf
SM
12112012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
1212
1213 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
1214 (debugger-env-macro): Remove support for unread-command-char.
1215
1216 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
1217 the temporary map re-appearing on emulation-mode-map-alists.
1218
1219 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
1220 since 22.1.
1221
1222 * ehelp.el (with-electric-help): Accept functions in
1223 electric-help-form-to-execute.
1224 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
1225 And replace unread-command-char -> unread-command-events.
1226
fbbcaf1b
MA
12272012-09-12 Michael Albinus <michael.albinus@gmx.de>
1228
1229 Sync with Tramp 2.2.6.
1230
1231 * net/tramp.el (tramp-accept-process-output): Don't use
1232 JUST-THIS-ONE in the XEmacs case.
1233
1234 * net/trampver.el: Update release number.
1235
4dece104
MR
12362012-09-12 Martin Rudalics <rudalics@gmx.at>
1237
bfeae2cf
SM
1238 * emacs-lisp/debug.el (debugger-previous-window-height):
1239 New variable.
4dece104
MR
1240 (debug): When debugger-jumping-flag is non-nil try to restore
1241 height of debugger window. (Bug#8789)
1242
45b82ad0
SM
12432012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
1244
60c49c0f
SM
1245 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
1246 overriding-local-map and pre/post-command-hook here.
1247 (edebug-recursive-edit): Do it here instead (bug#12345).
1248 (edebug-outside-unread-command-char): Remove all uses of
1249 unread-command-char.
1250
45b82ad0
SM
1251 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
1252 inhibit-debugger is bound instead.
1253
baa26ea0
BG
12542012-09-11 Bastien Guerry <bzg@gnu.org>
1255
1256 * subr.el (set-temporary-overlay-map): Add a docstring.
fc0c31f8 1257 (Bug#12346)
baa26ea0 1258
04e8abfa
BG
12592012-09-11 Bastien Guerry <bzg@gnu.org>
1260
96d03571 1261 * minibuffer.el (completion-table-subvert): Fix docstring.
fc0c31f8 1262 (Bug#12347)
96d03571
BG
1263
12642012-09-11 Bastien Guerry <bzg@gnu.org>
1265
fc0c31f8 1266 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
04e8abfa 1267
04e082b0
MM
12682012-09-10 Michael R. Mauger <mmaug@yahoo.com>
1269
1270 * progmodes/sql.el: Version 3.1
1271 (sql-db2-escape-newlines): New variable.
1272 (sql-escape-newlines-filter): Use it.
1273
399a361b
JB
12742012-09-10 Juanma Barranquero <lekktu@gmail.com>
1275
1276 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
1277
0780c517
DN
12782012-09-10 Dan Nicolaescu <dann@gnu.org>
1279
45b82ad0
SM
1280 * vc/diff-mode.el (diff-mode-menu):
1281 Bind diff-remove-trailing-whitespace.
0780c517 1282
9b851e25
SM
12832012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
1284
1285 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
fc0c31f8
JB
1286 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
1287 (emacs-lisp-byte-code-mode): New functions.
9b851e25
SM
1288 (eval-sexp-add-defvars): Don't skip defvars in column >0.
1289 (eval-defun-2): Remove bogus interactive spec.
1290 (lisp-indent-line): Remove redundant whole-exp code, now done in
1291 indent-according-to-mode.
1292 (save-match-data): Remove redundant indent data.
1293
1294 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
1295 Use `declare'.
1296
3231d532
JL
12972012-09-09 Juri Linkov <juri@jurta.org>
1298
1299 * replace.el (replace-regexp-lax-whitespace): New defcustom.
1300 (replace-lax-whitespace, query-replace-regexp)
1301 (query-replace-regexp-eval, replace-regexp): Doc fix.
1302 (perform-replace, replace-highlight): Let-bind
1303 isearch-lax-whitespace to replace-lax-whitespace and
1304 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
1305
1306 * isearch.el (isearch-query-replace): Let-bind
1307 replace-lax-whitespace to isearch-lax-whitespace and
1308 replace-regexp-lax-whitespace to
1309 isearch-regexp-lax-whitespace. (Bug#10885)
1310
70fe8236
SM
13112012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
1312
1313 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
1314
8ed43f15
AM
13152012-09-09 Alan Mackenzie <acm@muc.de>
1316
70fe8236
SM
1317 * progmodes/cc-engine.el (c-state-cache-init):
1318 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
1319 (c-record-parse-state-state):
1320 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
8ed43f15 1321
bfabf70a
AS
13222012-09-09 Andreas Schwab <schwab@linux-m68k.org>
1323
1324 * register.el (register-separator): Rename from
1325 separator-register. All uses changed. Doc fix.
1326 (register): Fix version.
1327
011474aa
CY
13282012-09-09 Chong Yidong <cyd@gnu.org>
1329
1330 * replace.el (query-replace-map): Bind four new symbols for
1331 requesting window scrolling.
1332
1333 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
1334 query-replace-map (Bug#8948).
1335
1336 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
1337
1338 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
1339 since they are now in query-replace-map.
1340
1341 * window.el (scroll-other-window-down): Make the arg optional.
1342
a8b7cd8d
CY
13432012-09-09 Chong Yidong <cyd@gnu.org>
1344
1345 * files.el (hack-local-variables-confirm): Use quit-window to kill
1346 the *Local Variables* buffer.
1347
c3268831
DG
13482012-09-08 Dmitry Gutov <dgutov@yandex.ru>
1349
1350 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
1351 not just expect to be at its beginning. Adjust callees.
1352 Succeed when do-end block has no space before the pipe character.
1353 (ruby-brace-to-do-end): When the original block is one-liner,
1354 convert to multiline. Reindent the result.
1355
0979429b
J
13562012-09-08 Jambunathan K <kjambunathan@gmail.com>
1357
1358 * register.el (register): New group.
1359 (register-separator): New user option.
1360 (increment-register): Route it to `append-to-register', if
1361 register contains text. Implication is that `C-x r +' can now be
1362 used for appending to a text register (bug#12217).
1363 (append-to-register, prepend-to-register): Add separator based on
1364 `register-separator.
1365
ace2989a
AM
13662012-09-08 Alan Mackenzie <acm@muc.de>
1367
1368 AWK Mode: make auto-newline work when there's "==" in the pattern.
1369 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
1370 correctly.
0979429b
J
1371 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
1372 Test more rigorously for "=" token.
ace2989a 1373
616c6c36
DG
13742012-09-08 Dmitry Gutov <dgutov@yandex.ru>
1375
0979429b
J
1376 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
1377 Only fail when reached LIMIT.
616c6c36 1378
35d98877
CY
13792012-09-08 Chong Yidong <cyd@gnu.org>
1380
1381 * dired.el (dired-mode-map): Don't bind M-=.
1382
1383 * dired-aux.el (dired-diff): Use backup file as default.
1384
1715f2db
DA
13852012-09-08 Drew Adams <drew.adams@oracle.com>
1386
1387 * subr.el (add-to-history): Fix delete usage (Bug#12314).
1388
6dcef6ec
CY
13892012-09-08 Chong Yidong <cyd@gnu.org>
1390
1391 * subr.el (syntax-after, syntax-class): Doc fix.
1392
fa2bcf43
MR
13932012-09-08 Martin Rudalics <rudalics@gmx.at>
1394
1395 * window.el (display-buffer-in-previous-window): New buffer
1396 display action function.
1397
1398 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
1399 (debugger-previous-window): New variable.
1400 (debug): Rewrite using display-buffer-in-previous-window,
1401 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
1402
daac280a
SM
14032012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
1404
1405 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
1406
9dd40b00
MM
14072012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
1408
daac280a
SM
1409 * progmodes/python.el (python-shell-send-string):
1410 When default-directory is remote, create temp file on remote
9dd40b00
MM
1411 filesystem.
1412 (python-shell-send-file): When file is remote, pass local view of
1413 file paths to remote Python interpreter. (Bug#12340)
1414
145823ec
CY
14152012-09-07 Chong Yidong <cyd@gnu.org>
1416
cee2e90d
CY
1417 * window.el (switch-to-buffer): Doc fix (Bug#12181).
1418
0d7eb2ea
CY
1419 * files.el (after-find-file): Don't fail on a read-only buffer if
1420 require-final-newline is `visit' or `visit-save' (Bug#11156).
1421
145823ec
CY
1422 * subr.el (read-char-choice): Allow quitting via ESC ESC.
1423
daac280a
SM
1424 * userlock.el (ask-user-about-supersession-threat):
1425 Use read-char-choice (Bug#12093).
145823ec 1426
74c582e6
CY
14272012-09-07 Chong Yidong <cyd@gnu.org>
1428
e5c2edf7
CY
1429 * subr.el (buffer-narrowed-p): New function.
1430
1431 * ses.el (ses-widen):
1432 * simple.el (count-words--buffer-message):
1433 * net/browse-url.el (browse-url-of-buffer): Use it
1434
1435 * simple.el (count-words-region): Don't signal an error if there
1436 is a non-nil prefix arg and the mark is not set.
c640e87d 1437
74c582e6
CY
1438 * help.el (describe-key-briefly): Allow the message to be seen
1439 when invoked from the minibuffer (Bug#7014).
1440
d81ceaaf
DG
14412012-09-07 Dmitry Gutov <dgutov@yandex.ru>
1442
1443 * progmodes/ruby-mode.el (ruby-end-of-defun)
1444 (ruby-beginning-of-defun): Simplify, allow indentation before
1445 block beginning and end keywords.
8f06acce
DG
1446 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
1447 (ruby-end-of-defun): Expect that the point is at the beginning of
1448 the defun.
d81ceaaf 1449
d458ef98
SM
14502012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
1451
1452 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
1453 (bug#12367).
1454 (cl--make-usage-args): Strip _ from argument names.
1455
20367d28
RS
14562012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1457
1458 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
1459 obsolete alias speedbar-key-map.
1460 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
1461 (vhdl-index-menu-init): Don't use obsolete variable
1462 font-lock-maximum-size.
1463
3424a4f6
CY
14642012-09-06 Chong Yidong <cyd@gnu.org>
1465
1466 * frame.el (window-system-version): Mark as obsolete.
1467
fcbfbdea
CY
1468 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
1469 of obsolete variable speedbar-key-map.
1470
826b3235
JL
14712012-09-06 Juri Linkov <juri@jurta.org>
1472
1473 * replace.el (replace-lax-whitespace): New defcustom.
1474 (query-replace, query-replace-regexp, query-replace-regexp-eval)
1475 (replace-string, replace-regexp): Mention it in docstrings.
1476 (perform-replace, replace-highlight): Let-bind
1477 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
1478 to the values of replace-lax-whitespace and regexp-flag.
1479 Don't let-bind search-whitespace-regexp. (Bug#10885)
1480
1481 * isearch.el (isearch-query-replace): Let-bind
1482 replace-lax-whitespace instead of let-binding
1483 replace-search-function and replace-re-search-function.
1484 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
1485 and isearch-regexp-lax-whitespace to lazy-highlight variables.
1486 (isearch-toggle-symbol): Set isearch-regexp to nil
1487 in isearch-word mode (like in isearch-toggle-word).
1488
1ec5e41d
JL
14892012-09-06 Juri Linkov <juri@jurta.org>
1490
1491 * replace.el (replace-search-function)
1492 (replace-re-search-function): Set default values to nil.
1493 (perform-replace): Let-bind isearch-related variables based on
1494 replace-related values, call `isearch-search-fun' and let-bind
1495 the result to `search-function'. Remove code that sets
1496 `search-function' and `search-string' separately for
1497 `delimited-flag'.
1498 (replace-highlight): Add new argument `delimited-flag' and
1499 rename other arguments to the names used in `perform-replace'.
1500 Let-bind `isearch-word' to the argument `delimited-flag'.
1501 (Bug#10885, bug#10887)
1502
0ba2d4b6
DG
15032012-09-07 Dmitry Gutov <dgutov@yandex.ru>
1504
1505 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
1506 ruby-beginning-of-indent, simplify, allow all keywords to have
1507 indentation before them.
1508 (ruby-beginning-of-indent): Adjust for above. Search until the
1509 found point is not inside a string or comment.
1510 (ruby-font-lock-keywords): Allow symbols to start with "@"
1511 character, give them higher priority than variables.
1512 (ruby-syntax-propertize-function)
1513 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
1514 matchers. Expression expansions are not comments when inside a
1515 string, and there comment syntax status is irrelevant.
1516 (ruby-match-expression-expansion): New function. Check that
1517 expression expansion is inside a string, and it's not escaped.
1518 (ruby-font-lock-keywords): Use it.
1519
ef654460
MR
15202012-09-05 Martin Rudalics <rudalics@gmx.at>
1521
1522 * help.el (temp-buffer-max-height): New default value.
1523 (temp-buffer-resize-frames): New option.
1524 (resize-temp-buffer-window): Optionally resize frame.
1525
1526 * window.el (fit-frame-to-buffer-bottom-margin): New option.
1527 (fit-frame-to-buffer): New function.
1528
7e570fbf 15292012-09-05 Glenn Morris <rgm@gnu.org>
72308848
GM
1530
1531 * emulation/cua-rect.el (cua--init-rectangles):
1532 * textmodes/picture.el (picture-mode-map):
1533 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
1534 like forward-char and backward-char. (Bug#12317)
1535
7e570fbf 15362012-09-05 Leo Liu <sdl.web@gmail.com>
3aca1291
LL
1537
1538 * progmodes/flymake.el (flymake-warning-re): New variable.
1539 (flymake-parse-line): Use it.
1540
7e570fbf 15412012-09-05 Glenn Morris <rgm@gnu.org>
b6683353
GM
1542
1543 * calendar/holidays.el (holiday-christian-holidays):
1544 Rename an entry. (Bug#12289)
1545
7e570fbf 15462012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
64f8c4bd
SM
1547
1548 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
1549 (bug#12222).
1550
972debf2
SM
15512012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
1552
1553 * loadup.el: Load macroexp. Remove hack.
1554 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
1555 (macroexp--expand-all): Use it to get better warnings.
1556 (macroexp--backtrace, macroexp--trim-backtrace-frame)
1557 (internal-macroexpand-for-load): New functions.
1558 (macroexp--pending-eager-loads): New var.
1559 (emacs-startup-hook): New hack to replace one in loadup.el.
1560 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
1561 (cl--compiler-macro-cXXr): Move to top, before they can be used.
1562 (cl-psetf): Simplify.
1563 (cl-defstruct): Add indent rule.
1564
8ce192e3
LI
15652012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
1566
1567 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
1568 over `user-mail-address' for the SMTP MAIL FROM envelope.
1569 (smtpmail-via-smtp): Ditto.
1570
6578b4d8
DG
15712012-09-04 Dmitry Gutov <dgutov@yandex.ru>
1572
1573 * progmodes/ruby-mode.el: Clean up keybindings.
1574 (ruby-mode-map): Don't bind ruby-electric-brace,
1575 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
1576 backward-kill-word, reindent-then-newline-and-indent.
1577 (ruby-mark-defun): Remove.
1578 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
1579 (ruby-mode): Set local beginning-of-defun-function and
1580 end-of-defun-function values.
1581
c5e28e39
MR
15822012-09-03 Martin Rudalics <rudalics@gmx.at>
1583
1584 * window.el (temp-buffer-window-setup-hook)
1585 (temp-buffer-window-show-hook): New hooks.
1586 (temp-buffer-window-setup, temp-buffer-window-show)
1587 (with-temp-buffer-window): New functions.
972debf2
SM
1588 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
1589 (special-display-popup-frame): Make sure the window used shows BUFFER.
c5e28e39
MR
1590
1591 * help.el (temp-buffer-resize-mode): Fix doc-string.
1592 (resize-temp-buffer-window): New optional argument WINDOW.
1593
1594 * files.el (recover-file, save-buffers-kill-emacs):
1595 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
1596
73406194
MA
15972012-09-02 Michael Albinus <michael.albinus@gmx.de>
1598
1599 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
1600 remote definition of `default-directory', ensure we can connect.
1601
63dd1c6f
JL
16022012-09-02 Juri Linkov <juri@jurta.org>
1603
1604 Toggle whitespace matching mode with M-s SPC.
1605 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
1606
1607 * isearch.el (search-whitespace-regexp): Doc fix.
1608 Remove cons cell customization.
1609 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
1610 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
1611 New variables.
1612 (isearch-forward, isearch-forward-regexp): Doc fix.
1613 (isearch-toggle-lax-whitespace): New command.
1614 (search-forward-lax-whitespace, search-backward-lax-whitespace)
1615 (re-search-forward-lax-whitespace)
1616 (re-search-backward-lax-whitespace): New functions.
1617 (isearch-whitespace-regexp): Remove function.
1618 (isearch-query-replace): Let-bind replace-search-function and
1619 replace-re-search-function.
1620 (isearch-occur): Let-bind search-spaces-regexp according to the
1621 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
1622 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
1623 condition for C-q SPC.
1624 (isearch-search-fun-default): Use new functions mentioned above.
1625 (isearch-search-forward, isearch-search-backward): Remove functions.
1626 (isearch-search): Don't let-bind search-spaces-regexp.
1627 (isearch-lazy-highlight-space-regexp): Remove variable.
1628 (isearch-lazy-highlight-lax-whitespace)
1629 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
1630 (isearch-lazy-highlight-new-loop): Use them.
1631 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
1632
af7dda05
CY
16332012-09-02 Chong Yidong <cyd@gnu.org>
1634
1635 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
1636
d67d3afd
GM
16372012-09-02 Glenn Morris <rgm@gnu.org>
1638
1639 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
1640
69678719
GM
16412012-09-01 Glenn Morris <rgm@gnu.org>
1642
1643 * term.el: Tidy up menu definitions.
1644 (term-mode-map): Use easymenu for In/Out, Complete menus.
1645 (term-pager-break-map): Initialize in the defvar.
1646 (term-terminal-menu, term-signals-menu): Define with easymenu.
1647 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
1648 (term-pager-menu): New, extracted from term-process-pager.
1649 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
1650 (term-update-mode-line): Propertize line/char and page items.
1651 (term-process-pager): Move keymap initialization elsewhere.
1652
78dd6ab1
MR
16532012-09-01 Martin Rudalics <rudalics@gmx.at>
1654
1655 * window.el (switch-to-prev-buffer): Handle additional values of
1656 BURY-OR-KILL argument. Don't switch in minibuffer window.
1657 (switch-to-next-buffer): Don't switch in minibuffer window.
1658 (quit-restore-window): New function based on quit-window.
1659 Handle additional values of former KILL argument.
1660 (quit-window): Call quit-restore-window with appropriate
1661 interpretation of KILL argument.
1662 (display-buffer-below-selected): New buffer display action
1663 function.
1664
3d10e134
SM
16652012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
1666
1667 * minibuffer.el (completion-at-point-functions): Complete docstring
1668 (bug#12254).
1669
0e23ef9d
PE
16702012-09-01 Paul Eggert <eggert@cs.ucla.edu>
1671
1672 Better seed support for (random).
1673 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
1674 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
1675 * play/mpuz.el, play/tetris.el, play/zone.el:
1676 * calc/calc-comb.el (math-init-random-base):
1677 * play/blackbox.el (bb-init-board):
1678 * play/life.el (life):
1679 * server.el (server-use-tcp):
1680 * type-break.el (type-break):
1681 Remove unnecessary call to (random t).
1682 * net/sasl.el (sasl-unique-id-function):
1683 Change (random t) to (random), now that the latter is more random.
1684 * play/life.el (life-initialized): Remove no-longer-needed var.
1685
862382df
MR
16862012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
1687
1688 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
1689 Consider frame's buffer predicate when choosing the buffer.
1690 (Bug#12081)
1691
262a66e1
RS
16922012-08-30 Richard Stallman <rms@gnu.org>
1693
1694 * simple.el (special-mode-map): Delete binding for `z'.
1695
f17e1d00
AS
16962012-08-30 Andreas Schwab <schwab@linux-m68k.org>
1697
1698 * progmodes/compile.el (compilation-always-kill): Doc fix.
1699
24777832
CY
17002012-08-30 Chong Yidong <cyd@gnu.org>
1701
1702 * window.el (display-buffer-reuse-frames): Make the obsolescence
1703 message more informative.
1704
69ba1f04
GM
17052012-08-30 Glenn Morris <rgm@gnu.org>
1706
1707 * paren.el (show-paren-delay):
1708 Add a :set function. Doc fix. (Bug#12297)
1709
f0019ede
MB
17102012-08-29 Martin Blais <blais@furius.ca> (tiny change)
1711
1712 * progmodes/compile.el (compilation-always-kill): New var.
1713 (compilation-start): Use it.
1714
35e62fc9
SM
17152012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
1716
af070a1c
SM
1717 * simple.el (read-only-mode): Move from files.el for bootstrapping.
1718 * files.el (read-only-mode): Move to simple.el.
1719
35e62fc9
SM
1720 * files.el (read-only-mode): New minor mode.
1721 (toggle-read-only): Use it and mark obsolete.
1722 (find-file--read-only):
1723 * vc/vc.el (vc-next-action, vc-checkout):
1724 * vc/vc-cvs.el (vc-cvs-checkout):
1725 * obsolete/vc-mcvs.el (vc-mcvs-update):
1726 * ffap.el (ffap--toggle-read-only): Update callers.
1727
c2c43c23
MA
17282012-08-29 Michael Albinus <michael.albinus@gmx.de>
1729
1730 * eshell/esh-ext.el (eshell-external-command): Do not examine
972debf2
SM
1731 remote shell scripts.
1732 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
c2c43c23
MA
1733
1734 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
1735 "/usr/local/sbin".
1736
9fba804b
SM
17372012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
1738
1739 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
1740
eada0861 17412012-08-28 Leo Liu <sdl.web@gmail.com>
22ab32ef 1742
806f0cc7
LL
1743 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
1744 completion-at-point. (Bug#12220)
1745
3bb213b9
LL
1746 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
1747
22ab32ef
LL
1748 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
1749
eada0861 17502012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
db148c21 1751
19c17fc1
CY
1752 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
1753 be buffer-local; add delete-trailing-whitespace (bug#12259).
db148c21 1754
eada0861 17552012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
ffe6eaf1
JM
1756
1757 * progmodes/hideif.el (hif-compress-define-list):
1758 Fix typo. (Bug#11951)
1759
eada0861 17602012-08-28 Dan Nicolaescu <dann@gnu.org>
d30aca1b
DN
1761
1762 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
1763 buffer local setting.
1764
27d6c5a8
LL
1765 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
1766 rcirc-encode-coding-system.
1767
eada0861 17682012-08-28 Leo Liu <sdl.web@gmail.com>
4432d2e2
LL
1769
1770 * net/rcirc.el (rcirc-split-message): New function.
1771 (rcirc-send-message): Use it. (Bug#12051)
1772
d44688e4
JL
17732012-08-28 Juri Linkov <juri@jurta.org>
1774
1775 * info.el (Info-fontify-node): Hide empty lines at the end of
1776 the node. (Bug#12272)
1777
34f10d41
MR
17782012-08-27 Drew Adams <drew.adams@oracle.com>
1779
1780 * dired.el (dired-pop-to-buffer): Make window start at beginning
1781 of buffer (Bug#12281).
1782
77f1f99c
CY
17832012-08-26 Chong Yidong <cyd@gnu.org>
1784
1785 * window.el (special-display-regexps, special-display-frame-alist)
1786 (special-display-buffer-names, special-display-function)
1787 (display-buffer-reuse-frames): Mark as obsolete.
1788
1789 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
1790
1791 * help.el (help-print-return-message): Don't treat
1792 display-buffer-reuse-frames specially.
1793
d97af5a0
CY
17942012-08-26 Chong Yidong <cyd@gnu.org>
1795
9fba804b
SM
1796 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
1797 New variable, replacing gdb-frame-parameters.
d97af5a0
CY
1798 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
1799 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
1800 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
1801 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
1802 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
1803 the functions directly with gdb-display-buffer-other-frame-action.
1804 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
1805 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
1806 (gdb-display-stack-buffer, gdb-display-locals-buffer)
1807 (gdb-display-registers-buffer): Define directly.
1808 (def-gdb-display-buffer): Macro deleted.
1809 (gdb-display-buffer): Remove second and third args, callers don't
1810 use them. Defer to the default display-buffer behavior, apart
1811 from making windows dedicated.
1812 (gdb-setup-windows): Don't call display-buffer unnecessarily.
1813
1814 * progmodes/gud.el (gud-display-line): Just use display-buffer.
1815
1816 * window.el (display-buffer-pop-up-frame): Handle a
1817 pop-up-frame-parameters alist entry.
1818 (display-buffer): Document it.
1819
dd7ffad6
CY
18202012-08-26 Chong Yidong <cyd@gnu.org>
1821
1822 * isearch.el (search-whitespace-regexp): Make string and nil
1823 values apply to both ordinary and regexp search. Allow a cons
1824 cell value to distinguish between the two.
1825 (isearch-whitespace-regexp, isearch-search-forward)
1826 (isearch-search-backward): New functions.
1827 (isearch-occur, isearch-search-fun-default, isearch-search)
1828 (isearch-lazy-highlight-new-loop): Use them.
1829 (isearch-forward, isearch-forward-regexp): Doc fix.
1830
4c47bd1e
CY
18312012-08-26 Chong Yidong <cyd@gnu.org>
1832
1833 * faces.el (help-argument-name): Always inherit from italic
1834 (Bug#12213).
1835
9aba119d
MR
18362012-08-25 Martin Rudalics <rudalics@gmx.at>
1837
1838 * window.el (window--even-window-heights): Even heights when
1839 WINDOW and the selected window form a vertical combination.
1840 (display-buffer-use-some-window): Provide that window used gets
1841 sized back by quit-window. (Bug#11880) and (Bug#12091)
1842
ca5256ad
PE
18432012-08-24 Paul Eggert <eggert@cs.ucla.edu>
1844
1845 Fix file time stamp problem with bzr and CVS (Bug#12001).
1846 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
1847 in the file's time stamp, since the version control system loses
1848 that information.
1849
d1c0d176
JL
18502012-08-22 Juri Linkov <juri@jurta.org>
1851
1852 * info.el (Info-fontify-node): Hide the suffix of the
1853 Info file name in the header line. (Bug#12187)
1854
141562ff
GM
18552012-08-22 Glenn Morris <rgm@gnu.org>
1856
1857 * calendar/cal-tex.el (cal-tex-weekly-common):
1858 Restore leading blank page.
1859
61a48e19 18602012-08-22 Le Wang <l26wang@gmail.com> (tiny change)
add9ca2d
BG
1861
1862 * misc.el (forward-to-word, backward-to-word): Activate or extend
61a48e19
GM
1863 the region under `shift-select-mode'. (Bug#12231)
1864
18652012-08-22 Bastien Guerry <bzg@gnu.org>
0fcd3d9f
BG
1866
1867 * progmodes/executable.el (executable-prefix): Set to "#!" instead
1868 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
1869 gives details on why the space is never needed.
1870
ea95074e
MR
18712012-08-22 Martin Rudalics <rudalics@gmx.at>
1872
9fba804b
SM
1873 * window.el (walk-window-tree, window-with-parameter):
1874 New optional argument MINIBUF to control whether these functions
ea95074e
MR
1875 should run on the minibuffer window.
1876 (window-at-side-list): Don't operate on minibuffer window.
1877 (window-in-direction): Simplify and rewrite doc-string.
9fba804b
SM
1878 (window--size-ignore): Rename to window--size-ignore-p.
1879 Update callers.
caceae25
MR
1880 (display-buffer-in-atom-window, window--major-non-side-window)
1881 (window--major-side-window, display-buffer-in-major-side-window)
9fba804b
SM
1882 (delete-side-window, display-buffer-in-side-window):
1883 New functions.
caceae25
MR
1884 (window--side-check, window-deletable-p, delete-window)
1885 (delete-other-windows, split-window): Handle side windows and
1886 atomic windows appropriately.
1887 (window--display-buffer): Call display-buffer-record-window also
1888 when the window buffer did not change.
ea95074e 1889
80a51fa0
CS
18902012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
1891
1892 * help-fns.el (help-fns--key-bindings):
1893 Abbreviate non-symbol remap targets. (Bug#12174)
1894
fbb6300b
MR
18952012-08-22 Martin Rudalics <rudalics@gmx.at>
1896
1897 * dired.el (dired-mark-remembered): Don't clobber point.
1898 (Bug#11795)
1899
2b2c0794
GM
19002012-08-22 Glenn Morris <rgm@gnu.org>
1901
1902 * progmodes/bug-reference.el (bug-reference): New custom group.
1903 (bug-reference-bug-regexp): Make it a defcustom.
1904
37219830
DU
19052012-08-22 Daiki Ueno <ueno@unixuser.org>
1906
1907 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
1908 (js-paren-indent-offset, js-square-indent-offset)
1909 (js-curly-indent-offset): Add :safe (Bug#12257).
1910
94e0e559
EC
19112012-08-22 Edward O'Connor <hober0@gmail.com>
1912
1913 * json.el (json-key-format): Add error properties.
1914 (json-encode-key): New function.
1915 (json-encode-hash-table, json-encode-alist, json-encode-plist):
1916 Use json-encode-key.
1917
da485f5e
GM
19182012-08-22 Glenn Morris <rgm@gnu.org>
1919
1920 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
1921 (cal-tex-leftday, cal-tex-rightday): Remove functions.
1922 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
1923 Update for above change.
1924
c6cc78b8
AS
19252012-08-21 Andreas Schwab <schwab@linux-m68k.org>
1926
1927 * cus-face.el (custom-face-attributes): Fix customize type for the
1928 :underline attribute. (Bug#11805)
1929
5481664a
MR
19302012-08-21 Martin Rudalics <rudalics@gmx.at>
1931
1932 * window.el (window-point-1, set-window-point-1): Remove.
1933 (window-in-direction, record-window-buffer)
1934 (set-window-buffer-start-and-point, split-window-below)
9fba804b
SM
1935 (window--state-get-1, display-buffer-record-window):
1936 Replace calls to window-point-1 and set-window-point-1 by calls to
5481664a
MR
1937 window-point and set-window-point respectively.
1938
6d74698e
GM
19392012-08-21 Glenn Morris <rgm@gnu.org>
1940
b7fa2691
GM
1941 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
1942 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
1943 Use it.
1944
52f56d5a
GM
1945 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
1946 (cal-tex-shortday): New function.
1947 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
1948 (cal-tex-cursor-filofax-daily): Use the above.
1949
9f1ee09e
GM
1950 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
1951 New functions.
1952 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
1953 (cal-tex-cursor-filofax-week): Use them.
1954
79858159
GM
1955 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
1956 New constants.
1957 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
1958 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
1959
d346b2b4
GM
1960 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
1961 (cal-tex-end-document): Don't rely on buffer name.
1962
b2403709
GM
1963 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
1964 Use cal-tex-vspace.
1965 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
1966 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
2d225a3a
GM
1967 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
1968 Use cal-tex-arg.
b2403709 1969
1cebb5c0
GM
1970 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
1971 (cal-tex-cursor-week, cal-tex-cursor-week2)
1972 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
1973 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
1974 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
1975 (cal-tex-insert-preamble, cal-tex-b-document)
1976 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
1977 Improve cal-tex-cmd usage.
1978
c68cd5d4
GM
1979 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
1980 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
1981 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
1982 (cal-tex-weekly-paper): New function.
1983 (cal-tex-cursor-week, cal-tex-cursor-week2)
1984 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
1985 (cal-tex-cursor-day): Use it.
1986
9dca4801
GM
1987 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
1988 (cal-tex-cursor-filofax-week): Remove leading blank page.
1989
1941e134
GM
1990 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
1991 Add autoload cookie. For now at least, don't use color, since
1992 no other cal-tex function does.
1993
6d74698e
GM
1994 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
1995 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
1996 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
1997
64cde199
JL
19982012-08-21 Juri Linkov <juri@jurta.org>
1999
2000 * info.el (Info-file-attributes): New variable.
2001 (info-insert-file-contents): Add file attributes to
2002 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
2003 `Info-toc-nodes' when previous modtime of the Info file is less
2004 than new modtime.
2005 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
2006 of info.el. (Bug#12230)
2007
32757648
GM
20082012-08-20 Glenn Morris <rgm@gnu.org>
2009
2010 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
2011 * calendar/holidays.el (calendar-holiday-list):
2012 Report errors with display-warning rather than beep'n'sleep.
2013
a32fbbcf
MA
20142012-08-20 Michael Albinus <michael.albinus@gmx.de>
2015
2016 * net/tramp.el (tramp-accept-process-output): Accept only output
2017 from PROC. Otherwise, process filters and sentinels might be
2018 confused. (Bug#12145)
2019
a05731a0
CY
20202012-08-20 Chong Yidong <cyd@gnu.org>
2021
2022 * descr-text.el (describe-text-properties-1): Use overlays-in to
2023 report on empty overlays (Bug#3322).
2024
36e8d1eb
GM
20252012-08-20 Glenn Morris <rgm@gnu.org>
2026
3d300447
GM
2027 * mail/rmailout.el (rmail-output-read-file-name):
2028 Trap and report errors in rmail-output-file-alist elements.
2029
36e8d1eb
GM
2030 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
2031 since most non-font-lock faces are not also variables).
2032
b96e5814
ER
20332012-08-20 Edward Reingold <reingold@iit.edu>
2034
2035 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
2036 New function. (Bug12160)
2037
7cef3569
GM
20382012-08-19 Glenn Morris <rgm@gnu.org>
2039
2040 * mail/rmailout.el (rmail-output-read-file-name):
2041 Fix previous change (when the alist is nil or does not match).
2042
17975d7f
CY
20432012-08-19 Chong Yidong <cyd@gnu.org>
2044
2045 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
2046 (Bug#12228).
2047
2170b1bd
CY
20482012-08-18 Chong Yidong <cyd@gnu.org>
2049
2050 * simple.el (yank-handled-properties): New defcustom.
2051 (yank-excluded-properties): Add font-lock-face and category.
2052 (yank): Doc fix.
2053
9fba804b
SM
2054 * subr.el (remove-yank-excluded-properties):
2055 Obey yank-handled-properties. The special handling of font-lock-face
2170b1bd
CY
2056 and category is now done this way, instead of being hard-coded.
2057 (insert-for-yank-1): Remove font-lock-face handling.
2058 (yank-handle-font-lock-face-property)
2059 (yank-handle-category-property): New function.
2060
ee218151
GM
20612012-08-17 Glenn Morris <rgm@gnu.org>
2062
2063 * mail/rmailout.el (rmail-output-read-file-name):
2064 Check rmail-output-file-alist against the full message body
2065 in the correct rmail buffer. (Bug#12214)
2066
4a6bc3fd
MA
20672012-08-17 Michael Albinus <michael.albinus@gmx.de>
2068
9fba804b
SM
2069 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2070 Eliminate superfluous prompt. (Bug#12203)
4a6bc3fd 2071
383dcbf9
CY
20722012-08-17 Chong Yidong <cyd@gnu.org>
2073
2074 * mouse.el (mouse-appearance-menu): If x-select-font returns a
2075 font spec, set the font directly (Bug#3228).
2076
998c4a6a
MR
20772012-08-17 Martin Rudalics <rudalics@gmx.at>
2078
2079 * window.el (delete-window): Fix last fix.
2080
52162052
MR
20812012-08-16 Martin Rudalics <rudalics@gmx.at>
2082
2083 * window.el (window-valid-p): Move to window.c.
85c2386b
MR
2084 (window-child, window-child-count, window-last-child)
2085 (window-normalize-window, window-combined-p)
2086 (window-combinations, window-atom-root, window-min-size)
2087 (window-sizable, window-sizable-p, window-size-fixed-p)
2088 (window-min-delta, window-max-delta, window--resizable)
2089 (window--resizable-p, window-resizable, window-total-size)
2090 (window-full-height-p, window-full-width-p, window-body-size)
2091 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
2092 (minimize-window, window-deletable-p, delete-window)
2093 (delete-other-windows, set-window-buffer-start-and-point)
2094 (next-buffer, previous-buffer, split-window, balance-windows-2)
2095 (set-window-text-height, window-buffer-height)
2096 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
9fba804b
SM
2097 (truncated-partial-width-window-p): Minor code adjustments.
2098 In doc-strings state whether the argument window has to denote a
85c2386b 2099 live, valid or any window.
52162052 2100
1c308380
PS
21012012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
2102
2103 * progmodes/subword.el (subword-forward-function)
2104 (subword-backward-function, subword-forward-regexp)
2105 (subword-backward-regexp): New variables.
2106 (subword-forward, subword-forward-internal, subword-backward-internal):
2107 Use new variables, eg so that different "word" definitions
2108 can be easily used. (Bug#11411)
2109
94c9ece1
SM
21102012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
2111
2112 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
2113 for composite selectors.
2114 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
2115 operation just because we can't find a previous revision.
2116
f2045622
CY
21172012-08-15 Chong Yidong <cyd@gnu.org>
2118
2119 * frame.el (set-frame-font): Accept font objects.
2120
582db660
SM
21212012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
2122
2123 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
2124
2f29c200
WJ
21252012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
2126
456e62c2
WJ
2127 * man.el (Man-overstrike-face, Man-underline-face)
2128 (Man-reverse-face): Remove variables.
2129 (Man-overstrike, Man-underline, Man-reverse): New faces.
2130 (Man-fontify-manpage): Use them instead of the variables.
2131 (Man-cleanup-manpage): Comment change.
2132 (Man-ansi-color-map): New variable.
2133 (Man-fontify-manpage): Use it.
2134 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
2135
2f29c200
WJ
2136 Implement ANSI SGR parameters 22-27 (bug#12146).
2137 * ansi-color.el (ansi-colors): Doc fix.
2138 (ansi-color-context, ansi-color-context-region): Doc fix.
2139 (ansi-color--find-face): New function.
2140 (ansi-color-apply, ansi-color-apply-on-region): Use it.
2141 Rename the local variable `face' to `codes' since it is now a list of
2142 ansi codes. Doc fix.
2143 (ansi-color-get-face): Remove.
2144 (ansi-color-parse-sequence): New function, derived from
2145 ansi-color-get-face.
2146 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
2147 codes 22-27.
2148
b4f5e9df
SM
21492012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
2150
2151 * subr.el (read-passwd): Allow use from a minibuffer.
2152
ba025fbd
EZ
21532012-08-14 Eli Zaretskii <eliz@gnu.org>
2154
2155 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
2156 inside comments and strings as identifiers.
2157
2158 * progmodes/gud.el (gud-tooltip-print-command): Quote the
2159 expression to evaluate. This allows to evaluate expressions with
2160 embedded whitespace.
2161 (gud-tooltip-tips): Add a blank before the newline in the
2162 message-box text, for the benefit of message-box emulation on
2163 MS-Windows.
2164
2165 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
2166 messages from GDB, pop them up in a tooltip to give feedback to
2167 user.
b4f5e9df
SM
2168 (gdb-tooltip-print-1): Quote the expression to evaluate.
2169 This allows to evaluate expressions with embedded whitespace.
ba025fbd
EZ
2170 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
2171 if the TTY name is nil or empty (which happens when communicating
2172 with the inferior via pipes, e.g. on MS-Windows).
2173 (gdb-internals): If GDB sends a "&\n" empty debugging message,
2174 don't send that to the GUD buffer.
2175
c548f821
GM
21762012-08-14 Glenn Morris <rgm@gnu.org>
2177
2178 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
2179 Optimize away setq-default with no args, as for setq. (Bug#12195)
2180
55802e4a
CY
21812012-08-14 Chong Yidong <cyd@gnu.org>
2182
4abcdac8
CY
2183 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
2184
55802e4a
CY
2185 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
2186 (Bug#12085).
2187
3c3cda1a
GM
21882012-08-14 Glenn Morris <rgm@gnu.org>
2189
2190 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
2191
e1873bd0
MA
21922012-08-14 Michael Albinus <michael.albinus@gmx.de>
2193
2194 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
2195 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
2196 Use cached shell name.
2197
925411b4
FEG
21982012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
2199
2200 * progmodes/python.el (python-shell-send-string):
3c3cda1a 2201 (python-shell-send-setup-code): Do not use `format' with `message'.
925411b4 2202
e636fafe
DG
22032012-08-14 Dmitry Gutov <dgutov@yandex.ru>
2204
2205 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
2206 (ruby-percent-literal-beg-re): New constant.
2207 (ruby-syntax-general-delimiters-goto-beg): Rename to
2208 `ruby-syntax-enclosing-percent-literal', improve literal type check.
2209 (ruby-syntax-propertize-general-delimiters): Rename to
2210 `ruby-syntax-propertize-percent-literal', it's a shorter and more
2211 popular term. Adjust comments everywhere.
2212 (ruby-syntax-propertize-percent-literal): Only propertize when not
2213 inside a simple string or comment. When the literal is unclosed,
2214 leave the text after it unpropertized.
f063063a
DG
2215 (ruby-syntax-methods-before-regexp): New constant.
2216 (ruby-syntax-propertize-function): Use it to recognize regexps.
2217 Don't look at the text after regexp, just use the whitelist.
e636fafe 2218
e5b19827
AS
22192012-08-14 Andreas Schwab <schwab@linux-m68k.org>
2220
2221 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
2222 non-nil always load the compiled file if it exists. (Bug#12197)
2223
a9f6f311
CY
22242012-08-14 Chong Yidong <cyd@gnu.org>
2225
2226 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
2227 (hi-lock-set-pattern): When deciding whether to use font lock or
2228 overlays, look at font-lock-mode instead of font-lock-fontified
2229 (Bug#12168).
2230 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
2231 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
2232
7d806b1e
DU
22332012-08-14 Daiki Ueno <ueno@unixuser.org>
2234
2235 * subr.el (internal--after-with-selected-window): Fix typo
2236 (Bug#12193).
2237
5beed586
FEG
22382012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
2239
2240 Use `completion-table-dynamic' for completion functions.
2241 * progmodes/python.el
2242 (python-shell-completion--do-completion-at-point)
e636fafe
DG
2243 (python-shell-completion--get-completions):
2244 Remove functions.
5beed586
FEG
2245 (python-shell-completion-complete-at-point): New function.
2246 (python-completion-complete-at-point): Use it.
2247
92cb3b04
J
22482012-08-13 Jambunathan K <kjambunathan@gmail.com>
2249
2250 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
2251 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
2252
89660017
SM
22532012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
2254
3c98c962
SM
2255 * subr.el (function-get): Refine `autoload' arg so it can also
2256 autoload functions for gv.el (bug#12191).
2257 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
2258 autoloads macros.
2259
aa7c6dbe
SM
2260 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
2261 Prefer pcase-let over destructuring-bind.
2262 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
2263 Also, remove whitespace as we go, rather than after accumulating the
2264 various places.
2265
89660017
SM
2266 * subr.el (internal--before-with-selected-window)
2267 (internal--after-with-selected-window): Fix typo seleted->selected.
2268 (with-selected-window): Adjust callers.
2269 Reported by Dmitry Gutov <dgutov@yandex.ru>.
2270
31cd32c9
BG
22712012-08-13 Bastien Guerry <bzg@gnu.org>
2272
0fcd3d9f 2273 * window.el (special-display-popup-frame): Minor docstring
31cd32c9
BG
2274 enhancement. (Bug#12172)
2275
1b15d8ad
AS
22762012-08-13 Andreas Schwab <schwab@linux-m68k.org>
2277
31e54db0
AS
2278 * tar-mode.el (tar-header-data-end): Only ignore size for files of
2279 type 1-6.
2280 (tar-header-block-summarize, tar-get-descriptor): Handle pax
2281 extended headers.
2282
1b15d8ad
AS
2283 * files.el (hack-local-variables-filter): Remove useless eval.
2284
35cb9c06
MR
22852012-08-13 Martin Rudalics <rudalics@gmx.at>
2286
2287 * subr.el (with-selected-window): Fix last change.
2288
1439443b
SM
22892012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
2290
2291 * subr.el (internal--before-with-seleted-window)
2292 (internal--after-with-seleted-window): New functions.
1b15d8ad
AS
2293 (with-selected-window): Use them, to replace dependency on
2294 tty-top-frame.
1439443b 2295
0d9e2599
NN
22962012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
2297
2298 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
2299 binding for `newline'.
2300 (ruby-move-to-block): When moving backward, stop at block opening,
2301 not indentation.
2302 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
2303 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
2304 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
2305 `ruby-toggle-block'.
2306
ba10c48c
SM
23072012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
2308
2309 * ibuffer.el (ibuffer-do-toggle-read-only):
2310 * dired.el (dired-toggle-read-only):
2311 * buff-menu.el (Buffer-menu-toggle-read-only):
2312 * bindings.el (mode-line-toggle-read-only):
2313 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
2314
9229c658
AS
23152012-08-12 Andreas Schwab <schwab@linux-m68k.org>
2316
2317 * descr-text.el (describe-char): Put the overlays over the
2318 "displayed as" character.
2319
0fd09128
JB
23202012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
2321
2322 * calc/calc-units.el (math-default-units-table): Give an
2323 initial value.
2324 (math-put-default-units): Add options to put composite units and
2325 unit systems in the default units table.
2326 (calc-convert-units): Send composite units to
2327 `math-put-default-units' when appropriate.
2328
9ff9402d 23292012-08-11 Glenn Morris <rgm@gnu.org>
7aacaf15 2330
fbb5e336
GM
2331 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
2332
7aacaf15
GM
2333 * tutorial.el (help-with-tutorial):
2334 * emacs-lisp/copyright.el (copyright-update-directory):
2335 * emacs-lisp/autoload.el (autoload-find-generated-file)
2336 (autoload-find-file): Disable local eval: (for insurance).
2337
f40b9f10
GM
2338 * files.el (hack-local-variables-filter): If an eval: form is not
2339 known to be safe, and enable-local-variables is :safe, then ignore
2340 the form totally, as is done for non-eval forms. (Bug#12155)
6f97980a 2341 This is CVE-2012-3479.
f40b9f10 2342
daa9f1a6
SM
23432012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
2344
2345 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
2346 (rx-form): Simplify.
2347
9cd80478
DG
23482012-08-09 Dmitry Gutov <dgutov@yandex.ru>
2349
0d9e2599
NN
2350 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
2351 ?, _, and : are symbol constituents, ! is not (but kinda should be).
2352 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
2353 (ruby-syntax-propertize-function): Adjust for changes in
2354 `ruby-syntax-propertize-heredoc'.
2355
23562012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
2357
9cd80478
DG
2358 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
2359 binding (use `M-;' instead).
9cd80478 2360 (ruby-singleton-class-p): New function.
0d9e2599 2361 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
9cd80478 2362
d301b413
SM
23632012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
2364
2365 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
2366
1530c98e
CY
23672012-08-10 Chong Yidong <cyd@gnu.org>
2368
2369 * progmodes/python.el (python-shell-get-process-name): Don't mess
2370 with same-window-buffer-names.
2371
2372 * eshell/eshell.el (eshell-add-to-window-buffer-names)
2373 (eshell-remove-from-window-buffer-names): Make obsolete.
2374 (eshell-buffer-name, eshell-unload-hook): Don't use them.
2375 (eshell): Just use pop-to-buffer-same-window instead.
2376
e1293765
CY
23772012-08-10 Chong Yidong <cyd@gnu.org>
2378
2379 * bindings.el: Bind M-= back to count-words-region.
2380
2381 * simple.el (count-words-region): Accept a prefix arg for acting
2382 on the entire buffer.
2383 (count-words--buffer-message): New helper function.
2384
e1894109
SM
23852012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
2386
2387 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
2388 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
2389 (event-start, event-end): Use posn-at-point to return a more
2390 informative posn.
2391 (posnp): New function.
2392 * mouse.el (popup-menu-normalize-position): Use it.
2393
c69f56a2
MY
23942012-08-10 Masatake YAMATO <yamato@redhat.com>
2395
2396 * mouse.el (popup-menu-normalize-position): New function.
2397 (popup-menu): Use `popup-menu-normalize-position' to normalize
2398 the form for POSITION argument.
2399
2400 * term/x-win.el (x-menu-bar-open):
2401 Use the value returend from (posn-at-point) as position
2402 passed to `popup-menu'.
2403
31673780
JB
24042012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
2405
2406 * calc/calccomp.el (math-compose-expr): Add extra argument
2407 indicating that parentheses should be put around products in
2408 denominators. Give multiplication precedence over division during
2409 composition.
2410
dab7711b
CY
24112012-08-09 Chong Yidong <cyd@gnu.org>
2412
dee4ef93
CY
2413 * man.el (Man-switches, Man-sed-command, Man-awk-command)
2414 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
2415 (Man-untabify-command, manual-program): Convert to defcustom
2416 (Bug#10429).
2417
73e2bbc5
CY
2418 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
2419
3e861c8a
CY
2420 * descr-text.el (describe-char): Don't insert extra newlines
2421 (Bug#10127).
2422
a9f5a649
CY
2423 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
2424 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
2425
dab7711b
CY
2426 * align.el (align-region): Delete temporary markers (Bug#10047).
2427 Plus some code cleanups.
2428
e0cc4efa
FEG
24292012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
2430
2431 * progmodes/python.el (python-pdbtrack-tracked-buffer)
2432 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
2433 (python-shell-internal-last-output): Use make-local-variable
2434 instead of make-variable-buffer-local.
2435
489af14f
FEG
24362012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
2437
2438 * progmodes/python.el: Enhancements to forward-sexp.
2439 (python-nav-forward-sexp): Rename from
2440 python-nav-forward-sexp-function.
c69f56a2
MY
2441 (python-nav--forward-sexp, python-nav--backward-sexp):
2442 New functions.
489af14f 2443
0fc50303
JB
24442012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
2445
2446 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
2447 modes and simplification modes.
2448
5d65606a
SM
24492012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
2450
2451 * delsel.el (delete-selection-pre-hook): Don't propagate the
2452 file-supersession signals (bug#12161).
2453
4250fdf5
SM
24542012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
2455
2456 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
2457 (cl-map-extents): Add compatibility aliases (bug#12135).
2458
d9f9b465
MA
24592012-08-08 Michael Albinus <michael.albinus@gmx.de>
2460
2461 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
2462 tests by `ignore-error'.
2463 (tramp-find-shell): Open also a new shell, when cache is already
2464 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
2465
ce0fcefa
JL
24662012-08-08 Juri Linkov <juri@jurta.org>
2467
2468 * bookmark.el: Add `defaults' property to the bookmark record.
2469 (bookmark-current-buffer): Doc fix.
2470 (bookmark-make-record): Add `defaults' property with default values
2471 to the bookmark record.
2472 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
2473 with `bookmark-insert-current-bookmark'.
2474 (bookmark-set): Get `defaults' property from the bookmark record
2475 and use it in `read-from-minibuffer'.
2476 (bookmark-insert-current-bookmark): Remove function.
2477
2478 * info.el (Info-bookmark-make-record): Add `defaults' property
2479 with values of canonical Info node name, the current Info file
2480 name and the current Info node name. (Bug#12107)
2481
53fa8652
JL
24822012-08-08 Juri Linkov <juri@jurta.org>
2483
2484 * files.el (basic-save-buffer): Use `buffer-name' as the default
2485 of `read-file-name' when buffer is not visiting a file (bug#12128).
2486
242c0a95
JL
24872012-08-08 Juri Linkov <juri@jurta.org>
2488
2489 * info.el (Info-isearch-search): Doc fix.
2490 (Info-search): Change search-failed message from "initial node" to
2491 "end of node" (bug#12078).
2492 (Info-isearch-search): Change `isearch-string-state' to
2493 `isearch--state-string'.
2494
32ac3a6b
GM
24952012-08-08 Glenn Morris <rgm@gnu.org>
2496
2497 * language/persian.el: Remove file.
f8c1afd5 2498 * language/misc-lang.el: Move unique part of persian.el here.
32ac3a6b
GM
2499 * loadup.el: Remove language/persian.
2500
2c2d9c9c
OF
25012012-08-08 Óscar Fuentes <ofv@wanadoo.es>
2502
2503 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
2504
2d79ec42
FEG
25052012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
2506
2507 * progmodes/python.el Fixed defsubst warning.
2508 (python-syntax-context) Rename from python-info-ppss-context.
2509 (python-syntax-context-type): Rename from
2510 python-info-ppss-context-type.
2511 (python-syntax-comment-or-string-p): Rename from
2512 python-info-ppss-comment-or-string-p.
2513
2bd255dd
JB
25142012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
2515
2516 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
2517
c395097f
AS
25182012-08-07 Andreas Schwab <schwab@linux-m68k.org>
2519
6125983e
AS
2520 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
2521 a defcustom that is quoted with backquote.
2522
4250fdf5
SM
2523 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
2524 Fix handling of interactive spec when the body uses return.
651eaf36
AS
2525 (math-do-arg-check, math-define-function-body): Use backquote forms.
2526 * calc/calc-ext.el (math-defcache): Likewise.
2527 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
2528 * allout.el (allout-new-exposure): Likewise.
2529 * calc/calcalg2.el (math-tracing-integral): Likewise.
2530 * info.el (Info-last-menu-item): Likewise.
2531 * emulation/vip.el (vip-loop): Likewise.
2532 * textmodes/artist.el (artist-funcall): Likewise.
2533 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
2534 Construct menu-item directly.
2535
4250fdf5
SM
2536 * progmodes/autoconf.el (font-lock-syntactic-keywords):
2537 Don't declare.
c395097f 2538
5fb50dd3
CY
25392012-08-07 Chong Yidong <cyd@gnu.org>
2540
2541 * simple.el (deactivate-mark): Preserve text properties when
2542 saving the primary selection (Bug#8384).
2543
54eea618
KR
25442012-08-07 Kevin Ryde <user42@zip.com.au>
2545
2546 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
2547 (woman-parse-numeric-value): On a bad .IP line, issue a warning
2548 and continue processing (Bug#12110).
2549
638eaeb9
SM
25502012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
2551
2552 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
2553 syntax-propertize-function (bug#10095).
2554
ea376861
SM
25552012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
2556
f91b35be
SM
2557 * help-fns.el (help-fns--key-bindings, help-fns--signature)
2558 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
2559 describe-function-1.
2560 (describe-function-1): Use them. Move compiler macro after sig.
2561 (help-fns--compiler-macro): Use function-get. Assume we're already in
2562 standard-output. Adjust layout to new call order.
2563
ea376861
SM
2564 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
2565 re-binding a symbol that has a symbol-macro (bug#12119).
2566
d5be7bd0
MB
25672012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
2568
2569 * language/persian.el: New file. (Bug#11812)
2570 * loadup.el: Add language/persian.el.
2571
90749b53
CY
25722012-08-06 Chong Yidong <cyd@gnu.org>
2573
2574 * window.el (window--maybe-raise-frame): New function.
2575 (window--display-buffer): Split off from here.
2576 (display-buffer-reuse-window, display-buffer-pop-up-frame)
2577 (display-buffer-pop-up-window, display-buffer-use-some-window):
2578 Obey an inhibit-switch-frame action alist entry.
2579 (display-buffer): Update doc.
2580
2581 * replace.el (occur-after-change-function): Avoid losing focus by
2582 using the inhibit-switch-frame display parameter (Bug#12139).
2583
ba7b0154
FEG
25842012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
2585
2586 Make internal shell process buffer names start with space.
2587 * progmodes/python.el (python-shell-make-comint): Add optional
2588 argument INTERNAL.
2589 (run-python-internal): Use it.
2590 (python-shell-internal-get-or-create-process): Check for new
2591 internal buffer names.
2592
5eaeacb5
GM
25932012-08-06 Glenn Morris <rgm@gnu.org>
2594
e296d94b 2595 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
5eaeacb5
GM
2596 Do less getting and setting of environment variables.
2597
b7ccbdc2
CY
25982012-08-05 Chong Yidong <cyd@gnu.org>
2599
777fe95e
CY
2600 * proced.el (proced): Add substitution string to docstring to
2601 trigger autoloading of the proced library on C-h f (Bug#1768).
2602
4250fdf5
SM
2603 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
2604 Don't show defvars which have no second argument (Bug#8638).
b7ccbdc2
CY
2605
2606 * imenu.el (imenu-generic-expression): Move documentation here
2607 from imenu--generic-function.
2608 (imenu--generic-function): Refer to imenu-generic-expression.
2609
9e3b7800 26102012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
d5c31f1d
2611
2612 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
2613 indentation declaration.
2614 (viper-loop): Add indentation declaration (Bug#7025).
2615
e5d9c0d1
CY
26162012-08-05 Chong Yidong <cyd@gnu.org>
2617
f0422feb
CY
2618 * help-fns.el (describe-variable): Add hyperlink for
2619 directory-local variables files. Improve buffer-local and
2620 permanent-local reporting; suggested by MON KEY (Bug#6644).
2621
2622 * help-mode.el (help-dir-local-var-def): New button type.
2623
e5d9c0d1
CY
2624 * files.el (kill-buffer-hook): Provide a defvar.
2625
a4f2deaa
GM
26262012-08-05 Glenn Morris <rgm@gnu.org>
2627
2628 * eshell/esh-ext.el (eshell/addpath):
2629 Also update eshell-path-env. (Bug#12013)
2630
a9dd5754
CY
26312012-08-05 Chong Yidong <cyd@gnu.org>
2632
a4f2deaa 2633 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
615b0bf0 2634
d014c740
CY
2635 * fringe.el (fringe-styles): Add docstring.
2636 (fringe--check-mode): New function.
2637 (set-fringe-mode, set-fringe-style): Use it.
2638 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
2639
a9dd5754
CY
2640 * files.el (set-auto-mode): Fix invalid setq call.
2641
7c2dc8bd
SM
26422012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
2643
2644 * isearch.el: Misc simplification; use defstruct.
2645 (isearch-mode-map): Dense maps now work like sparse ones.
2646 (isearch--state): New defstruct.
2647 (isearch-string-state, isearch-message-state, isearch-point-state)
2648 (isearch-success-state, isearch-forward-state)
2649 (isearch-other-end-state, isearch-word-state, isearch-error-state)
2650 (isearch-wrapped-state, isearch-barrier-state)
2651 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
2652 replaced by defstruct's accessors.
2653 (isearch--set-state): Rename from isearch-top-state and change
2654 calling convention.
2655 (isearch-push-state): Use new isearch--get-state.
2656 (isearch-toggle-word): Disable regexp when enabling word.
2657 (isearch-message-prefix): Remove unused arg _c-q-hack.
2658 (isearch-message-suffix): Remove unused arg _ellipsis.
2659
7fcc0070
AS
26602012-08-04 Andreas Schwab <schwab@linux-m68k.org>
2661
2662 * simple.el (list-processes--refresh): For a server use :host or
2663 :local as the address.
97ad0769 2664 (list-processes): Doc fix.
7fcc0070 2665
a11035b8 26662012-08-04 Michal Nazarewicz <mina86@mina86.com>
00340faf
MN
2667
2668 * lisp/mpc.el: Support password in host argument.
2669 (mpc--proc-connect): Parse and use new password element.
2670 Set mpc-proc variable instead of returning process.
2671 (mpc-proc): Adjust accordingly.
2672
6dad7178
EZ
26732012-08-03 Eli Zaretskii <eliz@gnu.org>
2674
18949c2f
EZ
2675 * whitespace.el (whitespace-display-mappings): Use Unicode
2676 codepoints, instead of emacs-mule codepoints. See
2677 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
2678 for the details.
2679
6dad7178
EZ
2680 * files.el (file-truename): Don't skip symlink-chasing part on
2681 windows-nt. Incorporate the resolution of 8+3 short aliases on
4250fdf5
SM
2682 Windows into the loop that recursively chases symlinks.
2683 Compare directory and its parent case-insensitively on MS-Windows and
6dad7178
EZ
2684 MS-DOS.
2685
385b0198
CY
26862012-08-03 Chong Yidong <cyd@gnu.org>
2687
6200f3c4
CY
2688 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
2689
385b0198
CY
2690 * sort.el (sort-regexp-fields): Doc fix.
2691
b9e74744
TH
26922012-08-03 Tassilo Horn <tsdh@gnu.org>
2693
2694 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
2695 labels regex position point at the expected place.
2696
41013cb4
MK
26972012-08-03 MON KEY <monkey@sandpframing.com>
2698
2699 * net/imap.el (imap-interactive-login, imap-authenticate)
2700 (imap-mailbox-lsub, imap-mailbox-list)
2701 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
2702 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
2703 (imap-parse-response): Doc fix.
2704
0ffee616
JT
27052012-08-03 João Távora <joaotavora@gmail.com>
2706
2707 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
2708 if sexp scanning does not move point (Bug#5734).
2709
cfcc9cc8
TH
27102012-08-02 Tassilo Horn <tsdh@gnu.org>
2711
2712 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
2713 Add listings, minted, and ctable packages.
2714 (reftex-label-alist-builtin): Move listings, minted, and ctable
2715 entries before LaTeX.
a01bbb84 2716 (reftex-label-alist): Docfix.
cfcc9cc8 2717
66ec2442
BG
27182012-08-02 Bastien Guerry <bzg@gnu.org>
2719
2720 * replace.el (occur): Fix docstring (bug#12122).
2721
837b365b
GM
27222012-08-02 Glenn Morris <rgm@gnu.org>
2723
2724 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
2725
e098de97
PE
27262012-08-02 Paul Eggert <eggert@cs.ucla.edu>
2727
2728 Obsolete alias inactivate-current-input-method-function (Bug#10150).
2729 * international/mule-cmds.el: Create
2730 inactivate-current-input-method-function as an obsolete alias for
2731 deactivate-current-input-method-function. See Katsumi Yamaoka in
2732 <http://bugs.gnu.org/10150#46>.
2733
a0f95636
JB
27342012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
2735
2736 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
2737 of nested `if's.
2738
0d26d7c4
GM
27392012-08-01 Glenn Morris <rgm@gnu.org>
2740
2741 * progmodes/autoconf.el (autoconf-definition-regexp):
2742 Add AH_TEMPLATE, adjust submatch numbering.
2743 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
2744 (autoconf-current-defun-function): Update for above change.
2745 (autoconf-current-defun-function): First skip to end of current word.
2746
b686ba06
RS
27472012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
2748
2749 * calendar/cal-html.el (cal-html-insert-agenda-days):
2750 Fix typo. (Bug#12018)
2751
0d49da68
FEG
27522012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
2753
2754 Shell processes: enhancements to startup and CEDET compatibility.
2755 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
2756 (python-shell-make-comint): accept-process-output at startup.
2757 (run-python-internal): Set inferior-python-mode-hook to nil.
2758 (python-shell-internal-get-or-create-process): call sit-for.
2759 (python-preoutput-result): Add obsolete alias.
2760 (python-shell-internal-send-string): Use it.
2761 (python-shell-send-setup-code): Remove call to
2762 accept-process-output.
2763
f1a71c6e
AS
27642012-07-31 Andreas Schwab <schwab@linux-m68k.org>
2765
2766 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
2767 (Bug#12108)
2768
d2605269
JB
27692012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
2770
2771 * calc-mode.el (calc-basic-simplification-mode): Rename from
2772 `calc-limited-simplification-mode'.
2773 (calc-alg-simplification-mode): New function.
fc0c31f8 2774 (calc-set-simplify-mode): Adjust message.
f1a71c6e 2775
d2605269
JB
2776 * calc.el (calc-set-mode-line): Adjust mode line display for
2777 basic simplification mode.
2778
2779 * calc-help.el (calc-m-prefix-help): Update help message.
2780
2781 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
2782 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
2783
a3827a43
BG
27842012-07-31 Bastien Guerry <bzg@gnu.org>
2785
2786 * man.el (man): Fix comment. (bug#12101)
2787
502e3f89
MR
27882012-07-31 Martin Rudalics <rudalics@gmx.at>
2789
2790 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
2791 Don't return a non-nil value when no suitable buffer was found.
2792
d7714961
FEG
27932012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
2794
2795 * progmodes/python.el (run-python-internal): Disable font lock for
2796 internal shells.
2797
1f45e27e
SM
27982012-07-30 Stefan Merten <smerten@oekonux.de>
2799
70efc5c9 2800 * textmodes/rst.el: Silence `checkdoc-ispell'.
1f45e27e
SM
2801 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
2802 (rst-official-version, rst-official-cvs-rev)
2803 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
2804 (rst-mode-map): New key binding.
2805
0aee6912
PE
28062012-07-30 Paul Eggert <eggert@cs.ucla.edu>
2807
2808 Update .PHONY listings in makefiles.
2809 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
2810 autoloads, update-subdirs, updates, bzr-update, update-authors,
2811 compile-onefile, compile-calc, backup-compiled-files,
2812 compile-after-backup, compile-one-process, mh-autoloads,
2813 bootstrap-clean, distclean, maintainer-clean.
2814
9052f9f0
JB
28152012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
2816
1823ac5a
JB
2817 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
2818 (calc-set-mode-line): Don't display "AlgSimp ".
2819
2820 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
2821 (calc-lim-simplify-mode): New function.
2822 (calc-set-simplify-mode): Default to 'alg.
2823 (calc-default-simplify-mode): Make algebraic simplifications
2824 the default.
2825
2826 * calc/calc-ext.el (calc-init-extensions): Remove binding for
2827 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
2828
8d7c7eed 2829 * calc/calc-help.el (calc-m-prefix-help): Change messages to
4b337409
JB
2830 indicate new simplification modes.
2831
1823ac5a
JB
2832 * calc/README: Mention new default simplification mode.
2833
9052f9f0
JB
2834 * calc/calc.el (math-normalize-error): New variable.
2835 (math-normalize): Set `math-normalize-error' to t
2836 when there's an error.
2837
2838 * calc/calc-alg.el (math-simplify): Don't simplify when
2839 `math-normalize' returns an error.
2840
20ba0cb4
EZ
28412012-07-29 Eli Zaretskii <eliz@gnu.org>
2842
2843 * international/mule-cmds.el (set-locale-environment): Revert last
2844 change, since display-graphic-p returns nil when this function is
2845 called during startup. Instead...
2846
2847 * term/w32console.el (terminal-init-w32console): ...setup the
2848 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
2849
a5dcc929
JL
28502012-07-29 Juri Linkov <juri@jurta.org>
2851
2852 * simple.el (goto-line): Don't display default line number in the
2853 prompt because it should be displayed by `read-number' (bug#9952).
2854 Add the current line number to the defaults of `goto-line' to
2855 allow its easier modification by users with `M-n' (bug#9201).
2856
2857 * subr.el (read-number): Support multiple default values like in
2858 other minibuffer reading functions. Replace `read' with
2859 `string-to-number' for consistency with `number-to-string'.
2860
72b255c7
PE
28612012-07-29 Paul Eggert <eggert@cs.ucla.edu>
2862
2863 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
2864 * emulation/viper-init.el (viper-deactivate-input-method-action):
2865 Rename from viper-inactivate-input-method-action.
2866 (viper-deactivate-input-method):
2867 Rename from viper-inactivate-input-method.
2868 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
2869 * international/mule-cmds.el (deactivate-input-method):
2870 Rename from inactivate-input-method.
2871 Also run input-method-deactivate-hook.
2872 (deactivate-current-input-method-function):
2873 Rename from inactivate-current-input-method-function.
2874 (input-method-deactivate-hook): New hook.
2875 (input-method-inactivate-hook): Mark obsolete.
bb6eb9fc
PE
2876 (inactivate-input-method): Mark obsolete.
2877
72b255c7
PE
2878 * international/quail.el (quail-activate):
2879 Also run quail-deactivate-hook.
2880 (quail-deactivate): Rename from quail-inactivate.
2881 * international/robin.el (robin-activate):
2882 Also run robin-deactivate-hook.
2883 (robin-deactivate): Rename from robin-inactivate.
2884
2549c068
CY
28852012-07-29 Chong Yidong <cyd@gnu.org>
2886
2887 * simple.el (indicate-copied-region): New function.
2888 (kill-ring-save): Split off from here.
2889
2890 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
2891 (kill-rectangle): Set deactivate-mark to t on read-only error.
2892
2893 * register.el (copy-to-register, copy-rectangle-to-register):
2894 Deactivate the mark, and use indicate-copied-region (Bug#10056).
4c478e6b
JL
2895 (append-to-register, prepend-to-register): Call indicate-copied-region.
2896
28972012-07-29 Juri Linkov <juri@jurta.org>
17711ed9
JL
2898
2899 * simple.el (async-shell-command-buffer): New defcustom.
2900 (shell-command): Use it. (Bug#4719)
2901
01bd1b0d
EZ
29022012-07-28 Eli Zaretskii <eliz@gnu.org>
2903
2904 * international/mule-cmds.el (set-locale-environment): In a
2905 console session on MS-Windows, set up keyboard and terminal
2906 encoding from the OEM codepage, not the ANSI codepage.
2907 (Bug#12055)
2908
a55739d3
CY
29092012-07-28 Chong Yidong <cyd@gnu.org>
2910
2911 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
2912 gdb-get-location.
2913
0e1a094f 29142012-07-28 Leo Liu <sdl.web@gmail.com>
9a0f8f2e
LL
2915
2916 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
2917 the alist (bug#12029).
2918
20329d73
EZ
29192012-07-28 Eli Zaretskii <eliz@gnu.org>
2920
2921 * makefile.w32-in (custom-deps, finder-data, updates, compile)
2922 (compile-always, compile-first)
2923 ($(lisp)/calendar/cal-loaddefs.el)
2924 ($(lisp)/calendar/diary-loaddefs.el)
2925 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
2926 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
2927 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
2928 instead of on update-subdirs.
2929 (bootstrap-clean): Delete $(lisp)/subdirs.el.
2930
345a2258
CY
29312012-07-28 Chong Yidong <cyd@gnu.org>
2932
1eee6341
CY
2933 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
2934 directory if vc-deduce-backend returns nil (Bug#7350).
2935
345a2258
CY
2936 * simple.el (delete-trailing-lines): New option.
2937 (delete-trailing-whitespace): Obey it (Bug#11879).
2938
049a0936
DE
29392012-07-28 David Engster <deng@randomsample.de>
2940
2941 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
2942 Explanation of new 'symbol-qnames feature in doc-strings.
2943 (xml-maybe-do-ns): Return expanded names as plain symbols if
2944 'symbol-qnames was provided in XML-NS argument (Bug#11916).
2945 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
2946
aa81af71
FEG
29472012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
2948
2949 Consistent completion in inferior python with emacs -nw.
2950 * progmodes/python.el (inferior-python-mode): replace "<tab>"
2951 binding in inferior-python-mode-map with "\t".
2952 (python-shell-completion-complete-at-point)
2953 (python-completion-complete-at-point): Remove interactive spec.
2954
e827b1eb
JB
29552012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
2956
2957 * calc/calccomp.el (math-compose-expr): Undo previous change.
2958
a90dfb95
FEG
29592012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
2960
4250fdf5 2961 * progmodes/python.el (python-mode-map): Add keybinding for
a90dfb95
FEG
2962 run-python.
2963 (python-shell-make-comint): Fix pop-to-buffer call.
2964 (run-python): Autoload. New arg SHOW.
2965 (python-shell-get-or-create-process): Do not pop python process
2966 buffer.
2967
32770973 29682012-07-27 Michael Albinus <michael.albinus@gmx.de>
1c6ef030
MA
2969
2970 * notifications.el (notifications-on-action-signal)
2971 (notifications-on-closed-signal): Use also the bus address for the map.
2972 (notifications-notify, notifications-close-notification)
fc0c31f8 2973 (notifications-get-capabilities): Add optional argument BUS.
1c6ef030 2974
86332df2
TH
29752012-07-27 Tassilo Horn <tsdh@gnu.org>
2976
4250fdf5
SM
2977 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
2978 Add support for the lstlisting and minted environments, and for the
86332df2
TH
2979 ctable macro.
2980 * textmodes/reftex.el (reftex-compile-variables): Also recognize
2981 labels written in keyvals syntax.
2982
ca1302a4
JB
29832012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
2984
2985 * calc/calccomp.el (math-compose-expr): Use parentheses when
2986 there is a product in the denominator of a fraction.
2987
f8b91036
EZ
29882012-07-26 Eli Zaretskii <eliz@gnu.org>
2989
2990 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
2991 ($(lisp)/calendar/diary-loaddefs.el)
2992 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
4250fdf5
SM
2993 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
2994 Fixes failures in parallel bootstrap because subdirs.el is being
f8b91036
EZ
2995 rewritten while the autoload files are built at the same time,
2996 which needs to load subdirs.el.
2997
c8e5a42c
MR
29982012-07-26 Martin Rudalics <rudalics@gmx.at>
2999
3000 * mouse.el (popup-menu): Fix doc-string and re-indent code.
3001 (mouse-drag-line): Don't exit tracking when a switch-frame or
3002 switch-window event occurs (Bug#12006).
3003
670d85ea
SM
30042012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3005
3006 * mouse.el (popup-menu): Fix last change.
3007
7abaf5cc
SM
30082012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3009
3010 Autoload from Lisp with more care. Follow aliases when looking for
3011 function properties.
3012 * subr.el (autoloadp): New function.
3013 (symbol-file): Use it.
3014 (function-get): New function.
3015 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
3016 autoload-do-load.
3017 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
3018 (lisp-indent-function):
3019 * emacs-lisp/gv.el (gv-get):
3020 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
3021 * emacs-lisp/byte-opt.el (byte-optimize-form):
3022 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
3023 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
3024 Use function-get.
3025 * emacs-lisp/cl.el: Don't propagate function properties any more.
3026
3027 * speedbar.el (speedbar-add-localized-speedbar-support):
3028 * emacs-lisp/disass.el (disassemble-internal):
3029 * desktop.el (desktop-load-file):
3030 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
3031 (describe-function-1):
3032 * emacs-lisp/find-func.el (find-function-noselect):
3033 * emacs-lisp/elp.el (elp-instrument-function):
3034 * emacs-lisp/advice.el (ad-has-proper-definition):
3035 * apropos.el (apropos-safe-documentation, apropos-macrop):
3036 * emacs-lisp/debug.el (debug-on-entry):
3037 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
3038 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
3039 * calc/calc.el (name): Use autoloadp & autoload-do-load.
3040
b1364986
AA
30412012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
3042
3043 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
3044 function, not an obsolete variable (Bug#12046).
3045
67ada220
AS
30462012-07-25 Andreas Schwab <schwab@linux-m68k.org>
3047
3048 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
3049
f08088e3
CS
30502012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
3051
3052 * emacs-lisp/pp.el (pp-display-expression): Select old selected
3053 window only if it is still live (Bug#12034).
3054
8137e7b3
MR
30552012-07-25 Martin Rudalics <rudalics@gmx.at>
3056
3057 * subr.el (redirect-frame-focus): Add advertised calling
3058 convention (Bug#12030).
3059
09ae5da1
PE
30602012-07-25 Paul Eggert <eggert@cs.ucla.edu>
3061
3062 Prefer typical American spelling for "acknowledgment".
3063 * vc/add-log.el (change-log-acknowledgment): Rename from
3064 change-log-acknowledgement, with an alias for the old name.
3065
3cc5a3a8
JB
30662012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
3067
3068 * calc-alg.el (math-simplify-divide): Don't cross multiply
3069 in an equation when the lhs is a variable.
3070
b7af7f62
JD
30712012-07-24 Julien Danjou <julien@danjou.info>
3072
3073 * net/netrc.el (netrc-find-service-number, netrc-store-data):
3074 Remove, unused.
3075
ec1b09b1
EZ
30762012-07-23 Eli Zaretskii <eliz@gnu.org>
3077
3078 * startup.el (command-line): Don't display an empty user name in
3079 the error message about non-existent home directory, when
3080 init-file-user was set to an empty string. See
3081 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
3082 for the details and context.
3083
b525fd8a
VB
30842012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
3085
3086 * ses.el (ses-cell-formula-aset): New macro.
3087 (ses-cell-references-aset): New macro.
3088 (ses-cell-p): New function.
3089 (ses-rename-cell): Do no longer rely on complex operations like
3090 ses-cell-set-formula or ses-set-cell to change the cell and handle
3091 the undo at the same time, but rather use lower level new macros
3092 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
fc0c31f8 3093 the undo directly. Refresh the mode line.
b525fd8a 3094
2c73e345
LL
30952012-07-21 Leo Liu <sdl.web@gmail.com>
3096
670d85ea
SM
3097 * progmodes/cc-cmds.el (c-defun-name):
3098 Use match-string-no-properties instead for consistency.
2c73e345 3099
542dfbde
LL
31002012-07-20 Leo Liu <sdl.web@gmail.com>
3101
3646bcd6
LL
3102 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
3103 (Bug#7879)
3104
542dfbde
LL
3105 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
3106
25721031
CY
31072012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
3108
3109 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
3110 * progmodes/bug-reference.el, misearch.el: Provide themselves
3111 (bug#11915).
3112
3113 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
3114 of narrowed buffer (bug#11966).
3115
316e68a7
VB
31162012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
3117
3118 * ses.el (ses-rename-cell): Set new name also in reference list of
3119 cells of which the renamed cell depends.
3120
bbf0e7d9
MY
31212012-07-20 Masatake YAMATO <yamato@redhat.com>
3122
3123 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
3124 to check whether menu-bar is shown or not. If not shown,
3125 show the menu-bar as a popup menu instead of using tmm.
3126 * mouse.el (popup-menu): Accept `point' as `position' argument.
3127
c28662a8
DG
31282012-07-20 Dmitry Gutov <dgutov@yandex.ru>
3129
3130 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
3131 up inside string symbol literal (bug#11923).
3132
87ab808f
EZ
31332012-07-20 Eli Zaretskii <eliz@gnu.org>
3134
3135 * startup.el (fancy-startup-text): Read the whole tutorial, not
3136 just its first 256 bytes. Prevents gibberish in display of the
3137 tutorial title.
3138
89dea803
DA
31392012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
3140
3141 Drop idle buffer compaction due to an absence of the
3142 proved efficiency.
3143 * compact.el: Remove.
3144
8a4e6db8
SS
31452012-07-19 Sam Steingold <sds@gnu.org>
3146
3147 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
3148 vc-bzr-pull & vc-bzr-merge-branch.
3149 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
3150 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
3151 for consistency with compilation-error-regexp-alist.
3152 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
3153 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
3154 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
3155 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
3156
5db81e33
SM
31572012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
3158
3159 * emacs-lisp/chart.el: Use lexical-binding.
3160 (chart-emacs-storage): Don't hardcode the list of entries.
3161
5b835e1d
DA
31622012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
3163
3164 Next round of tweaks caused by Fgarbage_collect changes.
3165 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
3166
9cd47b72
DA
31672012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
3168
3169 Compact buffers when idle.
3170 * compact.el: New file.
3171
1d6fc0df
SM
31722012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
3173
3174 * subr.el (eventp): Presume that if it looks vaguely like an event,
3175 it's an event (bug#10190).
3176
1d29cc7d
FEG
31772012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
3178
3179 Enhancements to ppss related code (thanks Stefan).
3180 * progmodes/python.el (python-indent-context)
3181 (python-indent-calculate-indentation, python-indent-dedent-line)
3182 (python-indent-electric-colon, python-nav-forward-block)
3183 (python-mode-abbrev-table)
1d6fc0df 3184 (python-info-assignment-continuation-line-p): Simplify checks
1d29cc7d
FEG
3185 for ppss context.
3186 (python-info-continuation-line-p): Cleanup.
3187 (python-info-ppss-context): Do not catch 'quote.
3188 (python-info-ppss-context-type)
3189 (python-info-ppss-comment-or-string-p): Simplify.
3190
d583cbe6
FEG
31912012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
3192
3193 * progmodes/python.el: Enhancements to eldoc support.
3194 (python-info-current-symbol): New function.
3195 (python-eldoc-at-point): Use python-info-current-symbol.
3196 (python-info-current-defun): Fix cornercase on first defun scan.
3197 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
3198 and signal error when no inferior python process is available.
3199
eceb6feb
DG
32002012-07-18 Dmitry Gutov <dgutov@yandex.ru>
3201
3202 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
3203 assume it's always t.
3204 (vc-git-registered): Remove caching, the function is only called
3205 once.
3206 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
3207
4c8ff0fe
CY
32082012-07-18 Chong Yidong <cyd@gnu.org>
3209
19fb7186
CY
3210 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
3211
9587c688
CY
3212 * simple.el (count-words): Report on narrowing (Bug#9959).
3213
0fe776a1
CY
3214 * bindings.el: Bind M-= to count-words.
3215
4c8ff0fe
CY
3216 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
3217
7f5331cc
MY
32182012-07-18 Masatake YAMATO <yamato@redhat.com>
3219
3220 * progmodes/sh-script.el (sh-imenu-generic-expression):
3221 Capture a function with `function' keyword and without parentheses
3222 like "function FOO" (bug#11856).
3223
2dc2a609
TH
32242012-07-18 Tassilo Horn <tassilo@member.fsf.org>
3225
3226 * window.el (split-window-sensibly): Make WINDOW argument
3227 optional.
3228
439f7677
CY
32292012-07-18 Chong Yidong <cyd@gnu.org>
3230
9aeb25a6
CY
3231 * subr.el (keyboard-translate): Doc fix (Bug#7261).
3232
439f7677
CY
3233 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
3234 and make C-x 8 RET exit isearch (Bug#11439).
3235
3236 * international/iso-transl.el: Move isearch-mode-map key
3237 definitions to isearch.el.
3238
12999ea8
SM
32392012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
3240
3241 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
3242 (eieio-defclass): Use gv-define-setter when possible.
3243
3ab6e069
DA
32442012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
3245
3246 Reflect recent changes in Fgarbage_collect.
3247 * emacs-lisp/chart.el (chart-emacs-storage): Change to
3248 reflect new format of data returned by Fgarbage_collect.
3249
0a60bc10
FEG
32502012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
3251
3252 New utility functions + python-info-ppss-context fix (Bug#11910).
3253 * progmodes/python.el (python-info-beginning-of-block-statement-p)
3254 (python-info-ppss-comment-or-string-p): New functions.
3255 (python-info-ppss-context): Small fix for string check.
3256
6dafa0d5
JL
32572012-07-17 Juri Linkov <juri@jurta.org>
3258
3259 * dired-aux.el (dired-do-async-shell-command): Doc fix.
3260 (dired-do-async-shell-command): Don't add `*' at the end of the
3261 command (Bug#11815).
3262 (dired-do-shell-command): Doc fix.
3263 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
3264 Join the individual commands using either "&" or ";" as the
3265 separator depending on the values of these trailing characters.
3266 At the end re-add the trailing "&". (Bug#10598)
3267
3268 * simple.el (async-shell-command): Sync the interactive spec with
3269 `shell-command'. Doc fix.
3270 (shell-command): Doc fix.
3271
b19dd9d1
JL
32722012-07-17 Juri Linkov <juri@jurta.org>
3273
3274 * descr-text.el (describe-char): Fix format args. (Bug#10129)
3275
bcdc27d7 32762012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7f5331cc 3277
bcdc27d7 3278 Final renames and doc fixes for movement commands (bug#11899).
7f5331cc
MY
3279 * progmodes/python.el (python-nav-beginning-of-statement):
3280 Rename from python-nav-statement-start.
bcdc27d7
FEG
3281 (python-nav-end-of-statement): Rename from
3282 python-nav-statement-end.
3283 (python-nav-beginning-of-block): Rename from
3284 python-nav-block-start.
3285 (python-nav-end-of-block): Rename from python-nav-block-end.
3286
191da00e
FEG
32872012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
3288
7f5331cc
MY
3289 * progmodes/python.el (python-shell-send-string-no-output):
3290 Allow accept-process-output to quit, keeping shell process ready for
191da00e
FEG
3291 future interactions (Bug#11868).
3292
4dc7c8d5 32932012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
aa7aaf8f 3294
88ecaf8f
SM
3295 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
3296
ef501ef0
SM
3297 * emacs-lisp/elint.el (elint-find-args-in-code):
3298 Use help-function-arglist, so as to handle lexical byte-code.
3299
aa7aaf8f
SM
3300 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
3301 change (bug#11826).
3302
45fd731c
SM
33032012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
3304
2143fa32
SM
3305 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
3306 Avoid spuriously marking the buffer as modified because of c-is-sws.
3307
efc26dbe
SM
3308 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
3309 as not-a-comment (bug#11946).
3310
f5695c9a
SM
3311 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
3312 for uninterned vars.
3313
3314 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
3315 Use read-event since we don't really want to read chars but bytes.
3316
45fd731c
SM
3317 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
3318 $$..$$ but also $..$ using regexps (bug#11953).
3319 Use tex-verbatim for \url and \path.
3320 (tex-font-lock-keywords): Define as defconst like the others.
3321 (tex-common-initialization): Don't use font-lock-syntax-table any more.
3322
ddfc8813
RK
33232012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
3324
3325 * international/mule-cmds.el (ucs-insert): Make it an obsolete
3326 alias for insert-char.
3327
758e556a
FEG
33282012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
3329
3330 * progmodes/python.el: Simplified imenu implementation.
3331 (python-nav-jump-to-defun): Remove command.
3332 (python-mode-map): Use `imenu' instead.
3333 (python-nav-list-defun-positions-cache)
3334 (python-imenu-include-defun-type, python-imenu-make-tree)
3335 (python-imenu-subtree-root-label, python-imenu-index-alist):
3336 Remove vars.
3337 (python-nav-list-defun-positions, python-nav-read-defun)
3338 (python-imenu-tree-assoc, python-imenu-make-element-tree)
45fd731c
SM
3339 (python-imenu-make-tree, python-imenu-create-index):
3340 Remove functions.
758e556a
FEG
3341 (python-mode): Update to interact with imenu by setting
3342 `imenu-extract-index-name-function' only.
3343
032d23ab
FEG
33442012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
3345
3346 * progmodes/python.el: Enhancements to navigation commands.
3347 (python-nav-backward-sentence)
3348 (python-nav-forward-sentence): Remove.
3349 (python-nav-backward-statement, python-nav-forward-statement)
3350 (python-nav-statement-start, python-nav-statement-end)
3351 (python-nav-backward-block, python-nav-forward-block)
3352 (python-nav-block-start, python-nav-block-end)
3353 (python-nav-forward-sexp-function)
3354 (python-info-current-line-comment-p)
3355 (python-info-current-line-empty-p): New functions.
3356 (python-indent-context): Use `python-nav-statement-start'.
3357
01795a1b
MA
33582012-07-16 Michael Albinus <michael.albinus@gmx.de>
3359
9328d9aa
MA
3360 * eshell/em-ls.el (eshell/ls): Use `apply'.
3361
3362 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
3363 multi-hops, instead of Tramp internals.
3364
01795a1b
MA
3365 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
3366
3367 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
3368 when F1 and F2 are located on different hosts.
3369
63408057
CY
33702012-07-14 Chong Yidong <cyd@gnu.org>
3371
3372 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
3373 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
3374 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
3375 (xterm-mouse--read-event-sequence-1000)
3376 (xterm-mouse--read-event-sequence-1006): New functions. For old
3377 mouse protocol, handle M-mouse-X events correctly.
3378 (xterm-mouse-event): New arg specifying mouse protocol.
3379 (turn-on-xterm-mouse-tracking-on-terminal)
3380 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
45fd731c
SM
3381 sequence to toggle extended coordinates on newer XTerms.
3382 This appears to be harmless on terminals which do not support this.
63408057 3383
cd276f6e
LL
33842012-07-14 Leo Liu <sdl.web@gmail.com>
3385
28ca98ac
LL
3386 Add fringe bitmap indicators for flymake. (Bug#11253)
3387 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
3388 (flymake-make-overlay): New arg BITMAP.
3389 (flymake-error-bitmap, flymake-warning-bitmap)
3390 (flymake-fringe-indicator-position): New user variables.
3391
cd276f6e
LL
3392 * fringe.el: New bitmap exclamation-mark.
3393
04408072
JD
33942012-07-14 Jan Djärv <jan.h.d@swipnet.se>
3395
3396 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
3397 also (Bug#7879).
3398
b5cf7fc4
CY
33992012-07-14 Chong Yidong <cyd@gnu.org>
3400
3401 * electric.el (electric-pair-post-self-insert-function): Fix pair
3402 insertion in empty-region case (Bug#11520).
3403
be755c79
RT
34042012-07-14 Chong Yidong <cyd@gnu.org>
3405
45fd731c
SM
3406 * bindings.el: Consolidate ctl-x-r-map bindings.
3407 Bind copy-rectangle-as-kill to C-x r w.
be755c79
RT
3408
3409 * rect.el, register.el: Move bindings to bindings.el.
3410
34112012-07-14 Reuben Thomas <rrt@sc3d.org>
3412
3413 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
3414
7f5b3198
AS
34152012-07-13 Andreas Schwab <schwab@linux-m68k.org>
3416
3417 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
3418
97662200
JB
34192012-07-13 Juanma Barranquero <lekktu@gmail.com>
3420
80185fed
JB
3421 * bindings.el (top): Use `mapc' instead of `mapcar'.
3422
97662200
JB
3423 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
3424
2bb1ae55
MA
34252012-07-13 Michael Albinus <michael.albinus@gmx.de>
3426
3427 * progmodes/sql.el (sql-comint): Suppress the check for program on
3428 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
3429 (Bug#11908)
3430
dea31bd3
CY
34312012-07-13 Chong Yidong <cyd@gnu.org>
3432
3433 * bindings.el: Assign a non-nil permanent-local property to
3434 per-buffer variables which lack a default value (Bug#11930).
3435
3436 * help-fns.el (describe-variable): In the "automatically becomes
3437 local" notice, take note of permanent-local variables.
3438
b68b3337
CY
34392012-07-13 Chong Yidong <cyd@gnu.org>
3440
3441 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
3442 to allow printing the message when called from Lisp.
3443
3444 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
3445 Remove toggle-read-only.
3446
3447 * bs.el (bs-toggle-readonly):
45fd731c
SM
3448 * buff-menu.el (Buffer-menu-toggle-read-only):
3449 Remove with-no-warnings around toggle-read-only.
b68b3337
CY
3450
3451 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
3452 Remove with-no-warnings around toggle-read-only.
3453 (ffap-read-only, ffap-read-only-other-window)
3454 (ffap-read-only-other-frame): Callers changed.
3455
3456 * help-mode.el: Don't require view package.
3457 (help-mode-finish): Set buffer-read-only instead of calling
3458 toggle-read-only.
3459
3460 * bindings.el (mode-line-toggle-read-only):
3461 * dired.el (dired-toggle-read-only):
3462 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
3463 with non-nil second arg.
3464
3465 * emacs-lisp/eieio-custom.el (eieio-customize-object):
3466 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
3467 directly.
3468
56bc1586
EZ
34692012-07-12 Eli Zaretskii <eliz@gnu.org>
3470
3471 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
3472 not incf.
3473
a464a6c7
SM
34742012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
3475
3476 More CL cleanups and reduction of use of cl.el.
3477 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
3478 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
3479 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
3480 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
3481 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
3482 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
3483 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
3484 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
3485 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
3486 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
3487 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
3488 * eshell/em-cmpl.el, eshell/em-banner.el:
3489 * calendar/parse-time.el: Use cl-lib.
3490 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
3491 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
3492 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
3493 * term/ns-win.el, term.el, shell.el, ps-samp.el:
3494 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
3495 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
3496 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
3497 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
3498 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
3499 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
3500 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
3501 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
3502 `lambda' rather than with `quote'.
3503 (eshell-do-opt): Adjust accordingly.
3504 (eshell-process-option): Simplify.
3505 * eshell/esh-var.el:
3506 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
3507 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
3508 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
3509 to `pcase--dontcare'.
3510 * emacs-lisp/cl.el (labels): Mark obsolete.
3511 (cl--letf, letf): Move to cl-lib.
3512 (cl--letf*, letf*): Remove.
3513 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
3514 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
3515 (cl-progv): Rewrite.
3516 (cl--letf, cl-letf): Move from cl.el.
3517 (cl-letf*): New macro.
3518 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
3519
7ad4afe1
MA
35202012-07-11 Michael Albinus <michael.albinus@gmx.de>
3521
3522 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
3523
9af57756
CY
35242012-07-11 Chong Yidong <cyd@gnu.org>
3525
3526 * vc/log-edit.el (log-edit-vc-backend): New variable.
3527 (log-edit): Doc fix.
3528
3529 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
3530 argument of log-edit to set up all local variables.
3531 (vc-start-logentry): New optional arg specifying VC backend.
3532
3533 * vc/vc.el (vc-checkin): Use it.
3534 (vc-deduce-fileset): Handle Log Edit buffers.
3535 (vc-diff): Make first argument optional too.
3536
3537 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
3538
8477cc7a
MA
35392012-07-10 Michael Albinus <michael.albinus@gmx.de>
3540
3541 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
3542 command, just in case. The function is not needed anymore.
3543 (eshell-external-command): Do not call `eshell-remote-command'.
3544
19faa8e8
SM
35452012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
3546
f58e0fd5
SM
3547 Reduce use of (require 'cl).
3548 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
3549 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
3550 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
3551 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
3552 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
3553 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
3554 * battery.el, avoid.el, abbrev.el: Use cl-lib.
3555 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
3556 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
3557 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
3558 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
3559 * calculator.el, autorevert.el, apropos.el: Don't require CL.
3560 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
3561 (byte-compile-unfold-bcf, byte-compile-check-variable):
3562 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
3563 (byte-compile-nilconstp):
3564 * emacs-lisp/autoload.el (make-autoload): Use pcase.
3565 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
3566
2519d43a
SM
3567 * emacs-lisp/gv.el (cond): Make it a valid place.
3568 (if): Simplify slightly.
3569
19faa8e8
SM
3570 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
3571 (pcase--self-quoting-p): New function.
3572 (pcase--u1): Use it.
3573
c4907a5e
GM
35742012-07-10 Glenn Morris <rgm@gnu.org>
3575
3576 * emacs-lisp/authors.el (authors-fixed-entries):
3577 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
3578
c4444d16
PE
35792012-07-09 Paul Eggert <eggert@cs.ucla.edu>
3580
3581 Rename configure.in to configure.ac (Bug#11603).
3582 * emacs-lisp/authors.el (authors-canonical-file-name):
3583 * progmodes/autoconf.el (autoconf-mode):
3584 Prefer configure.ac to configure.in.
3585
d75be97d
CY
35862012-07-08 Chong Yidong <cyd@gnu.org>
3587
01ac65bd
CY
3588 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
3589 Implement the mouse-1-click-follows-link handling properly.
3590
3591 * info.el (Info-link-keymap): Use follow-link mechanism for
3592 header-line links (Bug#374).
3593
d75be97d
CY
3594 * simple.el (deactivate-mark): Do not set the primary selection
3595 if another program has acquired it (Bug#11772).
3596
87a92845 35972012-07-07 Kevin Ryde <user42@zip.com.au>
f0ecdfea
KR
3598
3599 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
3600 (woman-decode-region): Replace escaped-escapes without destroying
3601 bold or underline (Bug#11552).
87a92845 3602 (woman2-process-escapes): Handle nofill regions (Bug#11591).
f0ecdfea 3603
621b9d6c
CY
36042012-07-07 Chong Yidong <cyd@gnu.org>
3605
3606 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
19faa8e8
SM
3607 (interprogram-cut-function, interprogram-paste-function):
3608 Mention that we typically mean the clipboard.
621b9d6c 3609
133a11fc
GM
36102012-07-06 Glenn Morris <rgm@gnu.org>
3611
0d27a45e
GM
3612 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
3613
133a11fc
GM
3614 * files.el (toggle-read-only): Restrict message to interactive use.
3615
07b151f1
MA
36162012-07-06 Michael Albinus <michael.albinus@gmx.de>
3617
3618 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
3619
3620 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
3621
211b896b
GM
36222012-07-06 Glenn Morris <rgm@gnu.org>
3623
50394322
GM
3624 * Makefile.in (compile-one-process): Rename from "recompile".
3625
211b896b
GM
3626 * Makefile.in (bzr-update): "compile" is the same as "recompile
3627 autoloads", but parallelizable, so use that instead.
3628
4737eec9
DG
36292012-07-06 Dmitry Gutov <dgutov@yandex.ru>
3630
3631 * window.el (quit-window): Always restore window height when
8137e7b3 3632 it's saved in quit-restore parameter (Bug#11810).
4737eec9 3633
226c3633 36342012-07-06 Glenn Morris <rgm@gnu.org>
cb442973
GM
3635
3636 * simple.el (kill-whole-line): Doc tweak.
3637
226c3633 36382012-07-06 Eli Zaretskii <eliz@gnu.org>
93842198
EZ
3639
3640 * files.el (file-relative-name): Compare file names
3641 case-insensitively if on MS-Windows or MS-DOS, or if
3642 read-file-name-completion-ignore-case is non-nil. Don't use
3643 case-fold-search for this purpose. (Bug#11827)
3644
4dc7c8d5
SM
36452012-07-17 Andreas Schwab <schwab@linux-m68k.org>
3646
3647 * calendar/cal-dst.el (calendar-current-time-zone):
3648 Return calendar-current-time-zone-cache if non-nil.
3649
36502012-07-17 Masatake YAMATO <yamato@redhat.com>
226c3633 36512012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 3652
19faa8e8
SM
3653 * calendar/cal-dst.el (calendar-current-time-zone):
3654 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 3655
60198fc9
GM
36562012-07-06 Glenn Morris <rgm@gnu.org>
3657
3658 * Makefile.in (cvs-update): Remove old alias.
3659
957b3189
MA
36602012-07-05 Michael Albinus <michael.albinus@gmx.de>
3661
3662 Sync with Tramp 2.2.6-pre.
3663
3664 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
3665 compatible declaration.
3666
19faa8e8
SM
3667 * net/tramp-cmds.el (tramp-append-tramp-buffers):
3668 Protect `list-load-path-shadows' call.
957b3189
MA
3669
3670 * net/tramp-compat.el (top): Require packages, which aren't
3671 autoloaded anymore for XEmacs. Protect call of
3672 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
3673 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
3674 it hurts at least for SXEmacs.
3675 (tramp-compat-temporary-file-directory): In XEmacs, there is no
3676 standard-value for `temporary-file-directory'.
3677
3678 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
3679 Redirect stderr to /dev/null.
3680 (tramp-sh-handle-write-region): uid and gid can be floats.
3681 Reported by Russell Sim <russell.sim@gmail.com>.
3682 (tramp-sh-handle-vc-registered): Hide errors.
3683 (tramp-vc-file-name-handler): Use dummy results for `process-file'
3684 and `start-file-process'.
3685 (tramp-maybe-open-connection): Check also whether `non-essential'
3686 is bound.
3687
566df3fc
CY
36882012-07-04 Chong Yidong <cyd@gnu.org>
3689
3690 * xml.el (xml--parse-buffer): Use xml-syntax-table.
3691 (xml-parse-tag): Likewise, and avoid changing entity tables.
3692 (xml-syntax-table): Define from scratch, making sure not to give
3693 x2000 and other Unicode spaces whitespace syntax, since those are
3694 not spaces in XML.
3695 (xml-parse-fragment): Delete unused function.
3696 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
3697 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
3698 (xml-entity-ref, xml-pe-reference-re)
3699 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
3700 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
3701 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
3702 (xml-entity-value-re): Use syntax references in regexps where
3703 possible; no need to define inside a let-binding.
3704 (xml-parse-dtd): Use xml-pe-reference-re.
3705 (xml-entity-or-char-ref-re): New defconst.
3706 (xml-parse-string, xml-substitute-special): Use it.
3707
30eabd7a
SM
37082012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
3709
0781098a
SM
3710 * files.el (locate-dominating-file): Allow `name' to be a predicate.
3711 (find-file--read-only): New function.
3712 (find-file-read-only, find-file-read-only-other-window)
3713 (find-file-read-only-other-frame): Use it.
3714 (insert-file-contents-literally): Don't `fset'.
3715 (get-free-disk-space): Use locate-dominating-file.
3716
b5771c0d
SM
3717 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
3718 function is already compiled.
3719
30eabd7a
SM
3720 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
3721
b4886f6e
MA
37222012-07-03 Michael Albinus <michael.albinus@gmx.de>
3723
3724 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
3725 files on the same host.
3726
b9d82339
AS
37272012-07-03 Andreas Schwab <schwab@linux-m68k.org>
3728
3729 * help-fns.el (describe-function-1): Only call
3730 help-fns--autoloaded-p when we have a file name. (Bug#11848)
3731
a76e6535
CY
37322012-07-03 Chong Yidong <cyd@gnu.org>
3733
3734 * xml.el: Protect parser against XML bombs.
3735 (xml-entity-expansion-limit): New variable.
3736 (xml-parse-string, xml-substitute-special): Use it.
3737 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
3738
b544fef2
GM
37392012-07-03 Glenn Morris <rgm@gnu.org>
3740
3741 * progmodes/bug-reference.el (bug-reference-bug-regexp):
3742 Allow linking to specific messages in debbugs reports (eg 123#5).
3743
a7aef6f5
CY
37442012-07-02 Chong Yidong <cyd@gnu.org>
3745
3746 * xml.el: Fix entity and character reference expansion, allowing
3747 them to expand into markup as per XML spec.
3748 (xml-default-ns): New variable.
3749 (xml-entity-alist): Use XML spec definitions for lt and amp.
30eabd7a
SM
3750 (xml-parse-region): Make first two arguments optional.
3751 Discard text properties.
3752 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
3753 All callers changed.
a7aef6f5
CY
3754 (xml-parse-tag): Call xml-parse-tag-1. For backward
3755 compatibility, this function should not modify buffer contents.
3756 (xml-parse-tag-1): Fix opening-tag regexp.
3757 (xml-parse-string): Rewrite, handling entity and character
3758 references properly.
3759 (xml--entity-replacement-text): Signal an error if a parameter
3760 entity is undefined.
3761
3df31c9f
SM
37622012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
3763
2b5208f1
SM
3764 * comint.el (comint-output-filter): Filter out repeated prompts.
3765
3df31c9f
SM
3766 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
3767 and file-name-absolute-p.
3768 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
3769 internal calls.
3770
e3ac1281
PE
37712012-07-02 Paul Eggert <eggert@cs.ucla.edu>
3772
3773 Spelling fixes.
3774 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
3775 Rename from byte-compile--refiy-function. All uses changed.
3776
fbf2e7ad
CY
37772012-07-01 Chong Yidong <cyd@gnu.org>
3778
3779 * xml.el (xml--parse-buffer): New function. Move most of
3780 xml-parse-region here.
3781 (xml-parse-region): Copy region into a temporary buffer, since
3782 parameter entity substitution requires changing buffer contents.
3783 Use xml--parse-buffer.
3784 (xml-parse-file): Use xml--parse-buffer.
3785 (xml-parse-dtd): Make parameter entity substitution work right.
6fe566a7 3786 Use proper regexps for ELEMENT declarations (Bug#7172).
fbf2e7ad 3787
9bf0aa15
GM
37882012-06-30 Glenn Morris <rgm@gnu.org>
3789
bbce2853
GM
3790 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
3791
9bf0aa15
GM
3792 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
3793 Remove outdated and unnecessary dbus declarations.
3794
0d23c240
EZ
37952012-06-30 Eli Zaretskii <eliz@gnu.org>
3796
3797 * emacs-lisp/timer.el (timer-until): Subtract results of
3798 float-time, instead of taking float-time of the result of
3799 time-subtract, since float-time signals an error for negative time
3800 arguments.
3801
b3218de1
CY
38022012-06-30 Chong Yidong <cyd@gnu.org>
3803
3804 * xml.el (xml-*-re): Convert defvars into defconsts, and
3805 eval-and-compile them so eval-and-compile works on derivatives.
3806 (xml--entity-replacement-text): Use eval-and-comple.
3807
a40c87a0
MA
38082012-06-30 Michael Albinus <michael.albinus@gmx.de>
3809
3810 * vc/vc-git.el (vc-git-registered): Use cache property
3811 `git-registered'.
3812 (vc-git-mode-line-string): Call `vc-working-revision' instead of
3813 `vc-git-working-revision' in order to benefit from the cache.
2bb1ae55 3814 (vc-git-root): Use cache property `git-root'. (Bug#11757)
a40c87a0 3815
ac87de97
DG
38162012-06-30 Dmitry Gutov <dgutov@yandex.ru>
3817
3818 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
2bb1ae55 3819 removed (likely outside Emacs). (Bug#11757)
ac87de97 3820
ac10fe06
SM
38212012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
3822
3df31c9f 3823 * emacs-lisp/cl-lib.el: Require macroexp.
ac10fe06 3824
7f3fbd5d
CY
38252012-06-30 Chong Yidong <cyd@gnu.org>
3826
3827 * xml.el: Implement XML parameter entities.
3828 (xml-parameter-entity-alist): New variable.
3829 (xml-parse-region, xml-parse-fragment): Preserve previous values
3830 of xml-entity-alist and xml-parameter-entity-alist, so that
3831 repeated calls on different documents do not change them.
3832 (xml-parse-tag): Fix doctype regexp.
3833 (xml--entity-replacement-text): New function.
3834 (xml-parse-dtd): Use it. Don't handle system entities; doing that
3835 properly requires url retrieval which is unimplemented.
3836 (xml-escape-string): Doc fix.
3837
3cfbebba
SM
38382012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
3839
3840 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
3841
2af3565e
DA
38422012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
3843
3844 * fringe.el (fringe-mode): Doc fix.
3845
929df0e7
MA
38462012-06-29 Michael Albinus <michael.albinus@gmx.de>
3847
3848 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
3849 is non-nil.
3850 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
3851 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
3852
c8d3a25c 38532012-06-29 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 3854
c8d3a25c
GM
3855 * calendar/cal-dst.el (calendar-current-time-zone):
3856 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 3857
c8d3a25c 38582012-06-29 Masatake YAMATO <yamato@redhat.com>
26e8548e
MY
3859
3860 * progmodes/which-func.el (which-func-format):
3861 Add mouse-face. (Bug#11698)
3862
c8d3a25c
GM
38632012-06-29 Leo Liu <sdl.web@gmail.com>
3864
3865 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
3866
38672012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
3868
3869 * minibuffer.el (minibuffer-confirm-exit-commands):
3870 Add completion-at-point (bug#11725).
3871
38722012-06-29 Glenn Morris <rgm@gnu.org>
3873
3874 * progmodes/f90.el (f90-font-lock-keywords-2):
3875 Add some preprocessor elements. (Bug#10499)
3876
38772012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
3878
3879 * progmodes/cperl-mode.el (cperl-update-syntaxification):
3880 Use syntax-propertize (bug#11739).
3881
2badeec4
JB
38822012-06-28 Juanma Barranquero <lekktu@gmail.com>
3883
3884 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
3885
ae4969c2
JD
38862012-06-28 Julien Danjou <julien@danjou.info>
3887
3888 * term.el (term-handle-colors-array): Use a set of new faces to
3889 color the terminal. Also uses :inverse-video property.
3890 (term-default-fg-color): Set to nil by default, deprecate in favor
3891 of `term-face'.
3892 (term-default-bg-color): Set to nil by default, deprecate in favor
3893 of `term-face'.
3894 (term-current-face): Use `term-face' by default.
3895 (term-bold-attribute): Variable deleted.
3896
1c9bd870
GM
38972012-06-28 Glenn Morris <rgm@gnu.org>
3898
3899 * simple.el (completion-list-mode-finish):
3900 Don't use toggle-read-only. (Since completion-list-mode has
3901 a special mode-class, it wasn't doing anything extra anyway.)
3902
c207708c
SM
39032012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
3904
3905 Make inlining of other-mode interpreted functions work (bug#11799).
3906 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
3907 (byte-compile): Use it to fix compilation of lexical-binding closures.
3908 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
3909 function, if needed.
3910
3fd56834
SM
39112012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
3912
04901786
SM
3913 * help-mode.el (help-make-xrefs): Don't just withstand
3914 cyclic-variable-indirection but any error in documentation-property.
3915
1ec4b7b2
SM
3916 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
3917 memory use.
3918 * bindings.el (bindings--define-key): New function.
3919 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
3920 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
3921 * bindings.el: Use it to purecopy define-key bindings.
3922
e309e2a5
SM
3923 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
3924
d5c6faf9
SM
3925 * emacs-lisp/cl.el (flet): Mark obsolete.
3926 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
3927 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
3928 * progmodes/js.el (js-c-fill-paragraph):
3929 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
3930 (ebrowse-switch-member-buffer-to-derived-class):
3931 * play/5x5.el (5x5-solver): Use cl-flet.
3932
6e9590e2
SM
3933 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
3934 (cl--symbol-function): New macro.
3935 (cl--letf, cl--letf*): Use it.
3936
3fd56834
SM
3937 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
3938 Strip "toggle-" if any.
3939
35ff222c
GM
39402012-06-27 Glenn Morris <rgm@gnu.org>
3941
1ba6038a
GM
3942 * info.el (Info-default-directory-list): Move here from paths.el.
3943 * paths.el: Remove file, which is now empty.
3944 * loadup.el: No longer load "paths".
3945
0ea0e51b
GM
3946 * custom.el (custom-initialize-delay): Doc fix.
3947
35ff222c
GM
3948 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
3949 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
3950 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
3951 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
3952 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
3953 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
3954 * eshell/eshell.el (eshell-defgroup): Remove alias.
3955
c89926a5
CY
39562012-06-27 Chong Yidong <cyd@gnu.org>
3957
3958 * help.el (help-enable-auto-load): New variable.
3959
3960 * help-fns.el (help-fns--autoloaded-p): New function.
3961 (describe-function-1): Refer to a function as "autoloaded" if it
3962 was autoloaded at any time in the past. Perform autoloading if
3963 help-enable-auto-load is non-nil.
3964
cc06e7e7
EZ
39652012-06-26 Eli Zaretskii <eliz@gnu.org>
3966
3967 * makefile.w32-in (compile, compile-always): Depend on
3968 update-subdirs, not on subdirs.el. Otherwise, several different
3969 sub-targets of 'bootstrap' running in parallel could
3970 simultaneously write to subdirs.el, producing a garbled file.
3971
d2c32364
SS
39722012-06-26 Sam Steingold <sds@gnu.org>
3973
3974 * files.el (file-name-base): New convenience function.
0d14cc21
GM
3975 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
3976 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
3977 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
3978 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
3979 * textmodes/ispell.el, textmodes/reftex-ref.el:
d2c32364
SS
3980 * textmodes/tex-mode.el: Use it.
3981 Did not touch cedet and org because they are maintained elsewhere.
3982
5cf983b2
MR
39832012-06-26 Martin Rudalics <rudalics@gmx.at>
3984
3985 * calendar/calendar.el (calendar-exit): Don't try to delete or
3986 iconify last frame. See:
3987 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
3988
8c4f2952
JD
39892012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
3990
3991 * server.el (server-process-filter): Remember dir in the
3992 process's `server-client-directory' properties.
3993
772b2e2c
CY
39942012-06-24 Chong Yidong <cyd@gnu.org>
3995
3996 * xml.el (xml-parse-tag): Correctly handle comment embedded in
3997 non-tag text.
3998
711b11e1
JB
39992012-06-23 Juanma Barranquero <lekktu@gmail.com>
4000
4001 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
4002
dc5d230c
SM
40032012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
4004
4005 * help-fns.el (describe-variable): Don't croak when doc is not found.
4006 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
4007 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
4008 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
4009 * emacs-lisp/smie.el (smie-next-sexp): CSE.
4010 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
4011 ((lambda ..) ..).
4012 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
4013
136e1c1d
CY
40142012-06-23 Chong Yidong <cyd@gnu.org>
4015
e8c1cabf
CY
4016 * info.el (Info-mouse-follow-link): Accept symbol values of
4017 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
136e1c1d
CY
4018 (Info-fontify-node): Use Info-link-keymap for all navigation
4019 buttons, with link-args property to perform the desired action.
4020 (Info-link-keymap): Doc fix.
4021 (Info-next-link-keymap, Info-prev-link-keymap)
4022 (Info-up-link-keymap): Delete now-unused keymaps.
4023
0e9e6c6a
CY
40242012-06-23 Chong Yidong <cyd@gnu.org>
4025
05e89fea
CY
4026 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
4027
0e9e6c6a
CY
4028 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
4029 system abbrevs.
4030
4031 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
4032
e33c6771
SM
40332012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
4034
b68581e2
SM
4035 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
4036 (bug#11719).
4037
e33c6771
SM
4038 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
4039 the requote function doesn't work properly (bug#11714).
4040
7117e105
GM
40412012-06-23 Glenn Morris <rgm@gnu.org>
4042
4043 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
4044
36cec983
SM
40452012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
4046
4047 Further GV/CL cleanups.
4048 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
4049 gv-expander.
4050 (gv--defun-declaration): New function.
4051 (defun-declarations-alist): Use it.
4052 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
4053 (gv-place): Autoload.
4054 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
4055 original definition of dotimes and dolist.
4056 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
4057 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
4058 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
4059 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
4060 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
4061 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
4062 to the function's definition.
4063 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
4064 * window.el:
4065 * files.el:
4066 * faces.el:
4067 * env.el: Don't use CL.
4068
d35af63c
PE
40692012-06-22 Paul Eggert <eggert@cs.ucla.edu>
4070
4071 Support higher-resolution time stamps (Bug#9000).
4072
4073 * calendar/time-date.el (with-decoded-time-value): New arg
4074 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
4075 (encode-time-value): New optional arg PICO. New type 3.
4076 (time-to-seconds) [!float-time]: Support the new picoseconds
4077 component if it's used.
4078 (seconds-to-time, time-subtract, time-add):
4079 Support ps-resolution time stamps as well.
4080
4081 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
4082 (timerp): Timer vectors now have length 9, not 8.
4083 (timer--time): Support new-style (4-part) time stamps.
4084 (timer-next-integral-multiple-of-time): Time stamps now have
4085 picosecond resolution, so take a bit more care about rounding.
4086 (timer-relative-time, timer-inc-time): New optional arg psecs.
4087 (timer-set-time-with-usecs): Set psecs to 0.
4088 (timer--activate): Check psecs component, too.
4089
4090 * proced.el (proced-time-lessp): Support ps-resolution stamps.
4091
ac77b21a
SM
40922012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
4093
f143bfe3
SM
4094 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
4095 Move the non-essential binding to the post/pre-command-hook where it is
4096 more obviously correct.
4097
ac77b21a
SM
4098 * subr.el (read-passwd): Don't use a history at all.
4099 * savehist.el (savehist-save): Remove password saved accidentally
4100 because of the above bug.
4101
76386c5a
BG
41022012-06-22 Bastien Guerry <bzg@gnu.org>
4103
4104 * files.el (toggle-read-only): Display a message telling whether
4105 the buffer is read-only or not (bug#11726).
4106
2ee3d7f0
SM
41072012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
4108
4109 * emacs-lisp/gv.el: New file.
4110 * subr.el (push, pop): Extend to generalized variables.
4111 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
4112 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
4113 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
4114 gv-define-simple-setter, and gv-define-expander.
4115 Remove setf-methods defined in gv. Rename cl-setf -> setf.
4116 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
4117 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
4118 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
4119 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
4120 gv-letplace.
4121 (cl-defstruct): Don't define setf-method any more.
4122 * emacs-lisp/cl.el (flet): Don't autoload.
4123 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
4124 (define-setf-expander, defsetf, define-modify-macro)
4125 (cl-struct-setf-expander): Move from cl-lib.el.
4126 * emacs-lisp/syntax.el:
4127 * emacs-lisp/ewoc.el:
4128 * emacs-lisp/smie.el:
4129 * emacs-lisp/cconv.el:
4130 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
4131 (timer--time): Use gv-define-simple-setter.
4132 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
4133 to avoid coding-system problems in subr.el. Adjust all users.
4134 (macroexp--maxsize, macroexp-small-p): New functions.
4135 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
4136 * scroll-bar.el (scroll-bar-mode):
4137 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
4138 (normal-erase-is-backspace-mode): Don't use the `eq' place.
4139 * winner.el (winner-configuration, winner-make-point-alist)
4140 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
4141 * files.el (locate-file-completion-table): Avoid list*.
4142
c5695d1d
CY
41432012-06-22 Chong Yidong <cyd@gnu.org>
4144
4145 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
4146 (dired-create-files): Doc fix (Bug#11329).
4147 (dired-do-copy): Doc fix (Bug#11334).
4148 (dired-mark-read-string): Doc fix (Bug#11553).
4149
2ee3d7f0
SM
4150 * dired.el (dired-recursive-copies, dired-recursive-deletes):
4151 Doc fix (Bug#11326).
c5695d1d
CY
4152 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
4153 (dired-dwim-target): Doc fix.
4154
4155 * wdired.el (wdired-mode): Doc fix.
4156
89b5595a
GM
41572012-06-22 Glenn Morris <rgm@gnu.org>
4158
575db3f1
GM
4159 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
4160 (pcmpl-rpm-cache-stamp-file): New constant.
4161 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
4162 (pcmpl-rpm-packages): Optionally cache list of packages.
4163
a4c8dd51
GM
4164 * pcmpl-rpm.el (pcmpl-rpm): New group.
4165 (pcmpl-rpm-query-options): New option.
4166 (pcmpl-rpm-packages): No need to inline it.
4167 Use pcmpl-rpm-query-options.
4168
89b5595a
GM
4169 * calendar/calendar.el (calendar-in-read-only-buffer):
4170 Avoid some needless mode changes.
4171
e76f0800
CY
41722012-06-21 Chong Yidong <cyd@gnu.org>
4173
4174 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
4175 (desktop-path): Remove . from the default value (Bug#10977).
6b67c0d4 4176 (desktop-read): Use user-emacs-directory if desktop-path is nil.
e76f0800 4177
297a8f1d
CY
41782012-06-20 Chong Yidong <cyd@gnu.org>
4179
4180 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
4181
d34c18b1
DR
41822012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
4183
4184 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
4185 (bug#11201).
4186
32f7f28e
CY
41872012-06-20 Chong Yidong <cyd@gnu.org>
4188
4189 * term.el (term-window-width): Handle the case of a missing right
4190 fringe (Bug#8837).
4191 (term-check-size): Use window-text-height (Bug#5445).
d34c18b1
DR
4192 (term-mode): Use define-derived-mode. Minor cleanups.
4193 Set font-lock-defaults (Bug#7692).
6ff7caa8
CY
4194 (term-move-columns, term-insert-char, term-emulate-terminal)
4195 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
32f7f28e 4196
493c6688
MA
41972012-06-20 Michael Albinus <michael.albinus@gmx.de>
4198
d34c18b1
DR
4199 * net/ange-ftp.el (ange-ftp-get-passwd):
4200 Bind `enable-recursive-minibuffers'.
493c6688
MA
4201 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
4202
3f06ecf4
DR
42032012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
4204
4205 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
4206
68f12411
GM
42072012-06-19 Glenn Morris <rgm@gnu.org>
4208
4209 * progmodes/python.el (python-mode): Derive from prog-mode.
4210
b3820318
KG
42112012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
4212
4213 * emulation/edt.el (edt-default-menu-bar-update-buffers)
4214 (edt-user-menu-bar-update-buffers): New functions.
4215 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
4216
c6bf3022
CY
42172012-06-19 Chong Yidong <cyd@gnu.org>
4218
4219 * subr.el (with-selected-window): Preserve the selected window's
4220 terminal's top-frame (Bug#4702).
4221
4222 * window.el (save-selected-window): Likewise.
4223
25f09295
SM
42242012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
4225
4226 * progmodes/python.el (python-rx-constituents): Move backquote.
4227 (python-skeleton-define, python-define-auxiliary-skeleton):
4228 Use `declare'.
4229
6b11952a
MA
42302012-06-18 Michael Albinus <michael.albinus@gmx.de>
4231
4232 * minibuffer.el (read-file-name-default): Revert the patch from
4233 2012-06-17.
4234
ee4b1330
SM
42352012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
4236
4237 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
4238 (pcase--u1, pcase--q1): Don't use apply-partially.
4239
35647f79
GM
42402012-06-18 Glenn Morris <rgm@gnu.org>
4241
4242 * progmodes/python.el (python-proc, python-buffer)
4243 (python-send-receive, python-send-string): Fix obsolete versions.
4244
24b0cff0
MR
42452012-06-18 Martin Rudalics <rudalics@gmx.at>
4246
4247 * window.el (special-display-p): Completely remove stringp
4248 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
4249
29855149
MA
42502012-06-17 Michael Albinus <michael.albinus@gmx.de>
4251
4252 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
4253
4254 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
4255
4256 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
4257 * net/tramp-sh.el (tramp-maybe-open-connection):
4258 Throw if `non-essential' is non-nil.
4259
07463363
MR
42602012-06-17 Martin Rudalics <rudalics@gmx.at>
4261
4262 * window.el (special-display-p): Signal an error if BUFFER-NAME
4263 is not a string (Bug#11713).
4264
48d1354e
PE
42652012-06-17 Paul Eggert <eggert@cs.ucla.edu>
4266
4267 * progmodes/python.el (python-info-beginning-of-backslash):
4268 Rename from python-info-beginning-of-backlash, as a spelling fix.
4269
eb4a8a9a
CY
42702012-06-17 Chong Yidong <cyd@gnu.org>
4271
4272 * term.el (term-emulate-terminal): If term-check-size is called,
4273 move point to the process mark without resetting point (Bug#4635).
4274
ddfbf826 42752012-06-17 Glenn Morris <rgm@gnu.org>
9c758578
GM
4276
4277 * international/mule-cmds.el (mule-menu-keymap)
4278 (set-language-environment, set-locale-environment): Doc tweaks.
4279
9b0e3eba
AA
42802012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
4281
4282 * cus-face.el (custom-face-attributes): Add wave-style underline
4283 attribute.
4284 * faces.el (set-face-attribute): Update docstring to describe
4285 wave-style underline attribute.
4286
771e3eae
CY
42872012-06-16 Chong Yidong <cyd@gnu.org>
4288
4289 * term/xterm.el (terminal-init-xterm): Discard input before
4290 querying background mode (Bug#10959).
4291
7ae2ea10
SM
42922012-06-16 Stefan Merten <smerten@oekonux.de>
4293
4294 * textmodes/rst.el: Added and corrected some comments.
4295 (rst-re-alist-def): Improve symbol syntax.
4296 (rst-mode-syntax-table): Correct syntax entries.
6665a6fd
SM
4297 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
4298 (rst-official-version, rst-official-cvs-rev): Update version
4299 information.
7ae2ea10 4300
b6974efa
JB
43012012-06-15 Juanma Barranquero <lekktu@gmail.com>
4302
4303 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
4304 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
4305
8826d473
GM
43062012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
4307
4308 * progmodes/python.el: New python.el merge.
4309 (python-guess-indent): Obsolete var.
4310 (python-indent-guess-indent-offset): New defcustom.
4311 (python-indent): Obsolete var.
4312 (python-indent-offset): New defcustom.
4313 (python-python-command, python-jython-command): Delete var.
4314 (python-shell-interpreter): New defcustom.
4315 (python-pdbtrack-do-tracking-p): Delete var.
4316 (python-pdbtrack-activate): New defcustom.
4317 (python-use-skeletons): Obsolete var.
4318 (python-skeleton-autoinsert): New defcustom.
4319 (inferior-python-filter-regexp, python-continuation-offset)
4320 (python-honour-comment-indentation, python-indent-string-contents)
4321 (python-jython-packages, python-mode-hook)
4322 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
4323 (python-shell-prompt-alist)
4324 (python-source-modes): Delete defcustoms.
4325 (python-check-buffer-name, python-eldoc-setup-code)
4326 (python-eldoc-string-code, python-ffap-setup-code)
4327 (python-ffap-string-code, python-fill-comment-function)
4328 (python-fill-decorator-function, python-fill-paren-function)
4329 (python-fill-string-function, python-imenu-include-defun-type)
4330 (python-imenu-make-tree, python-imenu-subtree-root-label)
4331 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
4332 (python-shell-compilation-regexp-alist)
4333 (python-shell-completion-module-string-code)
4334 (python-shell-completion-pdb-string-code)
4335 (python-shell-completion-setup-code)
4336 (python-shell-completion-string-code)
4337 (python-shell-enable-font-lock, python-shell-exec-path)
4338 (python-shell-extra-pythonpaths)
4339 (python-shell-internal-buffer-name, python-shell-interpreter-args)
4340 (python-shell-process-environment)
4341 (python-shell-prompt-block-regexp)
4342 (python-shell-prompt-output-regexp)
4343 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
4344 (python-shell-send-setup-max-wait, python-shell-setup-codes)
4345 (python-shell-virtualenv-path): New defcustoms.
4346 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
4347 (inferior-python-mode-syntax-table, python--prompt-regexp)
4348 (python-buffer, python-command python-python-command)
4349 (python-default-template, python-imports, python-indent-index)
4350 (python-indent-list, python-indent-list-length)
4351 (python-mode-running, python-pdbtrack-is-tracking-p)
4352 (python-preoutput-continuation, python-preoutput-leftover)
4353 (python-preoutput-result, python-preoutput-skip-next-prompt)
4354 (python-prev-dir/file, python-recursing)
4355 (python-saved-check-command, python-version-checked)
4356 (python-which-func-length-limit)
4357 (view-return-to-alist): Delete vars.
4358 (python-check-custom-command, python-dotty-syntax-table)
4359 (python-imenu-index-alist, python-indent-current-level)
4360 (python-indent-dedenters, python-indent-levels)
4361 (python-nav-beginning-of-defun-regexp)
4362 (python-nav-list-defun-positions-cache)
4363 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
4364 (python-shell-internal-buffer)
4365 (python-skeleton-available): New vars.
4366 (def-python-skeleton): Delete macro.
4367 (python-skeleton-define): New macro.
4368 (python-define-auxiliary-skeleton, python-rx): New macros.
4369 (python-insert-class): Delete command.
4370 (python-skeleton-class): New command.
4371 (python-insert-def): Delete command.
4372 (python-skeleton-def): New command.
4373 (python-insert-for): Delete command.
4374 (python-skeleton-for): New command.
4375 (python-insert-if): Delete command.
4376 (python-skeleton-if): New command.
4377 (python-insert-try/except, python-insert-try/finally): Delete commands.
4378 (python-skeleton-try): New command.
4379 (python-insert-while): Delete command.
4380 (python-skeleton-while): New command.
4381 (python-backspace): Delete command.
4382 (python-indent-dedent-line-backspace): New command.
4383 (python-electric-colon): Delete command.
4384 (python-indent-electric-colon): New command.
4385 (python-guess-indent): Delete command.
4386 (python-indent-guess-indent-offset): New command.
4387 (python-shift-left): Delete command.
4388 (python-indent-shift-left): New command.
4389 (python-shift-right): Delete command.
4390 (python-indent-shift-right): New command.
4391 (python-find-function): Delete command.
4392 (python-nav-jump-to-defun): New command.
4393 (python-next-statement): Delete command.
4394 (python-nav-forward-sentence): New command.
4395 (python-previous-statement): Delete command.
4396 (python-nav-backward-sentence): New command.
4397 (python-fill-paragraph): Delete command.
4398 (python-fill-paragraph-function): New command.
4399 (python-send-buffer): Delete command.
4400 (python-shell-send-buffer): New command.
4401 (python-send-defun): Delete command.
4402 (python-shell-send-defun): New command.
4403 (python-send-region, python-send-region-and-go): Delete commands.
4404 (python-shell-send-region)
4405 (python-shell-switch-to-shell): New commands.
4406 (python-send-string): Delete command.
4407 (python-shell-send-string): New command.
4408 (python-switch-to-python): Delete command.
4409 (python-shell-switch-to-shell): New command.
4410 (python-describe-symbol): Delete command.
4411 (python-eldoc-at-point): New command.
4412 (python--set-prompt-regexp, python-args-to-list)
4413 (python-after-info-look, python-check-version)
4414 (python-check-comint-prompt, python-find-imports)
4415 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
4416 (python-unload-function, python-expand-template)
4417 (python-maybe-jython, python-preoutput-filter)
4418 (python-pdbtrack-get-source-buffer)
4419 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
4420 (python-pdbtrack-toggle-stack-tracking)
4421 (python-pdbtrack-track-stack-file, python-initial-text)
4422 (python-first-word, python-comment-line-p, python-send-command)
4423 (python-setup-brm, python-sentinel, python-set-proc)
4424 (python-skip-out, python-input-filter, python-outdent-p)
4425 (python-outline-level, python-backslash-continuation-line-p)
4426 (python-end-of-block, python-end-of-statement, python-mark-block)
4427 (python-beginning-of-block, python-beginning-of-statement)
4428 (python-blank-line-p, python-beginning-of-string)
4429 (python-open-block-statement-p): Delete functions.
4430 (python-indent-line, python-indent-line-1): Delete functions.
4431 (python-indent-line): New function.
4432 (python-indentation-levels): Delete function.
4433 (python-indent-calculate-levels): New function.
4434 (python-proc): Delete function.
4435 (python-shell-get-process): New function.
4436 (python-send-receive): Delete function.
4437 (python-shell-send-string-no-output): New function.
4438 (python-module-path): Delete function.
4439 (python-ffap-module-path): New function.
4440 (python-completion-at-point)
4441 (python-symbol-completions): Delete functions.
4442 (python-completion-complete-at-point): New function.
4443 (python-load-file): Delete function.
4444 (python-shell-send-file): New function.
4445 (python-calculate-indentation): Delete function.
4446 (python-indent-calculate-indentation): New function.
4447 (python-skip-comments/blanks): Delete function.
4448 (python-util-forward-comment): New function.
4449 (python-continuation-line-p): Delete function.
4450 (python-info-continuation-line-p): New function.
4451 (python-which-func, python-current-defun): Delete function.
4452 (python-info-current-defun): New function.
4453 (python-beginning-of-defun): Delete function.
4454 (python-nav-beginning-of-defun): New function.
4455 (python-close-block-statement-p)
4456 (python-block-end-p): Delete function.
4457 (python-info-closing-block): New function.
4458 (python-comint-output-filter-function)
4459 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
4460 (python-fill-comment, python-fill-decorator, python-fill-paren)
4461 (python-fill-string, python-imenu-make-element-tree)
4462 (python-imenu-make-tree, python-imenu-tree-assoc)
4463 (python-indent-context, python-indent-dedent-line)
4464 (python-indent-line-function)
4465 (python-indent-post-self-insert-function)
4466 (python-indent-toggle-levels)
4467 (python-info-assignment-continuation-line-p)
4468 (python-info-beginning-of-backlash)
4469 (python-info-block-continuation-line-p)
4470 (python-info-closing-block-message)
4471 (python-info-line-ends-backslash-p)
4472 (python-info-looking-at-beginning-of-defun)
4473 (python-info-ppss-context, python-info-ppss-context-type)
4474 (python-nav-list-defun-positions, python-nav-read-defun)
4475 (python-nav-sentence-end, python-nav-sentence-start)
4476 (python-pdbtrack-comint-output-filter-function)
4477 (python-pdbtrack-set-tracked-buffer)
4478 (python-shell-calculate-exec-path)
4479 (python-shell-calculate-process-environment)
4480 (python-shell-completion--do-completion-at-point)
4481 (python-shell-completion--get-completions)
4482 (python-shell-completion-complete-at-point)
4483 (python-shell-completion-complete-or-indent)
4484 (python-shell-get-or-create-process)
4485 (python-shell-get-process-name)
4486 (python-shell-internal-get-or-create-process)
4487 (python-shell-internal-get-process-name)
4488 (python-shell-internal-send-string, python-shell-make-comint)
4489 (python-shell-parse-command, python-shell-send-setup-code)
4490 (python-skeleton-add-menu-items)
4491 (python-util-clone-local-variables, python-util-position)
4492 (run-python-internal, python-indentation-levels)
4493 (python-nav-beginning-of-defun)
4494 (python-completion-complete-at-point): New functions.
4495 (run-python): Change arguments. New API requirements.
4496
4302f5ba
SM
44972012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
4498
f38ea36d
SM
4499 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
4500 (bug#11649).
4501
4502 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
4503 (macroexp--expand-all): Use it.
4504
4302f5ba
SM
4505 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
4506 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
4507 Use `cl-function' instead.
4508
33377562
JB
45092012-06-14 Juanma Barranquero <lekktu@gmail.com>
4510
4511 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
4512 Suggested by Stefan Monnier while discussing bug#11657.
4513
54c5ba1a
SS
45142012-06-14 Sam Steingold <sds@gnu.org>
4515
4516 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
4517
f9f1b1fe
AS
45182012-06-14 Andreas Schwab <schwab@linux-m68k.org>
4519
4520 * play/doctor.el (doctor-doc): Remove parameter and use
4521 doctor-sent instead of sent.
4522 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
4523
a81068ba
SM
45242012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
4525
5a315f9c
SM
4526 * files.el: Require cl-lib.
4527 (file-name-non-special): Replace case -> cl-case.
4528
4529 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
4530
a81068ba
SM
4531 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
4532 mapping from #' to function*.
4533
8cca9703
CY
45342012-06-13 Chong Yidong <cyd@gnu.org>
4535
4536 * mouse.el (mouse-drag-track): Do not set the mark if the user
4537 releases the mouse without selecting anything (Bug#11588).
4538
a12ac9d7
SM
45392012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
4540
ccf1dc18
SM
4541 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
4542 as well (bug#11646).
4543
ef62b23d
SM
4544 * loadup.el: Count byte-code functions as well.
4545
c4c8444a
SM
4546 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
4547 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
4548
a12ac9d7
SM
4549 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
4550 (bug#11649). Add cl-defun and cl-defmacro.
4551
87e6e64f
DA
45522012-06-13 Drew Adams <drew.adams@oracle.com>
4553
4554 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
4555 Fix last change.
4556
682cefaf
MA
45572012-06-13 Michael Albinus <michael.albinus@gmx.de>
4558
4559 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
4560 Otherwise, it blocks in batch mode.
4561
773e1f08
JB
45622012-06-13 Juanma Barranquero <lekktu@gmail.com>
4563
4564 * help-mode.el (bookmark-make-record-default): Declare.
4565
60057926
CY
45662012-06-13 Chong Yidong <cyd@gnu.org>
4567
4568 * emacs-lisp/package.el (list-packages): Compute a list of
4569 packages that are newly-available since the last list-packages
4570 invocation.
4571 (package-menu--new-package-list): New var.
4572 (package-menu--generate, package-menu--print-info)
4573 (package-menu--status-predicate, package-menu-mark-install):
4574 Handle new status label "new".
4575
ad4d226c
SM
45762012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
4577
4578 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
4579 conversion to backquotes.
4580
f1a4e679
CY
45812012-06-12 Chong Yidong <cyd@gnu.org>
4582
4583 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
4584 Rename from gud-inhibit-global-bindings.
4585
4586 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
4587
4588 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
4589 hook from nxml-glyph-set-hook.
4590
4591 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
4592 declaration.
4593
4594 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
4595
4596 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
4597 Convert to defcustom.
4598
0c9e42b5
DA
45992012-06-12 Drew Adams <drew.adams@oracle.com>
4600
4601 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
4602 New functions.
4603 (help-mode): Use them.
4604
09e06855
GM
46052012-06-11 Glenn Morris <rgm@gnu.org>
4606
4607 * progmodes/fortran.el (fortran-font-lock-keywords-3):
4608 Use preprocessor face for directives.
4609 (fortran-directive-re): Doc fix.
4610
71adb94b
SM
46112012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
4612
2eb87922
SM
4613 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
4614 conversion to backquotes (bug#11652).
4615
71adb94b
SM
4616 Fix compiler-expansion of CL's cXXr functions (bug#11673).
4617 * emacs-lisp/cl-lib.el (cl--defalias): New function.
4618 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
4619 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
4620 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
4621 (cl-ninth, cl-tenth): Mark them as inlinable.
4622 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
4623 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
4624 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
4625 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
4626 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
4627 (cl-list*, cl-adjoin): Don't put an autoload manually.
4628 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
4629 (cl--compiler-macro-list*): Add autoload cookie.
4630 (cl--compiler-macro-cXXr): New function.
2eb87922 4631
71adb94b
SM
4632 * help-fns.el (help-fns--compiler-macro): New function extracted from
4633 describe-function-1; follow aliases and use `compiler-macro' property.
4634 (describe-function-1): Use it.
4635
a6674402
CY
46362012-06-11 Chong Yidong <cyd@gnu.org>
4637
4638 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
4639 is uninstalled, if imagemagick is installed.
4640
bb3faf5b
SM
46412012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
4642
4643 * emacs-lisp/cl-lib.el: Use lexical-binding.
4644 (cl-map-extents, cl-maclisp-member): Remove.
4645 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
4646 (cl--set-substring, cl--block-wrapper, cl--block-throw)
4647 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
4648 * emacs-lisp/cl-extra.el: Use lexical-binding.
4649 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
4650 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
4651 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
4652 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
4653 * emacs-lisp/cl-seq.el: Use lexical-binding.
4654 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
4655 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
4656 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
4657 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
4658 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
4659 CL's internals.
4660
2fe4b125
MA
46612012-06-11 Michael Albinus <michael.albinus@gmx.de>
4662
4663 Sync with Tramp 2.2.6-pre.
4664
4665 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
4666 `print-length' and `print-level' to nil, in order to avoid
4667 truncation. Reported by Christopher Schmidt
4668 <christopher@ristopher.com>.
4669
4670 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
4671
4672 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
4673 New defmacro.
4674 (tramp-compat-copy-directory): Add optional argument
4675 COPY-CONTENTS. It is not handled yet.
4676
4677 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
4678 (tramp-ftp-file-name-p): Simplify.
4679
4680 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
4681 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
4682 connection vector.
4683
4684 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
4685 (tramp-methods): Do not use `tramp-password-end-of-line'.
4686 (tramp-completion-function-alist-putty): Handle UNIX case.
4687 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
4688 (tramp-do-file-attributes-with-stat)
4689 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
4690 gid as real numbers. They could run out of integer range on cygwin.
4691 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
4692 (tramp-sh-handle-expand-file-name): Handle hops.
87e6e64f
DA
4693 (tramp-open-connection-setup-interactive-shell):
4694 Use `tramp-cleanup'. Move check for busyboxes ...
4695 (tramp-find-shell): ... here. Simplify implementation.
4696 Set "remote-shell" property also for alternative shells.
4697 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
4698 If failing, a regular file would be written otherwise.
4699 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
2fe4b125
MA
4700 (tramp-find-inline-encoding): Cache the coding commands in the
4701 process cache. Apply test command on the remote side, if defined.
4702 (tramp-find-inline-compress): Cache the compress commands in the
4703 process cache.
4704 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
4705 when requested. Handle hops.
4706 (tramp-current-connection): New defvar.
87e6e64f
DA
4707 (tramp-maybe-open-connection): Use `tramp-cleanup'.
4708 Throw `suppress', if there was a failed connection shortly before.
2fe4b125 4709 Handle user interrupt. (Bug#10187)
87e6e64f
DA
4710 (tramp-get-inline-compress, tramp-get-inline-coding):
4711 Read connection properties from the process cache.
2fe4b125
MA
4712
4713 * net/tramp-smb.el (tramp-smb-server-version)
87e6e64f
DA
4714 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
4715 New defconsts.
2fe4b125
MA
4716 (tramp-smb-prompt): Extend for powershell prompt.
4717 (tramp-smb-file-name-handler-alist): Add handlers for
4718 `process-file', `shell-command' and `start-file-process'.
4719 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
4720 (tramp-smb-winexe-shell-command-switch): New defcustoms.
4721 (tramp-smb-file-name-p): Simplify.
4722 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
4723 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
4724 (tramp-smb-shell-quote-argument): New defuns.
4725 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
4726 Implement using "tar". By this, time-stamps are preserved.
4727 (tramp-smb-handle-copy-file): Handle also the case of directories.
4728 (tramp-smb-do-file-attributes-with-stat)
87e6e64f
DA
4729 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
4730 Use `tramp-get-connection-buffer').
2fe4b125
MA
4731 (tramp-smb-handle-rename-file): Use "rename", when source and
4732 target are on the same share.
87e6e64f
DA
4733 (tramp-smb-maybe-open-connection): Handle wrong passwords.
4734 Use `tramp-smb-server-version'.
2fe4b125
MA
4735 (tramp-smb-wait-for-output): Remove prompt.
4736
4737 * net/tramp.el (top): Require 'cl.
87e6e64f
DA
4738 (tramp-methods, tramp-rsh-end-of-line):
4739 Remove `tramp-password-end-of-line' from docstring.
2fe4b125
MA
4740 (tramp-save-ad-hoc-proxies): New defcustom.
4741 (tramp-completion-function-alist): Adapt docstring.
4742 (tramp-default-password-end-of-line): Remove defcustom.
4743 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
4744 (tramp-user-regexp, tramp-file-name-regexp-unified)
4745 (tramp-file-name-regexp-url): Extend regexp by hop separator.
4746 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
4747 (tramp-remote-file-name-spec-regexp): New defconst.
4748 (tramp-file-name-structure): Extend structure for hops.
4749 (tramp-get-method-parameter): Move up.
4750 (tramp-file-name-p, tramp-dissect-file-name)
4751 (with-parsed-tramp-file-name): Handle hops.
4752 (tramp-file-name-hop): New defun.
4753 (tramp-make-tramp-file-name): New optional arg HOP.
4754 (tramp-message-show-progress-reporter-message): New defvar.
4755 (tramp-with-progress-reporter): Use it. We cannot use
4756 `tramp-message-show-message' here, because this suppresses also
4757 error buffers.
4758 (tramp-error-with-buffer): Suppress buffer view, if
87e6e64f
DA
4759 `tramp-message-show-message' is nil.
4760 Use `tramp-get-connection-buffer'.
2fe4b125
MA
4761 (tramp-cleanup): New defun.
4762 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
4763 (tramp-file-name-handler): If `debug-on-error' is set, propagate
4764 an error unchanged.
4765 (tramp-completion-handle-file-name-all-completions): Handle hops.
4766 Fix an error when called from ido.
4767 (tramp-completion-dissect-file-name): Use better local variable
4768 name. Add hop to the vector.
4769 (tramp-handle-insert-file-contents): Use progress-reporter for the
4770 whole scenario.
4771 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
4772 to `t'.
4773 (tramp-check-for-regexp): Simplify search.
4774 (tramp-enter-password): Remove it. Move implementation ...
4775 (tramp-action-password): ... here.
4776 (tramp-mode-string-to-int, tramp-local-host-p)
4777 (tramp-make-tramp-temp-file, tramp-read-passwd)
87e6e64f
DA
4778 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
4779 Set tramp-autoload cookie.
2fe4b125
MA
4780
4781 * net/trampver.el: Update release number.
4782
47832012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4784 Michael Albinus <michael.albinus@gmx.de>
4785
4786 * net/tramp.el (tramp-set-completion-function): Fix docstring.
4787 (tramp-parse-group, tramp-parse-file)
4788 (tramp-parse-shostkeys-sknownhosts): New defuns.
4789 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
4790 (tramp-parse-shosts-group, tramp-parse-sconfig)
4791 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
4792 (tramp-parse-sknownhosts, tramp-parse-hosts)
4793 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
4794 Use them.
4795 (tramp-parse-passwd-group, tramp-parse-netrc-group)
4796 (tramp-parse-putty-group): Don't narrow.
4797 (tramp-parse-putty): Make a loop.
4798 (tramp-file-name-handler): Catch the `suppress' signal.
4799
72834e10
CY
48002012-06-11 Chong Yidong <cyd@gnu.org>
4801
4802 * image.el (imagemagick-register-types): Put the ImageMagick entry
4803 at the end of image-type-file-name-regexps.
4804
a4712e11
JB
48052012-06-11 Johan Bockgård <bojohan@gnu.org>
4806
4807 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
4808 (pcase, pcase-let*, pcase-dolist): Use them.
4809
82ad98e3
SM
48102012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
4811
4812 * emacs-lisp/pcase.el (pcase--let*): New function.
4813 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
4814 (pcase--expand): Use macroexp-let².
4815
f80efb86
SM
48162012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
4817
4818 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
4819 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
4820 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
4821 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
4822 * emacs-lisp/derived.el: Use pcase instead of `cl'.
4823 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
4824
31ca4639 48252012-06-10 Glenn Morris <rgm@gnu.org>
94f0aa34 4826
31ca4639
CY
4827 * mail/rmail.el (rmail-yank-current-message): Leave point at
4828 correct position. (Bug#11660)
94f0aa34 4829
31ca4639 48302012-06-10 Chong Yidong <cyd@gnu.org>
9e1b8ec4 4831
31ca4639 4832 * allout-widgets.el: Fix code header.
9e1b8ec4 4833
31ca4639 48342012-06-10 Chong Yidong <cyd@gnu.org>
00cd0305 4835
f80efb86
SM
4836 * cus-edit.el (customize-changed-options-previous-release):
4837 Bump to 24.1.
31ca4639 4838
642b6d30
AS
48392012-06-09 Andreas Schwab <schwab@linux-m68k.org>
4840
4841 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
4842
4f5d2ba1
CY
48432012-06-09 Chong Yidong <cyd@gnu.org>
4844
4845 * ebuff-menu.el (electric-buffer-list): Preserve header line.
4846
e75852fd
MR
48472012-06-09 Martin Rudalics <rudalics@gmx.at>
4848
4849 * window.el (special-display-popup-frame): Don't use
4850 window--display-buffer (Bug#11651).
4851
1e48e282
EZ
48522012-06-09 Eli Zaretskii <eliz@gnu.org>
4853
8a26b487
EZ
4854 Fix parallel builds: make sure loaddefs.el is not being written
4855 while Lisp files are compiled.
4856 (compile): Don't depend on 'mh-autoloads'.
4857 (compile-CMD, compile-SH): Depend on 'autoloads'.
4858 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
4859
1e48e282
EZ
4860 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
4861
6175e34b
CY
48622012-06-09 Chong Yidong <cyd@gnu.org>
4863
4864 * face-remap.el (face-remap-add-relative, face-remap-set-base)
4865 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
4866 Doc fixes (Bug#11225).
4867
d9857e53
SM
48682012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
4869
4870 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
4871 a function if there's a clear indication that it has a compiler-macro.
4872 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
4873 (macro-declarations-alist): Add arglist to declaration functions.
4874 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
4875 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
4876 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
4877 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
4878 Also add autoload to find the compiler macro.
4879 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
4880 (cl--compiler-macro-member, cl--compiler-macro-assoc)
4881 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
4882 (cl--compiler-macro-get): New functions, replacing calls to
4883 cl-define-compiler-macro.
4884 (cl-typep) [compiler-macro]: Use macroexp-let².
4885
f81298f8 48862012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
ee574791
UJ
4887
4888 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
4889 string properly, fixes Bug#11473.
4890
4b56d0fe
CY
48912012-06-08 Chong Yidong <cyd@gnu.org>
4892
4893 * faces.el (set-face-attribute): Doc fix.
4894 (modify-face): Don't use :bold and :italic.
4895 (error, warning, success): Tweak definitions.
4896
4897 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
4898 (custom-modified, custom-set, custom-changed, custom-themed)
4899 (custom-saved, custom-button, custom-button-mouse)
4900 (custom-button-pressed, custom-state, custom-comment-tag)
4901 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
4902 (custom-group-subtitle): Use new-style face specs.
4903 (custom-invalid-face, custom-rogue-face, custom-modified-face)
4904 (custom-set-face, custom-changed-face, custom-saved-face)
4905 (custom-button-face, custom-button-pressed-face)
4906 (custom-documentation-face, custom-state-face)
4907 (custom-comment-face, custom-comment-tag-face)
4908 (custom-variable-tag-face, custom-variable-button-face)
4909 (custom-face-tag-face, custom-group-tag-face-1)
4910 (custom-group-tag-face): Remove obsolete face alias.
4911
4912 * epa.el (epa-validity-high, epa-validity-medium)
4913 (epa-validity-low, epa-mark, epa-field-name, epa-string)
4914 (epa-field-name, epa-field-body):
4915 * font-lock.el (font-lock-comment-face, font-lock-string-face)
4916 (font-lock-keyword-face, font-lock-builtin-face)
4917 (font-lock-function-name-face, font-lock-variable-name-face)
4918 (font-lock-type-face, font-lock-constant-face):
4919 * ido.el (ido-first-match, ido-only-match, ido-subdir)
4920 (ido-virtual, ido-indicator, ido-incomplete-regexp):
4921 * speedbar.el (speedbar-button-face, speedbar-file-face)
4922 (speedbar-directory-face, speedbar-tag-face)
4923 (speedbar-selected-face, speedbar-highlight-face)
4924 (speedbar-separator-face):
4925 * whitespace.el (whitespace-newline, whitespace-space)
4926 (whitespace-hspace, whitespace-tab, whitespace-trailing)
4927 (whitespace-line, whitespace-space-before-tab)
4928 (whitespace-space-after-tab, whitespace-indentation)
4929 (whitespace-empty):
4930 * emulation/cua-base.el (cua-global-mark):
4931 * eshell/em-prompt.el (eshell-prompt):
4932 * net/newst-plainview.el (newsticker-new-item-face)
4933 (newsticker-old-item-face, newsticker-immortal-item-face)
4934 (newsticker-obsolete-item-face, newsticker-date-face)
4935 (newsticker-statistics-face, newsticker-default-face):
4936 * net/newst-reader.el (newsticker-feed-face)
4937 (newsticker-extra-face, newsticker-enclosure-face):
4938 * net/newst-treeview.el (newsticker-treeview-face)
4939 (newsticker-treeview-new-face, newsticker-treeview-old-face)
4940 (newsticker-treeview-immortal-face)
4941 (newsticker-treeview-obsolete-face)
4942 (newsticker-treeview-selection-face):
4943 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
4944 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
4945 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
4946 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
4947 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
4948 (nxml-outline-active-indicator, nxml-outline-ellipsis):
4949 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
4950 (mpuz-text):
4951 * progmodes/vera-mode.el (vera-font-lock-number)
4952 (vera-font-lock-function, vera-font-lock-interface):
4953 * textmodes/table.el (table-cell): Use new-style face specs, and
4954 don't use the old :bold and :italic attributes.
4955
4956 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
4957 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
4958 (ebrowse-member-class, ebrowse-progress): Likewise.
4959 (ebrowse-tree-mark-face, ebrowse-root-class-face)
4960 (ebrowse-file-name-face, ebrowse-default-face)
4961 (ebrowse-member-attribute-face, ebrowse-member-class-face)
4962 (ebrowse-progress-face): Remove obsolete faces.
4963
4964 * progmodes/flymake.el (flymake-errline, flymake-warnline):
4965 Inherit from error and warning faces respectively.
4966
4967 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
4968 Likewise.
f80efb86
SM
4969 (flyspell-incorrect-face, flyspell-duplicate-face):
4970 Remove obsolete aliases.
4b56d0fe 4971
03310646
MA
49722012-06-08 Michael Albinus <michael.albinus@gmx.de>
4973
4974 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
4975 Avoid infloop.
4976
513749ee
SM
49772012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
4978
4979 * startup.el (argv, argi): Make lexically scoped.
4980 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
4981 * emacs-lisp/cl-macs.el: Use lexical-binding.
4982 Rename cl-bind-* to cl--bind-*.
4983 * files.el: Don't require `cl' since it doesn't use it.
4984 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
4985
595ef4ad
JB
49862012-06-08 Juanma Barranquero <lekktu@gmail.com>
4987
4988 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
4989 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
4990 instead of calling external sort utility.
4991 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
4992
e9f66fcb
EZ
49932012-06-08 Eli Zaretskii <eliz@gnu.org>
4994
4995 * descr-text.el (describe-char): Mention how to insert the
4996 character, if the current input method doesn't support it.
4997 See the discussion in this thread for the details:
4998 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
4999
3d10db47
SS
50002012-06-08 Sam Steingold <sds@gnu.org>
5001
5002 * bindings.el (global-map): Bind XF86Forward to next-buffer and
5003 XF86Back to previous-buffer.
5004 (minibuffer-local-map): Bind them to next-history-element and
5005 previous-history-element respectively.
5006 * help-mode.el (help-mode-map): Bind them to help-go-forward and
5007 help-go-back respectively.
5008 * info.el (Info-mode-map): Bind them to Info-history-forward and
5009 Info-history-back respectively.
5010 These are the keys next to Up on the ThinkPad keyboard.
5011
de7e2b36
SM
50122012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
5013
5014 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
5015 * emacs-lisp/cl-macs.el: Provide itself.
5016 (cl--labels-convert-cache): New var.
5017 (cl--labels-convert): New function.
5018 (cl-flet, cl-labels): New implementation with new semantics, relying on
5019 lexical-binding.
5020 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
5021 (cl-closure-vars, cl--function-convert-cache)
5022 (cl--function-convert): Move from cl-macs.el.
5023 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
5024 rename by removing the "cl-" prefix.
5025 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
5026
6fa6c4ae
SM
50272012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
5028
5029 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
5030 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
5031 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
5032 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
5033 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
5034 (cl-hash-table-count): Add old compatibility aliases.
5035
5036 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
5037 Use macroexpand-all-environment instead.
5038 (cl--old-macroexpand): New var.
5039 (cl--sm-macroexpand): New function.
5040 (cl-symbol-macrolet): Use it during macro expansion.
5041 (cl--function-convert-cache): New var.
5042 (cl--function-convert): New function, extracted from
5043 cl-macroexpand-all.
5044 (cl-lexical-let): Use it.
5045
5046 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
5047 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
5048 (cl-member): Remove old alias.
5049
5050 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
5051 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
5052 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
5053 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
5054 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
5055 (cl-macroexpand-cmacs): Remove var.
5056 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
5057 Use macroexpand-all instead.
5058
4dd1c416
SM
50592012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
5060
5061 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
5062 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
5063 (macroexp-copyable-p): New functions and macros.
5064 * emacs-lisp/edebug.el (edebug-unwrap):
5065 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
5066 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
5067 (pcase--let*): Remove.
5068 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
5069 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
5070 macroexp-const-p instead.
5071 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
5072
5073 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
5074 instead of "cl-" for internal definitions. Use macroexp-const-p.
5075 (cl-old-bc-file-form): Remove var.
5076 (cl-const-exprs-p): Remove fun.
5077 (cl-labels, cl-macrolet): Use backquote.
5078 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
5079 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
5080 (cl-define-setf-expander): Rename from cl-define-setf-method.
5081 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
5082
5083 * international/mule-cmds.el: Don't require CL.
5084 (view-hello-file): Don't use `letf'.
5085
ed8bd4d7
SM
50862012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
5087
7287f2f3
SM
5088 * tmm.el (tmm-prompt): Use string-prefix-p.
5089 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
5090 (tmm-add-prompt): Use minibuffer-completion-help.
5091 (tmm-delete-map): Remove.
5092
ed8bd4d7
SM
5093 * subr.el (kbd): Make it its own function.
5094
7b4cdbf4
SM
50952012-06-07 Stefan Merten <smerten@oekonux.de>
5096
5097 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
5098 Silence compiler warnings. Fix versions.
ed8bd4d7 5099 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 5100 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 5101 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
5102 (rst-package-emacs-version-alist): Correct Emacs version to
5103 represent major merge with upstream.
ed8bd4d7 5104 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 5105
2b48d721
GM
51062012-06-06 Glenn Morris <rgm@gnu.org>
5107
5108 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
5109 Only print environment variables if set.
5110
fa779ab0
SM
51112012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
5112
5113 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
5114 (macroexp--cons): Rename from maybe-cons.
5115 (macroexp--accumulate): Rename from macroexp-accumulate.
5116 (macroexp--all-forms): Rename from macroexpand-all-forms.
5117 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
5118 (macroexp--expand-all): Rename from macroexpand-all-1.
5119
628299e0
SS
51202012-06-06 Sam Steingold <sds@gnu.org>
5121
5122 * calendar/calendar.el (calendar-in-read-only-buffer):
5123 Call `special-mode' to enable the standard read-only keybindings.
5124
b7bb5838
SM
51252012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
5126
5127 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
5128 with "loading" messages (bug#11635).
5129
dfb308ba
MA
51302012-06-06 Michael Albinus <michael.albinus@gmx.de>
5131
5132 * files.el (enable-remote-dir-locals): New option.
5133 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
5134
0372ee92
MA
5135 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
5136 Ensure, that the temp directory is local.
5137
5138 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
5139 `temporary-file-directory'.
5140
eed0bb91
MA
5141 * progmodes/python.el (python-send-region): Ensure, that the
5142 temporary file is created also in the remote case.
5143
7a58f64d
GM
51442012-06-06 Glenn Morris <rgm@gnu.org>
5145
f7dd4e98
GM
5146 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
5147 (vc-rcs-update-changelog): Use it.
5148
090bd7cb 5149 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
276d5f5d 5150
7a58f64d
GM
5151 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
5152 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
5153 (vc-sccs-diff): Replace use of the external vcdiff script.
5154
daed4003
GM
51552012-06-05 Glenn Morris <rgm@gnu.org>
5156
5157 * ledit.el: Move to obsolete/.
5158
48c455c7
SS
51592012-06-05 Sam Steingold <sds@gnu.org>
5160
ed9265fc 5161 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
48c455c7
SS
5162 patch (Bug#11140).
5163
57a7d507
SM
51642012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
5165
090bd7cb 5166 * emacs-lisp/cust-print.el: Move to obsolete.
d32926ff 5167
53aacf21
SM
5168 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
5169 compiler-macro expansion.
5170
57a7d507
SM
5171 Add native compiler-macro support.
5172 * emacs-lisp/macroexp.el (macroexpand-all-1):
5173 Support compiler-macros directly. Properly follow aliases and apply
5174 the compiler macros more thoroughly.
5175 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
5176 macroexpand now properly follows aliases.
5177 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
5178 (cl-compiler-macroexpand): Use new prop.
5179 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
5180
5181 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
5182
51a5f9d8
MR
51832012-06-05 Martin Rudalics <rudalics@gmx.at>
5184
5185 * window.el (get-lru-window, get-mru-window, get-largest-window):
5186 New argument NOT-SELECTED to avoid picking the selected window.
5187 (window--display-buffer-1, window--display-buffer-2): Replace by
5188 new function window--display-buffer
5189 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
5190 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
5191 Use window--display-buffer.
51a5f9d8
MR
5192 (display-buffer-use-some-window): Remove temporary dedication
5193 hack by calling get-lru-window and get-largest-window with
5194 NOT-SELECTED argument non-nil. Call window--display-buffer.
5195
08f9f738
GM
51962012-06-05 Glenn Morris <rgm@gnu.org>
5197
5198 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
5199 Replace external vcdiff script.
5200
e364a2b7
SM
52012012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
5202
5203 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
5204
041df390
CY
52052012-06-04 Chong Yidong <cyd@gnu.org>
5206
e364a2b7
SM
5207 * image.el (imagemagick-types-inhibit): Revert last change.
5208 Add INFO and M.
47b36b94 5209 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 5210
7c1898a7
SM
52112012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
5212
5213 * emacs-lisp/cl-lib.el: Rename from cl.el.
5214 * emacs-lisp/cl.el: New compatibility file.
5215 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
5216 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
5217 to obey the "cl-" prefix.
5218 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
5219
0c3461de
GM
52202012-06-03 Glenn Morris <rgm@gnu.org>
5221
1e266c88
GM
5222 * emacs-lisp/authors.el (authors-aliases): Addition.
5223
0c3461de
GM
5224 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
5225 Fix :version.
5226
d8a52e15
SM
52272012-06-03 Stefan Merten <smerten@oekonux.de>
5228
5229 * textmodes/rst.el: Add comments.
5230 (rst-transition, rst-adornment): New faces.
5231 (rst-adornment-faces-alist): Make default safe to reevaluate.
5232 Fixes
5233 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
5234 Improve customization tags.
5235 (rst-define-level-faces): Clarify meaning.
5236
5205d6f6
CY
52372012-06-03 Chong Yidong <cyd@gnu.org>
5238
5239 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
5240 (compilation-mode-line-run, compilation-mode-line-exit):
5241 New faces.
5205d6f6
CY
5242 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
5243
757ee657
JD
52442012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
5245
7c1898a7
SM
5246 * progmodes/which-func.el (which-func-update-ediff-windows):
5247 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 5248
5f2c76c6
CY
52492012-06-03 Chong Yidong <cyd@gnu.org>
5250
5251 * bindings.el: Remove explicit help text from format-mode-line.
5252 It is now supplied by mode-line-default-help-echo.
5253 (mode-line-front-space, mode-line-end-spaces)
5254 (mode-line-misc-info): New variables.
5255 (mode-line-modes, mode-line-position): Move the default value to
5256 the variable definition.
5257 (mode-line-default-help-echo): New defcustom.
383f7350
CY
5258 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
5259 (mode-line-modified-help-echo): New functions.
5260 (mode-line-mule-info, mode-line-modified): Use them.
5261 (mode-line-eol-desc, propertized-buffer-identification):
5262 Consistency fixes for help text.
cbe46e5f
CY
5263 (mode-line-coding-system-map): Allow using mouse-3 to invoke
5264 set-buffer-file-coding-system (Bug#289).
5265 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 5266
f2d6a3df
SM
52672012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
5268
5269 * simple.el (execute-extended-command): Set real-this-command
5270 (bug#11506).
5271
37269466
CY
52722012-06-02 Chong Yidong <cyd@gnu.org>
5273
5274 Remove incorrect uses of "modeline" in comments, docstrings, and
5275 function/variable names (Bug#10329).
5276
5277 * cus-edit.el (mode-line):
5278 * dframe.el (dframe-mouse-hscroll):
5279 * emacs-lisp/re-builder.el:
5280 * emacs-lisp/easy-mmode.el (define-minor-mode):
5281 * frame.el (set-frame-name):
5282 * help.el (lookup-minor-mode-from-indicator):
5283 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
5284 * progmodes/cc-cmds.el (c-toggle-auto-newline)
5285 (c-toggle-hungry-state):
5286 * progmodes/antlr-mode.el (antlr-language-alist):
5287 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
5288 * progmodes/vhdl-mode.el (vhdl-mode):
5289 * progmodes/which-func.el (which-func, which-func-cleanup-function):
5290 * term/ns-win.el (ns-face-at-pos):
5291 * term/sup-mouse.el (sup-mouse-report):
5292 * textmodes/flyspell.el (flyspell-mode-line-string):
5293 * textmodes/ispell.el (ispell-highlight-face):
5294 * textmodes/reftex-global.el:
5295 * vc/vc-arch.el (vc-arch-mode-line-string):
5296 * vc/vc-cvs.el (vc-cvs-mode-line-string):
5297 * vc/vc-git.el (vc-git-mode-line-string):
5298 * vc/vc-hooks.el (vc-display-status)
5299 (vc-default-mode-line-string):
5300 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
5301
5302 * ansi-color.el (ansi-color-faces-vector): Change default faces.
5303
5304 * dired.el (dired-sort-set-mode-line): Rename from
5305 dired-sort-set-modeline. All callers changed.
5306
5307 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
5308 eshell-status-in-modeline.
5309
5310 * foldout.el (foldout-mode-line-string): Rename from
5311 foldout-modeline-string. All callers changed.
5312 (foldout-update-mode-line): Rename from foldout-update-modeline.
5313
5314 * subr.el (redraw-modeline): Make into obsolete alias.
5315
5316 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
5317 timeclock-modeline-display. Make old name an alias.
5318 (timeclock-update-mode-line): Likewise. All callers changed.
5319 (timeclock-mode-line-display): No need to check before using
5320 add-hook.
5321 (timeclock-relative, timeclock-day-over-hook)
5322 (timeclock-use-elapsed, timeclock-mode-string)
5323 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
5324
5325 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
5326 crisp-mode-modeline-string.
5327
5328 * play/solitaire.el (solitaire-build-mode-line): Rename from
5329 solitaire-build-modeline. All callers changed.
5330
5331 * play/zone.el (zone-hiding-mode-line): Rename from
5332 zone-hiding-modeline. All callers changed.
5333 (zone): Remove unusued `modeline-hidden-level' property.
5334
5335 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
5336 xscheme-modeline-initialize. All callers changed.
5337
5338 * strokes.el (strokes-lighter): Rename from
5339 strokes-modeline-string.
5340
5341 * textmodes/sgml-mode.el (html-face-tag-alist)
5342 (html-tag-face-alist): Use mode-line face instead of obsolete
5343 alias modeline.
5344
42152ee4
SM
53452012-06-02 Stefan Merten <smerten@oekonux.de>
5346
5347 * textmodes/rst.el: Always require `cl'.
4cf9b38d 5348 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 5349
95f520b5
CY
53502012-06-02 Chong Yidong <cyd@gnu.org>
5351
5352 * image.el (imagemagick-enabled-types): Rename from
5353 imagemagick-types-enable. Add many more types.
5354 (imagemagick-types-inhibit): Change default to nil.
5355 (imagemagick-filter-types): Caller changed.
5356
4a5f187a
SM
53572012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
5358
03fef3e6
SM
5359 * emacs-lisp/cl-macs.el: Use backquotes.
5360 (cl-transform-function-property): Use eval-and-compile rather than
5361 abusing `require'.
5362 (defstruct): Use declare-function instead of with-no-warnings.
5363
4a5f187a
SM
5364 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
5365 (byte-compile-output-docform): Re-add the print-circle bindings.
5366 (byte-compile-fix-header): Use #$ just because it's shorter.
5367 (byte-compile-output-file-form): Remove defun/defmacro.
5368
bd56924f
MR
53692012-06-01 Martin Rudalics <rudalics@gmx.at>
5370
5371 * simple.el (choose-completion): Remove now obsolete binding for
5372 owindow.
5373
046e38ce
MA
53742012-06-01 Michael Albinus <michael.albinus@gmx.de>
5375
5376 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
5377 in order to avoid "Stack overflow in regexp matcher".
5378
32d72c2f
GM
53792012-05-31 Glenn Morris <rgm@gnu.org>
5380
5381 * image.el: For clarity, call imagemagick-register-types at
5382 top-level, rather than relying on a custom :initialize.
5383 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
5384 (imagemagick-filter-types): New function. (Bug#7406)
5385 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
5386 If disabling support, remove elements altogether rather
5387 than using an impossible regexp.
5388 (imagemagick-types-inhibit): Give it the default init function.
5389
dd41169b
SM
53902012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
5391
4a5f187a
SM
5392 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
5393 Handle arbitrary file name lengths (Bug#11585).
dd41169b 5394
efc00ab1 53952012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
5396
5397 * desktop.el (desktop-read): Clear previous and next buffers for
5398 all windows and bury *Messages* buffer (bug#11556).
5399
500fcedc
SM
54002012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
5401
5402 Add `declare' for `defun'. Align `defmacro's with it.
5403 * emacs-lisp/easy-mmode.el (define-minor-mode)
5404 (define-globalized-minor-mode): Don't autoload the var definitions.
5405 * emacs-lisp/byte-run.el: Use lexical-binding.
5406 (defun-declarations-alist, macro-declarations-alist): New vars.
5407 (defmacro, defun): Use them.
5408 (make-obsolete, define-obsolete-function-alias)
5409 (make-obsolete-variable, define-obsolete-variable-alias):
5410 Use `declare'.
5411 (macro-declaration-function): Mark obsolete.
5412 * emacs-lisp/autoload.el: Use lexical-binding.
5413 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
5414
6e8a1786
AM
54152012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5416
5417 * textmodes/ispell.el (ispell-with-no-warnings):
5418 Define as a macro.
500fcedc
SM
5419 (ispell-kill-ispell, ispell-change-dictionary):
5420 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
5421 `interactive-p'.
5422
61b108cc
SM
54232012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
5424
5425 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
5426 (macro-declaration-function): Move var from C code.
5427 (macro-declaration-function): Define function with defalias.
5428 * emacs-lisp/macroexp.el (macroexpand-all-1):
5429 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
5430 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
5431 defun/defmacro any more.
5432 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
5433 Provide fallback for unknown arglist.
5434 (byte-compile-arglist-warn): Change calling convention.
5435 (byte-compile-output-file-form): Move print-vars binding.
5436 (byte-compile-output-docform): Simplify accordingly.
5437 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
5438 (byte-compile-defmacro-declaration): Remove.
5439 (byte-compile-file-form-defmumble): Generalize to defalias.
5440 (byte-compile-output-as-comment): Return byte-positions.
5441 Simplify callers accordingly.
5442 (byte-compile-lambda): Use `assert'.
5443 (byte-compile-defun, byte-compile-defmacro): Remove.
5444 (byte-compile-file-form-defalias):
5445 Use byte-compile-file-form-defmumble.
5446 (byte-compile-defalias-warn): Remove.
5447
6d3f7c2f
SM
54482012-05-29 Stefan Merten <smerten@oekonux.de>
5449
5450 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 5451 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
5452
5453 (rst-mode-abbrev-table): Merge definition.
5454 (rst-mode): Make sure `font-lock-defaults' is buffer local.
5455 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
5456
6dbaa1c7
UJ
54572012-05-29 Ulf Jasper <ulf.jasper@web.de>
5458
5459 * calendar/icalendar.el
5460 (icalendar-export-region): Export UID properly.
5461
d209e2fb 54622012-05-29 Leo Liu <sdl.web@gmail.com>
61b108cc
SM
5463 * calendar/icalendar.el (icalendar-import-format):
5464 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
5465 (icalendar-import-format-uid): New.
5466 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
5467 Export UID.
5468
6876a58d
SM
54692012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
5470
5471 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
5472 different alternative patterns.
5473 (pcase-codegen): Be more careful to preserve identity.
5474 (pcase--u1): Don't forget to mark vars as used.
5475
5476 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
5477 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
5478 (byte-compile-from-buffer): ...rather than here.
5479
5480 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
5481 functions from byte-compile-function-environment.
5482
46b7967e
TN
54832012-05-29 Troels Nielsen <bn.troels@gmail.com>
5484
5485 * window.el (window-deletable-p): Avoid deleting the root window
5486 of a frame with an active minibuffer.
5487
69d565e2
MR
54882012-05-29 Martin Rudalics <rudalics@gmx.at>
5489
5490 * simple.el (choose-completion): Use quit-window (Bug#11567).
5491
a149fa51
CY
54922012-05-29 Chong Yidong <cyd@gnu.org>
5493
5494 * whitespace.el (whitespace-cleanup): Fix usage of
5495 whitespace-empty-at-bob-regexp (Bug#11492).
5496
2b311310
AH
54972012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
5498
5499 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
5500 revert (Bug#11488).
5501
b9cb2387
JL
55022012-05-29 Juri Linkov <juri@jurta.org>
5503
5504 * isearch.el (isearch-mode-map): Bind `M-s _' to
5505 `isearch-toggle-symbol'. Bind `M-s c' to
5506 `isearch-toggle-case-fold'.
5507 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
5508 (isearch-forward): Add `M-s _' to the docstring.
5509 (isearch-forward-symbol, isearch-toggle-case-fold)
5510 (isearch-symbol-regexp): New functions. (Bug#11381)
5511
d5e61c1c
JL
55122012-05-29 Juri Linkov <juri@jurta.org>
5513
5514 * isearch.el (isearch-word): Add docstring. (Bug#11381)
5515 (isearch-occur, isearch-search-and-update): If `isearch-word' is
5516 a function, call it to get the regexp.
5517 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
5518 property `isearch-message-prefix' instead of the string "word ".
5519 (isearch-search-fun-default): For the case of `isearch-word',
5520 return a lambda that calls re-search-forward/re-search-backward
5521 with a regexp returned by `word-search-regexp' or by the function
5522 in `isearch-word'.
5523
8cbd80f7
JL
55242012-05-29 Juri Linkov <juri@jurta.org>
5525
5526 * isearch.el (isearch-search-fun-default): New function.
5527 (isearch-search-fun): Move default part to the new function
5528 `isearch-search-fun-default'.
5529 (isearch-search-fun-function): Set the default value to
5530 `isearch-search-fun-default'. (Bug#11381)
5531
5532 * comint.el (comint-history-isearch-end):
5533 Use `isearch-search-fun-default'.
5534 (comint-history-isearch-search): Use `isearch-search-fun-default'
5535 and remove spacial case for `isearch-word'.
5536 (comint-history-isearch-wrap): Remove spacial case for
5537 `isearch-word'.
5538
5539 * hexl.el (hexl-isearch-search-function):
5540 Use `isearch-search-fun-default'.
5541
5542 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
5543 Use `word-search-regexp' for `isearch-word'.
5544
5545 * misearch.el (multi-isearch-search-fun):
5546 Use `isearch-search-fun-default'.
5547
5548 * simple.el (minibuffer-history-isearch-search):
5549 Use `isearch-search-fun-default' and remove spacial case for
5550 `isearch-word'.
5551 (minibuffer-history-isearch-wrap): Remove spacial case for
5552 `isearch-word'.
5553
5554 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
5555 Remove spacial case for `isearch-word'.
5556 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
5557
85c8c5b6
AM
55582012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5559
5560 Decrease XEmacs incompatibilities.
5561 * textmodes/flyspell.el (flyspell-check-pre-word-p):
5562 Use `string-match'.
5563 (flyspell-delete-region-overlays): Use alternative definition for
5564 XEmacs.
5565 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
5566 (flyspell-word): Use `process-kill-without-query' if XEmacs.
5567 (flyspell-mode-on): Use `interactive-p' if XEmacs.
5568 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
5569 `define-obsolete-face-alias' under XEmacs, but old method.
5570
5571 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
5572 `with-no-warnings' definition or Emacs alias.
5573 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
5574 (ispell-word): Do not use `region-p' if XEmacs.
5575
8cab9efc
AM
55762012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5577
5578 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
5579 Check for `ispell-dictionary-base-alist' instead of full
5580 `ispell-dictionary-alist'.
5581 (ispell-init-process): Show spellchecker when starting new Ispell
5582 process.
5583
fda91268
RZ
55842012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
5585
5586 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
5587 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
5588
694ea8e3
JB
55892012-05-27 Juanma Barranquero <lekktu@gmail.com>
5590
5591 * version.el (motif-version-string, gtk-version-string)
5592 (ns-version-string): Declare.
5593
e4d4f539
JL
55942012-05-27 Juri Linkov <juri@jurta.org>
5595
5596 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
5597 after the `eval-defun-1' specialcaseing
5598 like in `edebug-eval-defun' (bug#10181).
5599
5600 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
5601 like in `eval-defun-1'.
5602
33017faf 56032012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 5604
fda91268
RZ
5605 * mail/sendmail.el (mail-yank-region):
5606 Recognize rmail-yank-current-message in addition to insert-buffer.
5607 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
5608 a *mail* buffer created through rmail-start-mail with sendmail as
5609 mail-user-agent.
5610
33017faf
GM
56112012-05-27 Chong Yidong <cyd@gnu.org>
5612
5613 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
5614 Default to 256 (Bug#11267).
5615
5616 * help.el (describe-mode): Doc fix.
5617
04188bb9
GM
56182012-05-26 Glenn Morris <rgm@gnu.org>
5619
38264cc9
GM
5620 * w32-fns.el (w32-init-info): Remove.
5621 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
5622
eb7afdad
GM
5623 * info.el (info-initialize): For self-contained NS builds, put the
5624 included info/ directory at the front. (Bug#2791)
5625
04188bb9
GM
5626 * paths.el (Info-default-directory-list): Make it a defcustom,
5627 mainly so that we can use custom-initialize-delay.
5628
a179e3f7
SM
56292012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
5630
43416392
SM
5631 * subr.el (buffer-has-markers-at): Mark obsolete.
5632
a179e3f7 5633 * subr.el (lambda): Use declare.
43416392 5634
a179e3f7
SM
5635 * emacs-lisp/lisp-mode.el (lambda):
5636 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
5637
34a008d9
AH
56382012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
5639
5640 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
5641
0a3b289f
GM
56422012-05-26 Glenn Morris <rgm@gnu.org>
5643
5644 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
5645
758c81e8
GM
56462012-05-25 Glenn Morris <rgm@gnu.org>
5647
f9f334f0
GM
5648 * paths.el: Remove no-byte-compile.
5649 * loadup.el: No need to load paths.el uncompiled.
5650
87eb79c2
GM
5651 * image.el (imagemagick-types-inhibit): Doc fix.
5652
758c81e8
GM
5653 * version.el: Remove no-byte-compile and associated formatting.
5654 * loadup.el: No need to load version.el uncompiled. AFAICS, this
5655 is ancient code from when there was an "inc-vers.el".
5656
e7e85dc0
SM
56572012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
5658
5659 * progmodes/gdb-mi.el: Minor style changes.
5660 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
5661 Turn into minor modes.
5662 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
5663 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
5664 (gdb-shell): Remove unneeded let-binding.
5665 (gdb-get-many-fields): Eliminate O(n²) behavior.
5666
f31237a4
EZ
56672012-05-25 Eli Zaretskii <eliz@gnu.org>
5668
5669 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
5670 platforms that don't link in fontset.c.
5671
bc1b21bb
JL
56722012-05-25 Juri Linkov <juri@jurta.org>
5673
5674 Use the same diff color scheme as in modern VCSes (bug#10181).
5675
5676 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
5677 to avoid confusion with `diff-added' that now uses green colors.
5678 (diff-removed): Use shades of red.
5679 (diff-added): Use shades of green.
5680 (diff-changed): Leave just the yellow color.
5681 (diff-use-changed-face): New variable.
5682 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
5683 how to highlight context diff changes.
5684 (diff-refine-change): Use shades of yellow.
5685 (diff-refine-removed): New face that uses shades of red.
5686 (diff-refine-added): New face that uses shades of green.
5687 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
5688 `diff-refine-removed' in the call to `smerge-refine-subst'
5689 depending on the value of `diff-use-changed-face'.
5690
5691 * vc/smerge-mode.el (smerge-mine): Use shades of red.
5692 (smerge-other): Use shades of green.
5693 (smerge-base): Use shades of yellow.
5694 (smerge-refined-change): Empty face.
5695 (smerge-refined-removed): New face that uses shades of red.
5696 (smerge-refined-added): New face that uses shades of green.
5697 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
5698 args `props-r' and `props-a', and use them. Doc fix.
5699 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
5700 on its value use different faces `smerge-refined-change',
5701 `smerge-refined-removed', `smerge-refined-added' in the call to
5702 `smerge-refine-subst'.
5703
5704 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
5705 Add face condition `min-colors 88' with shades of red.
5706 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
5707 `min-colors 88' with shades of green.
5708 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
5709 `min-colors 88' with shades of yellow.
5710
6df9112c
GM
57112012-05-24 Glenn Morris <rgm@gnu.org>
5712
ead5edc0
GM
5713 * paths.el (prune-directory-list, remote-shell-program): Move to...
5714 * files.el (prune-directory-list, remote-shell-program): ...here.
5715 For the latter, delay initialization, prefer ssh, just search PATH.
5716
f18b81e6
GM
5717 * paths.el (term-file-prefix): Move to faces.el (the only user).
5718 * faces.el (term-file-prefix): Move here, make it a defcustom.
5719
ee2f89a6
GM
5720 * paths.el (news-directory, news-path, news-inews-program):
5721 Move to gnus/nnspool.el.
61a583ca 5722
f8815e4c
GM
5723 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
5724
c8f3b42c
GM
5725 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
5726 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
5727 Make the latter a defcustom, with a delayed initialization.
5728
6df9112c
GM
5729 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
5730 These were deleted from Gnus itself late 2010.
5731
5dadff36
JB
57322012-05-22 Juanma Barranquero <lekktu@gmail.com>
5733
9e1701c6
JB
5734 * progmodes/which-func.el (which-func-ff-hook):
5735 Check against user-error, not error.
5736
bd7239f5 5737 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
5738 cl-specs.el, which no longer exists.
5739
3290526d
GM
57402012-05-22 Glenn Morris <rgm@gnu.org>
5741
5742 * info.el (info-emacs-bug): New command.
5743 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
5744 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
5745
ff0c3cfb
GM
57462012-05-21 Glenn Morris <rgm@gnu.org>
5747
5748 * makefile.w32-in (update-subdirs-SH):
5749 * Makefile.in (update-subdirs): Update for moved update-subdirs.
5750
5814f126
SM
57512012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
5752
a52c0aa0
SM
5753 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
5754
5814f126
SM
5755 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5756 Simplify Maven regexp, and make sure the file can't start with a space
5757 (bug#11517).
5758
b847032c
GM
57592012-05-21 Glenn Morris <rgm@gnu.org>
5760
5761 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
5762 Scrap superfluous subshells.
5763
3858bfe7
SM
57642012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
5765
5766 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
5767 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
5768
d14b0029
JB
57692012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
5770
5771 * calc/calc.el (calc-ensure-consistent-units): New variable.
5772
a52c0aa0
SM
5773 * calc/calc-units.el (math-consistent-units-p)
5774 (math-check-unit-consistency): New functions.
5775 (calc-quick-units, calc-convert-units):
5776 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
5777 is non-nil.
d14b0029
JB
5778 (calc-extract-units): Fix typo.
5779
60c4db3a
SM
57802012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
5781
77f3b62e
SM
5782 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
5783
60c4db3a
SM
5784 * textmodes/flyspell.el: Commenting style, plus code simplifications.
5785 (flyspell-default-deplacement-commands): Don't spell check after
5786 repeated window/frame switches (e.g. triggered by mouse-movement).
5787 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
5788 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
5789 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
5790 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
5791 Remove unused vars.
5792 (flyspell-get-casechars, flyspell-get-not-casechars):
5793 Simplify; Don't bother removing a ] just to add it back.
5794 * textmodes/ispell.el (ispell-program-name): Use executable-find.
5795
d209e2fb 57962012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
b1a10716
RS
5797
5798 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
5799 New functions.
bd7239f5 5800 (math-function-table): Add support for more C functions.
b1a10716 5801
3f1b25b5
AM
58022012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5803
090bd7cb
JB
5804 * textmodes/flyspell.el (flyspell-check-pre-word-p)
5805 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
5806 Protect delay handling for otherchars against empty otherchars.
3f1b25b5 5807
b581bb5c
SM
58082012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
5809
5810 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
5811 their respective macro declarations.
5812 * skeleton.el (define-skeleton):
5813 * progmodes/compile.el (define-compilation-mode):
5814 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
5815 (define-ibuffer-filter):
5816 * emacs-lisp/generic.el (define-generic-mode):
5817 * emacs-lisp/easy-mmode.el (define-minor-mode)
5818 (define-globalized-minor-mode):
5819 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
5820 * emacs-lisp/byte-run.el (defsubst):
5821 * custom.el (deftheme): Add doc-string metadata.
5822
70b8ef8f
SM
58232012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
5824
5825 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
5826
b1198e17
SM
58272012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
5828
9abdc45d
SM
5829 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
5830
b1198e17
SM
5831 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
5832 * emacs-lisp/cl-macs.el: Idem.
5833 * emacs-lisp/cl-specs.el: Remove.
5834
4735906a
SM
58352012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
5836
5837 Minor renaming of internal CL functions and variables.
5838 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
5839 (cl--position): Rename from cl-position.
5840 (cl--delete-duplicates): Rename from cl-delete-duplicates.
5841 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
5842 (cl--random-state): Rename from *random-state*.
5843
ac348012
SM
58442012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
5845
5846 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
5847 parens around the arg list (bug#11499).
5848
a0a79cde
JL
58492012-05-17 Juri Linkov <juri@jurta.org>
5850
5851 * isearch.el (word-search-regexp, word-search-backward)
5852 (word-search-forward, word-search-backward-lax)
5853 (word-search-forward-lax): Move functions from search.c
5854 (bug#10145, bug#11381).
5855
65034a51
AM
58562012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5857
090bd7cb
JB
5858 * textmodes/flyspell.el (flyspell-check-pre-word-p)
5859 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
5860 Delay for otherchars as for normal word components.
65034a51 5861
1a72a195
SM
58622012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
5863
5864 * minibuffer.el (completion--sifn-requote): Fix last change.
5865 (minibuffer-local-must-match-filename-map):
5866 Move define-obsolete-variable-alias before its var.
5867
fdb058c2
SM
58682012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
5869
c41045e6
SM
5870 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
5871
036dfb8b
SM
5872 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
5873 behavior.
5874 (completion--string-equal-p): New function.
5875 (completion--twq-all): Use it to get better assertion failure data.
5876
2473256d
SM
5877 Only handle ".." and '..' quoting in shell-mode (bug#11466).
5878 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
5879 (shell--requote-argument): New functions.
5880 (shell-completion-vars): Use them.
5881 (shell--parse-pcomplete-arguments): Rename from
5882 shell-parse-pcomplete-arguments.
5883 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
5884 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
5885 Obey comint-file-name-quote-list.
5886
fdb058c2
SM
5887 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
5888 (smie-indent-keyword): Use it.
5889
51fa99f1
SM
58902012-05-14 Stefan Merten <smerten@oekonux.de>
5891
5892 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
5893
e18afed7 58942012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
5895
5896 * net/rlogin.el (rlogin-mode-map): Fix last change.
5897
e18afed7 58982012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
5899
5900 * mail/smtpmail.el (smtpmail-send-command): Send the command and
5901 the following \r\n using a single `process-send-string', since the
5902 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 5903 with two `process-send-string's (Bug#11444).
8633b1f4 5904
e18afed7 59052012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 5906
fdb058c2
SM
5907 * shell.el (shell-parse-pcomplete-arguments):
5908 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 5909
2d21d7f6
WJ
59102012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
5911
e18afed7 5912 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
5913 (image-transform-scale, image-transform-right-angle-fudge): New vars.
5914 (image-transform-width, image-transform-fit-width): New functions.
5915 (image-transform-properties): Use them.
5916 (image-transform-check-size): New function.
5917 (image-toggle-display-image): Use it (for testing).
5918 (image-transform-set-rotation): Reduce angle mod 360.
5919 Delete obsolete comment.
5920
7102e6d0
WJ
59212012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
5922
5923 * image-mode.el: Fix scaling (bug#11399).
5924 (image-transform-resize): Doc fix.
5925 (image-transform-properties): Default scale is 1 and height should
5926 be an integer.
5927
06bc5e6e
SM
59282012-05-13 Johan Bockgård <bojohan@gnu.org>
5929
5930 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
5931 than hard-coding `car', to fix misbehavior when moving forward.
5932
0ae03b6a
CY
59332012-05-13 Chong Yidong <cyd@gnu.org>
5934
5935 * emacs-lisp/tabulated-list.el (tabulated-list-format)
5936 (tabulated-list-entries, tabulated-list-padding)
5937 (tabulated-list-sort-key): Make permanent-local.
5938
5939 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
5940 (electric-buffer-list): Put electric buffer menu
5941 command descriptions in this docstring, instead of the docstring
5942 of electric-buffer-menu-mode. Code cleanups.
5943 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
5944 Electric-buffer-menu-mode.
5945 (electric-buffer-update-highlight): Minor code cleanup.
5946
205a7391
MA
59472012-05-13 Michael Albinus <michael.albinus@gmx.de>
5948
5949 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
5950 (Bug#11447)
5951
e5bd0a28
SM
59522012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
5953
5954 Move define-obsolete-variable-alias before the var's definition.
5955 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
5956 * tooltip.el (tooltip-hook):
5957 * textmodes/reftex-toc.el (reftex-toc-map):
5958 * textmodes/reftex-sel.el (reftex-select-label-map)
5959 (reftex-select-bib-map):
5960 * textmodes/reftex-index.el (reftex-index-map)
5961 (reftex-index-phrases-map):
5962 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
5963 * progmodes/meta-mode.el (meta-mode-map):
5964 * novice.el (disabled-command-hook):
5965 * loadhist.el (unload-hook-features-list):
5966 * frame.el (blink-cursor):
5967 * files.el (find-file-not-found-hooks, write-file-hooks)
5968 (write-contents-hooks):
5969 * emulation/tpu-edt.el (GOLD-map):
5970 * emacs-lock.el (emacs-lock-from-exiting):
5971 * emacs-lisp/generic.el (generic-font-lock-defaults):
5972 * emacs-lisp/chart.el (chart-map):
5973 * dos-fns.el (register-name-alist):
5974 * dired-x.el (dired-omit-files-p):
5975 * desktop.el (desktop-enable):
5976 * cus-edit.el (custom-mode-hook):
5977 * buff-menu.el (buffer-menu-mode-hook):
5978 * bookmark.el (bookmark-read-annotation-text-func)
5979 (bookmark-exit-hooks):
5980 * allout.el (allout-mode-deactivate-hook)
5981 (allout-exposure-change-hook, allout-structure-added-hook)
5982 (allout-structure-deleted-hook, allout-structure-shifted-hook):
5983 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
5984 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
5985 comes before the corresponding variable's definition.
5986
ac59c2f6
CY
59872012-05-12 Chong Yidong <cyd@gnu.org>
5988
5989 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
5990 (Buffer-menu-mouse-select): Restore function (Bug#11459).
5991 (Buffer-menu-mode-map): Bind it.
5992 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 5993
dee6c9a3
SM
59942012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
5995
2171cea5
SM
5996 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
5997 (prolog-upper-case-string, prolog-lower-case-string)
5998 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
5999 (prolog-use-smie, prolog-smie-grammar): New vars.
6000 (prolog-smie-forward-token, prolog-smie-backward-token)
6001 (prolog-smie-rules): New funs.
6002 (prolog-comment-indent): Remove.
6003 (prolog-mode-variables): Use default comment indentation instead.
6004 Setup SMIE.
6005 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
6006 (prolog-mode): Don't call them any more.
6007 (prolog-electric-colon, prolog-electric-dash)
6008 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
6009
aa0382bd
SM
6010 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
6011
dbacb4bd
SM
6012 * minibuffer.el (completion--twq-all): Again, allow case differences.
6013
13bdd94c
SM
6014 * term.el: Move keymap initialization code to be more idiomatic.
6015 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
6016 (term-terminal-menu): Move initialization into declaration.
6017 (term-escape-char): Let the user set it in her .emacs.
6018
ff46c759
SM
6019 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
6020 Provide SMIE-based indentation (not enabled by default yet).
6021 (sh-mode-map): Don't bind electric keys.
6022 Use electric-pair-mode instead of skeleton-pair.
6023 (sh-assignment-regexp): Fit within 80 columns.
6024 (sh-indent-supported): Specify actual shell name instead of boolean.
6025 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
6026 (sh-maybe-here-document): Use it. Make obsolete.
6027 (sh-electric-here-document-mode) New minor mode.
6028 (sh-mode): Use it. Don't set sh-indent-supported-here here.
6029 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
6030 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
6031 (sh-smie-rc-grammar, sh-use-smie): New vars.
6032 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
6033 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
6034 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
6035 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
6036 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
6037 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
6038 (sh-set-shell): Use smie-setup if requested.
6039
dee6c9a3
SM
6040 * term.el (term-set-escape-char): Properly set term-escape-char.
6041 See http://stackoverflow.com/questions/10524656.
6042
9f9aa044
CY
60432012-05-10 Chong Yidong <cyd@gnu.org>
6044
6045 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
6046 Use url-generic-parse-url, and handle host names and Windows
6047 filenames properly.
6048 (ffap-url-unwrap-remote): Use url-generic-parse-url.
6049 (ffap-url-unwrap-remote): Accept list values, specifying a list of
6050 URL schemes to work on.
6051 (ffap--toggle-read-only): New function.
6052 (ffap-read-only, ffap-read-only-other-window)
6053 (ffap-read-only-other-frame): Use it.
6054 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
6055 necessary for ffap-url-unwrap-remote.
6056
836d29b3
DA
60572012-05-10 Dave Abrahams <dave@boostpro.com>
6058
6059 * cus-start.el (create-lockfiles): Add it.
6060
00fd78ed
CY
60612012-05-09 Chong Yidong <cyd@gnu.org>
6062
6063 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
6064 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
6065
666b903b 60662012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
6067
6068 * shell.el (shell-completion-vars): Fix last change (bug#11348).
6069
666b903b 60702012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
6071
6072 * ansi-color.el (ansi-color-process-output): Check for validity of
6073 comint-last-output-start before using it. This avoids a bad
6074 interaction with gdb-mi's input/output buffer.
6075
666b903b 60762012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
6077
6078 * files.el (dir-locals-read-from-file):
6079 Mention dir-locals in any error message.
6080
666b903b 60812012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
6082
6083 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
6084 package (Bug#11410).
6085
f677562b
CY
6086 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
6087 variables into description.
6088
666b903b 60892012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
6090
6091 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
6092 shell-delimiter-argument-list (bug#11348).
6093 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
6094
b499d8d0
JB
60952012-05-09 Juanma Barranquero <lekktu@gmail.com>
6096
8f6b6da8
JB
6097 * textmodes/rst.el: Silence byte-compiler warnings.
6098 (rst-re-alist, rst-reset-section-caches): Move around.
6099 (rst-re): Use `characterp', not `char-valid-p'.
6100 (font-lock-beg, font-lock-end): Declare.
6101
4824146a
JB
6102 * progmodes/idlw-shell.el (specs): Remove reference to deleted
6103 variable `idlwave-shell-activate-alt-keybindings' and simplify.
6104
b499d8d0
JB
6105 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
6106
ad89bb83
GM
61072012-05-08 Glenn Morris <rgm@gnu.org>
6108
6109 * files.el (auto-mode-alist): Treat ".make" like ".mk".
6110
8bba5a75
SM
61112012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
6112
49ed9c8e
SM
6113 * vc/log-edit.el: Add GNU coding standards highlighting.
6114 (log-edit-font-lock-gnu-style)
6115 (log-edit-font-lock-gnu-keywords): New vars.
6116 (log-edit-font-lock-keywords): New fun.
6117 (log-edit-mode): Don't fold case in font-lock.
6118 (log-edit-font-lock-keywords): Do not assume case-folding.
6119
07d00b56
SM
6120 * imenu.el: Misc cleanup. Make docstrings out of comments.
6121 Use lexical-binding.
6122 (imenu--index-alist, imenu--last-menubar-index-alist)
6123 (imenu-menubar-modified-tick): Use defvar-local.
6124 (imenu--split-menu): Remove unused var.
6125 (imenu--cleanup-seen): Declare as global.
6126 (imenu--cleanup): Use dolist.
6127
8bba5a75
SM
6128 * subr.el (defvar-local): Add debug spec and doc-string position.
6129
5075bdb5
GM
61302012-05-08 Glenn Morris <rgm@gnu.org>
6131
090bd7cb 6132 * language/burmese.el, language/cham.el, language/czech.el:
c052c904
GM
6133 * language/english.el, language/georgian.el, language/greek.el:
6134 * language/japanese.el, language/khmer.el, language/korean.el:
6135 * language/lao.el, language/misc-lang.el, language/romanian.el:
6136 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
6137 * language/thai.el, language/utf-8-lang.el:
6138 Remove no-byte-compile setting.
6139
5075bdb5
GM
6140 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
6141
06f679a7
AH
61422012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
6143
6144 * progmodes/make-mode.el (makefile-browse):
6145 Remove unnecessary interactive. (Bug#11324)
6146
03794570
GM
61472012-05-07 Glenn Morris <rgm@gnu.org>
6148
af8630f4
GM
6149 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
6150
03794570
GM
6151 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
6152
f0809a9d
SM
61532012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
6154
28be5ce7
SM
6155 * loadup.el: Preload newcomment.el.
6156 * newcomment.el: Move autoload-only code to toplevel.
6157
f0809a9d
SM
6158 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
6159 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
6160 Handle new :right-align column property.
6161 (tabulated-list-print-col): Idem, plus use `display' text-property to
6162 try and preserve alignment for variable pitch fonts.
6163
1241b724
CY
61642012-05-07 Chong Yidong <cyd@gnu.org>
6165
6166 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
6167 (tabulated-list-use-header-line): New var.
6168 (tabulated-list-init-header): Use it.
6169 (tabulated-list-print-fake-header): New function.
6170 (tabulated-list-print): Use it.
6171 (tabulated-list-sort-button-map): Add non-header-line commands.
6172 (tabulated-list-init-header): Add column name property to basic
6173 labels as well.
6174 (tabulated-list-col-sort): Handle non-header-line button case.
6175 (tabulated-list--sort-by-column-name): Fix a corner case.
6176
f0809a9d
SM
6177 * buff-menu.el (list-buffers--refresh):
6178 Handle Buffer-menu-use-header-line.
1241b724 6179
e5f9458f
CY
61802012-05-06 Chong Yidong <cyd@gnu.org>
6181
6182 * buff-menu.el: Convert to Tabulated List mode.
6183 (Buffer-menu-buffer+size-width): Make obsolete.
6184 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
6185 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
6186 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
6187 documentation into docstring of buffer-menu.
6188 (Buffer-menu-toggle-files-only): Add an informative message.
6189 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
6190 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
6191 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
6192 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
6193 (Buffer-menu-execute, Buffer-menu-select)
6194 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
6195 (Buffer-menu-bury): Use Tabulated List machinery.
6196 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
6197 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 6198 Delete.
e5f9458f
CY
6199 (list-buffers--refresh): New function.
6200 (list-buffers-noselect): Use it.
6201 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
6202 (Buffer-menu--pretty-file-name): New helper functions.
6203
6204 * loadup.el: Preload tabulated-list.
6205
6206 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
6207 tabulated-list-sort-column.
6208 (tabulated-list-init-header): Add the initial aligning space even
6209 if tabulated-list-padding is zero.
6210
e129292c
CS
62112012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
6212
6213 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
6214 whose cdr is not a cons cell correctly (bug#11038).
6215
6632d361
CY
62162012-05-06 Chong Yidong <cyd@gnu.org>
6217
e129292c
CS
6218 * emacs-lisp/tabulated-list.el (tabulated-list-format):
6219 Accept additional plist in column descriptors.
6632d361
CY
6220 (tabulated-list-init-header): Obey it.
6221 (tabulated-list-get-entry): New function.
6222 (tabulated-list-put-tag): Use it. Use string-width instead of
6223 length.
6224 (tabulated-list--column-number): New function.
6225 (tabulated-list-print): Use it.
e129292c
CS
6226 (tabulated-list-print-col): New function.
6227 Set `tabulated-list-column-name' property on each column's text.
6632d361 6228 (tabulated-list-print-entry): Use it.
e129292c
CS
6229 (tabulated-list-delete-entry, tabulated-list-set-col):
6230 New functions.
6632d361
CY
6231 (tabulated-list-sort-column): New command (Bug#11337).
6232
3cc99f68
CY
6233 * buff-menu.el (list-buffers): Move C-x C-b binding from
6234 buff-menu.el to bindings.el.
6235
6236 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
6237 :advertised-binding feature.
6238
52b61776
TN
62392012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
6240
6241 * progmodes/compile.el (compilation-internal-error-properties):
6242 Calculate start position correctly when end-col is set but
6243 end-line is not (Bug#11382).
6244
ebfe2597
WJ
62452012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
6246
6247 * man.el (Man-unindent): Use text-property-default-nonsticky to
6248 prevent untabify from inheriting face properties (Bug#11408).
6249
6d3f7c2f
SM
62502012-05-05 Stefan Merten <smerten@oekonux.de>
6251
6252 * textmodes/rst.el: Major merge with upstream development up to
6253 Docutils SVN r7399 / rst.el V1.2.1.
6254
6255 Clarify maintainership and authors.
6256
6257 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
6258 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
6259 (rst-official-version, rst-official-cvs-rev, rst-version)
6260 (rst-package-emacs-version-alist): New functions and variables
6261 for version information.
6262
6263 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
6264 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
6265 (rst-mode-syntax-table, rst-mode): New and corrected functions
6266 and variables representing reStructuredText features.
6267
6268 (rst-re): New function for reStructuredText regexes. Use in
6269 many places.
6270
6271 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
6272 (rst-mode-map): Rebind keys.
6273
6274 (rst-mode-lazy, rst-font-lock-keywords)
6275 (rst-font-lock-extend-region)
6276 (rst-font-lock-extend-region-internal)
6277 (rst-font-lock-extend-region-extend)
6278 (rst-font-lock-find-unindented-line-limit)
6279 (rst-font-lock-find-unindented-line-match)
6280 (rst-adornment-level, rst-font-lock-adornment-level)
6281 (rst-font-lock-adornment-match)
6282 (rst-font-lock-handle-adornment-pre-match-form)
6283 (rst-font-lock-handle-adornment-matcher): Major revision of
6284 font-locking. Integrate with other code. Use `jit-lock-mode'.
6285
6286 (rst-preferred-adornments, rst-adjust-hook)
6287 (rst-new-adornment-down, rst-preferred-bullets)
6288 (rst-preferred-bullets, rst-indent, rst-indent-width)
6289 (rst-indent-field, rst-indent-literal-normal)
6290 (rst-indent-literal-minimized, rst-indent-comment): Change,
6291 extend and improve customization.
6292
6293 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
6294 (rst-normalize-cursor-position, rst-get-decoration)
6295 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
6296 (rst-rstrip, rst-toc-insert-find-delete-contents)
6297 (rst-shift-fill-region, rst-compute-bullet-tabs)
6298 (rst-debug-print-tabs, rst-debug-mark-found)
6299 (rst-shift-region-guts, rst-shift-region-right)
6300 (rst-shift-region-left, rst-use-char-classes)
6301 (rst-font-lock-keywords-function)
6302 (rst-font-lock-indentation-point)
6303 (rst-font-lock-find-unindented-line-begin)
6304 (rst-font-lock-find-unindented-line-end)
6305 (rst-font-lock-find-unindented-line)
6306 (rst-font-lock-adornment-point, rst-font-lock-level)
6307 (rst-adornment-level-alist): Remove functions and variables.
6308
6309 (rst-compare-adornments, rst-get-adornment-match)
6310 (rst-suggest-new-adornment, rst-get-adornments-around)
6311 (rst-adornment-complete-p, rst-get-next-adornment)
6312 (rst-adjust-adornment, rst-display-adornments-hierarchy)
6313 (rst-straighten-adornments): Standardize function names to
6314 use "adornment" instead of "decoration". Correct callers.
6315 Similar standardizing in many places.
6316
6317 (rst-update-section, rst-adjust, rst-promote-region)
6318 (rst-enumerate-region, rst-bullet-list-region)
6319 (rst-repeat-last-character): Correct use of `interactive'.
6320
6321 (rst-classify-adornment, rst-find-all-adornments)
6322 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
6323 (rst-find-leftmost-column, rst-repeat-last-character):
6324 Refactor functions.
6325
6326 (rst-find-title-line, rst-reset-section-caches)
6327 (rst-get-adornments-around, rst-adjust-adornment-work)
6328 (rst-arabic-to-roman, rst-roman-to-arabic)
6329 (rst-insert-list-pos, rst-insert-list-new-item)
6330 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
6331 New functions.
6332
6333 (rst-all-sections, rst-section-hierarchy)
6334 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
6335 New variables.
6336
6337 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
6338 configuration instead of only buffer. Change where necessary.
6339
6340 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
6341 (rst-shift-region, rst-adaptive-fill): New functions for
6342 indentation and filling.
6343
6344 (rst-comment-line-break, rst-comment-indent)
6345 (rst-comment-insert-comment, rst-comment-region)
6346 (rst-uncomment-region): New functions for handling comments.
6347
6348 (rst-compile): Quote shell arguments.
6349
6350 (rst-compile-pdf-preview, rst-compile-slides-preview):
6351 Delete temporary files after use.
6352
a43f98b3
GM
63532012-05-05 Glenn Morris <rgm@gnu.org>
6354
48176e8b
GM
6355 * calendar/cal-html.el: Optionally include holidays in the output.
6356 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
6357 (cal-html-holidays): New option.
6358 (cal-html-css-default): Add holiday entry.
6359 (holiday-in-range): Autoload it.
6360 (cal-html-htmlify-entry): Add optional class argument.
6361 (cal-html-htmlify-list): Add optional holidays argument.
6362 (cal-html-insert-agenda-days): Include holidays in the output.
6363 (cal-html-one-month): Maybe include holidays.
6364
a43f98b3
GM
6365 * calendar/holidays.el (holiday-in-range):
6366 Move here from cal-tex-list-holidays.
6367 * calendar/cal-tex.el (cal-tex-list-holidays):
6368 Make it an obsolete alias for holiday-in-range. Update all callers.
6369
fef9d149 63702012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
6371
6372 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
6373 Nextstep.
6374
248da2f4
RW
63752012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
6376
6377 * files.el (file-auto-mode-skip): New var.
6378 (set-auto-mode-1): Use it.
6379
f95e9344
SM
63802012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
6381
df96ab1e
SM
6382 * repeat.el: Use lexical-binding.
6383 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
6384 (repeat-undo-count): Remove.
6385 (repeat):
6386 * progmodes/octave-mod.el (octave-abbrev-start):
6387 * progmodes/f90.el (f90-abbrev-start):
6388 * face-remap.el (text-scale-adjust):
6389 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
6390
5342bb06
SM
6391 * emacs-lisp/pcase.el (pcase--let*): New function.
6392 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
6393 a bit more.
6394 (pcase--split-pred): Be more clever about ruling out overlap between
6395 a predicate and some constant pattern.
6396 (pcase--q1): Use `null' instead of (eq foo nil).
6397
f95e9344
SM
6398 * subr.el (setq-local, defvar-local): New macros.
6399 (kbd): Redefine as an alias.
6400 (with-selected-window): Leave unrelated frames alone.
6401 (set-temporary-overlay-map): New function.
6402
71873e2b
SM
64032012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
6404
6405 * subr.el (user-error): New function.
6406 * window.el (switch-to-buffer):
6407 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
6408 (smerge-match-conflict):
6409 * simple.el (previous-matching-history-element)
6410 (next-matching-history-element, goto-history-element, undo-more)
6411 (undo-start):
6412 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
6413 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
6414 (next-file, tags-loop-scan, list-tags, complete-tag):
6415 * progmodes/compile.el (compilation-loop):
6416 * mouse.el (mouse-minibuffer-check):
6417 * man.el (Man-bgproc-sentinel, Man-goto-page):
6418 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
6419 (Info-history-forward, Info-follow-reference, Info-menu)
6420 (Info-extract-menu-item, Info-extract-menu-counting)
6421 (Info-forward-node, Info-backward-node, Info-next-menu-item)
6422 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
6423 (Info-next-reference, Info-prev-reference, Info-index)
6424 (Info-index-next, Info-follow-nearest-node)
6425 (Info-copy-current-node-name):
6426 * imenu.el (imenu--make-index-alist)
6427 (imenu-default-create-index-function, imenu-add-to-menubar):
6428 * files.el (basic-save-buffer, recover-file):
6429 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
6430 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
6431 (checkdoc-message-text, checkdoc-defun):
6432 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
6433 * cus-edit.el (customize-changed-options, customize-rogue)
6434 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
6435 (custom-variable-mark-to-reset-standard)
6436 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
6437 (custom-file):
6438 * completion.el (check-completion-length):
6439 * comint.el (comint-search-arg)
6440 (comint-previous-matching-input-string-position)
6441 (comint-previous-matching-input)
6442 (comint-replace-by-expanded-history-before-point, comint-send-input)
6443 (comint-copy-old-input, comint-backward-matching-input)
6444 (comint-goto-process-mark, comint-set-process-mark):
6445 * calendar/calendar.el (calendar-cursor-to-date): Use it.
6446 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
6447
8a61ee22
SM
64482012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
6449
66408d1e
SM
6450 * dabbrev.el (dabbrev--ignore-case-p): New function.
6451 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
6452 Use it.
6453
8a61ee22
SM
6454 * files.el (automount-dir-prefix): Mark as obsolete.
6455
3c74813a
GM
64562012-05-04 Glenn Morris <rgm@gnu.org>
6457
6458 * patcomp.el, play/bruce.el: Move to obsolete/.
6459
0bfcf5c5
PE
64602012-05-04 Paul Eggert <eggert@cs.ucla.edu>
6461
6462 Fix minor Y10k bugs.
6463 * arc-mode.el (archive-unixdate):
6464 * autoinsert.el (auto-insert-alist):
6465 * calc/calc-forms.el (math-this-year):
6466 * emacs-lisp/copyright.el (copyright-current-year)
6467 (copyright-update-year, copyright):
6468 * tar-mode.el (tar-clip-time-string):
6469 * time.el (display-time-update):
6470 Don't assume years have 4 digits.
6471
78f3273a
CY
64722012-05-04 Chong Yidong <cyd@gnu.org>
6473
6474 * dos-w32.el (file-name-buffer-file-type-alist)
6475 (direct-print-region-use-command-dot-com):
6476 * ffap.el (ffap-menu-regexp):
6477 * find-file.el (ff-special-constructs):
6478 * follow.el (follow-debug):
6479 * forms.el (forms--debug):
6480 * iswitchb.el (iswitchb-all-frames):
6481 * ido.el (ido-all-frames):
6482 * emacs-lisp/timer.el (timer-max-repeats):
6483 * mail/feedmail.el (feedmail-mail-send-hook)
6484 (feedmail-mail-send-hook-queued):
6485 * mail/footnote.el (footnote-signature-separator):
6486 * mail/mailabbrev.el (mail-alias-separator-string)
6487 (mail-abbrev-mode-regexp):
6488 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
6489 * progmodes/idlwave.el (idlwave-libinfo-file)
6490 (idlwave-default-completion-case-is-down)
6491 (idlwave-library-routines): Convert defvars to defcustoms.
6492
6493 * mail/rmail.el (rmail-decode-mime-charset):
6494 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
6495 (idlwave-shell-fix-inserted-breaks)
6496 (idlwave-shell-activate-alt-keybindings)
6497 (idlwave-shell-use-breakpoint-glyph):
6498 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
6499
f7ae6719
SM
65002012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
6501
6502 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
6503
47086495
WS
65042012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
6505
6506 * progmodes/verilog-mode.el (font-lock-keywords):
6507 Fix mis-highligting auto. Reported by Craig Barner.
6508 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
fc0c31f8 6509 defines from global name space. Reported by Dan Dever.
47086495
WS
6510 (verilog-auto-reset, verilog-auto-reset-widths)
6511 (verilog-auto-tieoff): Support using unbased numbers for
6512 AUTORESET and AUTOTIEOFF.
6513 (verilog-submit-bug-report): Update variable list.
6514 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
fc0c31f8 6515 parenthesis from not matching. Reported by Michael Rytting.
47086495
WS
6516 (verilog-auto-template-lint): Fix hash error when linting modules
6517 with no used templates.
6518 (verilog-warn, verilog-warn-error)
6519 (verilog-warn-fatal): When non-interactive report multiple
6520 warnings before exiting. Suggested by Brad Dobbie.
6521 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
6522 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
6523 to report unused template errors. Reported by Brad Dobbie.
6524 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
fc0c31f8 6525 nets, bug438. Reported by Vns Blore.
47086495
WS
6526 (verilog-auto-inout-module, verilog-auto-reg)
6527 (verilog-read-decls, verilog-read-sub-decls-sig)
6528 (verilog-signals-edit-wire-reg, verilog-signals-with):
6529 Fix passing of Verilog data types in ANSI input/output ports
fc0c31f8 6530 such as "output logic" into the AUTOs. Special case "wire" and
47086495
WS
6531 "reg" for backwards compatibility presuming Verilog 2001.
6532 (verilog-auto-ascii-enum): Add "auto enum" as alias.
6533 (verilog-preprocess): Fix replication of preprocess output.
6534 Reported by Brad Dobbie.
6535 (verilog-auto-inst-interfaced-ports):
6536 Create verilog-auto-inst-interfaced-ports, bug429.
6537 Reported by Julian Gorfajn.
6538 (verilog-after-save-font-hook)
6539 (verilog-before-save-font-hook): New variable.
6540 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
6541 (verilog-save-font-mods): Wrap disabling fontification, reported
6542 by David Rogoff.
6543 (verilog-do-indent, verilog-pretty-declarations-auto)
6544 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
6545 Reported by Pierre-David Pfister.
6546 (verilog-set-auto-endcomments): Fix endtask auto comments outside
6547 of class declarations, bug292. Reported by Kevin Heilman.
6548 (verilog-read-decls): Fix 'parameter type' not appearing in
6549 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
6550 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
fc0c31f8 6551 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
47086495
WS
6552 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
6553 Reported by David Kravitz.
6554
65552012-05-03 Michael McNamara <mac@mail.brushroad.com>
6556
6557 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
6558 assignment with tests in ifs and for loops.
6559 (verilog-extended-complete-re, verilog-complete-reg): Change so
6560 that DPI inport functions don't look like fuction declarations.
6561 (verilog-pretty-expr): Don't line up assignment
6562 operations to the test and increment in if and for loops
6563 (verilog-extended-complete-re, verilog-complete-reg): Change so
090bd7cb 6564 that DPI inport functions don't look like fuction declarations.
47086495 6565
2e51d4b5
KH
65662012-05-03 Kenichi Handa <handa@m17n.org>
6567
6568 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 6569 decoding, and show a warning message without signaling an error
2e51d4b5
KH
6570 (Bug#11282).
6571
2bd785a2
SM
65722012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
6573
6574 * emacs-lisp/bytecomp.el
6575 (byte-compile-file-form-custom-declare-variable): Compile all elements,
6576 since cconv.el might have introduced :fun-body, internal-make-closure,
6577 and friends for bytecomp to handle (bug#11391).
6578 * custom.el (defcustom): Avoid ((λ ..) ..).
6579
99d27583
SM
65802012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
6581
6582 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
6583
55a71479
JB
65842012-05-02 Juanma Barranquero <lekktu@gmail.com>
6585
6586 * notifications.el (dbus-debug):
6587 * term/linux.el (gpm-mouse-enable):
6588 * term/screen.el (xterm-register-default-colors): Declare.
6589
7b97c764
CY
65902012-05-02 Chong Yidong <cyd@gnu.org>
6591
2bc356d7
CY
6592 * cus-start.el (gc-cons-percentage, exec-suffixes)
6593 (dos-display-scancodes, dos-hyper-key, dos-super-key)
6594 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
6595 (make-cursor-line-fully-visible, void-text-area-pointer)
6596 (font-list-limit): Add customization data.
6597
7b97c764
CY
6598 * allout.el (allout-exposure-change-functions)
6599 (allout-structure-added-functions)
6600 (allout-structure-deleted-functions)
6601 (allout-structure-shifted-functions): Rename abnormal hooks from
6602 *-hook, and convert to defcustoms.
5d3385a0
JB
6603 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
6604 Convert to defcustoms.
7b97c764
CY
6605 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
6606
6607 * allout-widgets.el: Hook callers changed.
6608
90207a15 66092012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
6610
6611 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
6612 the yanked message in preference to the default value of
6613 buffer-file-coding-system.
6614
90207a15 66152012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 6616
5d3385a0
JB
6617 * window.el (display-buffer--action-function-custom-type):
6618 Fix entry.
d9558cad 6619
90207a15 66202012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
6621
6622 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
6623
d80ac57b
GM
66242012-05-01 Glenn Morris <rgm@gnu.org>
6625
976f7668
GM
6626 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
6627
beb83b5a
GM
6628 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
6629
d80ac57b
GM
6630 * cus-edit.el (custom-variable-documentation): Simplify with format.
6631
b593d6a9 66322012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
f1a71c6e 6633 Stefan Monnier <monnier@iro.umontreal.ca>
b593d6a9
AH
6634
6635 * simple.el (suggest-key-bindings, execute-extended-command):
6636 Move from keyboard.c.
6637
782fbf2a
CY
66382012-05-01 Chong Yidong <cyd@gnu.org>
6639
6640 * follow.el: Eliminate advice.
6641 (set-process-filter, process-filter, sit-for): Advice deleted.
6642 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
6643 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
6644 Vars deleted.
782fbf2a
CY
6645 (follow-auto): Use a :set function.
6646 (follow-mode): Rewritten. Don't advise process filters.
6647 (follow-switch-to-current-buffer-all, follow-scroll-up)
6648 (follow-scroll-down): Assume follow-mode is bound.
6649 (follow-comint-scroll-to-bottom)
6650 (follow-align-compilation-windows): New functions.
6651 (follow--window-sorter): New function.
6652 (follow-all-followers): Use it to explicitly sort windows by their
6653 positions; don't make assumptions about next-window order.
6654 (follow-windows-start-end, follow-delete-other-windows-and-split)
6655 (follow-calc-win-start): Doc fix.
6656 (follow-windows-aligned-p, follow-select-if-visible): Don't call
6657 vertical-motion unnecessarily.
6658 (follow-adjust-window): New function.
6659 (follow-post-command-hook): Use it.
6660 (follow-call-set-process-filter, follow-call-process-filter)
6661 (follow-intercept-process-output, follow-tidy-process-filter-alist)
6662 (follow-stop-intercept-process-output, follow-generic-filter):
6663 Functions deleted.
6664 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
6665 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
6666 New functions, replacing advice on scroll-bar-* commands.
87233a14 6667 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
6668
6669 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
6670 (comint-postoutput-scroll-to-bottom): Use it.
6671 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 6672
290af740
GM
66732012-05-01 Glenn Morris <rgm@gnu.org>
6674
6675 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
6676 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
6677 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
6678 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
6679 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
6680 Remove no-byte-compile setting.
6681
6eac8dc9
SM
66822012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
6683
6684 * minibuffer.el (completion-table-with-quoting): Fix compatibility
6685 all-completions code to not return a number in the last cdr.
6686
9cc7819c
LL
66872012-04-30 Leo Liu <sdl.web@gmail.com>
6688
6689 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
6690 read-only error.
6691
c93b886f
CY
66922012-04-29 Chong Yidong <cyd@gnu.org>
6693
6694 * follow.el (follow-calc-win-end): Rewrite to handle partial
6695 screen lines correctly (Bug#8390).
6696 (follow-avoid-tail-recenter): Minor cleanup.
6697
8b6c19f4
SM
66982012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
6699
6700 Avoid the obsolete `assoc' package.
6701 * speedbar.el (speedbar-refresh): Avoid adelete.
6702 (speedbar-file-lists): Simplify and avoid aput.
6703 * man.el (Man--sections, Man--refpages): New vars, replacing
6704 Man-sections-alist and Man-refpages-alist.
6705 (Man-build-section-alist, Man-build-references-alist):
6706 Use them; avoid aput.
6707 (Man--last-section, Man--last-refpage): New vars.
6708 (Man-follow-manual-reference): Use them.
6709 Use the `default' arg of completing-read.
6710 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
6711
c5bb7569
CY
67122012-04-27 Chong Yidong <cyd@gnu.org>
6713
d1d2e2e8
CY
6714 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
6715
15cd8efd
CY
6716 * startup.el (x-apply-session-resources): New function.
6717
6718 * term/ns-win.el (ns-initialize-window-system):
6719 * term/w32-win.el (w32-initialize-window-system):
6720 * term/x-win.el (x-initialize-window-system): Use it to properly
6721 set menu-bar-mode and other vars from X resources, even if the
6722 initial frame is not a window-system frame (Bug#2299).
6723
c5bb7569
CY
6724 * subr.el (read-key): Avoid running filter function when setting
6725 up temporary tool bar entries (Bug#9922).
6726
a8e7d6d7 67272012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
6728
6729 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
6730 (Bug#11344)
6731
a8e7d6d7 67322012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
6733
6734 * select.el (xselect--encode-string): New function, split from
6735 xselect-convert-to-string.
6736 (xselect-convert-to-string): Use it.
6737 (xselect-convert-to-filename, xselect-convert-to-os)
6738 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
6739 returned strings are properly encoded (Bug#11315).
6740
a8e7d6d7 67412012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
6742
6743 * simple.el (delete-active-region): Move to killing custom group.
6744
a8e7d6d7 67452012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
6746
6747 * progmodes/which-func.el (which-func-current): Quote %
6748 characters for mode-line processing.
6749
578c1d4b 67502012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
6751
6752 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
6753 reaching eob (Bug#11286).
6754
a8e7d6d7 67552012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
6756
6757 * progmodes/gdb-mi.el (gdb-control-level): New variable.
6758 (gdb): Make it buffer-local and init to zero.
6759 (gdb-control-commands-regexp): New variable.
6760 (gdb-send): Don't wrap in "-interpreter-exec console" if
6761 gdb-control-level is positive. Increment gdb-control-level
6762 whenever the command matches gdb-control-commands-regexp, and
6763 decrement it each time the command is "end". (Bug#11279)
6764
a8e7d6d7 67652012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
6766
6767 * window.el (adjust-window-trailing-edge, enlarge-window)
6768 (shrink-window, window-resize):
6769 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
6770 windows (Bug#11276).
6771
b3608390
CY
67722012-04-27 Chong Yidong <cyd@gnu.org>
6773
6774 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 6775 fix "missing prefix" warning. All callers changed.
b3608390 6776
797e6e88
SM
67772012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
6778
6779 * emacs-lisp/assoc.el: Move to obsolete/.
6780
e95a67dc
SM
67812012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
6782
657c21e4 6783 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
6784
6785 * term/ns-win.el (ns-define-service):
6786 * progmodes/pascal.el (pascal-goto-defun):
6787 * progmodes/js.el (js--read-tab):
6788 * progmodes/etags.el (tags-lazy-completion-table):
6789 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
6790 * emacs-lisp/ewoc.el (ewoc--wrap):
6791 * emacs-lisp/assoc.el (aput, adelete, amake):
6792 * doc-view.el (doc-view-convert-current-doc):
6793 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
6794
cb3e7ae0
CY
67952012-04-26 Chong Yidong <cyd@gnu.org>
6796
dce04f7f
CY
6797 * image.el (image-type-from-buffer): Only return supported image
6798 type (Bug#9045).
6799
cb3e7ae0
CY
6800 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
6801 value, for symmetry with diff-end-of-hunk.
6802 (diff-split-hunk, diff-find-source-location)
6803 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
6804 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
6805 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
6806 compute the relevant hunk or file properly (Bug#6005).
6807 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
6808
0d42eb3e
SM
68092012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
6810
6811 * vc/vc-mtn.el:
6812 * vc/vc-hg.el:
6813 * vc/vc-git.el:
6814 * vc/vc-dir.el:
6815 * vc/vc-cvs.el:
6816 * vc/vc-bzr.el:
6817 * vc/vc-arch.el:
6818 * vc/vc.el: Replace lexical-let by lexical-binding.
6819 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
6820 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
6821 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
6822
f08ae1c9
CY
68232012-04-26 Chong Yidong <cyd@gnu.org>
6824
8b71081d
CY
6825 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
6826 (diff-mode-shared-map): Bind it to / and [remap undo].
6827
f08ae1c9
CY
6828 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
6829 (ediff-window-setup-function): Use it as the default, to set up
6830 windows based on whether the current frame is graphical (Bug#2138).
6831 (ediff-choose-window-setup-function-automatically): Make obsolete.
6832
6833 * vc/ediff-init.el: Always define ediff-pixel-width/height.
6834
ef24141c
SM
68352012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
6836
cc356a5d
SM
6837 * ffap.el: Remove old code for obsolete package.
6838 (ffap-complete-as-file-p): Remove.
6839
b4ff4f1f
SM
6840 Use completion-table-with-quoting for comint and pcomplete.
6841 * comint.el (comint--unquote&requote-argument)
6842 (comint--unquote-argument, comint--requote-argument): New functions.
6843 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
6844 (comint-quote-filename): Use regexp-opt-charset.
6845 (comint--common-suffix, comint--common-quoted-suffix)
6846 (comint--table-subvert): Remove.
6847 (comint-unquote-function, comint-requote-function): New vars.
6848 (comint--complete-file-name-data): Use them with
6849 completion-table-with-quoting.
6850 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
6851 * pcomplete.el (pcomplete-arg-quote-list)
6852 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
6853 (pcomplete-unquote-argument-function): Default to non-nil.
6854 (pcomplete-unquote-argument): Simplify.
6855 (pcomplete--common-quoted-suffix): Remove.
6856 (pcomplete-requote-argument-function): New var.
6857 (pcomplete--common-suffix): New function.
6858 (pcomplete-completions-at-point): Use completion-table-with-quoting
6859 and completion-table-subvert.
6860
79c4eeb4
SM
6861 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
6862 (minibuffer--double-dollars): Preserve properties.
6863 (completion--sifn-requote): New function.
6864 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
6865
ef24141c
SM
6866 * minibuffer.el: Add support for completion of quoted/escaped data.
6867 (completion-table-with-quoting, completion-table-subvert): New funs.
6868 (completion--twq-try, completion--twq-all): New functions.
6869 (completion--nth-completion): New function.
6870 (completion-try-completion, completion-all-completions): Use it.
6871
784e7d6e
LL
68722012-04-25 Leo Liu <sdl.web@gmail.com>
6873
dd2ac746
SM
6874 * progmodes/python.el (python-pdbtrack-get-source-buffer):
6875 Use compilation-message if available to find real filename.
784e7d6e 6876
07875ee7
CY
68772012-04-25 Chong Yidong <cyd@gnu.org>
6878
6879 * vc/diff-mode.el (diff-setup-whitespace): New function.
6880 (diff-mode): Use it.
6881
6882 * vc/diff.el (diff-sentinel):
6883 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
6884 Whitespace mode variables based on diff style (Bug#8612).
6885
5055880d
LL
68862012-04-25 Leo Liu <sdl.web@gmail.com>
6887
daf75653
LL
6888 * progmodes/python.el (python-send-region): Add suffix .py to the
6889 temp file.
6890
5055880d
LL
6891 * files.el (auto-mode-alist): Use javascript-mode instead.
6892
db9b177b
AH
68932012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
6894
ef24141c 6895 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b 6896
090bd7cb 6897 * net/soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 6898 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 6899 references, see Bug#9.
ef24141c 6900 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 6901 when receiving a fault reply.
ef24141c 6902 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b 6903
090bd7cb 6904 * net/soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 6905 (soap-inspect-simple-type): New function.
db9b177b 6906
090bd7cb 6907 * net/soap-client.el (soap-simple-type): New struct.
db9b177b 6908 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
6909 (soap-decode-basic-type, soap-encode-basic-type):
6910 support unsignedInt and double basic types.
db9b177b 6911 (soap-resolve-references-for-simple-type)
ef24141c
SM
6912 (soap-parse-simple-type, soap-encode-simple-type): New function.
6913 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b 6914
090bd7cb 6915 * net/soap-client.el (soap-default-xsd-types)
ef24141c
SM
6916 (soap-default-soapenc-types): Add integer, byte and anyURI types.
6917 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
6918 the local name of "soapenc:Array".
6919 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
6920 decoding integer, byte and anyURI xsd types.
6921
1fc6097b
CY
69222012-04-25 Chong Yidong <cyd@gnu.org>
6923
6924 * cus-edit.el (custom-buffer-create-internal): Update header text.
6925
afc6df87
EZ
69262012-04-25 Eli Zaretskii <eliz@gnu.org>
6927
6928 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
6929 settings on 'system-type', not on 'window-system'. On MS-Windows,
6930 set interactive-mode on in GDB.
6931
dfbd787f
SM
69322012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
6933
6934 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
6935 (ruby-syntax-propertize-regexp): Remove.
6936 (ruby-syntax-propertize-function): Split regexp into chunks.
6937 Match following code directly.
6938
85222d44
DG
69392012-04-24 Dmitry Gutov <dgutov@yandex.ru>
6940
51a8ea2a
DG
6941 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
6942 (ruby-syntax-propertize-regexp): New function.
6943 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
6944 by a special keyword.
6945
85222d44
DG
6946 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
6947 (ruby-syntax-general-delimiters-goto-beg)
6948 (ruby-syntax-propertize-general-delimiters): New functions.
6949 (ruby-syntax-propertize-function): Use them to handle GDL.
6950 (ruby-font-lock-keywords): Move old handling of GDL...
6951 (ruby-font-lock-syntactic-keywords): .. to here.
6952 (ruby-calculate-indent): Adjust indentation for GDL.
6953
b613912b
MA
69542012-04-24 Michael Albinus <michael.albinus@gmx.de>
6955
b5380639
MA
6956 * notifications.el (top): Remove unneeded declarations.
6957 (notifications-specification-version): Change to "1.2".
e43042fe 6958 (notifications-interface, notifications-notify-method)
b613912b
MA
6959 (notifications-close-notification-method): Fix docstring.
6960 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
6961 (notifications-notify): Add :action-items, :resident and
6962 :transient hints. Change "image_data" to "image-data" and
6963 "image_path" to "image-path".
b613912b
MA
6964 (notifications-get-capabilities): New defun.
6965
257440aa
LL
69662012-04-24 Leo Liu <sdl.web@gmail.com>
6967
6968 * progmodes/python.el: Move hideshow setup to the end.
6969
b1bac16e
MR
69702012-04-24 Martin Rudalics <rudalics@gmx.at>
6971
6972 * window.el (handle-select-window): Clear echo area since this is
6973 no more done by read_char (Bug#11304).
6974
d81bd059
SM
69752012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
6976
6977 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
6978 and `/ M' to filter-derived-mode.
6979 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
6980 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
6981 (ibuffer-mark-by-mode): Use default rather than initial-input.
6982 (ibuffer-filter-by-derived-mode): Autoload and require-match.
6983
c4cf6d91
IA
69842012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
6985
6986 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
6987 (ibuffer-filter-by-derived-mode): New filter.
6988 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
6989
7511ded8
CY
69902012-04-23 Andreas Politz <politza@fh-trier.de>
6991
6992 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
6993
775c916b
CY
69942012-04-23 Chong Yidong <cyd@gnu.org>
6995
6996 * cus-edit.el (customize-apropos, customize-apropos-options):
6997 Disable matching of non-option variables (Bug#11176).
6998 (customize-option, customize-option-other-window)
6999 (customize-changed-options): Doc fix.
7000 (customize-apropos-options, customize-apropos-faces)
7001 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
7002
7003 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 7004 Fix word list splitting (Bug#11132).
46c71e23
CY
7005 (apropos-symbol, apropos-keybinding, apropos-label)
7006 (apropos-property, apropos-function-button)
7007 (apropos-variable-button, apropos-misc-button): New faces.
7008 (apropos-symbol-face, apropos-keybinding-face)
7009 (apropos-label-face, apropos-property-face, apropos-match-face):
7010 Variables removed (Bug#8396).
7011 (apropos-library-button, apropos-format-plist, apropos-print)
7012 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 7013
2df41f9c
MA
70142012-04-23 Michael Albinus <michael.albinus@gmx.de>
7015
7016 * net/xesam.el (xesam-mode-map): Use let-bound map in
7017 initialization. (Bug#11292)
7018
da00640a
AM
70192012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7020
7021 Preserve ispell session localwords when switching back to
7022 original buffer.
7023
090bd7cb
JB
7024 * textmodes/ispell.el (ispell-buffer-session-localwords):
7025 New buffer-local variable to hold buffer session localwords.
ed9265fc 7026 (ispell-kill-ispell): Add option 'clear to delete session
da00640a
AM
7027 localwords.
7028 (ispell-command-loop, ispell-change-dictionary)
7029 (ispell-buffer-local-words): Preserve session localwords when
7030 needed.
7031
090bd7cb
JB
7032 * textmodes/flyspell.el (flyspell-process-localwords)
7033 (flyspell-do-correct): Preserve session localwords when needed.
da00640a 7034
f621ccf5
AM
70352012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7036
090bd7cb
JB
7037 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
7038 using obsolete `translation-table-for-input'.
ef24141c
SM
7039 (ispell-word, ispell-process-line, ispell-complete-word):
7040 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 7041
c2d1019e
CY
70422012-04-22 Chong Yidong <cyd@gnu.org>
7043
7044 * cus-edit.el (custom-variable-menu)
7045 (custom-variable-reset-saved, custom-face-menu)
7046 (custom-face-reset-saved): If there is no saved value, make the
7047 "reset-saved" operation bring back the default (Bug#9509).
7048 (custom-face-state): Properly detect themed faces.
7049
eeddc531
CY
7050 * faces.el (face-spec-set): Stop supporting deprecated form of
7051 third arg.
7052
dcbf5805
MA
70532012-04-22 Michael Albinus <michael.albinus@gmx.de>
7054
7055 Move functions from C to Lisp. Make non-blocking method calls
7056 the default. Implement further D-Bus standard interfaces.
7057
ef24141c
SM
7058 * net/dbus.el (dbus-message-internal): Declare function.
7059 Remove unneeded function declarations.
dcbf5805
MA
7060 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
7061 (dbus-message-type-method-return, dbus-message-type-error)
7062 (dbus-message-type-signal): Declare variables. Remove local
7063 definitions.
7064 (dbus-interface-dbus, dbus-interface-peer)
7065 (dbus-interface-introspectable, dbus-interface-properties)
7066 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
7067 Adapt docstring.
7068 (dbus-interface-objectmanager): New defconst.
7069 (dbus-call-method, dbus-call-method-asynchronously)
7070 (dbus-send-signal, dbus-method-return-internal)
7071 (dbus-method-error-internal, dbus-register-service)
7072 (dbus-register-signal, dbus-register-method): New defuns, moved
7073 from dbusbind.c
7074 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
7075 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
7076 New defuns.
dcbf5805
MA
7077 (dbus-call-method-non-blocking): Make it an obsolete function.
7078 (dbus-unregister-object, dbus-unregister-service)
7079 (dbus-handle-event, dbus-register-property)
7080 (dbus-property-handler): Obey the new structure of
7081 `bus-registered-objects'.
7082 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
7083 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
7084 Use `dbus-call-method'.
7085
cf20dee0
CY
70862012-04-22 Chong Yidong <cyd@gnu.org>
7087
7088 * cus-edit.el (custom-commands, custom-reset-menu)
7089 (Custom-reset-standard): Tweak labels.
7090 (custom-reset-button-menu): Change default to t.
7091 (custom-buffer-create-internal): For the custom-reset-button-menu
7092 case, put the revert button first.
7093 (custom-group-subtitle): New face.
7094 (custom-group-value-create): Align docstring to a specific column.
7095
7096 * wid-edit.el (widget-documentation-link-add): Don't handle
7097 indentation in this function.
7098 (widget-documentation-string-indent-to): New function.
7099 (widget-documentation-string-value-create): Use it.
7100
7101 * autorevert.el (auto-revert):
7102 * epg-config.el (epg):
7103 * ibuffer.el (ibuffer):
7104 * mpc.el (mpc):
7105 * ses.el (ses):
7106 * eshell/eshell.el (eshell):
7107 * net/ange-ftp.el (ange-ftp):
7108 * progmodes/ebnf2ps.el (postscript):
7109 * progmodes/flymake.el (flymake):
7110 * progmodes/prolog.el (prolog):
7111 * progmodes/verilog-mode.el (verilog-mode):
7112 * progmodes/which-func.el (which-func):
7113 * term/xterm.el (xterm):
7114 * textmodes/picture.el (picture):
7115 * textmodes/tildify.el (tildify):
7116 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
7117 customization buffers.
7118
583e23bd
AM
71192012-04-22 Alan Mackenzie <acm@muc.de>
7120
7121 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
7122 Adding a ) can hide the resulting (..) from searches. Fix it.
7123 Bound the backward search to the position of the existing (.
7124
7dd51bf1
JB
71252012-04-21 Juanma Barranquero <lekktu@gmail.com>
7126
7127 * progmodes/verilog-mode.el (verilog-mode): Check whether
7128 which-func-modes is t before adding verilog-mode.
7129 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
7130
d64a438f
LL
71312012-04-21 Leo Liu <sdl.web@gmail.com>
7132
7dd51bf1 7133 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 7134
081e8d65
MV
71352012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
7136
7137 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
7138 filling of the last column of a table (Bug#5635).
7139 (woman-find-next-control-line): New arg, specifying an additional
7140 regexp component for the control line.
7141 (woman2-roff-buffer): Use it.
7142 (woman-break-table): New function.
7143 (woman2-TS): Use it.
7144
71452012-04-21 Chong Yidong <cyd@gnu.org>
7146
7147 * woman.el (woman-set-buffer-display-table, woman-decode-region)
7148 (woman-horizontal-escapes, woman-negative-vertical-space)
7149 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
7150 (WoMan-warn-ignored): Use ?\s instead of ?\ .
7151
ed571ccb
SM
71522012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
7153
7154 * minibuffer.el (completion-file-name-table): Complete user names.
7155
39773899
LL
71562012-04-20 Leo Liu <sdl.web@gmail.com>
7157
7158 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
7159 and pcase-let*.
7160
de6ff46d
CY
71612012-04-20 Chong Yidong <cyd@gnu.org>
7162
7163 * server.el (server-execute): Respect initial-buffer-choice if it
7164 is a string and there are no files to open (Bug#2825).
7165 (server-create-window-system-frame, server-create-tty-frame):
7166 Don't switch buffers here.
2d0e8e61
CY
7167 (server-process-filter): Only try to open a window system frame if
7168 compiled with graphical support (Bug#8314).
de6ff46d 7169
54071013
DN
71702012-04-20 Dan Nicolaescu <dann@gnu.org>
7171
7172 * battery.el (battery-echo-area-format): Display remaining time
7173 for sysfs backend too (Bug#11269).
7174 (battery-linux-sysfs): Fix conditional for the charge.
7175
f30d612a
CY
71762012-04-20 Chong Yidong <cyd@gnu.org>
7177
c07a4c0b 7178 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
7179 (gdb-inferior-io--init-proc): New function.
7180 (gdb-init-1): Use it.
7181 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
7182 responsible for allocating a new pty and hooking it to gdb when
7183 the old pty gets an EIO due to process exit.
7184 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
7185 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
7186 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
7187
2116e93c
EZ
71882012-04-20 Eli Zaretskii <eliz@gnu.org>
7189
7190 * window.el (window-min-size, window-sizable, window-min-delta)
7191 (window-max-delta, window--resizable, window-resizable)
7192 (window-total-size, window-full-height-p, window-full-width-p)
7193 (window-in-direction, window--resize-mini-window, window-resize)
7194 (window--resize-child-windows-normal)
7195 (window--resize-child-windows, window--resize-siblings)
7196 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 7197 (enlarge-window, shrink-window): Doc fixes.
2116e93c 7198
c07a4c0b 71992012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 7200
ef24141c
SM
7201 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
7202 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
7203 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
7204 pty process (Bug#11273).
7205 (gdb-update): New arg to suppress talking to the gdb process.
7206 (gdb-done-or-error): Use it.
7207 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
7208 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
7209 sentinel not being called.
7210
7211 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
7212
d02766ab
CY
7213 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
7214
c07a4c0b 72152012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
7216
7217 * net/network-stream.el (open-network-stream): Doc fix.
7218
c07a4c0b 72192012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
7220
7221 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
7222
c07a4c0b 72232012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
7224
7225 Ensure searching for keywords is case sensitive.
7226
7227 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
7228 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
7229 (c-defun-name, c-mark-function, c-cpp-define-name)
7230 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 7231 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 7232
ef24141c
SM
7233 * progmodes/cc-mode.el (c-font-lock-fontify-region):
7234 Bind case-fold-search to nil.
f0f6bc35 7235
c07a4c0b 72362012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
7237
7238 * mail/sendmail.el (mail-bury): Call return action with the right
7239 Rmail buffer (Bug#11242).
7240
9a864fa2
CY
7241 * server.el (server-process-filter): Handle corner case where both
7242 tty and nowait options are present (Bug#11102).
7243
539aa513
EZ
72442012-04-20 Eli Zaretskii <eliz@gnu.org>
7245
7246 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
7247 (top level): Put into the executable the ident-style '$Id:' tag on
7248 windows-nt as well.
539aa513 7249
cfc7d5da
SM
72502012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
7251
7252 * electric.el (electric-indent-post-self-insert-function): Check that
7253 electric-indent-mode is enabled in current buffer.
7254
5b01685c
JB
72552012-04-19 Juanma Barranquero <lekktu@gmail.com>
7256
7257 * imenu.el (imenu-progress-message): Restore; it is "used" in
7258 erc/erc-imenu.el and net/snmp-mode.el.
7259
4d6769e1
JB
72602012-04-19 Juanma Barranquero <lekktu@gmail.com>
7261
7262 * avoid.el (mouse-avoidance-mode): Mark unused arg.
7263 (mouse-avoidance-nudge-mouse): Remove unused binding.
7264
7265 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
7266
7267 * descr-text.el (describe-char):
7268 * progmodes/python.el (python-describe-symbol):
7269 Don't call `toggle-read-only', set `buffer-read-only'.
7270
7271 * imenu.el (imenu-default-goto-function): Mark unused args.
7272 (imenu-progress-message): Remove obsolete macro; all callers changed.
7273
7274 * subr.el (keymap-canonicalize): Remove unused binding.
7275 (read-passwd): Mark unused arg.
7276
7277 * tutorial.el (tutorial--display-changes): Remove unused binding.
7278 (tutorial--save-tutorial-to): Remove unused variable.
7279
7280 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
7281 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
7282 (package-generate-autoloads, package-menu--generate)
7283 (package-menu--find-upgrades): Remove unused bindings.
7284
7285 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
7286 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
7287 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
7288 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
7289 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
7290 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
7291 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
7292 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
7293 (cua-delete-char-rectangle): Mark unused args.
7294 (cua-align-rectangle): Remove unused binding.
7295
7296 * mail/rmail.el (compilation--message->loc)
7297 (epa--find-coding-system-for-mime-charset): Declare.
7298
7299 * net/dbus.el (dbus-register-service): Declare.
7300 (dbus-name-owner-changed-handler): Remove unused binding.
7301
7302 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
7303 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
7304 (nxml-scan-backward-within): Mark unused arg.
7305 (nxml-dynamic-markup-word): Remove unused binding.
7306
7307 * mouse.el (mouse-menu-major-mode-map):
7308 * emacs-lisp/authors.el (authors-scan-change-log)
7309 (authors-add-to-author-list):
7310 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
7311 * emacs-lisp/smie.el (smie-auto-fill):
7312 * mail/sendmail.el (mail-bury):
7313 * mail/unrmail.el (unrmail):
7314 * net/tls.el (open-tls-stream):
7315 * textmodes/picture.el (picture-mouse-set-point):
7316 Remove unused bindings.
7317
8c8fc5df
MA
73182012-04-19 Michael Albinus <michael.albinus@gmx.de>
7319
7320 * net/tramp.el (tramp-action-password): Let-bind
7321 `enable-recursive-minibuffers' to t.
7322
a77b0ac9
SS
73232012-04-18 Sam Steingold <sds@gnu.org>
7324
7325 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
7326 instead of 'string to accommodate values like [f11].
7327 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
7328 * progmodes/gdb-mi.el: Likewise.
7329
12a106a9
LL
73302012-04-18 Leo Liu <sdl.web@gmail.com>
7331
7332 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
7333 current buffer.
7334 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
7335 LOCAL is nil.
7336
bc6494ef
CY
73372012-04-18 Chong Yidong <cyd@gnu.org>
7338
7339 * simple.el (line-move): Use forward-line if in batch mode
7340 (Bug#11053).
7341
c09c46b2
CS
73422012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
7343
7344 * files.el (after-find-file): Do not try to add a final newline if
7345 the buffer is read-only (Bug#11156).
7346
5f6530ea
RS
73472012-04-17 Richard Stallman <rms@gnu.org>
7348
7349 * mail/rmail.el (rmail-start-mail):
7350 Pass (rmail-mail-return...) for the return-action.
7351 Pass (rmail-yank-current-message...) for the yank-action.
7352 (rmail-yank-current-message): New function.
7353 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
7354 (rmail-reply): Likewise.
7355 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
7356
7357 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 7358 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
7359 buffer, not newbuf.
7360
197b6f3c
JB
73612012-04-17 Juanma Barranquero <lekktu@gmail.com>
7362
7363 * server.el (server-ensure-safe-dir): Simplify.
7364
2311d8e5 73652012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 7366
2311d8e5
GM
7367 * emacs-lisp/smie.el: Provide smarter auto-filling.
7368 (smie-auto-fill): New function.
7369 (smie-setup): Use it.
98fb480e 7370
2311d8e5
GM
7371 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
7372
73732012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
7374
7375 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
7376 (comment-indent): Use it.
7377
2311d8e5 73782012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
7379
7380 * ses.el: The overall change is to add cell renaming, that is
7381 setting fancy names for cell symbols other than name matching
7382 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 7383 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 7384 (ses-create-cell-variable): New defun.
2311d8e5 7385 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
7386 (ses-relocate-formula): Relocate formulas only for cells the
7387 symbols of which are not renamed, i.e. symbols whose names do not
7388 match regexp "\\`[A-Z]+[0-9]+\\'".
7389 (ses-relocate-all): Relocate values only for cells the symbols of
7390 which are not renamed.
7391 (ses-load): Create cells variables as the (ses-cell ...) are read,
7392 in order to check row col consistency with cell symbol name only
7393 for cells that are not renamed.
7394 (ses-replace-name-in-formula): New defun.
7395 (ses-rename-cell): New defun.
4bdf2ad2 7396
fc72b15c
PO
73972012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
7398
7399 * progmodes/perl-mode.el (perl-indent-parens-as-block):
7400 New option (bug#11118).
7401 (perl-calculate-indent): Respect it.
7402
12e10e61
GM
74032012-04-17 Glenn Morris <rgm@gnu.org>
7404
7405 * dired-aux.el (dired-mark-read-string): Doc fix.
7406
30009afd
DA
74072012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
7408
7409 * dired-aux.el (dired-mark-read-string): Offer optional completion.
7410 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
7411
41f03f4d
GM
74122012-04-17 Glenn Morris <rgm@gnu.org>
7413
7414 * mouse.el (mouse-drag-track):
7415 * speedbar.el (speedbar-frame-mode):
7416 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
7417
f45f90f3
LL
74182012-04-16 Leo Liu <sdl.web@gmail.com>
7419
7420 * progmodes/python.el: Trivial cleanup.
7421
94ee8db5
GM
74222012-04-16 Glenn Morris <rgm@gnu.org>
7423
121b8917
GM
7424 * vc/vc.el (vc-string-prefix-p):
7425 * vc/pcvs-util.el (cvs-string-prefix-p):
7426 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
7427 * mpc.el (mpc-string-prefix-p):
7428 Make all of these into obsolete aliases for string-prefix-p.
7429 Update callers.
7430 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
7431
1197ecfa
GM
7432 * textmodes/two-column.el: Move custom options to the start.
7433 (frame-width): Remove compat definition.
7434 (2C-associate-buffer, 2C-dissociate):
7435 Use with-current-buffer rather than save-excursion.
7436 (2C-dissociate): Force a mode-line update.
7437 (2C-autoscroll): Use ignore-errors.
7438
099e7202
GM
7439 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
7440 Autoload trivia.
7441
bf350d6a
GM
7442 * emacs-lisp/cl-extra.el (*random-state*):
7443 Remove unnecessary declaration.
7444
0e829eab
GM
7445 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
7446
e3ad7552
GM
7447 * play/cookie1.el (cookie-snarf):
7448 Give an explicit error if input file cannot be read.
7449
68892d27
GM
7450 * play/yow.el (yow-file): Use expand-file-name rather than concat.
7451
20f0c46d
GM
7452 * progmodes/perl-mode.el (c-macro-expand):
7453 Remove unnecessary autoload (it is in loaddefs.el).
7454
5a0978ce
GM
7455 * textmodes/picture.el (picture-desired-column)
7456 (picture-update-desired-column): Convert comments to doc-strings.
7457 (picture-substitute): Remove function.
7458 (picture-mode-map): Initialize in the defvar.
7459
6b955486
GM
7460 * woman.el: Remove eval-after-load for tar-mode.
7461 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
7462 (woman-tar-extract-file): Autoload it.
7463
94ee8db5
GM
7464 * frame.el (automatic-hscrolling): Make this alias obsolete.
7465
177eca34
AM
74662012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7467
090bd7cb 7468 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 7469 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
7470 (ispell-dictionary-base-alist): Revert to original XEmacs
7471 friendly version for default. [:alpha:] will be added in
090bd7cb 7472 `ispell-set-spellchecker-params' if needed.
177eca34 7473
c505aaeb
CY
74742012-04-16 Chong Yidong <cyd@gnu.org>
7475
b19dd9d1 7476 * image.el (imagemagick--file-regexp): New variable.
c505aaeb
CY
7477 (imagemagick-register-types): Use it.
7478 (imagemagick-types-inhibit): Add :set function. Allow new value
7479 of t to inhibit all types.
7480
7481 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
7482 so we can preload it.
7483
7484 * loadup.el (fboundp): Preload regexp-opt, needed by
7485 imagemagick-register-types.
7486
60efac0f
CY
74872012-04-15 Chong Yidong <cyd@gnu.org>
7488
7489 * frame.el (scrolling): Remove nearly unused customization group.
7490
7491 * scroll-all.el (scroll-all-mode): Move to windows group.
7492
5dd1713e
CY
74932012-04-15 Chong Yidong <cyd@gnu.org>
7494
7495 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
7496
e6fd457e
CY
74972012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
7498
7499 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 7500 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 7501
e153c136
GM
75022012-04-15 Glenn Morris <rgm@gnu.org>
7503
7504 * simple.el (process-file-side-effects): Doc fix.
7505
e6fd457e 75062012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
7507
7508 * international/mule-cmds.el (set-language-environment): Doc fix.
7509
3603c3b1
JB
75102012-04-14 Juanma Barranquero <lekktu@gmail.com>
7511
7512 * server.el (server-auth-key, server-generate-key): Doc fixes.
7513 (server-get-auth-key): Doc fix. Use `string-match-p'.
7514 (server-start): Reflow docstring.
7515
e6de100c
LI
75162012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
7517
7518 * server.el (server-generate-key): `called-interactively-p'
7519 requires a parameter.
7520
29734c21
MN
75212012-04-14 Michal Nazarewicz <mina86@mina86.com>
7522
7523 * server.el (server-auth-key): New variable.
75f1671a 7524 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
7525 (server-start): Use the new variable and functions to allow
7526 setting a permanent server key (bug#9423).
7527
d65c9521
LL
75282012-04-14 Leo Liu <sdl.web@gmail.com>
7529
7530 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
7531
5ae255c7
PE
75322012-04-14 Paul Eggert <eggert@cs.ucla.edu>
7533
7534 Spelling fixes.
7535 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
7536 Emacs uses American spelling.
7537
d5e6342e
JB
75382012-04-14 Juanma Barranquero <lekktu@gmail.com>
7539
7540 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
7541 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
7542 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
7543 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
7544
ab036cd7
SM
75452012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
7546
7547 * progmodes/which-func.el (which-func-modes): Change default.
7548
35dc09a1 75492012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
7550
7551 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
7552 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
7553
35dc09a1 75542012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
7555
7556 * custom.el (custom-theme-set-variables): Doc fix.
7557
35dc09a1 75582012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
7559
7560 * international/mule.el (set-auto-coding-for-load): Doc fix.
7561
35dc09a1 75622012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 7563
35dc09a1
GM
7564 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
7565 imenu work again for Objective C Mode. Correct the *-index values,
7566 these having been disturbed by a previous change in 2011-08.
57f845ee 7567
0de3da9f
AM
7568 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
7569 Correct two search limits.
7570
35dc09a1 75712012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
7572
7573 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
7574
35dc09a1 75752012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
7576
7577 * international/characters.el: Fix sorting.
7578
35dc09a1 75792012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
7580
7581 * international/characters.el: Add more missing Latin case pairs.
7582
35dc09a1 75832012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
7584
7585 * files.el (dir-locals-set-class-variables): Doc fix.
7586
35dc09a1 75872012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 7588
3f1b5bf8
EZ
7589 * international/characters.el: Add set-case-syntax-pair call for
7590 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
7591 counterpart. (Bug#11209)
7592
9f847f41
EZ
7593 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
7594
35dc09a1 75952012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
7596
7597 * calendar/holidays.el (calendar-check-holidays): Doc fix.
7598
35dc09a1 75992012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 7600
35dc09a1
GM
7601 * textmodes/ispell.el (ispell-dictionary-base-alist):
7602 Add data for Hebrew.
e2627d21 7603
35dc09a1 76042012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 7605
35dc09a1
GM
7606 * net/rcirc.el (rcirc-cmd-quit):
7607 Revert 2012-03-18 change (Bug#11192).
5c14e333 7608
35dc09a1 76092012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
7610
7611 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
7612
35dc09a1 76132012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 7614
4517fe3a
SM
7615 * minibuffer.el (completion-in-region-mode-map):
7616 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 7617
b472a594
VD
76182012-04-13 Vivek Dasmohapatra <vivek@etla.org>
7619
7620 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
7621
09b95ce3
MY
76222012-04-13 Masatake YAMATO <yamato@redhat.com>
7623
7624 * minibuffer.el (minibuffer-local-filename-syntax): New variable
7625 to allow `C-M-f' and `C-M-b' to move to the nearest path
7626 separator (bug#9511).
7627
4b63a9ca
LI
76282012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
7629
7630 * avoid.el: Require cl when compiling. And also move the
7631 `provide' to the end.
7632
7b55b8bf
TV
76332012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7634
7635 * avoid.el (mouse-avoidance-banish-position): New variable.
7636 (mouse-avoidance-banish-destination): Use it (bug#10165).
7637
adedaa1f
LL
76382012-04-13 Leo Liu <sdl.web@gmail.com>
7639
7640 * progmodes/which-func.el (which-func-modes): Add objc-mode.
7641
70e74021
KB
76422012-04-13 Ken Brown <kbrown@cornell.edu>
7643
7644 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 7645 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
7646 (browse-url-filename-alist): For the same reason, don't modify
7647 file:// URLs on Cygwin.
7648
e75e89ba
SM
76492012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
7650
7651 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
7652 the region on shift if the binding is already shifted (bug#11221).
7653
82f289a4
GM
76542012-04-12 Glenn Morris <rgm@gnu.org>
7655
7656 * mail/mailpost.el: Move to obsolete/.
7657
d333dc4c
DA
76582012-04-12 Drew Adams <drew.adams@oracle.com>
7659
7660 * imenu.el (imenu--generic-function): Ignore invisible definitions
7661 (bug#10123).
7662
0d15b5ba
VD
76632012-04-12 Vivek Dasmohapatra <vivek@etla.org>
7664
7665 * hexl.el (hexl-bits): New variable.
7666 (hexl-options): Mention the variable in the doc string.
75f1671a 7667 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 7668 (hexl-mode): Mention the new variable.
75f1671a
JB
7669 (hexl-mode, hexl-current-address, hexl-current-address):
7670 Use the displen.
0d15b5ba
VD
7671 (hexl-ascii-start-column): New function.
7672 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
7673 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
7674
64a440db
AM
76752012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7676
7677 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
7678 '("-i" ENCODING), in 2 separate command-line arguments, to specify
7679 the encoding, as expected by hunspell.
7680
6decb6c2
SM
76812012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
7682
7683 * battery.el (battery--linux-sysfs-regexp): New const.
7684 (battery-status-function): Use it. Remove yeeloong special case.
7685 (battery-yeeloong-sysfs): Remove.
7686 (battery-echo-area-format): Remove yeeloong special case.
7687
088be6fb
SM
76882012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
7689
6622e416
SM
7690 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
7691 Reported by Noah Friedman.
7692
088be6fb
SM
7693 * subr.el (read-passwd): Use read-string.
7694
b49f886e
LMI
76952012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7696
7697 * vcursor.el (vcursor-move): Increase the priority of the overlay
7698 (bug#9663).
7699
a63067fc
DD
77002012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
7701
7702 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
7703 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
7704
ac3cf14a
WS
77052012-04-11 William Stevenson <yhvh2000@gmail.com>
7706
7707 * textmodes/artist.el (artist-mode): Convert artist-mode to use
7708 define-minor-mode (bug#10760).
7709
c4fc691b 77102012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 7711
4d6769e1 7712 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
7713 that directories matching `grep-find-ignored-files' won't be
7714 pruned (bug#10351).
7715
af23e2e5
CY
77162012-04-11 Chong Yidong <cyd@gnu.org>
7717
7718 * startup.el (command-line): Remove support for long-obsolete
7719 variable font-lock-face-attributes.
7720
ab7ce8c1
GM
77212012-04-11 Glenn Morris <rgm@gnu.org>
7722
7723 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
7724
de8c03dc
SM
77252012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
7726
7727 * window.el (window--state-get-1): Obey window-point-insertion-type.
7728
050cc68b
LB
77292012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
7730
7731 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
7732 to previous function when point is on the first character of a
75f1671a 7733 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 7734
a38c310c
GM
77352012-04-11 Glenn Morris <rgm@gnu.org>
7736
effed0c2
GM
7737 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
7738 not just file-errors.
7739
a38c310c
GM
7740 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
7741 (vc-bzr-sha1): Use internal sha1.
7742
0221e323
SM
77432012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
7744
7745 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
7746
43956923
SG
77472012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
7748
7749 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
7750 that start in the middle of the line (bug#10496).
7751
6a8c9eaf
DN
77522012-04-10 Dan Nicolaescu <dann@gnu.org>
7753
7754 * battery.el (battery-linux-proc-acpi): Only one battery is
7755 discharged at a time, but that seems to confuse battery.el when
7756 computing `rate-type' for the battery not being discharged
7757 (bug#10332).
7758
1930bf5d
SM
77592012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
7760
2a718f6f
SM
7761 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
7762
599430d0
SM
7763 * international/quail.el: Use dolist and simplify.
7764 (quail-define-package, quail-update-keyboard-layout)
7765 (quail-define-rules): Use dolist.
7766 (quail-insert-kbd-layout, quail-get-translation): CSE.
7767
a2754b6c
SM
7768 * tmm.el: Use dolist, remove left over hook.
7769 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
7770 Use dolist.
7771 (calendar-load-hook): Don't mess with it.
7772
1930bf5d
SM
7773 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
7774 Use derived-mode-p. Run the diff asynchronously.
7775
9f67961c
LMI
77762012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
7777
7778 * obsolete/mouse-sel.el: Add an Obsolete-since header.
7779
2a8ce227
JB
77802012-04-10 Juanma Barranquero <lekktu@gmail.com>
7781
7782 * misc.el: Display absolute path of loaded DLLs (bug#10424).
7783 (list-dynamic-libraries--loaded): New function.
7784 (list-dynamic-libraries--refresh): Use it.
7785
8f33b5f8
NW
77862012-04-10 Nathan Weizenbaum <nweiz@google.com>
7787
1930bf5d
SM
7788 * progmodes/python.el (python-fill-paragraph):
7789 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
7790 disabled (bug#7018).
7791
b12f0439
L
77922012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
7793
1930bf5d 7794 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
7795 DOS/MS Windows for the Baltic languages. There are still plenty
7796 of texts written in this encoding/codepage (bug#6519).
b12f0439 7797
57c3bd01
GM
77982012-04-10 Glenn Morris <rgm@gnu.org>
7799
7800 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
7801 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
7802
6c3eab30
FA
78032012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
7804
1930bf5d 7805 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
7806 next-line "n" and previous-line "p" in order to make recentf more
7807 consistent with ibuffer, dired or org-mode (bug#9387).
7808
24d78a88
LMI
78092012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
7810
bc72b5d9
LMI
7811 * image.el (put-image): Return the overlay created instead of the
7812 optional input string (bug#7834). Note that this may break code
7813 that is (for some reason or other) depending on `put-image'
7814 returning the string.
7815
bd2dba5a
LMI
7816 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
7817
74beb59f
LMI
7818 * simple.el (zap-to-char): Allow zapping using input methods
7819 (bug#1580).
7820
24d78a88
LMI
7821 * textmodes/fill.el (fill-region): Leave point and mark where they
7822 were before filling (bug#5399).
7823
263f20cd
GM
78242012-04-09 Glenn Morris <rgm@gnu.org>
7825
7826 * version.el (emacs-bzr-get-version):
7827 Handle lightweight checkouts of local branches.
7828
58d1f797
AS
78292012-04-09 Andreas Schwab <schwab@linux-m68k.org>
7830
263f20cd 7831 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 7832
b4d3bc10
CY
78332012-04-09 Chong Yidong <cyd@gnu.org>
7834
7835 * custom.el (custom-variable-p): Return nil for non-symbol
7836 arguments instead of signaling an error.
7837 (user-variable-p): Obsolete alias for custom-variable-p.
7838
7839 * apropos.el (apropos-variable):
7840 * files-x.el (read-file-local-variable):
7841 * simple.el (set-variable):
7842 * woman.el (woman-mini-help):
7843 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
7844
fd06db5d
GM
78452012-04-09 Glenn Morris <rgm@gnu.org>
7846
e5fcdb5e
GM
7847 * startup.el (normal-top-level): Don't look for leim-list.el
7848 in places where it will not be found. (Bug#910)
7849
fd06db5d
GM
7850 * international/mule-cmds.el (set-default-coding-systems):
7851 * files.el (normal-mode):
7852 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
7853 This function was removed with ucs-tables.el in 2008.
7854
b39bb7e1
EZ
78552012-04-08 Eli Zaretskii <eliz@gnu.org>
7856
7857 * textmodes/ispell.el (ispell-check-version): For hunspell, set
7858 ispell-encoding8-command to "-i", without a trailing space.
7859 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
7860 separate command-line arguments, to specify the encoding, since
7861 that's how hunspell expects it.
7862
5c5b8e23
GM
78632012-04-08 Glenn Morris <rgm@gnu.org>
7864
7865 * loadup.el: Load bindings before cus-start.
7866 This reduces somewhat the number of "rogue" settings in emacs -Q.
7867
a1ed8b05
GM
78682012-04-07 Glenn Morris <rgm@gnu.org>
7869
7870 * version.el (emacs-bzr-get-version): New function.
dfae128a 7871 (emacs-bzr-version): New variable.
a1ed8b05
GM
7872 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
7873 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
7874
b142f158
EZ
78752012-04-07 Eli Zaretskii <eliz@gnu.org>
7876
dfae128a
GM
7877 * international/uni-bidi.el, international/uni-category.el:
7878 * international/uni-combining.el, international/uni-decimal.el:
7879 * international/uni-decomposition.el, international/uni-digit.el:
7880 * international/uni-lowercase.el, international/uni-mirrored.el:
7881 * international/uni-name.el, international/uni-numeric.el:
7882 * international/uni-titlecase.el, international/uni-uppercase.el:
7883 Update for Unicode 6.1.
b142f158 7884
9078ead6
EZ
78852012-04-07 Eli Zaretskii <eliz@gnu.org>
7886
7887 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
7888
f23d2c7d
LMI
78892012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
7890
7891 * window.el (shrink-window): Mention the `window-min-height'
7892 variable in the doc string.
7893
0a0a3573
BG
78942012-04-05 Bastien Guerry <bzg@altern.org>
7895
7896 * color.el (color-lighten-name): Fix typo.
7897
e5248ac9
SM
78982012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
7899
7900 * server.el (server--on-display-p): New function.
7901 (server--on-display-p): Use it.
7902
b4243e22
GV
79032012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
7904
7905 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
7906 (bug#11145).
7907
305d9f44
SM
79082012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
7909
7910 * comint.el (comint--common-quoted-suffix): Check string boundary
7911 before comparing (bug#11158).
7912 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
7913
3d439cd1
CY
79142012-04-04 Chong Yidong <cyd@gnu.org>
7915
321cc491
CY
7916 * minibuffer.el (completion-extra-properties): Doc fix.
7917
3d439cd1
CY
7918 * subr.el (delayed-warnings-hook): Doc fix.
7919
2d562c0f
DU
79202012-04-04 Daiki Ueno <ueno@unixuser.org>
7921
7922 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
7923 selection (Bug#11159).
7924 (epa-insert-keys): Inform that the default public key will be
7925 exported if no key is selected.
7926
4443f204
RS
79272012-04-04 Richard Stallman <rms@gnu.org>
7928
7929 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
7930
529c06b6
CY
79312012-04-03 Chong Yidong <cyd@gnu.org>
7932
7933 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
7934 mail-insert-file, not its obsolete alias mail-attach-file.
7935
66b907dc
MA
79362012-04-03 Michael Albinus <michael.albinus@gmx.de>
7937
7938 * notifications.el (notifications-notify): Fix docstring.
7939
c0ea195d
GM
79402012-04-02 Glenn Morris <rgm@gnu.org>
7941
7942 * emacs-lisp/authors.el (authors-aliases): Another addition.
7943
5ca64e00
MA
79442012-04-02 Michael Albinus <michael.albinus@gmx.de>
7945
7946 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
7947 `tramp-compat-call-process' instead of `tramp-local-call-process'.
7948 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
7949
42ee526b
CY
79502012-04-01 Chong Yidong <cyd@gnu.org>
7951
7952 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
7953 Handle root directory properly.
7954 (copy-directory): Caller changed.
7955
7956 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
7957 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
7958
0b021094
GM
79592012-03-31 Glenn Morris <rgm@gnu.org>
7960
40f86458
GM
7961 * term/xterm.el (xterm-extra-capabilities): Doc fix.
7962
7019c177
GM
7963 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
7964
a1daddd6
GM
7965 * calendar/calendar.el (calendar-window-list)
7966 (calendar-hide-window): Restore. (Bug#11140)
7967 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
7968
0b021094
GM
7969 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
7970
40311efc
TV
79712012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7972
7973 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
7974 Check if file is a symlink (Bug#10489).
7975
7976 * files.el (copy-directory): Likewise.
7977
5319014e
CY
79782012-03-30 Chong Yidong <cyd@gnu.org>
7979
7980 * image.el (imagemagick-types-inhibit)
7981 (imagemagick-register-types): Doc fix.
7982
935d1290
AM
79832012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7984
090bd7cb 7985 * textmodes/ispell.el (ispell-get-extended-character-mode):
ef24141c 7986 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 7987 and treats ~word as ordinary words in pipe mode.
935d1290 7988
61c6e8fd
GM
79892012-03-30 Glenn Morris <rgm@gnu.org>
7990
7991 * tutorial.el (help-with-tutorial): Ensure local variables don't
7992 happen to make the buffer read-only. (Bug#11127)
7993
81fdff00
SM
79942012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
7995
7996 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
7997 (perl-calculate-indent): Return `noindent' in strings.
7998
6e7a6ec0
SS
79992012-03-28 Sam Steingold <sds@gnu.org>
8000
8001 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
8002 instead of the broken adhockery which does not prevent calendar
8003 buffers from being displayed at random after exit.
8004 (calendar-window-list, calendar-hide-window): Remove the broken
8005 adhockery.
8006
fee88ca0
GM
80072012-03-28 Glenn Morris <rgm@gnu.org>
8008
8009 * replace.el (query-replace-map): Doc fix.
8010
38de3354
AS
80112012-03-28 Andreas Schwab <schwab@linux-m68k.org>
8012
8013 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
8014 contents. (Bug#11109)
8015
b973155e
SM
80162012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
8017
8018 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
8019 (bug#11077).
8020 (avl-tree--check, avl-tree--check-node): New funs.
8021
dcb6e7b3
MR
80222012-03-27 Martin Rudalics <rudalics@gmx.at>
8023
8024 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
8025 (switch-to-prev-buffer, switch-to-next-buffer):
8026 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
8027 showing a buffer already is done on the same frame.
8028
b4fa35fa
GM
80292012-03-27 Glenn Morris <rgm@gnu.org>
8030
8031 * startup.el (mail-host-address): Doc fix.
8032
f9210e18
SM
80332012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
8034
8035 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
8036 than 197 variables.
8037
c0bf7753
AF
80382012-03-26 Ami Fischman <ami@fischman.org>
8039
8040 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
8041
33da7b16
GM
80422012-03-26 Glenn Morris <rgm@gnu.org>
8043
02243d9d
GM
8044 * files.el (save-buffers-kill-emacs): Doc fix.
8045
33da7b16
GM
8046 * startup.el (normal-top-level, command-line, command-line-1):
8047 Give them doc strings.
8048
e5a69fd0
EZ
80492012-03-25 Eli Zaretskii <eliz@gnu.org>
8050
8051 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 8052 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 8053
9a69676a
CY
80542012-03-25 Chong Yidong <cyd@gnu.org>
8055
4125cb8b
CY
8056 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
8057 theme if it was previously enabled before (Bug#11031).
8058
dd470960
CY
8059 * cus-theme.el (custom-theme-write-faces): Retrieve current face
8060 spec with custom-face-get-current-spec if its :shown-value is not
8061 determined yet (Bug#9337).
4125cb8b 8062 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 8063
9a69676a
CY
8064 * button.el (button-at): Minor addition to docstring.
8065
6e7e90fa
SL
80662012-03-24 Simon Leinen <simon.leinen@gmail.com>
8067
8068 * vc/vc.el (vc-merge): Fix a prompt.
8069
f06e2758
CY
80702012-03-24 Chong Yidong <cyd@gnu.org>
8071
8072 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
8073 point (Bug#9623).
8074
6e7e90fa
SL
8075 * button.el (button-at): Minor addition to docstring.
8076
b9d0879b
SM
80772012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
8078
8079 * newcomment.el (comment-choose-indent): No space after BOL.
8080
e71cebb3
SS
80812012-03-22 Sam Steingold <sds@gnu.org>
8082
8083 * window.el (switch-to-prev-buffer): Revert last patch because the
8084 bug turned out to be an advertised feature (Elisp manual 28.14).
8085
335aff35
GM
80862012-03-22 Glenn Morris <rgm@gnu.org>
8087
8088 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
8089 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
8090
c676576a
LMI
80912012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
8092
8093 * net/network-stream.el (network-stream-open-starttls): Make error
8094 message under Windows be less misleading.
8095
126f3d39
LW
80962012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
8097
8098 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
8099 understands (bug#9942).
8100
64fee311
CY
81012012-03-22 Chong Yidong <cyd@gnu.org>
8102
8103 * simple.el (end-of-visible-line): Handle return value of
8104 next-single-property-change properly (Bug#9371).
8105
a640d29a
KH
81062012-03-22 Kenichi Handa <handa@m17n.org>
8107
8108 * international/quail.el (quail-insert-kbd-layout): Fix previous
8109 change. To avoid unwanted bidi reordering, use
8110 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
8111
39675016
DG
81122012-03-21 Dmitry Gutov <dgutov@yandex.ru>
8113
8114 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
8115 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
8116 (ruby-beginning-of-indent): Be more careful with the difference
8117 between word-boundary and symbol boundary.
8118 (ruby-mode-syntax-table): Make : a symbol constituent.
8119
0a6934fc 81202012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 8121
3d008e4f
SM
8122 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
8123
0a6934fc
SM
81242012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
8125
af67c9d7
SM
8126 * progmodes/etags.el (tags-completion-at-point-function):
8127 Improve last fix.
8128
1acad97c
SM
8129 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
8130
e298b5da
SS
81312012-03-21 Sam Steingold <sds@gnu.org>
8132
8133 * progmodes/etags.el (tags-completion-at-point-function):
8134 Avoid the error when point is inside the pattern.
8135
91d82a70
JY
81362012-03-21 John Yates <john@yates-sheets.org> (tiny change)
8137
8138 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
8139 line (Bug#10855).
8140
69188b79
CY
81412012-03-21 Drew Adams <drew.adams@oracle.com>
8142
8143 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
8144
99fc91fe
AK
81452012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
8146
8147 * ido.el (ido-set-current-directory, ido-read-internal)
8148 (ido-choose-completion-string, ido-completion-help): Handle nil
8149 value of ido-completion-buffer (Bug#11008).
8150
087bbb4c
SS
81512012-03-21 Sam Steingold <sds@gnu.org>
8152
8153 * window.el (switch-to-prev-buffer): Do not switch to a visible
8154 window previous buffer, just like with the frame previous buffers.
8155
fb5b8aca
CY
81562012-03-21 Chong Yidong <cyd@gnu.org>
8157
8158 * faces.el (make-face, make-empty-face, copy-face):
8159 * face-remap.el (face-remap-add-relative, face-remap-set-base):
8160 Doc fixes.
8161
dc9924b8
SM
81622012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
8163
8164 * wid-edit.el (widget-complete-field): Remove (bug#11051).
8165 (widget-complete): Remove broken use of it.
8166
f0bcceb9
CY
81672012-03-20 Chong Yidong <cyd@gnu.org>
8168
dc9924b8
SM
8169 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
8170 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
8171 characters.
8172
ee52ebf3
TH
81732012-03-20 Tassilo Horn <tassilo@member.fsf.org>
8174
8175 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
8176 to draw rectangles, not squares. (Regression introduced by revno
8177 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
8178
4c5779ab
CY
81792012-03-18 Chong Yidong <cyd@gnu.org>
8180
8181 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
8182 it is not yet defined (for temacs).
8183
15360934
LL
81842012-03-18 Leo Liu <sdl.web@gmail.com>
8185
dc9924b8 8186 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 8187
d9a8eb66
EZ
81882012-03-17 Eli Zaretskii <eliz@gnu.org>
8189
8190 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
8191 (ispell-choices-win-default-height, ispell-silently-savep)
8192 (ispell-dictionary-alist, ispell-encoding8-command)
8193 (ispell-check-version, ispell-aspell-find-dictionary)
8194 (ispell-valid-dictionary-list, ispell-words-keyword)
8195 (ispell-get-word, ispell-internal-change-dictionary)
8196 (ispell-region, ispell-skip-region-list)
8197 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
8198 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
8199 (ispell-message-text-end, ispell-message)
8200 (ispell-buffer-local-parsing): Doc fix.
8201
f02ff80d
J
82022012-03-13 Jambunathan K <kjambunathan@gmail.com>
8203
8204 * htmlfontify.el: Add support for code block fontification for ODT
8205 export (Bug #9914).
8206 (hfy-optimisations): Define new option
8207 `body-text-only'
8208 (hfy-fontify-buffer): Honor above setting.
8209 (hfy-begin-span, hfy-end-span): New routines factored out form
8210 `hfy-fontify-buffer'.
8211 (hfy-begin-span-handler, hfy-end-span-handler): New variables
8212 that permit insertion of custom tags.
8213 (hfy-fontify-buffer): Use above handlers.
8214 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
8215 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 8216 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 8217 over multiple runs. This is made possible by having the caller let
f02ff80d
J
8218 bind a special variable `hfy-user-sheet-assoc'.
8219 (htmlfontify-string): New defun.
8220 (hfy-compile-face-map): Make sure that the last char in the
8221 buffer is correctly fontified.
8222 (hfy-face-resolve-face): Whitespace only change.
8223
9ac7a13f
EZ
82242012-03-17 Eli Zaretskii <eliz@gnu.org>
8225
8226 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
8227 message more clear.
8228
e2b5bdd7
LL
82292012-03-16 Leo Liu <sdl.web@gmail.com>
8230
8231 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
8232
2e492df3
AM
82332012-03-16 Alan Mackenzie <acm@muc.de>
8234
8235 Further optimise the handling of large macros.
8236
8237 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
8238 limit to a call of `c-literal-limits'.
8239 (c-determine-+ve-limit): New function.
dc9924b8
SM
8240 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
8241 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
8242 In CASE 5B, restrict a search limit to 500.
8243 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
8244
8245 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
8246 Restrict macro bounds to +-500 from after-change's BEG END.
8247
50e94f0c
LL
82482012-03-16 Leo Liu <sdl.web@gmail.com>
8249
8250 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
8251
6f09f6ed
AH
82522012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
8253
8254 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 8255 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 8256
c7e73d51
GM
82572012-03-16 Glenn Morris <rgm@gnu.org>
8258
da986230
GM
8259 * view.el (view-buffer, view-buffer-other-window)
8260 (view-buffer-other-frame): Doc fixes re special mode-class.
8261
0835f01e
GM
8262 * subr.el (eval-after-load): If named feature is provided not from
8263 a file, run after-load forms. (Bug#10946)
8264
c7e73d51
GM
8265 * calendar/calendar.el (calendar-insert-at-column):
8266 Handle non-unit-width characters a bit better. (Bug#10978)
8267
3f2eafd1
CY
82682012-03-15 Chong Yidong <cyd@gnu.org>
8269
8270 * emacs-lisp/ring.el (ring-extend): New function.
8271 (ring-insert+extend): Extend the ring correctly (Bug#11019).
8272
8273 * comint.el (comint-read-input-ring)
8274 (comint-add-to-input-history): Grow comint-input-ring lazily.
8275
103af3fe
SM
82762012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
8277
663b1677
SM
8278 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
8279 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
8280
103af3fe
SM
8281 * imenu.el: Fix multiple inheritance breakage (bug#9199).
8282 (imenu-add-to-menubar): Don't add a redundant index.
8283 (imenu-update-menubar): Handle a dynamically composed keymap.
8284
899cb7cb
KY
82852012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
8286
8287 * mail/sendmail.el (mail-encode-header):
8288 Bind rfc2047-encode-encoded-words to nil.
8289
3809f91d
GM
82902012-03-13 Glenn Morris <rgm@gnu.org>
8291
8292 * calendar/calendar.el (calendar-string-spread):
8293 Handle non-unit-width characters a bit better. (Bug#10978)
8294
9e345a01
LL
82952012-03-13 Leo Liu <sdl.web@gmail.com>
8296
8297 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
8298 directory and file as argument (Bug#10822).
8299
4a07df36
KS
83002012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
8301
8302 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
8303 For dynamically generated code, follow $PC.
8304 (gdb-disassembly-handler-custom): Handle no function name case.
8305
4aaa9356
TL
83062012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
8307
8308 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
8309 * emulation/ws-mode.el (ws-query-replace):
8310 * sort.el (sort-regexp-fields):
8311 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
8312
225979da
SM
83132012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8314
8315 * dabbrev.el: Fix cycle completion order (bug#10963).
8316 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
8317 (dabbrev-completion): Don't use an obarray; provide
8318 a cycle-sort-function.
8319
e2f1fdab
LL
83202012-03-12 Leo Liu <sdl.web@gmail.com>
8321
dc9924b8 8322 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
8323 (kill-do-not-save-duplicates): Doc fix.
8324
b19490ed
SM
83252012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8326
8327 * dabbrev.el: Fix cycle completion (bug#10963).
8328 Use lexical binding and wrap to 80 columns.
8329 (dabbrev-completion): Delay computing the list of completions.
8330
4b05d722
KH
83312012-03-12 Kenichi Handa <handa@m17n.org>
8332
8333 * international/quail.el (quail-insert-kbd-layout): Surround each
8334 row by LRO and PDF instead of inserting many LRMs. Pad the left
8335 and right of each non-spacing marks. Insert invisible space
8336 between lower and upper characters to prevent composition.
8337
dbbc2e69
SM
83382012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8339
8340 * minibuffer.el (minibuffer-complete): Don't get confused when the
8341 function is run twice via different commands (bug#10958).
8342 (complete-with-action): Fix docstring.
8343
292112ed
CY
83442012-03-12 Chong Yidong <cyd@gnu.org>
8345
5d1ac394
CY
8346 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
8347 (nxml-completion-at-point-function): New function.
8348 (nxml-mode): Use it.
8349 (nxml-bind-meta-tab-to-complete-flag): Default to t.
8350
292112ed
CY
8351 * emacs-lisp/package.el (package-unpack, package-unpack-single):
8352 Load generated autoloads file before byte compiling (Bug#10970).
8353 (package--make-autoloads-and-compile): New helper fun.
8354
4098f8f7
CS
83552012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
8356
8357 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
8358
8f754691
MA
83592012-03-11 Michael Albinus <michael.albinus@gmx.de>
8360
8361 * autorevert.el (auto-revert-handler): Ensure, that
8362 file-readable-p is applied only for local files or in
8363 auto-revert-tail-mode.
8364
e29ab36b
AS
83652012-03-11 Andreas Schwab <schwab@linux-m68k.org>
8366
dbbc2e69
SM
8367 * server.el (server-eval-at): Handle non-tcp connections.
8368 Decode result string.
ad0bf5b6 8369
e29ab36b
AS
8370 * server.el (server-msg-size): New constant.
8371 (server-reply-print): New function.
8372 (server-eval-and-print): Use it.
8373 (server-eval-at): Use server-quote-arg and server-unquote-arg.
8374 Handle -print-nonl.
8375
de5939ba
CS
83762012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
8377
8378 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
8379 (Bug#10987).
8380
0c93eabf
CY
83812012-03-11 Chong Yidong <cyd@gnu.org>
8382
397a688f
CY
8383 * simple.el (goto-line): Doc fix (Bug#9938).
8384
2cc775f9
CY
8385 * subr.el (save-window-excursion): Doc fix (Bug#9979).
8386
0c93eabf
CY
8387 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
8388 when finished (Bug#10963).
8389
c491fa41
MR
83902012-03-11 Martin Rudalics <rudalics@gmx.at>
8391
8392 * window.el (split-window-below): Fix bug in case where
8393 split-window-keep-point is nil (Bug#10971).
8394
300e8fa5
JL
83952012-03-11 Juri Linkov <juri@jurta.org>
8396
8397 * replace.el (replace-highlight): Set isearch-word to nil
8398 unconditionally. (Bug#10887)
8399
dbf6c5a1
EZ
84002012-03-10 Eli Zaretskii <eliz@gnu.org>
8401
8402 * net/mairix.el (mairix-replace-invalid-chars): Rename from
8403 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 8404 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
8405 (mairix-widget-create-query): Add usage information about mairix
8406 search forms: negating words, searching for substrings, etc.
8407
b9e501de
JP
84082012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
8409
8410 * international/fontset.el (font-encoding-alist): Add an entry for
8411 ksx1001 (Bug#5667).
8412
92795c91
RS
84132012-03-10 Richard Stallman <rms@gnu.org>
8414
1694e6c1
RS
8415 * mail/sendmail.el (mail-encode-header):
8416 Set rfc2047-encode-encoded-words.
8417
607e8555
RS
8418 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
8419
de3bc99a
RS
8420 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
8421 view buffer means not swapped.
8422 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
8423 (rmail-write-region-annotate): Error if real text has disappeared.
8424
92795c91
RS
8425 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
8426
699bd04e
CY
84272012-03-10 Chong Yidong <cyd@gnu.org>
8428
8429 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
8430 * emulation/cua-base.el (cua--init-keymaps):
8431 Add delete-forward-char to remappings (Bug#9666).
699bd04e 8432
570a1714
MR
84332012-03-10 Martin Rudalics <rudalics@gmx.at>
8434
dbbc2e69
SM
8435 * speedbar.el (speedbar-unhighlight-one-tag-line):
8436 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 8437
82dcf4e4
CY
84382012-03-10 Chong Yidong <cyd@gnu.org>
8439
7a2c7ca7
CY
8440 * minibuffer.el (completion-in-region, completion-help-at-point):
8441 Give the completion field overlay a high priority (Bug#6830).
8442
82dcf4e4
CY
8443 * dired.el (dired-goto-file): Recognize absolute file name
8444 listings (Bug#7126).
8445 (dired-goto-file-1): New helper function.
8446 (dired-toggle-read-only): Inhibit warnings.
8447
052e28ac
MA
84482012-03-09 Michael Albinus <michael.albinus@gmx.de>
8449
75f1671a 8450 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
8451 there are no properties.
8452
95d5e396
LL
84532012-03-09 Leo Liu <sdl.web@gmail.com>
8454
8455 * savehist.el (savehist-printable): Stricter check for string
8456 value (Bug#10937).
8457
3f018d6d
EZ
84582012-03-09 Eli Zaretskii <eliz@gnu.org>
8459
dbbc2e69
SM
8460 * mail/smtpmail.el (smtpmail-send-it):
8461 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
8462 valid mbox format.
8463
f7fd3d79
GM
84642012-03-09 Glenn Morris <rgm@gnu.org>
8465
8466 * files.el (dir-locals-find-file):
8467 Don't check result is regular, readable.
8468 (dir-locals-read-from-file): Demote errors.
8469
6ff6e72f
EZ
84702012-03-08 Eli Zaretskii <eliz@gnu.org>
8471
dbbc2e69
SM
8472 * international/quail.el (quail-insert-kbd-layout):
8473 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
8474 layout cell, to prevent their reordering by bidi display engine.
8475 For details, see the discussion in
8476 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
8477
9cec7834
AM
84782012-03-08 Alan Mackenzie <acm@muc.de>
8479
8480 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
8481 the starting position; make it extend the marked region when
8482 invoked repeatedly - all under appropriate circumstances.
8483 Fixes bugs #5525, #10906.
8484
9a40b8d4
GM
84852012-03-08 Glenn Morris <rgm@gnu.org>
8486
8487 * files.el (locate-dominating-file, dir-locals-find-file):
8488 Undo 2012-03-06 change.
8489
7a08ed35
EZ
84902012-03-07 Eli Zaretskii <eliz@gnu.org>
8491
dbbc2e69
SM
8492 * international/quail.el (quail-help):
8493 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
8494 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
8495 for the reason.
8496
5aca4f71 84972012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
8498
8499 Avoid superfluous registering of signals. (Bug#10807)
8500
8501 * notifications.el (notifications-on-action-object)
8502 (notifications-on-close-object): New defvars.
8503 (notifications-on-action-signal, notifications-on-closed-signal):
8504 Unregister the signal if not needed any longer.
8505 (notifications-notify): Register `notifications-action-signal' or
8506 `notifications-closed-signal', if :on-action or :on-close has been
8507 passed as argument.
8508
78e8b10a
CY
85092012-03-07 Chong Yidong <cyd@gnu.org>
8510
8511 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
8512 non-X platforms.
8513
69481eb8
GM
85142012-03-06 Glenn Morris <rgm@gnu.org>
8515
8516 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
8517 (x-disown-selection-internal, x-get-selection-internal):
8518 Doc fix (add arglist signatures). (Bug#10783)
8519
133b8e11
KS
85202012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
8521
8522 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
8523 Handle breakpoints with no "type".
8524
99a83064
GM
85252012-03-06 Glenn Morris <rgm@gnu.org>
8526
8527 * files.el (locate-dominating-file): Add optional predicate argument.
8528 (dir-locals-find-file): Make use of above change.
8529
17798e78
TTN
85302012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
8531
8532 * info.el (Info-insert-dir): Also try "dir.gz".
8533
eb182446
GM
85342012-03-06 Glenn Morris <rgm@gnu.org>
8535
8f2114ee
GM
8536 * files.el (dir-locals-find-file):
8537 Ignore non-readable or non-regular files. (Bug#10928)
8538
eb182446
GM
8539 * files.el (locate-dominating-file): Doc fix.
8540
24679323
AS
85412012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
8542
8543 * calendar/calendar.el (calendar-set-mode-line):
8544 `getenv' returns a string. (Bug#10951)
8545
01d972a9
LL
85462012-03-05 Leo Liu <sdl.web@gmail.com>
8547
109aa8a9
LL
8548 * simple.el (backward-delete-char-untabify): Constrain point to
8549 field (Bug#10939).
8550
01d972a9
LL
8551 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
8552
10607bea
CY
85532012-03-05 Chong Yidong <cyd@gnu.org>
8554
8555 * simple.el (count-words): If called from Lisp, return the word
8556 count, for symmetry with `count-lines'. Arglist changed.
8557 (count-words--message): Args changed. Consolidate counting code
8558 from count-words and count-words-region.
8559 (count-words-region): Caller changed.
8560 (count-lines-region): Make it an obsolete alias.
8561
5dd11cfe
TH
85622012-03-04 Tassilo Horn <tassilo@member.fsf.org>
8563
8564 * saveplace.el (save-place-to-alist)
8565 (save-place-ignore-files-regexp): Allow value nil to disable this
8566 feature.
8567
c349f4e6
CY
85682012-03-04 Chong Yidong <cyd@gnu.org>
8569
8570 * faces.el (face-spec-reset-face): For the default face, reset the
8571 attributes to default values (Bug#10748).
8572
e627be4c
LMI
85732012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
8574
8575 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
8576 previous patch: Check `message-send-mail-function', and not the
8577 default function (bug#10897).
8578
ebeabff4
MA
85792012-03-04 Michael Albinus <michael.albinus@gmx.de>
8580
a41a6cf4
MA
8581 * notifications.el (notifications-on-action-signal)
8582 (notifications-on-closed-signal): Check for unique service name of
8583 incoming event. Fix error in removing entry.
ebeabff4 8584 (top): Register for signals with wildcard service name.
a41a6cf4 8585 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 8586
c1ca42b4
CY
85872012-03-04 Chong Yidong <cyd@gnu.org>
8588
dc9924b8 8589 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 8590
ea16568d
GM
85912012-03-04 Glenn Morris <rgm@gnu.org>
8592
8593 * abbrev.el (copy-abbrev-table, abbrev-table-p)
8594 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
8595 (expand-abbrev, define-abbrev-table): Doc fixes.
8596
fbae4637
LMI
85972012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8598
8599 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
8600 `message-default-send-mail-function' and not `send-mail-function'
8601 when doing the prompting for `sendmail-query-once' before sending
8602 in Message buffers (bug#10897).
8603
a1e7225c
LMI
8604 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
8605 This is inconsistent with all the other stream functions, which leave
8606 the setting up to the higher levels (if so wanted) (bug#10931).
8607
56d093a9
AM
86082012-03-02 Alan Mackenzie <acm@muc.de>
8609
8610 Depessimize the handling of very large macros.
8611
8612 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
8613 (c-macro-cache-syntactic): New variables to implement a one
8614 element macro cache.
8615 (c-invalidate-macro-cache): New function.
8616 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
8617 Adapt to use the new cache.
8618 (c-state-safe-place): Use better the cache of safe positions.
8619 (c-state-semi-nonlit-pos-cache)
8620 (c-state-semi-nonlit-pos-cache-limit):
8621 New variables for...
8622 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
8623 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
8624 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
8625 Use c-state-semi-safe-place.
56d093a9 8626
dbbc2e69
SM
8627 * progmodes/cc-langs.el (c-get-state-before-change-functions):
8628 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 8629
817e5c3d
MA
86302012-03-02 Michael Albinus <michael.albinus@gmx.de>
8631
dbbc2e69
SM
8632 * jka-compr.el (jka-compr-call-process):
8633 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
8634 not remote.
8635
a032a702
MA
86362012-03-01 Michael Albinus <michael.albinus@gmx.de>
8637
8638 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
8639 access of FILE2, if FILE1 does not exist.
8640
99a54f21
MA
8641 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
8642 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
8643
8644 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
8645 Add "PAGER=" to `process-environment'.
8646
f6561e1f
MM
86472012-03-01 Michael R. Mauger <mmaug@yahoo.com>
8648
8649 * progmodes/sql.el: Bug fix
8650 (sql-get-login-ext): Save login values in globals.
8651 (sql-get-login): Use new version of `sql-get-login-ext'.
8652 (sql-interactive-mode): Set global `sql-connection' to nil.
8653 (sql-connect): Set global values for connection.
8654 (sql-product-interactive): Save global values as buffer local.
8655
2d44d9cc
LL
86562012-02-29 Leo Liu <sdl.web@gmail.com>
8657
8658 * abbrev.el (define-abbrevs): Reset sys to nil.
8659
96b49301 86602012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8661
bf7f9bc5
JB
8662 * files.el (file-equal-p): Rename from `files-equal-p'.
8663 Return nil when one or both files don't exist.
96b49301 8664 (file-subdir-of-p): Now only top directory must exists,
8665 return nil if it doesn't.
bf7f9bc5
JB
8666 (copy-directory): No need to test with `file-subdir-of-p' after
8667 creating dir.
8668 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
8669 to `file-equal-p'.
96b49301 8670
44e97401
GM
86712012-02-28 Glenn Morris <rgm@gnu.org>
8672
8673 * shell.el (shell-mode):
8674 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
8675 * play/landmark.el (landmark-font-lock-face-O):
8676 * play/handwrite.el (handwrite):
8677 * play/gomoku.el (gomoku-O):
8678 * net/browse-url.el (browse-url-browser-display):
8679 * international/mule.el (define-charset):
8680 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
8681 * filesets.el (filesets-find-file-delay):
8682 * eshell/em-xtra.el (eshell-xtra):
8683 * eshell/em-unix.el (eshell-grep):
8684 * emulation/viper.el (viper-mode):
8685 * emacs-lisp/regexp-opt.el (regexp-opt-group):
8686 * emacs-lisp/easymenu.el (easy-menu-define):
8687 * calendar/timeclock.el (timeclock-use-display-time):
8688 * bs.el (bs-mode):
8689 * bookmark.el (bookmark-save-flag):
8690 Doc fix (standardize possessive apostrophe usage).
8691
c98c6276
CY
86922012-02-27 Chong Yidong <cyd@gnu.org>
8693
bf7f9bc5
JB
8694 * emulation/viper-cmd.el (viper-intercept-ESC-key):
8695 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 8696
c98c6276
CY
8697 * font-lock.el (font-lock-specified-p): Rename from
8698 font-lock-spec-present. Callers changed.
8699
9c62cd04 87002012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 8701
bf7f9bc5
JB
8702 * emacs-lisp/package.el (package-compute-transaction):
8703 Handle holding a package version to t in package-load-list.
8ac9e529 8704
530739c9
MA
87052012-02-26 Michael Albinus <michael.albinus@gmx.de>
8706
8707 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
8708 (tramp-get-inode, tramp-get-device): Use cached values.
8709
487915d7
AM
87102012-02-26 Alan Mackenzie <acm@muc.de>
8711
8712 Check there is a font-lock specification before doing initial
8713 fontification.
8714
8715 * font-core.el (font-lock-mode): Move the conditional from
8716 :after-hook to font-lock-initial-fontify.
8717 (font-lock-default-function): Move the check for a specification
8718 to font-lock-spec-present.
8719
dc9924b8 8720 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
8721 (font-lock-spec-present): New function.
8722
4fd96557
JB
87232012-02-26 Jim Blandy <jimb@red-bean.com>
8724
8725 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
8726 (gdb-send): Apply it to the operand of the '-interpreter-exec
8727 console' command, so that we can pass arguments with (say) quotes
8728 in them. Store exact string sent in gdb-debug-log (Bug#10765).
8729
9a4888c0
CY
87302012-02-26 Chong Yidong <cyd@gnu.org>
8731
07498861
CY
8732 * help-fns.el (describe-function-1): Clarify description of
8733 remapping (Bug#10844).
8734
9a4888c0
CY
8735 * files.el (files-equal-p): Doc fix.
8736 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
8737 and quit the loop once a mismatch is found.
8738
ea8fb88d
JB
87392012-02-25 Juanma Barranquero <lekktu@gmail.com>
8740
8741 * bs.el (bs--show-with-configuration): Don't throw an error
8742 if the window cannot be split; otherwise, subsequent calls to
8743 bs-show fail, restoring a stale window config. (Bug#10882)
8744
525795c1
JD
87452012-02-25 Jan Djärv <jan.h.d@swipnet.se>
8746
8747 * term/ns-win.el (global-map): Bind ns-drag-file to
8748 ns-find-file (Bug#5855, Bug#10050).
8749
f008086f
AS
87502012-02-25 Andreas Schwab <schwab@linux-m68k.org>
8751
8752 * calendar/parse-time.el (parse-time-string): Allow extractor to
8753 return nil.
8754
a3fcfa99
MA
87552012-02-25 Michael Albinus <michael.albinus@gmx.de>
8756
91027d08
JB
8757 * net/tramp.el (tramp-file-name-for-operation):
8758 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
8759
8760 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
8761 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
8762 Add COPY-CONTENTS argument.
a3fcfa99 8763
67b0de11
CY
87642012-02-25 Chong Yidong <cyd@gnu.org>
8765
8766 Add custom groups for VC backends, for consistency with vc-bzr.
8767
8768 * vc/vc-arch.el (vc-arch):
8769 * vc/vc-cvs.el (vc-cvs):
8770 * vc/vc-git.el (vc-git):
8771 * vc/vc-hg.el (vc-hg):
8772 * vc/vc-mtn.el (vc-mtn):
8773 * vc/vc-rcs.el (vc-rcs):
8774 * vc/vc-sccs.el (vc-sccs):
8775 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
8776 All relevant defcustoms reassigned.
8777
3c9dfce6
CY
87782012-02-25 Chong Yidong <cyd@gnu.org>
8779
1339bf43
CY
8780 * newcomment.el (comment-styles): Add autoload (Bug#10868).
8781
3c9dfce6
CY
8782 * term/x-win.el (x-initialize-window-system): Reduce default for
8783 x-selection-timeout to 5 seconds (Bug#8869).
8784
25b2e303 87852012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8786
ec70a47d
GM
8787 * files.el (files-equal-p, file-subdir-of-p): New functions.
8788 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 8789 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
8790 * dired-aux.el (dired-copy-file-recursive): Same.
8791 (dired-create-files): Modify destination when source is equal to
8792 dest when copying files.
53a46cd0 8793 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 8794
914260cd
MA
87952012-02-24 Michael Albinus <michael.albinus@gmx.de>
8796
8797 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
8798 (Bug#10874)
8799
2cb228f7
AM
88002012-02-23 Alan Mackenzie <acm@muc.de>
8801
8802 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
8803 parameter "after-hook:" to allow the expansion to run code after
8804 the execution of the mode hooks.
8805
8806 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 8807 from font-lock-mode-internal.
2cb228f7 8808
91027d08 8809 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
8810 :after-hook.
8811
8f0fde21
SM
88122012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
8813
3e88618b
SM
8814 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
8815 (completion--cache-all-sorted-completions): New function.
8816 (completion-all-sorted-completions): Use it.
8817 (completion--do-completion, minibuffer-force-complete):
8818 Use it to re-instate the flush hook.
8819
8f0fde21
SM
8820 * icomplete.el (icomplete-completions): Replace last fix with a better
8821 one (bug#10850).
8822
8e911f6f
DG
88232012-02-23 Dmitry Gutov <dgutov@yandex.ru>
8824
8825 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
8826 when it might call us back infinitely (bug#10797).
8827
49fe4321
GM
88282012-02-23 Glenn Morris <rgm@gnu.org>
8829
8830 * minibuffer.el (completion-category-overrides): Doc fix.
8831
b291b572
SM
88322012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
8833
8834 * minibuffer.el (completion-table-with-context): Fix inf-loop.
8835 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
8836
31a9ef2e
GM
88372012-02-23 Glenn Morris <rgm@gnu.org>
8838
5e6e6794 8839 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
8840 (authors-obsolete-files-regexps, authors-ignored-files)
8841 (authors-ambiguous-files, authors-renamed-files-alist):
8842 Add more entries.
8843
0bd1e074
JL
88442012-02-23 Juri Linkov <juri@jurta.org>
8845
8846 * isearch.el (isearch-occur): Sync interactive spec with occur's
8847 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
8848
b617673c
JL
8849 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
8850
19e9789e
JL
88512012-02-22 Juri Linkov <juri@jurta.org>
8852
8853 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
8854 (ucs-insert): Doc fix. Check for hex digits in the string.
8855 Don't display `nil' in the error message. (Bug#10857)
8856
f41ce09d
AM
88572012-02-22 Alan Mackenzie <acm@muc.de>
8858
7a71b18d 8859 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 8860
ac2eceee
GM
88612012-02-22 Glenn Morris <rgm@gnu.org>
8862
8863 * ffap.el (ffap-c-path):
8864 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
8865
abd1f678
CY
88662012-02-22 Chong Yidong <cyd@gnu.org>
8867
8868 * custom.el (load-theme): Doc fix.
8869
f25aef2e
GM
88702012-02-22 Glenn Morris <rgm@gnu.org>
8871
8872 * dired-x.el (dired-guess-shell-alist-default):
8873 Remove escape sequences from nroff output. (Bug#172)
8874
5f8dc2ca
GM
88752012-02-21 Glenn Morris <rgm@gnu.org>
8876
6ff86ec4
GM
8877 * vc/emerge.el (emerge-defvar-local):
8878 Set `permanent-local' property rather than unused `preserved'.
8879
be3223a3 8880 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
8881 (picture-mode-map): Use it. (Bug#10860)
8882 (picture-mode): Doc fix.
8883
3fe58f4f
JB
88842012-02-21 Juanma Barranquero <lekktu@gmail.com>
8885
8886 * newcomment.el (uncomment-region-default): Remove unused binding.
8887
f9a998c3
GM
88882012-02-21 Glenn Morris <rgm@gnu.org>
8889
8890 * textmodes/picture.el (picture-motion, picture-motion-reverse)
8891 (picture-self-insert, picture-tab-chars): Doc fix.
8892 (picture-mode-map): Fix C-a, C-e.
8893
c6029348
GM
88942012-02-20 Glenn Morris <rgm@gnu.org>
8895
8896 * emacs-lisp/authors.el (authors-aliases): Add another entry.
8897
ab1ce9d7
LL
88982012-02-20 Leo Liu <sdl.web@gmail.com>
8899
8900 * icomplete.el (icomplete-completions): Check FROM arg before
8901 passing to substring (Bug#10850).
8902
0fd40f89
CY
89032012-02-19 Chong Yidong <cyd@gnu.org>
8904
8905 * comint.el: Require ansi-color.
8906 (comint-output-filter-functions): Add ansi-color-process-output.
8907
8908 * ansi-color.el: Don't set comint-output-filter-functions; it is
8909 now in the initial value defined in comint.el.
8910 (ansi-color-apply-face-function): New variable.
8911 (ansi-color-apply-on-region): Use it.
8912 (ansi-color-apply-overlay-face): New function.
8913
8914 * shell.el (shell): No need to require ansi-color.
8915 (shell-mode): Use ansi-color-apply-face-function to highlight
8916 color escapes using font-lock-face property (Bug#10835).
8917
20af2394
CY
89182012-02-19 Chong Yidong <cyd@gnu.org>
8919
8920 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
8921 mode-line formats (Bug#10839).
8922
e23a3fbe
GM
89232012-02-18 Glenn Morris <rgm@gnu.org>
8924
b474519e
GM
8925 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
8926
8927 * mail/undigest.el (unforward-rmail-message): Doc fix.
8928
e23a3fbe
GM
8929 * saveplace.el (save-place-ignore-files-regexp): Add :version.
8930
57939ff4
EZ
89312012-02-18 Eli Zaretskii <eliz@gnu.org>
8932
8933 * international/characters.el (script-list): Sync with the latest
8934 Unicode Character Database.
8935
0c23686e
AS
89362012-02-18 Andreas Schwab <schwab@linux-m68k.org>
8937
8938 * international/titdic-cnv.el: Remove duplicate coding tag.
8939 * language/cham.el: Likewise.
8940 * language/tai-viet.el: Likewise.
8941
6818b449
GM
89422012-02-18 Glenn Morris <rgm@gnu.org>
8943
8944 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
8945 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
8946 (calendar-bahai-all-holidays-flag, calendar-other-dates):
8947 * calendar/diary-lib.el (diary-abbreviated-year-flag):
8948 * calendar/holidays.el (holiday-bahai-holidays)
8949 (calendar-holidays, list-holidays):
8950 Use utf-8 Bahá'í in doc-strings, menus, etc.
8951
0311a3fc
TH
89522012-02-17 Tassilo Horn <tassilo@member.fsf.org>
8953
8954 * saveplace.el (save-place-ignore-files-regexp): New variable
8955 allowing for excluding files from saving their location of point.
8956 The default value matches the temporary commit message editing
8957 files from Git, SVN, Bazaar, and Mercurial.
8958 (save-place-to-alist): Use it.
8959
d209e2fb 89602012-02-17 Lawrence Mitchell <wence@gmx.li>
f1a71c6e 8961 Stefan Monnier <monnier@iro.umontreal.ca>
eb864a71
LM
8962
8963 * newcomment.el (uncomment-region-default): Don't leave extra space
8964 when an arg is provided (bug#8150).
8965
ee0ce425
TZ
89662012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
8967
eb864a71 8968 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 8969
95ddf442
GM
89702012-02-17 Glenn Morris <rgm@gnu.org>
8971
8972 * net/socks.el: Require network-stream. (Bug#10599)
8973
48dd1e39 89742012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
8975
8976 * international/charprop.el:
8977 * international/uni-name.el:
8978 * international/uni-old-name.el:
8979 * international/uni-comment.el: Regenerate.
8980
d68cd087
GM
89812012-02-16 Glenn Morris <rgm@gnu.org>
8982
8983 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
8984 Interactively in calendar buffer, give an error if not on a date.
8985
13932042
GM
89862012-02-15 Glenn Morris <rgm@gnu.org>
8987
8988 * shell.el (shell-delimiter-argument-list):
8989 Revert 2011-02-17 change. (Bug#8027)
8990
c3a70e2b
CY
89912012-02-15 Chong Yidong <cyd@gnu.org>
8992
60236b0d
CY
8993 * minibuffer.el (completion-at-point-functions): Doc fix.
8994
c3a70e2b
CY
8995 * custom.el (defcustom): Doc fix; note use of defvar.
8996
9f26dc24
GM
89972012-02-15 Glenn Morris <rgm@gnu.org>
8998
8999 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
9000 Doc fixes.
9001
6546b134
GM
90022012-02-14 Glenn Morris <rgm@gnu.org>
9003
9004 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
9005
d29b2b4c
LI
90062012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
9007
9008 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
9009 way the ports list is computed.
835bdcba
LI
9010 (smtpmail-query-smtp-server): Prompt the user for a port number if
9011 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 9012
08dcdbc9
TZ
90132012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
9014
9015 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
9016
2605051a
GM
90172012-02-13 Glenn Morris <rgm@gnu.org>
9018
9019 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
9020
7ee99f32
TZ
90212012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
9022
9023 * net/gnutls.el (gnutls-trustfiles): New variable.
9024 (gnutls-negotiate): Use it.
9025
5f0af64f
LI
90262012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
9027
9028 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
9029 does its stuff if Gnus is running.
9030
c14fcc95
AM
90312012-02-13 Alan Mackenzie <acm@muc.de>
9032
9033 Fix a loop in c-set-fl-decl-start.
9034
7a71b18d 9035 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
9036 c-backward-syntactic-ws actually moves backwards.
9037
142b4d90
LL
90382012-02-13 Leo Liu <sdl.web@gmail.com>
9039
9040 * net/rcirc.el (rcirc-markup-attributes): Move point to the
9041 beginning so that all \C-o chars are removed.
9042
fa9958a6
TZ
90432012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
9044
dc9924b8 9045 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 9046
0bc5886a
AM
90472012-02-12 Alan Mackenzie <acm@muc.de>
9048
9049 Fix infinite loop with long macros.
4d6769e1 9050 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 9051
d4bd55e7
CY
90522012-02-12 Chong Yidong <cyd@gnu.org>
9053
9054 * window.el (display-buffer): Doc fix (Bug#10785).
9055
66f3fe22
GM
90562012-02-12 Glenn Morris <rgm@gnu.org>
9057
bd7da63e
GM
9058 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
9059 (x-disown-selection-internal, x-get-selection-internal):
9060 Sync docs with the xselect.c versions.
9061
66f3fe22
GM
9062 * allout-widgets.el: Add missing license notice.
9063
3e0d2fa7
GM
90642012-02-11 Glenn Morris <rgm@gnu.org>
9065
cfecdf09
GM
9066 * select.el (x-get-selection-internal, x-own-selection-internal)
9067 (x-disown-selection-internal):
9068 * x-dnd.el (x-get-selection-internal): Update declarations.
9069
6d216d7f
GM
9070 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
9071
2bed3f04
GM
9072 * window.el (window-sides-slots):
9073 * tool-bar.el (tool-bar-position):
9074 * term/xterm.el (xterm-extra-capabilities):
9075 * ses.el (ses-self-reference-early-detection):
9076 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
9077 (verilog-auto-wire-type)
9078 (verilog-auto-delete-trailing-whitespace)
9079 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
9080 (verilog-auto-tieoff-declaration):
9081 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
9082 (sql-oracle-statement-starters, sql-oracle-scan-on):
9083 * progmodes/prolog.el (prolog-align-comments-flag)
9084 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
9085 (prolog-left-indent-regexp, prolog-paren-indent-p)
9086 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
9087 (prolog-types, prolog-mode-specificators)
9088 (prolog-determinism-specificators, prolog-directives)
9089 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
9090 (prolog-electric-dot-flag)
9091 (prolog-electric-dot-full-predicate-template)
9092 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
9093 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
9094 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
9095 (prolog-program-switches, prolog-prompt-regexp)
9096 (prolog-debug-on-string, prolog-debug-off-string)
9097 (prolog-trace-on-string, prolog-trace-off-string)
9098 (prolog-zip-on-string, prolog-zip-off-string)
9099 (prolog-use-standard-consult-compile-method-flag)
9100 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
9101 (prolog-imenu-max-lines, prolog-info-predicate-index)
9102 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
9103 (prolog-char-quote-workaround):
9104 * progmodes/cc-vars.el (c-defun-tactic):
9105 * net/tramp.el (tramp-encoding-command-interactive)
9106 (tramp-local-end-of-line):
9107 * net/soap-client.el (soap-client):
9108 * net/netrc.el (netrc-file):
9109 * net/gnutls.el (gnutls):
9110 * minibuffer.el (completion-category-overrides)
9111 (completion-cycle-threshold)
9112 (completion-pcm-complete-word-inserts-delimiters):
9113 * man.el (Man-name-local-regexp):
9114 * mail/feedmail.el (feedmail-display-full-frame):
9115 * international/characters.el (glyphless-char-display-control):
9116 * eshell/em-ls.el (eshell-ls-date-format):
9117 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
9118 (lisp-lambda-list-keyword-parameter-indentation)
9119 (lisp-lambda-list-keyword-parameter-alignment):
9120 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
9121 * dired-x.el (dired-omit-verbose):
9122 * cus-theme.el (custom-theme-allow-multiple-selections):
9123 * calc/calc.el (calc-highlight-selections-with-faces)
9124 (calc-lu-field-reference, calc-lu-power-reference)
9125 (calc-note-threshold):
9126 * battery.el (battery-mode-line-limit):
9127 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
9128 (archive-7z-update):
9129 * allout.el (allout-prefixed-keybindings)
9130 (allout-unprefixed-keybindings)
9131 (allout-inhibit-auto-fill-on-headline)
9132 (allout-flattened-numbering-abbreviation):
9133 * allout-widgets.el (allout-widgets-auto-activation)
9134 (allout-widgets-icons-dark-subdir)
9135 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
9136 (allout-widgets-theme-dark-background)
9137 (allout-widgets-theme-light-background)
9138 (allout-widgets-item-image-properties-emacs)
9139 (allout-widgets-item-image-properties-xemacs)
9140 (allout-widgets-run-unit-tests-on-load)
9141 (allout-widgets-time-decoration-activity)
9142 (allout-widgets-hook-error-post-time)
9143 (allout-widgets-track-decoration):
9144 Add missing :version tags to new defcustoms and defgroups.
9145
5fec1b8e
GM
9146 * progmodes/sql.el (sql-ansi-statement-starters)
9147 (sql-oracle-statement-starters): Add custom type.
9148
3e0d2fa7
GM
9149 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
9150 (prolog-system-version): Give it a type.
9151
90b671e2
EZ
91522012-02-11 Eli Zaretskii <eliz@gnu.org>
9153
9154 * term/pc-win.el (x-select-text, x-selection-owner-p)
9155 (x-own-selection-internal, x-disown-selection-internal)
9156 (x-get-selection-internal): Sync doc strings and argument lists
9157 with xselect.c, common-win.el and x-win.el. (Bug#10783)
9158
5eac0c02
LL
91592012-02-11 Leo Liu <sdl.web@gmail.com>
9160
9161 * progmodes/python.el (python-end-of-statement): Fix infinite
9162 loop. (Bug#10788)
9163
f82cb659
GM
91642012-02-10 Glenn Morris <rgm@gnu.org>
9165
9166 * international/mule-cmds.el (unify-8859-on-encoding-mode)
9167 (unify-8859-on-decoding-mode): Properly mark as obsolete.
9168
cc26d239
LI
91692012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
9170
9171 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
9172 about SMTP before checking the From header.
9173
91027d08 9174 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
9175 into own function for reuse by emacsbug.el.
9176
1be3ca5a
LL
91772012-02-10 Leo Liu <sdl.web@gmail.com>
9178
9179 * subr.el (condition-case-unless-debug): Rename from
9180 condition-case-no-debug. All callers changed.
9181 (with-demoted-errors): Fix caller.
9182
9183 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
9184 * nxml/rng-valid.el (rng-do-some-validation):
9185 * emacs-lisp/package.el (package-refresh-contents)
9186 (package-menu-execute):
9187 * desktop.el (desktop-create-buffer):
91027d08 9188 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 9189
b011fbfe
GM
91902012-02-10 Glenn Morris <rgm@gnu.org>
9191
b2096d72
GM
9192 * textmodes/bibtex.el:
9193 Add missing :version tags for new/changed defcustoms.
9194
b011fbfe
GM
9195 * files.el (remote-file-name-inhibit-cache): Doc fixes.
9196
4c7e65bf
LI
91972012-02-09 Lars Ingebrigtsen <larsi@rusty>
9198
9199 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
9200 (smtpmail-via-smtp): Use it, or fall back on the From address.
9201 (smtpmail-send-it): Ditto.
9202
f3934f6f
SM
92032012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
9204
9205 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
9206 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
9207 (byte-compile-tmp-var): New const.
9208 (byte-compile-defvar): Use it to minimize .elc size.
9209 Just use `defvar' rather than simulate it (bug#10761).
9210
a075a2c5
GM
92112012-02-09 Glenn Morris <rgm@gnu.org>
9212
cf3aa21b
GM
9213 * files.el (rename-uniquely): Doc fix. (Bug#3806)
9214
354998cd
GM
9215 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
9216 Add :version tags.
9217
dc9924b8
SM
9218 * progmodes/compile.el (compilation-error-screen-columns)
9219 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 9220
dab3703d
GM
9221 * vc/log-view.el (log-view-toggle-entry-display):
9222 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
9223
3f88cd72
GM
9224 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
9225 (report-emacs-bug-can-use-xdg-email):
9226 (report-emacs-bug-insert-to-mailer): Doc fixes.
9227 (report-emacs-bug): Message fix.
9228
d95b247d
GM
9229 * net/browse-url.el (browse-url-can-use-xdg-open)
9230 (browse-url-xdg-open): Doc fixes.
9231
a075a2c5
GM
9232 * electric.el (electric-indent-mode, electric-pair-mode)
9233 (electric-layout-rules, electric-layout-mode): Doc fixes.
9234 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
9235
ffb6157e
MR
92362012-02-08 Martin Rudalics <rudalics@gmx.at>
9237
9238 * server.el (server-unselect-display): Don't inadvertently kill
9239 the current buffer. (Bug#10729)
9240
e1ac4066
GM
92412012-02-08 Glenn Morris <rgm@gnu.org>
9242
34e8a2da
GM
9243 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
9244 (sql-list-table): Doc fixes.
9245
b4ac6e8c
GM
9246 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
9247 Comment out (does nothing).
9248
e1ac4066
GM
9249 * completion.el (dynamic-completion-mode):
9250 * dirtrack.el (dirtrack-debug-mode):
9251 * electric.el (electric-layout-mode):
9252 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
9253 * face-remap.el (text-scale-mode, buffer-face-mode):
9254 * iimage.el (iimage-mode):
9255 * image-mode.el (image-transform-mode):
9256 * minibuffer.el (completion-in-region-mode):
9257 * scroll-lock.el (scroll-lock-mode):
9258 * simple.el (next-error-follow-minor-mode):
9259 * tar-mode.el (tar-subfile-mode):
9260 * tooltip.el (tooltip-mode):
9261 * vcursor.el (vcursor-use-vcursor-map):
9262 * wid-browse.el (widget-minor-mode):
9263 * emulation/tpu-edt.el (tpu-edt-mode):
9264 * emulation/tpu-extras.el (tpu-cursor-free-mode):
9265 * international/iso-ascii.el (iso-ascii-mode):
9266 * language/thai-util.el (thai-word-mode):
9267 * mail/supercite.el (sc-minor-mode):
9268 * net/goto-addr.el (goto-address-mode):
9269 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
9270 * progmodes/cwarn.el (cwarn-mode):
9271 * progmodes/flymake.el (flymake-mode):
9272 * progmodes/glasses.el (glasses-mode):
9273 * progmodes/hideshow.el (hs-minor-mode):
9274 * progmodes/pascal.el (pascal-outline-mode):
9275 * textmodes/enriched.el (enriched-mode):
9276 * vc/smerge-mode.el (smerge-mode):
9277 Doc fixes (minor mode argument).
9278
5e0d957f
EZ
92792012-02-07 Eli Zaretskii <eliz@gnu.org>
9280
9281 * ls-lisp.el (ls-lisp-sanitize): New function.
9282 (ls-lisp-insert-directory): Use it to fix or remove any elements
9283 in file-alist with missing attributes. (Bug#4673)
9284
98d7371e
AM
92852012-02-07 Alan Mackenzie <acm@muc.de>
9286
9287 Fix spurious recognition of c-in-knr-argdecl.
9288
9289 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
9290 putative K&R region.
9291
667ced3a
AM
92922012-02-07 Alan Mackenzie <acm@muc.de>
9293
eb864a71
LM
9294 * progmodes/cc-engine.el (c-forward-objc-directive):
9295 Prevent looping in "#pragma mark @implementation".
667ced3a 9296
5b77774d
MA
92972012-02-07 Michael Albinus <michael.albinus@gmx.de>
9298
9299 * notifications.el (notifications-on-closed-signal): Make `reason'
9300 optional. (Bug#10744)
9301
af008560
GM
93022012-02-07 Glenn Morris <rgm@gnu.org>
9303
60d47423
GM
9304 * emacs-lisp/easy-mmode.el (define-minor-mode):
9305 Doc fixes for the macro and the mode it defines.
9306
dd605cc4
GM
9307 * image.el (imagemagick-types-inhibit): Doc fix.
9308
af008560
GM
9309 * cus-start.el (imagemagick-render-type): Add it.
9310
5cc59a37
LI
93112012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
9312
4d6769e1
JB
9313 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
9314 Set the default at load time, too, so that `font-lock-fontify-buffer'
9315 can be called without setting up the entire mode first. This fixes
9316 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 9317
9a6dd747
CY
93182012-02-06 Chong Yidong <cyd@gnu.org>
9319
2d16b285
CY
9320 * simple.el (list-processes--refresh): Delete exited processes
9321 (Bug#8094).
9322
171e9b6e
CY
9323 * comint.el (comint-next-prompt): next-single-char-property-change
9324 and prev-single-char-property-change never return nil (Bug#8657).
9325
9a6dd747
CY
9326 * custom.el (defcustom): Doc fix (Bug#9711).
9327
aa4589a7
CY
93282012-02-05 Chong Yidong <cyd@gnu.org>
9329
5c2a252f
CY
9330 * cus-edit.el (custom-variable-reset-backup): Quote the value
9331 before storing it in the customized-value property (Bug#6712).
4aab9006 9332 (custom-display): Add a customization type tag.
983b9602 9333 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 9334
aa4589a7
CY
9335 * wid-edit.el (widget-field-value-get): New optional arg to
9336 suppress trailing whitespace truncation.
9337 (character): Use it (Bug#2689).
9338
1ff980ae
AS
93392012-02-05 Andreas Schwab <schwab@linux-m68k.org>
9340
9341 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
9342 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
9343
03988c98
CY
93442012-02-05 Chong Yidong <cyd@gnu.org>
9345
eeb6cc88
CY
9346 * cus-edit.el (custom-variable-value-create): For mismatched
9347 types, show the current value (Bug#7600).
9348
03988c98
CY
9349 * custom.el (defcustom): Doc fix.
9350
f8cdeef0
GM
93512012-02-05 Glenn Morris <rgm@gnu.org>
9352
9353 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
9354
0696d255
JB
93552012-02-05 Juanma Barranquero <lekktu@gmail.com>
9356
9357 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
9358 (pp-buffer): Use `ignore-errors', `looking-at-p'.
9359 (pp-last-sexp): Use `looking-at-p'.
9360
34c99998
GM
93612012-02-04 Glenn Morris <rgm@gnu.org>
9362
8f05da42
GM
9363 * files.el (revert-buffer):
9364 Doc fix (mention revert-buffer-in-progress-p).
9365
f160676e
GM
9366 * emacs-lisp/ert-x.el (ert-simulate-command):
9367 Check deferred-action-list (which is obsolete) is bound.
9368
c7291ad9
GM
9369 * subr.el (with-wrapper-hook): Doc fixes.
9370
34c99998
GM
9371 * simple.el (filter-buffer-substring-functions)
9372 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
9373
6283a7d3
LL
93742012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
9375
9376 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
9377 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
9378
e96e3013
LL
93792012-02-04 Leo Liu <sdl.web@gmail.com>
9380
9381 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
9382
8ded50f2
GM
93832012-02-04 Glenn Morris <rgm@gnu.org>
9384
82ff1d13
GM
9385 * image.el (image-extension-data): Add obsolete alias.
9386
987a0a16
GM
9387 * isearch.el (isearch-update): Doc fix.
9388
ea32ef46
GM
9389 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
9390
8ded50f2
GM
9391 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
9392
eea14f31
GM
93932012-02-03 Glenn Morris <rgm@gnu.org>
9394
9395 * image.el (image-animated-p): Doc fix. Use image-animated-types.
9396 (image-animate-timeout): Doc fix.
9397
9398 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
9399
12f381b7
GM
94002012-02-02 Glenn Morris <rgm@gnu.org>
9401
953cebf5
GM
9402 * server.el (server-auth-dir): Doc fix.
9403 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
9404
12f381b7
GM
9405 * subr.el (run-mode-hooks): Doc fix.
9406
953a8c3b
JL
94072012-02-02 Juri Linkov <juri@jurta.org>
9408
9409 * image-mode.el (image-toggle-display-image): Remove tautological
9410 `major-mode' from the `derived-mode-p' test.
9411
c5d3843c
KH
94122012-02-02 Kenichi Handa <handa@m17n.org>
9413
9f6e692e 9414 * composite.el (compose-region): Cancel previous change.
c5d3843c 9415
159462d4 94162012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
9417
9418 * composite.el (compose-region, compose-string): Signal error for
9419 a null string component (Bug#6988).
9420
9f562668
CY
94212012-02-01 Chong Yidong <cyd@gnu.org>
9422
e2cef717
CY
9423 * view.el (view-buffer-other-window, view-buffer-other-frame):
9424 Handle special modes like view-buffer (Bug#10650).
9425 (view-buffer): Simplify.
9426
9f562668
CY
9427 * frame.el (set-frame-font): Tweak meaning of third argument.
9428
9f6e692e
JB
9429 * dynamic-setting.el (font-setting-change-default-font):
9430 Use set-frame-font (Bug#9982).
9f562668 9431
781acb9f
GM
94322012-02-01 Glenn Morris <rgm@gnu.org>
9433
6035be52
GM
9434 * progmodes/compile.el (compilation-internal-error-properties):
9435 Respect compilation-first-column in the "*compilation*" buffer.
9436
781acb9f
GM
9437 * emacs-lisp/easy-mmode.el (define-minor-mode):
9438 Relax :variable's test for a named function.
9439
abbceb00
AM
94402012-01-31 Alan Mackenzie <acm@muc.de>
9441
9442 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
9443 off by one error.
9444
fce3fdeb
CY
94452012-01-31 Chong Yidong <cyd@gnu.org>
9446
9447 * frame.el (set-frame-font): New arg ALL-FRAMES.
9448
9449 * menu-bar.el (menu-set-font): Use set-frame-font.
9450
9451 * faces.el (face-spec-reset-face): Don't apply unspecified
9452 attribute values to the default face.
9453
47893581
JB
94542012-01-31 Juanma Barranquero <lekktu@gmail.com>
9455
9456 * progmodes/cwarn.el (cwarn): Remove dead link.
9457 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
9458 Remove * from defcustom docstrings.
9459 (turn-on-cwarn-mode): Make obsolete.
9460 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
9461 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
9462
e58e988a
GM
94632012-01-31 Glenn Morris <rgm@gnu.org>
9464
60dc2671 9465 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 9466 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 9467 Allow named functions to be used as the cdr of :variable.
e58e988a 9468
7a3f511d
GM
94692012-01-30 Glenn Morris <rgm@gnu.org>
9470
9471 * emacs-lisp/authors.el (authors-fixed-entries):
9472 Remove reference to deleted file rnewspost.el.
9473
cb882333
JB
94742012-01-29 Juanma Barranquero <lekktu@gmail.com>
9475
9476 * window.el (window-with-parameter): Remove unused variable `windows'.
9477 (window--side-check): Remove unused variable `code'.
9478 (window--resize-siblings): Remove unused variable `first'.
9479 (adjust-window-trailing-edge): Remove unused variable `failed'.
9480 (window-deletable-p, window--delete): Remove unused variable `buffer'.
9481 Use `let', not `let*'.
9482 (balance-windows-2): Remove unused variable `found'.
9483 (window--state-put-2): Remove unused variable `splits'.
9484 (window-state-put): Remove unused variable `selected'.
9485 (same-window-p): Use `string-match-p'.
9486 (display-buffer-assq-regexp): Remove unused variable `value'.
9487 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
9488 Mark argument ALIST as ignored.
9489 (pop-to-buffer): Remove unused variable `old-window'.
9490
907201af
EZ
94912012-01-29 Eli Zaretskii <eliz@gnu.org>
9492
9493 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
9494 and .lzma compressed files.
9495
ea162670
CY
94962012-01-29 Chong Yidong <cyd@gnu.org>
9497
5b95ee8a
CY
9498 * frame.el (window-system-default-frame-alist): Doc fix.
9499
ea162670
CY
9500 * dynamic-setting.el (font-setting-change-default-font): Don't
9501 change the default face if SET-FONT argument is non-nil (Bug#9982).
9502
d6e6f4b1
SB
95032012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
9504
9505 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
9506
0f29fa41 95072012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
9508
9509 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
9510 breakpoints in files outside current directory (Bug#6098).
9511
db174434
CY
95122012-01-29 Chong Yidong <cyd@gnu.org>
9513
6b25e4e2
SE
9514 * progmodes/python.el: Require ansi-color at top-level.
9515
6df6ae42
JB
9516 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
9517 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
9518 (lisp-mode-abbrev-table): Add doc.
9519 (lisp-mode-variables): Don't set local-abbrev-table.
9520 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
9521
e70ee681
RW
95222012-01-28 Roland Winkler <winkler@gnu.org>
9523
9524 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
9525
ace88aa2
RW
95262012-01-28 Roland Winkler <winkler@gnu.org>
9527
9528 * textmodes/bibtex.el (bibtex-entry-alist): New function.
9529 (bibtex-set-dialect): Use it. Either set global values of
9530 dialect-dependent variables or bind these variables buffer-locally
9531 (Bug#10254).
9532 (bibtex-mode): Call bibtex-set-dialect via
9533 hack-local-variables-hook.
eb864a71
LM
9534 (bibtex-dialect): Update docstring.
9535 Add safe-local-variable predicate.
ace88aa2
RW
9536 (bibtex-entry-alist, bibtex-field-alist): Initialize via
9537 bibtex-set-dialect.
9538 (bibtex-mode-map): Define menu for each dialect.
9539 (bibtex-entry): Fix docstring.
9540
93376c5b
CY
95412012-01-28 Chong Yidong <cyd@gnu.org>
9542
9543 * eshell/esh-arg.el (eshell-quote-argument): New function.
9544
9545 * eshell/esh-ext.el (eshell-invoke-batch-file):
9546 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
9547 first arg to eshell-parse-command (Bug#10523).
9548
4372494f
DA
95492012-01-28 Drew Adams <drew.adams@oracle.com>
9550
9551 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
9552 `default-directory' is non-nil.
9553
4d4ec1f8
EZ
95542012-01-28 Eli Zaretskii <eliz@gnu.org>
9555
9556 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
9557 line that displays system-configuration-options. (Bug#9924)
9558
7c188927
DA
95592012-01-28 Drew Adams <drew.adams@oracle.com>
9560
9561 * descr-text.el (describe-char): Show information about POS, in
9562 addition to information about the character at POS. Improve and
9563 update the doc string. Change "code point" to "code point in
9564 charset", to avoid confusion with the character's Unicode code
9565 point shown above that. (Bug#10129)
9566
e0da685a
EZ
95672012-01-28 Eli Zaretskii <eliz@gnu.org>
9568
9569 * descr-text.el (describe-char): Show the raw character, not only
9570 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
9571 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
9572 for the reasons.
9573
70550acf
PH
95742012-01-28 Phil Hagelberg <phil@hagelb.org>
9575
eb864a71
LM
9576 * emacs-lisp/package.el (package-install):
9577 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 9578
0ce8e868
CY
95792012-01-28 Chong Yidong <cyd@gnu.org>
9580
cb882333
JB
9581 * emacs-lisp/package.el (package-maybe-load-descriptor):
9582 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
9583 (package-maybe-load-descriptor): Use it.
9584 (package-download-transaction): Fully load required packages
9585 inside the loop, so that `require' calls work (Bug#10593).
9586 (package-install): No need to call package-initialize now.
9587
2e7f3bea
CY
95882012-01-28 Chong Yidong <cyd@gnu.org>
9589
6e9bad14
CY
9590 * simple.el (deactivate-mark): Doc fix (Bug#8614).
9591
f823b8ca
CY
9592 * tooltip.el (tooltip-mode): Doc fix.
9593 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
9594
2680c309
CY
9595 * frame.el (set-cursor-color): Doc fix (Bug#352).
9596
d7a9e63b
CY
9597 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
9598 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
9599
2e7f3bea
CY
9600 * cus-edit.el (custom-buffer-create-internal): Fix search button
9601 action (Bug#10542).
2ae01800 9602 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 9603
fc4f7a23
EW
96042012-01-27 Eduard Wiebe <usenet@pusto.de>
9605
9606 * dired.el (dired-mark-files-regexp):
9607 Include any subdirectory components. (Bug#10445)
9608
7dd37071
ML
96092012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
9610
9611 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
9612 Handle [host]:port syntax. (Bug#10533)
9613
a268160b
AH
96142012-01-27 Alex Harsanyi <harsanyi@mac.com>
9615
9616 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
9617
e43273ef
GM
96182012-01-26 Glenn Morris <rgm@gnu.org>
9619
9620 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
9621 * term.el (term-raw-escape-map): Use Control-X-prefix.
9622 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
9623
1edf595d
MR
96242012-01-25 Martin Rudalics <rudalics@gmx.at>
9625
9626 * window.el (window-state-get, window--state-get-1): Don't deal
9627 with fixed-sizeness of windows. Simplify code.
9628
fa8eafef
JC
96292012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
9630
6df6ae42
JB
9631 * window.el (window--state-get-1, window--state-put-2):
9632 Don't save and restore the mark.
fa8eafef 9633
0b21c100
CY
96342012-01-25 Chong Yidong <cyd@gnu.org>
9635
9636 * custom.el (custom-variable-p): Doc fix.
9637
5ae1a6c8
GM
96382012-01-25 Glenn Morris <rgm@gnu.org>
9639
40047858
GM
9640 * dired.el (dired-goto-file): Handle some of the more common
9641 characters that `ls -b' escapes. (Bug#10596)
9642
5ddce96c
GM
9643 * progmodes/compile.el (compilation-next-error-function):
9644 Respect compilation-first-column in the "*compilation*" buffer.
9645 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
9646
5ae1a6c8
GM
9647 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
9648
b559f1a9
GM
96492012-01-24 Glenn Morris <rgm@gnu.org>
9650
9651 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
9652
6725d21a
JD
96532012-01-24 Julien Danjou <julien@danjou.info>
9654
9655 * color.el (color-rgb-to-hsl): Fix value computing.
9656 (color-hue-to-rgb): New function.
9657 (color-hsl-to-rgb): New function.
9658 (color-clamp, color-saturate-hsl, color-saturate-name)
9659 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
9660 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
9661
70df4bbe
GM
96622012-01-24 Glenn Morris <rgm@gnu.org>
9663
9664 * vc/vc-rcs.el (vc-rcs-create-tag):
9665 * vc/vc-sccs.el (vc-sccs-create-tag):
9666 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
9667
802a2ae2
ML
96682012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
9669
9670 * eshell/esh-util.el (eshell-read-hosts-file):
9671 Skip comment lines. (Bug#10549)
9672
d7128bb1
ML
9673 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
9674
d1a5c3b4
JB
96752012-01-23 Juanma Barranquero <lekktu@gmail.com>
9676
2724d9c7
JB
9677 * subr.el (display-delayed-warnings): Doc fix.
9678 (collapse-delayed-warnings): New function to collapse identical
9679 adjacent warnings.
9680 (delayed-warnings-hook): Add it.
d1a5c3b4 9681
a5509865
MA
96822012-01-22 Michael Albinus <michael.albinus@gmx.de>
9683
9684 * net/tramp.el (tramp-action-login): Set connection property "login-as".
9685
a5509865
MA
9686 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
9687 (tramp-default-user-alist): Don't add "pscp".
9688 (tramp-do-copy-or-rename-file-out-of-band): Use connection
9689 property "login-as", if set. (Bug#10530)
9690
cc6d5805
MA
96912012-01-21 Michael Albinus <michael.albinus@gmx.de>
9692
9693 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
9694 "plink1" and "psftp". (Bug#10530)
9695
96962012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
9697
9698 * international/mule-cmds.el (prefer-coding-system): Show a
9699 warning message if the default value of file-name-coding-system
9700 was not changed.
9701
f0960428
JC
97022012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
9703
cb882333
JB
9704 * windmove.el (windmove-reference-loc):
9705 Fix windmove-reference-loc miscalculation.
f0960428 9706
dd6f2a63
JB
97072012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
9708
9709 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
9710 default unit.
9711
7b447e9b
GM
97122012-01-21 Glenn Morris <rgm@gnu.org>
9713
117a9ea1
GM
9714 * international/mule.el (auto-coding-alist): Add .tbz.
9715
7b447e9b
GM
9716 * files.el (local-enable-local-variables): Doc fix.
9717 (inhibit-local-variables-regexps): Rename from
9718 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
9719 Doc fix. Add some extensions from auto-coding-alist.
9720 (inhibit-local-variables-suffixes):
9721 Rename from inhibit-first-line-modes-suffixes. Doc fix.
9722 (inhibit-local-variables-p):
9723 New function, extracted from set-auto-mode-1.
9724 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
9725 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
9726 (hack-local-variables): Doc fix. Make the mode-only case
9727 respect enable-local-variables and friends.
9728 Respect inhibit-local-variables-regexps for file-locals, but
9729 not for directory-locals.
9730 (set-visited-file-name):
9731 Take account of inhibit-local-variables-regexps.
9732 Whether it applies may change as the file name is changed.
9733 * jka-cmpr-hook.el (jka-compr-install):
9734 * jka-compr.el (jka-compr-uninstall):
9735 Update for inhibit-first-line-modes-suffixes name change.
9736
dd6e3cdd
MR
97372012-01-20 Martin Rudalics <rudalics@gmx.at>
9738
9739 * help-macro.el (make-help-screen): Temporarily restore original
9740 binding for minor-mode-map-alist (Bug#10454).
9741
0d0deb38
JD
97422012-01-19 Julien Danjou <julien@danjou.info>
9743
9744 * color.el (color-name-to-rgb): Use the white color to find the max
9745 color component value and return correctly computed values.
9746 (color-name-to-rgb): Add missing float conversion for max value.
9747
34a02f46
MR
97482012-01-19 Martin Rudalics <rudalics@gmx.at>
9749
9750 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
9751 special state value for window-persistent-parameters.
9752 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
9753 (window--state-put-2): Reset all window parameters to nil before
9754 assigning values of persistent parameters.
9755
606c44c4
AM
97562012-01-18 Alan Mackenzie <acm@muc.de>
9757
9758 Eliminate sluggishness and hangs in fontification of "semicolon
9759 deserts".
9760
cb882333
JB
9761 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
9762 Change value 10000 -> 3000.
606c44c4
AM
9763 (c-state-safe-place): Reformulate so it doesn't stack up an
9764 infinite number of wrong entries in c-state-nonlit-pos-cache.
9765 (c-determine-limit-get-base, c-determine-limit): New functions to
9766 determine backward search limits disregarding literals.
9767 (c-find-decl-spots): Amend commenting.
9768 (c-cheap-inside-bracelist-p): New function which detects "={".
9769
9770 * progmodes/cc-fonts.el
9771 (c-make-font-lock-BO-decl-search-function): Give a limit to a
9772 backward search.
9773 (c-font-lock-declarations): Fix an occurrence of point being
9774 undefined. Check additionally for point being in a bracelist or
9775 near a macro invocation without a semicolon so as to avoid a
9776 fruitless time consuming search for a declarator. Give a more
9777 precise search limit for declarators using the new
9778 c-determine-limit.
9779
f3860cea
GM
97802012-01-18 Glenn Morris <rgm@gnu.org>
9781
9782 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
9783 (set-auto-mode): Doc fixes.
9784
1db03b16
GM
97852012-01-17 Glenn Morris <rgm@gnu.org>
9786
0e6038be
GM
9787 * isearch.el (search-nonincremental-instead): Fix doc typo.
9788
1db03b16
GM
9789 * dired.el (dired-insert-directory): Handle newlines in directory name.
9790 (dired-build-subdir-alist): Unescape newlines in directory name.
9791
4cb0aa75
MA
97922012-01-17 Michael Albinus <michael.albinus@gmx.de>
9793
9794 * net/tramp.el (tramp-local-end-of-line): New defcustom.
9795 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
9796 (tramp-action-terminal): Use it. (Bug#10530)
9797
1d00653d
SM
97982012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
9799
9800 * minibuffer.el (completion--replace): Strip properties (bug#10062).
9801
6a6ee00d
MR
98022012-01-16 Martin Rudalics <rudalics@gmx.at>
9803
9804 * window.el (window-state-ignored-parameters): Remove variable.
9805 (window--state-get-1): Rename argument MARKERS to IGNORE.
9806 Handle persistent window parameters. Make copy of clone-of
9807 parameter only if requested. (Bug#10348)
9808 (window--state-put-2): Install a window parameter only if it has
9809 a non-nil value or an existing parameter shall be overwritten.
9810
97912def
MA
98112012-01-15 Michael Albinus <michael.albinus@gmx.de>
9812
9813 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
9814
688070a5
EZ
98152012-01-14 Eli Zaretskii <eliz@gnu.org>
9816
9817 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
9818 don't pass the (nil) value of `upnode' to string-match.
9819
301afadc
CY
98202012-01-14 Chong Yidong <cyd@gnu.org>
9821
9822 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 9823 Fix values recognized by the cursorBlink resource.
301afadc 9824
9e5788aa
PE
98252012-01-14 Paul Eggert <eggert@cs.ucla.edu>
9826
9827 * epg.el (epg--make-temp-file): Avoid permission race condition
9828 when running on old Emacs versions (bug#10403).
9829
3cdb7f5a
GM
98302012-01-14 Glenn Morris <rgm@gnu.org>
9831
9832 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
9833
8c82b1b4
AM
98342012-01-13 Alan Mackenzie <acm@muc.de>
9835
9836 Fix filling for when filladapt mode is enabled.
9837
9838 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
9839 c-mask-paragraph, pass in `fill-paragraph' rather than
9840 `fill-region-as-paragraph'. (This is a reversion of a previous
9841 change.)
eb864a71
LM
9842 * progmodes/cc-mode.el (c-basic-common-init):
9843 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 9844
e517eda4
GM
98452012-01-13 Glenn Morris <rgm@gnu.org>
9846
1498536e
GM
9847 * dired.el (dired-switches-escape-p): New function.
9848 (dired-insert-directory): Use dired-switches-escape-p.
9849 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
9850
e517eda4
GM
9851 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
9852
328f984d
GM
98532012-01-12 Glenn Morris <rgm@gnu.org>
9854
9855 * mail/sendmail.el (mail-mode): Update paragraph-separate for
9856 changes in adaptive-fill-regexp. (Bug#10276)
9857
2cc769a8
AM
98582012-01-11 Alan Mackenzie <acm@muc.de>
9859
9860 Fix Emacs bug #10463 - put `widen's around the critical spots.
9861
1d00653d 9862 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
9863 widen around each invocation of c-state-pp-to-literal. Remove an
9864 unused let variable.
9865
e52c37fa
GM
98662012-01-11 Glenn Morris <rgm@gnu.org>
9867
9868 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 9869 Doc fix.
e52c37fa 9870
96f8741e
CY
98712012-01-10 Chong Yidong <cyd@gnu.org>
9872
1d00653d
SM
9873 * net/network-stream.el (network-stream-open-starttls):
9874 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
9875 response to the capability command.
9876
b09a806e
GM
98772012-01-10 Glenn Morris <rgm@gnu.org>
9878
9879 * mail/unrmail.el (unrmail): Tweak previous change.
9880
7655cb66
CY
98812012-01-09 Chong Yidong <cyd@gnu.org>
9882
9883 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
9884
9d5a8f0b
AM
98852012-01-08 Alan Mackenzie <acm@muc.de>
9886
9887 Optimise font locking in long enum definitions.
9888
9889 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
9890 arm to a cond form to handle enums.
9891 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
9892 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
9893
9a0115ab 98942012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
9895
9896 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 9897 (Bug#10401)
6bb72cbd 9898
f186bb95
LMI
98992012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
9900
29232a68
LMI
9901 * faces.el (set-face-attribute): Clarify the meaning of the nil
9902 frame (bug#10294).
9903
4e5d086d
LMI
9904 * subr.el (with-selected-frame): Mention that the selected frame
9905 is restored (bug#9980).
9906
8e66aebe
LMI
9907 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
9908 (bug#9759).
9909
cd394be1 9910 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
9911 (password-read): Don't autoload unused function.
9912
adf4e762
JB
99132012-01-07 Juanma Barranquero <lekktu@gmail.com>
9914
9915 * progmodes/which-func.el (which-func-mode): Turn into a
9916 non-interactive function and mark as obsolete (bug#10428).
9917
89bd9ccd
CY
99182012-01-06 Chong Yidong <cyd@gnu.org>
9919
9920 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
9921 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
9922 functions, along with 1 and -1.
9923
4afee9d5
EZ
99242012-01-06 Eli Zaretskii <eliz@gnu.org>
9925
9926 * time.el (display-time-load-average)
9927 (display-time-default-load-average): Doc fixes. See the thread
9928 starting at
9929 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
9930 for the details.
9931
536aea70
GM
99322012-01-06 Glenn Morris <rgm@gnu.org>
9933
665ae865
GM
9934 * mail/unrmail.el (unrmail): Give an explicit error if the input file
9935 has no messages. (Bug#10377)
9936
c869783d
GM
9937 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
9938 than Info-edit. (Bug#10385)
9939
2bb4227e
GM
9940 * time.el (display-time-load-average, display-time-next-load-average):
9941 Doc fixes.
9942
7d5944b9
GM
9943 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
9944 local setting of buffer-read-only to the input buffer. (Bug#10419)
9945
536aea70
GM
9946 * calendar/calendar.el (calendar-mode):
9947 Locally set scroll-margin to 0. (Bug#10379)
9948
7dccca16
UM
99492012-01-06 Ulrich Mueller <ulm@gentoo.org>
9950
9951 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
9952
afbb7930
GM
99532012-01-05 Glenn Morris <rgm@gnu.org>
9954
9955 * eshell/em-unix.el (diff-no-select): Autoload it.
9956 (eshell/diff): Use diff-no-select. (Bug#10420)
9957
04482335
CY
99582012-01-05 Chong Yidong <cyd@gnu.org>
9959
7baca3bc
CY
9960 * shell.el (shell-dynamic-complete-functions): Revert last change.
9961 (shell-command-completion-function): New function.
9962 (shell-completion-vars): Use it to implement
9963 shell-completion-execonly (Bug#10417).
9964
04482335
CY
9965 * custom.el (enable-theme): Don't set custom-safe-themes.
9966
1d00653d
SM
9967 * cus-theme.el (custom-theme-merge-theme):
9968 Ignore custom-enabled-themes and custom-safe-themes.
04482335 9969
bb5aa5d6
MM
99702012-01-05 Michael R. Mauger <mmaug@yahoo.com>
9971
9972 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
9973 first prompt in `sql-interacive-mode'.
9974 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 9975 keywords.
6df6ae42 9976 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
9977 (sql-product-interactive): Bug fix: Set `sql-buffer' in
9978 context of original buffer. Invoke `sql-login-hook'.
9979
a7183d7c
EZ
99802012-01-04 Eli Zaretskii <eliz@gnu.org>
9981
9982 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
9983 letters in cite-prefix.
9984
a1eacd1e
LMI
99852012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9986
9987 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
9988
787cdb34
CY
99892012-01-03 Chong Yidong <cyd@gnu.org>
9990
1d00653d
SM
9991 * shell.el (shell-dynamic-complete-functions):
9992 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
9993 comint-filename-completion first (Bug#10417).
9994
30710442
RS
99952012-01-02 Richard Stallman <rms@gnu.org>
9996
9997 * battery.el (battery-status-function):
9998 Detect when to use battery-yeeloong-sysfs.
9999 (battery-echo-area-format): Add string for Yeeloong.
10000 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
10001 (battery-yeeloong-sysfs): New function.
10002
f75bfc33
CY
100032012-01-02 Chong Yidong <cyd@gnu.org>
10004
10005 * dirtrack.el (dirtrack-list): Eliminate unused third element.
10006 (dirtrack): Merge code for handling relative filenames in prompt
10007 from shell-dir-cookie-watcher.
10008 (dirtrack-debug-message): New arg to avoid excess format calls.
10009
10010 * shell.el (shell-dir-cookie-re): Variable deleted.
10011 (shell-dir-cookie-watcher): Function deleted.
10012 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
10013 with dirtrack-mode.
10014
651e947e
EZ
100152012-01-01 Eli Zaretskii <eliz@gnu.org>
10016
1d00653d
SM
10017 * term/w32-win.el (dynamic-library-alist) <gnutls>:
10018 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
10019 libgnutls-26.dll.
10020
94d4c7dc
AS
100212011-12-31 Andreas Schwab <schwab@linux-m68k.org>
10022
10023 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
10024
8d43f3cd
EZ
100252011-12-31 Eli Zaretskii <eliz@gnu.org>
10026
10027 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
10028 headers of non-MIME messages, when rmail-enable-mime is non-nil.
10029
98c8795a
MA
100302011-12-29 Michael Albinus <michael.albinus@gmx.de>
10031
10032 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
10033 also for alternative shells.
10034 (tramp-open-connection-setup-interactive-shell): Check, whether
10035 the shell is a busybox.
10036 (tramp-send-command): Don't suppress multiple prompts for
10037 busyboxes, it hurts.
10038
51281b32
CY
100392011-12-28 Chong Yidong <cyd@gnu.org>
10040
10041 * progmodes/gdb-mi.el (gdb-get-source-file-list)
10042 (gdb-get-source-file): Move mode line update to
10043 gdb-get-source-file (Bug#10087).
10044
2170cb53
CY
100452011-12-25 Chong Yidong <cyd@gnu.org>
10046
10047 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
10048 gud-gdb-marker-filter without taking it as an argument.
10049 (gud-gdb-run-command-fetch-lines): Caller changed.
10050 (gud-gdb-completion-function): New variable.
10051 (gud-gdb-completion-at-point): Use it.
10052 (gud-gdb-completions-1): Split from gud-gdb-completions.
10053
10054 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
10055 function as separate arguments.
10056 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
10057 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
10058 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
10059 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
10060 (gdb-stopped, def-gdb-auto-update-trigger)
10061 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
10062 (gdb-get-changed-registers, gdb-get-main-selected-frame):
10063 Callers changed.
2170cb53
CY
10064 (gud-gdbmi-completions): New function.
10065 (gdb): Use it for generating the completion table.
10066
be8b11bb
AM
100672011-12-24 Alan Mackenzie <acm@muc.de>
10068
10069 Introduce a mechanism to widen the region used in context font
1d00653d 10070 locking. Use this to protect declarations from losing their contexts.
be8b11bb 10071
1d00653d
SM
10072 * progmodes/cc-langs.el (c-before-font-lock-functions):
10073 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 10074 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
10075 functions to be run just before context (etc.) font locking.
10076
10077 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 10078 New, functionality extracted from
be8b11bb 10079 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 10080 (c-in-after-change-fontification): New variable.
be8b11bb
AM
10081 (c-after-change): Set c-in-after-change-fontification.
10082 (c-set-fl-decl-start): Rejig its interface, so it can be called
10083 from both after-change and context fontifying.
b81d40f0
JB
10084 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
10085 New functions.
10086 (c-standard-font-lock-fontify-region-function): New variable.
10087 (c-font-lock-fontify-region): New function.
be8b11bb 10088
341cf6ac
JL
100892011-12-24 Juri Linkov <juri@jurta.org>
10090
10091 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
10092 (Bug#10348)
10093
bffcee0a
MA
100942011-12-23 Michael Albinus <michael.albinus@gmx.de>
10095
10096 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
10097 existence of source file. (Bug#10325)
10098
cb5e207c
AM
100992011-12-23 Alan Mackenzie <acm@muc.de>
10100
10101 Fix unstable fontification inside templates.
10102
b81d40f0
JB
10103 * progmodes/cc-langs.el (c-before-font-lock-functions):
10104 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
10105 additionally has c-set-fl-decl-start. The other languages (apart
10106 from AWK) have that as a single entry.
10107
b81d40f0
JB
10108 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
10109 The functionality for "local" declarations has been extracted to
cb5e207c
AM
10110 c-set-fl-decl-start.
10111
b81d40f0
JB
10112 * progmodes/cc-mode.el (c-common-init, c-after-change):
10113 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
10114 (c-set-fl-decl-start): New function, extracted from
10115 c-font-lock-enclosing-decls and enhanced.
10116
60ff536c
JB
101172011-12-23 Juanma Barranquero <lekktu@gmail.com>
10118
10119 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
10120
1c4757d6
JL
101212011-12-22 Juri Linkov <juri@jurta.org>
10122
10123 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
10124
d031f2c7
CY
101252011-12-22 Chong Yidong <cyd@gnu.org>
10126
10127 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
10128
bace743a
DA
101292011-12-21 Drew Adams <drew.adams@oracle.com>
10130
10131 * files.el (file-remote-p): Fix docstring. (Bug#10319)
10132
728a1f2b
JC
101332011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
10134
10135 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
10136
0d373f73
TZ
101372011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
10138
fec0aaa4
TZ
10139 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
10140 highlighting and support. Fix up comments for capitalization.
10141 (cfengine-mode-debug): New var.
10142 (cfengine3-mode): Change the modeline indicator to "CFE3".
10143 (cfengine3-font-lock-keywords): Improve defun highlighting.
10144 (cfengine2-actions): Rename from `cfengine-actions'.
10145 (cfengine2-font-lock-keywords): Rename from
10146 `cfengine-font-lock-keywords'.
10147 (cfengine2-imenu-expression): Rename from
10148 `cfengine-imenu-expression'.
10149 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
10150 (cfengine2-beginning-of-defun): Rename from
10151 `cfengine-beginning-of-defun'.
10152 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
10153 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
10154 (cfengine2-mode): Rename from `cfengine-mode'. Change the
10155 modeline indicator to "CFE2".
10156 (cfengine-mode): Defalias to `cfengine-auto-mode'.
10157 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 10158
bc86f573
CY
101592011-12-21 Chong Yidong <cyd@gnu.org>
10160
10161 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
10162 filename argument.
10163
d45ba96b
MR
101642011-12-20 Martin Rudalics <rudalics@gmx.at>
10165
10166 * window.el (window-normalize-buffer-to-display): Remove.
10167 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
10168
a6198c90
CY
101692011-12-19 Chong Yidong <cyd@gnu.org>
10170
10171 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
10172 Don't signal an error in a predicate function; return non-nil.
10173 (vc-dir-mark-file): Move the error here.
10174 (vc-dir-mark-unmark): If acting on the region, keep going if one
10175 of the entries cannot be marked/unmarked.
10176 (vc-dir-mark-all-files): If current entry is a directory, mark
10177 only child files, as documented.
10178
34c5fb55
VB
101792011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
10180
10181 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
10182 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
10183 addition.
10184
c803b2b7
JD
101852011-12-18 Jan Djärv <jan.h.d@swipnet.se>
10186
10187 * term/ns-win.el (ns-get-selection-internal)
10188 (ns-store-selection-internal): Declare.
1154d12e
JB
10189 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
10190 Declare as obsolete.
10191 (ns-get-pasteboard, ns-paste-secondary):
10192 Use ns-get-selection-internal.
41e9b956 10193 (ns-set-pasteboard, ns-copy-including-secondary):
1154d12e 10194 Use ns-store-selection-internal.
c803b2b7 10195
9cff91f8 101962011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
10197
10198 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 10199 (vc-deduce-fileset): Doc fix.
99a289d9 10200
f16c898a
AS
102012011-12-16 Andreas Schwab <schwab@linux-m68k.org>
10202
10203 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
10204
763237c4
SS
102052011-12-13 Sam Steingold <sds@gnu.org>
10206
10207 * man.el (Man-getpage-in-background): When running under a
10208 window-system, ignore $MANWIDTH and $COLUMNS.
10209
5fc1c122
KH
102102011-12-15 Kenichi Handa <handa@m17n.org>
10211
10212 * language/ethio-util.el: Change coding tag to utf-8-emacs.
10213 (setup-ethiopic-environment-internal): Comment out key-binding for
10214 ethio-toggle-punctuation.
10215
13d49cbb
AM
102162011-12-13 Alan Mackenzie <acm@muc.de>
10217
898169a2
AM
10218 Add the switch statement to AWK Mode.
10219
7a71b18d 10220 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
10221 "default" to the keywords regexp.
10222
7a71b18d 10223 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 10224 expression as the rest.
1d00653d
SM
10225 (c-nonlabel-token-key): Allow string literals for AWK.
10226 Refactor for the other modes.
898169a2 10227
13d49cbb 10228 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 10229 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
10230 routines. Limit backward searching in c-font-lock-enclosing.decl.
10231
10232 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
10233 pp-state and literal type in addition to the limits.
1d00653d 10234 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 10235 (c-state-literal-at): Use the above new defun.
1d00653d
SM
10236 (c-slow-in-literal, c-fast-in-literal): Remove.
10237 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
10238
10239 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
10240 being in a literal. Add a limit for backward searching.
10241
10242 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
10243 c-slow-in-literal.
10244
15e0efc7
SM
102452011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
10246
10247 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
10248
454592a6
MR
102492011-12-13 Martin Rudalics <rudalics@gmx.at>
10250
10251 * window.el (delete-other-windows): Use correct frame in call to
10252 window-with-parameter.
10253
87393f26
DP
102542011-12-12 Daniel Pfeiffer <occitan@t-online.de>
10255
10256 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
10257 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
10258 (makefile-gmake-statements, makefile-makepp-statements):
10259 Use it and add new makepp keywords.
10260 (makefile-makepp-font-lock-keywords): Add new patterns.
10261 (makefile-match-function-end): Match new [...] and [[...]].
10262
11636b22
JB
102632011-12-11 Juanma Barranquero <lekktu@gmail.com>
10264
10265 * ses.el (ses-call-printer-return, ses-cell-property-get)
10266 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
10267 (ses-create-cell-variable, ses-reset-header-string)
10268 (ses-cell-set-formula, ses-repair-cell-reference-all)
10269 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
10270 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
10271 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
10272 (ses-aset-with-undo, ses-load, ses-truncate-cell)
10273 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
10274 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
10275 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
10276 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
10277 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
10278 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
10279 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
10280 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
10281
cf018193
VB
102822011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
10283
10284 * ses.el: The overall change is to add cell renaming, that is
10285 setting fancy names for cell symbols other than name matching
10286 "\\`[A-Z]+[0-9]+\\'" regexp .
10287 (ses-create-cell-variable): New defun.
10288 (ses-relocate-formula): Relocate formulas only for cells the
10289 symbols of which are not renamed, i.e. symbols whose names do not
10290 match regexp "\\`[A-Z]+[0-9]+\\'".
10291 (ses-relocate-all): Relocate values only for cells the symbols of
10292 which are not renamed.
10293 (ses-load): Create cells variables as the (ses-cell ...) are read,
10294 in order to check row col consistency with cell symbol name only
10295 for cells that are not renamed.
10296 (ses-replace-name-in-formula): New defun.
10297 (ses-rename-cell): New defun.
10298
ee957461
CY
102992011-12-11 Chong Yidong <cyd@gnu.org>
10300
10301 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
10302 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
10303
9a9e9ef0
MR
103042011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
10305
10306 * window.el (other-window): Fix docstring.
10307
92a8eba5
EZ
103082011-12-10 Eli Zaretskii <eliz@gnu.org>
10309
10310 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
10311 `from' or `to' address before taking its substring.
10312 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
10313 encoded name is chopped in the middle of the encoded string, and
10314 thus displayed encoded.
10315
e152e577
JB
103162011-12-10 Juanma Barranquero <lekktu@gmail.com>
10317
10318 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
10319
e5d84bfe
EZ
103202011-12-10 Eli Zaretskii <eliz@gnu.org>
10321
10322 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
10323 to use texinfo-update-node and commands that call it if the
10324 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 10325 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
10326 (texinfo-all-menus-update, texinfo-master-menu)
10327 (texinfo-update-node, texinfo-every-node-update)
10328 (texinfo-multiple-files-update): Doc fix. Warn against updating
10329 all the @node lines.
10330 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
10331 argument is numeric. Explain better in the doc string what the
10332 function really does.
10333 (texinfo-insert-master-menu-list): Improve the error message
10334 displayed if there's no menu in the Top node.
10335 (Bug#2975) See also this thread:
e5d84bfe
EZ
10336 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
10337
1d84e9bb
MG
103382011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
10339
10340 * speedbar.el (speedbar-supported-extension-expressions):
10341 Add .adb and .ads, commonly used for Ada source code (bug#10256).
10342
382c953b
JB
103432011-12-09 Juanma Barranquero <lekktu@gmail.com>
10344
10345 * printing.el (pr-mode-alist):
10346 * simple.el (filter-buffer-substring-functions)
10347 (completion-list-insert-choice-function):
10348 * window.el (window-with-parameter, window-atom-root)
10349 (window-sides-slots, window-size-fixed, window-min-delta)
10350 (window-max-delta, window--resize-mini-window)
10351 (window--resize-child-windows-normal, window-tree)
10352 (delete-other-windows, quit-window, split-window)
10353 (display-buffer-record-window, special-display-buffer-names)
10354 (special-display-regexps, special-display-popup-frame)
10355 (same-window-p, split-window-sensibly)
10356 (display-buffer-overriding-action, display-buffer-alist)
10357 (display-buffer-base-action, display-buffer, switch-to-buffer)
10358 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
10359 (fit-window-to-buffer, recenter-positions)
10360 (mouse-autoselect-window-state, mouse-autoselect-window-select):
10361 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
10362 and remove unneeded backslashes in docstrings.
10363
39c9faef
SM
103642011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
10365
98449af8
SM
10366 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
10367
39c9faef
SM
10368 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
10369 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
10370 end in ".mk".
10371 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
10372 when reading the makefile (bug#10116).
10373
86ed9fdc
SM
103742011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
10375
10376 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
10377 (bug#10116).
10378
5580f89d
GM
103792011-12-06 Glenn Morris <rgm@gnu.org>
10380
10381 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
10382
28d3917c
CY
103832011-12-06 Chong Yidong <cyd@gnu.org>
10384
10385 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
10386
a98edce9
JB
103872011-12-06 Juanma Barranquero <lekktu@gmail.com>
10388
10389 * textmodes/table.el (table-shorten-cell): Fix typo.
10390
e65adfac
CG
103912011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
10392
10393 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
10394
71cc0b74
EZ
103952011-12-05 Eli Zaretskii <eliz@gnu.org>
10396
10397 * descr-text.el (describe-char): Fix display of strong
10398 right-to-left characters and directional embeddings and overrides.
10399
10400 * simple.el (what-cursor-position): Fix display of codepoints of
10401 strong right-to-left characters.
10402
315bc30d
CY
104032011-12-05 Chong Yidong <cyd@gnu.org>
10404
10405 * faces.el (read-color): Doc fix.
10406
58a70b94
GM
104072011-12-05 Glenn Morris <rgm@gnu.org>
10408
10409 * align.el (align--set-marker): Add doc-string.
10410 Don't try to move something that is not a marker. (Bug#10216)
10411
5158face
GM
104122011-12-04 Glenn Morris <rgm@gnu.org>
10413
10414 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
10415 overly zealous deletion of trailing whitespace.
10416
520fca41
JB
104172011-12-04 Juanma Barranquero <lekktu@gmail.com>
10418
10419 * server.el (server-delete-client): On Windows, do not try to delete
10420 the only terminal.
10421 (server-process-filter): On Windows, treat requests for a tty frame as
10422 if they were for a GUI frame if the running server is in GUI mode.
10423
5e605a2e
GM
104242011-12-03 Glenn Morris <rgm@gnu.org>
10425
10426 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
10427
5c3fe83f
SM
104282011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
10429
6f5e57e7
SM
10430 * electric.el: Streamline electric-indent's hook.
10431 (electric-indent-chars): Revert to simple list.
10432 (electric-indent-functions): New var.
10433 (electric-indent-post-self-insert-function): Use it.
10434
5c3fe83f
SM
10435 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
10436 there's no inferior buffer (bug#10196).
10437 (prolog-consult-compile): Don't use toggle-read-only.
10438
6bdac736
MA
104392011-12-02 Michael Albinus <michael.albinus@gmx.de>
10440
10441 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
10442 interrupt. (Bug#10187)
10443
6131ba7f
SM
104442011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
10445
99c79fee
SM
10446 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
10447 (bug#9160).
10448
6131ba7f
SM
10449 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
10450 (bug#10191).
10451
cb0a02ea
JL
104522011-12-02 Juri Linkov <juri@jurta.org>
10453
10454 * info.el (Info-search): Display "end of manual" when Isearch
10455 reaches the end of single-file Info manual. (Bug#9918)
10456
66e0570c
EZ
104572011-12-02 Eli Zaretskii <eliz@gnu.org>
10458
10459 * isearch.el (isearch-message-prefix): Run the input method part
10460 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
10461
02b16839
JL
104622011-12-02 Juri Linkov <juri@jurta.org>
10463
10464 * isearch.el (isearch-occur): Use `word-search-regexp' for
10465 `isearch-word'.
10466 (isearch-search-and-update): Add condition for `isearch-word' and
10467 call `word-search-regexp'. (Bug#10145)
10468
0b950688
GM
104692011-12-01 Glenn Morris <rgm@gnu.org>
10470
10471 * eshell/em-hist.el (eshell-hist-initialize):
10472 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 10473 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 10474
9505c3c7
SM
104752011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
10476
10477 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
10478
1bbe96b2 104792011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 10480
a1beca85
SM
10481 * progmodes/verilog-mode.el (verilog-pretty-expr):
10482 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
10483 verilog, such as += *= and the like.
10484 (verilog-assignment-operator-re): Regular expression to find the
10485 assigment operator in a verilog assignment.
10486 (verilog-assignment-operation-re): Regular expression to find an
10487 assignment statement for pretty-expr.
10488 (verilog-in-attribute-p): Query returns true if point is in an
10489 attribute context; used to skip these for expression line up from
10490 pretty-expr.
10491 (verilog-in-parameter-p): Query returns true if point is in an
10492 parameter definition context; used to skip these for expression
10493 line up from pretty-expr.
10494 (verilog-in-parenthesis-p): Query returns true if point is in a
10495 parenthetical expression, specifically ( ) but not [ ] or { };
10496 used by pretty-expr.
10497 (verilog-just-one-space): If there is no space, don't add one.
10498 (verilog-get-lineup-indent-2): Specifically skip just attribute
10499 contexts for expression lineup, rather than skipping all
10500 parenthetical expressions.
10501 (verilog-calculate-indent): Fix comment, and fix indent.
10502 (verilog-do-indent): Indent declarations in lists (suggested by
10503 Joachim Lechner).
10504 (verilog-mode-abbrev-table): Populate abbrev mode with the various
10505 skeleton items.
10506 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
10507 by Alain Mellan).
10508
1bbe96b2 105092011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
10510
10511 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
10512 parameters with embedded comments. Reported by Ray Stevens.
10513 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
10514 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
10515 Reported by Tim Holt.
10516 (verilog-auto): Fix AUTOing a upper module then AUTOing module
10517 instantiated by upper module causing wrong expansion until AUTOed a
10518 second time. Reported by K C Buckenmaier.
10519 (verilog-diff-auto): Fix showing .* as a difference when
10520 `verilog-auto-star-save' off. Reported by Dan Dever.
10521 (verilog-auto-reset, verilog-read-always-signals)
10522 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
10523 temporary signals in reset list if
10524 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
10525 style to each signal's assignment type, bug381.
10526 Reported by Thomas Esposito.
6288f0ca
WS
10527 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
10528 (verilog-uvm-statement-re): Support UVM indentation and
10529 highlighting, with old OVM keywords only.
a1beca85 10530 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
10531 Support AUTOTIEOFF creating non-wire data types.
10532 Suggested by Jonathan Greenlaw.
6288f0ca
WS
10533 (verilog-auto-insert-lisp, verilog-delete-to-paren)
10534 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
10535 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
10536 (verilog-read-sub-decls, verilog-read-sub-decls-line):
10537 Fix mismatching parenthesis inside commented out code when deleting
382c953b 10538 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
10539 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
10540 non-numeric vector width. Reported by Alex Reed.
10541 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 10542 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
10543 (verilog-auto-delete-trailing-whitespace):
10544 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
10545 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
10546 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
10547 Fix verilog-scan-cache corruption when running user AUTO expansion
10548 hooks that call indentation routines.
10549 (verilog-simplify-range-expression): Fix typo ignoring lower case
10550 identifiers.
10551 (verilog-delete-auto): Fix delete-autos to also remove user created
10552 automatics, as long as they start with AUTO.
10553 (verilog-batch-diff-auto, verilog-diff-auto)
10554 (verilog-diff-function): Add `verilog-diff-auto' and bind to
10555 "C-c?" to report differences in AUTO expansion, ignoring spaces.
10556 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
10557 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
10558 (verilog-re-search-forward-quick, verilog-syntax-ppss):
10559 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
10560 is disabled and its cache will get corrupt, causing AUTOS not to
10561 expand. Instead use only -quick functions.
10562 (verilog-scan-region): Fix scanning over escaped quotes.
10563 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
10564 (verilog-re-search-backward-quick)
10565 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
10566 related functions now ignore strings, to fix misparsing of strings
10567 with magic comments embedded in them.
a1beca85
SM
10568 (verilog-read-auto-template):
10569 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
10570 Reported by Brad Dobbie.
10571 (verilog-read-auto-template):
10572 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 10573 Reported by Brad Dobbie.
6288f0ca
WS
10574 (verilog-auto-inst, verilog-auto-inst-param)
10575 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
10576 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
10577 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
10578 debugging templates without merge conflicts, bug357.
10579 Reported by Brad Dobbie.
10580 (verilog-read-auto-template):
10581 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
10582 Reported by Brad Dobbie.
10583 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
10584 abbrevs so user won't be asked to save.
10585 (verilog-read-auto-lisp-present): Fix to start at beginning of
10586 buffer in case called outside of verilog-auto.
10587 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
10588 to "X-2". Reported by Matthew Myers.
10589 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
10590 all inputs from module templates. Reported by Leith Johnson.
10591 (verilog-module-inside-filename-p): Fix locating programs as with
10592 modules.
10593 (verilog-auto-inst-port): Fix vl-width expressions when using
10594 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
10595 (verilog-decls-get-regs, verilog-decls-get-signals,
10596 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
10597 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
10598 verilog-read-decls): Combine reg and wire structures into one var
10599 structure to represent SystemVerilog concepts.
10600 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
10601 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
10602 (verilog-auto-wire-type, verilog-insert-definition):
10603 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
10604 SystemVerilog "logic" keyword instead of "wire"/"reg".
10605 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
10606 to declares outputs that also have assignments (presumably in an
a1beca85
SM
10607 ifdef or generate if so there's not a driver conflict).
10608 Reported by Matthew Myers.
10609 (verilog-auto-declare-nettype, verilog-insert-definition):
10610 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
10611 `default_nettype none. Reported by Julian Gorfajn.
10612 (verilog-read-always-signals-recurse, verilog-read-decls)
10613 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
10614 malformed end statement, bug325. Reported by Joshua Wise and
10615 Andrew Drake.
10616 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
10617 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
10618 when expanding .* in interfaces, bug320.
10619 Reported by Pierre-David Pfister.
6288f0ca 10620 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
10621 name and open parenthesis, bug317.
10622 Reported by Pierre-David Pfister.
6288f0ca
WS
10623 (verilog-simplify-range-expression): Fix simplification of
10624 multiplications inside AUTOWIRE connections, bug303.
10625 (verilog-auto-inst-port): Support parameter expansion in
10626 multidimensional arrays.
10627 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
10628 after "assert property". Reported by Julian Gorfajn.
10629 (verilog-simplify-range-expression): Fix "couldn't merge" errors
10630 with multiplication, bug303.
10631 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
10632 Reported by Jan Frode Lonnum.
10633
1bbe96b2
GM
106342011-11-30 Juanma Barranquero <lekktu@gmail.com>
10635
10636 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
10637 (hfy-shell-file-name, hfy-shell):
10638 * international/fontset.el (x-decompose-font-name): Fix typos.
10639
106402011-11-29 Ken Brown <kbrown@cornell.edu>
10641
10642 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
10643 (gdb-version): Remove defvar.
10644 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
10645 (gdb-gud-context-command, gdb-non-stop-handler)
10646 (gdb-current-context-command, gdb-stopped): Use it.
10647 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
10648 (gdb-non-stop-handler): Don't enable pretty-printing here.
10649 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
10650 non-stop mode. Use the following.
10651 (gdb-check-target-async): New defun.
10652 (gud-watch, gdb-stopped): Fix whitespace.
10653 (gdb-get-source-file): Don't try to display the source file if
10654 `gdb-main-file' is nil.
10655
106562011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
10657
10658 * align.el: Try to generate fewer markers (bug#10047).
10659 (align--set-marker): New macro.
10660 (align-region): Use it.
10661
c935221f
SM
106622011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
10663
10664 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
10665
e70b5064
CY
106662011-11-29 Chong Yidong <cyd@gnu.org>
10667
10668 * indent.el (indent-for-tab-command, indent-according-to-mode):
10669 Doc fix.
10670 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
10671
f3af92b7
MA
106722011-11-29 Michael Albinus <michael.albinus@gmx.de>
10673
10674 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
10675 aware of remote file names. (Bug#10124)
10676
ed472be9
CY
106772011-11-29 Chong Yidong <cyd@gnu.org>
10678
10679 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
10680
24510c22
SM
106812011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
10682
10683 * files.el (find-file): Don't use force-same-window (bug#10144).
10684 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
10685 use pop-to-buffer if the selected window can't be used.
10686 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
10687
c60c3703
EZ
106882011-11-28 Eli Zaretskii <eliz@gnu.org>
10689
10690 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
10691 special-mode-map.
10692
e95def75
CY
106932011-11-28 Chong Yidong <cyd@gnu.org>
10694
10695 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
10696
c3f1c606
NR
106972011-11-27 Nick Roberts <nickrob@snap.net.nz>
10698
10699 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
10700 gdb-get-source-file-list on gdb-create-source-file-list.
10701
00db469c
EZ
107022011-11-26 Eli Zaretskii <eliz@gnu.org>
10703
10704 * whitespace.el (whitespace-newline): Use a different foreground
10705 color for 16-color light-background displays.
10706
4ad3bc2a
CY
107072011-11-24 Chong Yidong <cyd@gnu.org>
10708
10709 * window.el (display-buffer--special-action): Doc fix.
10710
e9fce1ac
JB
107112011-11-25 Juanma Barranquero <lekktu@gmail.com>
10712
10713 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
10714 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
10715 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
10716 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
10717 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
10718 (avl-tree-stack-first):
10719 * emacs-lisp/cconv.el (cconv--analyse-use):
10720 * net/gnutls.el (gnutls-negotiate): Fix typos.
10721
cb825e5d
GM
107222011-11-24 Glenn Morris <rgm@gnu.org>
10723
3adbe224
GM
10724 * lpr.el (lpr-windows-system, lpr-lp-system):
10725 * mail/binhex.el (binhex-begin-line):
10726 * progmodes/grep.el (grep-history, grep-find-history):
10727 * textmodes/flyspell.el:
10728 * vc/pcvs-defs.el (cvs-global-menu):
10729 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
10730 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
10731 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
10732
321decc8
GM
10733 * net/tls.el: Fix case of "GnuTLS".
10734
420b63ad
GM
10735 * paths.el (rmail-file-name): Format doc-string for make-docfile.
10736
cb825e5d
GM
10737 * version.el (emacs-build-system): Give it a doc-string.
10738
a0649f08
JL
107392011-11-24 Juri Linkov <juri@jurta.org>
10740
10741 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
10742
c0bc0fd4
GM
107432011-11-24 Glenn Morris <rgm@gnu.org>
10744
10745 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
10746 if called on a non-mime message just toggle the headers. (Bug#8006)
10747
20db1522
JB
107482011-11-24 Juanma Barranquero <lekktu@gmail.com>
10749
10750 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
10751 (allout-lead-with-comment-string, allout-structure-deleted-hook)
10752 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
10753 (allout-rebullet-heading, allout-open-sibtopic)
10754 (allout-toggle-current-subtree-encryption)
10755 (allout-toggle-subtree-encryption, allout-encrypt-string)
10756 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
10757 (allout-distinctive-bullets-string, allout-auto-activation):
10758 * window.el (window-normalize-buffer-to-display):
10759 * progmodes/verilog-mode.el (verilog-batch-indent):
10760 * textmodes/bibtex.el (bibtex-field-braces-opt)
10761 (bibtex-field-strings-opt):
10762 * vc/cvs-status.el (cvs-tree-merge):
10763 Fix typos.
10764
7262a87c
MA
107652011-11-23 Michael Albinus <michael.albinus@gmx.de>
10766
10767 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
10768 `non-essential' to t, in order to avoid remote connections.
10769
283430a1
EZ
107702011-11-23 Eli Zaretskii <eliz@gnu.org>
10771
a1beca85
SM
10772 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
10773 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
10774 case-insensitively.
10775
d2992a38
ML
107762011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
10777
10778 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
10779
50419064
GM
107802011-11-23 Glenn Morris <rgm@gnu.org>
10781
da94eca1
GM
10782 * paths.el (rmail-file-name): Reformat the doc-string so that it
10783 is picked up.
10784
9aac4de2
GM
10785 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
10786 (rmail-auto-file): Ignore case in the "special" field names,
10787 as mail-fetch-field does for all others.
10788
8038d2d2
GM
10789 * mail/rmail.el (rmail-forward):
10790 * mail/rmailkwd.el (rmail-set-label):
10791 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
10792 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
10793
f3fe222a
GM
10794 * mail/rmail.el (rmail-current-message): Doc fix.
10795
50419064
GM
10796 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
10797
28109f49
SM
107982011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
10799
10800 * server.el (server-eval-and-print): Allow C-g (bug#6585).
10801
394c65f1
GM
108022011-11-22 Glenn Morris <rgm@gnu.org>
10803
10804 * mail/rmailmm.el (test-rmail-mime-handler)
10805 (test-rmail-mime-bulk-handler)
10806 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
10807
f2a0aa3a
JL
108082011-11-21 Juri Linkov <juri@jurta.org>
10809
1154d12e
JB
10810 * calc/calc.el (calc-read-key-sequence):
10811 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 10812
9c34a344
LMI
108132011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10814
10815 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
10816 Tell the caller that the next line needs recomputation, even
10817 though it doesn't start a sexp (bug#10094).
10818
f04a3be9
SM
108192011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
10820
10821 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
10822
7978747f
SM
108232011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
10824
f04a3be9
SM
10825 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
10826 Use force-same-window.
7978747f 10827
fe7a3057
JB
108282011-11-20 Juanma Barranquero <lekktu@gmail.com>
10829
10830 * descr-text.el (describe-char-unicode-data):
10831 * json.el (json-string-escape):
10832 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
10833 (Footnote-unicode, Footnote-style-p):
10834 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
10835
24901d61
CY
108362011-11-20 Chong Yidong <cyd@gnu.org>
10837
10838 * window.el (replace-buffer-in-windows): Restore interactive spec.
10839
bac7ff22
SM
108402011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
10841
24f3d7b9
SM
10842 * electric.el (electric-indent-mode): Fix last change (too optimistic).
10843
bac7ff22
SM
10844 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
10845 (byte-compile-global-not-obsolete-vars): New var.
10846 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
10847 Use it.
10848 (byte-compile-warn-obsolete): Align text with the one in *Help*.
10849
cd1181db
JB
108502011-11-20 Juanma Barranquero <lekktu@gmail.com>
10851
10852 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
10853 * progmodes/pascal.el (electric-pascal-equal):
10854 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
10855 * xml.el (xml-substitute-special): Fix typos.
10856
7fb18e9e
GM
108572011-11-20 Glenn Morris <rgm@gnu.org>
10858
10859 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
10860 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
10861 Doc fixes.
10862 (rmail-decode-mime-charset): Mark as obsolete.
10863
10864 * mail/rmailsum.el (rmail-message-regexp-p-1):
10865 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
10866 Before using mime functions, check they are set. (Bug#10077)
10867
d5a6b3ba
JL
108682011-11-19 Juri Linkov <juri@jurta.org>
10869
10870 * info.el (Info-finder-find-node): Use `package--builtins' instead
10871 of `package-alist'. Use node names formed by the pattern "Keyword "
10872 and the keyword name.
10873
e981b61f
AS
108742011-11-19 Andreas Schwab <schwab@linux-m68k.org>
10875
1d00653d 10876 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 10877
3ffbc301
JL
108782011-11-19 Juri Linkov <juri@jurta.org>
10879
10880 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
10881 that calls `revert-buffer' on all Info buffers. (Bug#9915)
10882 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
10883 `old-history', `old-history-forward'. Add let-binding
10884 `window-selected'. Remove calls to `kill-buffer',
10885 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
10886 before calling `Info-find-node', so `Info-find-node-2' will reread
10887 the Info file. Restore window positions only when `window-selected'
10888 is non-nil.
10889
30c62133
JL
108902011-11-19 Juri Linkov <juri@jurta.org>
10891
10892 * isearch.el (isearch-lazy-highlight-new-loop):
10893 Remove condition `(not isearch-error)'. (Bug#9918)
10894
10895 * misearch.el (multi-isearch-search-fun): Add condition
10896 `(not bound)' to ignore lazy-highlighting search.
10897 Add the search-failed message "end of multi" when the end of
10898 multi-sequence is reached. Uncapitalize the search-failed
10899 message "Repeat for next buffer".
10900
10901 * info.el (Info-search): Add the search-failed message
10902 "end of the manual" when the end of the manual is reached
10903 in Isearch mode.
10904
645ca9cf
JL
109052011-11-19 Juri Linkov <juri@jurta.org>
10906
10907 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
10908 Use non-destructive `remove' instead of `delete' because
10909 `Info-history-list' stored to `Info-isearch-initial-history-list' in
10910 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
10911
df754f66
JL
109122011-11-19 Juri Linkov <juri@jurta.org>
10913
10914 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
10915 to nil instead of binding `search-ring' and `regexp-search-ring'.
10916 (Bug#9185)
10917
0e23d96a
EZ
109182011-11-19 Eli Zaretskii <eliz@gnu.org>
10919
10920 * simple.el (line-move): Force movement by logical lines for any
10921 hscrolled window, not only when auto-hscroll-mode is on.
10922 (line-move-visual): Update doc string to that effect. (Bug#10076)
10923
8a6ccb66
AS
109242011-11-19 Andreas Schwab <schwab@linux-m68k.org>
10925
10926 * language/european.el (macintosh): Define as alias for mac-roman.
10927
49ae5b39
EZ
109282011-11-19 Eli Zaretskii <eliz@gnu.org>
10929
10930 * mail/rmailmm.el (rmail-mime-display-header)
10931 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
10932 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
10933 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
10934 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
10935 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
10936 of a raw aref.
10937 (rmail-mime-entity-segment): To get past the tagline, move forward
10938 2 more lines, to account for the 2 empty lines that precede and
10939 follow the line with the buttons.
10940 (rmail-mime-update-tagline): Move one more line, to get past the
10941 empty line that follows the buttons in the tagline. (Bug#9520)
10942
c56cad4a
MR
109432011-11-19 Martin Rudalics <rudalics@gmx.at>
10944
10945 * window.el (window-max-delta-1, window-min-delta-1)
10946 (window-min-size-1, window-state-get-1, window-state-put-1)
10947 (window-state-put-2): Use "window--" prefix.
10948
cbe71af3
SM
109492011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
10950
2ad52c60
SM
10951 * emacs-lisp/smie.el: Improve warnings and conflict detection.
10952 (smie-warning-count): New var.
10953 (smie-set-prec2tab): Use it.
10954 (smie-bnf->prec2): Improve warnings. Add docstring.
10955 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
10956 (smie-bnf--set-class): New function.
10957 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
10958 corner case.
10959
6944dbc1
SM
10960 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
10961 (compilation-error-properties, compilation-move-to-column):
10962 Handle compilation-first-column while in the target buffer.
10963
c400c4d7
SM
10964 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
10965 Don't hardcode point-min==1.
10966
6dbe3e96
SM
10967 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
10968 (eshell-rewrite-for-command): Remove workaround.
10969 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
10970 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
10971 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
10972
cbe71af3
SM
10973 * files-x.el (modify-file-local-variable): Obey commenting conventions.
10974
a8e1496d
GM
109752011-11-17 Glenn Morris <rgm@gnu.org>
10976
10977 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
10978 Ignore buffer-local generated-autoload-file if it is the same
10979 as the global value. (Bug#10049)
10980
df85d315
JB
109812011-11-17 Juanma Barranquero <lekktu@gmail.com>
10982
10983 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
10984 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
10985 (reftex-toc-previous-heading, reftex-toc-max-level)
10986 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
10987 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
10988 (reftex-toc-do-promote, reftex-toc-promote-prepare)
10989 (reftex-toc-promote-action, reftex-toc-extract-section-number)
10990 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
10991 (reftex-toc-rename-label, reftex-toc-visit-location)
10992 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
10993 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
10994 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
10995 leaving "*toc*" only for references to the buffer.
10996
a0c2d0ae
MR
109972011-11-17 Martin Rudalics <rudalics@gmx.at>
10998
10999 * window.el (window-resize, delete-window, split-window):
11000 Replace window-splits by window-combination-resize.
1d00653d 11001 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 11002
35c0bac8
GM
110032011-11-17 Glenn Morris <rgm@gnu.org>
11004
11005 * progmodes/sh-script.el (sh-font-lock-keywords-var):
11006 Make bash entry derive from sh entry, not shell entry.
11007
d0c8fc8a
MA
110082011-11-16 Michael Albinus <michael.albinus@gmx.de>
11009
7262a87c
MA
11010 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
11011 local file name.
11012
7877f373
JB
110132011-11-16 Juanma Barranquero <lekktu@gmail.com>
11014
11015 * menu-bar.el (menu-bar-file-menu):
11016 * printing.el (pr-ps-utility):
11017 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
11018 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
11019 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
11020 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
11021 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
11022 (icalendar--convert-cyclic-to-ical)
11023 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
11024 (icalendar--convert-ical-to-diary)
11025 (icalendar--convert-recurring-to-diary)
11026 (icalendar--convert-non-recurring-all-day-to-diary)
11027 (icalendar-import-format-sample):
11028 * progmodes/idlw-shell.el (idlwave-shell-mode):
11029 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
11030 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
11031 (vhdl-ps-print-init): Fix typos.
11032
10649b82
KM
110332011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
11034
9d0cfcd6
GM
11035 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
11036 FSF and collapse date sequence, obscure author/maintainer email address
11037 better, remove extra version line, track relocation of author's webpage.
10649b82 11038
9d0cfcd6
GM
11039 * progmodes/python.el (python-pdbtrack-input-prompt)
11040 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
11041 regular python pdb prompts. Adjustments shamelessly taken exactly as
11042 suggested in EmacsWiki page (tiny change):
11043 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 11044
58179cce
JB
110452011-11-16 Juanma Barranquero <lekktu@gmail.com>
11046
11047 * expand.el (expand-pos, expand-index, expand-point):
11048 Remove redundant info from docstring.
11049 (expand-add-abbrevs): Doc fix.
11050 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
11051 (expand-sample-perl-mode-expand-list): Fix typos.
11052
11053 * net/dbus.el (dbus-event-member-name):
11054 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
11055 * term/pc-win.el (msdos-create-frame-with-faces):
11056 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
11057
b6f67890
MR
110582011-11-16 Martin Rudalics <rudalics@gmx.at>
11059
11060 * window.el (split-window, window-state-get-1)
11061 (window-state-put-1, window-state-put-2): Rename occurrences of
11062 window-nest to window-combination-limit.
1d00653d 11063 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 11064
ce7ddba0
CY
110652011-11-16 Chong Yidong <cyd@gnu.org>
11066
11067 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
11068 regexp (Bug#10033).
11069
3ae704f4
SM
110702011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
11071
11072 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
11073 `completing-read' will remove *Completions* and will preserve
11074 current-buffer for us.
11075 (tmm-add-prompt): Users of *Completions* will always (re)set its
11076 major mode.
11077 (tmm-old-comp-map): Remove.
11078
6ad1cdde
GM
110792011-11-16 Glenn Morris <rgm@gnu.org>
11080
11081 * mail/rmailedit.el: Require rmailmm when compiling.
11082 (rmail-old-mime-state): New declaration.
11083 (rmail-edit-current-message): If editing a mime message,
11084 edit the "raw" message from the mbox buffer.
11085 (rmail-cease-edit): Handle mime messages. (Bug#9840)
11086
d20faa20
GM
110872011-11-15 Glenn Morris <rgm@gnu.org>
11088
11089 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
11090 which wasn't being used. Add optional arg to force given state.
11091 (rmail-mime): Add optional arg to force given state.
11092
c7015153
JB
110932011-11-15 Juanma Barranquero <lekktu@gmail.com>
11094
11095 * allout.el (allout-encryption-plaintext-sanitization-regexps):
11096 * frame.el (display-mm-dimensions-alist):
11097 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
11098 (outline-move-subtree-down):
11099 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
11100 (newsticker--treeview-do-get-node):
11101 * net/quickurl.el (quickurl-list-buffer-name):
11102 * progmodes/dcl-mode.el (dcl-mode):
11103 * progmodes/gdb-mi.el (gdb-mapcar*):
11104 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
11105
45261b50
GM
111062011-11-15 Glenn Morris <rgm@gnu.org>
11107
11108 * mail/rmail.el (rmail-file-coding-system): It's only ever used
11109 in a boolean sense, so just make it a boolean, and fix the doc.
11110 (rmail-show-mime-function, rmail-mime-feature)
11111 (rmail-require-mime-maybe): Doc fixes.
11112 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
11113
11114 * mail/rmailmm.el (rmail-show-mime): Doc fix.
11115
0d26e0b6
JB
111162011-11-15 Juanma Barranquero <lekktu@gmail.com>
11117
11118 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
11119 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
11120 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
11121 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
11122
447f30f6
GM
111232011-11-15 Glenn Morris <rgm@gnu.org>
11124
672b871d
GM
11125 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
11126 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
11127 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
11128 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
11129 (rmail-mime, rmail-show-mime): Doc fixes.
11130
f6aa5bb1
GM
11131 * term/ns-win.el (mode-line-frame-identification):
11132 Leave it alone. (Bug#10051)
11133
947cd66b
GM
11134 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
11135
447f30f6
GM
11136 * mail/rmailout.el (rmail-output-to-rmail-buffer):
11137 Handle empty buffers. (Bug#9978)
11138
0b381c7e
JB
111392011-11-14 Juanma Barranquero <lekktu@gmail.com>
11140
11141 * international/mule.el (define-charset):
11142 * mail/rmailmm.el (rmail-mime-find-header-encoding):
11143 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
11144 * progmodes/verilog-mode.el (verilog-backward-token):
11145 * textmodes/ispell.el (lookup-words):
11146 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
11147
71e027ac
GM
111482011-11-14 Glenn Morris <rgm@gnu.org>
11149
56632ce4
GM
11150 * progmodes/executable.el
11151 (executable-make-buffer-file-executable-if-script-p):
11152 Handle file-modes returning nil.
11153
40500957
GM
11154 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
11155 message - not necessary, and causes problems. (Bug#9831)
11156
071c2340
GM
11157 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
11158
d3cfca60
GM
11159 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
11160
71e027ac
GM
11161 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
11162 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
11163 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
11164
89d61221
MR
111652011-11-12 Martin Rudalics <rudalics@gmx.at>
11166
11167 * window.el (window-resize, delete-window): Use window-splits
11168 variable instead of function.
11169 (window-state-get-1, window-state-put-2, window-state-put):
11170 Don't deal with windows' splits status.
11171
98282f6f
GM
111722011-11-12 Glenn Morris <rgm@gnu.org>
11173
11174 * apropos.el (apropos-do-all, apropos-library, apropos-value)
11175 (apropos-documentation): Doc fixes.
11176
40a8bdf6
JB
111772011-11-11 Juanma Barranquero <lekktu@gmail.com>
11178
11179 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
11180 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
11181
65bd19ff
SM
111822011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
11183
11184 * electric.el (electric-indent-post-self-insert-function): Make it
11185 possible for a char to only indent in some circumstances.
11186 (electric-indent-mode): Simplify.
11187
54f9154c
MR
111882011-11-11 Martin Rudalics <rudalics@gmx.at>
11189
11190 * window.el (windows-with-parameter): Remove unused function.
11191 (windows-at-side): Rename to window-at-side-list.
11192 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
11193 (window-side-check, window-size-ignore, window-size-fixed-1)
11194 (window-in-direction-2): Prefix with "window--".
11195 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 11196
68cbc58b
GM
111972011-11-11 Glenn Morris <rgm@gnu.org>
11198
11199 * subr.el (eval-after-load): If FILE is already loaded,
11200 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
11201
b2621720
GM
112022011-11-10 Glenn Morris <rgm@gnu.org>
11203
9a4de110
GM
11204 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
11205 Call svn via vc-svn-command rather than vc-do-command.
11206 (vc-svn-command): Add --non-interactive. (Bug#9993)
11207 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
11208
b2621720
GM
11209 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
11210 Add toggle-read-only. (Bug#7292)
11211 * files.el (toggle-read-only): Mention that it should only
11212 be used interactively. (Bug#10006)
11213
1dce7193
SM
112142011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
11215
d9ac1a1e
SM
11216 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11217 Adjust regexp for OCaml warnings.
11218
0c325082
SM
11219 * electric.el (electric-pair-post-self-insert-function): Let user
11220 turn it off buffer-locally (bug#9932).
11221
90132c14
SM
11222 * progmodes/python.el (python-beginning-of-statement):
11223 Rewrite (bug#2703).
11224
1dce7193
SM
11225 * progmodes/compile.el: Better handle TABs (bug#9749).
11226 (compilation-internal-error-properties)
11227 (compilation-next-error-function): Obey the target buffer's
11228 compilation-error-screen-columns.
11229
c4e7c63a
JB
112302011-11-09 Juanma Barranquero <lekktu@gmail.com>
11231
11232 * progmodes/meta-mode.el: Remove obsolete comments.
11233 (meta-right-comment-regexp, meta-ignore-comment-regexp):
11234 Fix typos in docstrings.
11235
2cffd681
MR
112362011-11-09 Martin Rudalics <rudalics@gmx.at>
11237
11238 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 11239 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
11240 (window--resizable): New function. Make all callers of
11241 window-resizable call window--resizable instead.
11242 (window-resizable): Rewrite in terms of window--resizable.
11243
0edcba87
GM
112442011-11-08 Glenn Morris <rgm@gnu.org>
11245
11246 * progmodes/delphi.el (delphi-mode-syntax-table):
11247 Let define-derived-mode define a proper syntax table. (Bug#9994)
11248
4b0d61e3
SM
112492011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
11250
11251 * window.el: Stay away from defsubst.
11252 (window-list-no-nils): Remove.
11253 (window-state-get-1, window-state-get): Use backquote instead.
11254
cd394be1 112552011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 11256
4b0d61e3 11257 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 11258 Fix incorrect use of default argument in `completing-read'.
11259
e1c2c6f2
MR
112602011-11-08 Martin Rudalics <rudalics@gmx.at>
11261
11262 * window.el (display-buffer-function, special-display-function):
11263 Mention display-buffer-record-window but do not mention
11264 help-setup parameter in doc-strings.
b3f4a882 11265 (window-min-delta): Fix doc-string typo.
e1c2c6f2 11266
105216ed
CY
112672011-11-08 Chong Yidong <cyd@gnu.org>
11268
11269 * window.el (window-total-height, window-total-width): Doc fix.
11270 (window-body-size): Move from C.
11271 (window-body-height, window-body-width): Move to C.
11272
0a9f9ab5
SM
112732011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
11274
11275 * window.el: Make special-display like display-buffer-alist (bug#9532).
11276 (display-buffer--special-action): New function, morphed
11277 from display-buffer--special.
11278 (display-buffer): Use it to handle special-display-buffers at higher
11279 priority (just after display-buffer-alist).
11280 (display-buffer-fallback-action, display-buffer--other-frame-action)
11281 (pop-to-buffer-same-window): Remove display-buffer--special.
11282
a769dd15
GM
112832011-11-07 Glenn Morris <rgm@gnu.org>
11284
11285 * calendar/cal-menu.el (cal-menu-set-date-title):
11286 Do nothing if not in a calendar. (Bug#9976)
11287
05a61ee3
SM
112882011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
11289
11290 * files.el (find-file): Always use selected-window.
11291
be7f5545
MR
112922011-11-07 Martin Rudalics <rudalics@gmx.at>
11293
11294 * window.el (window-combinations): Make WINDOW argument
11295 mandatory. Rewrite doc-string.
11296 (walk-window-subtree, window-atom-check, window-min-delta)
11297 (window-max-delta, window--resize-this-window)
11298 (window--resize-root-window-vertically, window-tree)
11299 (balance-windows, window-state-put): Rewrite doc-strings as to
11300 not mention the term "subwindow".
11301 (window--resize-subwindows-skip-p): Rename to
11302 window--resize-child-windows-skip-p.
11303 (window--resize-subwindows-normal): Rename to
11304 window--resize-child-windows-normal.
11305 (window--resize-subwindows): Rename to
11306 window--resize-child-windows.
11307 (window-or-subwindow-p): Rename to window--in-subtree-p.
11308
3c6702ef
ML
113092011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
11310
11311 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
11312 Ensure that mbox format messages end in two newlines (Bug#9974).
11313
49745b39
CY
113142011-11-06 Chong Yidong <cyd@gnu.org>
11315
11316 * window.el (window-combination-p): Function deleted; its
11317 side-effect is not used in any existing code.
11318 (window-combinations, window-combined-p): Call window-*-child
11319 directly.
11320
24300f5f
CY
113212011-11-05 Chong Yidong <cyd@gnu.org>
11322
11323 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
11324 (window-size-ignore, window-state-get): Callers changed.
11325 (window-normalize-window): Rename from window-normalize-any-window.
11326 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 11327 (window-normalize-live-window): Delete.
447f16b8
CY
11328 (window-combination-p, window-combined-p, window-combinations)
11329 (walk-window-subtree, window-atom-root, window-min-size)
11330 (window-sizable, window-sizable-p, window-size-fixed-p)
11331 (window-min-delta, window-max-delta, window-resizable)
11332 (window-resizable-p, window-full-height-p, window-full-width-p)
11333 (window-current-scroll-bars, window-point-1, set-window-point-1)
11334 (window-at-side-p, window-in-direction, window-resize)
11335 (adjust-window-trailing-edge, maximize-window, minimize-window)
11336 (window-deletable-p, delete-window, delete-other-windows)
11337 (record-window-buffer, unrecord-window-buffer)
11338 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
11339 (quit-window, split-window, window-state-put)
11340 (set-window-text-height, fit-window-to-buffer)
11341 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 11342
89bd5ee1
EZ
113432011-11-04 Eli Zaretskii <eliz@gnu.org>
11344
53479029
EZ
11345 * mail/rmail.el (rmail-simplified-subject): Decode subject with
11346 rfc2047-decode-string.
11347 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
11348 warnings.
11349
89bd5ee1
EZ
11350 * window.el (window-body-height, window-body-width): Mention in
11351 the doc string that the return values are in frame's canonical
11352 units. (Bug#9949)
11353
bd17fdee
AM
113542011-11-03 Alan Mackenzie <acm@muc.de>
11355
11356 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
11357 change in cc-engine.el.
11358
acc825c5
SM
113592011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
11360
11361 * window.el (switch-to-buffer): Use `force-same-window' interactively.
11362
1885e5b8
MR
113632011-11-02 Martin Rudalics <rudalics@gmx.at>
11364
11365 * window.el (quit-window): Call unrecord-window-buffer after
11366 showing another buffer in the window. (Bug#9937)
acc825c5 11367 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 11368
ebe06da9
JB
113692011-11-02 Juanma Barranquero <lekktu@gmail.com>
11370
11371 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
11372 Accept status with more than 9 shelves. (Bug#9935)
11373 Reported by Colin D Bennett <colin@gibibit.com>.
11374
4ee88440
MR
113752011-11-01 Martin Rudalics <rudalics@gmx.at>
11376
11377 * help.el (with-help-window): Don't reference
11378 temp-buffer-show-specifiers in doc-string.
11379
08e1d82c
AS
113802011-10-31 Andreas Schwab <schwab@linux-m68k.org>
11381
11382 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
11383 menu-item.
11384
84bd6e9e
VJL
113852011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
11386
11387 * whitespace.el: New version 13.2.2.
11388 (whitespace-newline-mode): Disable properly. Reported by Sarah
11389 <EmacsWiki>.
11390
dba0634a
UJ
113912011-10-30 Ulf Jasper <ulf.jasper@web.de>
11392
11393 * net/newst-treeview.el: Remove "Time-stamp".
11394 (newsticker--group-manage-orphan-feeds): Do not call
11395 newsticker--treeview-tree-update.
db22a3c2
JB
11396 (newsticker-treeview-update, newsticker-treeview):
11397 Call newsticker--treeview-tree-update if necessary.
dba0634a 11398
3d8daefe
MR
113992011-10-30 Martin Rudalics <rudalics@gmx.at>
11400
11401 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
11402 (window-iso-combinations): Remove "iso-" infix.
11403 Suggested by Chong Yidong.
3d8daefe
MR
11404 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
11405 (window-max-delta-1, window-resize, window--resize-siblings)
11406 (window--resize-this-window, adjust-window-trailing-edge)
11407 (split-window, balance-windows-1)
11408 (shrink-window-if-larger-than-buffer):
11409 * calendar/calendar.el (calendar-generate-window):
db22a3c2 11410 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 11411
1bc4c3ae
SM
114122011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
11413
11414 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
11415 in place (bug#9907).
11416 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
11417 (eshell-rewrite-if-command, eshell-rewrite-for-command)
11418 (eshell-structure-basic-command, eshell-rewrite-while-command)
11419 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
11420 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
11421 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
11422 (eshell-do-pipelines-synchronously, eshell-eval-command):
11423 Use backquotes and prefer setq to set.
11424 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
11425 (eshell-macrop): Use functionp.
c1e2f5fa 11426 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 11427
30b65d9c
CY
114282011-10-30 Chong Yidong <cyd@gnu.org>
11429
11430 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
11431 instead of set-mark (Bug#9810).
11432
2d197ffb
CY
114332011-10-30 Chong Yidong <cyd@gnu.org>
11434
11435 * window.el (split-window-below, split-window-right): Rename from
11436 split-window-above-each-other and split-window-side-by-side
11437 respectively. All callers changed.
11438 (split-window-sensibly, split-window-sensibly): Use them.
11439 (split-window-keep-point): Doc fix.
11440
11441 * isearch.el: Add isearch-scroll property to split-window-below
11442 and split-window-right.
11443
11444 * follow.el (follow-mode):
11445 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
11446 * progmodes/ada-xref.el (ada-gdb-application):
11447 * emulation/vip.el (vip-buffer-in-two-windows):
11448 * image-dired.el (image-dired-dired-with-window-configuration):
11449 * dired-x.el (dired-do-find-marked-files):
11450 * dired.el (dired-pop-to-buffer):
11451 * bs.el (bs--show-with-configuration):
11452 * vc/emerge.el (emerge-setup-windows):
11453 * textmodes/two-column.el (2C-two-columns):
11454 * textmodes/reftex-toc.el (reftex-toc):
11455 * progmodes/gdb-mi.el (gdb-setup-windows):
11456 * progmodes/fortran.el (fortran-window-create):
11457 * net/newst-treeview.el (newsticker--treeview-window-init):
11458 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
11459 * emulation/tpu-edt.el (tpu-gold-map):
11460 * emulation/crisp.el (crisp-mode-map):
11461 * calendar/calendar.el (calendar-basic-setup): Callers changed.
11462
38bb2ca8
CY
114632011-10-29 Chong Yidong <cyd@gnu.org>
11464
aa4de341
CY
11465 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
11466
e1eb5385
CY
11467 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
11468
5d2ece3c
CY
11469 * textmodes/flyspell.el (flyspell-word): Fix char offset for
11470 forged Ispell output (Bug#7904).
11471
38bb2ca8
CY
11472 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
11473
d0af9f77
SM
114742011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
11475
11476 * doc-view.el: Avoid ugly errors about not finding nil.
11477 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
11478 (doc-view-dvipdf-program, doc-view-unoconv-program)
11479 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
11480 Avoid nil or absolute file name as default value.
11481 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
11482
52bedd34
AM
114832011-10-28 Alan Mackenzie <acm@muc.de>
11484
db22a3c2 11485 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 11486
7e43cfa5
AM
114872011-10-28 Alan Mackenzie <acm@muc.de>
11488
11489 Amend the handling of c-beginning/end-of-defun in nested declaration
11490 scopes.
11491
52bedd34
AM
11492 * progmodes/cc-vars.el (c-defun-tactic): Move here from
11493 cc-langs.el. Change it to a defcustom.
7e43cfa5 11494
52bedd34
AM
11495 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
11496 cc-vars.el.
7e43cfa5 11497
d0af9f77
SM
11498 * progmodes/cc-engine.el (c-beginning-of-statement-1):
11499 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 11500
52bedd34 11501 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 11502 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
11503 (c-widen-to-enclosing-decl-scope): New function.
11504 (c-while-widening-to-decl-block): New macro.
11505 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
11506 outward for defun boundaries, and correspondingly change symbol
11507 `respect-enclosure' to `go-outward'.
11508 (c-declaration-limits): Change algorithm to report only the "innermost"
11509 defun's boundaries.
11510
1a2ce9ee
DD
115112011-10-28 Deniz Dogan <deniz@dogan.se>
11512
11513 * net/rcirc.el (rcirc-mode): Use hard newlines.
11514
bc97a826
AM
115152011-10-28 Alan Mackenzie <acm@muc.de>
11516
11517 Amend to indent and fontify macros "which include their own semicolon"
11518 correctly, using the "virtual semicolon" mechanism.
11519
52bedd34 11520 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 11521
d0af9f77 11522 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 11523 Recode to scan one line at a time rather than having \n and \r
58179cce 11524 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 11525 (c-forward-label): Amend for virtual semicolons.
58179cce 11526 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 11527
52bedd34
AM
11528 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
11529 of the new C macros.
bc97a826 11530
52bedd34 11531 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
11532 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
11533 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
11534 (c-opt-cpp-macro-define): Make into a full language variable.
11535 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
11536 AWK Mode (including \n, \r) removed, no longer needed.
11537
d0af9f77
SM
11538 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
11539 Invoke c-make-macro-with-semi-re.
bc97a826 11540
52bedd34
AM
11541 * progmodes/cc-vars.el (c-macro-with-semi-re):
11542 (c-macro-names-with-semicolon): New variables.
58179cce 11543 (c-make-macro-with-semi-re): New function.
bc97a826 11544
7a6c0941
SM
115452011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
11546
11547 * vc/log-edit.el: Fill empty field rather than adding new one.
11548 (log-edit-add-field): New function.
11549 (log-edit-insert-changelog): Use it.
11550
b0c4cdcf
ML
115512011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
11552
11553 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
11554
ee1f1da9
SM
115552011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
11556
11557 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
11558 (gdb--check-interpreter): New function.
11559 (gdb): Use it.
11560
51bc5f8b
GM
115612011-10-27 Glenn Morris <rgm@gnu.org>
11562
416a2c45
GM
11563 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
11564 (least-positive-float, least-negative-float)
11565 (least-positive-normalized-float, least-negative-normalized-float)
11566 (float-epsilon, float-negative-epsilon):
11567 Remove unnecessary declarations.
11568
11569 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
11570 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
11571 (least-positive-float, least-negative-float)
11572 (least-positive-normalized-float, least-negative-normalized-float)
11573 (float-epsilon, float-negative-epsilon): Add doc-strings,
11574 based on those in cl.texi.
11575
51bc5f8b
GM
11576 * files.el (set-visited-file-name): If the major-mode changed,
11577 reload the local variables. (Bug#9796)
11578
15de15c6
CY
115792011-10-27 Chong Yidong <cyd@gnu.org>
11580
11581 * subr.el (change-major-mode-after-body-hook): New hook.
11582 (run-mode-hooks): Run it.
11583
ee1f1da9
SM
11584 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11585 Use change-major-mode-before-body-hook.
15de15c6
CY
11586
11587 * simple.el (fundamental-mode):
11588 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
11589 change introducing fundamental-mode-hook.
11590
5430d399
JB
115912011-10-26 Juanma Barranquero <lekktu@gmail.com>
11592
acc825c5 11593 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 11594
ad74a69e
MA
115952011-10-26 Michael Albinus <michael.albinus@gmx.de>
11596
11597 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 11598 tramp.el explicitly. (Bug#7583)
ad74a69e 11599
71d4c2a5
SM
116002011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
11601
11602 * progmodes/octave-mod.el:
11603 * progmodes/octave-inf.el: Update maintainer.
11604
b1f6fa26
CY
116052011-10-26 Chong Yidong <cyd@gnu.org>
11606
11607 * subr.el (with-wrapper-hook): Rewrite doc.
11608
3f04efd6
MA
116092011-10-25 Michael Albinus <michael.albinus@gmx.de>
11610
11611 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 11612 filenames "/method:foo:". (Bug#9793)
3f04efd6 11613
410488d3
SM
116142011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
11615
11616 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
11617 (bug#9865).
11618
c1ebb47e
GM
116192011-10-24 Glenn Morris <rgm@gnu.org>
11620
11621 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
11622
7f5c46c7
MA
116232011-10-24 Michael Albinus <michael.albinus@gmx.de>
11624
11625 * notifications.el: Add the requirement of a running D-Bus session
11626 bus to the Commentary.
11627
db2440b6
JL
116282011-10-24 Juri Linkov <juri@jurta.org>
11629
11630 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
11631 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
11632 (Bug#9364)
11633
feecf435
JL
116342011-10-24 Juri Linkov <juri@jurta.org>
11635
11636 * info.el (Info-following-node-name-re): Add newline to the list
11637 of allowed characters for leading space. (Bug#9824)
11638
a3839de2
SM
116392011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
11640
acc825c5
SM
11641 * progmodes/octave-inf.el (inferior-octave-mode-map):
11642 Fix C-c C-h binding.
a3839de2
SM
11643 * progmodes/octave-mod.el (octave-help): Remove.
11644
09388e76
MA
116452011-10-23 Michael Albinus <michael.albinus@gmx.de>
11646
11647 Sync with Tramp 2.2.3.
11648
11649 * net/tramp-cache.el (top): Pacify byte-compiler using
11650 `init-file-user' and `site-run-file'.
11651
11652 * net/trampver.el: Update release number.
11653
86c60681
CY
116542011-10-23 Chong Yidong <cyd@gnu.org>
11655
11656 * files.el (toggle-read-only): Remove obsolete comment about
11657 version control.
11658
11659 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
11660 for toggle-read-only. Note that this hasn't called vc-next-action
11661 since 2008-05-02, though it wasn't documented at the time.
11662
a3839de2
SM
11663 * vc/ediff-init.el (ediff-toggle-read-only-function):
11664 Use toggle-read-only.
86c60681 11665
cd5495ff
AM
116662011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
11667
11668 Fix bug #9560, sporadic wrong indentation; improve instrumentation
11669 of c-parse-state.
11670
00b77525 11671 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 11672 correct faulty logical expression.
cd5495ff
AM
11673 (c-parse-state-state, c-record-parse-state-state):
11674 (c-replay-parse-state-state): New defvar/defuns.
11675 (c-debug-parse-state): Use new functions.
11676
42ee24ed
MR
116772011-10-22 Martin Rudalics <rudalics@gmx.at>
11678
11679 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 11680 last fix. Use window-in-direction correctly.
42ee24ed 11681
a7dee7e7
CY
116822011-10-21 Chong Yidong <cyd@gnu.org>
11683
11684 * progmodes/idlwave.el (idlwave-mode):
11685 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
11686 require-final-newline; that's done in prog-mode.
11687 Suggested by Stefan Monnier.
a7dee7e7 11688
e07b9a6d
MR
116892011-10-21 Martin Rudalics <rudalics@gmx.at>
11690
11691 * mouse.el (mouse-drag-window-above)
11692 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
11693 (mouse-drag-mode-line-1, mouse-drag-header-line)
11694 (mouse-drag-vertical-line-rightward-window): Remove.
11695 (mouse-drag-line): New function.
11696 (mouse-drag-mode-line, mouse-drag-header-line)
11697 (mouse-drag-vertical-line): Call mouse-drag-line.
11698 * window.el (window-at-side-p, windows-at-side): New functions.
11699
7e1361d9
UM
117002011-10-21 Ulrich Mueller <ulm@gentoo.org>
11701
11702 * tar-mode.el (tar-grind-file-mode):
11703 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
11704
30fcaf3a
CY
117052011-10-21 Chong Yidong <cyd@gnu.org>
11706
11707 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
11708 * progmodes/vera-mode.el (vera-mode):
11709 Use mode-require-final-newline.
30fcaf3a 11710
516eddb0
GM
117112011-10-20 Glenn Morris <rgm@gnu.org>
11712
db22a3c2 11713 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 11714
10d5f513
CS
117152011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
11716
11717 * emulation/cua-base.el (cua-set-mark): Fix case of string.
11718
ac6c8639
CY
117192011-10-20 Chong Yidong <cyd@gnu.org>
11720
11721 * emulation/cua-base.el (cua-mode):
11722 * mail/footnote.el (footnote-mode):
11723 * mail/mailabbrev.el (mail-abbrevs-mode):
11724 * net/xesam.el (xesam-minor-mode):
11725 * progmodes/bug-reference.el (bug-reference-mode):
11726 * progmodes/cap-words.el (capitalized-words-mode):
11727 * progmodes/compile.el (compilation-minor-mode)
11728 (compilation-shell-minor-mode):
11729 * progmodes/gud.el (gud-tooltip-mode):
11730 * progmodes/hideif.el (hide-ifdef-mode):
11731 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
11732 * progmodes/subword.el (subword-mode):
11733 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
11734 * progmodes/which-func.el (which-function-mode):
11735 * term/tvi970.el (tvi970-set-keypad-mode):
11736 * term/vt100.el (vt100-wide-mode):
11737 * textmodes/flyspell.el (flyspell-mode):
11738 * textmodes/ispell.el (ispell-minor-mode):
11739 * textmodes/nroff-mode.el (nroff-electric-mode):
11740 * textmodes/paragraphs.el (use-hard-newlines):
11741 * textmodes/refill.el (refill-mode):
11742 * textmodes/reftex.el (reftex-mode):
11743 * textmodes/rst.el (rst-minor-mode):
11744 * textmodes/sgml-mode.el (html-autoview-mode)
11745 (sgml-electric-tag-pair-mode):
11746 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
11747 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
11748 * emulation/crisp.el (crisp-mode):
11749 * emacs-lisp/eldoc.el (eldoc-mode):
11750 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
11751 minor mode behavior.
11752
aa42ab43
JL
117532011-10-19 Juri Linkov <juri@jurta.org>
11754
11755 * descr-text.el (describe-char): Add #x2010 and #x2011 to
11756 the list of hard-coded chars with escape-glyph face.
11757
89400f1d
SM
117582011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
11759
11760 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
11761
305c07f6
MA
117622011-10-19 Michael Albinus <michael.albinus@gmx.de>
11763
11764 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
11765 running process.
11766
13754b54
GM
117672011-10-19 Glenn Morris <rgm@gnu.org>
11768
11769 * vc/vc-bzr.el (vc-bzr-after-dir-status):
11770 Ignore ignored files. (Bug#9726)
11771
06e21633
CY
117722011-10-19 Chong Yidong <cyd@gnu.org>
11773
11774 Doc fix for minor modes, stating that an omitted argument enables
11775 the mode unconditionally when called from Lisp.
11776
11777 * abbrev.el (abbrev-mode):
11778 * allout.el (allout-mode):
11779 * autoinsert.el (auto-insert-mode):
11780 * autoarg.el (autoarg-mode, autoarg-kp-mode):
11781 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
11782 (global-auto-revert-mode):
11783 * battery.el (display-battery-mode):
11784 * composite.el (global-auto-composition-mode)
11785 (auto-composition-mode):
11786 * delsel.el (delete-selection-mode):
11787 * desktop.el (desktop-save-mode):
11788 * dired-x.el (dired-omit-mode):
11789 * dirtrack.el (dirtrack-mode):
11790 * doc-view.el (doc-view-minor-mode):
11791 * double.el (double-mode):
11792 * electric.el (electric-indent-mode, electric-pair-mode):
11793 * emacs-lock.el (emacs-lock-mode):
11794 * epa-hook.el (auto-encryption-mode):
11795 * follow.el (follow-mode):
11796 * font-core.el (font-lock-mode):
11797 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
11798 * help.el (temp-buffer-resize-mode):
11799 * hilit-chg.el (highlight-changes-mode)
11800 (highlight-changes-visible-mode):
11801 * hi-lock.el (hi-lock-mode):
11802 * hl-line.el (hl-line-mode, global-hl-line-mode):
11803 * icomplete.el (icomplete-mode):
11804 * ido.el (ido-everywhere):
11805 * image-file.el (auto-image-file-mode):
11806 * image-mode.el (image-minor-mode):
11807 * iswitchb.el (iswitchb-mode):
11808 * jka-cmpr-hook.el (auto-compression-mode):
11809 * linum.el (linum-mode):
11810 * longlines.el (longlines-mode):
11811 * master.el (master-mode):
11812 * mb-depth.el (minibuffer-depth-indicate-mode):
11813 * menu-bar.el (menu-bar-mode):
11814 * minibuf-eldef.el (minibuffer-electric-default-mode):
11815 * mouse-sel.el (mouse-sel-mode):
11816 * msb.el (msb-mode):
11817 * mwheel.el (mouse-wheel-mode):
11818 * outline.el (outline-minor-mode):
11819 * paren.el (show-paren-mode):
11820 * recentf.el (recentf-mode):
11821 * reveal.el (reveal-mode, global-reveal-mode):
11822 * rfn-eshadow.el (file-name-shadow-mode):
11823 * ruler-mode.el (ruler-mode):
11824 * savehist.el (savehist-mode):
11825 * scroll-all.el (scroll-all-mode):
11826 * scroll-bar.el (scroll-bar-mode):
11827 * server.el (server-mode):
11828 * shell.el (shell-dirtrack-mode):
11829 * simple.el (auto-fill-mode, transient-mark-mode)
11830 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
11831 (line-number-mode, column-number-mode, size-indication-mode)
11832 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
11833 * strokes.el (strokes-mode):
11834 * time.el (display-time-mode):
11835 * t-mouse.el (gpm-mouse-mode):
11836 * tool-bar.el (tool-bar-mode):
11837 * tooltip.el (tooltip-mode):
11838 * type-break.el (type-break-mode-line-message-mode)
11839 (type-break-query-mode):
11840 * view.el (view-mode):
11841 * whitespace.el (whitespace-mode, whitespace-newline-mode)
11842 (global-whitespace-mode, global-whitespace-newline-mode):
11843 * xt-mouse.el (xterm-mouse-mode): Doc fix.
11844
a3839de2
SM
11845 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11846 Fix autogenerated docstring.
06e21633 11847
5214e501
JL
118482011-10-19 Juri Linkov <juri@jurta.org>
11849
11850 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
11851 by checking environment variables "DESKTOP_SESSION" and
11852 "XDG_CURRENT_DESKTOP". (Bug#9779)
11853
195f8db9
JL
118542011-10-19 Juri Linkov <juri@jurta.org>
11855
11856 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
11857 (browse-url-chromium-program, browse-url-chromium-arguments):
11858 New defcustoms.
11859 (browse-url-default-browser): Check for `browse-url-chromium' and
11860 call `browse-url-chromium-program'.
11861 (browse-url-chromium): New command. (Bug#9779)
11862
343a34ff
JB
118632011-10-18 Juanma Barranquero <lekktu@gmail.com>
11864
11865 * facemenu.el (list-colors-duplicates): On Windows, detect more
11866 duplicates by assuming that only colors matching "^System" are
11867 special "system colors". (Bug#9722)
11868
6978a151
SM
118692011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
11870
11871 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
11872 to distinguish the author from the committer.
11873
6a80b297
MA
118742011-10-18 Michael Albinus <michael.albinus@gmx.de>
11875
11876 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
11877
b31a5677
JK
118782011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
11879
11880 * international/mule.el (sgml-html-meta-auto-coding-function):
11881 Add support for detecting encoding in HTML5 specified only as
11882 <meta charset="UTF-8">. Implementation just makes http-equiv and
11883 content-type parts from HTML4 encoding string optional. (Bug#9716)
11884
80c6d77f
GM
118852011-10-18 Glenn Morris <rgm@gnu.org>
11886
11887 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
11888
08b0fee8
CY
118892011-10-18 Chong Yidong <cyd@gnu.org>
11890
11891 * faces.el (cursor): Doc fix.
11892
67e729a5
CY
118932011-10-17 Chong Yidong <cyd@gnu.org>
11894
11895 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
11896
343a34ff 118972011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
11898
11899 * dirtrack.el (dirtrack): Support shell buffers with path
11900 prefixes, e.g. tramp-based remote shells. (Bug#9647)
11901
0bc06380
TZ
119022011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
11903
11904 * json.el: Bump version to 1.3 and note change in History.
11905 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
11906
8b79f3e0
SM
119072011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
11908
5a7c536b
SM
11909 * comint.el (comint-insert-input, comint-send-input)
11910 (comint-get-old-input-default, comint-backward-matching-input)
11911 (comint-next-prompt): Use nil instead of `input' for field property of
11912 past user input (bug#114).
11913
96a8a0df
SM
11914 * minibuffer.el (completion--replace): Inherit surrounding properties
11915 (bug#114).
11916 (minibuffer-complete-and-exit): Use it.
11917
8b79f3e0
SM
11918 * comint.el (comint--table-subvert): Quote the all-completions output
11919 (bug#9160).
11920
b8f7ff0d
MR
119212011-10-17 Martin Rudalics <rudalics@gmx.at>
11922
8b79f3e0 11923 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 11924
b8f7ff0d 11925 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 11926 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
11927 entries and separate them from frame entries.
11928
c235b555
GM
119292011-10-15 Glenn Morris <rgm@gnu.org>
11930
11931 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
11932 Doc fixes.
11933
6bbfa6e1
CY
119342011-10-15 Chong Yidong <cyd@stupidchicken.com>
11935
8b79f3e0
SM
11936 * net/network-stream.el (network-stream-open-starttls):
11937 Improve detection of failure due to lack of TLS support.
ec5c990d 11938
6bbfa6e1
CY
11939 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
11940 putting the input text in front and in bold.
11941
98488977
SM
119422011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
11943
3d1337be
SM
11944 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
11945
ee0b45e4
SM
11946 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
11947 empty buffer.
11948
98488977
SM
11949 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
11950 unread-command-events rather than pushing yet-another event.
11951
186f4720
EZ
119522011-10-14 Eli Zaretskii <eliz@gnu.org>
11953
11954 * mail/sendmail.el (sendmail-query-once): Improve the wording of
11955 the explanation of the possible choices. Make the options passed
11956 to completing-read shorter.
11957
8b7a997c
AM
119582011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11959
11960 * textmodes/flyspell.el (flyspell-large-region): Make sure
11961 extended character mode is used if defined (Bug#1339).
11962
12587bbb
EZ
119632011-10-13 Eli Zaretskii <eliz@gnu.org>
11964
11965 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
11966 character info for LRE, LRO, RLE, and RLO characters by appending
11967 an invisible PDF.
12587bbb 11968
bad41229
SM
119692011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
11970
11971 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
11972 even in case of error; add debug spec; simplify data flow.
11973 (with-timeout-handler): Remove.
11974
28dbc92f
MA
119752011-10-12 Michael Albinus <michael.albinus@gmx.de>
11976
11977 Fix Bug#6019, Bug#9315.
11978
11979 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
11980 complete `buffer-file-name', the local file name part could look
11981 remotely (for example on VMS).
11982
11983 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
11984 `tramp-run-real-handler'.
11985 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
11986 already quoted by '"'.
11987
11988 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
11989 Let `file-name-handler-alist' be nil, the local file name part
11990 could look remotely (for example on VMS).
11991
e1b0b23a
SM
119922011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
11993
11994 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
11995 from here...
11996 (flyspell-post-command-hook): ...to here.
11997
a120bde9
SM
119982011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
11999
12000 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
12001 if not needed.
12002 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
12003 using completion. Protect against "slow" callers.
12004 Remove the "message hack".
12005
7ce7717b
JL
120062011-10-11 Juri Linkov <juri@jurta.org>
12007
12008 * isearch.el (isearch-lazy-highlight-word): New variable.
12009 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
12010 Use it. (Bug#9727)
12011
c02ee9d6
GM
120122011-10-11 Glenn Morris <rgm@gnu.org>
12013
12014 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
12015 like f90-previous-statement does.
12016
93e616fd 120172011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12018
1f190e73 12019 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
12020 only in interactive use, to avoid error.
12021
af7b6078
SM
120222011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
12023
12024 * minibuffer.el (completion-file-name-table): Fix last change,
12025 i.e. ignore normal errors but not the other ones.
12026
0563dae9
MR
120272011-10-10 Martin Rudalics <rudalics@gmx.at>
12028
12029 * window.el (special-display-buffer-names)
12030 (special-display-regexps): Remove some remnants of earlier
12031 changes from doc-strings.
366ca7f3
MR
12032 (quit-windows-on): New function.
12033
12034 * vc/vc.el (vc-revert, vc-rollback):
12035 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
12036 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 12037 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 12038
49677495
MR
120392011-10-09 Martin Rudalics <rudalics@gmx.at>
12040
12041 * window.el (frame-auto-hide-function): Add version tag.
12042 (Bug#9699)
12043
56f2d1e1
MA
120442011-10-09 Michael Albinus <michael.albinus@gmx.de>
12045
12046 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
12047 condition.
12048
112a6592
LL
120492011-10-09 Leo Liu <sdl.web@gmail.com>
12050
12051 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
12052 (Bug#9701)
12053
0812589b
GM
120542011-10-08 Glenn Morris <rgm@gnu.org>
12055
12056 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
12057 before the first code statement zero indent. (Bug#9690)
12058
b2b0776e
CY
120592011-10-08 Chong Yidong <cyd@stupidchicken.com>
12060
12061 * simple.el (count-words-region): Always count in the region.
12062 Report the number of lines and characters too.
12063 (count-words): New command, which counts in the buffer if the
12064 region is inactive, as count-words-region used to.
12065 (count-words--message): New function. Handle plurals.
12066 (count-lines-region): Make it an alias for count-words-region.
12067
12068 * bindings.el (esc-map): Replace count-lines-region with
12069 count-words-region.
12070
c557cd6b
MR
120712011-10-08 Martin Rudalics <rudalics@gmx.at>
12072
12073 * window.el (window--delete): Delete dedicated frame
12074 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 12075 (switch-to-buffer): Fix doc-string typo.
c557cd6b 12076
61a57ef4 120772011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12078
3a7d293b 12079 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 12080
c3833279
CY
120812011-10-07 Chong Yidong <cyd@stupidchicken.com>
12082
12083 * bindings.el ([M-left],[M-right]): Bind to left-word and
12084 right-word respectively.
12085
21ce8245
GM
120862011-10-07 Glenn Morris <rgm@gnu.org>
12087
12088 * cus-start.el (debug-on-quit): Fix custom type.
12089
6d823bb2
LMI
120902011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
12091
0181e193
LMI
12092 * subr.el (define-key-after): Clarify that the function is not
12093 useful for non-menu keymaps.
12094
6d823bb2
LMI
12095 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
12096
8e3459ce 120972011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12098
21ce8245 12099 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 12100 in current minibuffer (Fix bug with recursive minibuffers).
12101
a1c2d21e
CY
121022011-10-06 Chong Yidong <cyd@stupidchicken.com>
12103
12104 * progmodes/gdb-mi.el (gdb): Doc fix.
12105
5a4cf282
MR
121062011-10-05 Martin Rudalics <rudalics@gmx.at>
12107
12108 * window.el (frame-auto-hide-function): New option replacing
12109 frame-auto-delete. Suggested by Stefan Monnier.
12110 (window--delete): Call frame-auto-hide-function instead of
12111 investigating frame-auto-delete.
c96111ea
MR
12112 (window-point-1, set-window-point-1): New functions.
12113 (window-in-direction, record-window-buffer, window-state-get-1)
12114 (display-buffer-record-window): Use window-point-1 instead of
12115 window-point.
12116 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 12117
9854542e
SM
121182011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
12119
12120 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
12121
8943cfb0
GM
121222011-10-05 Glenn Morris <rgm@gnu.org>
12123
12124 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
12125 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
12126
647ab967
LL
121272011-10-05 Leo Liu <sdl.web@gmail.com>
12128
12129 * subr.el (read-char-choice): Fix argument to buffer-live-p which
12130 works with buffer object.
12131
3ddfbced
SM
121322011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
12133
12134 * mpc.el (mpc-tool-bar-map): Add labels.
12135
bdfa5dd2
GM
121362011-10-04 Glenn Morris <rgm@gnu.org>
12137
12138 * calendar/holidays.el (calendar-check-holidays): Doc fix.
12139
0e2070b5
MR
121402011-10-04 Martin Rudalics <rudalics@gmx.at>
12141
12142 * window.el (window--delete): New function.
12143 (frame-auto-delete): Resuscitate option.
12144 (bury-buffer, replace-buffer-in-windows)
12145 (quit-window): Rewrite using window--delete.
12146 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
12147 Pass display-buffer-mark-dedicated to window--display-buffer-2
12148 (Bug#9639).
12149
3dc61a09
SM
121502011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
12151
915a9b64
SM
12152 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
12153 returns a list (bug#9554). Add remote file name completion.
12154 * comint.el (comint--table-subvert): Curry and get quote&unquote
12155 functions as arguments.
12156 (comint--complete-file-name-data): Adjust call accordingly.
12157 * pcomplete.el (pcomplete--table-subvert): Remove.
12158 (pcomplete-completions-at-point): Use comint--table-subvert instead.
12159
3dc61a09
SM
12160 * minibuffer.el (completion-table-case-fold): Use currying.
12161 (completion--styles-type, completion--cycling-threshold-type):
12162 New constants.
12163 (completion-styles, completion-category-overrides)
12164 (completion-cycle-threshold): Use them.
12165 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
12166 completion-table-case-fold.
12167
8ea0a993
SB
121682011-10-03 Stephen Berman <stephen.berman@gmx.net>
12169
12170 * minibuffer.el (completion-category-overrides): Fix type of styles
12171 and add more user friendly tags (bug#9660).
12172
8c24b7f6
SM
121732011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
12174
12175 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
12176 (mule-input-method-string): New widget.
12177 (default-input-method, language-info-custom-alist): Use it.
12178
428fe61a
SM
121792011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
12180
32c1fffd
SM
12181 * pcomplete.el: Require comint.
12182 (pcomplete--common-suffix): Remove.
12183 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
12184 (pcomplete--table-subvert): Sync with comint--table-subvert.
12185 (pcomplete--entries): Use comint-completion-file-name-table.
12186 * comint.el (comint-unquote-filename): Simplify.
12187 (comint-completion-file-name-table): New function (bug#9616).
12188 (comint--complete-file-name-data): Use it.
12189
428fe61a
SM
12190 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
12191 (pcmpl-gnu-tar-buffer): Remove.
12192 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
12193 around. Make sure pcomplete-suffix-list is only changed temporarily.
12194 Don't look inside the tar's file if it's too large.
428fe61a 12195
04c52e2f
CY
121962011-10-01 Chong Yidong <cyd@stupidchicken.com>
12197
ce3cefcc
CY
12198 * cus-edit.el (custom-mode-map):
12199 * epa.el (epa-key-list-mode-map):
12200 * man.el (Man-mode-map):
12201 * startup.el (splash-screen-keymap):
12202 * simple.el (special-mode-map): Use scroll-up-command and
12203 scroll-down-command.
12204
12205 * progmodes/idlw-help.el (idlwave-help-mode-map):
12206 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
12207 * net/newst-plainview.el (newsticker-mode-map):
12208 * emulation/ws-mode.el (wordstar-mode-map):
12209 * emulation/vi.el (vi-com-map):
12210 * calc/calc-graph.el (calc-graph-show-dumb):
12211 * term/sun.el (terminal-init-sun):
12212 * term/ns-win.el (global-map):
12213 * progmodes/grep.el (grep-mode-map):
12214 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
12215 * mail/rmail.el (rmail-mode-map):
12216 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
12217
04c52e2f
CY
12218 * custom.el (custom-safe-themes, load-theme): Treat value of t for
12219 custom-safe-themes as special.
12220
79adf8c8
JD
122212011-10-01 Julien Danjou <julien@danjou.info>
12222
12223 * notifications.el (notifications-notify): Fix docstring.
12224
63bd50d3
PS
122252011-10-01 Per Starbäck <per@starback.se>
12226
12227 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
12228
199e4c7e
MR
122292011-09-30 Martin Rudalics <rudalics@gmx.at>
12230
12231 * startup.el (command-line-1): Fix last fix by inserting
12232 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 12233 (Bug#9605) and (Bug#9636)
199e4c7e 12234
fe5f08dd
EZ
122352011-09-29 Eli Zaretskii <eliz@gnu.org>
12236
12237 * simple.el (line-move): If auto-hscroll-mode is disabled and the
12238 window is hscrolled, move by logical lines. (Bug#9607)
12239 (line-move-visual): Update the doc string to the above effect.
12240
b5516bbd
MR
122412011-09-29 Martin Rudalics <rudalics@gmx.at>
12242
ccee00c0
MR
12243 * window.el (display-buffer-record-window): When WINDOW is the
12244 selected window use `point' instead of `window-point'. (Bug#9626)
12245
b5516bbd
MR
12246 * startup.el (command-line-1): Use insert-before-markers when
12247 inserting initial-scratch-message. (Bug#9605)
ccee00c0 12248
b5516bbd
MR
12249 * help.el (help-window): Remove variable.
12250
52aa0014
GM
122512011-09-29 Glenn Morris <rgm@gnu.org>
12252
12253 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
12254
df9a7357
JB
122552011-09-29 Juanma Barranquero <lekktu@gmail.com>
12256
12257 * descr-text.el (describe-char-categories): Accept category
12258 descriptions more than one line long.
12259
a8406c20
SM
122602011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
12261
88d9610c
SM
12262 * simple.el (delete-trailing-whitespace): Fix last change.
12263
a5daf810
SM
12264 * progmodes/perl-mode.el (perl-syntax-propertize-function):
12265 Don't confuse "y => 3" as the beginning of a `y' operation.
12266
a8406c20
SM
12267 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
12268 object has more than 4 slots (bug#9613).
12269
a239d4e9
JB
122702011-09-28 Juanma Barranquero <lekktu@gmail.com>
12271
12272 * subr.el (with-output-to-temp-buffer):
12273 * net/quickurl.el (quickurl, quickurl-browse-url):
12274 Fix typos in docstrings.
12275
693fbdb6
EZ
122762011-09-27 Eli Zaretskii <eliz@gnu.org>
12277
12278 * minibuffer.el (completion-styles)
12279 (completion-category-overrides): Cross reference each other in doc
12280 strings.
12281
8b457e28
GM
122822011-09-27 Glenn Morris <rgm@gnu.org>
12283
12284 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
12285 to split-string. (Bug#9606)
12286
85a16208
LMI
122872011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
12288
12289 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
12290 (bug#9615).
12291
502f9ebd
CY
122922011-09-27 Chong Yidong <cyd@stupidchicken.com>
12293
12294 * emacs-lisp/package.el (list-packages): Fix echo area message.
12295
7690bdea
LL
122962011-09-27 Leo Liu <sdl.web@gmail.com>
12297
12298 * ido.el (ido-read-internal): Accept cons cell HIST arg.
12299
e2ee6f30
MA
123002011-09-25 Michael Albinus <michael.albinus@gmx.de>
12301
12302 * net/dbus.el (dbus-unregister-object): Don't release services for
12303 registered signals. (Bug#9581)
12304
f3f98342
TZ
123052011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
12306
12307 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
12308 function that picks between cfengine 2 and 3 support
12309 automatically. Update docs accordingly.
12310
dd7aa8dd
KH
123112011-09-22 Kenichi Handa <handa@m17n.org>
12312
12313 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
12314 ZERO.
12315 (indian-itrans-v5-table-for-tamil): New variable.
12316 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
12317
3f2b07f8
KM
123182011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
12319
12320 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
12321 that's true if the current command involved collapsing of text.
12322 It's reset to false at the beginning of the next command.
12323 (allout-post-command-business): Move the cursor to the beginning
12324 of entry if the cursor is hidden and collapsing activity just
12325 happened.
12326
371d6a61
CY
123272011-09-24 Chong Yidong <cyd@stupidchicken.com>
12328
12329 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
12330 tracking (Bug#9541).
12331
2ac2721a
UJ
123322011-09-24 Ulf Jasper <ulf.jasper@web.de>
12333
12334 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
12335 (newsticker-show-news): Automatically load html rendering package
12336 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
12337 because w3m-fill-column is let-bound" and the error "Symbol's value
12338 as variable is void: w3m-fill-column".
2ac2721a 12339
fac7ae53
MA
123402011-09-24 Michael Albinus <michael.albinus@gmx.de>
12341
12342 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
12343 Release services only if they are defined. (Bug#9581)
12344
e08b633b
RS
123452011-09-23 Richard Stallman <rms@gnu.org>
12346
e488d29c
RS
12347 * textmodes/paragraphs.el (forward-sentence): For backwards case,
12348 distinguish start of paragraph from start of its text.
12349
19c38752
RS
12350 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
12351
e08b633b
RS
12352 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
12353 (rmail-generate-viewer-buffer): Put that hook on view buffer.
12354 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
12355
0a39f27e
AS
123562011-09-23 Andreas Schwab <schwab@linux-m68k.org>
12357
12358 * international/mule-diag.el (mule-diag): Insert a newline after
12359 each fontset description.
12360
db4e950d
SM
123612011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
12362
12363 * simple.el (delete-trailing-whitespace):
12364 Document last change; simplify.
12365
eca3f3ea
PW
123662011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
12367
d68e189a
PW
12368 * simple.el (delete-trailing-whitespace): Also delete
12369 extra newlines at the end of the buffer.
12370
eca3f3ea
PW
12371 * textmodes/picture.el: Make motion commands obey shift-select-mode.
12372 (picture-newline): Use forward-line so as to ignore fields.
12373
01c157cc
SM
123742011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
12375
12376 * subr.el (with-wrapper-hook): Fix edebug spec.
12377
022de23e
LMI
123782011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
12379
12380 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
12381 (bug#4538).
12382
91683089
MA
123832011-09-23 Michael Albinus <michael.albinus@gmx.de>
12384
eca3f3ea
PW
12385 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
12386 Fix nasty bug using wrong cached values.
91683089 12387
5bdd6fa4
AM
123882011-09-23 Alan Mackenzie <acm@muc.de>
12389
12390 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
12391
97adfb97
CY
123922011-09-23 Chong Yidong <cyd@stupidchicken.com>
12393
12394 * window.el (pop-to-buffer): Ensure right window is selected if we
12395 chose another frame.
12396
d4ef2b50
EZ
123972011-09-22 Eli Zaretskii <eliz@gnu.org>
12398
12399 * simple.el (what-cursor-position): Use get-char-property-change
12400 and next-single-char-property-change, to be able to show display
12401 properties that come from overlays as well as text properties.
12402
72258fe5
CY
124032011-09-22 Chong Yidong <cyd@stupidchicken.com>
12404
12405 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
12406
12407 * cmuscheme.el (run-scheme, switch-to-scheme):
12408 * cus-edit.el (customize-group, custom-buffer-create)
12409 (customize-browse):
12410 * info.el (info):
12411 * shell.el (shell):
12412 * mail/sendmail.el (mail):
12413 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
12414
8f098516
RS
124152011-09-22 Richard Stallman <rms@gnu.org>
12416
12417 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
12418 move back only to line beg, don't move back over blank lines.
12419
e74f1bb6
MA
124202011-09-22 Michael Albinus <michael.albinus@gmx.de>
12421
12422 * files.el (copy-directory): Set directory attributes only in case
12423 they could be retrieved from the source directory. (Bug#9565)
12424
bfeef8b6
DK
124252011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
12426
12427 * progmodes/hideshow.el (hs-looking-at-block-start-p)
12428 (hs-find-block-beginning, hs-hide-level-recursive):
12429 Ignore strings as well as comments. (Bug#9502)
12430
7e423bb8
AS
124312011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
12432
12433 * progmodes/sql.el (sql-comint-postgres):
12434 Convert port number to a string. (Bug#9566)
12435
b4d72fcf
MR
124362011-09-22 Martin Rudalics <rudalics@gmx.at>
12437
12438 * window.el (quit-window): Undedicate window when switching to
12439 previous buffer. Reported by Thierry Volpiatto
12440 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
12441 (special-display-popup-frame): When popping up a new frame reset
12442 its previous buffers to nil. Simplify code.
b4d72fcf 12443
a7b88dc6
MA
124442011-09-21 Michael Albinus <michael.albinus@gmx.de>
12445
12446 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
12447 and process filter, as done also in `shell-command'.
12448
cf4eacfd
MR
124492011-09-21 Martin Rudalics <rudalics@gmx.at>
12450
eca3f3ea 12451 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
12452 Call set-window-start with NOFORCE argument t.
12453 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
12454 (quit-window): Reword doc-string. Handle new format of
12455 quit-restore parameter. Don't delete window if it has a
12456 previous buffer we can show instead of the present one.
12457 (display-buffer-record-window): Rewrite using a new format for
12458 the quit-restore window parameter
12459 (special-display-popup-frame, display-buffer-same-window)
12460 (display-buffer-reuse-window, display-buffer-pop-up-frame)
12461 (display-buffer-pop-up-window, display-buffer-use-some-window):
12462 Adapt symbol passed to display-buffer-record-window.
12463 * help.el (help-window-setup): Handle new format of quit-restore
12464 parameter.
12465
8d28cb95
SM
124662011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
12467
94ab793f
SM
12468 * faces.el (face-list): Fix docstring (bug#9564).
12469
8d28cb95
SM
12470 * window.el (display-buffer--action-function-custom-type):
12471 Don't include internal functions in the Custom interface.
12472
3820edeb
JL
124732011-09-20 Juri Linkov <juri@jurta.org>
12474
12475 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
12476 (Info-forward-node, Info-backward-node, Info-next-preorder)
12477 (Info-last-preorder): Use it. (Bug#9528)
12478
5147931d
JL
124792011-09-20 Juri Linkov <juri@jurta.org>
12480
12481 * info.el (Info-last-preorder): Visit last menu item only when
12482 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
12483
cf499a1a
JD
124842011-09-20 Julien Danjou <julien@danjou.info>
12485
12486 * password-cache.el (password-cache-remove): Remove entries even if the
12487 value is nil, so that password with a nil value (negative caching) is
12488 possible to invalidate.
12489
f84e2fe2
LM
124902011-09-20 Lawrence Mitchell <wence@gmx.li>
12491
12492 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
12493 all whitespace around breakpoint. (Bug#9553)
12494 (f90-find-breakpoint): Only break at whitespace inside a comment.
12495
78054a46
SM
124962011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
12497
12498 * minibuffer.el (completion-file-name-table): Keep track of errors.
12499 (completion-table-with-predicate): Handle the case where pred1 is nil.
12500 * pcomplete.el (pcomplete-completions-at-point): Simplify.
12501
345083b2
SM
125022011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
12503
e24e27be
SM
12504 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
12505 (debugger-return-value): Signal an error if the debugging context does
12506 not await any return value.
12507
345083b2
SM
12508 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
12509 * image-mode.el (image-toggle-display-text)
12510 (image-toggle-display-image): Stay away from evil `intangible'.
12511
08d355e3
LL
125122011-09-19 Leo Liu <sdl.web@gmail.com>
12513
12514 * replace.el (occur-revert-arguments): Make it permanent-local.
12515 (occur-mode): Don't call font-lock-defontify.
12516
f01da43f
CY
125172011-09-19 Chong Yidong <cyd@stupidchicken.com>
12518
12519 * net/ldap.el (ldap-search-internal): Don't push empty search
12520 result (Bug#9508).
12521
b6072fa6
SM
125222011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
12523
12524 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
12525
443d6696
MA
125262011-09-19 Michael Albinus <michael.albinus@gmx.de>
12527
12528 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
12529 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
12530
7cc6e154
JL
125312011-09-18 Juri Linkov <juri@jurta.org>
12532
12533 * buff-menu.el (Buffer-menu-mode-map):
12534 * dired.el (dired-mode-map):
12535 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
12536 (lisp-interaction-mode-map):
12537 * emacs-lisp/package.el (package-menu-mode-map):
12538 * epa.el (epa-key-list-mode-map):
12539 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
12540 (menu-bar-options-menu):
12541 * outline.el (outline-mode-menu-bar-map):
12542 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
12543 * vc/vc-dir.el (vc-dir-menu-map):
12544 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
12545 Capitalize non-function content words in menu item strings.
12546
12547 * dired.el (dired-mode-map): Add menu item for
12548 `image-dired-dired-toggle-marked-thumbs'.
12549
80302a81
JL
125502011-09-18 Juri Linkov <juri@jurta.org>
12551
12552 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
12553 to `isearch-case-fold-search' and restore its original value
12554 after the `isearch-mode' call.
12555
46c5cf66
JL
125562011-09-18 Juri Linkov <juri@jurta.org>
12557
12558 * progmodes/grep.el (grep-process-setup): Don't check code for 1
12559 because `zgrep' returns 1 for successful matches (bug#9226).
12560
d18b513b
JL
125612011-09-18 Juri Linkov <juri@jurta.org>
12562
12563 * info.el (Info-extract-menu-node-name): Check the second match
12564 for empty string (second test-case of bug#9528).
12565 (Info-last-preorder): Let-bind `Info-history' to nil to not add
12566 intermediate nodes to the history (first test-case of bug#9528).
12567
72753f87
JL
125682011-09-18 Juri Linkov <juri@jurta.org>
12569
12570 * info.el (Info-mode-syntax-table): New variable.
1154d12e 12571 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 12572
c9384295
JL
125732011-09-18 Juri Linkov <juri@jurta.org>
12574
1154d12e
JB
12575 * info.el (Info-file-supports-index-cookies):
12576 Increment line-beginning-position's arg from 3 to 4 because makeinfo
12577 outputs one more line for long file names (bug#4142).
c9384295 12578
d473dce8
CY
125792011-09-18 Chong Yidong <cyd@stupidchicken.com>
12580
12581 * newcomment.el (comment-normalize-vars): If prompting for
12582 comment-start, set comment-start-skip too (Bug#8424).
12583
2176854d
JB
125842011-09-18 Johan Bockgård <bojohan@gnu.org>
12585
12586 * icomplete.el: Fix previous fix of Bug#5849.
12587 (icomplete-mode): Don't set completion-show-inline-help.
12588 (icomplete-minibuffer-setup): Set completion-show-inline-help
12589 locally during icompletion.
12590
3aace4e4
CY
125912011-09-18 Chong Yidong <cyd@stupidchicken.com>
12592
c940224f
CY
12593 * woman.el (woman2-process-escapes): Don't delete unrecognized
12594 escapes (Bug#7843).
12595
3aace4e4
CY
12596 * files.el (inhibit-first-line-modes-regexps): Add image files.
12597 (hack-local-variables-prop-line): Return nil for malformed
12598 prop-lines (Bug#9044).
12599
710dec63
MA
126002011-09-18 Michael Albinus <michael.albinus@gmx.de>
12601
12602 * net/tramp.el (top): Don't require 'shell.
12603 (tramp-methods): Fix docstring.
12604 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
12605 Return complete remote file name. Handle "smb" case.
12606 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
12607 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
12608
12609 * net/tramp-compat.el (top): Require 'shell.
12610
12611 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
12612 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
12613 `tramp-current-host'.
12614 (tramp-get-remote-tmpdir): Remove.
12615
12616 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
12617 `tramp-tmpdir' entries.
12618 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
12619 (tramp-smb-handle-file-attributes): Ignore errors.
12620 (tramp-smb-wait-for-output): Check also for process end.
12621
5d5ac8ec
LMI
126222011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
12623
12624 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
12625 when sending QUIT (bug#9312).
12626
8c0f49f0
CY
126272011-09-17 Chong Yidong <cyd@stupidchicken.com>
12628
12629 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
12630 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
12631 occur-mode-display-occurrence.
12632 (occur-edit-mode): Add usage message.
12633 (occur-cease-edit): New command.
12634 (occur-after-change-function): Use text properties to find the
12635 position of the prefix text.
12636 (occur-engine): Set stickiness of prefix text properties.
12637
8f1383f7
GM
126382011-09-17 Glenn Morris <rgm@gnu.org>
12639
12640 * progmodes/etags.el (complete-tag):
12641 Fix call to completion-in-region. (Bug#9526)
12642
744ba0e3
JL
126432011-09-17 Juri Linkov <juri@jurta.org>
12644
12645 * textmodes/ispell.el (ispell-word): Add to the error message
12646 the word, ispell program name and current dictionary (bug#9121).
12647 (ispell-tex-arg-end): Capitalize "error" in the error message.
12648
d9bbf400
AS
126492011-09-17 Andreas Schwab <schwab@linux-m68k.org>
12650
12651 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
12652 check. (Bug#4251)
12653
8da11505
JL
126542011-09-17 Juri Linkov <juri@jurta.org>
12655
12656 * window.el (window-safe-min-height, window-safe-min-width):
12657 Fix typos (followup to bug#9522).
12658
a91adc7e
SJ
126592011-09-17 Sven Joachim <svenjoac@gmx.de>
12660
12661 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
12662
064f328a
EZ
126632011-09-16 Eli Zaretskii <eliz@gnu.org>
12664
12665 * simple.el (line-move): If goal-column is set, move by logical
12666 lines, not by display lines. (Bug#971)
12667 (next-line, previous-line, goal-column, line-move-visual): Doc fix
12668 to reflect the above change.
12669
e69df516
SM
126702011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
12671
12672 * image.el (imagemagick-register-types): Use regexp-opt.
12673
cbb0f9ab
CY
126742011-09-15 Chong Yidong <cyd@stupidchicken.com>
12675
12676 * window.el (display-buffer-base-action): Rename from
12677 display-buffer-default-action. Make default value empty.
12678 (display-buffer-overriding-action): Convert to defvar.
12679 (display-buffer-fallback-action): New var.
12680
25322144
CY
126812011-09-15 Chong Yidong <cyd@stupidchicken.com>
12682
12683 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
12684 declaration.
12685 (package--add-to-archive-contents): If there is a duplicate entry
12686 with an older version, remove it.
12687 (package-menu-mark-delete, package-menu-mark-install)
12688 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
12689 (package-menu-mark-obsolete-for-deletion):
12690 Use package-menu-get-status instead of a regexp search.
25322144
CY
12691 (package-menu-get-status): Use tabulated-list-entry.
12692 (package-menu-mark-upgrades): New command.
d770725a 12693 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
12694 (package-menu-execute): Do installation before deletion.
12695 (package-menu-refresh, package-menu-execute): Use derived-mode-p
12696 instead of checking major-mode.
12697 (package-menu--find-upgrades): New function.
12698
7520339c
LMI
126992011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
12700
12701 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
12702 passwords in the log buffer.
65a046c4
LMI
12703 (smtpmail-process-filter): Update the process marker so that the
12704 "broken by peer" status message is inserted in the right place.
7520339c 12705
d3c30954
SM
127062011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
12707
3fe48822
SM
12708 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
12709 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
12710 bibtex-completion-at-point-function.
12711 (bibtex-completion-at-point-function): Use them.
12712
1b8b3954
SM
12713 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
12714
d3c30954
SM
12715 * mpc.el (mpc-constraints-tag-lookup): New function.
12716 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
12717 also to browser "album|playlist".
12718
72779976
JL
127192011-09-14 Juri Linkov <juri@jurta.org>
12720
12721 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
12722 (isearch-edit-string): Use length of `isearch-string' when
12723 `isearch-fail-pos' returns nil.
12724 (isearch-message): Remove duplicate code and call
12725 `isearch-fail-pos' with arg `t'.
12726
a0bf2bcd
CY
127272011-09-14 Chong Yidong <cyd@stupidchicken.com>
12728
17bb0a2d
CY
12729 * replace.el (occur-mode-goto-occurrence): Don't force using other
12730 window (Bug#9499).
12731
a0bf2bcd
CY
12732 * dired-aux.el (dired-do-chmod): Don't provide initial input.
12733
f678e0b6
MR
127342011-09-14 Martin Rudalics <rudalics@gmx.at>
12735
12736 * window.el (display-buffer-window): Remove.
12737 (display-buffer-record-window): Use help-setup window parameter
12738 instead of variable display-buffer-window.
12739 (display-buffer-function, special-display-buffer-names)
12740 (special-display-function): Mention help-setup parameter instead
12741 of display-buffer-window in doc-string.
d3c30954
SM
12742 * help.el (help-window-setup): New argument help-window.
12743 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
12744 Reword some messages.
12745 (with-help-window): Pass window used for displaying the buffer
12746 to help-window-setup. Don't set display-buffer-window.
12747
8e39b2e8
GM
127482011-09-13 Glenn Morris <rgm@gnu.org>
12749
12750 * emacs-lisp/debug.el (debugger-make-xrefs):
12751 Preserve point. (Bug#9462)
12752
85e9c04b
CY
127532011-09-13 Chong Yidong <cyd@stupidchicken.com>
12754
12755 * window.el (window-deletable-p): Use next-frame.
12756
1b36ed6a
MR
127572011-09-13 Martin Rudalics <rudalics@gmx.at>
12758
12759 * window.el (window-auto-delete): Remove.
12760 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 12761 dedication and previous buffers.
1b36ed6a
MR
12762 (switch-to-prev-buffer): Don't delete window.
12763 (delete-windows-on): Delete a window's frame if and only if the
12764 window is dedicated.
12765 (replace-buffer-in-windows): Delete buffer's window or frame if
12766 and only if window is dedicated.
12767 (quit-window): Handle quit-restore as before last change.
4d61f28d 12768 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 12769
ef8ef9fb
CY
127702011-09-13 Chong Yidong <cyd@stupidchicken.com>
12771
12772 * window.el (window-deletable-p): Never delete the last frame on a
12773 given terminal.
12774
b2cba41e
GM
127752011-09-13 Glenn Morris <rgm@gnu.org>
12776
12777 * help.el (describe-key-briefly): Copy previous standard-output change.
12778
51553db6 127792011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
12780
12781 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
12782
b7556719
GM
127832011-09-13 Glenn Morris <rgm@gnu.org>
12784
12785 * emacs-lisp/lisp-mode.el (lisp-indent-function):
12786 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
12787
64b51947
CY
127882011-09-12 Chong Yidong <cyd@stupidchicken.com>
12789
12790 * dired-aux.el (dired-mark-read-string): Don't return default
12791 value on empty input (Bug#9361).
12792 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
12793 Omit initial minibuffer contents.
12794 (dired-do-chmod): Signal an error on empty input.
12795 (dired-mark-read-string): Don't return default on empty input.
12796
12797 * files.el (file-modes-symbolic-to-number): Doc fix.
12798
393a301e
SM
127992011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
12800
12801 * international/mule-cmds.el (ucs-completions): Remove.
12802 (read-char-by-name): Use complete-with-action instead; add metadata.
12803
fa5660f9
CY
128042011-09-11 Chong Yidong <cyd@stupidchicken.com>
12805
12806 * window.el (display-buffer--action-function-custom-type)
12807 (display-buffer--action-custom-type): New vars.
12808 (display-buffer-alist, display-buffer-default-action)
12809 (display-buffer-overriding-action): Add defcustom types.
12810
4a592f66
CY
12811 * frame.el (delete-other-frames): Doc fix (Bug#276).
12812
73d56dbd
LMI
128132011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
12814
12815 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
12816
37ac18a3
CY
128172011-09-11 Chong Yidong <cyd@stupidchicken.com>
12818
12819 Change modes that used same-window-* vars to use switch-to-buffer.
12820
12821 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
12822 Use switch-to-buffer.
12823
12824 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
12825 (customize-browse, custom-buffer-create-other-window):
12826 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
12827
12828 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
12829 (Info-prev, Info-up, Info-speedbar-goto-node)
12830 (info-display-manual): Use switch-to-buffer.
12831 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
12832
12833 * mail/sendmail.el (mail): Use switch-to-buffer.
12834 (mail-recover): Use switch-to-buffer-other-window.
12835
12836 * cmuscheme.el (run-scheme, switch-to-scheme):
12837 * ielm.el (ielm):
12838 * shell.el (shell):
12839 * net/rlogin.el (rlogin):
12840 * net/telnet.el (telnet, rsh):
12841 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
12842
10195bd6
AS
128432011-09-11 Andreas Schwab <schwab@linux-m68k.org>
12844
12845 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
12846
b322f63a
LMI
128472011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
12848
39d7fed6
LMI
12849 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
12850 so don't mention it (bug#9301).
ba5a81f1 12851 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 12852
ee0e9f11
LMI
12853 * faces.el (face-spec-set-match-display): Make `(type graphic)'
12854 match `x', `w32' and `ns', like the manual says (bug#9029).
12855
0b1c89c1 12856 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
12857 (process-kill-buffer-query-function): Mention the buffer name in
12858 the query.
0b1c89c1 12859
77549ea8
LMI
12860 * image-mode.el (image-next-line): The line parameter is mandatory
12861 (bug#9258).
12862
803ef892
LMI
12863 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
12864 which can be useful (bug#9301).
12865
12980837
LMI
12866 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
12867
91054f8f
LMI
12868 * subr.el (match-string): Mention that the current buffer should
12869 be the same as the search was done in (bug#9282).
12870
b322f63a
LMI
12871 * facemenu.el: Disable the remove-* commands if the mark isn't
12872 active (bug#9162).
12873
3199b96f
CY
128742011-09-10 Chong Yidong <cyd@stupidchicken.com>
12875
12876 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
12877 of display-buffer.
12878 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
12879
12880 * replace.el (occur-mode-goto-occurrence)
12881 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
12882 and display-buffer.
12883
12884 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
12885 display-buffer.
12886
12887 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
12888 special-display and same-window variables.
12889 (mail-other-window): Use switch-to-buffer-other-window.
12890 (mail-other-frame): USe switch-to-buffer-other-frame.
12891
393a301e
SM
12892 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
12893 Use display-buffer-other-frame.
3199b96f
CY
12894 (gdb-display-gdb-buffer): Use pop-to-buffer.
12895
12896 * progmodes/gud.el (gud-goto-info): Use info-other-window.
12897
12898 * progmodes/python.el: Don't set same-window-buffer-names.
12899
12900 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
12901
12902 * window.el (display-buffer-alist): Add *Python*.
12903
8319e0bf
CY
129042011-09-10 Chong Yidong <cyd@stupidchicken.com>
12905
12906 * window.el (display-buffer-alist): Add entry for buffers
12907 previously handled same-window-*.
12908 (display-buffer-alist, display-buffer-default-action)
12909 (display-buffer-overriding-action): Mark as risky.
12910 (display-buffer-alist): Document action function changes.
12911 (display-buffer--same-window-action)
12912 (display-buffer--other-frame-action): New variables.
12913 (switch-to-buffer, display-buffer-other-frame): Use them.
12914 (display-buffer): Rename reuse-frame entry to reusable-frames.
12915 (display-buffer-reuse-selected-window): Function deleted.
12916 (display-buffer-reuse-window): Handle reusable-frames alist entry.
12917 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
12918 (display-buffer-special): New function.
12919 (display-buffer--maybe-pop-up-frame-or-window): Rename from
12920 display-buffer-reuse-or-pop-window. Split off special-display
12921 part into display-buffer-special.
12922 (display-buffer-use-some-window): Don't perform any special
12923 pop-up-frames handling.
12924 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 12925 (display-buffer--maybe-same-window): Rename from
0d3ff375 12926 display-buffer-maybe-same-window.
8319e0bf 12927
919a69aa
CY
12928 * info.el: Don't set same-window-regexps.
12929 (info-setup): New function.
12930 (info-other-window, info): Call it.
12931
12932 * cus-edit.el: Don't set same-window-regexps.
12933 (customize-group): New argument.
12934 (customize-group-other-window): Use it.
12935 (customize-face, customize-face-other-window): Likewise.
12936 (custom-buffer-create-other-window): Use pop-to-buffer directly.
12937
8319e0bf
CY
12938 * net/rlogin.el:
12939 * net/telnet.el:
12940 * progmodes/gud.el: Don't set same-window-regexps.
12941
12942 * cmuscheme.el:
12943 * ielm.el:
12944 * shell.el:
12945 * mail/sendmail.el:
12946 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
12947
25173000
JL
129482011-09-10 Juri Linkov <juri@jurta.org>
12949
12950 * isearch.el (isearch-edit-string): Remove obsolete mention of
12951 `C-w' (`isearch-yank-word-or-char') from docstring.
12952 (isearch-query-replace): Fix typo in docstring (bug#9466).
12953
056e44ef
JL
129542011-09-10 Juri Linkov <juri@jurta.org>
12955
12956 * paren.el (show-paren-function): Don't show escaped parens.
12957 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
12958
c3760c17
EZ
129592011-09-10 Eli Zaretskii <eliz@gnu.org>
12960
12961 * mail/sendmail.el (mml-to-mime, mml-attach-file)
12962 (mm-default-file-encoding): Remove autoload forms, they are
12963 replaced with autoload cookies in mml.el and mm-encode.el.
12964 (mail-add-attachment): New command.
12965 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
12966 (mail-mode): Mention mail-insert-file and mail-add-attachment in
12967 the doc string.
12968 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
12969
fece895e
RT
129702011-09-10 Reuben Thomas <rrt@sc3d.org>
12971
e69df516
SM
12972 * simple.el (count-words-region): Use buffer if there's no region
12973 (bug#9429).
fece895e 12974
5e68ce4a
JL
129752011-09-09 Juri Linkov <juri@jurta.org>
12976
12977 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
12978 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
12979 (wdired-isearch-filter-read-only): New function. (Bug#6362)
12980
0a6b9622
AM
129812011-09-09 Alan Mackenzie <acm@muc.de>
12982
12983 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
12984 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
12985
14a29deb
EZ
129862011-09-09 Eli Zaretskii <eliz@gnu.org>
12987
12988 Fix for Savannah bug#9392.
12989 * simple.el (mail-encode-mml): New defvar.
12990
12991 * mail/rmail.el (mail-encode-mml): Add a defvar.
12992 (rmail-enable-mime-composing): Default to t.
12993 (rmail-forward): Use MIME method of forwarding only if both
12994 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
12995 Set mail-encode-mml non-nil if the MIME method was used.
12996
12997 * mail/sendmail.el (mml-to-mime): Add autoload form.
12998 (mail-encode-mml): Add a defvar.
12999 (mail-mode): Make mail-encode-mml buffer-local and initialize it
13000 to nil.
13001 (mail-send): If mail-encode-mml is non-nil, run the outgoing
13002 message through mml-to-mime, and reset mail-encode-mml to nil.
13003
28c45130
GM
130042011-09-09 Glenn Morris <rgm@gnu.org>
13005
13006 * woman.el (woman-if-body): When processing an .el block,
13007 do not delete the next .el block as well. (Bug#9447)
69f4b618 13008 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 13009
9b1c252e
MR
130102011-09-08 Martin Rudalics <rudalics@gmx.at>
13011
13012 * window.el (window-deletable-p): Make sure window is live before
13013 invoking window-prev-buffers.
13014
567457e3
LL
130152011-09-08 Leo Liu <sdl.web@gmail.com>
13016
13017 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
13018
97f05794
JL
130192011-09-08 Juri Linkov <juri@jurta.org>
13020
13021 * progmodes/compile.el (compilation-environment): Make it
13022 a defcustom (bug#8340).
13023
8b0874b5
MR
130242011-09-08 Martin Rudalics <rudalics@gmx.at>
13025
13026 * window.el (frame-auto-delete): Rename to window-auto-delete.
13027 Make it control auto-deletion of windows and/or frames.
13028 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 13029 for deleting window/frame. (Bug#9419)
8b0874b5
MR
13030 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
13031 Rewrite handling of case when window/frame can be deleted.
13032 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 13033 argument t. (Bug#9456)
8b0874b5 13034
4feb6e73
CY
130352011-09-07 Chong Yidong <cyd@stupidchicken.com>
13036
13037 * help-mode.el (help-mode): Restore autoload.
13038
91ab9c13
JL
130392011-09-07 Juri Linkov <juri@jurta.org>
13040
13041 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
13042 `compilation-environment'. Set buffer-local
13043 `compilation-environment' to `thisenv' later after (funcall mode).
13044 (Bug#8340)
13045
13046 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
13047 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
13048 instead of replacing its value. (Bug#8340)
13049
0527e251
JL
130502011-09-07 Juri Linkov <juri@jurta.org>
13051
13052 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
13053 based on text properties put by `grep-filter' instead of matching
13054 escape sequences.
13055 (grep-mode): Set buffer-local `compilation-error-screen-columns'
13056 to the value of `grep-error-screen-columns' (bug#9438).
13057
249f792c
JL
130582011-09-07 Juri Linkov <juri@jurta.org>
13059
13060 * simple.el (next-error-highlight, next-error-highlight-no-select):
13061 Doc fix (bug#9432).
13062
ff7271b9
OT
130632011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
13064
13065 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
13066 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
13067
183fc730
LL
130682011-09-07 Leo Liu <sdl.web@gmail.com>
13069
13070 * net/rcirc.el (rcirc-mode): Conditionally initialize
13071 rcirc-input-ring.
13072
77694924
SM
130732011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
13074
13075 * emacs-lisp/find-func.el (find-function-C-source): Only set
13076 find-function-C-source-directory after checking that we found a source
13077 file there (bug#9440).
13078
d809b8eb
AM
130792011-09-06 Alan Mackenzie <acm@muc.de>
13080
13081 * isearch.el (isearch-other-meta-char): Wherever a key list is
13082 unread, "unread" the prefix arg, too. This fixes bug #8901.
13083
453de99f
OG
130842011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
13085
13086 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
13087
90439906
JL
130882011-09-05 Juri Linkov <juri@jurta.org>
13089
13090 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
13091
f62bd846
JL
130922011-09-05 Juri Linkov <juri@jurta.org>
13093
13094 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
13095 keeping point where processing of grep matches begins, and
13096 continue to delete remaining escape sequences from the same point.
13097 (grep-filter): Make leading zero optional in "0?1;31m" because
13098 git-grep emits "\033[1;31m" escape sequences unlike expected
13099 "\033[01;31m" as GNU Grep does (bug#9408).
13100 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
13101
045820ec
JL
131022011-09-05 Juri Linkov <juri@jurta.org>
13103
13104 * subr.el (y-or-n-p): Capitalize "yes".
13105
f5e29b9b
MA
131062011-09-04 Michael Albinus <michael.albinus@gmx.de>
13107
13108 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
13109 `tramp-cache-unload-hook' where appropriate.
13110 (tramp-methods): Rename `tramp-remote-sh' to
13111 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
13112 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
13113
13114 * net/tramp-sh.el (top): Don't require 'shell.
13115 (tramp-methods): Add `tramp-remote-shell' and
13116 `tramp-remote-shell-args' entries.
13117 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
13118 (tramp-sh-handle-shell-command): Remove.
13119 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
13120 Use `tramp-remote-shell'.
13121
2784c434
CY
131222011-09-03 Chong Yidong <cyd@stupidchicken.com>
13123
393a301e 13124 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
13125 (sendmail-query-once): Save directly to send-mail-function.
13126 Update message-send-mail-function too.
13127
13128 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
13129
464cdf56
CS
131302011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
13131
13132 * progmodes/python.el (python-mode-map): Use correct function to
13133 start python interpreter from menu-bar (as reported by Geert
13134 Kloosterman).
13135 (inferior-python-mode-map): Fix typo.
393a301e 13136 (python-shell-map): Remove.
464cdf56 13137
d37e5c87
DD
131382011-09-03 Deniz Dogan <deniz@dogan.se>
13139
13140 * net/rcirc.el (rcirc-print): Simplify code for
13141 rcirc-scroll-show-maximum-output. There is no need to walk
13142 through all windows to find the right one.
13143
f3ada0ee
CS
131442011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
13145
13146 * help.el (help-return-method): Doc fix.
13147
1f3c99ca
MR
131482011-09-03 Martin Rudalics <rudalics@gmx.at>
13149
13150 * window.el (window-deletable-p): Don't return a non-nil value
13151 when there's a buffer that was shown in the window before.
13152 (Bug#9419)
393a301e
SM
13153 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
13154 Set window's previous buffers to nil.
1f3c99ca 13155
a3cf097f
EZ
131562011-09-03 Eli Zaretskii <eliz@gnu.org>
13157
13158 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
13159 newline before and after the tag line, so it doesn't interfere
13160 with determining the paragraph direction of bidirectional text.
13161
3d03de90
LL
131622011-09-03 Leo Liu <sdl.web@gmail.com>
13163
13164 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
13165
c3313451
CY
131662011-09-02 Chong Yidong <cyd@stupidchicken.com>
13167
393a301e 13168 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
13169 (pop-to-buffer): Change interactive spec. Pass second argument
13170 directly to display-buffer.
13171 (display-buffer): Fix interactive spec. Use functionp to
13172 distinguish between a function and a list of functions.
13173
13174 * abbrev.el (edit-abbrevs):
13175 * arc-mode.el (archive-extract):
13176 * autoinsert.el (auto-insert):
13177 * bookmark.el (bookmark-bmenu-list):
13178 * files.el (find-file):
13179 * view.el (view-buffer):
13180 * progmodes/compile.el (compilation-goto-locus):
13181 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
13182
89894cd8
CY
131832011-09-02 Chong Yidong <cyd@stupidchicken.com>
13184
13185 * window.el (display-buffer-alist): Doc fix.
13186 (display-buffer): Add docstring. Don't treat
13187 display-buffer-default specially.
13188 (display-buffer-reuse-selected-window)
13189 (display-buffer-same-window, display-buffer-maybe-same-window)
13190 (display-buffer-reuse-window, display-buffer-pop-up-frame)
13191 (display-buffer-pop-up-window)
13192 (display-buffer-reuse-or-pop-window)
13193 (display-buffer-use-some-window): New functions.
13194 (display-buffer-default-action): Use them.
393a301e 13195 (display-buffer-default): Delete.
89894cd8
CY
13196 (pop-to-buffer-1): Fix choice of actions.
13197
ae0bc9fb
SM
131982011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
13199
13200 * minibuffer.el (completion--insert-strings): Don't get confused by
13201 completion entries that end with an LF char.
13202
e9d90883
EZ
132032011-09-01 Eli Zaretskii <eliz@gnu.org>
13204
13205 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
13206
437014c8
CY
132072011-09-01 Chong Yidong <cyd@stupidchicken.com>
13208
13209 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
13210 (display-buffer-same-window, display-buffer-other-window):
13211 New functions.
437014c8
CY
13212 (pop-to-buffer-1): New function. Use the above.
13213 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 13214 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
13215
13216 * view.el (view-buffer-other-window, view-buffer-other-frame):
13217 Just use pop-to-buffer.
13218
a5e063d5
TV
132192011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13220
13221 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
13222
793d32bb
WH
132232011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
13224
13225 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
13226
d65e4c15
RS
132272011-08-31 Richard Stallman <rms@gnu.org>
13228
13229 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
13230 of the separation of rmail-view-buffer from rmail-buffer.
13231 If you say no to "replace original", the decrypt is in the
13232 view buffer. If you say yes, the decrypt goes into the
13233 rmail buffer also.
13234
f818cd2a
MR
132352011-08-31 Martin Rudalics <rudalics@gmx.at>
13236
13237 * window.el (display-buffer-window): Rewrite doc-string.
13238 (display-buffer-record-window): New function.
13239 (display-buffer-macro-specifiers)
13240 (display-buffer-even-window-sizes, display-buffer-set-height)
13241 (display-buffer-set-width, display-buffer-in-window)
13242 (display-buffer-reuse-window, display-buffer-split-specifiers)
13243 (display-buffer-side-specifiers, display-buffer-split-window-1)
13244 (display-buffer-split-window, display-buffer-split-atom-window)
13245 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
13246 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
13247 (display-buffer-other-window-means-other-frame)
13248 (display-buffer-normalize-special)
13249 (display-buffer-normalize-default)
13250 (display-buffer-normalize-argument)
13251 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
13252 (display-buffer-normalize-specifiers, display-buffer-frame)
13253 (display-buffer-same-window, display-buffer-same-frame)
13254 (display-buffer-other-window)
13255 (display-buffer-same-frame-other-window)
13256 (display-buffer-other-frame, pop-to-buffer-same-window)
13257 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
13258 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
13259 (switch-to-buffer-same-frame)
13260 (switch-to-buffer-other-window-same-frame)
13261 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
13262 (display-buffer-alist-set-1, display-buffer-alist-set-2)
13263 (display-buffer-alist-set): Remove.
13264 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
13265 (special-display-regexps, special-display-function):
13266 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
13267 parameter.
13268 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
13269 (special-display-frame-alist, special-display-popup-frame)
13270 (same-window-buffer-names, same-window-regexps, same-window-p)
13271 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
13272 (split-window-preferred-function, split-height-threshold)
13273 (split-width-threshold, window-splittable-p)
13274 (split-window-sensibly, window--try-to-split-window)
13275 (window--frame-usable-p, even-window-heights)
13276 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
13277 (window--display-buffer-2, display-buffer-other-frame):
13278 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
13279 (display-buffer-default, display-buffer-assq-regexp): New functions.
13280 (display-buffer-alist): Rewrite doc-string.
13281 (display-buffer-default-action)
13282 (display-buffer-overriding-action): New variables.
13283 (display-buffer, switch-to-buffer): Rewrite.
13284 (pop-to-buffer): Restore Emacs 23 behavior but use
13285 window-normalize-buffer-to-display.
13286 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
13287 Restore Emacs 23 behavior but use
13288 window-normalize-buffer-to-switch-to.
13289 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
13290 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
13291 Rewrite using Emacs 23 options.
f818cd2a 13292
5bc3b51d
MA
132932011-08-31 Michael Albinus <michael.albinus@gmx.de>
13294
13295 * net/tramp.el (tramp-root-regexp): Remove.
13296 (tramp-completion-file-name-regexp-unified)
13297 (tramp-completion-file-name-regexp-separate)
13298 (tramp-completion-file-name-regexp-url): Don't use leading volume
b46a6a83 13299 letter on w32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
13300 (tramp-drop-volume-letter): Simplify definition.
13301 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 13302
b1a4f8e1
SM
133032011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
13304
13305 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
13306 (bug#9356).
13307
5664fa7b
RT
133082011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
13309
b1a4f8e1 13310 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 13311
9a45d6c3
JL
133122011-08-29 Juri Linkov <juri@jurta.org>
13313
13314 * isearch.el (isearch-done): Don't display message "Mark saved"
13315 when arg `edit' is non-nil to prevent its flicker in the echo area.
13316
fb87e0fb
CY
133172011-08-28 Chong Yidong <cyd@stupidchicken.com>
13318
13319 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
13320 obsolete packages for deletion.
13321
09ac1c2a
CS
133222011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
13323
13324 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 13325 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
13326 view-mode from help-mode.
13327 (help-xref-override-view-map): Remove.
13328 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
13329 view-mode is not used anymore.
13330
7a1ff57f
CY
133312011-08-28 Chong Yidong <cyd@stupidchicken.com>
13332
13333 * server.el (server-port): Doc fix.
13334
b9696605
CY
13335 * cus-theme.el (custom-theme-choose-mode): Inherit from
13336 special-mode (Bug#9124).
13337 (custom-theme-choose-mode-map): Add special-mode to parent.
13338
ef8cdf8c
AM
133392011-08-28 Alan Mackenzie <acm@muc.de>
13340
13341 * progmodes/cc-fonts.el
13342 (c-make-font-lock-BO-decl-search-function): New function.
13343 (c-basic-matchers-after - "Fontify the clauses after various
13344 keywords"): Extract the three keyword lists for the 3 erroneous
13345 constructs from the list of four, and use the new function above
13346 in place of an old one.
13347
27de4e20
DD
133482011-08-28 Deniz Dogan <deniz@dogan.se>
13349
13350 * net/rcirc.el (rcirc-insert-prev-input)
13351 (rcirc-insert-next-input): Remove unused argument.
13352
356a3681
SM
133532011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
13354
13355 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
13356
3fc9b218
AM
133572011-08-27 Alan Mackenzie <acm@muc.de>
13358
13359 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
13360 handle function pointer parameters properly.
13361
538a061c
MR
133622011-08-27 Martin Rudalics <rudalics@gmx.at>
13363
13364 * window.el (display-buffer-reuse-window): Fix case where
13365 selected window was reused with non-nil OTHER-WINDOW argument.
13366 (Bug#9381)
13367
35b1c40c
DD
133682011-08-27 Deniz Dogan <deniz@dogan.se>
13369
13370 * net/rcirc.el (rcirc-check-auth-status): Adding support for
13371 oftc's NickServ messages.
13372
2f6a3e79
GM
133732011-08-27 Glenn Morris <rgm@gnu.org>
13374
13375 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
13376
7254299e
CY
133772011-08-26 Chong Yidong <cyd@stupidchicken.com>
13378
13379 * emacs-lisp/package.el (package-install): Call package-initialize
13380 if called interactively.
13381
f8ccf167
LL
133822011-08-26 Leo Liu <sdl.web@gmail.com>
13383
13384 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
13385
3e8cd5ce
JL
133862011-08-25 Juri Linkov <juri@jurta.org>
13387
13388 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
13389 `search-whitespace-regexp' (bug#9364).
13390
93eb7113
JL
133912011-08-25 Juri Linkov <juri@jurta.org>
13392
13393 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
13394 `regexp-search-ring' to their global values to protect from
13395 updating by `read-from-minibuffer' (bug#9185).
13396
f65d1611
JL
133972011-08-25 Juri Linkov <juri@jurta.org>
13398
13399 * textmodes/ispell.el (ispell-command-loop): Add newline
13400 at the end of the "Use option `i'..." line.
13401
f1cf7a31
JL
134022011-08-25 Juri Linkov <juri@jurta.org>
13403
13404 * battery.el (display-battery-mode): If `battery-status-function'
13405 or `battery-mode-line-format' is nil, display the message and set
13406 `display-battery-mode' to nil (bug#9363).
13407
0c95fcf7
EZ
134082011-08-25 Eli Zaretskii <eliz@gnu.org>
13409
13410 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
13411 bidi-string-mark-left-to-right; they are unnecessary now.
13412
a2ebe600
DD
134132011-08-25 Deniz Dogan <deniz@dogan.se>
13414
13415 * net/quickurl.el: Documentation typo fixes.
13416
e4ed06f1
CY
134172011-08-25 Chong Yidong <cyd@stupidchicken.com>
13418
13419 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
13420
e5f1c99e
GM
134212011-08-25 Glenn Morris <rgm@gnu.org>
13422
b2948976
GM
13423 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
13424
e5f1c99e
GM
13425 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
13426 (smtpmail-via-smtp): Handle nil response from smtp.
13427
f22f4808
JL
134282011-08-24 Juri Linkov <juri@jurta.org>
13429
13430 * proced.el (proced-marked): Inherit from `error' instead of
13431 `font-lock-warning-face'.
13432
13433 * ibuffer.el (ibuffer-marked-face): Change default face from
13434 `font-lock-warning-face' to `warning'.
13435 (ibuffer-deletion-face): Change default face from
13436 `font-lock-type-face' to `error'.
13437
13438 * battery.el (battery-update): Use the face `error' instead of
13439 `font-lock-warning-face' (bug#6117).
13440
6a93965e
JL
134412011-08-24 Juri Linkov <juri@jurta.org>
13442
13443 * faces.el (success): Change face color from "Green3" to
13444 "ForestGreen" on light background (bug#9353).
13445
1ed43b09
CY
134462011-08-24 Chong Yidong <cyd@stupidchicken.com>
13447
5664fa7b
RT
13448 * window.el (quit-window): Rename from quit-restore-window.
13449 Use same arglist as old quit-window.
1ed43b09
CY
13450 (frame-auto-delete): Doc fix.
13451
13452 * view.el (view-mode-exit): Use quit-window.
13453
11dcdbb2
JL
134542011-08-24 Juri Linkov <juri@jurta.org>
13455
13456 * isearch.el (isearch-ring-adjust1): Start visiting previous
13457 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
13458 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
13459 for empty search string (when the last search string is reused
13460 automatically) to adjust the isearch ring to the last element and
13461 prepare the correct index for further M-p commands (bug#9185).
13462
de62b4df
KH
134632011-08-24 Kenichi Handa <handa@m17n.org>
13464
13465 * international/ucs-normalize.el: If decomposition property of
13466 CHAR is the default one (i.e. a list of CHAR itself), treat it as
13467 nil.
13468 (nfd, nfkd): Likewise.
13469
963b492b
SM
134702011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
13471
13472 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
13473 from process filters aren't reliably transmitted to the surrounding
13474 accept-process-output.
13475 (mpc-proc-check): New function.
13476 (mpc-proc-sync): Use it (bug#8293)
13477
93b6b5e1
SM
134782011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
13479
13480 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
13481 Add compatibility functions (bug#9313).
13482
bca633fb
EZ
134832011-08-23 Eli Zaretskii <eliz@gnu.org>
13484
b177498a
EZ
13485 * cus-start.el (all): Add entry for bidi-paragraph-direction.
13486
6df6ae42 13487 * international/uni-bidi.el: Regenerate.
bca633fb 13488
0902a04e
KH
134892011-08-23 Kenichi Handa <handa@m17n.org>
13490
13491 * international/charprop.el:
13492 * international/uni-bidi.el:
13493 * international/uni-category.el:
13494 * international/uni-combining.el:
13495 * international/uni-comment.el:
13496 * international/uni-decimal.el:
13497 * international/uni-decomposition.el:
13498 * international/uni-digit.el:
13499 * international/uni-lowercase.el:
13500 * international/uni-mirrored.el:
13501 * international/uni-name.el:
13502 * international/uni-numeric.el:
13503 * international/uni-old-name.el:
13504 * international/uni-titlecase.el:
13505 * international/uni-uppercase.el: Regenerate.
13506
3bbf23bc
MR
135072011-08-23 Martin Rudalics <rudalics@gmx.at>
13508
13509 * help.el (help-window-setup): Fix message displayed when other
13510 window is reused. (Bug#9341)
13511
b3fd59bd
SM
135122011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
13513
1802e444
SM
13514 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
13515 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
13516
b3fd59bd
SM
13517 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
13518 Mark obsolete.
13519 * shell.el (shell-parse-pcomplete-arguments): New function.
13520 (shell-completion-vars): Use it instead (bug#9160).
13521
4eb61348
SM
135222011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
13523
867cab74
SM
13524 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
13525 strings and comments (bug#9333).
13526
4eb61348
SM
13527 * emacs-lisp/debug.el (debug-arglist): New function.
13528 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
13529 (debug-on-entry-1): Handle interpreted closures (bug#9120).
13530
262a1439
JL
135312011-08-22 Juri Linkov <juri@jurta.org>
13532
56ee679c
JL
13533 * progmodes/compile.el (compilation-mode-font-lock-keywords):
13534 Revert regexp that highlights output switches to its old
13535 pre-2010-10-28 value and remove one `?' from it (bug#9319).
13536
262a1439
JL
13537 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
13538 to check for empty output (bug#9226).
13539
f13f86fb
CY
135402011-08-22 Chong Yidong <cyd@stupidchicken.com>
13541
13542 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
13543 symbol-constituent as the default, as that stops font-lock from
13544 working properly (Bug#8843).
13545
c65c9622
LMI
135462011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
13547
13548 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
13549 `coding-system-for-*' around the process open call to avoid
13550 auth-source side effects.
e7f2c178 13551 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
13552 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
13553 probe hangs.
c65c9622 13554
23a8a5ab
CY
135552011-08-21 Chong Yidong <cyd@stupidchicken.com>
13556
ff98b2dd
CY
13557 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
13558
23a8a5ab
CY
13559 * emacs-lisp/find-func.el (find-function-noselect): New arg
13560 lisp-only.
13561
13562 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
13563 signal an error for built-in functions (Bug#6664).
13564
f5e3c598
LMI
135652011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
13566
13567 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
13568 (smtpmail-try-auth-methods): Use it.
13569
a3f2468a
CY
135702011-08-21 Chong Yidong <cyd@stupidchicken.com>
13571
2c34e8da
CY
13572 * font-lock.el (font-lock-fontify-region)
13573 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
13574 (font-lock-default-unfontify-buffer)
13575 (font-lock-default-fontify-region)
13576 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
13577
b3fd59bd
SM
13578 * progmodes/compile.el (compilation-error-properties):
13579 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
13580 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
13581 `ant' regexp.
ee31aabc 13582
a3f2468a
CY
13583 * net/browse-url.el (browse-url-firefox): Don't call
13584 browse-url-firefox-sentinel unless using -remote (Bug#9328).
13585
8e999f70
GM
135862011-08-20 Glenn Morris <rgm@gnu.org>
13587
c21a496a
GM
13588 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
13589
59ee0542
GM
13590 * tutorial.el (tutorial--default-keys): Update some default bindings.
13591
8e999f70
GM
13592 * files.el (hack-local-variables): Fully ignore case for "mode:".
13593
e3715033
AM
135942011-08-20 Alan Mackenzie <acm@muc.de>
13595
13596 Resolve invalid use of a regexp in regexp-opt.
13597
4d61f28d
JB
13598 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
13599 detection for a java annotation.
e3715033 13600
4d61f28d 13601 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
13602 detection for a java annotation.
13603
4d61f28d
JB
13604 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
13605 handling for java.
e3715033
AM
13606 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
13607
04ed2e9c
CY
136082011-08-20 Chong Yidong <cyd@stupidchicken.com>
13609
13610 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
13611 (Bug#9274).
13612
826cee64
AM
136132011-08-20 Alan Mackenzie <acm@muc.de>
13614
58179cce 13615 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
13616 such a construct. Mainly for when jit-lock etc. starts a chunk
13617 here.
13618
58179cce 13619 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 13620 variable.
58179cce 13621 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
13622 c-make-font-lock-search-function.
13623 (c-make-font-lock-search-function): Use the above function.
13624 (c-make-font-lock-context-search-function): New function.
13625 (c-cpp-matchers): Enhance the preprocessor expression case with
13626 the above function
13627 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
13628 which takes an expression.
13629
13630 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
13631
13009bd8
MR
136322011-08-20 Martin Rudalics <rudalics@gmx.at>
13633
13634 * window.el (display-buffer-reuse-window)
13635 (display-buffer-pop-up-window): Don't reuse or split a side
13636 window.
13637
9234ff7f
GM
136382011-08-19 Glenn Morris <rgm@gnu.org>
13639
13640 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 13641 Downcase "Mode:". (Bug#9331)
9234ff7f 13642
f635daa1
CY
136432011-08-18 Chong Yidong <cyd@stupidchicken.com>
13644
13645 * international/characters.el: Add L and R categories.
13646
13647 * subr.el (bidi-string-mark-left-to-right): Rename from
13648 string-mark-left-to-right. Use category search.
13649
13650 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
13651
bc987f8b
JL
136522011-08-18 Juri Linkov <juri@jurta.org>
13653
13654 * faces.el (error, warning, success): New faces with definitions
13655 copied from old default values of `font-lock-warning-face',
13656 `compilation-warning', `compilation-info' (bug#6117).
13657
13658 * font-lock.el (font-lock-warning-face): Inherit from `error'.
13659
13660 * progmodes/compile.el (compilation-error): Inherit from `error'.
13661 (compilation-warning): Inherit from `warning'.
13662 (compilation-info): Inherit from `success'.
13663
13664 * dired.el (dired-marked): Inherit from `warning'.
13665 (dired-flagged): Inherit from `error'.
13666
57173b96
LMI
136672011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
13668
3e79eb87
LMI
13669 * mail/smtpmail.el (auth-source): Require to avoid problems with
13670 binding variables (bug#9298). Also clean up some unused
13671 autoloads.
13672
b3fd59bd
SM
13673 * net/network-stream.el (network-stream-open-starttls):
13674 Support using starttls.el without using gnutls-cli.
57173b96 13675
02b404de
JL
136762011-08-17 Juri Linkov <juri@jurta.org>
13677
13678 * progmodes/grep.el (rgrep): Handle the case when
13679 `grep-find-command' is a cons cell (bug#9278).
13680
8c9177f2
MR
136812011-08-17 Martin Rudalics <rudalics@gmx.at>
13682
13683 * window.el (display-buffer-pop-up-frame): Run frame creation
13684 function with BUFFER current (as special-display-popup-frame
13685 does). Reported by Drew Adams.
13686
3644a0ab
DU
136872011-08-17 Daiki Ueno <ueno@unixuser.org>
13688
13689 * epa-mail.el: Simplify GnuPG group expansion using
13690 epg-expand-group.
13691 (epa-mail-group-alist, epa-mail-group-modtime)
13692 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
13693 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
13694 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
13695 Remove.
13696
5e617bc2 136972011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
13698
13699 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
13700
9c4aeabf
AM
137012011-08-16 Alan Mackenzie <acm@muc.de>
13702
13703 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
13704 Correct, to avoid the inside of macros.
13705
3a99bf64
RS
137062011-08-16 Richard Stallman <rms@gnu.org>
13707
04963aa8
RS
13708 * epa-mail.el: Handle GnuPG group definitions.
13709 (epa-mail-group-alist, epa-mail-group-modtime)
13710 (epa-mail-gnupg-conf-file): New variables.
13711 (epa-mail-parse-groups, epa-mail-sync-groups)
13712 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
13713 (epa-mail-expand-recipients): New functions.
13714 (epa-mail-encrypt): Call epa-mail-expand-recipients.
13715
177549d0
RS
13716 * mail/rmail.el (rmail-epa-decrypt): New command.
13717
fe38beef
RS
13718 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
13719 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
13720 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
13721 (epa-decrypt-armor-in-region): Make error message clearer.
13722
934eacb9
SM
137232011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
13724
13725 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
13726 and "a2b" to "ab" for `prefix'.
13727
d024fb4e
CY
137282011-08-14 Chong Yidong <cyd@stupidchicken.com>
13729
13730 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
13731 filter groups.
de148fee
CY
13732 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
13733 Fourquet (Bug#8804).
d024fb4e 13734
62f1ca49
JB
137352011-08-12 Juanma Barranquero <lekktu@gmail.com>
13736
13737 * startup.el (argi): Declare as global variable (bug#9275).
13738
9ccaaa4b
CY
137392011-08-12 Chong Yidong <cyd@stupidchicken.com>
13740
13741 * subr.el (string-mark-left-to-right): Search the entire string
13742 for RTL script, not just the terminating character. Doc fix.
13743
a3dae87a
SM
137442011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
13745
6cd18349
SM
13746 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
13747 New function.
13748 (js--regexp-literal, js-syntax-propertize-function): Remove.
13749 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
13750 (js-mode-map): Don't rebind electric keys.
13751 (js-insert-and-indent): Remove.
13752 (js-mode): Setup electric-layout and electric-indent instead.
13753
a3dae87a
SM
13754 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
13755
9d5cb631
DU
137562011-08-12 Daiki Ueno <ueno@unixuser.org>
13757
13758 * epa.el (epa-progress-callback-function): Fix the logic of
13759 displaying progress.
13760 * epa-file.el (epa-file-insert-file-contents): Make progress
13761 display more user-friendly.
13762 (epa-file-write-region): Ditto.
13763
3e26a4a2
CY
137642011-08-10 Chong Yidong <cyd@stupidchicken.com>
13765
13766 * subr.el (string-mark-left-to-right): New function.
13767
13768 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
13769 Use string-mark-left-to-right.
13770 (list-buffers-noselect): Caller changed.
13771
a3dae87a
SM
13772 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
13773 Use string-mark-left-to-right.
3e26a4a2
CY
13774 (tabulated-list-print): Recenter after moving point.
13775
ac8cf6e6
JL
137762011-08-10 Juri Linkov <juri@jurta.org>
13777
13778 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
13779 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
13780 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
13781
8d96c9a4
CY
137822011-08-09 Chong Yidong <cyd@stupidchicken.com>
13783
13784 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
13785 (Bug#7554).
13786
7be1c708 137872011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
13788
13789 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
13790 character. (Bug#6594)
13791
37e11a63
CY
137922011-08-08 Chong Yidong <cyd@stupidchicken.com>
13793
839dde57
CY
13794 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
13795 (image-dired--with-db-file): New macro.
13796 (image-dired-write-tags, image-dired-remove-tag)
13797 (image-dired-create-gallery-lists, image-dired-write-comments)
13798 (image-dired-get-comment, image-dired-mark-tagged-files)
13799 (image-dired-list-tags, image-dired-gallery-generate): Use it.
13800 (image-dired-gallery-generate): Use insert-file-contents.
13801
37e11a63
CY
13802 * time.el (display-time-world-list, display-time-world-display):
13803 * time-stamp.el (time-stamp-string):
13804 * vc/add-log.el (add-change-log-entry): Use setenv instead of
13805 set-time-zone-rule (Bug#7337).
13806
0b4946c4
DU
138072011-08-08 Daiki Ueno <ueno@unixuser.org>
13808
13809 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
13810 (epg-error-to-string, epg-errors-to-string): New function.
13811 (epg-wait-for-completion): Reverse errors list.
13812 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
13813 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
13814 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
13815 (epg-sign-keys, epg-generate-key-from-file)
13816 (epg-generate-key-from-string): Format errors by using
13817 epg-errors-to-string (bug#9255).
13818 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
13819
75bfc667
JL
138202011-08-07 Juri Linkov <juri@jurta.org>
13821
13822 * faces.el (list-faces-display): Remove extra angle bracket
13823 from `help-mode-map'.
13824
13825 * info.el (Info-history-toc-nodes): Doc fix.
13826
13827 * longlines.el (longlines-mode): Doc fix.
13828
673e08bb
SM
138292011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
13830
4640dd88
SM
13831 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
13832 of statements and in a few more cases (bug#9183).
13833
673e08bb
SM
13834 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
13835 New functions.
13836 (cl-transform-lambda): Use them (bug#9239).
13837
89b3f019
MR
138382011-08-05 Martin Rudalics <rudalics@gmx.at>
13839
13840 * window.el (display-buffer-same-window)
13841 (display-buffer-same-frame, display-buffer-other-window)
13842 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
13843 (pop-to-buffer-other-window)
13844 (pop-to-buffer-same-frame-other-window)
13845 (pop-to-buffer-other-frame): Make them defuns.
13846 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
13847
640c8776
SM
138482011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
13849
13850 * subr.el (make-composed-keymap): Move from C. Change calling
13851 convention, and improve docstring to bring attention to a subtle point.
13852 * minibuffer.el (completing-read-default): Adjust accordingly.
13853
63648a95
MA
138542011-08-03 Michael Albinus <michael.albinus@gmx.de>
13855
13856 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
13857 (tramp-open-shell): Use `tramp-shell-quote-argument'.
13858
13859 * net/trampver.el: Update release number.
13860
b796c9b7
SM
138612011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
13862
13863 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
13864 "in" (bug#9190).
13865
2239d7d5
LMI
138662011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
13867
e07dd7c3
LMI
13868 * mail/sendmail.el (sendmail-query-once): Restore the current
13869 buffer after querying (bug#9074).
13870
0e6a2bd7
LMI
13871 * dired.el (dired-flagged): Use different faces for marked and
13872 flagged files (bug#6117).
13873
ce887515
LMI
13874 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
13875 (bug#4433).
13876
92f2affc
LMI
13877 * ido.el (ido-mode): Switch off the message if called
13878 non-interactively.
13879
57d5aff0
LMI
13880 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
13881 before 587, since it appears that that's more likely to work for
13882 more people.
13883
98cd6c18 13884 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 13885 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
13886 exist.
13887
b96dec83
LMI
13888 * info.el: Remove the `Info-beginning-of-buffer' function
13889 (bug#8325).
13890
b796c9b7
SM
13891 * net/network-stream.el (network-stream-open-starttls):
13892 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 13893
d90e2ea0
MR
138942011-08-01 Martin Rudalics <rudalics@gmx.at>
13895
13896 * window.el (display-buffer-in-window): Don't set dedicated status
13897 of window here (Bug#9215).
13898 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
13899 (display-buffer-pop-up-side-window)
b796c9b7 13900 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 13901
cca09170
SM
139022011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
13903
13904 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
13905 before binding generated-autoload-file.
13906
027b979c
DD
139072011-08-01 Deniz Dogan <deniz@dogan.se>
13908
13909 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
13910
3c7ee4f3
MA
139112011-07-30 Michael Albinus <michael.albinus@gmx.de>
13912
13913 Sync with Tramp 2.2.2.
13914
13915 * net/trampver.el: Update release number.
13916
2cc8e51a
JL
139172011-07-30 Juri Linkov <juri@jurta.org>
13918
13919 * dired-aux.el (dired-touch-initial): Remove function.
13920 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
13921 current time, and `default' to the last modification time of the
13922 current marked file (bug#6887).
13923
a514d856
JM
139242011-07-28 Jose E. Marchesi <jemarch@gnu.org>
13925
13926 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 13927 numeric argument to read-number (bug#9163).
a514d856 13928
8a7eddd7
MA
139292011-07-27 Michael Albinus <michael.albinus@gmx.de>
13930
13931 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
13932 connection process, it could be nil.
13933
1ddd96f5
LL
139342011-07-27 Leo Liu <sdl.web@gmail.com>
13935
13936 Simplify url handling in rcirc-mode.
13937
13938 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
13939 (rcirc-browse-url-at-mouse): Remove.
13940 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
13941
b248a85d
AM
139422011-07-26 Alan Mackenzie <acm@muc.de>
13943
13944 Fontify bitfield declarations properly.
13945
13946 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
13947 (c-symbol-chars): Now exported as a lang variable.
13948 (c-not-primitive-type-keywords): New lang variable.
13949
13950 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
13951 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 13952 parsed as a bitfield declaration.
b248a85d 13953
b796c9b7
SM
13954 * progmodes/cc-engine.el (c-beginning-of-statement-1):
13955 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
13956 (c-punctuation-in): New function.
13957 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
13958 declarations properly.
13959
68575ab0
UJ
139602011-07-26 Ulf Jasper <ulf.jasper@web.de>
13961
13962 * calendar/icalendar.el (icalendar--all-events): Take care of
13963 multiple vcalendars in a single file.
b796c9b7 13964 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 13965
0f0a88b9
DD
139662011-07-25 Deniz Dogan <deniz@dogan.se>
13967
13968 * image.el (insert-image): Clarifying docstring.
13969
0b3f36df
MA
139702011-07-24 Michael Albinus <michael.albinus@gmx.de>
13971
13972 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
13973 `tramp-send-command-and-check' if there is no error.
13974 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
13975
a9901f61
AM
139762011-07-22 Alan Mackenzie <acm@muc.de>
13977
13978 Prevent cc-langs.elc being loaded at run time.
13979
13980 * progmodes/cc-mode.el: Remove two autoload forms which loaded
13981 cc-langs.
13982
4d61f28d 13983 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
13984 "(require 'cc-langs)". Quote a form so it will evaluate at
13985 (cc-mode's) compilation time.
13986
11d074b2
MA
139872011-07-22 Michael Albinus <michael.albinus@gmx.de>
13988
13989 * net/tramp.el (tramp-file-name-handler): Avoid recursive
13990 loading. (Bug#9114)
13991
938b94c8
MR
139922011-07-21 Martin Rudalics <rudalics@gmx.at>
13993
13994 * window.el (display-buffer-pop-up-window)
13995 (display-buffer-pop-up-side-window)
13996 (display-buffer-in-side-window): Call display-buffer-set-height
13997 and display-buffer-set-width after setting the new window's
b796c9b7 13998 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 13999
bfa4f190
SS
140002011-07-20 Sam Steingold <sds@gnu.org>
14001
14002 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
14003 (etags-tags-included-tables): Call `convert-standard-filename' on
14004 the file names contained in TAGS so that windows Emacs can handle
14005 TAGS files created by cygwin ctags.
14006
8ca42262
LMI
140072011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
14008
14009 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
14010 which apparently didn't work.
14011
5db2afd2 140122011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 14013
5db2afd2
RW
14014 * proced.el (proced-send-signal): For *Marked Processes* buffer
14015 put point at beginning of buffer.
14016
92e15d10
SB
140172011-07-19 Stephen Berman <stephen.berman@gmx.net>
14018
14019 * proced.el (proced-format): Make header lines align with the text
14020 (bug#1779).
14021
1bfd59e5
LMI
140222011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
14023
14024 * view.el (view-buffer): Allow running in `special' modes if we're
14025 visiting a file (bug#8615).
14026
f5aae37c
MR
140272011-07-19 Martin Rudalics <rudalics@gmx.at>
14028
14029 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
14030 (display-buffer-alist-set-1, display-buffer-alist-set-2):
14031 New functions.
f5aae37c
MR
14032 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
14033 more accurately.
14034
bf2c1571
AM
140352011-07-18 Alan Mackenzie <acm@muc.de>
14036
14037 Fontify declarators properly when, e.g., a jit-lock chunk begins
14038 inside a declaration.
14039
14040 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
14041
b796c9b7
SM
14042 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
14043 New function.
bf2c1571
AM
14044 (c-complex-decl-matchers): Insert reference to
14045 c-font-lock-enclosing-decls.
14046
14047 * progmodes/cc-engine.el (c-backward-single-comment):
14048 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
14049 to nil around calls to (forward-comment -1).
14050
4e190b80
LMI
140512011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
14052
12dc863d
LMI
14053 * image.el (put-image): Doc typo fix.
14054
a762e966
LMI
14055 * progmodes/etags.el (tags-search): Doc typo fix.
14056
4e190b80
LMI
14057 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
14058 password if we get errors 550 to 554.
14059
f019fb21
LMI
140602011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
14061
b796c9b7 14062 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 14063
81746738
LMI
14064 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
14065 indentation character (bug#6380).
14066
3ee3a1b5
LMI
14067 * files.el (buffer-offer-save): Made permanently local (bug#6241).
14068
c82f64de
LMI
14069 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
14070 to clarify what the problem is (bug#4291).
14071
f019fb21
LMI
14072 * simple.el (current-kill): Clarify what
14073 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
14074 (auto-fill-mode): Document `auto-fill-function' in relation to
14075 `auto-fill-mode' (bug#2470).
f019fb21 14076
0794775d
LM
140772011-07-16 Lawrence Mitchell <wence@gmx.li>
14078
14079 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
14080 method if slot is read-only (bug#9035).
14081
be39b8cc
MR
140822011-07-16 Martin Rudalics <rudalics@gmx.at>
14083
b796c9b7 14084 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 14085 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
14086 selected before, see discussion of (Bug#8615), (Bug#6954).
14087 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 14088
6ccf7859
GM
140892011-07-15 Glenn Morris <rgm@gnu.org>
14090
14091 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 14092 Respect help-form.
6ccf7859 14093
87e86684
LM
140942011-07-09 Lawrence Mitchell <wence@gmx.li>
14095
14096 * net/gnutls.el (gnutls-min-prime-bits): New variable.
14097 (gnutls-negotiate): Use it.
14098
d6066239
LMI
140992011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
14100
b796c9b7
SM
14101 * net/gnutls.el (gnutls-negotiate):
14102 Upcase `gnutls-algorithm-priority'.
d6066239 14103
bd23ebc0
GM
141042011-07-15 Glenn Morris <rgm@gnu.org>
14105
c65bca65
GM
14106 * jka-compr.el (jka-compr-verbose): Move from here...
14107 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
14108 Add missing :version tag.
14109 * info.el: No need to require jka-compr when compiling.
bd23ebc0 14110
478615cc
LMI
141112011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
14112
7b41decb
LMI
14113 * net/gnutls.el (gnutls-algorithm-priority): New variable.
14114 (gnutls-negotiate): Use it.
14115
dbc44fcd
LMI
14116 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
14117
06789f97
LMI
14118 * info.el (Info-beginning-of-buffer): New command.
14119 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
14120 announcing `b' as the key (bug#8325).
ab896c37 14121 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 14122
c39da690
LMI
14123 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
14124
3aa5f34b
LMI
14125 * international/mule-cmds.el
14126 (describe-specified-language-support): Make the error message
14127 clearer (bug#8905).
14128
4bf0979f
LMI
14129 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
14130
478615cc
LMI
14131 * isearch.el (isearch-barrier): Add a doc string, since it's
14132 mentioned in a function doc string (bug#8678).
14133
75c68aa1
MR
141342011-07-15 Martin Rudalics <rudalics@gmx.at>
14135
14136 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
14137 buffer argument (Bug#9083) and self-identifying label argument.
14138
a7c33da2
GM
141392011-07-15 Glenn Morris <rgm@gnu.org>
14140
14141 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
14142
2f5c6024
LMI
141432011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
14144
14145 * man.el (Man-fontify-manpage): Fix message when formatting the
14146 man page (bug#7929).
14147
0bb23927 141482011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
14149
14150 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
14151 argument LRM; if non-nil, append an invisible LRM character to the
14152 buffer name.
14153 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
14154 last argument non-nil, when formatting buffer names.
0bb23927
EZ
14155 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
14156 paragraph direction.
cce4b0a7 14157
621ef9ab
LMI
141582011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
14159
d1583c48
LMI
14160 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
14161 the man page name (bug#7929).
14162
6a57fb5f
LMI
14163 * image.el (put-image): Mention the `put-image' overlay property
14164 (bug#7834).
14165
d7956b14
LMI
14166 * scroll-bar.el (set-scroll-bar-mode): Mention that
14167 `scroll-bar-mode' lists the values (bug#7772).
14168
5b2d4a66
LMI
14169 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
14170 command (bug#7729).
14171
7509a874
LMI
14172 * rect.el (apply-on-rectangle): Return the point after the last
14173 operation.
14174 (string-rectangle): Go to the point after the last operation
14175 (bug#7522).
14176
4fe74b19
LMI
14177 * printing.el (pr-toggle-region): Clarify the documentation
14178 slightly (bug#7493).
14179
b796c9b7
SM
14180 * time.el (display-time-update):
14181 Allow `display-time-mail-function' to return nil (bug#7158).
14182 Fix suggested by Detlev Zundel.
ab283561 14183
fc233c9d
LMI
14184 * vc/diff.el (diff): Clarify the order the file names are read
14185 (bug#7111).
14186
43f5740b
LMI
14187 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
14188 the doc string (bug#7015).
14189
f2182a76
LMI
14190 * font-lock.el (font-lock-maximum-decoration): Mention what
14191 numeric levels mean (bug#6935).
14192
621ef9ab
LMI
14193 * startup.el (initial-buffer-choice): Don't mention the `none'
14194 selection, which is against policy.
14195
adc47434
MR
141962011-07-14 Martin Rudalics <rudalics@gmx.at>
14197
b796c9b7
SM
14198 * window.el (display-buffer-normalize-special):
14199 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 14200
7e5bfb8f
EZ
142012011-07-14 Eli Zaretskii <eliz@gnu.org>
14202
14203 * subr.el (version<, version<=, version=): Mention "-CVS" and
14204 "-12345" alpha version numbers.
14205
27fa387a
CY
142062011-07-14 Chong Yidong <cyd@stupidchicken.com>
14207
14208 * bindings.el: Add advertised binding for set-mark-command
14209 (Bug#5772).
14210
8bdfa064
CY
142112011-07-14 Chong Yidong <cyd@stupidchicken.com>
14212
14213 * bindings.el (mode-line-other-buffer):
14214 * bookmark.el (bookmark-bmenu-2-window):
14215 * bs.el (bs-cycle-next, bs-cycle-previous):
14216 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
14217 switch-to-buffer.
14218
14219 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 14220 Delete.
8bdfa064 14221
5eba16a3
JB
142222011-07-14 Juanma Barranquero <lekktu@gmail.com>
14223
14224 * follow.el (follow-debug-message, follow-redisplay):
14225 * jka-cmpr-hook.el (with-auto-compression-mode):
14226 Fix typos in docstrings.
14227
15853710
LMI
142282011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14229
a28e4607
LMI
14230 * subr.el (with-silent-modifications): Clarify somewhat what the
14231 macro inhibits (bug#6525).
14232
15853710
LMI
14233 * simple.el (eval-expression): Note what it does if called
14234 interactively (bug#6495).
14235
bee0fcef
CY
142362011-07-13 Chong Yidong <cyd@stupidchicken.com>
14237
b796c9b7
SM
14238 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
14239 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
14240
14241 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
14242 Remove switch-to-buffer.
14243
58274504
LMI
142442011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14245
bd2fcc8d
LMI
14246 * files.el (make-directory): Clarify that an error will be raised
14247 if there's an error (bug#6397).
14248
0f04b32c
LMI
14249 * startup.el (initial-buffer-choice): Add `none' as a choice
14250 (bug#6234).
14251
465c5fc8
LMI
14252 * subr.el (add-hook): Clarify section about buffer-local hooks
14253 (bug#6218).
14254
58274504
LMI
14255 * dired.el (dired-flagged): Clarify doc string (bug#6117).
14256
bead9a43
JB
142572011-07-13 Juanma Barranquero <lekktu@gmail.com>
14258
14259 * tabify.el (untabify): Preserve the current column so that point
14260 doesn't move (bug#6032).
14261
3af98a7b
LMI
142622011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14263
b796c9b7
SM
14264 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
14265 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 14266
6240145a
GM
142672011-07-13 Glenn Morris <rgm@gnu.org>
14268
14269 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
14270 (dired-insert-directory): Give a message the first time
14271 if ls is found not to support --dired.
14272
1d8c2ccc
LMI
142732011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14274
14275 * simple.el (toggle-truncate-lines): Clarify what is toggled
14276 (bug#5580). Text by Drew Adams.
14277
5fc4038e
CY
142782011-07-13 Chong Yidong <cyd@stupidchicken.com>
14279
14280 * simple.el (blink-matching-open): Make the error message from the
14281 last change less verbose.
14282
bf6012e5
DN
142832011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
14284
14285 * font-lock.el (font-lock-comment-face): Use the high contrast
14286 "yellow" color for font-lock-comment-face on low color terminals
14287 using a dark background color (bug#4221).
14288
343c3b5a
LMI
142892011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14290
7e9505c5
LMI
14291 * dired.el (dired-insert-set-properties): Make the doc string
14292 reflect what it does now (bug#5325).
14293
c26fdcf5
LMI
14294 * simple.el (blink-matching-open): Say that we were unable to find
14295 the match within the limit, if we're limited (bug#5122).
14296
bb388cc5
LMI
14297 * international/mule-cmds.el (prefer-coding-system): Add an
14298 example (bug#4869).
14299
343c3b5a
LMI
14300 * progmodes/etags.el (tags-search): Document `file-list-form'
14301 (bug#4731).
14302
2a517d45
LM
143032011-07-13 Lawrence Mitchell <wence@gmx.li>
14304
14305 * net/browse-url.el (browse-url-default-browser)
14306 (browse-url-browser-function): Make the default browser choice a
14307 bit more logical (bug#4300). Also clean up the doc string.
14308
b6c78ef2
JB
143092011-07-13 Juanma Barranquero <lekktu@gmail.com>
14310
14311 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
14312 binary endings (bug#4440).
14313
1c4dd947
LMI
143142011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14315
a2014063
LMI
14316 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
14317 which can be pretty annoying (bug#8971).
14318
9c9c2d88
LMI
14319 * jka-compr.el (jka-compr-verbose): New variable, and use
14320 throughout (bug#8971).
14321
1c4dd947
LMI
14322 * info.el (Info-find-file): Fall back on the installation
14323 directory if we can't find the info node anywhere else.
14324
a1c9f41b
SO
143252011-07-13 Sergei Organov <osv@javad.com> (tiny change)
14326
14327 * vc/vc.el (vc-revert-file):
14328 Don't set file time-stamp in the past. (Bug#5181)
14329
536f3d36
LMI
143302011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
14331
7152b011
LMI
14332 * files.el (after-find-file): Give a better error message when
14333 trying to find a symlink that points to a file that doesn't exist
14334 (bug#4398).
14335
536f3d36
LMI
14336 * progmodes/cc-vars.el: Remove (probably) misleading comment
14337 (bug#4396).
14338
460c0fba
JB
143392011-07-12 Johan Bockgård <bojohan@gnu.org>
14340
14341 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
14342
7a6bda45
CY
143432011-07-12 Chong Yidong <cyd@stupidchicken.com>
14344
14345 * mouse-sel.el: Hack restoring functionality, while keeping
14346 compatibility with 2010-07-03 changes to mouse selection.
14347 (mouse-sel-primary-overlay): New var.
14348 (mouse-sel-selection-alist): Use it.
14349 (mouse-sel-mode): Doc fix; remove points that are default features
14350 of mouse.el.
14351
c79598ef
JB
143522011-07-12 Johan Bockgård <bojohan@gnu.org>
14353
14354 * progmodes/compile.el (compilation-error-regexp-alist-alist):
14355 Fix previous fix (bug#2490).
14356
ff8be6ef
RW
143572011-07-12 Roland Winkler <winkler@gnu.org>
14358
b796c9b7
SM
14359 * textmodes/bibtex.el (bibtex-initialize):
14360 Use pop-to-buffer-same-window.
ff8be6ef
RW
14361 (bibtex-search-entries): Fix interactive call.
14362
296ba3ee
LMI
143632011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
14364
f5242a02 14365 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
14366 Fontise bytecomp Error lines more correctly (bug#2490).
14367 Fix suggested by Johan Bockgård.
f5242a02 14368
296ba3ee
LMI
14369 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
14370
14371 * dired-x.el (dired-guess-default): Use `delete-dups'.
14372
f69fd0d2
CY
143732011-07-12 Chong Yidong <cyd@stupidchicken.com>
14374
14375 * dired.el (dired-mark-prompt):
14376 * dired-aux.el (dired-read-shell-command): Doc fix.
14377
eab5dc07
LMI
143782011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14379
b796c9b7
SM
14380 * mail/sendmail.el (sendmail-query-once):
14381 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
14382 emacs -Q.
14383
14384 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
14385
eab5dc07
LMI
14386 * cus-edit.el (custom-file): Take an optional no-error variable.
14387 (customize-save-variable): Set the variable, and give a warning if
14388 running under "emacs -q".
14389
a1e65d42
JB
143902011-07-11 Juanma Barranquero <lekktu@gmail.com>
14391
14392 * loadhist.el (unload-feature-special-hooks):
14393 Add `auto-coding-functions', `fill-nobreak-predicate' and
14394 `find-directory-functions' (bug#5327).
14395
1d52da10
LMI
143962011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14397
be958f1d
LMI
14398 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
14399
5bedb26c
LMI
14400 * cus-edit.el (custom-guess-name-alist): -alist variables should
14401 use the `alist' type (bug#3120). Suggested by Drew Adams.
14402
1d52da10
LMI
14403 * printing.el: Add documentation to all the `pr-toggle-' commands.
14404
cd394be1 144052011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
14406
14407 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
14408 backends where it makes sense (bug#2623).
14409
dcc88d8a
LMI
144102011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14411
c3de9feb
LMI
14412 * dired-x.el (dired-guess-default): Remove duplicate shell command
14413 entries (bug#2028).
8a93078b 14414 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 14415 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 14416
dcc88d8a
LMI
14417 * subr.el (remove-duplicates): New conveniency function.
14418
505e3645
LMI
144192011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
14420
14421 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
14422 (bug#1526).
14423
144242011-07-10 Martin Rudalics <rudalics@gmx.at>
14425
14426 * window.el (display-buffer-normalize-default): Don't invert
14427 meaning of even-window-heights. Reported by Eli Zaretskii
14428 <eliz@gnu.org>.
14429
455e4fa1
BR
144302011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
14431
14432 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
14433
8e0bc3e9
CY
144342011-07-10 Chong Yidong <cyd@stupidchicken.com>
14435
14436 * window.el (display-buffer): Fix arguments to
14437 display-buffer-reuse-window in last change.
14438
fa7c3228
CY
14439 * faces.el (link): Use a less saturated blue on light backgrounds.
14440
14441 * startup.el (fancy-startup-text, fancy-about-text)
14442 (fancy-startup-tail): Use font-lock faces, for background safety.
14443
c0a7f300
BN
144442011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
14445
b796c9b7
SM
14446 * emulation/viper-cmd.el (viper-change-state-to-vi):
14447 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 14448
4dc2a129
MR
144492011-07-09 Martin Rudalics <rudalics@gmx.at>
14450
14451 * window.el (display-buffer-default-specifiers): Remove.
14452 (display-buffer-macro-specifiers): Remove default specifiers.
14453 (display-buffer-alist): Default to nil.
b796c9b7 14454 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
14455 (display-buffer-pop-up-window): Allow splitting internal
14456 windows. Check whether a live window was created.
14457 (display-buffer-other-window-means-other-frame)
14458 (display-buffer-normalize-arguments): Rename to
14459 display-buffer-normalize-argument and rewrite. Set the
14460 other-window specifier.
14461 (display-buffer-normalize-special): New function.
14462 (display-buffer-normalize-options): Rename to
14463 display-buffer-normalize-default and rewrite.
14464 (display-buffer-normalize-options-inhibit): Remove.
14465 (display-buffer-normalize-specifiers): Rewrite.
14466 (display-buffer): Process other-window specifier and call
14467 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
14468 more faithfully.
b796c9b7 14469 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 14470 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
14471 (display-buffer-in-window, display-buffer-alist-set):
14472 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
14473 <tassilo@member.fsf.org>.
14474
2d43b8c9
LL
144752011-07-09 Leo Liu <sdl.web@gmail.com>
14476
14477 * register.el (insert-register): Restore accidental change on
14478 2011-06-26. (Bug#9028)
14479
7f9b7c53
GM
144802011-07-09 Glenn Morris <rgm@gnu.org>
14481
14482 * subr.el (remq): Handle the empty list. (Bug#9024)
14483
f042cfd8
AS
144842011-07-08 Andreas Schwab <schwab@linux-m68k.org>
14485
14486 * mail/sendmail.el (send-mail-function): No longer delay custom
14487 initialization.
14488 * custom.el (custom-initialize-delay): Doc fix.
14489
856b2f11
SM
144902011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
14491
14492 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
14493
afae1d68
MA
144942011-07-08 Michael Albinus <michael.albinus@gmx.de>
14495
14496 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
14497 human-friendly prompt.
14498
0757af94
SM
144992011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
14500
14501 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
14502 provided by a particular plugin.
14503
d760b731
LMI
145042011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
14505
14506 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
14507 save customizations (with "emacs -Q"), just set the variable
14508 instead of erroring out.
14509
14510 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
14511
cd79ce90
JL
145122011-07-08 Juri Linkov <juri@jurta.org>
14513
14514 * arc-mode.el (archive-zip-expunge, archive-zip-update)
14515 (archive-zip-update-case): Use 7z if found by `executable-find'.
14516 The order of searching the available programs is the same as in
14517 `archive-zip-extract' (bug#8968).
14518
14cc04aa
CY
145192011-07-07 Chong Yidong <cyd@stupidchicken.com>
14520
14521 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
14522 (menu-bar-options-menu): Tweak descriptions.
14523
0a1848ec
LMI
145242011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
14525
14526 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
14527 menu items into verb phrases (bug#1421). Also refill to fit under
14528 80 columns.
14529
f5bd0689
CY
145302011-07-07 Chong Yidong <cyd@stupidchicken.com>
14531
538e85c6
CY
14532 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
14533 (Info-read-node-name): Doc fix (Bug#1084).
14534
f5bd0689
CY
14535 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
14536 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
14537 (end-of-sexp, beginning-of-sexp)
14538 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
14539 (forward-symbol, forward-same-syntax, word-at-point)
14540 (sentence-at-point): Doc fix (Bug#1144).
14541
56ec5115
LMI
145422011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
14543
f3f8e37f
LMI
14544 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
14545 should cover it (bug#1281).
14546
0757af94 14547 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 14548
e9fce1ac 14549 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
14550 negotiation fails, then possibly try again with a non-encrypted
14551 connection (bug#9017).
14552
56ec5115
LMI
14553 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
14554 be used.
14555
c2f9aec8
RS
145562011-07-07 Richard Stallman <rms@gnu.org>
14557
14558 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
14559 property, and handle its changed format.
14560 Look for the correct line number.
14561 Use file's line contents (but not past first =) to find
14562 correct line in message.
14563
ef7b981d 145642011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
14565
14566 * international/characters.el (build-unicode-category-table):
14567 Delete it.
0757af94 14568 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 14569
0757af94 14570 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
14571 to src/chartab.c.
14572 (get-char-code-property): Call unicode-property-table-internal to
14573 load a file. Call get-unicode-property-internal where necessary.
14574 (put-char-code-property): Call unicode-property-table-internal to
14575 load a file. Call put-unicode-property-internal where necessary.
14576 put-unicode-property-internal where necessary.
0757af94
SM
14577 (char-code-property-description):
14578 Call unicode-property-table-internal to load a file.
c805dec0
KH
14579
14580 * international/charprop.el:
14581 * international/uni-bidi.el:
14582 * international/uni-category.el:
14583 * international/uni-combining.el:
14584 * international/uni-comment.el:
14585 * international/uni-decimal.el:
14586 * international/uni-decomposition.el:
14587 * international/uni-digit.el:
14588 * international/uni-lowercase.el:
14589 * international/uni-mirrored.el:
14590 * international/uni-name.el:
14591 * international/uni-numeric.el:
14592 * international/uni-old-name.el:
14593 * international/uni-titlecase.el:
14594 * international/uni-uppercase.el: Regenerate.
14595
14596 * loadup.el: Load international/charprop.el before
14597 international/characters.
14598
e14b388a
CY
145992011-07-07 Chong Yidong <cyd@stupidchicken.com>
14600
14601 * window.el (next-buffer, previous-buffer): Signal an error if
14602 called from a minibuffer window.
14603
14604 * bindings.el: Revert 2011-07-04 change.
14605
354cf0ba
RS
146062011-07-06 Richard Stallman <rms@gnu.org>
14607
14608 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
14609 (rmail-mime-insert-bulk, rmail-mime-insert-text):
14610 Treat markers like ints.
14611 (rmail-mime-entity): Doc fix.
14612
a48868a7
LMI
146132011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
14614
4906cd3d
LMI
14615 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
14616 defcustom again for backwards compatibility.
14617
e0457abe
LMI
14618 * simple.el (shell-command-on-region): Fill.
14619
d67f7e1f
LMI
14620 * dired-aux.el (dired-kill-line): Add a doc string.
14621
fe204702
LMI
14622 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
14623 to "\\sw\\|\\s_" (bug#358).
14624
a48868a7
LMI
14625 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
14626 (dired-unmark-backward): Ditto.
14627 (dired-flag-backup-files): Ditto.
14628
14629 * dired-x.el (dired-mark-sexp): Ditto.
14630
aa8a705c
RS
146312011-07-06 Richard Stallman <rms@gnu.org>
14632
14633 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
14634 (rmail-mime-entity): New arg TRUNCATED.
14635 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
14636 New functions.
14637 (rmail-mime-save): Warn if entity is truncated.
14638 (rmail-mime-toggle-hidden): Likewise, for showing.
14639 (rmail-mime-process-multipart): Record when an entity is truncated.
14640
a9a936b9
RS
14641 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
14642 if ENTITY is a string.
14643
1f2b92cb
LMI
146442011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
14645
f4f73198 14646 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
14647 of faces when `M-C-x'-ing their definitions (bug#8378).
14648 Also clean up the code slightly.
f4f73198 14649
12b16734 14650 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 14651 because that makes the colors go away.
12b16734 14652
f0691d22
LMI
14653 * mail/sendmail.el (send-mail-function): Change the default to
14654 `sendmail-query-once'.
9e87df06 14655 (sendmail-query-once): Add an autoload cookie.
f0691d22 14656
1f2b92cb
LMI
14657 * net/network-stream.el (network-stream-open-starttls): Try using
14658 a plain connection even if the server offered STARTTLS, and we
14659 kinda wanted to use it, if Emacs doesn't have any STARTTLS
14660 capability. This should make smtpmail.el work in slightly more
14661 configurations.
14662
1cdd2a1b
MA
146632011-07-06 Michael Albinus <michael.albinus@gmx.de>
14664
14665 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
14666 New defun.
14667 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
14668
fbcc67e2
MM
146692011-07-06 Michael R. Mauger <mmaug@yahoo.com>
14670
14671 * progmodes/sql.el: Version 3.0
0757af94 14672 (sql-product-alist): Add product :completion-object,
fbcc67e2 14673 :completion-column, and :statement attributes.
0757af94 14674 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 14675 (sql-mode-syntax-table): Mark all punctuation.
0757af94 14676 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
14677 ansi keywords.
14678 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 14679 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
14680 (sql-oracle-show-reserved-words): New function for development.
14681 (sql-product-font-lock): Simplify for source code buffers.
14682 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
14683 New functions.
14684 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
14685 (sql-mode-map): Add statement movement functions.
14686 (sql-ansi-statement-starters, sql-oracle-statement-starters):
14687 New variable.
fbcc67e2
MM
14688 (sql-statement-regexp, sql-beginning-of-statement)
14689 (sql-end-of-statement, sql-signum): New functions.
0757af94 14690 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
14691 (sql-show-sqli-buffer): Bug fix.
14692 (sql-interactive-mode): Store connection data as buffer local.
0757af94 14693 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
14694 with sql-interactive-mode.
14695 (sql-save-connection): Save buffer local settings.
0757af94 14696 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
14697 (sql-product-interactive): Bug fix.
14698 (sql-preoutput-hold): New variable.
14699 (sql-interactive-remove-continuation-prompt): Bug fixes.
14700 (sql-debug-redirect): New variable.
14701 (sql-str-literal): New function.
14702 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 14703 Redesign.
fbcc67e2
MM
14704 (sql-oracle-save-settings, sql-oracle-restore-settings)
14705 (sql-oracle-list-all, sql-oracle-list-table): New functions.
14706 (sql-completion-object, sql-completion-column)
14707 (sql-completion-sqlbuf): New variables.
14708 (sql-build-completions-1, sql-build-completions)
14709 (sql-try-completion): New functions.
14710 (sql-read-table-name): Use them.
14711 (sql-contains-names): New buffer local variable.
14712 (sql-list-all, sql-list-table): Use it.
14713 (sql-oracle-completion-types): New variable.
14714 (sql-oracle-completion-object, sql-sqlite-completion-object)
14715 (sql-postgres-completion-object): New functions.
14716
d4eaeab1
GM
147172011-07-06 Glenn Morris <rgm@gnu.org>
14718
14719 * window.el (pop-to-buffer): Doc fix.
14720
322b7dab 147212011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
14722
14723 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
14724
322b7dab 147252011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 14726
322b7dab 14727 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 14728
322b7dab 14729 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 14730
605dd5bf
CY
147312011-07-05 Chong Yidong <cyd@stupidchicken.com>
14732
14733 * button.el (button): Inherit from link face. Suggested by Dan
14734 Nicolaescu.
14735
7dbfa719
SM
147362011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
14737
3db614b0
SM
14738 * progmodes/gdb-mi.el: Fit in 80 columns.
14739 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
14740 switch-to-buffer.
14741
7dbfa719
SM
14742 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
14743 if imenu is simply not configured (bug#8941).
14744
919d884a
KM
147452011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
14746
14747 * allout.el (allout-post-undo-hook): New allout outline-change
14748 event hook to signal undo activity.
14749 (allout-post-command-business): Run allout-post-undo-hook if an
14750 undo just occurred.
7dbfa719
SM
14751 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
14752 * allout-widgets.el (allout-widgets-after-undo-function):
14753 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
14754 in the vicinity of an undo.
14755 (allout-widgets-mode): Include allout-widgets-after-undo-function
14756 on the new allout-post-undo-hook.
14757
450a0f09
SM
147582011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
14759
14760 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
14761 Let define-derived-mode define it.
14762 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
14763 cycles of abbrev-table inheritance (bug#8998).
14764
2de69e00
RW
147652011-07-05 Roland Winkler <winkler@gnu.org>
14766
14767 * textmodes/bibtex.el: Add support for biblatex.
14768 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
14769 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
14770 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
14771 (bibtex-entry-alist, bibtex-field-alist): New variables.
14772 (bibtex-entry-field-alist): Obsolete alias for
14773 bibtex-BibTeX-entry-alist.
14774 (bibtex-entry-alist, bibtex-field-alist): New widgets.
14775 (bibtex-set-dialect): New command.
14776 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
14777 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
14778 Bind via bibtex-set-dialect.
2de69e00
RW
14779 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
14780 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
14781 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
14782 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
14783 Define via bibtex-set-dialect.
450a0f09
SM
14784 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
14785 Obey bibtex-no-opt-remove-re.
2de69e00
RW
14786 (bibtex-vec-push, bibtex-vec-incr): New functions.
14787 (bibtex-format-entry, bibtex-field-list)
14788 (bibtex-print-help-message, bibtex-validate)
14789 (bibtex-search-entries): Use new format of bibtex-entry-alist.
14790
2dcdbdd9
SM
147912011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
14792
14793 * progmodes/compile.el (compilation-goto-locus):
14794 * net/tramp-cmds.el (tramp-append-tramp-buffers):
14795 * bs.el (bs-cycle-next, bs-cycle-previous):
14796 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
14797 * bindings.el (mode-line-other-buffer):
14798 * autoinsert.el (auto-insert):
14799 * arc-mode.el (archive-extract):
14800 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
14801
b27640fe
JB
148022011-07-05 Juanma Barranquero <lekktu@gmail.com>
14803
14804 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
14805 Fix check of `emacs-lock-unlockable-modes'.
14806 Coerce true values of `emacs-lock--try-unlocking' to t.
14807
53bbe3ad
JB
148082011-07-05 Juanma Barranquero <lekktu@gmail.com>
14809
14810 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
14811 * emacs-lock.el: New file.
14812
1d3cdbc7
JD
148132011-07-05 Julien Danjou <julien@danjou.info>
14814
14815 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
14816 than `boundp' to check if face is set.
14817
9173deec
JB
148182011-07-05 Juanma Barranquero <lekktu@gmail.com>
14819
14820 * register.el (registerv-make):
14821 * window.el (window-min-height): Fix typos in docstrings.
14822
869795d6
JD
148232011-07-05 Jan Djärv <jan.h.d@swipnet.se>
14824
9173deec 14825 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
14826 Update doc string.
14827
b768cdcd
JB
148282011-07-04 Juanma Barranquero <lekktu@gmail.com>
14829
14830 * server.el (server-execute): Catch quit and call
14831 `server-return-error' to pass the error back to emacsclient and
14832 close the connection (bug#8942).
14833
13aa217b
KM
148342011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
14835
14836 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
14837 insecure exception for current topic. Also note that auto-saves
14838 are handled differently.
14839
5d3385a0 14840 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
14841 State variables for tracking auto-save inhibition situation.
14842
14843 (allout-write-contents-hook-handler): Rename from
14844 'allout-write-file-hook-handler', and describe how it depends on
14845 write-contents-functions sensitivity to non-nil value to prevent
14846 file write.
14847
14848 (allout-auto-save-hook-handler): Remove. auto-save does not check
14849 this in individual buffers, only in the starting buffer, so this
14850 is not the right way for us to inhibit auto-save in a buffer
14851 according to its condition.
14852
14853 (allout-mode): Use new allout-write-contents-hook-handler, and
14854 only with write-contents-functions. Remove auto-save provisions -
14855 they're implemented elsewhere.
14856
14857 (allout-before-change-handler): If undo is in progress, note that
14858 for attention of allout-post-command-business.
14859
14860 (allout-post-command-business): If the command we're following was
14861 an undo, check for change in the status of encrypted items and
14862 adjust auto-save inhibitions accordingly.
14863
14864 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
14865 according to whether there are or aren't any plain-text topics
14866 pending encryption.
14867
2dcdbdd9 14868 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
14869 Adjust buffer-saved-size and some allout state to inhibit auto-saves
14870 if there are plain-text topics pending encryption.
13aa217b
KM
14871
14872 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
14873 buffer-saved-size and some allout state to not inhibit auto-saves
14874 if there are no longer any plain-text topics pending encryption.
14875
0757af94
SM
14876 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
14877 No longer provide for exemption of the current topic.
13aa217b 14878
ac89b32c
JL
148792011-07-04 Juri Linkov <juri@jurta.org>
14880
14881 Add 7z operations to delete and save changed members (bug#8968).
14882 * arc-mode.el (archive-7z-expunge, archive-7z-update):
14883 New defcustoms.
14884 (archive-7z-write-file-member): New function.
14885 (archive-7z-summarize): Fix the number of dashes in the
14886 listing output.
14887
8fa39615
SM
148882011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
14889
14890 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
14891 (bug#8958).
14892
2f11b3f1
CY
148932011-07-04 Chong Yidong <cyd@stupidchicken.com>
14894
d66fef2b
CY
14895 * bindings.el: Ignore next-buffer and previous-buffer in
14896 minibuffer-local-map.
14897
2f11b3f1
CY
14898 * font-lock.el (font-lock-builtin-face): Change light background
14899 color to dark slate blue (Bug#6693).
14900
f932a347
WD
149012011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
14902
14903 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
14904
c8af70e1
SM
149052011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
14906
14907 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
14908 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
14909 Add switch-to-buffer.
14910
f158badc
LMI
149112011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
14912
14913 * isearch.el (isearch-search-fun-function): Clarify further the
14914 meaning of the function returned.
14915
6d95bd46
MA
149162011-07-04 Michael Albinus <michael.albinus@gmx.de>
14917
14918 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
14919
14920 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
14921 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
14922 Use it.
14923 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
14924 `tramp-default-remote-path' does not exist.
14925 (tramp-send-command-and-read): New optional argument NOERROR.
14926 (tramp-open-connection-setup-interactive-shell)
14927 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
14928 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
14929 (tramp-process-sentinel): Flush also process' connection property.
14930 (tramp-sh-handle-start-file-process): Do not set process
14931 sentinel. It is done now ...
14932 (tramp-maybe-open-connection): ... here. (Bug#8929)
14933
909e6b67
MK
149342011-07-04 MON KEY <monkey@sandpframing.com>
14935
14936 * play/animate.el (animate-string): Doc fixes and allow changing
14937 the buffer name (bug#5417).
14938
149392011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
14940
c8af70e1 14941 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 14942
f34755dc
PE
149432011-07-04 Paul Eggert <eggert@cs.ucla.edu>
14944
396cec72
PE
14945 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
14946 This is simpler and helps future-proof the code.
14947 (timer-until): Use time-subtract and float-time.
08235028 14948 (timer--time-less-p): Use time-less-p.
f34755dc 14949
56e6cc31
JB
149502011-07-04 Juanma Barranquero <lekktu@gmail.com>
14951
3abb79e5
JB
14952 * type-break.el (timep): Use the value of `float-time' to avoid a
14953 byte-compiler warning.
14954
56e6cc31
JB
14955 * server.el (server-eval-and-print): Return any result, even nil.
14956
7b9430b4
PE
149572011-07-03 Paul Eggert <eggert@cs.ucla.edu>
14958
14959 * type-break.el: Accept time formats that the builtins accept.
14960 (timep, type-break-time-difference): Accept any format that
14961 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
14962 This is simpler and helps future-proof the code.
14963 (type-break-time-difference): Round rather than ignoring
14964 subseconds components.
14965
3034e9e7
LMI
149662011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
14967
14968 * info.el (Info-apropos-matches): Make non-interactive, since it
14969 doesn't seem to do anything useful as a command (bug#8829).
14970
1485f4c0
CY
149712011-07-03 Chong Yidong <cyd@stupidchicken.com>
14972
14973 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 14974 Move from faces.el.
1485f4c0
CY
14975 (frame-default-terminal-background): New function.
14976
14977 * custom.el (custom-push-theme): Don't record faces in `changed'
14978 theme; this doesn't work correctly for per-frame face settings.
14979 (disable-theme): Use face-set-after-frame-default to reset faces.
14980 (custom--frame-color-default): New function.
14981
9fa3dd45
LMI
149822011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
14983
c8af70e1 14984 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
14985 (bug#8769).
14986
6cbbc20c
KR
149872011-03-29 Kevin Ryde <user42@zip.com.au>
14988
14989 * progmodes/compile.el (compilation-error-regexp-alist-alist):
14990 `perl-Test2' extend to match possible "fail #N" rep count
14991 (bug#8377).
14992
c7f98048
LMI
149932011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
14994
65676592
LMI
14995 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
14996 `smtpmail-via-smtp' now returns the error instead of nil.
14997
c7f98048
LMI
14998 * isearch.el (isearch-search-fun-function): Clarify the doc string
14999 (bug#8101).
15000
56e6cc31 150012011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
15002
15003 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
15004 unnecessary spaces (bug#8987).
15005
2b216704
LMI
150062011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15007
15008 * net/network-stream.el (open-network-stream): Use the
15009 :end-of-capability command thoughout.
15010
150112011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
15012
15013 * net/network-stream.el (open-network-stream): Add the
15014 :end-of-capability command parameter, used by pop3.el.
15015
36adf6ce
LMI
150162011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15017
1ca0da0e
LMI
15018 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
15019
fc00f69c
LMI
15020 * fringe.el (fringe-query-style): Remove redundant text " (type ?
15021 for list)" (bug#6475).
15022
28fd8759 15023 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 15024 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
15025 an error (bug#6297).
15026
0dd8b6da
LMI
15027 * man.el (Man-reference-regexp): Allow matching possible
15028 word-wrapped references (bug#6289).
15029
ce1438d6
LMI
15030 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
15031 for consistency with the other vc buffers (bug#6197).
15032 (vc-checkin): Ditto.
15033
15034 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
15035
36adf6ce
LMI
15036 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
15037
e83cc1f7
LMI
150382011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15039
8a20ca4c
LMI
15040 * custom.el (defcustom): Clarify that :set is only used in the
15041 Customize user interface (bug#6089).
15042
83319045
LMI
15043 * progmodes/flymake.el (flymake-mode): If the buffer isn't
15044 associated with a file, refuse to run instead of erroring out
15045 (bug#6084).
15046
a8392169
LMI
15047 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
15048 the doc string, since it appears that using `fill-column' always
15049 controls the width (bug#7845).
15050
e83cc1f7
LMI
15051 * simple.el (shell-command-on-region): Say where the error output
15052 went if `shell-command-default-error-buffer' is set (bug#6857).
15053
e47ca23b
KM
150542011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
15055
15056 * allout.el (allout-yank-processing): Adjust cursor position for
15057 backwards-deleted space.
15058
15059 (allout-rebullet-heading): Register changes with
15060 allout-exposure-changed-hook, so the modified topic is properly
15061 decorated.
15062
5cf56143
LMI
150632011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15064
08549772
LMI
15065 * minibuffer.el (completion-in-region): Document PREDICATE
15066 (bug#7136).
15067
48e96771
LMI
15068 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
15069 of keyword/argument pairs (bug#6904).
15070
c8af70e1
SM
15071 * replace.el (multi-occur):
15072 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 15073
e17d05e2
LMI
150742011-07-02 Drew Adams <drew.adams@oracle.com>
15075
15076 * dired.el (dired-mark-if): Make the message about whether it's
15077 marking or unmarking clearer (bug#8523).
15078
063b0e45
LMI
150792011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15080
15081 * disp-table.el (display-table-print-array): New function.
15082 (describe-display-table): Use it to print the vectors more pretty
15083 (Bug#8859).
15084
28545e04
MR
150852011-07-02 Martin Rudalics <rudalics@gmx.at>
15086
15087 * window.el (window-state-get-1): Don't assign clone numbers.
15088 Add clone-of item to list of window parameters.
15089 (window-state-put-2): Don't process clone numbers.
15090 (display-buffer-alist): Fix doc-string.
15091
3349e122
SM
150922011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
15093
15094 * subr.el (remq): Don't allocate if it's not needed.
15095 (keymap--menu-item-binding, keymap--menu-item-with-binding)
15096 (keymap--merge-bindings): New functions.
15097 (keymap-canonicalize): Use them to refine the canonicalization.
15098 * minibuffer.el (minibuffer-local-completion-map)
15099 (minibuffer-local-must-match-map): Move initialization from C.
15100 (minibuffer-local-filename-completion-map): Move initialization from C;
15101 don't inherit from anything here.
15102 (minibuffer-local-filename-must-match-map): Make obsolete.
15103 (completing-read-default): Use make-composed-keymap to combine
15104 minibuffer-local-filename-completion-map with either
15105 minibuffer-local-must-match-map or
15106 minibuffer-local-filename-completion-map.
15107
d224ac83
GM
151082011-07-01 Glenn Morris <rgm@gnu.org>
15109
3de63bf8
GM
15110 * type-break.el (type-break-time-sum): Use dolist.
15111
d224ac83
GM
15112 * textmodes/flyspell.el (flyspell-word-search-backward):
15113 Replace CL function.
15114
1a1e3f32
SM
151152011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
15116
fe3f64d5
SM
15117 * mouse.el (mouse--strip-first-event): New function.
15118 (function-key-map): Use it to map fringe clicks to normal clicks
15119 by default.
15120
eb604e34
SM
15121 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
15122 (vc-bzr-revision-completion-table): Add support for annotate and date.
15123
1a1e3f32
SM
15124 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
15125 inherit from parent.
15126
5bd35902
LMI
151272011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
15128
ace6c69c 15129 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 15130 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 15131
191e2bed
LMI
15132 * dired.el (dired-mode): Fix up the doc string as suggested by
15133 Drew Adams (bug#8817).
15134
5bd35902
LMI
15135 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
15136 cookie, since the manual says that it should be possible to add
15137 this function to `find-file-hook' (bug#8709).
15138
eee8207a
TZ
151392011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
15140
15141 * progmodes/cfengine.el: Moved all cfengine3.el functionality
15142 here. Noted Ted Zlatanov as the maintainer.
15143 (cfengine-common-settings, cfengine-common-syntax): New functions
15144 to set up common things between `cfengine-mode' and
15145 `cfengine3-mode'.
15146 (cfengine3-mode): New mode.
15147 (cfengine3-defuns cfengine3-defuns-regex
15148 (cfengine3-class-selector-regex cfengine3-category-regex)
15149 (cfengine3-vartypes cfengine3-font-lock-keywords)
15150 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 15151 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 15152
36b148cf
MA
151532011-07-01 Michael Albinus <michael.albinus@gmx.de>
15154
15155 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
15156
15157 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
15158
0bf4ba9a
MR
151592011-07-01 Martin Rudalics <rudalics@gmx.at>
15160
15161 * window.el (same-window-buffer-names, same-window-regexps)
15162 (same-window-p, special-display-frame-alist)
15163 (special-display-popup-frame, special-display-function)
15164 (special-display-buffer-names, special-display-regexps)
15165 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
15166 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
15167 (split-window-preferred-function, split-height-threshold)
15168 (split-width-threshold, even-window-heights)
15169 (display-buffer-mark-dedicated, window-splittable-p)
15170 (split-window-sensibly, window-safely-shrinkable-p):
15171 Un-obsolete.
15172 (display-buffer): Don't spread args with function specifier
15173 because special-display-popup-frame won't like it.
15174
35837f51
PE
151752011-07-01 Paul Eggert <eggert@cs.ucla.edu>
15176
d0672f86
PE
15177 Time-stamp simplifications and fixes.
15178 These improve accuracy slightly, and future-proof the code
15179 against some potential changes to current-time format.
15180
b9444d97
PE
15181 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
15182 by using time-since and float-time.
15183
0ef923dc
PE
15184 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
15185 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
15186 + NNN microseconds".
15187
2f81380d
PE
15188 * type-break.el (type-break-time-sum): Rewrite using time-add.
15189
845b5c3e
PE
15190 * play/hanoi.el (hanoi-current-time-float): Remove.
15191 All uses replaced by float-time.
15192
ee6f1be0
PE
15193 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
15194 This yields a more-accurate answer.
15195 (rng-time-to-float): Remove; no longer needed.
15196
fe955043
PE
15197 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
15198
5777162a
PE
15199 * calendar/timeclock.el (timeclock-seconds-to-time):
15200 Defalias to seconds-to-time, since they're the same thing.
15201
3103f8b6 15202 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 15203 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
15204 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
15205
0e61a35f
SM
152062011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
15207
15208 * window.el (bury-buffer): Don't iconify the only frame.
15209 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
15210 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
15211
ddd63a1e
CY
152122011-07-01 Chong Yidong <cyd@stupidchicken.com>
15213
0e61a35f
SM
15214 * eshell/em-smart.el (eshell-smart-display-navigate-list):
15215 Add mouse-yank-primary.
ddd63a1e 15216
055f4923
TZ
152172011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
15218
15219 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
15220
6a2fb145
SM
152212011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
15222
15223 * emacs-lisp/find-func.el (find-library--load-name): New fun.
15224 (find-library-name): Use it to find relative load names when provided
15225 absolute file name (bug#8803).
15226
fd4983f2
LMI
152272011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
15228
887d14ad
LMI
15229 * textmodes/flyspell.el (flyspell-word): Consider words that
15230 differ only in case as potential doublons (bug#5687).
15231
c53dc7fc
LMI
15232 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
15233 Remove two rather uninteresting debugging-like messages to make
15234 debbugs.el more silent.
15235
fd4983f2
LMI
15236 * comint.el (comint-password-prompt-regexp): Accept "Response" as
15237 a password-like phrase.
15238
7a71b18d 152392011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
15240
15241 * progmodes/cc-guess.el: New file.
15242
6a2fb145 15243 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
15244
15245 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
15246 derived from `c-basic-common-init'.
15247
15248 * progmodes/cc-mode.el (top-level): Require cc-guess.
15249 (c-basic-common-init): Use `cc-choose-style-for-mode'.
15250
1fa280a3
LM
152512011-06-30 Lawrence Mitchell <wence@gmx.li>
15252
15253 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
15254
e6597158
AM
152552011-06-30 Alan Mackenzie <acm@muc.de>
15256
1fa280a3
LM
15257 * progmodes/cc-engine.el (c-guess-continued-construct):
15258 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
15259 lock is disabled. Name this case as "CASE G".
15260
68ba37fb
KM
152612011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
15262
15263 * allout.el (allout-yank-processing): Fix injection of extra space
15264 between bullet and non-whitespace character in first topic when
15265 pasting, ensuring that the actual spacing in the pasted topic
15266 following the bullet char is preserved. This extra space was
15267 causing pasted encrypted topics to get a decrypted status even
15268 when the content was actually still encrypted. Now the decryption
15269 status from before the paste is preserved.
15270
15271 (allout-flag-region): Set all allout overlays so they evaporate
15272 when reduced to zero length (evanescent), to prevent overlay
15273 leakage.
15274
887a0b34
GM
152752011-06-30 Glenn Morris <rgm@gnu.org>
15276
94b9acce
GM
15277 * w32-fns.el (w32-charset-info-alist): Declare.
15278
1d9b46d4
GM
15279 * find-dired.el (find-grep-options): Simplify.
15280
cc232200
GM
15281 * term/ns-win.el (ns-set-resource): Declare.
15282
28e77c46
GM
15283 * ses.el (row, col): Declare dynamic variables honestly.
15284
887a0b34
GM
15285 * textmodes/reftex-parse.el (index-tags): Declare.
15286
658d8eb8
CY
152872011-06-30 Chong Yidong <cyd@stupidchicken.com>
15288
15289 * cus-edit.el (customize-push-and-save): New function.
15290
15291 * files.el (hack-local-variables-confirm): Use it.
15292
1fa280a3
LM
15293 * custom.el (load-theme): New arg NO-CONFIRM.
15294 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
15295 (custom-enabled-themes): Doc fix.
15296
15297 * cus-theme.el (customize-create-theme)
15298 (custom-theme-merge-theme): Callers to load-theme changed.
15299
bb617717
LMI
153002011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
15301
d61bdd5d
LMI
15302 * thingatpt.el (thing-at-point-short-url-regexp): Require that
15303 short URLs have at least one dot in them (bug #7614).
15304
bb617717
LMI
15305 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
15306 nil, because using a pty is apparently too slow (bug #895).
15307
2f31f37a
LMI
153082011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
15309
15310 * mail/sendmail.el (sendmail-query-once): New function.
15311 (sendmail-query-once-function): New variable.
15312
3076b24e
GM
153132011-06-29 Glenn Morris <rgm@gnu.org>
15314
faf2a174
GM
15315 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
15316
3076b24e
GM
15317 * ses.el (top-level): Require cl when compiling.
15318 (ses-set-localvars): Fix error statement.
15319 Call it at compile time to silence a storm of warnings.
15320
5386012d
MR
153212011-06-29 Martin Rudalics <rudalics@gmx.at>
15322
15323 * window.el (normalize-live-buffer): Rename to
15324 window-normalize-buffer.
15325 (normalize-live-frame): Rename to window-normalize-frame.
15326 (normalize-any-window): Rename to window-normalize-any-window.
15327 (normalize-live-window): Rename to window-normalize-live-window.
15328 (make-window-atom): Rename to window-make-atom.
15329 (window-resize-reset): Rename to window--resize-reset.
15330 (window-resize-reset-1): Rename to window--resize-reset-1.
15331 (resize-mini-window): Rename to window--resize-mini-window.
15332 (resize-subwindows-skip-p): Rename to
15333 window--resize-subwindows-skip-p.
15334 (resize-subwindows-normal): Rename to
15335 window--resize-subwindows-normal.
15336 (resize-subwindows): Rename to window--resize-subwindows.
15337 (resize-other-windows): Rename to window--resize-siblings.
15338 (resize-this-window): Rename to window--resize-this-window.
15339 (resize-root-window): Rename to window--resize-root-window.
15340 (resize-root-window-vertically): Rename to
15341 window--resize-root-window-vertically.
15342 (normalize-buffer-to-display): Rename to
15343 window-normalize-buffer-to-display.
15344 (normalize-buffer-to-switch-to): Rename to
15345 window-normalize-buffer-to-switch-to.
15346 Correspondingly update all callers of the functions listed
15347 above.
15348 (display-buffer-alist, display-buffer-normalize-arguments)
15349 (display-buffer-normalize-options, display-buffer)
15350 (display-buffer-alist-set): Use "function" instead of
15351 "fun-with-args".
15352
1176868d
CY
153532011-06-28 Chong Yidong <cyd@stupidchicken.com>
15354
15355 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
15356 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
15357 debbugs.gnu.org. Mention acknowledgment email.
15358
20a7a65f
LMI
153592011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
15360
15361 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
15362 buffer multibyteness, since it shouldn't matter.
15363
5f45cca5
MR
153642011-06-28 Martin Rudalics <rudalics@gmx.at>
15365
15366 * window.el (display-buffer-in-side-window): Handle dedicated
15367 windows as in display-buffer-reuse-window.
15368 (display-buffer-normalize-alist): Use value of override
15369 specifier.
15370 (display-buffer-normalize-specifiers): Use value of
15371 other-window-means-other-frame specifier.
15372 (display-buffer-alist): Rewrite some texts in widgets.
15373 (display-buffer): Spread arguments when calling function
15374 specified by fun-with-args.
15375
ad85fe1f
DD
153762011-06-28 Deniz Dogan <deniz@dogan.se>
15377
1fa280a3
LM
15378 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
15379 Unnest `let'.
da68c4c8 15380
ad85fe1f
DD
15381 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
15382 selectors (Bug#5732).
ec49bd31 15383 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 15384
a08cc025
JA
153852011-06-27 Jari Aalto <jari.aalto@cante.net>
15386
15387 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
15388 (eshell-ls-date-format): New defcustom.
15389 (eshell-ls-file): Use it.
15390
e2b551c5
SM
153912011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
15392
15393 * help-fns.el (describe-variable): Fix message for terminal-local vars.
15394
8982b231
KY
153952011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
15396
15397 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
15398 (ange-ftp-make-tmp-name): New arg.
15399 (ange-ftp-file-local-copy): Use it.
15400
36c9fa27
J
154012011-06-27 Jambunathan K <kjambunathan@gmail.com>
15402
15403 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
15404 no-conversion (Bug#8870).
15405
d68443dc
MR
154062011-06-27 Martin Rudalics <rudalics@gmx.at>
15407
15408 * window.el (window-right, window-left, window-child)
15409 (window-child-count, window-last-child)
15410 (window-iso-combination-p, walk-window-tree-1)
15411 (window-atom-check-1, window-tree-1, delete-window)
15412 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
15413 new naming conventions - window-vchild, window-hchild,
15414 window-next and window-prev are now called window-top-child,
15415 window-left-child, window-next-sibling and window-prev-sibling
15416 respectively.
d615d6d2
MR
15417 (resize-window-reset): Rename to window-resize-reset.
15418 (resize-window-reset-1): Rename to window-resize-reset-1.
15419 (resize-window): Rename to window-resize.
15420 (window-min-height, window-min-width)
15421 (resize-mini-window, resize-this-window, resize-root-window)
15422 (resize-root-window-vertically, adjust-window-trailing-edge)
15423 (enlarge-window, shrink-window, maximize-window)
15424 (minimize-window, delete-window, quit-restore-window)
15425 (split-window, balance-windows, balance-windows-area-adjust)
15426 (balance-windows-area, window-state-put-2)
15427 (display-buffer-even-window-sizes, display-buffer-set-height)
15428 (display-buffer-set-width, set-window-text-height)
15429 (fit-window-to-buffer): Rename all "resize-window" prefixed
15430 calls to use the "window-resize" prefix convention.
15431 (display-buffer-alist): Fix symbol for label specifier.
15432 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
15433 corresponding specifier.
15434 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 15435
b6458526
VB
154362011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
15437
15438 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
15439 convention.
15440 (ses-call-printer): Does not pass an empty string to formatter when the
15441 cell is empty to keep from barking printer Calc math-format-value.
15442
d31fd9ac
RS
154432011-06-27 Richard Stallman <rms@gnu.org>
15444
43d5bf84
RS
15445 * battery.el (battery-mode-line-limit): New variable.
15446 (battery-update): Handle it.
15447
d31fd9ac
RS
15448 * mail/rmailmm.el (rmail-mime-process-multipart):
15449 Handle truncated messages.
15450
819a6054
GM
154512011-06-27 Glenn Morris <rgm@gnu.org>
15452
15453 * progmodes/flymake.el (flymake-err-line-patterns):
15454 Allow for column numbers in the ant/javac pattern. (Bug#8866)
15455
cedc73f2
VB
154562011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
15457
819a6054 15458 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
15459 (ses--clean-!, ses--clean-_): New functions.
15460 (ses-range): Add configurability of readout order, and conversion
15461 to Calc vector.
15462
5e5d49b6
VB
15463 * ses.el (ses-repair-cell-reference-all): New function.
15464 (ses-cell-symbol): Set macro as safe, so that it can be used in
15465 formulas.
15466
56e6cc31 15467 * ses.el: Update cycle detection algorithm.
90ca8b49 15468 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 15469 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
15470 (ses-set-localvars): New function.
15471 (ses-make-cell): Add property-list as a cell element.
15472 (ses-cell-property-get-fun, ses-cell-property-get)
15473 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
15474 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
15475 New functions.
90ca8b49
VB
15476 (ses-cell-property-set, ses-cell-property-pop)
15477 (ses-cell-property-get-handle): New macro.
15478 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
15479 New aliases, used for code readability.
15480 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
15481 cycle detection.
15482 (ses-self-reference-early-detection): New defcustom.
fac916bf 15483 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
15484 (ses-mode): Use ses-set-localvars.
15485 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
15486 before lauching the update processing.
15487 (ses-initialize-Dijkstra-attempt): New function.
15488 (ses-recalculate-cell): Update for cycle detection based on
15489 Dijkstra algorithm.
15490
2bb63e81
VB
15491 * ses.el: Fix commenting and indenting convention.
15492
c9d29fb8
SM
154932011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
15494
15495 * bs.el (bs-cycle-next): Complete last change.
15496
d8e4b68b
JB
154972011-06-27 Drew Adams <drew.adams@oracle.com>
15498
15499 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
15500
40098786
LMI
155012011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
15502
c9d29fb8
SM
15503 * net/network-stream.el (network-stream-open-starttls):
15504 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
15505 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
15506
40098786
LMI
15507 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
15508 to binary to possibly avoid line encoding issues on Windows (among
15509 other things).
15510
468d09d4
LMI
155112011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
15512
15513 * net/network-stream.el (open-network-stream): Return an :error
15514 saying what the problem was, if possible.
15515
15516 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
15517 server.
15518
15519 * net/network-stream.el (network-stream-open-starttls): If we
15520 wanted to use STARTTLS, and the server offered it, but we weren't
15521 able to because we had no STARTTLS support, then close the connection.
15522 (open-network-stream): Return an :error element, if present.
15523
16f07dd7
CY
155242011-06-26 Chong Yidong <cyd@stupidchicken.com>
15525
88821ca0
CY
15526 * hl-line.el (hl-line-sticky-flag): Doc fix.
15527 (global-hl-line-sticky-flag): New option (Bug#8323).
15528 (global-hl-line-highlight): Obey it.
15529
16f07dd7
CY
15530 * vc/vc.el (vc-revert-show-diff): Default to t.
15531
6b5ccddf
KM
155322011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
15533
c9d29fb8
SM
15534 * allout-widgets.el (allout-widgets-post-command-business):
15535 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
15536 undecorated when an isearch is continued past, and isearch
15537 automatically collapses them. This leads to "widget leaks", where
15538 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
15539 hidden widgets can slow down cursor travel, substantially.
15540 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
15541 so we're doing without this nicety.
15542
15543 (allout-widgets-tally-string): Don't try to do a hash-table-count
15544 of allout-widgets-tally when it's nil. This eliminates spurious "Error
15545 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
15546 *Messages* when allout-widgets-maintain-tally is t.
15547
355f2e07
MR
155482011-06-26 Martin Rudalics <rudalics@gmx.at>
15549
15550 * window.el (display-buffer-normalize-argument): Rename to
15551 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
15552 LABEL argument. Respect special-display-function when popping up
15553 a new frame. Fix code searching for a window showing the buffer
15554 on another frame.
c9d29fb8
SM
15555 (display-buffer-normalize-specifiers):
15556 Call display-buffer-normalize-arguments.
355f2e07
MR
15557 (display-buffer-in-window): Don't undedicate the window if its
15558 buffer remains the same.
15559 Reported by Drew Adams <drew.adams@oracle.com>.
15560 (display-buffer-alist): Add choice for same-window macro
15561 specfier.
15562 (display-buffer): Mention special meaning of LABEL argument in
15563 doc-string. Fix quoting. Don't pop up a new frame even as
15564 fallback.
15565
7ca8fc42
JB
155662011-06-26 Juanma Barranquero <lekktu@gmail.com>
15567
15568 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
15569 avoid deleting the current window in some cases (bug#8911).
15570
bc312254
AS
155712011-06-26 Andreas Schwab <schwab@linux-m68k.org>
15572
15573 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
15574 (Bug#8934)
15575
2db18f3f
LMI
155762011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
15577
c9d29fb8
SM
15578 * net/network-stream.el (network-stream-open-starttls):
15579 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
15580 (network-stream-open-tls): Ditto.
15581
6302e0d3
LL
155822011-06-26 Leo Liu <sdl.web@gmail.com>
15583
15584 * register.el (registerv): New struct.
15585 (registerv-make): New function.
c9d29fb8
SM
15586 (jump-to-register, describe-register-1, insert-register):
15587 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
15588 struct. (Bug#8415)
15589
5fdd4046
CY
155902011-06-26 Chong Yidong <cyd@stupidchicken.com>
15591
2afef60a
CY
15592 * vc/vc.el (vc-revert-show-diff): New defcustom.
15593 (vc-diff-internal): New arg specifying diff buffer.
15594 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
15595 reuse an existing *vc-diff* buffer (Bug#8927).
15596
5fdd4046
CY
15597 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
15598
e93db24a
GM
155992011-06-26 Glenn Morris <rgm@gnu.org>
15600
15601 * progmodes/f90.el (f90-critical-indent): New option.
15602 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
15603 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
15604 (f90-mode): Doc fix.
15605 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
15606 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
15607 (f90-beginning-of-block, f90-next-block, f90-indent-region)
15608 (f90-match-end): Handle block, critical.
15609
eefff499
GM
156102011-06-25 Glenn Morris <rgm@gnu.org>
15611
f6ba4cc9
GM
15612 * calendar/diary-lib.el (diary-included-files): Doc fix.
15613 (diary-include-files): New function, extracted from
15614 diary-include-other-diary-files and diary-mark-included-diary-files.
15615 (diary-include-other-diary-files, diary-mark-included-diary-files):
15616 Just call diary-include-files.
15617 (diary-mark-entries): Reset diary-included-files on first call.
15618
16712304
GM
15619 * calendar/diary-lib.el (diary-mark-entries)
15620 (diary-mark-included-diary-files):
15621 Visit included diary-files in temp buffers.
15622
5d8e0d43
GM
15623 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
15624 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
15625 (f90-start-block-re, f90-imenu-generic-expression)
15626 (f90-looking-at-program-block-start, f90-no-block-limit):
15627 Add support for submodules.
15628
ccf7a5d5
GM
15629 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
15630 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 15631
11fdef7d 156322011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
15633
15634 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
15635 buffer-file-type before setting its value, to avoid disastrous
eefff499 15636 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 15637
74f53697
JB
156382011-06-25 Juanma Barranquero <lekktu@gmail.com>
15639
15640 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
15641
15642 * ses.el (ses-unload-function):
15643 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
15644
15645 * proced.el (proced-unload-function):
15646 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
15647
18a4ce5e
AR
156482011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
15649
15650 * server.el (server-create-window-system-frame): Add parameters arg.
15651 (server-process-filter): Doc fix. Handle frame-parameters.
15652
519d22cc
JB
156532011-06-25 Juanma Barranquero <lekktu@gmail.com>
15654
15655 Fix bug#8730, bug#8781.
15656
15657 * loadhist.el (unload--set-major-mode): New function.
15658 (unload-feature): Use it.
15659
15660 * progmodes/python.el (python-after-info-look): Add autoload cookie.
15661 (python-unload-function): New function.
15662
c206f5b0
SM
156632011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
15664
15665 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
15666
f9ad64f3
GS
156672011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
15668
15669 * net/browse-url.el (browse-url-firefox-program): Add icecat to
15670 the candidates list.
15671
7d0da90e
JB
156722011-06-24 Juanma Barranquero <lekktu@gmail.com>
15673
15674 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
15675
14b4e83d
RS
156762011-06-23 Richard Stallman <rms@gnu.org>
15677
15678 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
15679 (rmail-variables): Set next-error-move-function.
15680 (rmail-what-message): Take argument POS.
15681 (rmail-next-error-move): New function.
15682
273d2baf
SM
156832011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
15684
15685 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
15686 messages for adjacent non-terminals.
15687
56c2cc9a
RS
156882011-06-23 Richard Stallman <rms@gnu.org>
15689
15690 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 15691 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
15692 (rmail-start-mail): Don't specify use of rmail-mail-return;
15693 that's done by mail-bury now.
15694 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 15695
d59eb518
MA
156962011-06-23 Michael Albinus <michael.albinus@gmx.de>
15697
15698 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
15699 SIZE is a number.
15700
02cfc6d6
MR
157012011-06-23 Martin Rudalics <rudalics@gmx.at>
15702
15703 * window.el (get-lru-window, get-mru-window)
15704 (get-largest-window): Never return a minibuffer window.
15705 (display-buffer-pop-up-window): Fix a bug that could lead to
15706 reusing the minibuffer window.
15707 (display-buffer): Pass original specifier argument to
15708 display-buffer-function instead of the normalized one.
15709 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
15710
4e323265
LL
157112011-06-22 Leo Liu <sdl.web@gmail.com>
15712
15713 * minibuffer.el (completing-read-function)
15714 (completing-read-default): Move from minibuf.c
15715
7a70468f
RS
157162011-06-22 Richard Stallman <rms@gnu.org>
15717
50718fc2
RS
15718 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
15719 to Rmail even if not started by a special Rmail command.
15720
7a70468f
RS
15721 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
15722 Copy the buffer currently showing just one message.
15723
297dde5a
RW
157242011-06-22 Roland Winkler <winkler@gnu.org>
15725
15726 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
15727 (bibtex-clean-entry): First delete the old key so that a
15728 customized algorithm for generating the new key does not get
15729 confused by the old key.
15730 (bibtex-url): Obey regexp of first step.
15731 (bibtex-search-entries): Do not use add-to-list with local
15732 list-var.
15733
97bb1093
LMI
157342011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
15735
15736 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
15737 stored a user name, then query for the password first, instead of
15738 waiting for SMTP to give an error message and the trying again.
15739
1c0f1a19
JD
157402011-06-22 Lawrence Mitchell <wence@gmx.li>
15741
15742 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
15743 BUFFER in call-process.
15744
396f7c9d
LMI
157452011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
15746
15747 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
15748 QUIT twice.
ddb7ffee
LMI
15749 (smtpmail-try-auth-methods): Require user name and password from
15750 auth-source.
396f7c9d 15751
8998d1b3
MR
157522011-06-22 Martin Rudalics <rudalics@gmx.at>
15753
15754 * window.el (display-buffer-default-specifiers)
15755 (display-buffer-alist): Remove entries for pop-up-frame-alist.
15756 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 15757 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
15758
15759 * frame.el (pop-up-frame-alist, pop-up-frame-function)
15760 (special-display-frame-alist, special-display-popup-frame):
15761 Remove duplicate declarations. These are now in window.el.
15762
4ea31e07
LMI
157632011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
15764
c9d29fb8
SM
15765 * mail/smtpmail.el (smtpmail-via-smtp):
15766 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
15767 server supports it. SMTP servers that support STARTTLS commonly
15768 require it.
15769
15770 * net/network-stream.el (network-stream-open-starttls): Support
15771 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 15772 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 15773
95f41d9a
LMI
15774 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
15775 upgrades with `open-network-stream', and rely solely on
15776 auth-source for all credentials. Big changes throughout the file,
15777 but in particular:
c9d29fb8
SM
15778 (smtpmail-auth-credentials): Remove.
15779 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
15780 (smtpmail-via-smtp): Check for servers saying they want AUTH after
15781 MAIL FROM, too.
95f41d9a 15782
c9d29fb8
SM
15783 * net/network-stream.el (network-stream-open-starttls):
15784 Provide support for client certificates both for external and built-in
4ea31e07
LMI
15785 STARTTLS.
15786 (auth-source): Require.
15787 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
15788 (network-stream-certificate): Change cert-cert to cert and
15789 cert-key to key.
4ea31e07 15790
065ec2c7
MA
157912011-06-21 Michael Albinus <michael.albinus@gmx.de>
15792
15793 * net/tramp-cache.el (top): Don't load the persistency file when
15794 "emacs -Q" has been called.
15795
cd93b359
DR
157962011-06-21 Tim Harper <timcharper@gmail.com>
15797
d8e4b68b
JB
15798 * term/ns-win.el (ns-initialize-window-system):
15799 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
15800 resource to NO as it is not yet supported by the NS port.
15801
ae9c0411
JB
158022011-06-21 Juanma Barranquero <lekktu@gmail.com>
15803
15804 * misc.el (list-dynamic-libraries--refresh): Compute header here...
15805 (list-dynamic-libraries): ...not here.
15806
7f3f739f
LL
158072011-06-21 Leo Liu <sdl.web@gmail.com>
15808
15809 * subr.el (sha1): Implement sha1 using secure-hash.
15810
327c8fb1
MR
158112011-06-21 Martin Rudalics <rudalics@gmx.at>
15812
15813 * window.el (display-buffer-alist): In default value do not
15814 enforce searching a window on any but the selected frame.
15815 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
15816 (display-buffer-select-window): Remove function.
15817 (display-buffer-in-window): When a window on another frame gets
15818 reused, do not select it any more but just raise its frame if
15819 necessary (Bug#8851) and (Bug#8856).
15820 (display-buffer-normalize-options): Handle pop-up-frames related
15821 options more faithfully.
15822 (pop-to-buffer): Don't rely on `display-buffer' selecting the
15823 window if it is on another frame.
c9d29fb8
SM
15824 (display-buffer-alist, display-buffer-default-specifiers):
15825 Don't make new frame unsplittable by default.
9e9de014
MR
15826 (display-buffer-normalize-argument): Fix doc-string typo and use
15827 'same-frame-other-window instead of 'other-window when associating
15828 with display-buffer-macro-specifiers.
327c8fb1 15829
7cf3f556
VB
158302011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
15831
15832 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
15833 New functions.
15834 (5x5-mode-map, 5x5-mode-menu): Bind them.
15835 (5x5-draw-grid): Tweak the solver's rendering.
15836
60a406cf
SM
158372011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
15838
15839 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
15840 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
15841
d8e4b68b 158422011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
15843
15844 * menu-bar.el: Use function variable instead of switch-to-buffer.
15845 (menu-bar-select-buffer-function): New variable.
60a406cf 15846 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 15847
478d6f95
SM
158482011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
15849
15850 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
15851 variable's status.
15852
ca530739
JD
158532011-06-20 Jan Djärv <jan.h.d@swipnet.se>
15854
15855 * x-dnd.el (x-dnd-version-from-flags)
15856 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
15857 and long as number (Bug#8899).
15858 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
15859
bcd70d97
SM
158602011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
15861
60a406cf 15862 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
15863 (completion-try-completion, completion-all-completions): Compute the
15864 metadata argument if it's missing; make it optional (bug#8795).
15865
60a406cf 15866 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
15867 (widget-complete): Use new :completion-function property.
15868 (widget-completions-at-point): New function.
15869 (default): Use :completion-function instead of :complete.
60a406cf
SM
15870 (widget-default-completions): Rename from widget-default-complete;
15871 Rewrite.
bcd70d97
SM
15872 (widget-string-complete, widget-file-complete, widget-color-complete):
15873 Remove functions.
15874 (file, symbol, function, variable, coding-system, color):
15875 * international/mule-cmds.el (default-input-method, charset)
15876 (language-info-custom-alist):
15877 * cus-edit.el (face): Use new property :completions.
15878
15879 * progmodes/pascal.el (pascal-completions-at-point): New function.
15880 (pascal-mode): Use it.
15881 (pascal-mode-map): Use completion-at-point.
15882 (pascal-toggle-completions): Make obsolete.
15883 (pascal-complete-word, pascal-show-completions):
15884 * progmodes/octave-mod.el (octave-complete-symbol):
15885 Redefine as obsolete alias.
15886 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
15887 Signal absence of completion info for old Octave,
15888 (inferior-octave-complete): Redefine as obsolete alias.
15889 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
15890 (meta-completions-at-point): Rename from meta-complete-symbol and
15891 adapt it for use on completion-at-point-functions.
15892 (meta-common-mode): Use it.
15893 (meta-looking-at-backward, meta-match-buffer): Remove.
15894 (meta-complete-symbol): Redefine as obsolete alias.
15895 (meta-common-mode-map): Use completion-at-point.
15896 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
15897 (makefile-mode-map): Use completion-at-point.
15898 (makefile-completions-at-point): Rename from makefile-complete and
15899 adapt it for use on completion-at-point-functions.
15900 (makefile-mode): Use it.
15901 (makefile-complete): Redefine as obsolete alias.
15902
aebf69c8
DD
159032011-06-20 Deniz Dogan <deniz@dogan.se>
15904
15905 * net/rcirc.el: Delete trailing whitespaces once and for all.
15906
bfbbb27d
DC
159072011-06-20 Daniel Colascione <dan.colascione@gmail.com>
15908
15909 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
15910
d264a46b
CY
159112011-06-19 Chong Yidong <cyd@stupidchicken.com>
15912
4ca009e5
CY
15913 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
15914
d264a46b
CY
15915 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
15916
fbf5b3ce
MR
159172011-06-19 Martin Rudalics <rudalics@gmx.at>
15918
15919 * window.el (display-buffer-other-window-means-other-frame):
15920 Call display-buffer-normalize-alist.
15921 (display-buffer-normalize-specifiers-1): Rename to
15922 display-buffer-normalize-argument. New argument other-frame.
15923 Rewrite.
15924 (display-buffer-normalize-specifiers-2): Rename to
15925 display-buffer-normalize-options.
15926 (display-buffer-normalize-alist-1): New function.
15927 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
15928 display-buffer-normalize-alist.
15929 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
15930 (display-buffer-normalize-options-inhibit): New variable.
15931 (display-buffer-normalize-specifiers): Rewrite calling
15932 display-buffer-normalize-alist,
15933 display-buffer-normalize-argument, and
15934 display-buffer-normalize-options. Don't call the latter if
15935 display-buffer-normalize-options-inhibit is non-nil.
15936 (frame-auto-delete): New option.
15937 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
15938 (window-list-no-nils, window-state-ignored-parameters)
15939 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
15940 (window-state-put-1, window-state-put-2, window-state-put):
15941 New functions.
9a028c23
MR
15942 (display-buffer-normalize-options): Move special-display-p group
15943 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 15944
6d10d800
CY
159452011-06-18 Chong Yidong <cyd@stupidchicken.com>
15946
6420d28b
CY
15947 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
15948 groups (Bug#8776).
15949 (rx-submatch-n): New function.
15950 (rx): Document it.
15951
ddb8b596
CY
15952 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
15953 (Bug#8768).
15954
15955 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
15956
77080289
CY
15957 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
15958
61dfb316
CY
15959 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
15960 anytime existing face settings are present (Bug#8889).
15961
6d10d800
CY
15962 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
15963 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
15964 Remove unused argument.
15965
be3fb2b8
MR
159662011-06-18 Martin Rudalics <rudalics@gmx.at>
15967
bcd70d97
SM
15968 * window.el (display-buffer-default-specifiers):
15969 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
15970 pop-up-window-min-width, and another reuse-window specifier
15971 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
15972 (display-buffer-normalize-specifiers-2):
15973 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
15974 pop-up-windows is unset. Add a reuse-window specifier for the
15975 case popping up a new window fails.
15976 (special-display-popup-frame): Remove double quoting.
28dec25a 15977 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 15978
1c6d8c76
SM
159792011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
15980
15981 * shell.el (shell-completion-vars): Set pcomplete-termination-string
15982 according to comint-completion-addsuffix.
15983
15984 * pcomplete.el: Convert to lexical binding and fix bug#8819.
15985 (pcomplete-suffix-list): Mark as obsolete.
15986 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
15987 pcomplete-seen in the closure.
15988 (pcomplete-comint-setup): Setup completion-at-point as well.
15989 (pcomplete--entries): New function.
15990 (pcomplete--env-regexp): New var.
15991 (pcomplete-entries): Rewrite to work with partial-completion and
15992 without relying on pcomplete-suffix-list.
15993 (pcomplete-pare-list): Remove, unused.
15994
25aef8b8
MR
159952011-06-17 Martin Rudalics <rudalics@gmx.at>
15996
15997 * window.el (display-buffer-alist): Set pop-up-window-min-height
15998 and pop-up-window-min-width in default value. Reported by
15999 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
16000 other-window-means-other-frame.
16001 (display-buffer-macro-specifiers): Comment out entry for
16002 other-window specifier.
16003 (display-buffer-other-window-means-other-frame): New function.
16004 (display-buffer-normalize-specifiers-1): New arguments
16005 buffer-name and label. Treat other-window case specially.
16006 (display-buffer-normalize-specifiers-2): Treat other-window case
16007 specially.
16008 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
16009 (display-buffer-normalize-specifiers):
16010 Call display-buffer-normalize-specifiers-3.
25aef8b8 16011
dbad4f69
MR
160122011-06-17 Martin Rudalics <rudalics@gmx.at>
16013
16014 * window.el (same-window-p): Fix two typos introduced when
16015 adding with-no-warnings.
d1067961
MR
16016 (display-buffer-normalize-specifiers-1): Don't check
16017 pop-up-frames for 'unset initialization.
16018 (display-buffer-normalize-specifiers-2): Major rewrite using
16019 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
16020 (pop-up-frames, display-buffer-reuse-frames)
16021 (display-buffer-mark-dedicated): Don't initialize to 'unset.
16022 Suggested by David Engster <deng@randomsample.de>.
16023 (even-window-heights): Initialize to 'unset.
16024 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
16025 (display-buffer-macro-specifiers): Don't pop up a new frame in the
16026 other window case.
dbad4f69 16027
9b9c9e3a
MR
160282011-06-16 Martin Rudalics <rudalics@gmx.at>
16029
bcd70d97
SM
16030 * window.el (display-buffer-normalize-specifiers-1):
16031 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 16032 second argument of display-buffer (Bug#8865).
981d5c09
MR
16033 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
16034 (switch-to-buffer-other-window-same-frame)
16035 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
16036 Adams (Bug#8875).
9c2755e9
MR
16037 (display-buffer): Don't check noninteractive when calling
16038 display-buffer-pop-up-frame.
16039 (display-buffer-pop-up-frame): Never pop up a frame in
16040 noninteractive mode (Bug#8857).
67222e1d
MR
16041 (enlarge-window, shrink-window): Don't report an error when the
16042 window can't be resized as requested (Bug#8862).
9b9c9e3a 16043
2b75be67
SM
160442011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
16045
9ffdd3ba
SM
16046 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
16047
cb581a67
SM
16048 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
16049
2b75be67
SM
16050 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
16051
8c0e3589
AM
160522011-06-15 Alan Mackenzie <acm@muc.de>
16053
cb581a67
SM
16054 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
16055 for declarators, disable knr checking to speed up for normal files.
16056 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 16057
b96e6cde
LMI
160582011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
16059
4bba86e6
LMI
16060 * net/network-stream.el (open-network-stream): Add the keyword
16061 :always-query-capabilities for the case where you want to force a
16062 `plain' network connection, but the protocol still requires the
16063 capabilitiy command (i.e., SMTP and EHLO).
16064
2b75be67 16065 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
16066 consistency with other `-live-p' functions.
16067
efdcdbf8
SM
160682011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
16069
16070 * window.el (same-window-buffer-names, same-window-regexps)
16071 (special-display-frame-alist, special-display-popup-frame)
16072 (special-display-function, special-display-buffer-names)
16073 (special-display-regexps, pop-up-frame-alist)
16074 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
16075 (pop-up-windows, split-window-preferred-function)
16076 (split-height-threshold, split-width-threshold, even-window-heights)
16077 (display-buffer-mark-dedicated): Don't encourage the use of
16078 display-buffer-alist from Elisp code.
16079
c5cde042
DN
160802011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
16081
16082 * progmodes/python.el (python-mode): Derive from prog-mode.
16083 * progmodes/ps-mode.el (ps-mode):
16084 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 16085 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
16086 * progmodes/ld-script.el (ld-script-mode): Likewise.
16087
baa1c9ab
MR
160882011-06-15 Martin Rudalics <rudalics@gmx.at>
16089
16090 * window.el (display-buffer-alist): Trim default value to avoid
16091 popping up a new frame (Bug#8857) or reusing an arbitrary window
16092 on another frame.
16093 (display-buffer): Do not fall back on popping up a new frame in
16094 batch mode (Bug#8857).
16095
c5dd5a51
CY
160962011-06-14 Chong Yidong <cyd@stupidchicken.com>
16097
16098 * cus-theme.el (describe-theme-1): Use custom-theme-p.
16099 (custom-theme-summary): New function.
16100 (customize-themes): Use it.
16101
d647b7c4
GM
161022011-06-13 Glenn Morris <rgm@gnu.org>
16103
16104 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
16105
9481c002
MR
161062011-06-13 Martin Rudalics <rudalics@gmx.at>
16107
357f93d2
MR
16108 * help.el (help-window): Remove variable.
16109 (help-window-point-marker, temp-buffer-max-height)
16110 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
16111 (help-print-return-message): Don't set help-window.
16112 (resize-temp-buffer-window): Rewrite cod eand doc-string.
16113 (help-window-setup-finish): Remove.
16114 (help-window-display-message, help-window-setup)
16115 (with-help-window): Major rewrite based on new
16116 display-buffer-window variable.
16117
16118 * help-mode.el (help-mode-finish): Remove help-window related
16119 code.
16120
16121 * view.el (view-exits-all-viewing-windows): Remove reference to
16122 view-return-to-alist in doc-string.
16123 (view-return-to-alist): Make obsolete.
16124 (view-buffer): Call pop-to-buffer-same-window and remove
16125 undo-window code.
16126 (view-buffer-other-window): Call pop-to-buffer-other-window and
16127 simplify code. Ignore second argument.
16128 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
16129 simplify code. Ignore second argument.
16130 (view-return-to-alist-update): Make obsolete.
16131 (view-mode-enter): Rename second argument to QUIT-RESTORE.
16132 Rewrite using quit-restore window parameters.
2b75be67
SM
16133 (view-mode-exit): Rename second argument to EXIT-ONLY.
16134 Rewrite using quit-restore-window.
357f93d2
MR
16135 (View-exit, View-exit-and-edit, View-leave, View-quit)
16136 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
16137 appropriate arguments.
16138 (view-end-message): Use quit-restore window parameter.
16139
9481c002
MR
16140 * window.el (display-buffer-function): Rewrite doc-string.
16141 (display-buffer-window, display-buffer-alist): New variables.
16142 (display-buffer-split-specifiers)
16143 (display-buffer-side-specifiers)
16144 (display-buffer-macro-specifiers): New constants.
16145 (display-buffer-even-window-sizes, display-buffer-set-height)
16146 (display-buffer-set-width, display-buffer-select-window)
16147 (display-buffer-in-window, display-buffer-reuse-window)
16148 (display-buffer-split-window-1, display-buffer-split-window)
16149 (display-buffer-split-atom-window, display-buffer-pop-up-window)
16150 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
16151 (display-buffer-in-side-window, normalize-buffer-to-display)
16152 (display-buffer-normalize-specifiers-1)
16153 (display-buffer-normalize-specifiers-2)
2b75be67
SM
16154 (display-buffer-normalize-specifiers, display-buffer-frame):
16155 New functions.
9481c002
MR
16156 (display-buffer): Major rewrite.
16157 (display-buffer-other-window, display-buffer-other-frame)
16158 (pop-to-buffer, switch-to-buffer-other-window)
16159 (switch-to-buffer-other-frame): Rewrite.
16160 (display-buffer-same-window, display-buffer-same-frame)
16161 (display-buffer-same-frame-other-window)
16162 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
16163 (pop-to-buffer-other-window)
16164 (pop-to-buffer-same-frame-other-window)
16165 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
16166 (switch-to-buffer-other-window-same-frame): New functions.
16167 (same-window-p, special-display-p): Rewrite disabling warnings.
16168 Make obsolete.
16169 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
16170 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
16171 Make obsolete
16172 (same-window-buffer-names, same-window-regexps)
16173 (special-display-frame-alist, special-display-popup-frame)
16174 (special-display-function, special-display-buffer-names)
16175 (special-display-regexps, pop-up-frame-alist)
16176 (pop-up-frame-function, split-window-preferred-function)
16177 (split-height-threshold, split-width-threshold)
16178 (even-window-heights): Make obsolete.
16179
9db51aca
GM
161802011-06-12 Glenn Morris <rgm@gnu.org>
16181
16182 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 16183 Misc simplifications.
9db51aca 16184
39cffb44
MR
161852011-06-12 Martin Rudalics <rudalics@gmx.at>
16186
16187 * window.el (window-safely-shrinkable-p): Restore function which
16188 was inadvertently removed in change from 2011-06-11. Declare as
16189 obsolete.
16190
2b75be67
SM
16191 * calendar/calendar.el (calendar-generate-window):
16192 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
16193 window-safely-shrinkable-p.
16194
a8955be7
GM
161952011-06-12 Glenn Morris <rgm@gnu.org>
16196
16197 * progmodes/fortran.el (fortran-mode-syntax-table):
16198 * progmodes/f90.el (f90-mode-syntax-table):
16199 Set % to punctuation. (Bug#8820)
16200 (f90-find-tag-default): Remove, no longer needed.
16201
f0d4059d
DC
162022011-06-12 Daniel Colascione <dan.colascione@gmail.com>
16203
16204 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
16205
1100a63c
CY
162062011-06-11 Chong Yidong <cyd@stupidchicken.com>
16207
16208 * image.el (image-animated-p): Return animation delay in seconds.
16209 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
16210 (image-animate-timeout): Remove DELAY argument. Don't assume
16211 every subimage has the same delay; get it from image-animated-p.
16212 (image-animate): Caller changed.
16213
def722bf
MA
162142011-06-11 Michael Albinus <michael.albinus@gmx.de>
16215
16216 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
16217 to ignored backtrace functions.
16218
0a2bb1a9
GM
162192011-06-11 Glenn Morris <rgm@gnu.org>
16220
16221 * calendar/appt.el (appt-disp-window-function): Doc fix.
16222 (appt-check): Handle overlapping appointments. (Bug#8337)
16223
6198ccd0
MR
162242011-06-11 Martin Rudalics <rudalics@gmx.at>
16225
16226 * window.el (window-tree-1, window-tree): New functions, moving
16227 the latter to window.el.
16228 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
16229 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
16230 (bw-refresh-edges): Remove.
16231 (balance-windows-1, balance-windows-2): New functions.
16232 (balance-windows): Rewrite in terms of window tree functions,
16233 balance-windows-1 and balance-windows-2.
16234 (bw-adjust-window): Remove.
16235 (balance-windows-area-adjust): New function with functionality of
16236 bw-adjust-window but using resize-window.
2b75be67
SM
16237 (set-window-text-height): Rewrite doc-string.
16238 Use normalize-live-window and resize-window.
16239 (enlarge-window-horizontally, shrink-window-horizontally):
16240 Rename argument to DELTA.
6198ccd0
MR
16241 (window-buffer-height): New function.
16242 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
16243 Rewrite using new window resize routines.
2b75be67
SM
16244 (kill-buffer-and-window, mouse-autoselect-window-select):
16245 Use ignore-errors instead of condition-case.
6198ccd0
MR
16246 (quit-window): Call delete-frame instead of delete-windows-on
16247 for the only buffer on frame.
16248
9397e56f
MR
162492011-06-10 Martin Rudalics <rudalics@gmx.at>
16250
16251 * loadup.el (top-level): Load window before files for the sake
16252 of replace-buffer-in-windows.
16253
16254 * files.el (read-buffer-to-switch)
16255 (switch-to-buffer-other-window)
2b75be67
SM
16256 (switch-to-buffer-other-frame, display-buffer-other-frame):
16257 Move to window.el.
9397e56f
MR
16258
16259 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
16260 (previous-buffer): Move to window.el.
16261
16262 * bindings.el (unbury-buffer): Move to window.el.
16263
16264 * window.el (delete-other-windows-vertically): Move after
16265 definition of delete-other-windows.
16266 (other-window, delete-windows-on, replace-buffer-in-windows):
16267 Move here from window.c.
16268 (record-window-buffer, unrecord-window-buffer)
16269 (set-window-buffer-start-and-point, switch-to-prev-buffer)
16270 (switch-to-next-buffer): New functions.
16271 (get-next-valid-buffer, last-buffer, next-buffer): Move here
16272 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
16273 (previous-buffer): Move here from simple.el.
16274 Call switch-to-prev-buffer.
9397e56f
MR
16275 (bury-buffer): Move here from buffer.c. Switch to previous
16276 buffer when window cannot be deleted.
16277 (unbury-buffer): Move here from bindings.el.
16278 (ctl-x-map): Move binding for other-window from window.c to
16279 here.
16280 (read-buffer-to-switch, switch-to-buffer-other-window)
16281 (switch-to-buffer-other-frame): Move here from files.el.
16282 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
16283 (switch-to-buffer): Move here from buffer.c.
16284 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 16285
562dd5e9
MR
162862011-06-10 Martin Rudalics <rudalics@gmx.at>
16287
16288 * window.el (window-min-height, window-min-width): Move here
16289 from window.c. Add defcustoms and rewrite doc-strings.
16290 (resize-mini-window, resize-window): New functions.
16291 (adjust-window-trailing-edge, enlarge-window, shrink-window):
16292 Move here from window.c.
16293 (maximize-window, minimize-window): New functions.
16294 (delete-window, delete-other-windows, split-window): Move here
16295 from window.c.
16296 (window-split-min-size): New function.
16297 (split-window-keep-point): Mention split-window-above-each-other
16298 instead of split-window-vertically.
2b75be67 16299 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
16300 Rename split-window-vertically to split-window-above-each-other
16301 and provide defalias for old definition.
16302 (split-window-side-by-side, split-window-horizontally):
16303 Rename split-window-horizontally to split-window-side-by-side
16304 and provide defalias for the old definition.
562dd5e9
MR
16305 (ctl-x-map): Move bindings for delete-window,
16306 delete-other-windows and enlarge-window here from window.c.
16307 Replace bindings for split-window-vertically and
16308 split-window-horizontally by bindings for
16309 split-window-above-each-other and split-window-side-by-side.
16310
16311 * cus-start.el (all): Remove entries for window-min-height and
16312 window-min-width. Add entries for window-splits and
16313 window-nest.
16314
f0da764a
GM
163152011-06-09 Glenn Morris <rgm@gnu.org>
16316
80675c21
GM
16317 * calendar/appt.el (appt-mode-line): New function.
16318 (appt-check, appt-disp-window): Use it.
16319
f0da764a
GM
16320 * files.el (hack-one-local-variable-eval-safep):
16321 Allow minor-modes with explicit +/-1 arguments.
16322
59f623b7
TZ
163232011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
16324
16325 * term/xterm.el (xterm): Add defgroup.
16326 (xterm-extra-capabilities): Add defcustom to supply known xterm
16327 capabilities, skip querying them, or query them (default).
16328 (terminal-init-xterm): Use it.
16329 (terminal-init-xterm-modify-other-keys): New function to set up
16330 modifyOtherKeys support to simplify `terminal-init-xterm'.
16331
9aab8e0d
MR
163322011-06-09 Martin Rudalics <rudalics@gmx.at>
16333
16334 * window.el (resize-window-reset, resize-window-reset-1)
16335 (resize-subwindows-skip-p, resize-subwindows-normal)
16336 (resize-subwindows, resize-other-windows, resize-this-window)
16337 (resize-root-window, resize-root-window-vertically)
16338 (window-deletable-p, window-or-subwindow-p)
16339 (frame-root-window-p): New functions.
16340
e8b08aee
GM
163412011-06-09 Glenn Morris <rgm@gnu.org>
16342
16343 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
16344 (ange-ftp-get-files): Use it.
16345
254c37a5
AK
163462011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
16347
16348 * mail/sendmail.el (mail-recover-1, mail-recover):
16349 * files.el (recover-file, recover-session):
16350 Handle dired-listing-switches not being just a single short option.
16351
35d7dbd3
GM
163522011-06-09 Glenn Morris <rgm@gnu.org>
16353
16354 * calendar/appt.el (appt-display-message, appt-disp-window):
16355 Handle lists of appointments.
16356
387522b2
MR
163572011-06-08 Martin Rudalics <rudalics@gmx.at>
16358
2b75be67
SM
16359 * window.el (one-window-p): Move down in code.
16360 Rewrite doc-string.
16361 (window-current-scroll-bars): Rewrite doc-string.
16362 Normalize live window argument.
387522b2
MR
16363 (walk-windows, get-window-with-predicate, count-windows):
16364 Rewrite doc-string. Use window-list-1.
16365 (window-in-direction-2, window-in-direction, get-mru-window):
16366 New functions.
16367
d8e4b68b 163682011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
16369
16370 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
16371 Doc fix (Bug#8713).
16372
163732011-06-08 Chong Yidong <cyd@stupidchicken.com>
16374
16375 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
16376
163772011-06-08 Juanma Barranquero <lekktu@gmail.com>
16378
16379 * loadhist.el (unload-feature-special-hooks):
16380 Add `comint-output-filter-functions'.
16381
0de12c52
IK
163822011-06-08 Ivan Kanis <gnu@kanis.fr>
16383
16384 * calendar/appt.el (appt-check): Move some initializations into the let.
16385
f3d1777e
MR
163862011-06-08 Martin Rudalics <rudalics@gmx.at>
16387
16388 * window.el (window-height): Defalias to window-total-height.
16389 (window-width): Defalias to window-body-width.
16390
18af70d0
CY
163912011-06-07 Chong Yidong <cyd@stupidchicken.com>
16392
16393 * image-mode.el (image-toggle-animation): New command.
16394 (image-mode-map): Bind it to RET.
16395 (image-mode): Update message.
16396 (image-toggle-display-image): Avoid a spurious cache flush.
16397 (image-transform-rotation): Doc fix.
16398 (image-transform-properties): Return quickly in the normal case.
16399 (image-animate-loop): Rename from image-animate-max-time.
16400
2b75be67 16401 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
16402 (create-animated-image): Remove unnecessary function.
16403 (image-animate): Rename from image-animate-start. New arg.
2b75be67 16404 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
16405 (image-animate-timer): Use car-safe.
16406 (image-animate-timeout): Rename argument.
16407
190b47e6
MR
164082011-06-07 Martin Rudalics <rudalics@gmx.at>
16409
16410 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
16411 window.c. Rename first argument to ALL-FRAMES.
16412 Rephrase doc-strings.
16413 (get-buffer-window-list): Rewrite using window-list-1.
16414 Rephrase doc-string.
a1511caf
MR
16415 (window-safe-min-height, window-safe-min-width): New constants.
16416 (window-size-ignore, window-min-size, window-min-size-1)
16417 (window-sizable, window-sizable-p, window-size-fixed-1)
16418 (window-size-fixed-p, window-min-delta-1, window-min-delta)
16419 (window-max-delta-1, window-max-delta, window-resizable)
16420 (window-resizable-p, window-total-height, window-total-width)
16421 (window-body-width): New functions.
16422 (window-full-height-p, window-full-width-p): Rewrite using
16423 window-total-size.
16424 (window-body-height): Rewrite using window-body-size.
190b47e6 16425
85cc1f11
MR
164262011-06-06 Martin Rudalics <rudalics@gmx.at>
16427
16428 * window.el (window-right, window-left, window-child)
16429 (window-child-count, window-last-child, window-any-p)
16430 (normalize-live-buffer, normalize-live-frame)
16431 (normalize-any-window, normalize-live-window)
16432 (window-iso-combination-p, window-iso-combined-p)
16433 (window-iso-combinations)
16434 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
16435 (windows-with-parameter, window-with-parameter)
16436 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
16437 (window-atom-check, window-side-check, window-check):
16438 New functions.
85cc1f11
MR
16439 (ignore-window-parameters, window-sides, window-sides-vertical)
16440 (window-sides-slots): New variables.
16441 (window-size-fixed): Move down in code. Minor doc-string fix.
16442
e7156492
AS
164432011-06-05 Andreas Schwab <schwab@linux-m68k.org>
16444
16445 * comint.el (comint-dynamic-complete-as-filename)
16446 (comint-dynamic-complete-filename): Correctly call
16447 completion-in-region.
16448
7e821d0d
DD
164492011-06-05 Deniz Dogan <deniz@dogan.se>
16450
16451 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
16452 in last change.
16453
ac09b8a1
DD
164542011-06-05 Deniz Dogan <deniz@dogan.se>
16455
16456 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
16457 (rcirc): Use it to prompt for encryption.
16458
34699b85
RW
164592011-06-05 Roland Winkler <winkler@gnu.org>
16460
16461 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
16462 (bibtex-search-entries): New command bound to C-c C-a.
16463 (bibtex-display-entries): New function.
16464
004dedd3
RW
164652011-06-05 Roland Winkler <winkler@gnu.org>
16466
16467 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
16468 (bibtex-insert-kill): After yanking insert newline if necessary.
16469 (bibtex-initialize): Call bibtex-string-files-init only once.
16470 (bibtex-mode): Do not call easy-menu-add.
16471 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
16472 (bibtex-yank): Set arg properly if nil.
16473
022fe7ce
RW
164742011-06-05 Roland Winkler <winkler@gnu.org>
16475
2b75be67
SM
16476 * textmodes/bibtex.el (bibtex-search-entry-globally):
16477 New variable.
022fe7ce
RW
16478 (bibtex-search-entry): Use it.
16479
b7c3692a
RW
164802011-06-05 Roland Winkler <winkler@gnu.org>
16481
16482 * textmodes/bibtex.el (bibtex-entry-format): New option
16483 sort-fields.
16484 (bibtex-format-entry, bibtex-reformat): Honor this option.
16485 (bibtex-parse-entry): Return fields in proper order.
16486
8eda563d
JB
164872011-06-05 Juanma Barranquero <lekktu@gmail.com>
16488
16489 * doc-view.el (doc-view-remove-if): Move computation of result out
16490 of `dolist' to silence misleading lexical-binding warning.
16491
7dbe3dbc
CY
164922011-06-04 Chong Yidong <cyd@stupidchicken.com>
16493
16494 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
16495 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
16496
0c33dd17
MA
164972011-06-04 Michael Albinus <michael.albinus@gmx.de>
16498
16499 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
16500 "SunOS 5.10".
16501
f8f91c2b
MA
165022011-06-04 Michael Albinus <michael.albinus@gmx.de>
16503
16504 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
16505 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
16506 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
16507 (tramp-parse-putty):
16508 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
16509 (tramp-completion-function-alist-ssh)
16510 (tramp-completion-function-alist-telnet)
16511 (tramp-completion-function-alist-su)
16512 (tramp-completion-function-alist-putty): Set `tramp-autoload'
16513 cookie.
16514
16515 * net/tramp-ftp.el:
16516 * net/tramp-sh.el:
16517 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
16518 load "tramp.el" `tramp-set-completion-function'.
16519
e17d9003
SM
165202011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
16521
16522 * shell.el: Require and use pcomplete.
16523 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
16524 (shell-completion-vars): Set pcomplete-default-completion-function.
16525
6c4cab03
DD
165262011-06-04 Deniz Dogan <deniz@dogan.se>
16527
16528 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
16529 `memq' (Bug#8799).
16530
ea9fafe0
SM
165312011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
16532
16533 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
16534
b3e945d3
JB
165352011-06-02 Juanma Barranquero <lekktu@gmail.com>
16536
16537 * bs.el (bs--mark-unmark, bs--nth-wrapper):
16538 * mpc.el (mpc-select-extend, mpc-songpointer-context):
16539 * vc/log-view.el (log-view-beginning-of-defun):
16540 * vc/smerge-mode.el (smerge-apply-resolution-patch)
16541 (smerge-refine-forward, smerge-refine-chopup-region):
16542 Silence warning for unused `dotimes' counter variables.
16543
7d520089
SM
165442011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
16545
16546 * net/tramp.el (tramp-with-progress-reporter): Rename from
16547 with-progress-reporter. Use `declare'.
16548 * net/tramp-smb.el:
16549 * net/tramp-sh.el:
16550 * net/tramp-gvfs.el: Update all uses.
16551
a1c2400f
JB
165522011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
16553
16554 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
16555 buffer isn't killed before making it current.
16556
2403c841
SM
165572011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
16558
16559 Silence various byte-compiler warnings.
16560 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
16561 `access-type' and new obsolescence format.
16562 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
16563 new format.
16564 (byte-compile-check-variable): New `access-type' argument.
16565 Only warn if the access-type is obsolete.
16566 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
16567 (byte-compile-variable-set): Adjust callers.
16568 * help-fns.el (describe-variable): Adjust to new obsolescence format.
16569 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
16570 setting it as obsolete.
16571 * simple.el (minibuffer-completing-symbol):
16572 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
16573 access as obsolete.
16574 * minibuffer.el (minibuffer-completing-file-name): Don't make it
16575 obsolete yet.
16576 * international/quail.el (quail-mouse-choose-completion): Remove unused
16577 code referring to obsolete var.
16578 (quail-choose-completion-string): Remove.
16579 * server.el (server-clients-with, server-kill-buffer-query-function)
16580 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
16581 * proced.el (proced-send-signal):
16582 * emacs-lisp/lisp.el (lisp-complete-symbol):
16583 Replace completion-annotate-function with completion-extra-properties.
16584
2462470b
SM
165852011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
16586
fb5b2591
SM
16587 * simple.el (goto-line): Use read-number.
16588 (overriding-map-is-bound): Remove.
16589 (saved-overriding-map): Change default.
16590 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
16591 Take the map as argument.
16592 (universal-argument, negative-argument, digit-argument): Use it.
16593 (restore-overriding-map): Adjust.
16594 (do-auto-fill): Use fill-forward-paragraph.
16595 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
16596
fd6fa53f
SM
16597 * minibuffer.el (minibuffer-inactive-mode-map): New var.
16598 (minibuffer-inactive-mode): New major mode.
16599 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
16600 the *Messages* buffer" hack.
16601 (mouse-popup-menubar): Don't burp if the event is a normal key.
16602
2462470b
SM
16603 Miscellaneous tweaks.
16604 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
16605 lexical scoping as in subr.el's dolist and dotimes.
16606 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
16607 Silence compiler warning.
16608 * thingatpt.el (forward-whitespace): Trivial coding style fix.
16609 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
16610 * international/ccl.el (ccl-compile): Trivial simplification.
16611 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
16612 * emacs-lisp/testcover.el (testcover-end): Remove spurious
16613 `printflag' argument.
16614 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
16615 Purecopy the whole obsolescence data.
16616
108bf785
LL
166172011-06-01 Leo Liu <sdl.web@gmail.com>
16618
16619 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
16620 improve doc-string as suggested by Marco Pessotto
16621 <melmothx@gmail.com>.
16622 (rcirc-print): Fix last change.
16623
30a23501
SM
166242011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
16625
16626 * minibuffer.el (complete-with-action): Return nil for the metadata and
16627 boundaries of non-functional tables.
16628 (completion-table-dynamic): Return nil for the metadata.
16629 (completion-table-with-terminator): Add default case, using
16630 complete-with-action.
16631 (completion--metadata): New function.
16632 (completion-all-sorted-completions, minibuffer-completion-help): Use it
16633 to try and avoid pathological performance problems.
16634 (completion--embedded-envvar-table): Return `category' metadata.
16635
bcd54f83
LMI
166362011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
16637
16638 * subr.el (process-alive-p): New tiny convenience function.
16639
e227544d
SM
166402011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
16641
16642 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
16643 content but also its previous major mode.
16644
e8296fdc
HE
166452011-05-31 Helmut Eller <eller.helmut@gmail.com>
16646
4d61f28d 16647 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
16648 *Backtrace* buffer when we exit with C-M-c.
16649
620c53a6
SM
166502011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
16651
16652 * minibuffer.el: Add metadata method to completion tables.
16653 (completion-category-overrides): New defcustom.
16654 (completion-metadata, completion--field-metadata)
16655 (completion-metadata-get, completion--styles)
16656 (completion--cycle-threshold): New functions.
16657 (completion-try-completion, completion-all-completions):
16658 Add `metadata' argument to choose completion-styles.
16659 (completion--do-completion): Use metadata to choose cycling.
16660 (completion-all-sorted-completions): Use metadata for sorting.
16661 Remove :completion-cycle-penalty which is not needed any more.
16662 (completion--try-word-completion): Add `metadata' argument.
16663 (minibuffer-completion-help): Check metadata for annotation function
16664 and sorting.
16665 (completion-file-name-table): Return `category' metadata.
16666 (minibuffer-completing-file-name): Make obsolete.
16667 * simple.el (minibuffer-completing-symbol): Make obsolete.
16668 * icomplete.el (icomplete-completions): Pass new `metadata' param to
16669 completion-try-completion.
16670
1257e755
SM
166712011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
16672
16673 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
16674
3767e706
LL
166752011-05-30 Leo Liu <sdl.web@gmail.com>
16676
16677 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
16678 (rcirc-print): Decode all incoming messages (bug#8744).
16679 (rcirc-decode-coding-system): Allow value nil for automatic coding
16680 system detection.
3767e706 16681
d1a5d56a
GM
166822011-06-01 Glenn Morris <rgm@gnu.org>
16683
16684 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
16685
e8cbec34
CY
166862011-05-29 Chong Yidong <cyd@stupidchicken.com>
16687
16688 * image.el (image-animate-max-time): Allow nil and t values.
16689 Default to nil.
16690 (create-animated-image): Doc fix.
16691 (image-animate-start): Remove second arg; just use
16692 image-animate-max-time.
16693 (image-animate-timeout): Doc fix. Args changed.
16694
16695 * image-mode.el (image-toggle-display-image): Ensure that the
16696 image spec passed to the animate timer is the same object as in
58179cce 16697 the buffer's display property (Bug#6981).
e8cbec34
CY
16698 (image-transform-properties): Doc fix.
16699
16700 * image.el (image-animate-max-time): Default to nil.
16701
159daf87
MR
167022011-05-29 Martin Rudalics <rudalics@gmx.at>
16703
16704 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
16705 entire buffer list (Bug#8184).
16706
d66c4c7c
CY
167072011-05-29 Chong Yidong <cyd@stupidchicken.com>
16708
16709 * image.el (imagemagick-types-inhibit)
16710 (imagemagick-register-types): Doc fix.
16711
80aec780
DD
167122011-05-29 Deniz Dogan <deniz@dogan.se>
16713
16714 * net/rcirc.el (rcirc): Use the user's stored encryption method by
16715 default.
16716
1dd3c2d9
CY
167172011-05-29 Chong Yidong <cyd@stupidchicken.com>
16718
16719 * select.el: Don't perform clipboard-manager saving in hooks;
16720 leave the hooks empty.
16721
60e56523
LL
167222011-05-28 Leo Liu <sdl.web@gmail.com>
16723
16724 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
16725 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
16726 (occur-edit-mode): New major mode (Bug#8463).
16727 (occur-after-change-function): New function.
16728 (occur-engine): Give Occur tags a read-only property.
16729
2b1e1a22
KR
167302011-05-28 Kevin Ryde <user42@zip.com.au>
16731
16732 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
16733
5d344e88
CY
167342011-05-28 Chong Yidong <cyd@stupidchicken.com>
16735
8e6ca83d
CY
16736 * bindings.el (help-echo): Make the initial non-indicator dash
16737 empty on graphical terminals (Bug#7295).
16738
5d344e88
CY
16739 * files.el (auto-mode-alist): Move config rule after the
16740 in-stripping one (Bug#8547).
16741
bfbbace7
CY
16742 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
16743
fbeba6e2
CY
16744 * startup.el (normal-splash-screen): Remove gratuitous mode-line
16745 setting (Bug#8740).
16746
60ed8c72
AA
167472011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
16748
4ac619f0
AA
16749 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
16750 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
16751 (Bug#8539).
60ed8c72 16752
23db196e
CY
167532011-05-28 Chong Yidong <cyd@stupidchicken.com>
16754
16755 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
16756
5012f24c
DK
167572011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
16758
16759 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
16760 (hs-hide-block-at-point, hs-find-block-beginning)
16761 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
16762 (Bug#8279).
16763
6a639b16
GM
167642011-05-28 Glenn Morris <rgm@gnu.org>
16765
16766 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
16767
d43eaf2c
CY
167682011-05-28 Chong Yidong <cyd@stupidchicken.com>
16769
5199bde1
CY
16770 * help-fns.el (describe-function-1): If the function is a derived
16771 major mode, print the parent mode.
16772
d43eaf2c
CY
16773 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
16774 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
16775
423428a8
SM
167762011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
16777
0ff8e1ba 16778 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 16779 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
16780 * progmodes/etags.el (tags-completion-at-point-function):
16781 * info-look.el (info-lookup-completions-at-point): Mark as
16782 non-exclusive.
16783 (info-complete): Adjust accordingly.
16784
423428a8
SM
16785 * info-look.el: Convert to lexical-binding and completion-at-point.
16786 (info-lookup-completions-at-point): New function.
16787 (info-complete): Use it and completion-in-region.
16788
b74aa22b
DA
167892011-05-28 Drew Adams <drew.adams@oracle.com>
16790
16791 * isearch.el: Let M-e start with point at the first mismatched char.
16792 (isearch-fail-pos): New function.
16793 (isearch-edit-string): Use it.
16794
66e2e71d
DK
167952011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
16796
16797 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
16798
b1890b0f 167992011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
16800
16801 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
16802 traversal functions for avl-trees.
16803 (avl-tree--stack): New struct.
16804 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
16805 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
16806 (avl-tree--do-enter): Add optional `updatefun' arg.
16807 Change return value.
eb95d01d 16808 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
16809 (avl-tree--do-delete): Add `test' and `nilflag' args.
16810 Change return value.
eb95d01d
TC
16811 (avl-tree-member): Add optional `nilflag'
16812 (avl-tree-member-p): New function.
16813 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
16814 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
16815 (avl-tree-stack-empty-p): New functions.
16816
3769ddcf
TC
16817 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
16818 avl-tree--del-balance1 and make it work both ways.
16819 (avl-tree--del-balance2): Remove.
16820 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
16821 make it work both ways.
16822 (avl-tree--enter-balance2): Remove.
16823 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
16824 New macros.
16825 (avl-tree--mapc, avl-tree-map): Add direction argument.
16826
eb95d01d 168272011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
16828
16829 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
16830
a9f737ee
CY
168312011-05-27 Chong Yidong <cyd@stupidchicken.com>
16832
16833 * select.el: Support clipboard managers with built-in function
16834 x-clipboard-manager-save, via delete-frame-functions and
16835 kill-emacs-hook.
16836 (xselect-convert-to-targets): Add MULTIPLE target to list.
16837 (xselect-convert-to-save-targets): New function.
16838
c92a1e54
KH
168392011-05-27 Kenichi Handa <handa@m17n.org>
16840
16841 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
16842 let-binding rfc2047-encode-encoded-words to nil.
16843
e145f188
GM
168442011-05-27 Glenn Morris <rgm@gnu.org>
16845
5ec8a862
GM
16846 * mail/emacsbug.el: Don't require url-util.
16847
4b29d9fb
GM
16848 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
16849
e145f188
GM
16850 * files.el (set-auto-mode):
16851 Also respect mode: entries at the end of the file. (Bug#8586)
16852
7d15102b
GM
168532011-05-26 Glenn Morris <rgm@gnu.org>
16854
98f593b8
GM
16855 * files.el (hack-local-variables-prop-line, hack-local-variables):
16856 Downcase mode names, as seems to be traditional.
27b48e63 16857 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 16858
7d15102b
GM
16859 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
16860 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
16861
51d5b4ec
JD
168622011-05-25 Julien Danjou <julien@danjou.info>
16863
16864 * textmodes/rst.el (rst-define-level-faces): Do not define face
16865 symbol if it is already defined.
16866
91513f63
VB
168672011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
16868
16869 * play/5x5.el (5x5-new-game, 5x5-randomize):
16870 Reset 5x5-solver-output to nil when a new grid is cast.
16871 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
16872 these debugging traces, as defmacro breaks the compiled code.
16873
4d90d6d0
DK
168742011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
16875
16876 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
16877
e1b90ef6
LL
168782011-05-24 Leo Liu <sdl.web@gmail.com>
16879
16880 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
16881 (vc-bzr-sha1): Adapt.
16882
d8e4b68b 16883 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
16884
16885 * bindings.el: Provide sha1 feature.
16886
db0406bb 168872011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
16888
16889 * mail/sendmail.el: Require `rfc2047'.
16890 (mail-insert-from-field): Do not perform RFC2047 encoding.
16891 (mail-encode-header): New function.
16892 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
16893 buffer to the return value of select-message-coding-system.
16894 Call mail-encode-header.
b8d747b9
KH
16895
16896 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
16897
db0406bb 168982011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 16899
4d90d6d0
DK
16900 * mail/supercite.el (sc-default-cite-frame):
16901 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 16902
eb8a5e9b
GM
169032011-05-24 Glenn Morris <rgm@gnu.org>
16904
f8630703
GM
16905 * progmodes/python.el (brm-menu): Declare.
16906
8831bbed
GM
16907 * emulation/viper.el (viper-set-hooks): Declare.
16908
eb8a5e9b
GM
16909 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
16910 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
16911 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
16912 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
16913 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
16914 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
16915
a2a25d24
SM
169162011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
16917
16918 Add an :exit-function for completion-at-point.
16919
16920 * minibuffer.el (completion--done): New fun.
16921 (completion--do-completion): Use it. New arg `expect-exact'.
16922 (minibuffer-complete, minibuffer-complete-word): Don't output message,
16923 since completion--do-completion does it for us now.
16924 (minibuffer-force-complete): Use completion--done and
16925 completion--replace. Handle sole-completion case with more care.
16926 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
16927 (completion-extra-properties): New var.
16928 (completion-annotate-function): Make obsolete.
16929 (minibuffer-completion-help): Adjust accordingly.
16930 Use completion-list-insert-choice-function.
16931 (completion-at-point, completion-help-at-point):
16932 Bind completion-extra-properties.
16933 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
16934 * simple.el (completion-list-insert-choice-function): New var.
16935 (completion-setup-function): Preserve it.
16936 (choose-completion): Pay attention to it, shuffle the code a bit.
16937 (choose-completion-string): New arg `insert-function'.
16938
16939 * textmodes/bibtex.el: Convert to lexical binding.
16940 (bibtex-mode-map): Use completion-at-point.
16941 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
16942 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
16943 (bibtex-complete): Define as obsolete alias.
16944 (bibtex-complete-internal): Remove.
16945 (bibtex-format-entry): Remove unused sub-group in regexp.
16946 * shell.el (shell--command-completion-data)
16947 (shell-environment-variable-completion):
16948 * pcomplete.el (pcomplete-completions-at-point):
16949 * comint.el (comint--complete-file-name-data): Use :exit-function
16950 instead of completion-table-with-terminator so it also works for
16951 choose-completion.
16952
e44e373d
SM
169532011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
16954
4f91a816
SM
16955 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
16956
782fc819
SM
16957 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
16958 (bug#8710).
16959
e44e373d
SM
16960 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
16961
381987c3
KM
169622011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
16963
16964 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
16965 customization variable and implement: If non-nil, auto-fill will
16966 be inhibited while on topic's header line.
16967
b776bc70
VB
169682011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
16969
16970 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 16971 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
16972 always have a solution in grid size = 5 cases.
16973 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
16974 (5x5-solver-output, 5x5-log-buffer): New vars.
16975 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
16976 Make these variables buffer local to achieve 5x5 multi-session-ness.
16977 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
16978 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
16979 (5x5-solve-suggest): New funs.
16980 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
16981 randomize a grid so that we ensure that there is always a solution.
16982 (5x5-make-random-grid): Allow other movement than flipping.
16983
7de88b6e
KR
169842011-05-23 Kevin Ryde <user42@zip.com.au>
16985
16986 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 16987 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
16988 advice and passes PREDICATE.
16989
b1ef1257
SM
169902011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
16991
bbca48fe
SM
16992 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
16993 byte-compile-lambda if it's actually a lambda.
16994
b1ef1257
SM
16995 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
16996 Fix function quoting. Use backquote better.
16997
92a9cc65
YS
169982011-05-22 Yuanle Song <sylecn@gmail.com>
16999
17000 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
17001 matching (Bug#8516).
17002
f0fb8059
JA
170032011-01-22 Jari Aalto <jari.aalto@cante.net>
17004
17005 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
17006 different face (Bug#8178).
17007
d5b44c93
CY
170082011-05-22 Chong Yidong <cyd@stupidchicken.com>
17009
17010 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
17011 defface (Bug#8144).
17012
79106a44
SM
170132011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
17014
9c848d8a
SM
17015 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
17016 funcall as well (bug#8712). Warn when performing those conversions.
17017 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
17018
79106a44
SM
17019 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
17020
88dfa756
GM
170212011-05-22 Glenn Morris <rgm@gnu.org>
17022
17023 * files.el (hack-local-variables-prop-line): Small simplifications.
17024 (hack-local-variables, hack-local-variables-prop-line):
17025 If MODE-ONLY, return the mode, rather than just `t'.
17026
b7cf2c79
SM
170272011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
17028
17029 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
17030
3f1a8558
GM
170312011-05-21 Glenn Morris <rgm@gnu.org>
17032
7e4ccca3
GM
17033 * files.el (hack-local-variables-prop-line, hack-local-variables):
17034 If only interested in the mode, don't bother doing the other stuff.
17035
637d46ca
GM
17036 * image-mode.el (image-after-revert-hook):
17037 Redraw all frames on which the image is visible. (Bug#8567)
17038
973d955b
GM
17039 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
17040
3f1a8558
GM
17041 * wid-edit.el (widget-checklist-match-inline):
17042 Fix 2011-04-19 change. (Bug#8649)
17043
96479927
SM
170442011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
17045
1dcf791f
SM
17046 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
17047 Also allow singlespace after single-letter capitals followed by a dot.
17048
96479927
SM
17049 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
17050 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
17051
35fd0881
N
170522011-05-20 Nix <nix@esperi.org.uk>
17053
17054 * files.el (basic-save-buffer-2):
17055 Fix handling of break-hardlink-on-save with non-existent files.
17056
82745640
DD
170572011-05-19 Deniz Dogan <deniz@dogan.se>
17058
17059 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 17060 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 17061
4a720484
GM
170622011-05-19 Glenn Morris <rgm@gnu.org>
17063
d1f21341
GM
17064 * progmodes/f90.el (f90-type-def-re):
17065 Handle "type, bind(c)". (Bug#8691)
17066
4a720484
GM
17067 * emacs-lisp/autoload.el (batch-update-autoloads):
17068 Set autoload-excludes by parsing loadup.el rather than Makefiles.
17069
2fb0a219
MA
170702011-05-18 Michael Albinus <michael.albinus@gmx.de>
17071
17072 * net/tramp.el (tramp-process-actions): Set "first-password-request"
17073 property for the correct connection in case of multihops.
17074
e565dd37
GM
170752011-05-18 Glenn Morris <rgm@gnu.org>
17076
c2571358 17077 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
17078 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
17079
e565dd37
GM
17080 Rationalize calendar handling of day and month abbrev-arrays.
17081 * calendar/calendar.el (calendar-customized-p): New function.
17082 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
17083 (calendar-day-name-array, calendar-month-name-array): Doc fix.
17084 Add :set function.
17085 (calendar-abbrev-length, calendar-day-abbrev-array)
17086 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
17087 (calendar-day-abbrev-array, calendar-month-abbrev-array):
17088 Elements may no longer be nil.
17089 (calendar-day-name, calendar-month-name):
17090 Update for changed nature of abbrev arrays.
17091 * calendar/diary-lib.el (diary-name-pattern):
17092 Update for changed nature of abbrev arrays.
17093 (diary-mark-entries-1): Update calendar-make-alist calls.
17094 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
17095 * calendar/cal-html.el (cal-html-day-abbrev-array):
17096 Simply inherit from calendar-day-abbrev-array.
17097
1d99a745
SM
170982011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
17099
17100 * progmodes/grep.el (grep-mode): Disable default
17101 compilation-directory-matcher setting (bug#8684).
17102
7c1d9aa0
MA
171032011-05-17 Michael Albinus <michael.albinus@gmx.de>
17104
17105 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
17106 instead of "head" and "tail". There were problems with SunOS 5.9,
17107 and it performs better.
17108
3952e9d8
GM
171092011-05-17 Glenn Morris <rgm@gnu.org>
17110
2dd12e7f
GM
17111 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
17112
e4157b9c
GM
17113 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
17114 Replace obsolete function.
17115
8e249bbd
GM
17116 * shell.el (pcomplete-parse-arguments-function): Declare.
17117
3952e9d8
GM
17118 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
17119 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
17120 (appt-check): Doc fixes.
17121 (appt-disp-window-function, appt-delete-window-function):
17122 Remove needless special case in custom :type.
17123 (appt-display-count): Default to 0, not nil.
17124 (appt-check): Reset appt-display-count to 0, not nil.
17125
c71a0d48 171262011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 17127
c71a0d48
GM
17128 * progmodes/python.el (python-font-lock-keywords):
17129 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 17130
31d55be9
SM
171312011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
17132
17133 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
17134
3bfacb2f
KR
171352011-05-16 Kevin Ryde <user42@zip.com.au>
17136
17137 * info-look.el (makefile-automake-mode): New setups, looking in
17138 automake manual, then makefile-mode.
17139 (makefile-mode): Remove automake manual, have it just in
17140 makefile-automake-mode since there's various things different or
17141 not relevant to plain make.
17142 (makefile-mode): Remove "other-modes" non-existent automake-mode,
17143 believe a hypothetical automake-mode would go to makefile-mode,
17144 not the other way around.
17145
c8e83751
CY
171462011-05-15 Chong Yidong <cyd@stupidchicken.com>
17147
5e9e35cd
CY
17148 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
17149 hunk-end tags (Bug#8672).
17150
c8e83751
CY
17151 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
17152 vc-annotate-show-diff-revision-at-line (Bug#8671).
17153
50b23e5a
GM
171542011-05-14 Glenn Morris <rgm@gnu.org>
17155
7210a739
GM
17156 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
17157 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
17158 (change-log-font-lock-keywords): Also handle multiple author lines
17159 with leading tabs. (Bug#8644)
7210a739 17160
4691905a
GM
17161 * calendar/appt.el (appt-check): Rename some local variables.
17162 Some simplification/reordering.
17163
50b23e5a
GM
17164 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
17165 (feedmail-sendmail-f-doesnt-sell-me-out)
17166 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
17167 (feedmail-debug-sit-for, feedmail-queue-express-hook)
17168 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
17169 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
17170 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
17171 (feedmail-binmail-gnulinuxish-template):
17172 Rename from feedmail-binmail-linuxish-template.
17173 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
17174 Use insert-buffer-substring.
17175
215cda7c
BC
171762011-05-14 Bill Carpenter <bill@carpenter.org>
17177
17178 * mail/feedmail.el (feedmail-patch-level): Increase.
17179 (feedmail-debug): New custom group.
17180 (feedmail-confirm-outgoing-timeout)
17181 (feedmail-sendmail-f-doesnt-sell-me-out)
17182 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
17183 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
17184 (feedmail-sender-line, feedmail-from-line)
17185 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 17186 (feedmail-spray-this-address)
215cda7c
BC
17187 (feedmail-spray-address-fiddle-plex-list)
17188 (feedmail-queue-use-send-time-for-date)
17189 (feedmail-queue-use-send-time-for-message-id)
17190 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
17191 (feedmail-buffer-eating-function):
17192 Doc fixes.
17193 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
17194 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
17195 (feedmail-message-action-scroll-down): New functions.
17196 (feedmail-queue-directory, feedmail-queue-draft-directory):
17197 Use expand-file-name.
17198 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
17199 Remove C-v help entry.
17200 (feedmail-queue-buffer-file-name): New variable.
17201 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
17202 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
17203 (feedmail-message-action-send-strong, feedmail-message-action-edit)
17204 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
17205 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
17206 (feedmail-message-action-toggle-spray)
17207 (feedmail-run-the-queue-no-prompts)
17208 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
17209 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
17210 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
17211 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
17212 (feedmail-envelope-deducer, feedmail-fiddle-from)
17213 (feedmail-fiddle-sender, feedmail-default-date-generator)
17214 (feedmail-fiddle-date, feedmail-fiddle-message-id)
17215 (feedmail-fiddle-spray-address)
17216 (feedmail-fiddle-list-of-spray-fiddle-plexes)
17217 (feedmail-fiddle-list-of-fiddle-plexes)
17218 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
17219 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
17220 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
17221 Change default. Doc fix.
17222 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
17223 (feedmail-binmail-linuxish-template): New constant.
17224 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
17225 Respect feedmail-sendmail-f-doesnt-sell-me-out.
17226 (feedmail-send-it): Add debug call.
17227 Use feedmail-queue-buffer-file-name, and
17228 feedmail-send-it-immediately-wrapper.
17229 (feedmail-message-action-send): Add debug call.
17230 Use feedmail-send-it-immediately-wrapper.
17231 (feedmail-queue-express-to-queue): Add debug call.
17232 Run feedmail-queue-express-hook.
17233 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
17234 (feedmail-message-action-help-blat):
17235 Rename from feedmail-queue-send-edit-prompt-help-first.
17236 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
17237 Check line-endings. Handle errors better.
17238 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
17239 Doc fix. Add debug call.
17240 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
17241 Use feedmail-queue-send-edit-prompt-inner.
17242 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
17243 (feedmail-queue-send-edit-prompt-inner): New function, extracted
17244 from feedmail-queue-send-edit-prompt.
17245 (feedmail-queue-send-edit-prompt-help)
17246 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
17247 (feedmail-tidy-up-slug): Add debug call.
17248 Respect feedmail-queue-slug-suspect-regexp.
17249 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
17250 (feedmail-dump-message-to-queue): Add debug call.
17251 Expand queue-directory.
17252 (feedmail-dump-message-to-queue): Change message slightly.
17253 Use feedmail-say-chatter.
17254 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
17255 (feedmail-send-it-immediately-wrapper): New function.
17256 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
17257 Insert empty string rather than newline. Handle full-frame case.
17258 Use catch/throw. Use feedmail-say-chatter.
17259 (feedmail-fiddle-from): Try mail-host-address.
17260 (feedmail-default-message-id-generator): Doc fix.
17261 Bind system-time-locale. Handle missing end.
17262 (feedmail-fiddle-x-mailer): Add debug call.
17263 Handle feedmail-x-mailer-line being nil.
17264 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
17265 Add debug call. Use buffer-substring-no-properties.
17266 (feedmail-say-debug, feedmail-say-chatter): New functions.
17267 (feedmail-find-eoh): Give an explicit error.
17268
42c7e61e
UJ
172692011-05-13 Ulf Jasper <ulf.jasper@web.de>
17270
c2571358 17271 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 17272 family from helvetica to sans.
c2571358 17273 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
17274 etc/images/newsticker.
17275
c2571358 17276 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
17277 family from helvetica to sans.
17278
17279 * net/newst-plainview.el (newsticker-new-item-face)
17280 (newsticker-old-item-face, newsticker-immortal-item-face)
17281 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 17282 (newsticker-statistics-face): Change default family from
42c7e61e 17283 helvetica to sans.
c2571358 17284 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
17285 etc/images/newsticker.
17286
5d3385a0
JB
17287 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
17288 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
17289 auto-marking.
17290
8497a297
DV
172912011-05-13 Didier Verna <didier@xemacs.org>
17292
17293 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
17294 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
17295 TODO entries.
8497a297
DV
17296 (lisp-lambda-list-keyword-parameter-indentation)
17297 (lisp-lambda-list-keyword-parameter-alignment)
17298 (lisp-lambda-list-keyword-alignment): New customizable user options.
17299 (lisp-indent-defun-method): Improve docstring.
17300 (extended-loop-p): Fix comment.
17301 (lisp-indent-lambda-list-keywords-regexp): New variable.
17302 (lisp-indent-lambda-list): New function.
17303 (lisp-indent-259): Use it.
17304 (lisp-indent-defmethod): Support for more than one
17305 method qualifier and properly indent methods lambda-lists.
17306 (defgeneric): Provide a missing common-lisp-indent-function property.
17307
f278f87f
SM
173082011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
17309
17310 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
17311 bounds for the empty string (bug#8667).
17312
5233edd7
GM
173132011-05-13 Glenn Morris <rgm@gnu.org>
17314
5237a44f
GM
17315 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
17316
8340026c 17317 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 17318 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 17319
5233edd7 17320 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 17321 (appt-time-msg-list): Doc fix.
a5464014 17322 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 17323
92d10796
AS
173242011-05-12 Andreas Schwab <schwab@linux-m68k.org>
17325
17326 * progmodes/ld-script.el (ld-script-keywords)
17327 (ld-script-builtins): Update keywords list.
17328
914a0ae1
SM
173292011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
17330
c89be45f
SM
17331 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
17332
914a0ae1
SM
17333 * shell.el (shell-completion-vars): New function.
17334 (shell-mode):
17335 * simple.el (read-shell-command): Use it.
17336 (blink-matching-open): No need for " [...]" in minibuffer-message.
17337
98dc3df3
GM
173382011-05-12 Glenn Morris <rgm@gnu.org>
17339
17340 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
17341 (appt-check): Simplify.
17342
d2fc7e3d 173432011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 17344
4d61f28d 17345 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
17346 literal "/dev/null".
17347
d2fc7e3d 173482011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
17349
17350 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
17351 Fix typo.
17352
d2fc7e3d 173532011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 17354
3f254caa
SM
17355 * progmodes/which-func.el (which-function):
17356 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
17357 which might not be defined (Bug#8260).
17358
d45885f7
GM
173592011-05-12 Glenn Morris <rgm@gnu.org>
17360
17361 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
17362 Let byte-compile-initial-macro-environment always take precedence.
17363
488086f4
SM
173642011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
17365
17366 * net/rcirc.el: Add support for SSL/TLS connections.
17367 (rcirc-server-alist): New field `encryption'.
17368 (rcirc): Check `encryption' settings.
17369 (rcirc-connect): New arg `encryption'. Use open-network-stream.
17370 Merge make-local-variable into `set'.
17371 (rcirc--connection-open-p): New function.
17372 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
17373 the process is not a network process (e.g. running gnutls-cli).
17374 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
17375 Make rcirc-(en|de)code-coding-system local here.
17376 (rcirc-mode): Merge make-local-variable into `set'.
17377 (rcirc-parent-buffer): Make permanent buffer-local.
17378 (rcirc-multiline-minor-mode): Don't do it here.
17379 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
17380 there's no server buffer.
17381
7d3b9d44
GM
173822011-05-11 Glenn Morris <rgm@gnu.org>
17383
f64049c6
GM
17384 * newcomment.el (comment-kill): Prefix "unused" local.
17385
93c9df73
GM
17386 * term/w32console.el (get-screen-color): Declare.
17387
7d3b9d44
GM
17388 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
17389 Handle symbol elements of byte-compile-initial-macro-environment.
17390
9e2dd53f
LL
173912011-05-10 Leo Liu <sdl.web@gmail.com>
17392
488086f4
SM
17393 * bookmark.el (bookmark-bmenu-mode-map):
17394 Bind bookmark-bmenu-search to `/'.
8b340240 17395
9e2dd53f 17396 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
17397 (footnote-unicode-string, footnote-unicode-regexp): New variable.
17398 (Footnote-unicode): New function.
17399 (footnote-style-alist): Add unicode style to the list.
17400 (footnote-style): Doc fix.
9e2dd53f 17401
79b70037
GM
174022011-05-10 Jim Meyering <meyering@redhat.com>
17403
17404 Fix doubled-word typos.
17405 * international/quail.el (quail-insert-kbd-layout): and and -> and
17406 * kermit.el: and and -> and
17407 * net/ldap.el (ldap-search-internal): to to -> to
17408 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
17409 * progmodes/js.el (js-mode): and and -> and
17410 * textmodes/artist.el (artist-move-to-xy): at at -> at
17411 (artist-draw-region-trim-line-endings): if if -> if
17412 And Safetyc -> Safety.
17413 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
17414
b8f82dc1 174152011-05-10 Glenn Morris <rgm@gnu.org>
f1a71c6e 17416 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
17417
17418 * files.el (hack-one-local-variable-eval-safep):
17419 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
17420
4f99f44b
GM
174212011-05-10 Glenn Morris <rgm@gnu.org>
17422
17423 * calendar/diary-lib.el (diary-list-entries-hook)
17424 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
17425 (diary-nongregorian-marking-hook, diary-list-entries)
17426 (diary-include-other-diary-files, diary-mark-entries)
17427 (diary-mark-included-diary-files): Doc fixes.
17428
84f29e6b
JB
174292011-05-09 Juanma Barranquero <lekktu@gmail.com>
17430
17431 * misc.el: Require tabulated-list.el during compilation.
17432
9bedd73a
CY
174332011-05-09 Chong Yidong <cyd@stupidchicken.com>
17434
488086f4
SM
17435 * progmodes/compile.el (compilation-start):
17436 Run compilation-filter-hook for the async case too.
9bedd73a
CY
17437 (compilation-filter-hook): Doc fix.
17438
797c735c
DD
174392011-05-09 Deniz Dogan <deniz@dogan.se>
17440
17441 * wdired.el: Remove outdated installation comment. Fix usage
17442 comment.
17443
5f4b1dfe
JB
174442011-05-09 Juanma Barranquero <lekktu@gmail.com>
17445
17446 * misc.el: Implement new command `list-dynamic-libraries'.
17447 (list-dynamic-libraries--loaded-only-p): New variable.
17448 (list-dynamic-libraries--refresh): New function.
17449 (list-dynamic-libraries): New command.
17450
4c44026c
CY
174512011-05-09 Chong Yidong <cyd@stupidchicken.com>
17452
488086f4
SM
17453 * progmodes/compile.el (compilation-error-regexp-alist-alist):
17454 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
17455 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
17456 higher priority to avoid clobbering by gnu.
17457
027f966d
CY
174582011-05-08 Chong Yidong <cyd@stupidchicken.com>
17459
17460 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
17461 if the face has existing theme settings (Bug#8454).
17462
085f5d7d
CY
174632011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
17464
488086f4
SM
17465 * progmodes/perl-mode.el (perl-imenu-generic-expression):
17466 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 17467
2a86a00c
RS
17468 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
17469 special file names `.' and `..' (Bug#8259).
17470
d9c54a06
CY
174712011-05-08 Chong Yidong <cyd@stupidchicken.com>
17472
488086f4
SM
17473 * progmodes/grep.el (grep-mode-font-lock-keywords):
17474 Remove buffer-changing entries.
d9c54a06
CY
17475 (grep-filter): New function.
17476 (grep-mode): Add it to compilation-filter-hook.
17477
17478 * progmodes/compile.el (compilation-filter-hook)
17479 (compilation-filter-start): New defvars.
17480 (compilation-filter): Call compilation-filter-hook prior to
17481 updating the process mark.
17482
c4662635
SM
174832011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
17484
17485 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
17486
b0512a1d
EZ
174872011-05-07 Eli Zaretskii <eliz@gnu.org>
17488
605c9376
EZ
17489 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
17490 mailclient-send-it even if window-system is nil. (Bug#8595)
17491
c4662635
SM
17492 * term/w32console.el (terminal-init-w32console):
17493 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
17494 background-mode. (Bug#8597)
17495
d1dc2cc2
SM
174962011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
17497
17498 Make bytecomp.el understand that defmethod defines funs (bug#8631).
17499 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
17500 New functions.
17501 (defgeneric, eieio--defmethod): Use them.
17502 (eieio-defgeneric): Remove.
17503 (defmethod): Call defgeneric in a way visible to the byte-compiler.
17504
915d1300
GM
175052011-05-07 Glenn Morris <rgm@gnu.org>
17506
a3961c3e
GM
17507 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
17508 Use let rather than let*.
17509 (timeclock-find-discrep): Remove unused local.
17510
314347b9
GM
17511 * calendar/diary-lib.el (diary-comment-start): Doc fix.
17512
915d1300
GM
17513 * calendar/appt.el (appt-time-msg-list): Doc fix.
17514
275b59b0
NF
175152011-05-06 Noah Friedman <friedman@splode.com>
17516
17517 * apropos.el (apropos-print-doc): Only use
17518 emacs-lisp-docstring-fill-column when it is bound to an integer,
17519 per that variable's documentation.
17520
6c19f744
SM
175212011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
17522
17523 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 17524 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 17525
60f884b2
GM
175262011-05-06 Glenn Morris <rgm@gnu.org>
17527
5006e634
GM
17528 * calendar/appt.el (appt-message-warning-time): Doc fix.
17529 (appt-warning-time-regexp): New option.
17530 (appt-make-list): Respect appt-message-warning-time.
17531
548d0a63
GM
17532 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
17533 New options.
17534 (diary-add-to-list): Strip comments from the displayed string.
17535 (diary-mode): Set comment-start and comment-end.
17536
60f884b2
GM
17537 * vc/diff-mode.el (smerge-refine-subst): Declare.
17538 (diff-refine-hunk): Don't require smerge-mode when compiling.
17539
989681bb
JB
175402011-05-06 Juanma Barranquero <lekktu@gmail.com>
17541
17542 * simple.el (list-processes): Return nil as the docstring says.
17543
a6bc05e1
MA
175442011-05-05 Michael Albinus <michael.albinus@gmx.de>
17545
17546 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
17547 to "".
17548 (ange-ftp-write-region, ange-ftp-insert-file-contents)
17549 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
17550 determining of binary transfer. (Bug#7383)
17551
23c22e9a
MA
175522011-05-05 Michael Albinus <michael.albinus@gmx.de>
17553
c4662635
SM
17554 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
17555 Fix port computation bug. (Bug#8618)
23c22e9a 17556
0bff894f
GM
175572011-05-05 Glenn Morris <rgm@gnu.org>
17558
b8296902
GM
17559 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
17560
1f522ce8
GM
17561 * simple.el (shell-dynamic-complete-functions)
17562 (comint-dynamic-complete-functions): Declare.
17563
cf5bee67
GM
17564 * net/network-stream.el (gnutls-negotiate):
17565 * simple.el (tabulated-list-print): Fix declarations.
17566
17567 * progmodes/gud.el (syntax-symbol, syntax-point):
17568 Remove unnecessary and incorrect declarations.
17569
0bff894f
GM
17570 * emacs-lisp/check-declare.el (check-declare-scan):
17571 Handle byte-compile-initial-macro-environment in bytecomp.el
17572
9869b3ae
SM
175732011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
17574
17575 Fix earlier half-done eieio-defmethod change (bug#8338).
17576 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
17577 Streamline and change calling convention.
17578 (defmethod): Adjust accordingly and simplify.
17579 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
17580 new eieio--defmethod.
17581 (slot-boundp): Minor CSE simplification.
17582
9c1d5ac5
MZ
175832011-05-05 Milan Zamazal <pdm@zamazal.org>
17584
17585 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
17586 (glasses-make-readable): Use glasses-separate-capital-groups.
17587
455c834e
JB
175882011-05-05 Juanma Barranquero <lekktu@gmail.com>
17589
17590 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
17591 (warning-series): Doc fix.
17592 (display-warning): Don't try to create the buffer if we just found it.
17593
9ed7c8cb
CY
175942011-05-04 Chong Yidong <cyd@stupidchicken.com>
17595
17596 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
17597 (autoload-find-generated-file): New function.
17598 (generate-file-autoloads): Bind generated-autoload-file to
17599 buffer-file-name.
9869b3ae
SM
17600 (update-file-autoloads, update-directory-autoloads):
17601 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
17602 output file (Bug#7989).
17603 (batch-update-autoloads): Doc fix.
17604
0898ca10
JB
176052011-05-04 Juanma Barranquero <lekktu@gmail.com>
17606
17607 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
17608
31dfb76c
GM
176092011-05-04 Glenn Morris <rgm@gnu.org>
17610
f330b642
GM
17611 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
17612 function, so it follows changes in calendar-date-style.
17613 (diary-fancy-date-matcher): New function.
17614 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
17615 (diary-fancy-font-lock-fontify-region-function):
17616 Use diary-fancy-date-pattern as a function.
17617
31dfb76c
GM
17618 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
17619 non-numbers for `year' etc pseudo-variables. (Bug#8583)
17620
48e79d6a
TZ
176212011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
17622
17623 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
17624 instead of positional arguments. Allow :keylist and :crlfiles
17625 arguments.
17626 (open-gnutls-stream): Call it.
17627
17628 * net/network-stream.el (network-stream-open-starttls): Adjust to
17629 call `gnutls-negotiate' with :process and :hostname arguments.
17630
dd5a5ee0
SM
176312011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
17632
ef80fc09
SM
17633 * minibuffer.el (completion--message): New function.
17634 (completion--do-completion, minibuffer-complete)
17635 (minibuffer-force-complete, minibuffer-complete-word): Use it.
17636 (completion--do-completion): Don't ignore completion-auto-help when in
17637 icomplete-mode.
17638
dd5a5ee0
SM
17639 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
17640 internal encoding (e.g. tibetan zero is not whitespace).
17641 (global-whitespace-mode): Prefer save-current-buffer.
17642 (whitespace-trailing-regexp): Remove useless save-match-data.
17643 (whitespace-empty-at-bob-regexp): Minor simplification.
17644
b7d22a83
CY
176452011-05-03 Chong Yidong <cyd@stupidchicken.com>
17646
17647 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
17648
5192af46
AM
176492011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
17650
17651 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 17652 Use `concat' to create string for insertion.
5192af46 17653
5767d190
SM
176542011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
17655
17656 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
17657 Avoid open-line which runs post-self-insert-hook.
17658 (bibtex-fill-entry): Remove unused `end' var.
17659
bf242939
AM
176602011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
17661
5767d190
SM
17662 * textmodes/ispell.el (ispell-add-per-file-word-list):
17663 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 17664
25666126
LL
176652011-05-03 Leo Liu <sdl.web@gmail.com>
17666
17667 * isearch.el (isearch-yank-pop): New command.
5767d190 17668 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
17669 (isearch-forward): Mention it.
17670
52d3c2d0
SM
176712011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
17672
1bcace58
SM
17673 * simple.el (minibuffer-complete-shell-command): Remove.
17674 (minibuffer-local-shell-command-map): Use completion-at-point.
17675 (read-shell-command): Setup completion vars here instead.
17676 (read-expression-map): Bind TAB to symbol completion.
17677
52d3c2d0
SM
17678 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
17679 error directly rather via storing it into `results'.
17680
35813471
LL
176812011-05-02 Leo Liu <sdl.web@gmail.com>
17682
17683 * vc/diff.el: Fix description.
17684
e793a940
LMI
176852011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
17686
17687 * server.el (server-eval-at): New function.
17688
8de66e05
LMI
176892011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
17690
17691 * net/network-stream.el (open-network-stream): Take a :nowait
17692 parameter and pass it on to `make-network-process'.
17693 (network-stream-open-plain): Ditto.
17694
dcb79f20
AS
176952011-04-30 Andreas Schwab <schwab@linux-m68k.org>
17696
17697 * faces.el (face-spec-set-match-display): Don't match toolkit
17698 options on terminal frames.
17699
14a7fbd8
SM
177002011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
17701
7eabc1be
SM
17702 * progmodes/pascal.el: Use lexical binding.
17703 (pascal-mode-map): Remove author preferences.
17704
14a7fbd8
SM
17705 * pcomplete.el (pcomplete-std-complete): Don't abuse
17706 completion-at-point.
17707
50f84510
JB
177082011-04-28 Juanma Barranquero <lekktu@gmail.com>
17709
6e087a44
JB
17710 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
17711 removing code that has been dead since 1991 or so.
17712
50f84510
JB
17713 * startup.el (command-line): When warning about "_emacs", use a
17714 delayed warning to allow the user to filter it out.
17715
0ba690bd
DD
177162011-04-28 Deniz Dogan <deniz@dogan.se>
17717
17718 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
17719 user has not joined.
17720
08abfaad
SM
177212011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
17722
17723 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
17724 aren't any completions at point.
17725
638f053a
JB
177262011-04-28 Juanma Barranquero <lekktu@gmail.com>
17727
17728 * subr.el (display-delayed-warnings): New function.
17729 (delayed-warnings-hook): New variable.
17730
8fff8daa
SM
177312011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
17732
08abfaad
SM
17733 * minibuffer.el (completion-at-point, completion-help-at-point):
17734 Don't presume that a given completion-at-point-function will always
17735 use the same calling convention.
17736
8fff8daa
SM
17737 * pcomplete.el (pcomplete-completions-at-point):
17738 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
17739 pcomplete-seen is non-nil.
17740 (pcomplete-comint-setup): Also recognize the new comint/shell
17741 completion functions.
17742 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
17743 pcomplete-seen is non-nil.
17744
841a1577 177452011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 17746
841a1577 17747 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 17748 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 17749 the first character in the entry. This allows for code to add its
211ec907
UJ
17750 own uid to the entry.
17751 (icalendar--convert-float-to-ical): Add export of
17752 `diary-float'-entries save for those with the optional DAY
17753 argument.
17754
2a782793
DC
177552011-04-27 Daniel Colascione <dan.colascione@gmail.com>
17756
17757 * subr.el (shell-quote-argument): Use alternate escaping strategy
17758 when we spot a variable reference in a string.
17759
0438ce91
DC
177602011-04-26 Daniel Colascione <dan.colascione@gmail.com>
17761
17762 * cus-start.el (all): Define customization for debug-on-event.
17763
841a1577 177642011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
17765
17766 * subr.el (shell-quote-argument): Escape correctly under Windows.
17767
d090ed6c
SM
177682011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
17769
17770 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
17771
bfd31217
MA
177722011-04-25 Michael Albinus <michael.albinus@gmx.de>
17773
d090ed6c
SM
17774 * net/tramp.el (tramp-process-actions): Add POS argument.
17775 Delete region between POS and (pos).
bfd31217 17776
d090ed6c
SM
17777 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
17778 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
17779 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
17780
17781 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
17782 position in `tramp-process-actions' call.
17783
17784 * net/trampver.el: Update release number.
17785
e92f3bd3
SM
177862011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
17787
850256b5
SM
17788 * custom.el (defcustom): Obey lexical-binding.
17789
e92f3bd3
SM
17790 Fix octave-inf completion problems reported by Alexander Klimov.
17791 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
17792 Inherit from octave-mode-syntax-table.
17793 (inferior-octave-mode): Set info-lookup-mode.
17794 (inferior-octave-completion-at-point): New function.
17795 (inferior-octave-complete): Use it and completion-in-region.
17796 (inferior-octave-dynamic-complete-functions): Use it as well, and use
17797 comint-filename-completion.
17798 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
17799 symbol elements which shouldn't be word elements.
17800 (octave-font-lock-keywords, octave-beginning-of-defun)
17801 (octave-function-header-regexp): Adjust regexps accordingly.
17802 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
17803
cd22b309
JB
178042011-04-25 Juanma Barranquero <lekktu@gmail.com>
17805
17806 * net/gnutls.el (gnutls-errorp): Declare before first use.
17807
8b492194
TZ
178082011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
17809
17810 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
17811 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 17812 default trustfile exists before going to use it. Add missing
5a5fa834 17813 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
17814 Reported by Claudio Bley <claudio.bley@gmail.com>.
17815 (open-gnutls-stream): Add usage example.
17816
17817 * net/network-stream.el (network-stream-open-starttls): Give host
17818 parameter to `gnutls-negotiate'.
17819 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 17820 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 17821
841a1577 178222011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 17823
cd22b309
JB
17824 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
17825 Use correct match group (bug#8438).
05842630 17826
3ba7869c
CY
178272011-04-24 Chong Yidong <cyd@stupidchicken.com>
17828
512e3ae1
CY
17829 * emacs-lisp/package.el (package-built-in-p): Fix typo.
17830 (package-menu--generate): New arg specifying packages to show.
17831 (package-menu-refresh, package-menu-execute, list-packages):
17832 Callers changed.
17833 (package-show-package-list): New function, replacing deleted
17834 package--list-packages (renamed because it is non-internal).
17835
17836 * finder.el (finder-list-matches): Use package-show-package-list
17837 instead of deleted package--list-packages.
17838
e92f3bd3
SM
17839 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
17840 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
17841 (vc-annotate-mode-map): Bind it to RET.
17842
7031be6d
UR
178432011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
17844
17845 * progmodes/etags.el (next-file): Don't use set-buffer to change
17846 buffers (Bug#8478).
17847
4ef177aa
CY
178482011-04-24 Chong Yidong <cyd@stupidchicken.com>
17849
c8d173eb
CY
17850 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
17851
4ef177aa
CY
17852 * apropos.el (apropos-label-face): Avoid variable-pitch face.
17853 (apropos-accumulator): Doc fix.
17854 (apropos-function, apropos-macro, apropos-command)
17855 (apropos-variable, apropos-face, apropos-group, apropos-widget)
17856 (apropos-plist): Add face property.
17857 (apropos-symbols-internal): Fix indentation.
17858 (apropos-print): Simplify help, and recognize apropos-multi-type.
17859 (apropos-print-doc): Use button-type-get to extract the button's
17860 face property. Fill docstring (Bug#8352).
17861
4ffd0d6b 178622011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
17863
17864 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
17865
c6c32125 17866 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 17867 (mpuz-mode-map): Use mapc.
c6c32125
JB
17868 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
17869 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
17870 Fix typos in docstrings.
17871
58d468b4
JB
17872 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
17873 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
17874
6470c3c6
JB
17875 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
17876
4ffd0d6b 178772011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
17878
17879 * minibuffer.el (completion--do-completion): Avoid the "Next char
17880 not unique" prompt if icomplete-mode is enabled (Bug#5849).
17881
3ad8bad0
CY
17882 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
17883 mouse-2 into unread-command-events, it is interpreted correctly.
17884
71d73c9c 17885 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 17886 (image-toggle-display): Doc fix.
71d73c9c 17887
841a1577 178882011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 17889
4ffd0d6b
GM
17890 * textmodes/page.el (what-page): Use line-number-at-pos to
17891 calculate line number (Bug#6825).
6e1dbaa9 17892
c2fb1b60
JB
178932011-04-22 Juanma Barranquero <lekktu@gmail.com>
17894
17895 * eshell/esh-mode.el (find-tag-interactive): Declare function.
17896 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
17897 Pass argument NO-DEFAULT to `find-tag-interactive'.
17898
e02f48d7
JB
178992011-04-22 Juanma Barranquero <lekktu@gmail.com>
17900
17901 Lexical-binding cleanup.
17902
17903 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
17904 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
17905 * progmodes/ada-prj.el (ada-prj-initialize-values)
17906 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
17907 (ada-prj-show-value):
17908 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
17909 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
17910 (antlr-invalidate-context-cache, antlr-options-menu-filter)
17911 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
17912 * progmodes/bug-reference.el (bug-reference-push-button):
17913 * progmodes/fortran.el (fortran-line-length):
17914 * progmodes/glasses.el (glasses-change):
17915 * progmodes/octave-mod.el (octave-fill-paragraph):
17916 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
17917 (python-pdbtrack-grub-for-buffer, python-sentinel):
17918 * progmodes/sql.el (sql-save-connection):
17919 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
17920 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
17921 Mark unused parameters.
17922
17923 * progmodes/compile.el (compilation--flush-directory-cache)
17924 (compilation--flush-parse, compile-internal): Mark unused parameters.
17925 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
17926 (compilation-next-error-function): Remove unused variable `timestamp'.
17927
17928 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
17929 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
17930
17931 * progmodes/dcl-mode.el (dcl-end-of-command):
17932 Remove unused variable `start'.
17933 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
17934 (dcl-option-value-basic, dcl-option-value-offset)
17935 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
17936 Mark unused parameters.
17937 (dcl-save-local-variable): Remove unused variable `val'.
17938 (mode): Declare.
17939
17940 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
17941 Mark unused parameters.
17942 (delphi-ignore-changes): Move before first use.
17943 (delphi-charset-token-at): Remove unused variable `start'.
17944 (delphi-else-start): Remove unused variable `if-count'.
17945 (delphi-comment-block-start, delphi-comment-block-end):
17946 Remove unused variable `kind'.
17947 (delphi-indent-line): Remove unused variable `new-point'.
17948
17949 * progmodes/ebrowse.el (ebrowse-files-list)
17950 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
17951 Mark unused parameters. Don't quote `lambda'.
17952 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
17953 Don't quote `lambda'.
17954 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
17955 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
17956 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
17957 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
17958 Use `ignore-errors'.
17959 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
17960 (ebrowse-view/find-file-and-search-pattern)
17961 (ebrowse-view/find-member-declaration/definition):
17962 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
17963 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
17964 Rename parameter PREFIX-ARG to PREFIX.
17965 (ebrowse-tags-read-name): Remove unused variables `start' and
17966 `member-info'.
17967 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
17968 to `tags-file'.
17969
17970 * progmodes/etags.el (local-find-tag-hook): Declare.
17971 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
17972 Mark unused parameters.
17973
17974 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
17975 (executable-interpret): Mark unused parameter.
17976
17977 * progmodes/flymake.el (flymake-process-sentinel)
17978 (flymake-after-change-function)
17979 (flymake-create-temp-with-folder-structure)
17980 (flymake-get-include-dirs-dot): Mark unused parameters.
17981 (flymake-safe-delete-directory): Remove unused variable `err'.
17982
17983 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
17984 (speedbar-timer-fn, speedbar-line-text)
17985 (speedbar-change-expand-button-char, speedbar-delete-subblock)
17986 (speedbar-center-buffer-smartly): Declare functions.
17987 (gdb-find-watch-expression): Remove unused variable `array'.
17988 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
17989 (gdb-starting): Mark unused parameters.
17990 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
17991 (gdb-table-string): Remove unused variable `res'.
17992 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
17993 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
17994 (gdb-display-buffer): Remove unused variable `cur-size'.
17995
17996 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
17997 allow lexical-binding compilation.
17998 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
17999 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
18000 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
18001 Mark unused parameters.
18002 (gud-gdb-marker-filter): Remove unused variable `match'.
18003 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
18004 lambda expressions and funcall them, instead of using `fset'.
18005
18006 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
18007 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
18008
18009 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
18010 variable `header-beg'; use `let'.
18011
18012 * progmodes/icon.el (indent-icon-exp): Remove unused variables
18013 `restart', `last-sexp' and `at-do'.
18014
18015 * progmodes/js.el (js--debug): Mark unused parameter.
18016 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
18017 (js--splice-into-items): Remove unused variable `item'.
18018 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
18019
18020 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
18021 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
18022 (makefile-complete): Remove unused variable `try'.
18023 (makefile-fill-paragraph, makefile-match-function-end):
18024 Mark unused parameters.
18025
18026 * progmodes/octave-inf.el (inferior-octave-complete):
18027 Remove unused variable `proc'.
18028 (inferior-octave-output-digest): Mark unused parameter.
18029
18030 * progmodes/perl-mode.el (perl-calculate-indent):
18031 Remove unused variable `err'.
18032
18033 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
18034 (prolog-indent-line): Mark unused parameters.
18035 (prolog-indent-line): Remove unused variable `beg'.
18036
18037 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
18038 (reporter-dont-compact-list): Declare.
18039
18040 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
18041 Remove unused variable `char'.
18042 (sh-debug): Mark unused parameter.
18043 (sh-get-indent-info): Remove unused variable `start'.
18044 (sh-calculate-indent): Remove unused variable `var'.
18045
18046 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
18047 (simula-electric-keyword): Remove unused variable `null'.
18048 (simula-search-backward, simula-search-forward): Remove unused
18049 variables `begin' and `end'.
18050
18051 * progmodes/vera-mode.el (vera-guess-basic-syntax):
18052 Remove unused variable `pos'.
18053 (vera-electric-tab, vera-comment-uncomment-region):
18054 Mark unused parameters.
18055 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
18056
7ede3b65
CY
180572011-04-22 Chong Yidong <cyd@stupidchicken.com>
18058
18059 * emacs-lisp/package.el (package--builtins, package-alist)
18060 (package-load-descriptor, package-built-in-p, package-activate)
18061 (define-package, package-installed-p)
18062 (package-compute-transaction, package-buffer-info)
18063 (package--push): Doc fix. Distinguish more clearly between
18064 version strings and version lists.
18065
121656e9
JB
180662011-04-21 Juanma Barranquero <lekktu@gmail.com>
18067
18068 Lexical-binding cleanup.
18069
18070 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
18071 (5x5-make-mutate-best):
18072 * play/fortune.el (fortune-in-buffer):
18073 * play/gomoku.el (gomoku-init-display):
18074 * play/solitaire.el (solitaire, solitaire-do-check):
18075 * play/tetris.el (tetris-default-update-speed-function):
18076 Mark unused parameters.
18077
18078 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
18079 (bubbles--shift): Remove unused variable `char-org'.
18080 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
18081 (bubbles--show-images): Remove unused variable `char'.
18082
18083 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
18084 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
18085 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
18086 (decipher-analyze-buffer): Use ?\s.
18087 (decipher-make-checkpoint): Remove unused variable `mapping'.
18088
18089 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
18090
18091 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
18092 Remove unused variable `result'; use `let'.
18093
18094 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
18095 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
18096 (gametree-children-shown-p, gametree-compute-reduced-score):
18097 Use `ignore-errors'.
18098
18099 * play/handwrite.el (ps-lpr-switches): Declare.
18100 (handwrite): Remove unused variables `pmin' and `lastp'.
18101
18102 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
18103
18104 * play/landmark.el (landmark-init-display)
18105 (landmark-update-naught-weights): Mark unused parameters.
18106 (landmark-y): Remove unused variable `noise'. Simplify.
18107 (landmark-human-plays): Remove unused variable `score'.
18108
18109 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
18110 (mpuz-try-proposal): Remove unused variable `game'.
18111
18112 * play/zone.el (life-patterns): Declare.
18113
80f499c7
JB
181142011-04-20 Juanma Barranquero <lekktu@gmail.com>
18115
18116 * vc/vc.el (ediff-vc-internal): Declare function.
18117
024ff170
SM
181182011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
18119
c0a193ea
SM
18120 * shell.el: Use lexical-binding and std completion UI.
18121 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
18122 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
18123 comint-preoutput-filter-functions rather than on
18124 comint-output-filter-functions.
18125 (shell-command-completion, shell--command-completion-data)
18126 (shell-filename-completion, shell-environment-variable-completion)
18127 (shell-c-a-p-replace-by-expanded-directory): New functions.
18128 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
18129 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
18130 (shell-dynamic-complete-environment-variable): Use them.
18131 (shell-dynamic-complete-as-environment-variable)
18132 (shell-dynamic-complete-as-command): Remove.
18133 (shell-match-partial-variable): Match past point.
18134 * comint.el: Clean up use of completion-at-point-functions.
18135 (comint-completion-at-point): New function.
18136 (comint-mode): Use it completion-at-point-functions.
18137 (comint-dynamic-complete): Make it obsolete.
18138 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
18139 (comint-c-a-p-replace-by-expanded-history): New function.
18140 (comint-dynamic-complete-functions)
18141 (comint-replace-by-expanded-history): Use it.
18142 * minibuffer.el (completion-table-with-terminator): Allow dynamic
18143 termination strings. Try harder to avoid second try-completion.
18144 (completion-in-region-mode-map): Disable bindings that don't work yet.
18145
2dbaa080
SM
18146 * comint.el: Use lexical-binding. Require CL.
18147 (comint-dynamic-complete-functions): Use comint-filename-completion.
18148 (comint-completion-addsuffix): Tweak custom type.
18149 (comint-filename-completion, comint--common-suffix)
18150 (comint--common-quoted-suffix, comint--table-subvert)
18151 (comint--complete-file-name-data): New functions.
18152 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
18153 (comint-dynamic-list-filename-completions): Use them.
18154 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 18155
2dbaa080
SM
18156 * minibuffer.el (completion-in-region-mode):
18157 Keep completion-in-region-mode--predicate global.
18158 (completion-in-region--postch):
18159 Assume completion-in-region-mode--predicate is not null.
18160
c79a6f38
SM
18161 * progmodes/flymake.el (flymake-start-syntax-check-process):
18162 Obey `dir'. Simplify.
18163
024ff170
SM
18164 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
18165 we're in VC after all.
18166
1c6c854e
CS
181672011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
18168
18169 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 18170 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
18171 (vc-version-diff): Use vc-diff-build-argument-list-internal.
18172
bed7f140
SM
181732011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
18174
332e62ab
SM
18175 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
18176 add sanity check.
18177
bed7f140
SM
18178 * obsolete/erc-hecomplete.el: Make obsolete.
18179 * obsolete/: Standardize obsolescence info in the header.
18180
f195c582
GM
181812011-04-20 Glenn Morris <rgm@gnu.org>
18182
18183 * calendar/solar.el (solar-horizontal-coordinates):
18184 Use the longitude argument rather than `calendar-longitude'.
18185 (solar-date-next-longitude): Remove unused locals.
18186
cb79b8c0
VJL
181872011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
18188
18189 * whitespace.el: New version 13.2.1.
18190
181912011-04-20 felix <EmacsWiki> (tiny change)
18192
d8e4b68b 18193 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
18194 switching between major modes on a file.
18195
602ea69d
SM
181962011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
18197
18198 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
18199 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
18200 multi-line comments as well.
18201
06b60517
JB
182022011-04-19 Juanma Barranquero <lekktu@gmail.com>
18203
18204 Lexical-binding cleanup.
18205
18206 * arc-mode.el (archive-mode-revert):
18207 * cmuscheme.el (scheme-interactively-start-process):
18208 * custom.el (custom-initialize-delay):
18209 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
18210 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
18211 * emacs-lock.el (emacs-lock-clear-sentinel):
18212 * ezimage.el (defezimage):
18213 * follow.el (follow-avoid-tail-recenter):
18214 * fringe.el (set-fringe-mode-1):
18215 * generic-x.el (bat-generic-mode-compile):
18216 * help-mode.el (help-info-variable, help-do-xref)
18217 (help-mode-revert-buffer):
18218 * help.el (view-emacs-todo):
18219 * iswitchb.el (iswitchb-completion-help):
18220 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
18221 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
18222 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
18223 * locate.el (locate-update):
18224 * longlines.el (longlines-encode-region)
18225 (longlines-after-change-function):
18226 * outline.el (outline-isearch-open-invisible):
18227 * ps-def.el (declare-function, charset-dimension, char-width)
18228 (encode-char):
18229 * ps-mule.el (ps-mule-plot-string):
18230 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
18231 (recentf-edit-list-select, recentf-edit-list-validate)
18232 (recentf-open-files-action):
18233 * rect.el (delete-whitespace-rectangle-line)
18234 (rectangle-number-line-callback):
18235 * register.el (window-configuration-to-register)
18236 (frame-configuration-to-register):
18237 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
18238 * select.el (xselect-convert-to-string, xselect-convert-to-length)
18239 (xselect-convert-to-targets, xselect-convert-to-delete)
18240 (xselect-convert-to-filename, xselect-convert-to-charpos)
18241 (xselect-convert-to-lineno, xselect-convert-to-colno)
18242 (xselect-convert-to-os, xselect-convert-to-host)
18243 (xselect-convert-to-user, xselect-convert-to-class)
18244 (xselect-convert-to-name, xselect-convert-to-integer)
18245 (xselect-convert-to-atom, xselect-convert-to-identity):
18246 * subr.el (declare, ignore, process-kill-without-query)
18247 (text-clone-maintain):
18248 * terminal.el (te-get-char, te-tic-sentinel):
18249 * tool-bar.el (tool-bar-make-keymap):
18250 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
18251 * type-break.el (type-break-mode, type-break-noninteractive-query):
18252 * view.el (View-back-to-mark):
18253 * wid-browse.el (widget-browse-action, widget-browse-widget)
18254 (widget-browse-widgets, widget-browse-sexp):
18255 * widget.el (define-widget-keywords):
18256 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
18257 Mark unused parameters.
18258
18259 * align.el (align-adjust-col-for-rule): Mark unused parameter.
18260 (align-areas): Remove unused variable `look'.
18261 (align-region): Remove unused variables `real-end' and `pos-list'.
18262
18263 * apropos.el (apropos-score-doc): Remove unused variable `i'.
18264
18265 * bindings.el (mode-line-modified, mode-line-remote):
18266 Mark unused parameters.
18267 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
18268
18269 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
18270 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
18271
18272 * comint.el (comint-history-isearch-pop-state)
18273 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
18274 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
18275 (comint-substitute-in-file-name): Doc fix.
18276
18277 * completion.el (cmpl-statistics-block): Mark unused parameter.
18278 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
18279 (save-completions-to-file, load-completions-from-file):
18280 Remove unused local variable `e'.
18281
18282 * composite.el (compose-chars): Remove unused variable `len'.
18283 (lgstring-insert-glyph): Remove unused variable `g'.
18284 (compose-glyph-string): Remove unused variables `ascent',
18285 `descent', `lbearing' and `rbearing'.
18286 (compose-glyph-string-relative): Remove unused variables
18287 `lbearing', `rbearing' and `wadjust'.
18288 (compose-gstring-for-graphic): Remove unused variables `header',
18289 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
18290 (compose-gstring-for-terminal): Remove unused variables `header'
18291 and `nchars'. Use `let', not `let*'.
18292
18293 * cus-edit.el (Custom-set, Custom-save, custom-reset)
18294 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
18295 (Custom-buffer-done, custom-buffer-create-internal)
18296 (custom-browse-visibility-action, custom-browse-group-tag-action)
18297 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
18298 (widget-magic-mouse-down-action, custom-toggle-parent)
18299 (custom-add-parent-links, custom-toggle-hide-variable)
18300 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
18301 (custom-toggle-hide-face, face, hook, custom-group-link-action)
18302 (custom-face-menu-create, custom-variable-menu-create, get)
18303 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
18304 (custom-reset-standard-save-and-update): Remove unused variable `value'.
18305 (customize-apropos): Remove unused variable `tests'.
18306 (custom-group-value-create): Remove unused variable `hidden-p'.
18307 (sort-fold-case): Declare.
18308
18309 * cus-theme.el (custom-reset-standard-faces-list)
18310 (custom-reset-standard-variables-list): Declare.
18311 (customize-create-theme, custom-theme-revert, custom-theme-write)
18312 (custom-theme-choose-mode, customize-themes, custom-theme-save):
18313 Mark unused parameters.
18314
18315 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
18316
18317 * delim-col.el (delimit-columns-max): Move defvar before first use.
18318
18319 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 18320 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
18321
18322 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
18323 (auto-insert): Declare.
18324 (desktop-restore-file-buffer): Rename desktop-* parameters;
18325 mark unused ones.
18326 (desktop-create-buffer): Rename desktop-* parameters and bind them.
18327 (desktop-buffer): Rename desktop-* parameters.
18328
18329 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
18330 (dframe-reposition-frame-xemacs, dframe-help-echo)
18331 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
18332 Mark unused parameters.
18333
18334 * dired-aux.el (backup-extract-version-start, overwrite-query)
18335 (overwrite-backup-query, rename-regexp-query)
18336 (rename-non-directory-query): Declare.
18337 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
18338 (dired-add-entry): Remove unused variable `orig-file-name'.
18339 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
18340 Use parameter PRESERVE-TIME instead of accessing dynamic variable
18341 `dired-copy-preserve-time' directly.
18342 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
18343 (dired-insert-subdir-newpos): Rename unused variable `pos'.
18344
18345 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
18346 (dired-virtual-revert, dired-make-relative-symlink):
18347 Mark unused parameters.
18348 (manual-program): Declare.
18349 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
18350 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
18351 wrapped in `with-no-warnings' to avoid replacing one warning by another.
18352
18353 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
18354
18355 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
18356
18357 * echistory.el (electric-history-in-progress, Helper-return-blurb):
18358 Declare.
18359
18360 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
18361
18362 * electric.el (Electric-command-loop): Rename parameter
18363 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
18364
18365 * expand.el (expand-in-literal): Remove unused variable `here'.
18366
18367 * facemenu.el (facemenu-add-new-color):
18368 Remove unused variable `docstring'.
18369
18370 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
18371 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
18372 (face-attr-construct): Mark unused parameter. Doc fix.
18373 (read-color): Remove unused variable `hex-string'.
18374
18375 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
18376 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
18377 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
18378 (display-buffer-other-frame): Remove unused variable `old-window'.
18379 (kill-buffer-hook): Declare.
18380 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
18381 Mark unused parameters.
18382 (after-find-file): Pass 1 to `auto-save-mode', not t.
18383
18384 * files-x.el (auto-insert): Declare.
18385 (modify-file-local-variable-prop-line): Remove unused variable `val'.
18386
18387 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 18388 variable `buf'. Mark unused parameter.
06b60517
JB
18389 (find-lisp-insert-directory): Mark unused parameter.
18390
18391 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
18392 (format-encode-region): Remove unused variables `cur-buf' and `result'.
18393 (format-common-tail): Remove, unused.
18394 (format-deannotate-region): Remove unused variable `loc'.
18395 (format-annotate-region): Remove unused variable `p'.
18396 (format-annotate-single-property-change): Remove unused variables
18397 `default' and `tail'.
18398
18399 * forms.el (read-file-filter): Declare.
18400 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
18401
18402 * frame.el (frame-creation-function-alist): Mark unused parameter.
18403 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
18404
18405 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
18406 Remove unused parameters.
18407 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
18408 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
18409
18410 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
18411 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
18412 (hfy-prepare-tag-map): Mark unused parameters.
18413 (htmlfontify-buffer): Use `called-interactively-p'.
18414
18415 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
18416 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
18417 (ibuffer-do-occur): Mark unused parameters.
18418 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
18419 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
18420
18421 * ibuffer.el: Don't quote `lambda'.
18422 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
18423 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
18424 Mark unused parameters.
18425
18426 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
18427 (ido-completing-read): Mark unused parameters.
18428 (ido-copy-current-word): Mark unused parameters;
18429 remove unused variable `name'.
18430 (ido-sort-merged-list): Remove unused parameter `dirs'.
18431
18432 * ielm.el (ielm-input-sender): Mark unused parameter.
18433 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
18434 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
18435 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
18436 `ielm-string' as a dynamic variable accessible from the IELM prompt.
18437 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
18438
18439 * image-dired.el (image-dired-display-thumbs): Remove unused
18440 variables `curr-file' and `count'.
18441 (image-dired-remove-tag): Remove unused variable `start'.
18442 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
18443 variable `curr-file'
18444 (image-dired-rotate-original): Remove unused variable `temp-file'.
18445 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
18446 Remove unused variable `file'.
18447 (image-dired-gallery-generate): Remove unused variable `curr'.
18448 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
18449
18450 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
18451
18452 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
18453
18454 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
18455
18456 * isearch.el (minibuffer-history-symbol): Declare.
18457 (isearch-edit-string): Remove unused variable `err'.
18458 (isearch-message-prefix, isearch-message-suffix):
18459 Mark unused parameters.
18460
18461 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
18462
18463 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
18464
18465 * makesum.el (double-column): Remove unused variable `cnt'.
18466
18467 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
18468 (ido-ignore-item-temp-list): Declare.
18469
18470 * mouse-drag.el (mouse-drag-throw): Remove unused variables
18471 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
18472 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
18473 (mouse-drag-drag): Remove unused variables `mouse-delta' and
18474 `mouse-col-delta'.
18475
18476 * mouse-sel.el (mouse-extend-internal):
18477 Remove unused variable `orig-window-frame'.
18478
18479 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
18480 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
18481 Move declarations before first use.
18482 (pcomplete-opt): Mark unused parameters; doc fix.
18483
18484 * proced.el (proced-revert): Mark unused parameter.
18485 (proced-send-signal): Remove unused variable `err'.
18486
18487 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
18488 Rename parameter PREFIX-ARG to ARG.
18489 (ps-basic-plot-string, ps-basic-plot-whitespace):
18490 Mark unused parameters.
18491
18492 * replace.el (replace-count): Define.
18493 (occur-revert-function): Mark unused parameters.
18494 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
18495 (isearch-case-fold-search, isearch-string): Declare.
18496 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
18497 bind `case-fold-search'. Remove unused variables `beg' and `end',
18498 and simplify.
18499 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
18500 COUNT and bind `replace-count'.
18501 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
18502 to COUNT.
18503
18504 * savehist.el (print-readably, print-string-length): Declare.
18505
18506 * shadowfile.el (shadow-expand-cluster-in-file-name):
18507 Remove unused variable `cluster'.
18508 (shadow-copy-file): Remove unused variable `i'.
18509 (shadow-noquery, shadow-clusters, shadow-site-cluster)
18510 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
18511 (shadow-define-literal-group, shadow-define-regexp-group)
18512 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
18513
18514 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
18515 (shell): Use `called-interactively-p'.
18516 (shell-directory-tracker): Remove unused variable `chdir-failure'.
18517
18518 * simple.el (compilation-context-lines, comint-file-name-quote-list)
18519 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
18520 (delete-backward-char): Remove unused variable `ocol'.
18521 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
18522 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
18523 (event-apply-hyper-modifier, event-apply-shift-modifier)
18524 (event-apply-control-modifier, event-apply-meta-modifier):
18525 Mark unused parameters.
18526 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
18527 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
18528
18529 * speedbar.el (speedbar-ignored-directory-expressions)
18530 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
18531 (speedbar-find-file, speedbar-dir-follow)
18532 (speedbar-directory-buttons-follow, speedbar-tag-find)
18533 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
18534 (speedbar-buffers-line-directory, speedbar-buffer-click):
18535 Mark unused parameters.
18536 (speedbar-tag-file): Remove unused variable `mode'.
18537 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
18538
18539 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
18540
18541 * talk.el (talk): Remove unused variable `display'.
18542
18543 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
18544 (tar-write-region-annotate): Mark unused parameter.
18545
18546 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
18547 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
18548 Declare them, wrapped in `with-no-warnings' to avoid replacing one
18549 warning by another.
18550
18551 * time-stamp.el (time-stamp-string-preprocess):
18552 Remove unused variable `require-padding'.
18553
18554 * tree-widget.el (widget-glyph-enable): Declare.
18555 (tree-widget-action): Mark unused parameter.
18556
18557 * w32-fns.el (x-get-selection): Mark unused parameter.
18558 (autoload-make-program, generated-autoload-file): Declare.
18559
18560 * wdired.el (wdired-revert): Mark unused parameters.
18561 (wdired-xcase-word): Remove unused variable `err'.
18562
18563 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
18564 (whitespace-help-scroll): Remove unused variable `data-help'.
18565
18566 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
18567 (widget-image-insert, widget-after-change, default)
18568 (widget-default-format-handler, widget-default-notify)
18569 (widget-default-prompt-value, widget-info-link-action)
18570 (widget-url-link-action, widget-function-link-action)
18571 (widget-variable-link-action, widget-file-link-action)
18572 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
18573 (widget-field-prompt-internal, widget-field-action, widget-field-match)
18574 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
18575 (widget-insert-button-action, widget-delete-button-action, visibility)
18576 (widget-documentation-link-action, widget-documentation-string-action)
18577 (widget-const-prompt-value, widget-regexp-match, symbol)
18578 (widget-coding-system-prompt-value)
18579 (widget-key-sequence-value-to-external, sexp)
18580 (widget-sexp-value-to-internal, character, vector, cons)
18581 (widget-choice-prompt-value, widget-boolean-prompt-value)
18582 (widget-color--choose-action): Mark unused parameters.
18583 (widget-item-match-inline, widget-choice-match-inline)
18584 (widget-checklist-match, widget-checklist-match-inline)
18585 (widget-group-match): Rename parameter VALUES to VALS.
18586 (widget-field-value-set): Remove unused variable `size'.
18587 (widget-color-action): Remove unused variables `value' and `start'.
18588
18589 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 18590 variable `dir'. Doc fix.
06b60517
JB
18591 (windmove-find-other-window): Don't pass it.
18592
18593 * window.el (count-windows): Mark unused parameter.
18594 (bw-adjust-window): Remove unused variable `err'.
18595
18596 * woman.el (woman-file-name): Remove unused variable `default'.
18597 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
18598 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
18599 (global-font-lock-mode): Declare.
18600 (woman-decode-region): Mark unused parameter.
18601 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
18602
18603 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
18604 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
18605 (x-dnd-handle-moz-url): Remove unused variable `title'.
18606 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
18607
18608 * xml.el (xml-parse-tag, xml-parse-attlist):
18609 Remove unused variable `pos'.
18610
bc4f7f3d
GM
186112011-04-19 Glenn Morris <rgm@gnu.org>
18612
18613 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
18614 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
18615 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
18616 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
18617 * calendar/cal-html.el (cal-html-insert-minical):
18618 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
18619 (calendar-mark-date-pattern):
18620 Prefix "unused" locals.
18621
18622 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
18623 optional argument `style'.
18624
18625 * calendar/appt.el (appt-make-list):
18626 * calendar/cal-china.el (calendar-chinese-date-string):
18627 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
18628 (diary-hebrew-yahrzeit):
18629 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
18630 * calendar/calendar.el (calendar-generate-window):
18631 * calendar/time-date.el (time-to-days):
18632 Remove unused local variables.
18633
16a43933
CY
186342011-04-18 Chong Yidong <cyd@stupidchicken.com>
18635
18636 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
18637 glyphless-char-display table.
18638 (tabulated-list-glyphless-char-display): New var.
18639
7eed1860
SS
186402011-04-18 Sam Steingold <sds@gnu.org>
18641
18642 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
18643 to acknowledgments.
18644
4d2d1ccd
GM
186452011-04-17 Glenn Morris <rgm@gnu.org>
18646
18647 * calendar/diary-lib.el (diary-sexp-entry):
18648 * calendar/holidays.el (holiday-sexp):
18649 Set debug-on-error rather than the removed stack-trace-on-error.
18650
239da61d
GM
186512011-04-16 Glenn Morris <rgm@gnu.org>
18652
18653 * progmodes/f90.el: Use lexical-binding.
18654 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
18655
8b05752a
SM
186562011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
18657
daca8ba5
SM
18658 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
18659 (mail-mode): Setup mailalias completion here instead.
18660 * mail/mailalias.el: Use lexical-binding.
18661 (pattern, mailalias-done): Declare dynamic.
18662 (mail-completion-at-point-function): New function, from mail-complete.
18663 (mail-complete): Use it.
18664 (mail-completion-expand): New function.
18665 (mail-get-names): Use it.
18666 (mail-directory, mail-directory-process, mail-directory-stream):
18667 Don't use `pattern' for lexically bound arg.
18668
6f542485
SM
18669 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
18670
037e7c3f
SM
18671 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
18672 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
18673 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
18674
8b05752a
SM
18675 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
18676 (byte-save-window-excursion, byte-temp-output-buffer-setup)
18677 (byte-interactive-p): Define them again, for use when inlining
18678 old code.
18679
49093f60
JB
186802011-04-15 Juanma Barranquero <lekktu@gmail.com>
18681
18682 * loadup.el: Use `string-to-number', not `string-to-int'.
18683
b5b8e7de
SM
186842011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
18685
18686 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
18687 gud-gdb-complete-command.
18688 (gud-gdb-completions): New function, from gud-gdb-complete-command.
18689 (gud-gdb-completion-at-point): New function.
18690 (gud-gdb-completions): Remove.
18691
f42efeb5
MA
186922011-04-14 Michael Albinus <michael.albinus@gmx.de>
18693
49093f60
JB
18694 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
18695 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
18696 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
18697 whether `executable-find' is bound.
f42efeb5
MA
18698
18699 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
18700
e240cc21
SM
187012011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
18702
18703 * minibuffer.el (completion-in-region-mode-predicate)
18704 (completion-in-region-mode--predicate): New vars.
18705 (completion-in-region, completion-in-region--postch)
18706 (completion-in-region-mode): Use them.
18707 (completion--capf-wrapper): Also return the hook function.
18708 (completion-at-point, completion-help-at-point):
18709 Adjust and provide a predicate.
c2bd2ab0
SM
18710
18711 Preserve arg names for advice of subr and lexical functions (bug#8457).
18712 * help-fns.el (help-function-arglist): Consolidate the subr and
18713 new-byte-code cases. Add argument `preserve-names' to extract names
18714 from the docstring when needed.
18715 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
18716 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
18717 (ad-arglist): Use help-function-arglist's new arg.
18718 (ad-definition-type): Use cond.
18719
c183f693
JB
187202011-04-13 Juanma Barranquero <lekktu@gmail.com>
18721
06641a47
JB
18722 * autorevert.el (auto-revert-handler):
18723 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
18724 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
18725 Don't quote lambda.
18726
c183f693
JB
18727 * image-mode.el (image-transform-set-scale):
18728 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
18729
1e3b6001
G
187302011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
18731
18732 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 18733 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
18734 Upgrades via gnutls-cli are too slow to be done opportunistically.
18735
2d6af8dd
JB
187362011-04-12 Juanma Barranquero <lekktu@gmail.com>
18737
18738 * dframe.el (dframe-current-frame): Remove spurious quote.
18739
c0749a51
GM
187402011-04-12 Glenn Morris <rgm@gnu.org>
18741
088d0d61
GM
18742 * calendar/cal-tex.el (cal-tex-end-document):
18743 Try to automatically use latin1 input if needed.
18744
c0749a51
GM
18745 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
18746 Don't try to cons a mark onto an empty element.
18747
5c90fde0
LL
187482011-04-11 Leo Liu <sdl.web@gmail.com>
18749
18750 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
18751 buffers.
18752 (ido-kill-buffer-at-head): Support killing virtual buffers.
18753
369e974d
CY
187542011-04-10 Chong Yidong <cyd@stupidchicken.com>
18755
18756 * minibuffer.el (completion-show-inline-help): New var.
18757 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
18758 (minibuffer-force-complete, minibuffer-complete-word):
18759 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
18760
18761 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
18762 to avoid interference from inline help (Bug#5849).
18763
37f1c930
LL
187642011-04-10 Leo Liu <sdl.web@gmail.com>
18765
099c39a4
JB
18766 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
18767 Fix typo.
37f1c930 18768
a32d4040
CY
187692011-04-09 Chong Yidong <cyd@stupidchicken.com>
18770
18771 * image-mode.el (image-toggle-display-image): Signal an error if
18772 not in Image mode.
18773 (image-transform-mode, image-transform-resize)
18774 (image-transform-set-rotation): Doc fix.
daca8ba5 18775 (image-transform-set-resize): Delete.
a32d4040
CY
18776 (image-transform-set-scale, image-transform-fit-to-height)
18777 (image-transform-fit-to-width): Handle image-toggle-display-image
18778 and image-transform-resize directly.
18779
099c39a4 187802011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
18781
18782 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
18783 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
18784 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
18785 (doc-view-mode-map): Add bindings for the new functions.
18786
099c39a4 187872011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 18788
4d61f28d 18789 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
18790 Fix typo in docstring.
18791
3726838a
EZ
187922011-04-08 Eli Zaretskii <eliz@gnu.org>
18793
04f33f1e
EZ
18794 * files.el (file-size-human-readable): Produce one digit after
18795 decimal, like "ls -lh" does.
18796
18797 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
18798 the file size representation.
18799
3726838a
EZ
18800 * simple.el (list-processes): If async subprocesses are not
18801 available, error out with a clear error message.
18802
cbb59342
CY
188032011-04-08 Chong Yidong <cyd@stupidchicken.com>
18804
18805 * help.el (help-form-show): New function, to be called from C.
18806 Put help-form output in a buffer named differently than *Help*.
18807
e3971c44
EZ
188082011-04-08 Eli Zaretskii <eliz@gnu.org>
18809
18810 * files.el (file-size-human-readable): New function.
18811
18812 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
18813 computing the representation inline. Don't require `cl'.
18814
12544bbe
GM
188152011-04-08 Glenn Morris <rgm@gnu.org>
18816
a1de6c6a
GM
18817 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
18818
3c4671f4
GM
18819 * net/browse-url.el (browse-url-firefox):
18820 Test system-type, not system-configuration.
18821
b605679c
GM
18822 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
18823 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
18824 Use log-edit-empty-buffer-p. (Bug#7598)
18825
56442f0c
GM
18826 * net/rlogin.el (rlogin-process-connection-type): Simplify.
18827 (rlogin-mode-map): Initialize in the defvar.
18828 (rlogin): Use ignore-errors.
18829
12544bbe
GM
18830 * replace.el (occur-mode-map): Some fixes for menu items.
18831
eb237b0f
AH
188322011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
18833
18834 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
18835
7d668f2c
CY
188362011-04-06 Chong Yidong <cyd@stupidchicken.com>
18837
e67a13ab
CY
18838 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
18839 issuing unused warnings.
18840
18841 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
18842 macro directly.
18843
7d668f2c
CY
18844 * simple.el: Lisp reimplement of list-processes. Based on an
18845 earlier reimplementation by Leo Liu, but using tabulated-list.el.
18846 (process-menu-mode): New major mode.
18847 (list-processes--refresh, list-processes):
18848 (process-menu-visit-buffer): New functions.
18849
18850 * files.el (save-buffers-kill-emacs): Don't assume any return
18851 value of list-processes, which is undocumented anyway.
18852
a83ec3c9
CY
188532011-04-06 Chong Yidong <cyd@stupidchicken.com>
18854
18855 * emacs-lisp/tabulated-list.el: New file.
18856
e91a96fe
CY
18857 * emacs-lisp/package.el: Use Tabulated List mode.
18858 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
18859 (package-menu-mode): Derive from tabulated-list-mode. Set up the
18860 table format using Tabulated List mode variables.
18861 (package--push): New macro, replacing package-list-maybe-add.
18862 (package-menu--generate): Use package--push. Renamed from
18863 package--generate-package-list.
18864 (package-menu-refresh, list-packages): Use it.
daca8ba5 18865 (package-menu--print-info): Rename from package-print-package.
e91a96fe 18866 Return insertion data instead of inserting it directly.
099c39a4
JB
18867 (package-menu-describe-package, package-menu-execute):
18868 Use tabulated-list-get-id.
e91a96fe
CY
18869 (package-menu-mark-delete, package-menu-mark-install)
18870 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
18871 (package-menu-mark-obsolete-for-deletion):
18872 Use tabulated-list-put-tag.
e91a96fe
CY
18873 (package--list-packages, package-menu-revert)
18874 (package-menu-get-package, package-menu-get-version)
18875 (package-menu-sort-by-column): Functions deleted.
18876 (package-menu-package-list, package-menu-sort-key): Vars deleted.
18877 (package-menu--status-predicate, package-menu--version-predicate)
18878 (package-menu--name-predicate)
18879 (package-menu--description-predicate): Handle arguments in the
18880 Tabulated List format.
18881 (package-list-packages-no-fetch): Call list-packages.
18882
3e214b50
JB
188832011-04-06 Juanma Barranquero <lekktu@gmail.com>
18884
18885 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 18886 (after-find-file): Don't bind it.
3e214b50
JB
18887 (revert-buffer-in-progress-p): New variable.
18888 (revert-buffer): Bind it.
18889 Pass nil for `after-find-file-from-revert-buffer'.
18890
18891 * saveplace.el (save-place-find-file-hook): Use new variable
18892 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
18893
3f0f1700
GM
188942011-04-06 Glenn Morris <rgm@gnu.org>
18895
c0274801
GM
18896 * Makefile.in (AUTOGEN_VCS): New variable.
18897 (autoloads): Use $AUTOGEN_VCS.
18898
3f0f1700
GM
18899 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
18900 * calendar/calendar.el (calendar-mode-map):
18901 Check for toolkit scroll bars. (Bug#8305)
18902
41ea9e48
CY
189032011-04-05 Chong Yidong <cyd@stupidchicken.com>
18904
18905 * minibuffer.el (completion-in-region--postch)
18906 (completion-in-region-mode): Remove unnecessary messages.
18907
6194c800
JB
189082011-04-05 Juanma Barranquero <lekktu@gmail.com>
18909
33256f14
JB
18910 * font-lock.el (font-lock-refresh-defaults):
18911 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
18912 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
18913
6194c800
JB
18914 * info.el (Info-directory-list, Info-read-node-name-2)
18915 (Info-split-parameter-string): Doc fixes.
18916 (Info-virtual-nodes): Reflow docstring.
18917 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
18918 (Info-apropos-toc-nodes, info-finder, Info-get-token)
18919 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
18920 Fix typos in docstrings.
18921 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
18922 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
18923 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
18924 (Info-restore-desktop-buffer): Mark unused parameters.
18925 (Info-directory-find-file, Info-directory-find-node)
18926 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
18927 (Info-virtual-index-find-node, Info-apropos-find-file)
18928 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 18929 Mark unused parameters; fix typos in docstrings.
6194c800
JB
18930 (Info-virtual-index): Remove unused local variable `nodename'.
18931
b87a8200 189322011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 18933
b87a8200
DD
18934 * net/rcirc.el: Update my e-mail address.
18935 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 18936
3b2ff876
CY
189372011-04-05 Chong Yidong <cyd@stupidchicken.com>
18938
18939 * startup.el (command-line): Save the cursor's theme-face
18940 directly, instead of using face-override-spec.
18941
18942 * custom.el (load-theme): Minor optimization in assigning faces.
18943
8d17e7ca
JB
189442011-04-04 Juanma Barranquero <lekktu@gmail.com>
18945
18946 * help-fns.el (describe-variable): Complete all variables having
18947 documentation, including keywords.
18948 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
18949
2fbc1934
JB
189502011-04-04 Juanma Barranquero <lekktu@gmail.com>
18951
18952 Convert to lexical-binding.
18953
18954 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
18955 (bs--get-marked-string, bs--get-modified-string)
18956 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
18957 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
18958 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
18959
18960 * ehelp.el (electric-help-execute-extended)
18961 (electric-help-ctrl-x-prefix):
18962 * hexl.el (hexl-revert-buffer-function):
18963 * linum.el (linum-after-change, linum-after-scroll):
18964 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
18965
18966 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
18967
74f50695
DU
189682011-04-04 Daiki Ueno <ueno@unixuser.org>
18969
18970 * epa-dired.el:
18971 * epa-mail.el:
18972 * epa-hook.el:
18973 * epa-file.el:
18974 * epa.el:
18975 * epg.el: Use lexical binding.
18976
c11325f7
CY
189772011-04-03 Chong Yidong <cyd@stupidchicken.com>
18978
0d9e9a12
CY
18979 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
18980
c11325f7 18981 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
18982 dictionary case for flyspell-mark-duplications-exceptions.
18983 Use regexp matching for languages.
c11325f7
CY
18984 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
18985 default dictionary (Bug#7926).
18986
da91b5f2
CY
189872011-04-02 Chong Yidong <cyd@stupidchicken.com>
18988
099c39a4
JB
18989 * emacs-lisp/package.el (package--with-work-buffer):
18990 Recognize https URLs.
da91b5f2 18991
099c39a4
JB
18992 * net/network-stream.el: Move from gnus/proto-stream.el.
18993 Change prefix to network-stream throughout.
da91b5f2
CY
18994 (open-protocol-stream): Merge into open-network-stream, leaving
18995 open-protocol-stream as an alias. Handle nil BUFFER args.
18996
18997 * subr.el (open-network-stream): Move to net/network-stream.el.
18998
afa8e9f6
GM
189992011-04-02 Glenn Morris <rgm@gnu.org>
19000
1d2e369d
GM
19001 * find-dired.el (find-exec-terminator): New option.
19002 (find-ls-option): Test for -ls support.
19003 (find-ls-subdir-switches): Test for -b in find-ls-option.
19004 (find-dired, find-grep-dired): Doc fixes.
19005 (find-dired): Use find-exec-terminator.
19006
8abb7da8 19007 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
19008 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
19009 (find-name-arg): Remove purecopy.
8abb7da8 19010
f3ca7378
GM
19011 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
19012 (grep-compute-defaults): Check for `-exec COMMAND +' support.
19013 Set grep-find-use-xargs, grep-find-command, and grep-find-template
19014 accordingly. Don't add the null-device if not needed.
19015
afa8e9f6
GM
19016 * files.el (save-some-buffers): Doc fix.
19017
35eae264
EZ
190182011-04-02 Eli Zaretskii <eliz@gnu.org>
19019
19020 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
19021
26b51db5
JB
190222011-04-01 Juanma Barranquero <lekktu@gmail.com>
19023
19024 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
19025 Use `dolist' rather than `mapcar'.
19026
7200d79c
SM
190272011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
19028
03408648 19029 Add lexical binding.
7200d79c 19030
03408648
SM
19031 * subr.el (apply-partially): Use new closures rather than CL.
19032 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
19033 (dolist, dotimes): Use slightly different expansion for lexical code.
19034 (functionp): Move to C.
19035 (letrec): New macro.
19036 (with-wrapper-hook): Use it and apply-partially instead of CL.
19037 (eval-after-load): Preserve lexical-binding.
19038 (save-window-excursion, with-output-to-temp-buffer): Turn them
19039 into macros.
7200d79c 19040
03408648
SM
19041 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
19042
19043 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
19044 than the arglist.
19045 (help-add-fundoc-usage): Don't add `Not documented'.
19046 (help-function-arglist): Handle closures, subroutines, and new
19047 byte-code-functions.
19048 (help-make-usage): Remove leading underscores.
19049 (describe-function-1): Handle closures.
19050 (describe-variable): Use special-variable-p for completion.
19051
19052 * files.el (lexical-binding): Declare safe.
f488fb65 19053
03408648
SM
19054 * emacs-lisp/pcase.el: Don't use destructuring-bind.
19055 (pcase--memoize): Rename from pcase-memoize. Change weakness.
19056 (pcase): Add `let' pattern.
19057 Change memoization so it actually works.
19058 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
19059 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
19060 <let>: New case.
f488fb65 19061
03408648
SM
19062 * emacs-lisp/macroexp.el: Use lexical binding.
19063 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
19064 Don't convert ' to #' without checking that it's indeed quoting
19065 a lambda.
19066
19067 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 19068 Use eval-sexp-add-defvars.
03408648
SM
19069 (eval-sexp-add-defvars): New fun.
19070
19071 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
19072
19073 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
19074 Don't autoload.
19075 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
19076 than the internal `byte-compile-lambda'.
19077 (defmethod): Don't hide code under quotes.
19078 (eieio-defmethod): New `code' argument.
19079
19080 * emacs-lisp/eieio-comp.el: Remove.
19081
19082 * emacs-lisp/edebug.el (edebug-eval-defun)
19083 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
19084 (edebug-toggle): Avoid `eval'.
19085
19086 * emacs-lisp/disass.el (disassemble-internal): Handle new
19087 `closure' objects.
19088 (disassemble-1): Handle new byte codes.
19089
19090 * emacs-lisp/cl.el (pushnew): Silence warning.
19091
19092 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
19093 (cl-byte-compile-throw): Remove.
19094 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
19095
19096 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
19097 closures.
19098
19099 * emacs-lisp/cconv.el: New file.
19100
19101 * emacs-lisp/bytecomp.el: Use lexical binding instead of
19102 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
19103 (byte-compile-initial-macro-environment):
19104 Handle declare-function here.
19105 (byte-compile--lexical-environment): New var.
19106 (byte-stack-ref, byte-stack-set, byte-discardN)
19107 (byte-discardN-preserve-tos): New lap codes.
19108 (byte-interactive-p): Don't use any more.
19109 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
19110 New macros.
19111 (byte-compile-lapcode): Use them and handle new lap codes.
19112 (byte-compile-obsolete): Remove.
19113 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
19114 (byte-compile-arglist-warn): Check late def of inlinable funs.
19115 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
19116 since they should have been expanded by now.
19117 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
19118 (byte-compile-from-buffer): Remove unused second arg.
19119 (byte-compile-preprocess): New function.
19120 (byte-compile-toplevel-file-form): New function to distinguish
19121 file-form calls from outside from file-form calls from hunk-handlers.
19122 (byte-compile-file-form): Simplify.
19123 (byte-compile-file-form-defsubst): Remove.
19124 (byte-compile-file-form-defmumble): Simplify now that
19125 byte-compile-lambda always returns a byte-code-function.
19126 (byte-compile): Preprocess.
19127 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
19128 Remove, not used any more.
19129 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
19130 (byte-compile-make-args-desc): New funs.
19131 (byte-compile-lambda): Handle lexical functions. Always return
19132 a byte-code-function.
19133 (byte-compile-reserved-constants): New var, to make up room for
19134 closed-over variables.
19135 (byte-compile-constants-vector): Obey it.
19136 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
19137 (byte-compile-macroexpand-declare-function): New function.
19138 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
19139 byte-code-functions.
19140 (byte-compile-form): Check obsolescence here.
19141 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
19142 (byte-compile-variable-ref): Remove.
19143 (byte-compile-dynamic-variable-op): New fun.
19144 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
19145 (byte-compile-variable-set): New funs.
19146 (byte-compile-discard): Add 2 args.
19147 (byte-compile-stack-ref, byte-compile-stack-set)
19148 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
19149 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
19150 macroexpand-all instead.
19151 (byte-compile-quote-form): Remove.
19152 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
19153 (byte-compile-bind, byte-compile-unbind): New funs.
19154 (byte-compile-let): Handle let* and lexical binding.
19155 (byte-compile-let*): Remove.
19156 (byte-compile-catch, byte-compile-unwind-protect)
19157 (byte-compile-track-mouse, byte-compile-condition-case):
19158 Handle a new :fun-body form, used for lexical scoping.
19159 (byte-compile-save-window-excursion)
19160 (byte-compile-with-output-to-temp-buffer): Remove.
19161 (byte-compile-defun): Simplify.
19162 (byte-compile-stack-adjustment): New fun.
19163 (byte-compile-out): Use it.
19164 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
19165
19166 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
19167 handler any more.
19168
19169 * emacs-lisp/byte-opt.el: Use lexical binding.
19170 (byte-inline-lapcode): Remove (to bytecomp).
19171 (byte-compile-inline-expand): Pay attention to inlining to/from
19172 lexically bound code.
19173 (byte-compile-unfold-lambda): Don't handle byte-code-functions
19174 any more.
19175 (byte-optimize-form-code-walker): Don't handle save-window-excursion
19176 any more and don't call compiler-macros.
19177 (byte-compile-splice-in-already-compiled-code): Remove.
19178 (byte-code): Don't inline any more.
19179 (disassemble-offset): Receive `bytes' as argument rather than via
19180 dynamic scoping.
19181 (byte-compile-tag-number): Declare before first use.
19182 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
19183 `return' even if make-spliceable.
19184 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
19185 obsolete interactive-p.
19186 (byte-optimize-lapcode): Optimize new lap-codes.
19187 Don't trip up on new form of `byte-constant' lap code.
19188
19189 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
19190
19191 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
19192
19193 * custom.el (custom-initialize-default, custom-declare-variable):
19194 Use `defvar'.
19195
19196 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
19197 New variables.
19198 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
19199 (COMPILE_FIRST): Add macroexp and cconv.
19200 * makefile.w32-in: Mirror changes in Makefile.in.
19201
19202 * vc/cvs-status.el:
19203 * vc/diff-mode.el:
19204 * vc/log-edit.el:
19205 * vc/log-view.el:
19206 * vc/smerge-mode.el:
19207 * textmodes/bibtex-style.el:
090bd7cb 19208 * textmodes/css-mode.el:
03408648
SM
19209 * startup.el:
19210 * uniquify.el:
da91b5f2
CY
19211 * minibuffer.el:
19212 * newcomment.el:
19213 * reveal.el:
19214 * server.el:
19215 * mpc.el:
19216 * emacs-lisp/smie.el:
19217 * doc-view.el:
19218 * dired.el:
03408648
SM
19219 * abbrev.el: Use lexical binding.
19220
0f0c1f27
EZ
192212011-04-01 Eli Zaretskii <eliz@gnu.org>
19222
19223 * info.el (info-display-manual): New function.
19224
c82b2579
SM
192252011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
19226
19227 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
19228
221ddf68
TH
192292011-03-31 Tassilo Horn <tassilo@member.fsf.org>
19230
19231 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 19232 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 19233
cba6e77e
GM
192342011-03-31 Glenn Morris <rgm@gnu.org>
19235
e040639f
GM
19236 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
19237
cba6e77e
GM
19238 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
19239
6d0f1c9e
CS
192402011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
19241
19242 * progmodes/python.el (python-default-interpreter)
19243 (python-python-command-args, python-jython-command-args)
19244 (python-which-shell, python-which-args, python-which-bufname)
19245 (python-file-queue, python-comint-output-filter-function)
19246 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
19247 variables and functions.
19248
3e2d70fd
SM
192492011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
19250
19251 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
19252 (completion-in-region-mode): New minor mode.
19253 (completion-in-region): Use it.
19254 (completion-in-region--data, completion-in-region-mode-map): New vars.
19255 (completion-in-region--postch): New function.
19256 (completion--capf-misbehave-funs, completion--capf-safe-funs):
19257 New vars.
19258 (completion--capf-wrapper): New function.
19259 (completion-at-point): Use it to track well-behavedness of
19260 hook functions.
19261 (completion-help-at-point): New command.
19262
f3e4086c
JM
192632011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
19264
19265 * vc/add-log.el (add-change-log-entry): Don't use whitespace
19266 syntax class to search for whitespace on a single line
19267 (Message-ID: <4D938140.4030905@redhat.com>).
19268
eb7ffc14
LL
192692011-03-30 Leo Liu <sdl.web@gmail.com>
19270
19271 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
19272 New commands.
19273 (edit-abbrevs-map): Bind them here.
19274 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
19275
d806ab68
KM
192762011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
19277
19278 * allout.el (allout-hide-by-annotation, allout-flag-region):
19279 Reduce possibility of overlay leakage by making them volatile.
19280
19281 * allout-widgets.el (allout-widgets-tally): Define as nil so the
19282 hash is not shared between buffers. Mode initialization is
19283 responsible for giving it a useful starting value.
19284 (allout-item-span): Reduce possibility of overlay leakage by
19285 making them volatile.
19286 (allout-widgets-count-buttons-in-region): Add diagnostic function
19287 for tracking down button overlay leaks.
19288
ea622834
LL
192892011-03-29 Leo Liu <sdl.web@gmail.com>
19290
19291 * ido.el (ido-read-internal): Use the default history var
19292 minibuffer-history if no HISTORY is specified.
19293
b62f8267
G
192942011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
19295
03408648
SM
19296 * net/imap.el (imap-shell-open, imap-process-connection-type):
19297 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
19298 Kerberos, SSL, other subprocesses.
19299
947b6566
LL
193002011-03-28 Leo Liu <sdl.web@gmail.com>
19301
19302 * abbrev.el (abbrev-table-empty-p): New function.
19303 (prepare-abbrev-list-buffer): Place empty abbrev tables after
19304 nonempty ones. (Bug#5937)
19305
5ffb62aa
JD
193062011-03-27 Jan Djärv <jan.h.d@swipnet.se>
19307
19308 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
19309
7a097943
LL
193102011-03-27 Leo Liu <sdl.web@gmail.com>
19311
19312 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
19313 for foreground and background colors.
19314 (ansi-color-make-color-map): Adapt.
19315
c5b40130
LL
193162011-03-25 Leo Liu <sdl.web@gmail.com>
19317
1f48f7d2
LL
19318 * midnight.el (midnight-time-float): Remove. Note it calculates
19319 the microsecond component incorrectly and seconds-to-time does the
19320 same job.
625897ec 19321 Remove redundant (require 'timer).
1f48f7d2 19322
c5b40130
LL
19323 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
19324 (ido-completions): Remove unused arguments. (Bug#8329)
19325
d86d2721
SM
193262011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
19327
19328 * minibuffer.el (completion--flush-all-sorted-completions):
19329 Remove itself from hook.
19330 (completion-at-point): Let the functions perform the completion
19331 immediately and return nil or t.
19332 * comint.el (comint-dynamic-complete-functions): Now identical to
19333 completion-at-point-functions.
19334 (comint-dynamic-list-input-ring): Remove unused var `index'.
19335 (comint--match-partial-filename, comint--unquote&expand-filename):
19336 New funs, split from comint-match-partial-filename.
19337 (comint-dynamic-complete): Use completion-at-point.
19338 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
19339
e8974c48
DA
193402011-03-24 Drew Adams <drew.adams@oracle.com>
19341
19342 * thingatpt.el: Support `defun'.
19343
def71b5e
LL
193442011-03-23 Leo Liu <sdl.web@gmail.com>
19345
cb5af48e
LL
19346 * abbrevlist.el: Move to obsolete/abbrevlist.el.
19347
def71b5e
LL
19348 * help-mode.el (help-mode-finish): Tweak regexp.
19349
927c53e7
GM
193502011-03-23 Glenn Morris <rgm@gnu.org>
19351
18d05bed
GM
19352 * eshell/esh-opt.el (eshell-eval-using-options):
19353 Do not bind unused local variable `eshell-option-stub'.
19354
927c53e7
GM
19355 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
19356
9d0da923
JB
193572011-03-22 Juanma Barranquero <lekktu@gmail.com>
19358
19359 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
19360 keymap variable in `with-no-warnings' to avoid a warning when the
19361 keymap has been already `defconst'ed.
19362
4b978a67
LL
193632011-03-22 Leo Liu <sdl.web@gmail.com>
19364
19365 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
19366 encode all chars in abbrevs; otherwise use emacs-mule or
19367 utf-8-emacs. (Bug#8308)
19368
5fd62452
JB
193692011-03-22 Juanma Barranquero <lekktu@gmail.com>
19370
0b1596c6
JB
19371 * simple.el (backward-delete-char-untabify):
19372 Avoid warning about using `delete-backward-char'.
19373
5fd62452
JB
19374 * image.el (image-type-file-name-regexps): Make it variable.
19375 `imagemagick-register-types' modifies it, and the user may want
19376 to add new extensions for known image types.
19377 (imagemagick-register-types): Throw error if not using ImageMagick.
19378
0b4e93f1
LL
193792011-03-22 Leo Liu <sdl.web@gmail.com>
19380
19381 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
19382 located before rcirc-prompt-end-marker.
19383 (rcirc-complete): Error if point is not after rcirc prompt.
19384 Handle the case when table is nil.
9882e214 19385 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 19386
fccee4ab
CY
193872011-03-22 Chong Yidong <cyd@stupidchicken.com>
19388
19389 * custom.el (custom--inhibit-theme-enable): Make it affect only
19390 custom-theme-set-variables and custom-theme-set-faces.
19391 (provide-theme): Ignore custom--inhibit-theme-enable.
19392 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
19393 (custom-enabling-themes): Delete variable.
d86d2721
SM
19394 (enable-theme): Accept only loaded themes as arguments.
19395 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
19396 (custom-enabled-themes): Forbid themes from setting this.
19397 Eliminate use of custom-enabling-themes.
19398 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 19399
af896da6
LL
194002011-03-21 Leo Liu <sdl.web@gmail.com>
19401
19402 * ido.el (ido-read-internal): Add ido-selected to history instead
19403 of user input.
19404
78f64af0
SM
194052011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
19406
19407 * subr.el (deferred-action-list, deferred-action-function):
19408 Mark obsolete.
19409
b16ac1ec
LL
194102011-03-21 Leo Liu <sdl.web@gmail.com>
19411
810f7698
LL
19412 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
19413 change on 2011-02-13 (bug#8309).
19414
b16ac1ec
LL
19415 * minibuffer.el (read-file-name-function): Change default value.
19416 (read-file-name--defaults): Rename from read-file-name-defaults.
19417 (read-file-name-default): Rename from read-file-name.
19418 (read-file-name): Call read-file-name-function.
19419
4e05e67e
GM
194202011-03-21 Glenn Morris <rgm@gnu.org>
19421
19422 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
19423 Doc fixes.
19424
4359915b
CY
194252011-03-21 Chong Yidong <cyd@stupidchicken.com>
19426
19427 * cus-theme.el: Add missing provide statement.
19428 (customize-create-theme): Extract theme value correctly.
19429 (custom-theme-visit-theme): Autoload.
19430 (customize-create-theme): Prompt before inserting default faces.
19431
1fe275ee
JB
194322011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
19433
19434 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
19435 units and musical notes.
19436
cd394be1 194372011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
19438
19439 * ido.el (ido-read-internal): Use completing-read-default.
19440 (ido-completing-read): Fix compatibility with completing-read.
19441
7d476bde
CO
194422011-03-20 Christian Ohler <ohler@gnu.org>
19443
19444 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
19445 (ert-delete-all-tests): Use `called-interactively-p' rather than
19446 `interactive-p'.
19447 (ert--make-xrefs-region): Respect END.
19448
fe0fb33e
CY
194492011-03-19 Chong Yidong <cyd@stupidchicken.com>
19450
ff854b0b
CY
19451 * dired-aux.el (dired-create-directory): Signal an error if the
19452 directory already exists (Bug#8246).
19453
fe0fb33e
CY
19454 * facemenu.el (list-colors-display): Call list-faces-display
19455 inside with-help-window.
19456 (list-colors-print): Use display property to align the final
19457 column, instead of checking window-width.
19458
576bce32
EZ
194592011-03-19 Eli Zaretskii <eliz@gnu.org>
19460
4d61f28d 19461 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
19462 windows-nt systems.
19463 (emerge-protect-metachars): Quote correctly for ms-dos and
19464 windows-nt systems.
19465
89c41d68 194662011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
19467
19468 * info.el (info-initialize): Replace all uses of `:' with
19469 path-separator for compatibility with non-Unix systems.
19470 Cache quoting of path-separator. (Bug#8258)
19471
b14e3e21 194722011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
19473
19474 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
19475 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
19476 (mouse-avoidance-mode): Fix typos in docstrings.
19477
4525ce3e
CY
194782011-03-19 Chong Yidong <cyd@stupidchicken.com>
19479
19480 * startup.el (package-subdirectory-regexp): Move from package.el.
19481 Omit \\` and \\', and let callers add them.
19482
19483 * emacs-lisp/package.el (package-strip-version)
19484 (package-load-all-descriptors): Add \\` and \\' to
19485 package-subdirectory-regexp before using it.
19486 (package-untar-buffer): New arg DIR; ensure that file untars only
19487 into this expected directory. Remove superfluous delete-region.
19488 (package-unpack): Caller changed.
19489 (package-tar-file-info): Use package-subdirectory-regexp.
19490
a904a09a 194912011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 19492
a904a09a
SM
19493 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
19494 diff-mode-shared-map (bug#8284).
19495 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
19496
194972011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
19498
19499 * calendar/time-date.el (format-seconds): Use assoc instead of
19500 assoc-string, since assoc-string doesn't exist in XEmacs.
19501
171fc304
JB
195022011-03-17 Juanma Barranquero <lekktu@gmail.com>
19503
19504 * custom.el (custom-known-themes): Reflow docstring.
19505 (custom-theme-load-path): Fix typo in docstring.
19506 (load-theme): Fix typo in error message.
19507 (custom-available-themes, custom-variable-theme-value):
19508 Use `let', not `let*'.
19509
d71990a1
JB
195102011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
19511
19512 * calc/README: Mention inclusion of musical notes.
19513
19514 * calc/calc-units.el (calc-lu-quant): Rename from
19515 `calc-logunits-quantity'.
19516 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
19517 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
19518 (calc-db): Rename from `calc-dblevel'.
19519 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
19520 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
19521 (calc-np): Rename from `calc-nplevel'.
19522 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
19523 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
19524 (calc-lu-plus): Rename from `calc-logunits-add'.
19525 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
19526 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
19527 (calc-lu-minus): Rename from `calc-logunits-sub'.
19528 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
19529 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
19530 (calc-lu-times): Rename from `calc-logunits-mul'.
19531 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
19532 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
19533 (calc-lu-divide): Rename from `calc-logunits-div'.
19534 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
19535 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
19536
19537 * calc/calc-ext.el (calc-init-extensions): Update the names of the
19538 functions being autoloaded.
19539
19540 * calc/calc.el (calc-lu-power-reference): Rename from
19541 `calc-logunits-power-reference'.
19542 (calc-lu-field-reference): Rename from
19543 `calc-logunits-field-reference'.
19544
7a71b18d
GM
19545 * calc/calc-help.el (calc-l-prefix-help):
19546 Mention musical note functions.
d71990a1 19547
40c2934b
SM
195482011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
19549
19550 * minibuffer.el (completion-all-sorted-completions):
19551 Use :completion-cycle-penalty text property if present.
19552
b0911414
KM
195532011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
19554
19555 * allout.el (allout-yank-processing): Adjust for new rebulleting
19556 regime so bullet being yanked is used without prompting the user
19557 for a choice.
19558
8a05b668
JB
195592011-03-16 Juanma Barranquero <lekktu@gmail.com>
19560
19561 * startup.el (command-line): Warn the user that _emacs is deprecated.
19562
5ba5fb81
JB
195632011-03-16 Juanma Barranquero <lekktu@gmail.com>
19564
19565 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
19566 (delphi-verbose, delphi-comment-face, delphi-string-face)
19567 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
19568 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
19569 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
19570 (delphi-new-comment-line, delphi-font-lock-defaults)
19571 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
19572 Fix typos in docstrings.
19573
2dab465b
KM
195742011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
19575
5ba5fb81 19576 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
19577 Invert the roles of character and string values for INSTEAD, so a
19578 string is used for the more common case of a defaulting prompt.
19579
0adf5618
SM
195802011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
19581
19582 * progmodes/ruby-mode.el (ruby-backward-sexp):
19583 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
19584 * play/gamegrid.el (gamegrid-make-face):
19585 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
19586 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
19587 * notifications.el (notifications-notify):
19588 * net/xesam.el (xesam-search-engines):
19589 * net/quickurl.el (quickurl-list-insert):
19590 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
19591
d72700e5
CY
195922011-03-15 Chong Yidong <cyd@stupidchicken.com>
19593
19594 * startup.el (command-line): Update package subdirectory regexp.
19595
49c5410a
SM
195962011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
19597
c6eee9aa
SM
19598 * allout.el (allout-abbreviate-flattened-numbering)
19599 (allout-mode-deactivate-hook): Fix up obsolescence "date".
19600
49c5410a
SM
19601 * subr.el (read-char-choice): Only show the cursor after the prompt,
19602 not after the answer.
19603
047b2bb9
KR
196042011-03-15 Kevin Ryde <user42@zip.com.au>
19605
19606 * help-fns.el (variable-at-point): Skip leading quotes, if any
19607 (bug#8253).
19608
0a57d256
SM
196092011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
19610
19611 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
19612 warning message.
19613
77c992bc
MA
196142011-03-14 Michael Albinus <michael.albinus@gmx.de>
19615
19616 * shell.el (shell): When called interactively, offer to change the
19617 shell file name on remote hosts.
19618
eebc475d
TZ
196192011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
19620
19621 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
19622 integration for LDAP parameters. The host, base, user or binddn,
19623 and secret tokens can be specified in a netrc file, for instance.
19624 This is optional because an `auth-source' parameter must be
19625 specified in the search attributes.
19626
9d05d1ba
JB
196272011-03-13 Juanma Barranquero <lekktu@gmail.com>
19628
19629 * help.el (describe-mode): Link to the mode's definition (bug#8185).
19630
09d9db2c
GM
196312011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
19632
19633 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
19634 into declaration. Remove redundant and harmful binding.
19635
196362011-03-12 Eli Zaretskii <eliz@gnu.org>
19637
19638 * files.el (file-ownership-preserved-p): Pass `integer' as an
19639 explicit 2nd argument to `file-attributes'. If the file's owner
19640 is the Administrators group on Windows, and the current user is
19641 Administrator, consider that a match.
19642
19643 * server.el (server-ensure-safe-dir): Consider server directory
19644 safe on MS-Windows if its owner is the Administrators group while
19645 the current Emacs user is Administrator. Use `=' to compare
19646 numerical UIDs, since they could be integers or floats.
19647
219bd536
JB
196482011-03-12 Juanma Barranquero <lekktu@gmail.com>
19649
19650 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
19651
f3afd36b
MA
196522011-03-12 Michael Albinus <michael.albinus@gmx.de>
19653
19654 Sync with Tramp 2.2.1.
19655
19656 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
19657
19658 * net/trampver.el: Update release number.
19659
3aaaa6f1
SM
196602011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
19661
94642599
SM
19662 * progmodes/compile.el (compilation--previous-directory): Fix up
19663 various nil/dead-marker mismatches (bug#8014).
19664 (compilation-directory-properties, compilation-error-properties):
19665 Don't call it at a position past the one we're about to change.
19666
3aaaa6f1
SM
19667 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
19668 Disable obsolescence warnings in the file that declares it.
19669
14239447
KM
196702011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
19671
099c39a4
JB
19672 * allout-widgets.el (allout-widgets-tally):
19673 Initialize allout-widgets-tally as a hash table rather than nil to
19674 prevent mode-line redisplay warnings. Also, clarify the module
19675 description and fix a comment typo.
14239447 19676
135e287c
JB
196772011-03-11 Juanma Barranquero <lekktu@gmail.com>
19678
19679 * help-fns.el (describe-variable): Don't complete keywords.
19680 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
19681
ffbf300e
CY
196822011-03-10 Chong Yidong <cyd@stupidchicken.com>
19683
ba08b241
CY
19684 * emacs-lisp/package.el (package-version-join): Impose a standard
19685 string representation for pre/alpha/beta version lists.
19686 (package-unpack-single): Standardize the directory name by passing
19687 it through package-version-join.
19688 (package-strip-rcs-id): Accept any version string that does not
19689 signal an error in version-to-list.
ffbf300e 19690
f346fd6b
MA
196912011-03-10 Michael Albinus <michael.albinus@gmx.de>
19692
19693 * simple.el (delete-trailing-whitespace): Return nil for the
19694 benefit of `write-file-functions'.
19695
ccb55d27
GM
196962011-03-10 Glenn Morris <rgm@gnu.org>
19697
5ceaac0c
GM
19698 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
19699
02da65ff
GM
19700 * vc/vc-git.el (vc-git-program): New option.
19701 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
19702 (vc-git--call): Use it.
19703
b2f603cc
GM
19704 * eshell/esh-util.el (eshell-condition-case): Doc fix.
19705
5772caab
GM
19706 * cus-edit.el (Custom-newline): If no button at point, look
19707 for a subgroup button at start-of-line. (Bug#2298)
19708
ccb55d27
GM
19709 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
19710
ec6ecaed
JD
197112011-03-10 Julien Danjou <julien@danjou.info>
19712
19713 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
19714 `cursor-type' is nil.
19715
9d5aa01d
JB
197162011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
19717
19718 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
19719
b6a5875b
KM
197202011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
19721
7a71b18d 19722 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
19723 preserves the existing header prefix, rebulleting it if necessary,
19724 rather than replacing it. This is necessary for proper operation
19725 of cooperative addons like allout-widgets.
1154d12e
JB
19726 (allout-make-topic-prefix, allout-rebullet-heading):
19727 Change SOLICIT arg to INSTEAD, and interpret additionally a string
19728 value as alternate bullet to be used, instead of prompting the user
19729 for a bullet character.
b6a5875b 19730
ee545c35
MA
197312011-03-09 Michael Albinus <michael.albinus@gmx.de>
19732
d86d2721
SM
19733 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
19734 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
19735 `tramp-default-port'.
19736
c47971d7
DD
197372011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
19738
19739 * net/rcirc.el (rcirc-handler-001): Remove useless
19740 with-rcirc-process-buffer.
19741 (rcirc-check-auth-status): Swap arguments to string-match.
19742
13522cb4
GM
197432011-03-09 Glenn Morris <rgm@gnu.org>
19744
0be6f4f1
GM
19745 * shell.el (shell-mode):
19746 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
19747
13522cb4
GM
19748 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
19749 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
19750
515de2e3
CY
197512011-03-08 Chong Yidong <cyd@stupidchicken.com>
19752
19753 * emacs-lisp/package.el (package-refresh-contents)
19754 (package-menu-execute): Use condition-case-no-debug.
19755
b511b994
MA
197562011-03-08 Michael Albinus <michael.albinus@gmx.de>
19757
19758 * simple.el (shell-command-to-string): Use `process-file'.
19759
19760 * emacs-lisp/package.el (package-tar-file-info): Handle also
19761 remote files.
19762
d86d2721
SM
19763 * emacs-lisp/package-x.el (package-upload-buffer-internal):
19764 Use `equal' for upload base check.
b511b994 19765
25bbfb31
AM
197662011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
19767
19768 * textmodes/texinfo.el (texinfo-environments):
19769 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
19770
be996521
GM
197712011-03-08 Glenn Morris <rgm@gnu.org>
19772
e9c8529f
GM
19773 * cus-start.el (cursor-in-non-selected-windows):
19774 Fix :set quoting oddness. (Bug#8192)
19775
be996521
GM
19776 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
19777 in some setf expressions. (Bug#2159)
19778
2bb5649e
CY
197792011-03-08 Chong Yidong <cyd@stupidchicken.com>
19780
19781 * custom.el (custom-available-themes): Return themes in
19782 alphabetical order.
19783
33383987 19784See ChangeLog.15 for earlier changes.
e3d51b27
MR
19785
19786;; Local Variables:
19787;; coding: utf-8
e3d51b27
MR
19788;; End:
19789
acaf905b 19790 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
19791
19792 This file is part of GNU Emacs.
19793
19794 GNU Emacs is free software: you can redistribute it and/or modify
19795 it under the terms of the GNU General Public License as published by
19796 the Free Software Foundation, either version 3 of the License, or
19797 (at your option) any later version.
19798
19799 GNU Emacs is distributed in the hope that it will be useful,
19800 but WITHOUT ANY WARRANTY; without even the implied warranty of
19801 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19802 GNU General Public License for more details.
19803
19804 You should have received a copy of the GNU General Public License
19805 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.