]> code.delx.au - gnu-emacs/blob - lisp/ChangeLog
ChangeLog merge fix
[gnu-emacs] / lisp / ChangeLog
1 2014-10-03 Dmitry Gutov <dgutov@yandex.ru>
2
3 * vc/vc-svn.el (vc-svn-ignore-completion-table): Implement.
4 (vc-svn-ignore): Use it. (Bug#18619)
5
6 2014-10-03 Martin Rudalics <rudalics@gmx.at>
7
8 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
9 In doc-string mention need of setting `frame-resize-pixelwise'.
10
11 2014-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
12
13 * vc/vc-svn.el (vc-svn-after-dir-status): Fix the non-remote regexp,
14 similarly to Roger's 2010-06-12 change for the remote change
15 (bug#18605).
16
17 2014-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
18
19 New gui-selection-value consolidating x-selection-value.
20 * select.el (gui-selection-value-alist): New method.
21 (gui-selection-value): New function.
22 (x-selection-value): Make it an obsolete alias.
23 * simple.el (interprogram-paste-function): Default to
24 gui-selection-value.
25 * w32-common-fns.el (w32-get-selection-value): Simplify.
26 (x-selection-value): Remove alias.
27 (interprogram-paste-function): Don't set.
28 (gui-selection-value): Define for w32.
29 * term/x-win.el (gui-selection-value): Define for x.
30 (x--selection-value): Rename from x--selection-value.
31 (interprogram-paste-function): Don't set.
32 * term/pc-win.el (w16-get-selection-value): Simplify.
33 (msdos-initialize-window-system): Don't set
34 interprogram-paste-function.
35 (gui-selection-value): Define for pc.
36 * term/ns-win.el (x-selection-value): Remove.
37 (gui-selection-value): Define for ns, instead.
38 * term/common-win.el (x-setup-function-keys): Don't set
39 interprogram-paste-function.
40 * obsolete/mouse-sel.el (mouse-sel-get-selection-function):
41 Use gui-selection-value.
42
43 2014-10-02 David Raynes <rayners@gmail.com> (tiny change)
44
45 * term/ns-win.el: Add functions to ns frame, not x frame (bug#18614).
46
47 2014-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
48
49 * obsolete/lucid.el (read-number): Remove, redundant.
50 * obsolete/cl-compat.el (cl-floor, cl-ceiling, cl-round, cl-truncate):
51 Remove, broken.
52
53 2014-10-02 Glenn Morris <rgm@gnu.org>
54
55 * emacs-lisp/package.el (package-import-keyring):
56 Create gnupg directory private. (Bug#17625#155)
57
58 2014-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
59
60 * progmodes/python.el (python-shell-completion-get-completions):
61 Use python-shell--prompt-calculated-input-regexp from the
62 process buffer (bug#18582).
63 Don't assume that `line' comes from the process buffer.
64
65 2014-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
66
67 * frame.el: Use lexical-binding (bug#18598).
68 (make-frame): Use t rather than nil for tty's window-system.
69 * startup.el (command-line): Use gui-method.
70
71 Consolidate management/ownership of selections.
72 * select.el (gui-get-selection-alist): New method.
73 (gui-get-selection): Use it. Rename from x-get-selection.
74 (x-get-selection): Define as obsolete alias.
75 (x-get-clipboard): Mark obsolete.
76 (gui-get-primary-selection): New function.
77 (x-get-selection-value): Mark obsolete.
78 (gui-own-selection-alist, gui-disown-selection-alist)
79 (gui-selection-owner-p-alist): New methods.
80 (gui-set-selection): Use them. Rename from x-set-selection.
81 (x-set-selection): Define as obsolete alias.
82 (gui--valid-simple-selection-p): Rename from
83 x-valid-simple-selection-p.
84 * w32-common-fns.el (gui-own-selection, gui-disown-selection)
85 (gui-selection-owner-p, gui-get-selection): Define for w32.
86 (w32-get-selection-value): Rename from x-get-selection-value.
87 Use the new gui-last-selected-text.
88 * term/x-win.el (x-get-selection-value): Remove.
89 (x-clipboard-yank): Declare obsolete.
90 (gui-own-selection, gui-disown-selection, gui-get-selection)
91 (gui-selection-owner-p): Define for x.
92 * term/w32-win.el (w32-win-suspend-error): Rename from
93 x-win-suspend-error.
94 * term/pc-win.el (w16-get-selection-value): Rename from
95 x-get-selection-value.
96 (w16-selection-owner-p): Rename from x-selection-owner-p.
97 (gui-own-selection, gui-disown-selection, gui-get-selection)
98 (gui-selection-owner-p): Define for pc.
99 (w16--select-text): New function.
100 * term/ns-win.el (gui-own-selection, gui-disown-selection)
101 (gui-get-selection, gui-selection-owner-p): Define for ns.
102 * term.el (term-mouse-paste):
103 * mouse.el (mouse-yank-primary): Use gui-get-primary-selection.
104
105 2014-10-02 H. Dieter Wilhelm <dieter@duenenhof-wilhelm.de> (tiny change)
106
107 * calc/calc-help.el (calc-describe-thing): Quote strings
108 which could look like regexps.
109
110 2014-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
111
112 Consolidate x-select-text.
113 * frame.el (gui-method, gui-method-define, gui-method-declare)
114 (gui-call): New macros.
115 (gui-method--name): New function.
116 (frame-creation-function-alist): Use gui-method-declare.
117 (make-frame): Use gui-method.
118 * select.el (gui-select-enable-clipboard): Rename from
119 x-select-enable-clipboard and move here.
120 (x-select-enable-clipboard): Define as obsolete alias.
121 (gui-last-selected-text): New var, to replace x-last-selected-text.
122 (gui-select-text): New GUI method.
123 (gui-select-text): New function.
124 (x-select-text): Define as obsolete alias.
125 * term/common-win.el (x-select-enable-clipboard, x-select-text):
126 Move to select.el.
127 * simple.el (interprogram-cut-function): Change default to
128 x-select-text.
129 (interprogram-paste-function): Change default to `ignore'.
130 * w32-common-fns.el (interprogram-cut-function): Don't modify.
131 * term/x-win.el (interprogram-cut-function): Don't modify.
132 (gui-select-text): Add method for x.
133 * term/w32-win.el (gui-select-text): Add method for w32.
134 * term/pc-win.el (x-last-selected-text): Remove, use
135 gui-last-selected-text instead.
136 (msdos-initialize-window-system): Don't set interprogram-cut-function.
137 (gui-select-text): Add method for pc.
138 * term/ns-win.el (ns-last-selected-text): Remove, use
139 gui-last-selected-text instead.
140 (gui-select-text): Add method for ns.
141 (x-setup-function-keys): Don't change interprogram-cut-function.
142 * loadup.el ("startup"): Load after "frame".
143 * subr.el (package--builtin-versions, package--description-file):
144 Move from startup.el.
145 * startup.el (package--builtin-versions, package--description-file):
146 Move to subr.el.
147 (handle-args-function-alist, window-system-initialization-alist):
148 Use gui-method-declare.
149 (command-line): Use gui-method.
150
151 2014-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
152
153 * subr.el (alist-get): New accessor.
154 * emacs-lisp/gv.el (alist-get): Provide expander.
155 * winner.el (winner-remember):
156 * tempo.el (tempo-use-tag-list):
157 * progmodes/gud.el (minor-mode-map-alist):
158 * international/mule-cmds.el (define-char-code-property):
159 * frameset.el (frameset-filter-params):
160 * files.el (dir-locals-set-class-variables):
161 * register.el (get-register, set-register):
162 * calc/calc-yank.el (calc-set-register): Use it.
163 * ps-print.el (ps-get, ps-put, ps-del): Mark as obsolete.
164 * tooltip.el (tooltip-set-param): Mark as obsolete.
165 (tooltip-show): Use alist-get instead.
166 * ses.el (ses--alist-get): Remove. Use alist-get instead.
167
168 2014-10-01 Ulf Jasper <ulf.jasper@web.de>
169
170 * net/newst-backend.el: Remove Time-stamp. Rename variable
171 `newsticker--download-logos' to `newsticker-download-logos' and
172 make it customizable.
173 (newsticker--sentinel-work): Move xml-workarounds to function
174 `newsticker--do-xml-workarounds', call unless libxml-parser is
175 used. Allow single quote in regexp for encoding.
176 Use libxml-parser if available, else fall back to `xml-parse-region'.
177 Take care of possibly missing namespace prefixes (like "RDF"
178 instead of "rdf:RDF") when checking xml nodes and attributes (as
179 libxml correctly removes the prefixes). Always use Atom 1.0 as
180 fallback feed type. Rename `newsticker--download-logos' to
181 `newsticker-download-logos'
182 (newsticker--unxml, newsticker--unxml-node)
183 (newsticker--unxml-attribute): New.
184 (newsticker--parse-atom-1.0): Call `unxml' in case that embedded
185 HTML code has become part of the xml parse tree.
186 (newsticker--parse-rss-1.0, newsticker--parse-rss-2.0): Take care
187 of possibly missing namespace prefixes.
188 (newsticker--parse-generic-items): Code formatting. Typo.
189 (newsticker--images-dir): Add trailing slash.
190 (newsticker--image-get): Fix error message.
191
192 * net/newst-plainview.el: Remove Time-stamp.
193
194 * net/newst-reader.el: Remove Time-stamp.
195 (newsticker-download-logos): Rename variable
196 `newsticker--download-logos' to `newsticker-download-logos' and
197 make it customizable.
198 (newsticker--print-extra-elements): Add optional parameter
199 'htmlish for using html markup. Amend list of ignored elements.
200 (newsticker--do-print-extra-element): Add parameter 'htmlish for
201 using html markup.
202
203 * net/newst-ticker.el: Remove Time-stamp.
204
205 * net/newst-treeview.el (newsticker--treeview-item-show): Use html
206 for formatting extra elements.
207
208 * net/newsticker.el: Remove Time-stamp, Version.
209 (newsticker-version): Make obsolete.
210
211 2014-09-30 Leonardo Nobrega <leonobr@gmail.com> (tiny change)
212
213 * progmodes/python.el (python-fill-paren): Don't inf-loop at EOB
214 (bug#18462).
215
216 2014-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
217
218 * emacs-lisp/package.el (package-check-signature): Default to nil if
219 GPG is not available.
220 (package-refresh-contents): Don't mess with the keyring if we won't
221 check the signatures anyway.
222
223 2014-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
224
225 * ses.el (ses--row, ses--col): New dyn-scoped vars, to replace row&col.
226 (ses-center, ses-center-span): Use them.
227 (ses-print-cell): Bind them while calling the printer.
228 (row, col, maxrow, maxcol): Don't declare as dynamically scoped.
229 (ses-dorange): Revert last change.
230 (ses-calculate-cell): Don't bind row&col dynamically while evaluating
231 the formula.
232 (ses-set-cell): Avoid `eval'.
233 (ses--time-check): Rename it from ses-time-check and turn it into
234 a macro.
235
236 * ses.el (ses-setup): Don't assume modifying the iteration var of
237 dotimes affects the iteration (bug#18191).
238
239 2014-09-30 Vincent Belaïche <vincentb1@users.sourceforge.net>
240
241 * ses.el (ses-calculate-cell): Bind row and col dynamically to
242 their values with 'cl-progv'.
243 (ses-dorange): Bind row, col, maxrow and maxcol dynamically to
244 their values with 'cl-progv', also use non-interned symbols for
245 row, minrow, maxrow, mincol and maxcol.
246 (maxrow maxcol): New defvar, to make the compiler happy.
247
248 2014-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
249
250 * minibuffer.el (completion-at-point): Emit warning for ill-behaved
251 completion functions.
252
253 2014-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
254
255 * ses.el (ses--letref): Quote value before it gets re-evaluated.
256
257 2014-09-28 Thien-Thi Nguyen <ttn@gnu.org>
258
259 Font-lock `cl-flet*', too.
260 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2):
261 Add "flet*" to intermediate var `cl-lib-kw'.
262
263 2014-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
264
265 * epg-config.el (epg-gpg-program): Use the plain program names rather
266 than their absolute file name.
267
268 * subr.el (track-mouse): New macro.
269 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
270 Remove track-mouse case.
271 * emacs-lisp/bytecomp.el (byte-compile-track-mouse): Remove.
272
273 2014-09-27 Leo Liu <sdl.web@gmail.com>
274
275 * progmodes/elisp-mode.el (elisp--eldoc-last-data): Use defvar.
276
277 * emacs-lisp/eldoc.el (eldoc-mode): Fix thinko.
278
279 2014-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
280
281 * emacs-lisp/pcase.el (pcase--split-match, pcase--app-subst-match):
282 Handle the case where `match' is :pcase--succeed or :pcase--fail
283 (bug#18554).
284
285 Introduce global-eldoc-mode. Move Elisp-specific code to elisp-mode.el.
286 * emacs-lisp/eldoc.el (global-eldoc-mode): New minor mode.
287 (eldoc-schedule-timer): Obey it.
288 (eldoc-documentation-function): Default to nil.
289 (eldoc-mode): Don't enable if eldoc-documentation-function is not set.
290 (eldoc-documentation-function-default, eldoc-get-fnsym-args-string)
291 (eldoc-highlight-function-argument, eldoc-get-var-docstring)
292 (eldoc-last-data-store, eldoc-docstring-first-line)
293 (eldoc-docstring-format-sym-doc, eldoc-fnsym-in-current-sexp)
294 (eldoc-beginning-of-sexp, eldoc-current-symbol)
295 (eldoc-function-argstring): Move to elisp-mode.el.
296 (eldoc-symbol-function): Remove, unused.
297 * progmodes/elisp-mode.el: New file. Rename all "eldoc-*" to "elisp--*".
298 (elisp-completion-at-point): Rename from lisp-completion-at-point.
299 (elisp--preceding-sexp): Rename from preceding-sexp.
300 * loadup.el: Load new file progmodes/elisp-mode.
301 * ielm.el (inferior-emacs-lisp-mode): Set eldoc-documentation-function.
302 * emacs-lisp/lisp.el (lisp--local-variables-1, lisp--local-variables)
303 (lisp--local-variables-completion-table, lisp--expect-function-p)
304 (lisp--form-quoted-p, lisp--company-doc-buffer)
305 (lisp--company-doc-string, lisp--company-location)
306 (lisp-completion-at-point): Move to elisp-mode.el.
307 * emacs-lisp/lisp-mode.el (lisp--mode-syntax-table): New syntax-table,
308 extracted from emacs-lisp-mode-syntax-table.
309 (emacs-lisp-mode-abbrev-table, emacs-lisp-mode-syntax-table): Move to
310 elisp-mode.el.
311 (lisp-imenu-generic-expression): Add comments to document what comes
312 from which Lisp dialect.
313 (emacs-lisp-mode-map, emacs-lisp-byte-compile)
314 (emacs-lisp-byte-compile-and-load, emacs-lisp-mode-hook)
315 (emacs-lisp-mode, emacs-list-byte-code-comment-re)
316 (emacs-lisp-byte-code-comment)
317 (emacs-lisp-byte-code-syntax-propertize, emacs-lisp-byte-code-mode)
318 (lisp-interaction-mode-map, lisp-interaction-mode)
319 (eval-print-last-sexp, last-sexp-setup-props)
320 (last-sexp-toggle-display, prin1-char, preceding-sexp)
321 (eval-last-sexp-1, eval-last-sexp-print-value)
322 (eval-last-sexp-fake-value, eval-sexp-add-defvars, eval-last-sexp)
323 (eval-defun-1, eval-defun-2, eval-defun): Move to elisp-mode.el.
324
325 2014-09-26 Paul Eggert <eggert@cs.ucla.edu>
326
327 * progmodes/grep.el (grep-regexp-alist): Use more-accurate regexp.
328 Do not match file names that end in '/', as they cannot be 'grep'
329 hits nowadays. This prevents confusion when 'grep -r' reports a
330 match in a file whose basename is ':12345:'. Conversely, do not
331 require exactly the same sequence of spaces and tabs after both
332 colons, and allow spaces or tabs before the second colon, as per
333 the POSIX spec for 'grep' output.
334
335 2014-09-26 Leo Liu <sdl.web@gmail.com>
336
337 Add cl-parse-integer based on parse-integer (Bug#18557)
338 * calendar/parse-time.el (parse-time-digits): Remove.
339 (digit-char-p, parse-integer) Moved to cl-lib.el.
340 (parse-time-tokenize, parse-time-rules, parse-time-string):
341 Use cl-parse-integer.
342
343 * emacs-lisp/cl-extra.el (cl-parse-integer): New function.
344
345 * emacs-lisp/cl-lib.el (cl-digit-char-table): New var.
346 (cl-digit-char-p): New function.
347
348 2014-09-25 Juri Linkov <juri@jurta.org>
349
350 * vc/add-log.el (change-log-next-buffer): Don't create an empty
351 buffer "ChangeLog" when the current buffer doesn't match ChangeLog.[0-9].
352 Return the current buffer if no files match the default pattern
353 ChangeLog.[0-9]. Signal "end of multi" when file is nil. (Bug#18547)
354
355 2014-09-25 Stefan Monnier <monnier@iro.umontreal.ca>
356
357 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Don't modify
358 the global vc-handled-backends (bug#18535).
359
360 2014-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
361
362 * find-cmd.el (find-cmd): Use grep's `find-program' (bug#18518).
363 Suggested by <lompik@voila.fr>.
364
365 2014-09-24 Ulf Jasper <ulf.jasper@web.de>
366
367 * net/newst-treeview.el (newsticker--treeview-do-get-node-by-id):
368 Rename from `newsticker--treeview-do-get-node'.
369 (newsticker--treeview-get-node-by-id):
370 Rename from `newsticker--treeview-get-node'.
371 (newsticker--treeview-buffer-init)
372 (newsticker--treeview-buffer-init): Disable buffer undo.
373 (newsticker--treeview-unfold-node): Adapt to modified
374 `newsticker--group-find-parent-group'.
375 (newsticker--group-do-find-group):
376 Rename from `newsticker--group-do-find-group-for-feed'.
377 Now works for both, groups and feeds.
378 (newsticker--group-find-parent-group):
379 Rename from `newsticker--group-find-group-for-feed'.
380 Now works for both, groups and feeds.
381 (newsticker--group-do-get-parent-group)
382 (newsticker--group-get-parent-group): Remove.
383 (newsticker-group-add-group): Change interactive prompts.
384 (newsticker-group-add-group): Finally jump to added group.
385 (newsticker-group-delete-group): Finally jump to current feed.
386 (newsticker--group-do-rename-group, newsticker-group-rename-group)
387 (newsticker--get-group-names, newsticker--group-names): New.
388 (newsticker-group-move-feed): Finally jump to moved feed.
389 (newsticker-group-shift-feed-down, newsticker-group-shift-feed-up)
390 (newsticker-group-shift-group-down)
391 (newsticker-group-shift-group-up, newsticker--group-shift): New.
392 (newsticker-treeview-mode-map): New keybindings for new shift commands.
393
394 * net/newst-backend.el (newsticker--item-list)
395 (newsticker--item-position, newsticker--prev-message)
396 (newsticker--scrollable-text): Move to newst-ticker.el.
397
398 * net/newst-ticker.el (newsticker--item-list)
399 (newsticker--item-position, newsticker--prev-message)
400 (newsticker--scrollable-text): Move from newst-backend.el.
401
402 2014-09-22 Kan-Ru Chen <kanru@kanru.info>
403
404 * window.el (fit-window-to-buffer): When counting buffer width,
405 count the whole visible buffer. Correctly convert the body-height
406 to pixel size for window-text-pixel-size (Bug#18498).
407
408 2014-09-22 Sam Steingold <sds@gnu.org>
409
410 * progmodes/sql.el (sql-product-alist): Improve the Vertica entry.
411 (sql-execute): Use `special-mode'.
412
413 2014-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
414
415 Add pcase-defmacro, as well as `quote' and `app' patterns.
416 * loadup.el: Increase max-lisp-eval-depth when macroexpanding macroexp.
417 * emacs-lisp/pcase.el: Allow (F . ARGS) in `app' patterns.
418 (pcase--funcall, pcase--eval): New functions.
419 (pcase--u1): Use them for guard, pred, let, and app.
420 (\`): Use the new feature to generate better code for vector patterns.
421 * emacs-lisp/pcase.el: Use pcase-defmacro to handle backquote.
422 (pcase--upat): Remove.
423 (pcase--macroexpand): Don't hardcode handling of `.
424 (pcase--split-consp, pcase--split-vector): Remove.
425 (pcase--split-equal): Disregard ` since it's expanded away.
426 (pcase--split-member): Optimize for quote rather than for `.
427 (pcase--split-pred): Optimize for quote rather than for `.
428 (pcase--u1): Remove handling of ` (and of `or' and `and').
429 Quote non-selfquoting values when passing them to `eq'.
430 Drop `app's let-binding if the variable is not used.
431 (pcase--q1): Remove.
432 (`): Define as a pattern macro.
433 * emacs-lisp/pcase.el (pcase--match): New smart-constructor function.
434 (pcase--expand pcase--q1, pcase--app-subst-match): Use it.
435 (pcase--macroexpand): Handle self-quoting patterns here, expand them to
436 quote patterns.
437 (pcase--split-match): Don't hoist or/and here any more.
438 (pcase--split-equal): Optimize quote patterns as well as ` patterns.
439 (pcase--flip): New helper macro.
440 (pcase--u1): Optimize the memq case directly.
441 Don't handle neither self-quoting nor and/or patterns any more.
442 * emacs-lisp/pcase.el (pcase-defmacro): New macro.
443 (pcase--macroexpand): New function.
444 (pcase--expand): Use it.
445 * emacs-lisp/pcase.el (pcase--app-subst-match, pcase--app-subst-rest):
446 New optimization functions.
447 (pcase--u1): Add support for `quote' and `app'.
448 (pcase): Document them in the docstring.
449
450 2014-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
451
452 Use lexical-bindin in Ibuffer.
453 * ibuffer.el (ibuffer-do-toggle-read-only): `arg' is unused.
454 (ibuffer-compile-format): Simplify.
455 (ibuffer-clear-summary-columns): Simplify.
456 * ibuf-ext.el (ibuffer-generate-filter-groups): Don't use the third
457 elem of dotimes when we don't refer to the iteration var from it.
458 (ibuffer-toggle-sorting-mode): Avoid add-to-list.
459 * ibuf-macs.el (define-ibuffer-column, define-ibuffer-op):
460 Silence byte-compiler.
461
462 2014-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
463
464 * font-lock.el (font-lock-compile-keyword): Don't confuse a lambda
465 expression for a list.
466
467 * emacs-lisp/bytecomp.el (byte-compile-lambda): Don't add fundoc usage
468 for functions with no arguments.
469
470 * mpc.el (mpc-data-directory): Use locate-user-emacs-file.
471 (mpc-volume-refresh): Make sure the corresponding header-line is updated.
472
473 2014-09-17 Tom Willemse <tom@ryuslash.org> (tiny change)
474
475 * simple.el (clone-indirect-buffer): Mention the return value
476 (bug#18478).
477
478 * progmodes/prog-mode.el (prog-mode-hook): Replace reference to
479 Text mode in docstring (bug#18464).
480
481 2014-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
482
483 * progmodes/perl-mode.el (perl-syntax-propertize-function):
484 Accept underscores in identifiers after "sub" (bug#18502).
485
486 2014-09-21 Tassilo Horn <tsdh@gnu.org>
487
488 * textmodes/reftex-sel.el (reftex-select-label-mode)
489 (reftex-select-bib-mode, reftex-insert-docstruct): Derive modes
490 from special-mode (instead of fundamental-mode) and propertize
491 with font-lock-face instead of just face. (Bug#18496)
492
493 * textmodes/reftex-toc.el (reftex-toc-mode, reftex-toc): Ditto.
494
495 2014-09-19 Dmitry Gutov <dgutov@yandex.ru>
496
497 * emacs-lisp/lisp.el (lisp-completion-at-point): Only calculate
498 `table-etc' when `end' is non-nil.
499 (lisp-completion-at-point): Move `end' back if it's after quote.
500 If in comment or string, only complete when after backquote.
501 (Bug#18265)
502 (lisp-completion-at-point): Don't use
503 `lisp--local-variables-completion-table' in the
504 `lisp--form-quoted-p' case.
505
506 2014-09-19 Dmitry Gutov <dgutov@yandex.ru>
507
508 * emacs-lisp/lisp.el (lisp--expect-function-p)
509 (lisp--form-quoted-p): New functions.
510 (lisp-completion-at-point): Use them to see if we're completing a
511 variable reference, a function name, or just any symbol.
512 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00229.html
513
514 2014-09-18 Ivan Kanis <ivan@kanis.fr>
515
516 * net/shr.el, net/eww.el: Don't override `shr-width', but
517 introduce a new variable `shr-internal-width'. This allows users
518 to specify a width themselves.
519
520 2014-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
521
522 * image-mode.el (image-toggle-display-image): If we have a
523 `fit-width' or a `fit-height', don't limit the size of the image
524 to the window size, because that doesn't preserve the aspect ratio.
525 * image-mode.el: Move defvars earlier to avoid a byte-compilation
526 warning.
527
528 2014-09-17 Reuben Thomas <rrt@sc3d.org>
529
530 * progmodes/js.el: Add interpreter-mode-alist support for various
531 JavaScript interpreters.
532
533 2014-09-17 Paul Eggert <eggert@cs.ucla.edu>
534
535 Don't assume 'grep' supports GREP_OPTIONS.
536 The GREP_OPTIONS environment variable is planned to be marked
537 obsolescent in GNU grep, due to problems in its use, so stop
538 relying on it.
539 * progmodes/grep.el (grep-highlight-matches): Document this.
540 (grep-process-setup): Do not set GREP_OPTIONS.
541 (grep-compute-defaults): Use an explicit --color option if supported.
542
543 2014-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
544
545 * msb.el (msb--make-keymap-menu, msb-menu-bar-update-buffers):
546 Don't add outdated key-shortcut cache (bug#18482).
547
548 2014-09-15 Glenn Morris <rgm@gnu.org>
549
550 * image.el (image-multi-frame-p): Fix thinko - do not force
551 a delay if none was specified. (Bug#18334)
552
553 2014-09-15 Kan-Ru Chen <kanru@kanru.info>
554
555 * window.el (fit-window-to-buffer): Doc fix.
556
557 2014-09-15 Ivan Shmakov <ivan@siamics.net>
558
559 * desktop.el (desktop-create-buffer): Check that buffers are still live
560 before burying them (bug#18373).
561
562 2014-09-15 Glenn Morris <rgm@gnu.org>
563
564 * calendar/diary-lib.el (diary-list-entries):
565 Restore 24.3 display behavior. (Bug#18381)
566
567 2014-09-15 Eli Zaretskii <eliz@gnu.org>
568
569 * mouse.el (mouse-drag-line): On text-mode frames, count the mode
570 line and header line as 1 pixel. This fixes the 1-"pixel" (row)
571 discrepancy between window-pixel-edges and mouse events, and
572 avoids moving mode line up when the mouse click is on the modeline
573 and no drag is attempted.
574
575 2014-09-14 Daniel Colascione <dancol@dancol.org>
576
577 * register.el (insert-register): Change default interactive
578 insertion mode.
579
580 2014-09-14 Michael Albinus <michael.albinus@gmx.de>
581
582 * net/tramp-cache.el (tramp-flush-file-function): Simplify check.
583 Suppress debug messages.
584
585 * net/tramp.el (tramp-file-name-handler):
586 * net/tramp-gvfs.el (tramp-gvfs-url-file-name): Apply `cons' where
587 appropriate.
588
589 2014-09-13 Christopher Schmidt <ch@ristopher.com>
590
591 * calendar/calendar.el (calendar-update-mode-line):
592 Do not overwrite mode-line-format if calendar-mode-line-format is
593 nil. (Bug#18467)
594
595 2014-09-13 Leo Liu <sdl.web@gmail.com>
596
597 * emacs-lisp/pcase.el (pcase--dontwarn-upats): New var.
598 (pcase--expand): Use it.
599 (pcase-exhaustive): New macro. (Bug#16567)
600
601 * emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2):
602 Add pcase-exhaustive.
603
604 2014-09-13 Eli Zaretskii <eliz@gnu.org>
605
606 * mail/rmailmm.el (rmail-mime-insert-html): Decode the HTML part
607 using the specified transfer-encoding, if any, or 'undecided'.
608 (rmail-mime-render-html-shr): Bind shr-width to nil, so lines are
609 broken at the window margin.
610
611 2013-12-27 Ken Olum <kdo@cosmos.phy.tufts.edu>
612
613 Support rendering of HTML parts in Rmail (bug#4258).
614 * mail/rmailmm.el (rmail-mime-process): Handle text/html
615 separately from other text/ types. Suppress tagline for
616 multipart body.
617 (rmail-mime-parse): Don't change visibility of tagline here.
618 (rmail-mime-set-bulk-data, rmail-mime-insert-bulk):
619 Handle text/html specially.
620 (rmail-mime-render-html-function,rmail-mime-prefer-html): New variables.
621 (rmail-mime-insert-html, rmail-mime-render-html-shr)
622 (rmail-mime-render-html-lynx): New functions.
623 (rmail-mime-fix-inserted-faces): New function.
624 (rmail-mime-process-multipart): Find the best part to show
625 following rmail-mime-prefer-html if set.
626 (rmail-mime-searching): New variable.
627 (rmail-search-mime-message): Bind rmail-mime-searching to
628 suppress rendering while searching.
629
630 2014-09-12 Sam Steingold <sds@gnu.org>
631
632 * progmodes/sql.el (sql-product-alist): Add vertica.
633 (sql-vertica-program, sql-vertica-options)
634 (sql-vertica-login-params, sql-comint-vertica, sql-vertica):
635 New functions and variables to support Vertica.
636 Inspired by code by Roman Scherer <roman@burningswell.com>.
637
638 2014-09-11 Paul Eggert <eggert@cs.ucla.edu>
639
640 * ses.el (ses-file-format-extend-parameter-list): Rename from
641 ses-file-format-extend-paramter-list, to correct a misspelling.
642 All uses changed.
643
644 2014-09-10 Alan Mackenzie <acm@muc.de>
645
646 CC Mode: revert recent changes and fix bug 17463 (cc-langs.elc
647 gets loaded at run-time).
648 * progmodes/cc-langs.el (c-no-parens-syntax-table): Rename the
649 c-lang-const to c-make-no-parens-syntax-table and correct the
650 logic.
651 (c-no-parens-syntax-table): Correct the logic of the
652 c-lang-defvar.
653
654 2014-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
655
656 CC-mode: Set open-paren-in-column-0-is-defun-start to nil;
657 plus misc cleanup.
658 * progmodes/cc-mode.el (c-basic-common-init):
659 Set open-paren-in-column-0-is-defun-start.
660 (adaptive-fill-first-line-regexp, font-lock-syntactic-keywords):
661 Remove declarations, unused.
662 (run-mode-hooks): Remove declaration.
663 (font-lock-defaults): Use plain `defvar' to declare.
664 (c-run-mode-hooks): Test existence of run-mode-hooks with fboundp.
665 * progmodes/cc-langs.el (c-filter-ops): Avoid `setq'.
666 (c-make-mode-syntax-table): Don't micro-optimize.
667 (c-keywords, c-keyword-member-alist): Simplify.
668 (c-kwds-lang-consts): Don't eval at compile-time.
669 (c-primary-expr-regexp): Comment out unused vars.
670 * progmodes/cc-fonts.el (c-font-lock-context): Declare at top-level.
671 (c-font-byte-compile): New var.
672 (c--compile): New function. Use it instead of `byte-compile'.
673 (c-cpp-matchers): Quote the value returned by
674 `c-make-syntactic-matcher' in case it's not self-evaluating.
675 (c-basic-matchers-before): Avoid a plain MATCHER as keyword, wrap it in
676 parentheses instead (in case MATCHER happens to be a list).
677 (c-font-lock-enum-tail): Remove unused var `start'.
678 (c-font-lock-objc-methods): Silence byte-compiler warnings.
679 * progmodes/cc-engine.el (c-syntactic-re-search-forward): Sink an `if'
680 test into an argument.
681 * progmodes/cc-defs.el (c-point, c-major-mode-is, c-put-char-property)
682 (c-get-char-property): Don't use `eval' just to unquote a constant.
683 (c-use-extents): Remove. Use (featurep 'xemacs), compiled
684 more efficiently.
685 (c-put-char-property-fun): Don't call `byte-compile' by hand.
686 (c-clear-char-property, c-clear-char-properties): Check that `property'
687 is a quoted constant.
688 (c-emacs-features): Remove `infodock', `syntax-properties', and
689 `pps-extended-state' (never used), `8-bit' and `1-bit' (use (featurep
690 'xemacs) instead). Use `with-temp-buffer' and let-bind vars after
691 changing buffer, so we don't have to setq them again afterwards.
692 (c-lang-const): Remove redundant symbolp assertions.
693 (c-find-assignment-for-mode): Use `or'.
694 * Makefile.in (compile-one-process): Remove cc-mode dependency.
695
696 2014-09-09 Sam Steingold <sds@gnu.org>
697
698 * progmodes/sql.el (sql-default-directory): Fix type annotation.
699
700 2014-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
701
702 * progmodes/cc-awk.el: Remove unneeded cc-bytecomp use.
703 Change doc comments into docstrings.
704 * Makefile.in: Remove cc-awk dependency.
705
706 2014-09-08 Sam Steingold <sds@gnu.org>
707
708 * progmodes/sql.el (sql-send-line-and-next): New command,
709 bound to C-c C-n.
710 (sql-show-sqli-buffer): Display the buffer instead of its name and
711 bind the command to C-c C-z.
712 (sql-default-directory): New user option.
713 (sql-product-interactive): Bind `default-directory' to it to
714 enable remote connections using Tramp.
715 (sql-set-sqli-buffer): Call `sql-product-interactive' when no
716 suitable buffer is available.
717
718 2014-09-08 Glenn Morris <rgm@gnu.org>
719
720 * calendar/calendar.el (calendar-basic-setup):
721 Fix calendar-view-holidays-initially-flag and fancy display.
722 * calendar/diary-lib.el (diary-live-p): Doc fix.
723
724 * calendar/calendar.el (calendar-basic-setup):
725 Avoid clobbering calendar with diary. (Bug#18381)
726
727 2014-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
728
729 * vc/vc-dir.el (vc-dir-update): Don't burp in corner case.
730
731 2014-09-08 Lars Ljung <lars@matholka.se> (tiny change)
732
733 * isearch.el (isearch-yank-word-or-char): Obey superword-mode
734 as well (bug#18400).
735
736 2014-09-08 Eli Zaretskii <eliz@gnu.org>
737
738 * subr.el (posn-actual-col-row): Doc fix. (Bug#18385)
739
740 2014-09-06 Leo Liu <sdl.web@gmail.com>
741
742 * emacs-lisp/pcase.el (pcase): Doc fix.
743 (pcase--split-vector): New function.
744 (pcase--q1): Support vector qpattern. (Bug#18327)
745
746 2014-09-05 Sam Steingold <sds@gnu.org>
747
748 * textmodes/tex-mode.el (tex-print-file-extension): New user
749 option.
750 (tex-print): Use it instead of the hard-coded string.
751
752 2014-09-05 Michael Albinus <michael.albinus@gmx.de>
753
754 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
755 Expand `default-directory'.
756
757 2014-09-05 Martin Rudalics <rudalics@gmx.at>
758
759 * scroll-bar.el (horizontal-scroll-bars-available-p):
760 New function.
761 (horizontal-scroll-bar-mode): Rewrite using
762 horizontal-scroll-bars-available-p.
763 * menu-bar.el (menu-bar-showhide-scroll-bar-menu): Rewrite using
764 horizontal-scroll-bars-available-p.
765
766 2014-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
767
768 * subr.el (call-process-shell-command, process-file-shell-command):
769 Make the `args' obsolete (bug#18409).
770 (start-process-shell-command, start-file-process-shell-command):
771 Use `declare'.
772
773 2014-09-05 Jay Belanger <jay.p.belanger@gmail.com>
774
775 * calc/calc-forms.el (math-normalize-hms): Do a better check for
776 "negative" hms forms.
777
778 2014-09-04 Rasmus Pank Roulund <emacs@pank.eu>
779
780 * vc/vc-git.el (vc-git-conflicted-files): Fix bug when git status
781 returns nil (bug#18391).
782
783 2014-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
784
785 * emacs-lisp/eldoc.el (eldoc-function-argstring): Don't strip
786 terminating paren (bug#18352).
787 (eldoc-last-data-store): Return cached data.
788 (eldoc-get-var-docstring): Avoid setq.
789 (eldoc-get-fnsym-args-string): Clarify data flow.
790
791 2014-09-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
792
793 * emacs-lisp/eldoc.el (eldoc-highlight-function-argument): Handle the
794 case where we're currently providing part of the &rest arg after some
795 &key args, as in define-ibuffer-op (bug#18048).
796
797 2014-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
798
799 * progmodes/which-func.el (which-func-ff-hook): Obey pre-existing
800 buffer-local setting of which-func-mode.
801 (which-func-mode): Use defvar-local.
802 (which-function-mode): Don't reset which-func-mode in each buffer since
803 it might have been set by someone else.
804 (which-func-update-ediff-windows): Check which-function-mode.
805
806 2014-09-03 Martin Rudalics <rudalics@gmx.at>
807
808 * frame.el (frame-initialize): Remove horizontal-scroll-bars
809 from frame-initial-frame-alist.
810 * scroll-bar.el (previous-horizontal-scroll-bar-mode)
811 (horizontal-scroll-bar-mode-explicit)
812 (set-horizontal-scroll-bar-mode, get-horizontal-scroll-bar-mode)
813 (toggle-horizontal-scroll-bar): Remove.
814 (horizontal-scroll-bar-mode): Remove defcustom.
815 (horizontal-scroll-bar-mode): Fix doc-string.
816 (scroll-bar-toolkit-scroll)
817 (scroll-bar-toolkit-horizontal-scroll): Add doc-strings stubs.
818
819 2014-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
820
821 * emacs-lisp/package.el (package-generate-description-file):
822 Properly quote the arguments (bug#18332). Change second arg.
823 (package--alist-to-plist-args): Rename from package--alist-to-plist and
824 quote the elements.
825 (package--make-autoloads-and-stuff): Fix the test for pre-existence of
826 the *-pkg.el file. Adjust to new calling convention of
827 package-generate-description-file.
828
829 * progmodes/gud.el (gud-gdb-completion-at-point): Add hack (bug#18282).
830 (gud-gdb-completions): Remove obsolete workaround.
831
832 2014-09-03 Eli Zaretskii <eliz@gnu.org>
833
834 * subr.el (posn-col-row): Revert the change from commit
835 2010-11-13T21:07:58Z!eliz@gnu.org, which
836 was inadvertently merged from emacs-23 release branch in 2010-11-18T03:54:14Z!monnier@iro.umontreal.ca
837 monnier@iro.umontreal.ca-20101118035414-yvlg7k7dk4k4l3q, and
838 introduced an off-by-one error in the reported row when there is a
839 header line. (Bug#18384)
840
841 2014-09-03 Fabián Ezequiel Gallina <fgallina@gnu.org>
842
843 * progmodes/python.el (python-indent-post-self-insert-function):
844 Avoid electric colon at beginning-of-defun. (Bug#18228)
845
846 2014-09-03 Glenn Morris <rgm@gnu.org>
847
848 * tutorial.el (tutorial--display-changes):
849 Fix 2014-08-01 change. (Bug#18382)
850
851 2014-09-03 Ken Brown <kbrown@cornell.edu>
852
853 * startup.el (fancy-splash-frame): Extend the fix for Bug#16014 to
854 the Cygwin-w32 build. (Bug#18347)
855
856 2014-09-03 Glenn Morris <rgm@gnu.org>
857
858 * tar-mode.el (tar--extract, tar-extract):
859 Avoid permanently disabling undo in extracted buffers. (Bug#18344)
860
861 2014-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
862
863 * progmodes/sh-script.el (sh-font-lock-quoted-subshell): Try to better
864 handle multiline elements (bug#18380).
865
866 2014-09-01 Eli Zaretskii <eliz@gnu.org>
867
868 * ls-lisp.el (ls-lisp-use-string-collate)
869 (ls-lisp-UCA-like-collation): New defcustoms.
870 (ls-lisp-string-lessp): Use them to control sorting by file
871 names. (Bug#18051)
872 (ls-lisp-version-lessp): New function.
873 (ls-lisp-handle-switches): Use it to implement the -v switch of
874 GNU ls.
875 (ls-lisp--insert-directory): Mention the -v switch in the doc string.
876
877 2014-08-31 Christoph Scholtes <cschol2112@gmail.com>
878
879 * ibuffer.el: Replace mode-specific quit function with
880 `quit-window' via `special-mode'.
881 (ibuffer-mode-map): Use keybindings from special-mode-map instead
882 of local overrides.
883 (ibuffer): Don't store previous windows configuration.
884 Let `quit-window' handle restoring.
885 (ibuffer-quit): Remove function. Use `quit-window' instead.
886 (ibuffer-restore-window-config-on-quit): Remove variable.
887 (ibuffer-prev-window-config): Remove variable.
888
889 2014-08-29 Michael Heerdegen <michael_heerdegen@web.de>
890
891 * emacs-lisp/easy-mmode.el (define-minor-mode): Use mode function
892 name instead of variable name in hook docstring. (Bug#18349)
893
894 2014-08-29 Martin Rudalics <rudalics@gmx.at>
895
896 * window.el (display-buffer-at-bottom): Prefer bottom-left
897 window to other bottom windows. Reuse a bottom window if it
898 shows the buffer already. Suggested by Juri Linkov
899 <juri@jurta.org> in discussion of (Bug#18181).
900
901 2014-08-29 Leo Liu <sdl.web@gmail.com>
902
903 * files.el (minibuffer-with-setup-hook): Allow (:append FUN) to
904 append to minibuffer-setup-hook. (Bug#18341)
905
906 2014-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
907
908 * progmodes/cc-defs.el: Expose c-lanf-defconst's expressions to the
909 byte-compiler.
910 (lookup-syntax-properties): Silence byte-compiler.
911 (c-lang-defconst): Quote the code with `lambda' rather than with
912 `quote'.
913 (c-lang-const): Avoid unneeded setq.
914 (c-lang-constants-under-evaluation): Add docstring.
915 (c-lang--novalue): New constant.
916 (c-find-assignment-for-mode): Use it instead of c-lang-constants.
917 (c-get-lang-constant): Same here.
918 Get the mode's value using `funcall' now that the code is quoted
919 with `lambda'.
920
921 2014-08-28 Michael Albinus <michael.albinus@gmx.de>
922
923 * net/tramp.el (tramp-handle-shell-command): Use `display-buffer'.
924 (Bug#18326)
925
926 2014-08-28 Martin Rudalics <rudalics@gmx.at>
927
928 * scroll-bar.el (scroll-bar-horizontal-drag-1): Handle new
929 interpretation of `portion-whole'.
930
931 2014-08-28 Michael Albinus <michael.albinus@gmx.de>
932
933 * net/tramp-adb.el: Spell author name correctly.
934
935 2014-08-28 João Távora <joaotavora@gmail.com>
936
937 * net/shr.el (shr-expand-url): Plain expand-file-name is not enough;
938 use url-expand-file-name. (Bug#18310)
939
940 2014-08-28 Glenn Morris <rgm@gnu.org>
941
942 * emulation/cua-rect.el (cua--highlight-rectangle):
943 Avoid error at point-min. (Bug#18309)
944
945 2014-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
946
947 * progmodes/python.el (python-shell-prompt-detect): Remove redundant
948 executable-find (bug#18244).
949
950 * simple.el (self-insert-uses-region-functions): Defvar.
951
952 2014-08-28 Glenn Morris <rgm@gnu.org>
953
954 * subr.el (remq): Revert 2014-08-25 doc change (not always true).
955
956 2014-08-27 Dmitry Antipov <dmantipov@yandex.ru>
957
958 * startup.el (normal-top-level): Now use internal--top-level-message.
959
960 2014-08-26 Dmitry Antipov <dmantipov@yandex.ru>
961
962 * startup.el (normal-top-level): Use top-level-message.
963
964 2014-08-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
965
966 * net/shr.el (shr-copy-url): Encode copied URL to avoid getting
967 URLs containing spaces and the like.
968
969 2014-08-25 Christoph Scholtes <cschol2112@gmail.com>
970
971 * subr.el (remq): Fix docstring (Bug#18253).
972
973 2014-08-25 Christoph Scholtes <cschol2112@gmail.com>
974
975 * replace.el (query-replace): Fix typo in docstring (Bug#18320).
976
977 2014-08-24 Alan Mackenzie <acm@muc.de>
978
979 Handle C++11's "auto" and "decltype" constructions.
980 * progmodes/cc-engine.el (c-forward-type): Enhance to recognise
981 and return 'decltype.
982 (c-forward-decl-or-cast-1): New let variables backup-kwd-sym,
983 prev-kwd-sym, new-style-auto. Enhance to handle the new "auto"
984 keyword.
985 * progmodes/cc-fonts.el (c-font-lock-declarations): Handle the
986 "decltype" keyword.
987 (c-font-lock-c++-new): Handle "decltype" constructions.
988 * progmodes/cc-langs.el (c-auto-ops, c-auto-ops-re):
989 New c-lang-defconsts/defvars.
990 (c-haskell-op, c-haskell-op-re): New c-lang-defconsts/defvars.
991 (c-typeof-kwds, c-typeof-key): New c-lang-defconsts/defvars.
992 (c-typeless-decl-kwds): Append "auto" onto the C++ value.
993 (c-not-decl-init-keywords): Also exclude c-typeof-kwds from value.
994
995 Make ">>" act as double template ender in C++ Mode.
996 * progmodes/cc-langs.el (c->-op-cont-tokens): New lang-const split
997 off from c->-op-cont-re.
998 (c->-op-cont-tokens): Change to use the above.
999 (c->-op-without->-cont-regexp): New lang-const.
1000 * progmodes/cc-engine.el (c-forward-<>-arglist-recur):
1001 Use c->-op-without->-cont-regexp in place of c->-op-cont-tokens.
1002
1003
1004 2014-08-23 Alan Mackenzie <acm@muc.de>
1005
1006 * progmodes/cc-fonts.el (c-font-lock-declarators): Fix infinite
1007 loop, bug #18306. The bug was introduced on 2014-08-02.
1008
1009 2014-08-21 Eli Zaretskii <eliz@gnu.org>
1010
1011 * textmodes/texnfo-upd.el (texinfo-specific-section-type):
1012 Don't recognize a Top node if there are other sectioning commands
1013 earlier in the Texinfo file. This fixes a bug in
1014 texinfo-make-menu and avoids inflooping in
1015 texinfo-all-menus-update when they are invoked on texinfo.texi.
1016
1017 2014-08-21 Martin Rudalics <rudalics@gmx.at>
1018
1019 * window.el (window--side-window-p): New function.
1020 (split-window, window-splittable-p): Use window--side-window-p to
1021 determine whether WINDOW can be split (Bug#18304).
1022 * calendar/calendar.el (calendar-basic-setup): Fix one call of
1023 `window-splittable-p' and add another (Bug#18304).
1024
1025 2014-08-20 Sam Steingold <sds@gnu.org>
1026
1027 * progmodes/python.el (python-new-pythonpath): Extract from
1028 `python-shell-calculate-process-environment'.
1029
1030 2014-08-18 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1031
1032 * emacs-lisp/eldoc.el (eldoc-highlight-function-argument): Add support
1033 for &key args (bug#18048).
1034
1035 2014-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
1036
1037 * emacs-lisp/eldoc.el (eldoc-argument-case): Obsolete and change default.
1038 (eldoc-function-argstring-format): Remove.
1039 (eldoc-function-argstring): Always return upcase args.
1040 Use help-make-usage. Don't add parens.
1041 (eldoc-get-fnsym-args-string): Don't obey eldoc-argument-case since
1042 it's too late to do it right (bug#18048).
1043
1044 2014-08-18 Eli Zaretskii <eliz@gnu.org>
1045
1046 * scroll-bar.el (scroll-bar-horizontal-drag-1)
1047 (scroll-bar-toolkit-horizontal-scroll): When determining the
1048 paragraph direction, use the buffer of the window designated in
1049 the event.
1050
1051 2014-08-16 Andreas Schwab <schwab@linux-m68k.org>
1052
1053 * vc/diff-mode.el (diff-fixup-modifs): Handle empty line in
1054 context of unified diff.
1055
1056 2014-08-16 Paul Eggert <eggert@cs.ucla.edu>
1057
1058 Add dependencies to fix loaddefs race during parallel builds.
1059 Without this, for example, 'make -j bootstrap' can fail and report
1060 "Opening input file: no such file or directory,
1061 .../lisp/calendar/diary-loaddefs.el ... recipe for target
1062 'calendar/hol-loaddefs.el' failed", where the hol-loaddefs.el rule
1063 got confused because diary-loaddefs.el was being built in parallel.
1064 * Makefile.in ($(CAL_DIR)/diary-loaddefs.el):
1065 Depend on $(CAL_DIR)/cal-loaddefs.el.
1066 ($(CAL_DIR)/hol-loaddefs.el): Depend on $(CAL_DIR)/diary-loaddefs.el.
1067
1068 2014-08-16 Martin Rudalics <rudalics@gmx.at>
1069
1070 * scroll-bar.el (scroll-bar-horizontal-drag-1): Use cdr of
1071 portion-whole for scrolling right-to-left text.
1072
1073 2014-08-15 Leo Liu <sdl.web@gmail.com>
1074
1075 * speedbar.el (speedbar-generic-list-tag-p): Allow special
1076 elements from imenu.
1077
1078 2014-08-15 Glenn Morris <rgm@gnu.org>
1079
1080 * subr.el (with-output-to-temp-buffer): Doc fix; from elisp manual.
1081
1082 2014-08-13 Jan Nieuwenhuizen <janneke@gnu.org>
1083
1084 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1085 Add Guile regexpses.
1086
1087 2014-08-13 Jan Nieuwenhuizen <janneke@gnu.org>
1088
1089 * progmodes/gud.el (guiler): New function. Starts the Guile REPL;
1090 add Guile debugger support for GUD.
1091
1092 2014-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
1093
1094 * obsolete/mouse-sel.el (mouse-sel-mode): Use add/remove-function.
1095 (mouse-sel--ignore): New function.
1096 (mouse-sel-has-been-enabled, mouse-sel-original-bindings)
1097 (mouse-sel-original-interprogram-cut-function)
1098 (mouse-sel-original-interprogram-paste-function): Remove.
1099
1100 2014-08-13 Eric S. Raymond <esr@thyrsus.com>
1101
1102 * vc/vc-git.el (vc-git-resolve-when-done): New function.
1103 Call "git add" when there are no longer conflict markers.
1104
1105 2014-08-13 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1106
1107 * vc/vc-git.el (vc-git-find-file-hook): New function.
1108 Adds support for calling smerge (and resolve) on a conflicted file.
1109 (vc-git-conflicted-files): New function.
1110 Useful in itself and a step towards better smerge support.
1111
1112 2014-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
1113
1114 * mpc.el (mpc-reorder): Don't bother splitting the "active" elements
1115 to the first part if they're the same as the selection.
1116
1117 2014-08-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
1118
1119 * image-mode.el (image-transform-reset): New command and menu item.
1120 (image-mode-map): Rearrange the menu items to put presumably more
1121 obscure items at the end.
1122
1123 2014-08-12 Juri Linkov <juri@jurta.org>
1124
1125 * vc/vc-annotate.el (vc-annotate-background-mode):
1126 Use `with-demoted-errors' instead of `ignore-errors'. (Bug#18189)
1127
1128 2014-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
1129
1130 * files.el (out-of-memory-warning-percentage): Turn it off by default.
1131
1132 2014-08-11 Sam Steingold <sds@gnu.org>
1133
1134 * textmodes/sgml-mode.el (sgml-validate-command): Set depending on
1135 the presence of known validators (tidy, (o)nsgmls).
1136
1137 2014-08-11 Ulf Jasper <ulf.jasper@web.de>
1138
1139 Newsticker: introduce `newsticker-treeview-date-format'. (Bug#17227)
1140
1141 * net/newst-treeview.el (newsticker-treeview-date-format): New.
1142 (newsticker--treeview-list-add-item): Use `newsticker-treeview-date-format'.
1143
1144 2014-08-11 Glenn Morris <rgm@gnu.org>
1145
1146 * files.el (basic-save-buffer-2): Revert 2013-01-31 change, which
1147 chose coding system for writing before backing up, since it causes
1148 a more serious problem than the one it solves. (Closes Bug#18141,
1149 reopens Bug#13522.)
1150
1151 2014-08-11 Martin Rudalics <rudalics@gmx.at>
1152
1153 * window.el (window-total-size): Make doc-string more self-contained.
1154
1155 * window.el (display-buffer-below-selected): Restore original
1156 behavior if buffer is already displayed in the window below the
1157 selected one (Bug#18181).
1158
1159 2014-08-11 Stefan Monnier <monnier@iro.umontreal.ca>
1160
1161 * mouse.el (mouse--down-1-maybe-follows-link): Don't convert the down
1162 event (bug#18212).
1163
1164 2014-08-11 Eli Zaretskii <eliz@gnu.org>
1165
1166 * info.el (info): Doc fix.
1167
1168 2014-08-11 Stefan Monnier <monnier@iro.umontreal.ca>
1169
1170 * info.el (Info-mode-map): Override a global down-mouse-2 binding
1171 (bug#18212).
1172
1173 2014-08-11 Eli Zaretskii <eliz@gnu.org>
1174
1175 * simple.el (default-line-height): A floating-point value of
1176 line-spacing means a fraction of the default frame font's height,
1177 not of the font currently used by the 'default' face.
1178 Truncate the pixel value, like the display engine does.
1179 (window-screen-lines): Use window-inside-pixel-edges for
1180 determining the window height in pixels. (Bug#18195)
1181
1182 2014-08-11 Grégoire Jadi <daimrod@gmail.com>
1183
1184 * leim/quail/latin-post.el: Transform " __" into " _". (Bug#18023)
1185
1186 2014-08-10 Ulf Jasper <ulf.jasper@web.de>
1187
1188 Enumerate evaluated sexp diary entries (Bug#7911).
1189 * calendar/icalendar.el (icalendar-export-sexp-enumerate-all)
1190 (icalendar-export-sexp-enumeration-days): New.
1191 (icalendar-export-region): Now `icalendar--convert-to-ical'
1192 returns a cons cell or a list of cons cells.
1193 (icalendar--convert-to-ical): Take care of
1194 `icalendar-export-sexp-enumerate-all'. Return (a list of) cons cells.
1195 (icalendar--convert-ordinary-to-ical)
1196 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
1197 (icalendar--convert-block-to-ical, icalendar--convert-block-to-ical)
1198 (icalendar--convert-float-to-ical, icalendar--convert-cyclic-to-ical)
1199 (icalendar--convert-anniversary-to-ical): Return cons cell.
1200 (icalendar--convert-sexp-to-ical): Enumerate evaluated sexp
1201 entries. Return (list of) cons cells.
1202
1203 2014-08-09 Juri Linkov <juri@jurta.org>
1204
1205 * vc/vc-annotate.el (vc-annotate-background-mode): Add :set
1206 to reevaluate `vc-annotate-color-map'. (Bug#18189)
1207
1208 2014-08-09 Alan Mackenzie <acm@muc.de>
1209
1210 * progmodes/cc-fonts.el (c-font-lock-declarators): Remove check
1211 for top-level that can cause unacceptable slow-down in scrolling.
1212 See email Subject: Huge {...} blocks in C/C++ again, from Dmitry
1213 Antipov from 2013-10-14 in emacs-devel.
1214
1215 2014-08-08 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1216
1217 * ibuffer.el (ibuffer-mode-map): Use toggle button for
1218 `ibuffer-auto-mode' menu entry.
1219 (ibuffer-mode-hook): Add `ibuffer-auto-mode' customization option.
1220
1221 2014-08-08 Matthias Meulien <orontee@gmail.com>
1222
1223 * progmodes/prog-mode.el (prog-mode-hook): Make customizable.
1224 (Bug#16394)
1225
1226 2014-08-07 Martin Rudalics <rudalics@gmx.at>
1227
1228 * window.el (window--min-size-1): Explicitly set WINDOW arg in
1229 calls of window-min-pixel-height and window-min-pixel-width.
1230
1231 2014-08-07 Reuben Thomas <rrt@sc3d.org>
1232
1233 * progmodes/ada-mode.el:
1234 * net/tramp.el (tramp-handle-file-symlink-p):
1235 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Remove a comment
1236 about VMS, which we no longer support.
1237 * progmodes/ada-xref.el (ada-xref-current): Remove mention of VMS,
1238 and fix a FIXME, using convert-standard-filename in place of
1239 removed ada-convert-file-name.
1240
1241 2014-08-07 Eli Zaretskii <eliz@gnu.org>
1242
1243 * files.el (auto-mode-alist): Remove support for VMS from a pattern.
1244
1245 2014-08-07 Reuben Thomas <rrt@sc3d.org>
1246
1247 Refer to MS-DOS using the same name everywhere.
1248 * arc-mode.el, files.el, frame.el: ``MS-DOG'', ``MSDOG'' and
1249 ``msdog'' become ``MS-DOS''.
1250
1251 2014-08-07 Michael Albinus <michael.albinus@gmx.de>
1252
1253 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
1254 Use cached "remote-copy-args" value, if available. (Bug#18199)
1255
1256 2014-08-07 Leo Liu <sdl.web@gmail.com>
1257
1258 * help.el (temp-buffer-setup-hook,temp-buffer-show-hook):
1259 Revert change on 2014-03-22.
1260
1261 2014-08-06 Ulf Jasper <ulf.jasper@web.de>
1262
1263 * calendar/icalendar.el (icalendar--diarytime-to-isotime)
1264 (icalendar--convert-ordinary-to-ical): Allow for missing minutes
1265 (Bug#13750).
1266
1267
1268 2014-08-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
1269
1270 * image-mode.el (image-toggle-display-image): Always rescale images
1271 to not be bigger than the current window.
1272
1273 2014-08-05 Eric Brown <brown@fastmail.fm> (tiny change)
1274
1275 * net/eww.el (eww-bookmarks-directory): New variable.
1276 (eww-write-bookmarks): Use it.
1277 (eww-read-bookmarks): Ditto.
1278
1279 2014-08-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
1280
1281 * net/shr.el (shr-copy-url): Also copy the image URL.
1282
1283 2014-08-05 Michael Albinus <michael.albinus@gmx.de>
1284
1285 * net/tramp-cache.el (tramp-flush-file-function): Suppress function
1286 also for Tramp working buffers.
1287
1288 2014-08-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
1289
1290 * progmodes/python.el: Fix completions inside (i)pdb.
1291 (python-shell-completion-pdb-string-code): Make obsolete.
1292 (python-shell-completion-get-completions):
1293 Use python-shell-completion-string-code resending setup code
1294 continuously for (i)pdb.
1295
1296 2014-08-04 Paul Eggert <eggert@cs.ucla.edu>
1297
1298 * rect.el (rectangle--default-line-number-format): Rename
1299 from misspelled rectange--default-line-number-format (Bug#18045).
1300 All uses changed.
1301
1302 2014-08-03 Paul Eggert <eggert@cs.ucla.edu>
1303
1304 Don't mishandle year-9999 dates (Bug#18176).
1305 * calendar/parse-time.el (parse-time-rules):
1306 Allow years up to most-positive-fixnum.
1307 * calendar/time-date.el (date-to-time):
1308 Pass "Specified time is not representable" errors through.
1309
1310 2014-08-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
1311
1312 * progmodes/python.el: Completion code cleanups.
1313 (python-shell-completion-get-completions): Detect and send import
1314 statements directly to completion function.
1315 (python-shell-completion-at-point): Simplify prompt calculation
1316 and import vs input completion logic.
1317
1318 2014-08-02 Alan Mackenzie <acm@muc.de>
1319
1320 Fix confusion in C++ file caused by comma in "= {1,2},".
1321 Bug #17756.
1322 * progmodes/cc-engine.el (c-beginning-of-statement-1): In checking
1323 for a statement boundary marked by "}", check there's no "="
1324 before the "{".
1325 (c-guess-basic-syntax CASE 9B): Call c-beginning-of-statement with
1326 non-nil `comma-delim' argument.
1327 * progmodes/cc-fonts.el (c-font-lock-declarators): Parse an
1328 initializer expression more accurately.
1329
1330 Correct loop termination condition in c-syntactic-skip-backward.
1331 * progmodes/cc-engine.el (c-syntactic-skip-backward): Correct for
1332 the situation where, after moving back out of a literal,
1333 skip-chars-backward doesn't move further, yet checks have still to
1334 be done.
1335
1336 2014-08-01 Eli Zaretskii <eliz@gnu.org>
1337
1338 * tutorial.el (tutorial--display-changes): Accept punctuation
1339 characters before the key binding. (Bug#18146)
1340
1341 2014-07-31 Fabián Ezequiel Gallina <fgallina@gnu.org>
1342
1343 * progmodes/python.el: Shell output capture enhancements.
1344 (python-shell-accept-process-output): New function.
1345 (inferior-python-mode)
1346 (python-shell-send-setup-code): Use it.
1347
1348 2014-07-30 Christophe Deleuze <christophe.deleuze@free.fr> (tiny change)
1349
1350 * calendar/icalendar.el (icalendar--decode-isodatetime):
1351 Use actual current-time-zone when converting to local time. (Bug#15408)
1352
1353 2014-07-29 Martin Rudalics <rudalics@gmx.at>
1354
1355 * window.el (window--state-put-2): Handle horizontal scroll
1356 bars, if present.
1357
1358 2014-07-29 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1359
1360 * menu-bar.el (menu-bar-update-buffers): Update item list format
1361 in `buffers-menu' to confirm with changes to `get_keyelt'
1362 (r117463). (Bug#18016)
1363
1364 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
1365
1366 * progmodes/python.el (inferior-python-mode): Make input prompts
1367 read-only.
1368
1369 2014-07-28 Emilio C. Lopes <eclig@gmx.net>
1370
1371 * net/tramp-sh.el (tramp-get-remote-python): Also search for
1372 executables named "python2" or "python3".
1373 (tramp-get-remote-uid-with-python): Use parentheses around
1374 arguments to `print' to make it compatible with Python 3.
1375 (tramp-get-remote-gid-with-python): Ditto. (Bug#18118)
1376
1377 2014-07-28 Eli Zaretskii <eliz@gnu.org>
1378
1379 * window.el (window--pixel-to-total): Use FRAME's root window, not
1380 that of the selected frame. (Bug#18112, Bug#16674)
1381
1382 2014-07-28 Andreas Schwab <schwab@linux-m68k.org>
1383
1384 * textmodes/tex-mode.el (tex-font-lock-verb): Doc fix.
1385 (Bug#18117)
1386
1387 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
1388
1389 * progmodes/python.el (inferior-python-mode): Doc fix.
1390
1391 2014-07-28 Stephen Berman <stephen.berman@gmx.net>
1392
1393 * calendar/todo-mode.el (todo-edit-item--next-key): If next key is
1394 not a character, ignore it instead of raising an error.
1395
1396 * calendar/todo-mode.el: Fix handling of marked items and make
1397 minor code improvements.
1398 (todo-edit-item): If there are marked items, ensure user can only
1399 invoke editing commands that work with marked items.
1400 (todo-edit-item--text): When there are marked items, make it a
1401 noop if invoked with point not on an item; otherwise, ensure it
1402 applies only to item at point.
1403 (todo-item-undone): If there are marked not-done items, return
1404 point to its original position before signaling user error.
1405 (todo--user-error-if-marked-done-item): New function.
1406 (todo-edit-item--header, todo-edit-item--diary-inclusion)
1407 (todo-item-done): Use it.
1408
1409 2014-07-28 Glenn Morris <rgm@gnu.org>
1410
1411 * files.el (toggle-read-only): Re-add basic doc-string.
1412 * vc/vc-hooks.el (vc-toggle-read-only): Tweak obsolescence mesage.
1413
1414 * progmodes/prolog.el (prolog-mode-keybindings-edit):
1415 Replace missing `switch-to-prolog' with `run-prolog'.
1416 (switch-to-prolog): Define as (obsolete) alias, as in 23.4.
1417
1418 2014-07-28 Stephen Berman <stephen.berman@gmx.net>
1419
1420 * calendar/todo-mode.el (todo-set-top-priorities): Fix overwriting
1421 of file-wide setting when changing category-wide setting.
1422
1423 2014-07-28 Stephen Berman <stephen.berman@gmx.net>
1424
1425 * doc-view.el (doc-view-open-text): Don't require that the
1426 document is saved in a file (e.g., email attachment).
1427
1428 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
1429
1430 Parse completion input in a iPython friendly way. (Bug#18084)
1431 * progmodes/python.el
1432 (python-shell-completion-at-point): Rename from
1433 python-shell-completion-complete-at-point.
1434 (inferior-python-mode): Use it.
1435 (python-completion-at-point): Rename from
1436 python-completion-complete-at-point. Parse input up to first
1437 backward occurrence of whitespace, open-paren, close-paren or
1438 string delimiter.
1439 (python-mode): Use it.
1440
1441 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
1442
1443 Prevent Python process shell buffer to pop twice.
1444 * progmodes/python.el (python-shell-switch-to-shell): Do not call
1445 pop-to-buffer.
1446
1447 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
1448
1449 * progmodes/python.el
1450 (python-shell-with-shell-buffer): New macro.
1451 (python-shell-font-lock-get-or-create-buffer)
1452 (python-shell-font-lock-kill-buffer)
1453 (python-shell-font-lock-with-font-lock-buffer)
1454 (python-shell-font-lock-cleanup-buffer)
1455 (python-shell-font-lock-toggle): Use it.
1456 (python-shell-font-lock-turn-on)
1457 (python-shell-font-lock-turn-off): Use it. Make command.
1458
1459 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
1460
1461 Grab all Python process output before inferior-python-mode hooks.
1462 * progmodes/python.el (inferior-python-mode):
1463 Call accept-process-output and sit-for to ensure all output for process
1464 has been received before running hooks.
1465 (python-shell-internal-get-or-create-process):
1466 Cleanup accept-process-output and sit-for calls.
1467
1468 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
1469
1470 More robust shell startup and code setup.
1471 * progmodes/python.el (python-shell-make-comint):
1472 Remove accept-process-output call.
1473 (python-shell-get-buffer): Return current buffer if major-mode is
1474 inferior-python-mode.
1475 (python-shell-get-or-create-process): Use it.
1476 (python-shell-send-setup-code): Send all setup code in one string,
1477 output success message and accept-process-output.
1478
1479 2014-07-27 Eli Zaretskii <eliz@gnu.org>
1480
1481 * scroll-bar.el (scroll-bar-toolkit-horizontal-scroll):
1482 Add rudimentary support for bidirectional text.
1483
1484 2014-07-27 Martin Rudalics <rudalics@gmx.at>
1485
1486 * frame.el (frame-notice-user-settings): Rewrite using
1487 frame-initial-frame-tool-bar-height.
1488 * menu-bar.el (menu-bar-horizontal-scroll-bar)
1489 (menu-bar-no-horizontal-scroll-bar): New functions.
1490 (menu-bar-showhide-scroll-bar-menu): Add bindings for horizontal
1491 scroll bars.
1492 * scroll-bar.el (scroll-bar-lines)
1493 (set-horizontal-scroll-bar-mode)
1494 (get-horizontal-scroll-bar-mode, horizontal-scroll-bar-mode)
1495 (scroll-bar-horizontal-drag-1, scroll-bar-horizontal-drag)
1496 (scroll-bar-toolkit-horizontal-scroll): New functions.
1497 (horizontal-scroll-bar-mode)
1498 (previous-horizontal-scroll-bar-mode)
1499 (horizontal-scroll-bar-mode-explicit): New variables.
1500 (horizontal-scroll-bar-mode): New option.
1501 (toggle-horizontal-scroll-bar): Do something.
1502 (top-level): Bind horizontal-scroll-bar mouse-1.
1503 * startup.el (tool-bar-originally-present): Remove variable.
1504 (command-line): Don't set tool-bar-originally-present.
1505 * window.el (window-min-height): Update doc-string.
1506 (window--dump-frame): Dump horizontal scroll bar values.
1507 (window--min-size-1): Handle minibuffer window separately.
1508 Count in margins and horizontal scroll bar. Return safe value
1509 iff IGNORE equals 'safe.
1510 (frame-windows-min-size): New function (used by frame resizing
1511 routines).
1512 (fit-frame-to-buffer, fit-window-to-buffer): Count in horizontal
1513 scroll bars.
1514 (window--sanitize-window-sizes): New function.
1515 (window-split-min-size): Remove.
1516 (split-window): Count divider-width. Don't use
1517 `window-split-min-size' any more. Reword error messages.
1518 Sanitize windows sizes after splitting.
1519
1520 2014-07-27 Thien-Thi Nguyen <ttn@gnu.org>
1521
1522 Use `defvar-local' more.
1523 * progmodes/hideshow.el
1524 (hs-c-start-regexp, hs-block-start-regexp)
1525 (hs-block-start-mdata-select, hs-block-end-regexp)
1526 (hs-forward-sexp-func, hs-adjust-block-beginning): ...here;
1527 remove corresponding `make-variable-buffer-local' top-level calls.
1528
1529 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
1530
1531 Cleanup error signals. (Bug#18067)
1532 * progmodes/python.el
1533 (python-indent-shift-left): Use user-error instead.
1534 (python-shell-prompt-detect): Use lwarn with python group.
1535 (python-completion-complete-at-point)
1536 (python-eldoc--get-doc-at-point): Don't signal error.
1537
1538 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
1539
1540 Support for packages in Python shell. (Bug#13570)
1541 * progmodes/python.el (python-shell--package-depth): New var.
1542 (python-shell-package-enable): New command.
1543 (python-util-list-directories, python-util-list-files)
1544 (python-util-list-packages): New functions.
1545
1546 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
1547
1548 Faster comint output. (Bug#16875)
1549 * progmodes/python.el:
1550 (python-comint-output-filter-function): Make obsolete.
1551 (python-comint-postoutput-scroll-to-bottom): New function.
1552 (inferior-python-mode): Set comint-output-filter-functions to a
1553 minimum.
1554
1555 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
1556
1557 * progmodes/python.el (python-shell-font-lock-post-command-hook):
1558 Safeguard current point and undo history.
1559
1560 2014-07-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
1561
1562 Robust shell syntax highlighting. (Bug#18084, Bug#16875)
1563 * progmodes/python.el:
1564 (python-shell-prompt-input-regexps): Add iPython block prompt.
1565 (python-shell-output-syntax-table): Delete var.
1566 (python-shell-font-lock-with-font-lock-buffer): New macro.
1567 (python-shell-font-lock-get-or-create-buffer)
1568 (python-shell-font-lock-kill-buffer)
1569 (python-shell-font-lock-cleanup-buffer)
1570 (python-shell-font-lock-post-command-hook)
1571 (python-shell-font-lock-turn-off): New functions.
1572 (python-shell-font-lock-turn-on): New function.
1573 (inferior-python-mode): Use it.
1574 (python-shell-font-lock-toggle): New command.
1575 (python-shell-font-lock-enable): Rename from
1576 python-shell-enable-font-lock.
1577 (run-python-internal): Use it.
1578 (python-shell-font-lock-comint-output-filter-function): New function.
1579 (python-shell-comint-end-of-output-p): New function.
1580 (python-shell-output-filter): Use it.
1581 (python-util-comint-last-prompt): New function.
1582 (python-util-text-properties-replace-name): New function.
1583
1584 2014-07-25 Glenn Morris <rgm@gnu.org>
1585
1586 * vc/ediff-init.el (ediff-toggle-read-only-function):
1587 * vc/ediff-util.el (ediff-toggle-read-only):
1588 Replace obsolete toggle-read-only with read-only-mode.
1589
1590 2014-07-24 Michael Albinus <michael.albinus@gmx.de>
1591
1592 * net/tramp-cache.el (tramp-flush-file-function): Wrap the code
1593 with `save-match-data'. (Bug#18095)
1594
1595 2014-07-21 Vincent Belaïche <vincentb1@users.sourceforge.net>
1596
1597 * ses.el (ses-truncate-cell): Use cl-progv instead of eval in
1598 order to ensure that row and col are lexically bound inside the
1599 evaluated sexp.
1600
1601 2014-07-21 Glenn Morris <rgm@gnu.org>
1602
1603 * progmodes/hideif.el (hide-ifdef-mode-submap):
1604 Also substitute read-only-mode.
1605 * bindings.el (mode-line-toggle-read-only):
1606 * bs.el (bs-toggle-readonly):
1607 * buff-menu.el (Buffer-menu-toggle-read-only):
1608 * dired.el (dired-toggle-read-only):
1609 * files.el (view-read-only, find-file-read-only)
1610 (find-file-read-only-other-window)
1611 (find-file-read-only-other-frame):
1612 * progmodes/hideif.el (hide-ifdef-toggle-outside-read-only):
1613 Doc fixes re toggle-read-only.
1614
1615 2014-07-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
1616
1617 * progmodes/python.el: Add comment about pipe buffering and
1618 solutions for missing/delayed output in inferior Python shells.
1619 (Bug#17304)
1620
1621 * progmodes/python.el (python-mode): Don't set
1622 mode-require-final-newline. (Bug#17990)
1623
1624 Make python.el work with IPython automatically. (Bug#15510)
1625 * progmodes/python.el:
1626 (python-shell-completion-setup-code): New value supporting iPython.
1627 (python-shell-completion-string-code): New value supporting iPython.
1628 (python-shell-completion-get-completions): Use them.
1629 (python-shell-completion-module-string-code): Make obsolete.
1630 (python-shell-prompt-input-regexps)
1631 (python-shell-prompt-output-regexps): Add safeguard for ipdb.
1632 (python-shell-output-filter): Fix comment typo.
1633
1634 Fix Python shell prompts detection for remote hosts.
1635 * progmodes/python.el (python-shell-prompt-detect):
1636 Replace call-process with process-file and make it more robust.
1637
1638 Autodetect Python shell prompts. (Bug#17370)
1639 * progmodes/python.el:
1640 (python-shell-interpreter-interactive-arg)
1641 (python-shell-prompt-detect-enabled)
1642 (python-shell-prompt-detect-failure-warning)
1643 (python-shell-prompt-input-regexps)
1644 (python-shell-prompt-output-regexps): New vars.
1645 (python-shell-prompt-calculated-input-regexp)
1646 (python-shell-prompt-calculated-output-regexp): New vars.
1647 (python-shell-get-process-name)
1648 (python-shell-internal-get-process-name)
1649 (python-shell-output-filter)
1650 (python-shell-completion-get-completions): Use them.
1651 (python-shell-prompt-detect)
1652 (python-shell-prompt-validate-regexps): New functions.
1653 (python-shell-prompt-set-calculated-regexps): New function.
1654 (inferior-python-mode): Use it. Also honor overriden
1655 python-shell-interpreter and python-shell-interpreter-args.
1656 (python-shell-make-comint): Honor overriden
1657 python-shell-interpreter and python-shell-interpreter-args.
1658 (python-shell-get-or-create-process): Make it testable by allowing
1659 to call run-python non-interactively.
1660 (python-util-valid-regexp-p): New function.
1661 (python-shell-prompt-regexp, python-shell-prompt-block-regexp)
1662 (python-shell-prompt-output-regexp)
1663 (python-shell-prompt-pdb-regexp): Use it as defcustom :safe.
1664
1665 2014-07-21 Stefan Monnier <monnier@iro.umontreal.ca>
1666
1667 * emacs-lisp/smie.el (smie-config--guess-1): Split from
1668 smie-config--guess.
1669 (smie-config--guess): Use it.
1670
1671 * emacs-lisp/edebug.el: Use nadvice.
1672 (edebug-original-read): Remove.
1673 (edebug--read): Rename from edebug-read and add `orig' arg.
1674 (edebug-uninstall-read-eval-functions)
1675 (edebug-install-read-eval-functions): Use nadvice.
1676 (edebug-read-sexp, edebug-read-storing-offsets, edebug-read-symbol)
1677 (edebug-read-and-maybe-wrap-form1, edebug-instrument-callee)
1678 (edebug-read-string, edebug-read-function): Use just `read'.
1679 (edebug-original-debug-on-entry): Remove.
1680 (edebug--debug-on-entry): Rename from edebug-debug-on-entry and add
1681 `orig' arg.
1682 (debug-on-entry): Override with nadvice.
1683
1684 * mouse.el (tear-off-window): Rename from mouse-tear-off-window since
1685 it also makes sense to bind it to a non-mouse event.
1686
1687 * vc/vc-bzr.el (vc-bzr-shelve): Make it operate on fileset.
1688
1689 2014-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
1690
1691 * xt-mouse.el (xterm-mouse-event): Don't assume last-click is non-nil
1692 (bug#18015).
1693
1694 * rect.el (rectangle--string-preview): Don't assume there
1695 a non-nil default (bug#17984).
1696
1697 2014-07-16 Glenn Morris <rgm@gnu.org>
1698
1699 * desktop.el (after-init-hook): Disable startup frame restoration
1700 in non-graphical situations. (Bug#17693)
1701
1702 * vc/vc-dispatcher.el (vc-log-edit): Do set up the log buffer
1703 if it was "empty", or used for a different set of files. (Bug#17884)
1704
1705 2014-07-16 Eli Zaretskii <eliz@gnu.org>
1706
1707 * bindings.el (mode-line-remote): If default-directory is not a
1708 string, don't call file-remote-p on it; instead state in the
1709 help-echo that it is nil. (Bug#17986)
1710
1711 2014-07-14 Daniel Colascione <dancol@dancol.org>
1712
1713 * progmodes/cc-langs.el: Change comments from `cl-macroexpand-all'
1714 to `macroexpand-all'
1715
1716 * progmodes/cc-defs.el (c-lang-defconst-eval-immediately):
1717 Use `macroexpand-all' instead of `cl-macroexpand-all'.
1718
1719 2014-07-12 Paul Eggert <eggert@cs.ucla.edu>
1720
1721 Fix bug: C-x v v discarded existing log message (Bug#17884).
1722 * vc/vc-dispatcher.el (vc-log-edit):
1723 Don't clobber an already-existing log message.
1724
1725 2014-07-12 Glenn Morris <rgm@gnu.org>
1726
1727 * vc/log-edit.el (log-edit-changelog-entries):
1728 Check for a visited-but-never-saved ChangeLog.
1729
1730 2014-07-12 Stefan Monnier <monnier@iro.umontreal.ca>
1731
1732 * vc/log-edit.el (log-edit-changelog-entries): Don't both visiting
1733 a non-existing file (bug#17970).
1734
1735 * faces.el (face-name): Undo last change.
1736 (x-resolve-font-name): Don't call face-name (bug#17956).
1737
1738 2014-07-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
1739
1740 Fix dedenters and electric colon handling. (Bug#15163)
1741 * progmodes/python.el
1742 (python-rx-constituents): Add dedenter and block-ender.
1743 (python-indent-dedenters, python-indent-block-enders): Delete.
1744 (python-indent-context): Return new case for dedenter-statement.
1745 (python-indent-calculate-indentation): Handle new case.
1746 (python-indent-calculate-levels): Fix levels calculation for
1747 dedenter statements.
1748 (python-indent-post-self-insert-function): Fix colon handling.
1749 (python-info-dedenter-opening-block-message): New function.
1750 (python-indent-line): Use it.
1751 (python-info-closing-block)
1752 (python-info-closing-block-message): Remove.
1753 (python-info-dedenter-opening-block-position)
1754 (python-info-dedenter-opening-block-positions)
1755 (python-info-dedenter-statement-p): New functions.
1756
1757 2014-07-11 Dmitry Antipov <dmantipov@yandex.ru>
1758
1759 * files.el (out-of-memory-warning-percentage): New defcustom.
1760 (warn-maybe-out-of-memory): Use it.
1761
1762 2014-07-11 Michael Albinus <michael.albinus@gmx.de>
1763
1764 * subr.el (read-passwd): Use `read-hide-char' if non-nil. Bind it
1765 when calling `read-string'. (Bug#17839)
1766
1767 2014-07-10 Eli Zaretskii <eliz@gnu.org>
1768
1769 * files.el (warn-maybe-out-of-memory): Fix the wording of the
1770 warning.
1771
1772 2014-07-10 Dmitry Antipov <dmantipov@yandex.ru>
1773
1774 * files.el (warn-maybe-out-of-memory): New function.
1775 (find-file-noselect): Use it.
1776
1777 2014-07-09 Sam Steingold <sds@gnu.org>
1778
1779 * progmodes/cperl-mode.el (cperl-block-p): Treat the perl keyword
1780 `constant' like `bless', `return' &c
1781
1782 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
1783
1784 * rect.el (apply-on-rectangle): Check forward-line really moved to the
1785 next line.
1786
1787 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
1788
1789 * progmodes/sh-script.el (sh-smie-sh-rules): Don't align with a && in
1790 the middle of a line (bug#17896).
1791
1792 2014-07-09 Juri Linkov <juri@jurta.org>
1793
1794 * startup.el (command-line): Append displaying the warning about
1795 the errors in the init file to the end of `after-init-hook'.
1796 (Bug#17927)
1797
1798 * faces.el (face-name): Return input arg `face' as-is
1799 when it's not a symbol.
1800 (x-resolve-font-name): Don't check if the face is a symbol.
1801 (Bug#17956)
1802
1803 * facemenu.el (list-colors-print): In help-echo format use %.2f
1804 instead of %d because now HSV values are floating-point components
1805 between 0.0 and 1.0.
1806
1807 2014-07-09 Glenn Morris <rgm@gnu.org>
1808
1809 * emulation/cua-rect.el (cua--activate-rectangle):
1810 Avoid setting cua--rectangle to nil. (Bug#17877)
1811
1812 2014-07-09 Stephen Berman <stephen.berman@gmx.net>
1813
1814 * calendar/todo-mode.el: Fix wrong-type-argument error when
1815 marking multiple consecutive items.
1816 (todo-toggle-mark-item): Don't try to mark the empty lines at the
1817 end of the todo and done items sections. Note in doc string that
1818 items marked by passing a numeric prefix argument can include the
1819 last todo and first done items.
1820 (todo-mark-category): Don't try to mark the empty line between the
1821 todo and done items sections.
1822
1823 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
1824
1825 * emacs-lisp/edebug.el (edebug-eval-defun): Print result using
1826 proper Lisp quoting (bug#17934).
1827
1828 * progmodes/ruby-mode.el (ruby-mode-variables): Don't meddle with
1829 require-final-newline since prog-mode already took care of it (bug#17947).
1830
1831 2014-07-09 Stephen Berman <stephen.berman@gmx.net>
1832
1833 * calendar/todo-mode.el: Fix two bugs. Shorten Commentary and
1834 refer to the Todo mode Info manual. Update the comment on
1835 requiring cl-lib.
1836 (todo-find-filtered-items-file): Add todo-prefix overlays.
1837 (todo-filter-items): Reorder a let-bound variable to avoid a
1838 wrong-type-argument error on canceling the file choice dialog.
1839
1840 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
1841
1842 * progmodes/octave.el (inferior-octave-mode):
1843 Set comint-input-ring-size to a number (bug#17912).
1844
1845 2014-07-09 Juri Linkov <juri@jurta.org>
1846
1847 * desktop.el (desktop-minor-mode-table): Add `defining-kbd-macro'
1848 and `isearch-mode' associated with nil. (Bug#17849)
1849
1850 2014-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
1851
1852 * linum.el (linum--face-height): New function (bug#17813).
1853 (linum-update-window): Use it to adjust margin to linum's width.
1854
1855 * leim/quail/sisheng.el (sisheng-list): Don't bother with-case-table.
1856 * eshell/em-smart.el (eshell-smart-scroll-window):
1857 Use with-selected-window.
1858
1859 * xt-mouse.el (xterm-mouse-translate-1): Intern drag event (bug#17894).
1860 Remove also pointless window&mark manipulation.
1861
1862 * progmodes/perl-mode.el: Use syntax-ppss; fix one indentation case.
1863 (perl-indent-line): Use syntax-ppss to detect we're in a doc-section.
1864 (perl-continuation-line-p): Don't skip over anything else than labels.
1865 Return the previous char.
1866 (perl-calculate-indent): Use syntax-ppss instead of parse-start
1867 and update callers accordingly. For continuation lines, check the
1868 the case of array hashes.
1869 (perl-backward-to-noncomment): Make it non-interactive.
1870 (perl-backward-to-start-of-continued-exp): Rewrite.
1871
1872 2014-07-08 Sam Steingold <sds@gnu.org>
1873
1874 * progmodes/inf-lisp.el (lisp-eval-paragraph, lisp-eval-form-and-next):
1875 New user commands.
1876
1877 2014-07-08 Juri Linkov <juri@jurta.org>
1878
1879 * vc/vc-annotate.el (vc-annotate-background-mode): New defcustom.
1880 (vc-annotate-color-map): Use less saturated colors (20%) for
1881 background-mode.
1882 (vc-annotate-very-old-color): Add default value for background-mode.
1883 (vc-annotate-background): Set default value to nil since now text on
1884 the default backgrounds should be legible in light and dark modes.
1885 (vc-annotate-lines): Use `vc-annotate-background-mode'. Doc fix.
1886 (Bug#17808)
1887
1888 2014-07-08 Juri Linkov <juri@jurta.org>
1889
1890 * simple.el (transpose-chars): Don't move point into read-only area.
1891 (Bug#17829)
1892
1893 2014-07-08 Juri Linkov <juri@jurta.org>
1894
1895 * window.el (with-displayed-buffer-window): New macro.
1896 (with-temp-buffer-window, with-current-buffer-window):
1897 Use `macroexp-let2' to evaluate and bind variables
1898 in the same order as macro arguments.
1899 (display-buffer--action-function-custom-type):
1900 Add `display-buffer-below-selected' and `display-buffer-at-bottom'.
1901
1902 * minibuffer.el (minibuffer-completion-help): Replace
1903 `with-output-to-temp-buffer' with `with-displayed-buffer-window'
1904 with actions that display *Completions* at-bottom when called
1905 from the minibuffer, or below-selected in a normal buffer.
1906 Associate `window-height' with `fit-window-to-buffer'.
1907 Let-bind `pop-up-windows' to nil.
1908
1909 * dired.el (dired-mark-pop-up): Use `with-displayed-buffer-window'
1910 instead of `with-current-buffer-window'. (Bug#17809)
1911
1912 2014-07-07 Luke Lee <luke.yx.lee@gmail.com>
1913
1914 * progmodes/hideif.el (hide-ifdef-env): Change to global.
1915 (hide-ifdef-env-backup): New variable.
1916 (hide-ifdef-expand-reinclusion-protection, hide-ifdef-header-regexp):
1917 New customizable variables.
1918 (hif-clear-all-ifdef-defined): New defun.
1919 (hif-merge-ifdef-region, hide-ifdef-region-internal, hide-ifdef-region)
1920 (hif-show-ifdef-region): Merge hidden regions to prevent continuous "...".
1921 (hif-tokenize): Fix for MS-DOS/Win EOL style.
1922 (hif-endif-to-ifdef, hif-make-range, hif-find-range, hif-possibly-hide):
1923 Fix bug to hide the correct #elif region(s).
1924 (hif-range-elif): New defun.
1925 (hif-recurse-level): New var.
1926 (hif-evaluate-region, hif-evaluate-macro): New defun.
1927 (hide-ifdef-guts): Prevent reinclusion protected C/C++ headers from
1928 fully hidden.
1929 (hide-ifdef-define, hide-ifdefs, hide-ifdef-block, show-ifdef-block):
1930 Better interaction.
1931
1932 2014-07-04 Michael Albinus <michael.albinus@gmx.de>
1933
1934 * net/dbus.el (dbus-peer-handler): New defun.
1935 (dbus-register-service): Register it. (Bug#17858)
1936 (dbus-managed-objects-handler): Fix docstring.
1937
1938 2014-07-04 Phil Sainty <psainty@orcon.net.nz>
1939
1940 * emacs-lisp/lisp.el (narrow-to-defun-include-comments): New var.
1941 (narrow-to-defun): New arg include-comments, defaulting to it
1942 (bug#16328).
1943
1944 2014-07-03 Stefan Monnier <monnier@iro.umontreal.ca>
1945
1946 * rect.el (rectangle--highlight-for-redisplay): Don't pass `orig' with
1947 different calling convention to rectangle--unhighlight-for-redisplay.
1948
1949 2014-07-03 Michael Albinus <michael.albinus@gmx.de>
1950
1951 * net/tramp.el (tramp-call-process): Handle error strings.
1952
1953 * net/tramp-adb.el (tramp-adb-sh-fix-ls-output): Use `bolp'.
1954
1955 * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime)
1956 (tramp-sh-handle-verify-visited-file-modtime): Use `point-at-eol'.
1957
1958 * net/trampver.el: Update release number.
1959
1960 2014-07-03 Juri Linkov <juri@jurta.org>
1961
1962 * desktop.el (desktop-save): Rename arg `auto-save' to
1963 `only-if-changed'. Doc fix. (Bug#17873)
1964
1965 2014-07-03 Stefan Monnier <monnier@iro.umontreal.ca>
1966
1967 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
1968 Use insert-for-yank (bug#17271).
1969
1970 2014-07-03 Leo Liu <sdl.web@gmail.com>
1971
1972 * emacs-lisp/pp.el (pp-eval-expression, pp-eval-last-sexp):
1973 Support lexical-binding.
1974
1975 2014-07-03 Stefan Monnier <monnier@iro.umontreal.ca>
1976
1977 * vc/log-edit.el (log-edit-goto-eoh): New function.
1978 (log-edit--match-first-line): Use it (bug#17861).
1979
1980 2014-07-03 Glenn Morris <rgm@gnu.org>
1981
1982 * vc/log-edit.el (log-edit-hook): Add missing :version.
1983
1984 2014-07-03 Fabián Ezequiel Gallina <fgallina@gnu.org>
1985
1986 * progmodes/python.el (python-indent-post-self-insert-function):
1987 Enhancements to electric indentation behavior inside
1988 parens. (Bug#17658)
1989
1990 2014-07-03 Stefan Monnier <monnier@iro.umontreal.ca>
1991
1992 * ps-def.el (ps-generate-postscript-with-faces1): Don't mess with
1993 buffer-invisibility-spec (bug#17867).
1994
1995 2014-07-03 Andreas Schwab <schwab@linux-m68k.org>
1996
1997 * vc/vc-git.el (vc-git-checkin): When operating on the whole tree
1998 pass "-a".
1999
2000 2014-07-03 Glenn Morris <rgm@gnu.org>
2001
2002 * cus-edit.el (help):
2003 * finder.el (finder-known-keywords):
2004 * help.el (help-for-help-internal):
2005 * vc/ediff-mult.el (ediff-meta-buffer-verbose-message)
2006 (ediff-redraw-registry-buffer):
2007 * vc/ediff-ptch.el (ediff-patch-file-internal):
2008 Doc fixes re "online" help. (Bug#17803)
2009
2010 * progmodes/idlwave.el (idlwave): Update url-link for custom group.
2011 (idlwave-mode): Doc URL update.
2012
2013 2014-07-01 Juri Linkov <juri@jurta.org>
2014
2015 * man.el: Display man pages immediately and use process-filter
2016 to format them asynchronously.
2017 (Man-width): Doc fix.
2018 (man): Doc fix.
2019 (Man-start-calling): Use `with-selected-window' to get
2020 `frame-width' and `window-width'.
2021 (Man-getpage-in-background): Call `Man-notify-when-ready'
2022 immediately after creating a new buffer. Call `Man-mode' and set
2023 `mode-line-process' in the created buffer. Set process-filter to
2024 `Man-bgproc-filter' in start-process branch. In call-process branch
2025 call either `Man-fontify-manpage' or `Man-cleanup-manpage'.
2026 Use `Man-start-calling' inside `with-current-buffer'.
2027 (Man-fontify-manpage): Don't print messages. Fix boundary condition.
2028 (Man-cleanup-manpage): Don't print messages.
2029 (Man-bgproc-filter): New function.
2030 (Man-bgproc-sentinel): Add `save-excursion' to keep point when
2031 user moved it during asynchronous formatting. Move calls of
2032 `Man-fontify-manpage' and `Man-cleanup-manpage' to
2033 `Man-bgproc-filter'. Move the call of `Man-mode' to
2034 `Man-getpage-in-background'. Use `quit-restore-window'
2035 instead of `kill-buffer'. Use `message' instead of `error'
2036 because errors are caught by process sentinel.
2037 (Man-mode): Move calls of `Man-build-page-list',
2038 `Man-strip-page-headers', `Man-unindent', `Man-goto-page' to
2039 `Man-bgproc-sentinel'. Doc fix. (Bug#2588, bug#5054, bug#9084, bug#17831)
2040
2041 * man.el (Man-bgproc-sentinel): Use `Man-page-from-arguments'
2042 for the message about the man page cleaned up.
2043
2044 2014-07-01 Mario Lang <mlang@delysid.org>
2045
2046 * net/gnutls.el (gnutls-negotiate): Prevent destructive modification of
2047 cosutomization option `gnutls-verify-error'.
2048
2049 2014-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
2050
2051 * simple.el (deactivate-mark, set-mark-command, handle-shift-selection):
2052 Don't keep transient-mark-mode buffer-local when not needed (bug#6316).
2053
2054 * xt-mouse.el (turn-on-xterm-mouse-tracking-on-terminal)
2055 (turn-off-xterm-mouse-tracking-on-terminal): Don't burp if the terminal
2056 is suspended (bug#17857).
2057
2058 2014-07-01 Michael Albinus <michael.albinus@gmx.de>
2059
2060 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
2061 Prefer utf-8 coding. (Bug#17859)
2062
2063 2014-06-30 Fabián Ezequiel Gallina <fgallina@gnu.org>
2064
2065 * emacs-lisp/subr-x.el (string-reverse): Define as obsolete alias
2066 for `reverse'.
2067
2068 2014-06-30 Glenn Morris <rgm@gnu.org>
2069
2070 * emacs-lisp/autoload.el (autoload-ensure-writable): New variable.
2071 (autoload-ensure-default-file): Maybe make existing output writable.
2072 * Makefile.in (AUTOGEN_VCS): Remove.
2073 (autoloads): Use autoload-ensure-writable rather than AUTOGEN_VCS.
2074
2075 2014-06-30 Fabián Ezequiel Gallina <fgallina@gnu.org>
2076
2077 * emacs-lisp/subr-x.el (string-reverse): Use `reverse'.
2078
2079 2014-06-30 Fabián Ezequiel Gallina <fgallina@gnu.org>
2080
2081 New if-let, when-let, thread-first and thread-last macros.
2082
2083 * emacs-lisp/subr-x.el
2084 (internal--listify, internal--check-binding)
2085 (internal--build-binding-value-form, internal--build-binding)
2086 (internal--build-bindings): New functions.
2087 (internal--thread-argument, thread-first, thread-last)
2088 (if-let, when-let): New macros.
2089
2090 2014-06-30 Grégoire Jadi <daimrod@gmail.com>
2091
2092 * net/rcirc.el (rcirc-buffer-process): Restore previous
2093 behaviour. (Bug#17772)
2094
2095 2014-06-29 Alan Mackenzie <acm@muc.de>
2096
2097 Don't call c-parse-state when c++-template-syntax-table is active.
2098 * progmodes/cc-engine.el (c-guess-continued-construct CASE G)
2099 (c-guess-basic-syntax CASE 5D.3): Rearrange so that
2100 c-syntactic-skip-backwards isn't called with the pertinent syntax table.
2101
2102 2014-06-28 Stephen Berman <stephen.berman@gmx.net>
2103
2104 * calendar/todo-mode.el (todo-set-top-priorities): Fix logic to
2105 account for file-wide setting of todo-top-priorities-overrides.
2106 Make code a bit cleaner.
2107
2108 2014-06-28 Glenn Morris <rgm@gnu.org>
2109
2110 * net/eww.el (eww-mode) <eww-current-title>: Make local. (Bug#17860)
2111
2112 2014-06-28 Stephen Berman <stephen.berman@gmx.net>
2113
2114 * calendar/todo-mode.el (todo-prefix-overlays): If there is no
2115 category-wide setting of todo-top-priorities-overrides, check for
2116 a file-wide setting and fontify accordingly.
2117
2118 2014-06-28 Glenn Morris <rgm@gnu.org>
2119
2120 * subr.el (read-passwd): Warn about batch mode. (Bug#17839)
2121
2122 2014-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
2123
2124 * progmodes/hideif.el: Use lexical-binding. Fix up cl-lib usage.
2125
2126 2014-06-28 K. Handa <handa@gnu.org>
2127
2128 Fix Bug#17739.
2129
2130 * composite.el: Setup composition-function-table for dotted circle.
2131 (compose-gstring-for-dotted-circle): New function.
2132
2133 * international/characters.el: Add category "^" to all
2134 non-spacing characters.
2135
2136 2014-06-28 Glenn Morris <rgm@gnu.org>
2137
2138 * Makefile.in (doit): Remove force rule.
2139 (custom-deps, finder-data, autoloads, update-subdirs)
2140 (compile-one-process): PHONY targets do not need force rules.
2141
2142 * Makefile.in (compile-main, compile, compile-always):
2143 No need to explicitly pass variables to ourself in recursive calls.
2144
2145 2014-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
2146
2147 * files.el (minibuffer-with-setup-hook): Evaluate the first arg eagerly.
2148
2149 2014-06-26 Glenn Morris <rgm@gnu.org>
2150
2151 * Makefile.in (update-authors): Update for moved authors.el.
2152
2153 2014-06-26 Leo Liu <sdl.web@gmail.com>
2154
2155 * skeleton.el (skeleton-end-hook): Default to nil and move the
2156 work to skeleton-insert. (Bug#17850)
2157
2158 2014-06-26 Dmitry Antipov <dmantipov@yandex.ru>
2159
2160 * calc/calc-alg.el (math-beforep):
2161 * progmodes/cc-guess.el (c-guess-view-reorder-offsets-alist-in-style):
2162 Simplify because string-lessp can accept symbols as args.
2163
2164 2014-06-26 Daiki Ueno <ueno@gnu.org>
2165
2166 * emacs-lisp/package.el (package--check-signature):
2167 If package-check-signature is allow-unsigned, don't signal error when
2168 we can't verify signature because of missing public key
2169 (bug#17625).
2170
2171 2014-06-26 Glenn Morris <rgm@gnu.org>
2172
2173 * emacs-lisp/cl-macs.el (help-add-fundoc-usage):
2174 Remove outdated declaration.
2175
2176 * emacs-lisp/authors.el (authors-valid-file-names)
2177 (authors-renamed-files-alist): Additions.
2178
2179 2014-06-26 Leo Liu <sdl.web@gmail.com>
2180
2181 * textmodes/picture.el (picture-set-tab-stops):
2182 * ruler-mode.el (ruler-mode-mouse-add-tab-stop)
2183 (ruler-mode-ruler): Fix to work with nil tab-stop-list.
2184
2185 * progmodes/asm-mode.el (asm-calculate-indentation):
2186 Use indent-next-tab-stop.
2187
2188 * indent.el (indent-accumulate-tab-stops): New function.
2189
2190 2014-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
2191
2192 * emacs-lisp/package.el (package-list-unsigned): New var (bug#17625).
2193 (package-desc-status): Obey it.
2194
2195 2014-06-26 Stephen Berman <stephen.berman@gmx.net>
2196
2197 * calendar/todo-mode.el: Fix two bugs.
2198 (todo-insert-item--basic): If user cancels item insertion to
2199 another category before setting priority, show original category
2200 whether it is in the same or a different file.
2201 (todo-set-item-priority): After selecting category, instead of
2202 moving point to top, which extends an active region, restore it.
2203
2204 2014-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
2205
2206 * help-fns.el (describe-function-1): Check file-name is a string before
2207 calling help-fns--autoloaded-p (bug#17564).
2208
2209 2014-06-26 Juri Linkov <juri@jurta.org>
2210
2211 * desktop.el (desktop-auto-save-enable)
2212 (desktop-auto-save-disable): New functions.
2213 (desktop-save-mode, desktop-auto-save-timeout): Use them.
2214 (desktop-read): Disable the autosave before loading the desktop,
2215 and enable afterwards. (Bug#17351)
2216
2217 2014-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
2218
2219 Fix some indentation problem with \; and pipes (bug#17842).
2220 * progmodes/sh-script.el (sh-mode-syntax-table): Set syntax of ;|&.
2221 (sh-smie--default-forward-token, sh-smie--default-backward-token):
2222 New functions.
2223 (sh-smie-sh-forward-token, sh-smie-sh-backward-token)
2224 (sh-smie-rc-forward-token, sh-smie-rc-backward-token): Use them.
2225 (sh-smie-sh-rules): Fix indentation of a pipe at BOL.
2226
2227 2014-06-26 Glenn Morris <rgm@gnu.org>
2228
2229 * emacs-lisp/find-func.el (find-function-C-source-directory):
2230 Use file-accessible-directory-p.
2231
2232 * ps-samp.el: Make it slightly less awful.
2233 (ps-rmail-mode-hook, ps-gnus-article-prepare-hook, ps-vm-mode-hook):
2234 (ps-gnus-summary-setup, ps-info-mode-hook): Use [print] key.
2235 Only set local values.
2236 (ps-article-subject, ps-article-author): Use standard functions
2237 like mail-fetch-field.
2238 (ps-info-file, ps-info-node): Use match-string.
2239 (ps-jts-ps-setup, ps-jack-setup): Remove, merging into...
2240 (ps-samp-ps-setup): ... new function.
2241
2242 * progmodes/idlw-shell.el (idlwave-shell-make-temp-file):
2243 Optimize away code unneeded on any modern Emacs.
2244
2245 * emacs-lisp/authors.el: Move to ../admin.
2246
2247 * emacs-lisp/ert.el (ert-summarize-tests-batch-and-exit): New.
2248
2249 2014-06-26 Luke Lee <luke.yx.lee@gmail.com>
2250
2251 * progmodes/hideif.el (hif-string-to-number): Fix return value bug.
2252 (hif-simple-token-only, hif-tokenize): Comment in detail mainly for
2253 performance enhancements.
2254 (hif-parse-if-exp): Rename to `hif-parse-exp'. Enhance for macro
2255 expansion.
2256 (hif-factor, hif-string-concatenation, intern-safe): Support string
2257 concatenation and argumented macro expansion.
2258 (hif-if-valid-identifier-p, hif-define-operator, hif-flatten)
2259 (hif-expand-token-list, hif-get-argument-list, hif-define-macro)
2260 (hif-delimit, hif-macro-supply-arguments, hif-invoke, hif-canonicalize)
2261 (hif-canonicalize-tokens, hif-place-macro-invocation)
2262 (hif-parse-macro-arglist): Mostly new functions for supporting
2263 argumented macro expansion.
2264 (hif-string-concatenation, hif-stringify, hif-token-concat)
2265 (hif-token-stringification, hif-token-concatenation):
2266 Stringification and concatenation.
2267 (hif-find-next-relevant): Fix comments.
2268 (hif-ifdef-to-endif, hif-looking-at-elif, hif-hide-line): Bug fix for
2269 some cases involving #elif.
2270 (hif-find-define, hif-add-new-defines): New functions for automatically
2271 scanning of defined symbols.
2272 (hide-ifdef-guts): Fix for defined symbol auto scanning.
2273 (hide-ifdef-undef): Fix behavior to match CPP.
2274
2275 2014-06-25 Glenn Morris <rgm@gnu.org>
2276
2277 * Makefile.in ($(lisp)/progmodes/cc-defs.elc)
2278 ($(lisp)/progmodes/cc-fonts.elc, $(lisp)/progmodes/cc-langs.elc)
2279 ($(lisp)/progmodes/cc-vars.elc): Drop hand-written deps on non-cc
2280 files. They are not relevant to the original issue (bug#1004),
2281 and cause unnecessary recompilation (bug#2151).
2282
2283 2014-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
2284
2285 * play/landmark.el: Use lexical-binding and avoid `intangible'.
2286 (landmark--last-pos): New var.
2287 (landmark--intangible-chars): New const.
2288 (landmark--intangible): New function.
2289 (landmark-mode, landmark-move): Use it.
2290 (landmark-mode): Remove properties.
2291 (landmark-plot-square, landmark-point-square, landmark-goto-xy)
2292 (landmark-cross-qtuple):
2293 Don't worry about `intangible' any more.
2294 (landmark-click, landmark-point-y): Same; and don't assume point-min==1.
2295 (landmark-init-display): Don't set `intangible' and `point-entered'.
2296 (square): Remove. Inline it instead.
2297 (landmark--distance): Rename from `distance'.
2298 (landmark-calc-distance-of-robot-from): Rename from
2299 calc-distance-of-robot-from.
2300 (landmark-calc-smell-internal): Rename from calc-smell-internal.
2301
2302 2014-06-25 Dmitry Antipov <dmantipov@yandex.ru>
2303
2304 * files.el (dir-locals-find-file, file-relative-name):
2305 * info.el (Info-complete-menu-item):
2306 * minibuffer.el (completion-table-subvert): Prefer string-prefix-p
2307 to compare-strings to avoid out-of-range errors.
2308 * subr.el (string-prefix-p): Adjust to match strict range
2309 checking in compare-strings.
2310
2311 2014-06-24 Leonard Randall <leonard.a.randall@gmail.com> (tiny change)
2312
2313 * textmodes/reftex-parse.el (reftex-using-biblatex-p): Make search
2314 for comment lines non-greedy and stopping at newlines to fix stack
2315 overflows with large files.
2316
2317 2014-06-24 Eli Barzilay <eli@barzilay.org>
2318
2319 * calculator.el (calculator-last-input): Drop 'ascii-character property
2320 lookup.
2321
2322 2014-06-24 Leo Liu <sdl.web@gmail.com>
2323
2324 * align.el (align-adjust-col-for-rule): Unbreak due to defaulting
2325 tab-stop-list to nil. (Bug#16381)
2326
2327 * indent.el (indent-next-tab-stop): Rename from indent--next-tab-stop.
2328 (indent-rigidly-left-to-tab-stop)
2329 (indent-rigidly-right-to-tab-stop, tab-to-tab-stop)
2330 (move-to-tab-stop): Change callers.
2331
2332 2014-06-24 Eli Zaretskii <eliz@gnu.org>
2333
2334 * skeleton.el (skeleton-insert): Yet another fix of the doc string
2335 wrt behavior of \n as the first/last element of a skeleton.
2336
2337 2014-06-24 Michael Albinus <michael.albinus@gmx.de>
2338
2339 * net/tramp-adb.el (tramp-adb-handle-process-file):
2340 * net/tramp-sh.el (tramp-sh-handle-process-file):
2341 * net/tramp-smb.el (tramp-smb-handle-process-file): Do not raise
2342 the output buffer when DISPLAY is non-nil. (Bug#17815)
2343
2344 2014-06-24 Glenn Morris <rgm@gnu.org>
2345
2346 * play/landmark.el (landmark-move-down, landmark-move-up):
2347 Fix 2007-10-20 change - preserve horizontal position.
2348
2349 2014-06-23 Sam Steingold <sds@gnu.org>
2350
2351 * simple.el (kill-append): Remove undo boundary depending on ...
2352 (kill-append-merge-undo): New user option.
2353
2354 2014-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
2355
2356 * simple.el (handle-shift-selection, exchange-point-and-mark)
2357 (activate-mark): Set transient-mark-mode buffer-locally (bug#6316).
2358 (transient-mark-mode): Use&set the global value.
2359 * mouse.el (mouse-set-region-1, mouse-drag-track): Idem.
2360 * emulation/edt.el (edt-emulation-off): Save&restore the global
2361 transient-mark-mode setting.
2362 * obsolete/pc-select.el (pc-selection-mode): Use the
2363 transient-mark-mode function.
2364
2365 2014-06-23 Eli Zaretskii <eliz@gnu.org>
2366
2367 * international/fontset.el (script-representative-chars):
2368 Add representative characters for scripts added in Unicode 7.0.
2369 (otf-script-alist): Synchronize with the latest registry of OTF
2370 script tags.
2371
2372 * international/characters.el (char-script-table): Update for
2373 scripts added and codepoint ranges changed in Unicode 7.0.
2374
2375 2014-06-23 Eli Barzilay <eli@barzilay.org>
2376
2377 * calculator.el (calculator-standard-displayer): Fix bug in use of
2378 `calculator-groupize-number'.
2379 (calculator-funcall): Fix broken `cl-flet' use by moving it into the
2380 `eval' code, so it works in v24.3.1 too.
2381 (calculator-last-input): Comment to clarify purpose.
2382
2383 2014-06-22 Mario Lang <mlang@delysid.org>
2384
2385 * textmodes/rst.el (rst-comment-region): From from -> from.
2386
2387 * net/tramp-adb.el (tramp-adb-send-command-and-check): And and -> and.
2388
2389 2013-06-22 Dmitry Antipov <dmantipov@yandex.ru>
2390
2391 * electric.el (electric-layout-post-self-insert-function):
2392 * emacs-lisp/ert.el (ert--insert-infos):
2393 * obsolete/vi.el (vi-set-mark):
2394 * term.el (term-handle-scroll):
2395 * textmodes/bibtex.el (bibtex-fill-field, bibtex-fill-entry):
2396 * wid-edit.el (widget-editable-list-value-create):
2397 Prefer point-marker to copy-marker of point.
2398
2399 2014-06-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
2400
2401 Fix completion retrieval parsing (bug#17209).
2402 * progmodes/python.el (python-mode):
2403 (python-util-strip-string): New function.
2404 (python-shell-completion-get-completions): Use it.
2405
2406 2014-06-21 Eli Zaretskii <eliz@gnu.org>
2407
2408 * skeleton.el (skeleton-insert): Fix last change.
2409
2410 2014-06-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
2411
2412 Enhancements for outline integration (bug#17796).
2413 * progmodes/python.el (python-mode): Properly set
2414 outline-heading-end-regexp so that comments after colons for
2415 defuns are supported.
2416
2417 2014-06-21 Eli Zaretskii <eliz@gnu.org>
2418
2419 * skeleton.el (skeleton-insert): Doc fix.
2420
2421 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
2422
2423 * emacs-lisp/smie.el (smie-config--guess): Fix typo.
2424 (smie-config-guess): Use smie-config-local so the rules are obeyed
2425 (bug#17818).
2426
2427 * mouse.el (mouse-drag-line): Don't re-add to unread-comment-events,
2428 since it's already done inside the loop (bug#17819).
2429
2430 2014-06-21 Martin Rudalics <rudalics@gmx.at>
2431
2432 * mouse.el (mouse-drag-line): Re-remove code initially removed
2433 on 2013-03-09 and inadvertently reintroduced on 2013-11-30
2434 (Bug#17819).
2435
2436 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
2437
2438 * progmodes/sh-script.el (sh-smie-sh-rules): For { after &&, don't
2439 align with the surrounding parent (bug#17721).
2440
2441 2014-06-21 Eli Zaretskii <eliz@gnu.org>
2442
2443 * textmodes/texinfo.el (texinfo-mode): Set skeleton-end-newline
2444 locally to nil.
2445 (texinfo-insert-block, texinfo-insert-@end)
2446 (texinfo-insert-@example, texinfo-insert-@quotation): Adjust to
2447 local setting of skeleton-end-newline by adding an explicit \n to
2448 the skeletons where appropriate. (Bug#17801)
2449
2450 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
2451
2452 * emacs-lisp/smie.el (smie--hanging-eolp-function): New var.
2453 (smie-indent--hanging-p): Use it.
2454 * progmodes/sh-script.el (sh-set-shell): Set it (bug#17621).
2455
2456 2014-06-21 Leo Liu <sdl.web@gmail.com>
2457
2458 * simple.el (read-quoted-char): Don't let help chars pop up help
2459 buffer. (Bug#16617)
2460
2461 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
2462
2463 * progmodes/sh-script.el (sh-smie-sh-rules): Use same rule for && as
2464 for | (bug#17621).
2465
2466 * xt-mouse.el (xterm-mouse--read-event-sequence-1000):
2467 Drop unknown events instead of burping.
2468
2469 2014-06-21 Eli Zaretskii <eliz@gnu.org>
2470
2471 * term/w32-win.el (dynamic-library-alist): Support giflib 5.1.0
2472 and later. (Bug#17790)
2473
2474 2014-06-21 Juri Linkov <juri@jurta.org>
2475
2476 * dired.el (dired-mark-pop-up): Let-bind display-buffer-mark-dedicated
2477 to `soft'. (Bug#17554)
2478
2479 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
2480
2481 * delsel.el (electric-newline-and-maybe-indent): Mark it as well
2482 (bug#17737).
2483
2484 2014-06-21 Dmitry Gutov <dgutov@yandex.ru>
2485
2486 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Don't fontify
2487 `!' in `!~' with `font-lock-negation-char-face'. (Bug#17732)
2488
2489 2014-06-21 Michael Albinus <michael.albinus@gmx.de>
2490
2491 * net/dbus.el (dbus-call-method): Push only non D-Bus events into
2492 `unread-command-events'.
2493
2494 2014-06-19 William Xu <william.xwl@gmail.com>
2495
2496 * progmodes/hideif.el (hif-string-to-number): Don't return float for
2497 hex integer constants (bug#17807).
2498
2499 2014-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
2500
2501 * international/mule-util.el (truncate-string-ellipsis): New var.
2502 (truncate-string-to-width): Use it.
2503
2504 2014-06-19 Robert Brown <robert.brown@gmail.com> (tiny change)
2505
2506 * emacs-lisp/lisp-mode.el (lisp-string-after-doc-keyword-p): New fun.
2507 (lisp-string-in-doc-position-p): New function, extracted from
2508 lisp-font-lock-syntactic-face-function.
2509 (lisp-font-lock-syntactic-face-function): Use them (bug#9130).
2510
2511 2014-06-19 Grégoire Jadi <daimrod@gmail.com>
2512
2513 * net/rcirc.el (rcirc-omit-mode): Fix recenter error. (Bug#17769)
2514
2515 2014-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
2516
2517 * play/bubbles.el (bubbles--initialize, bubbles--show-scores)
2518 (bubbles--game-over): Don't add `intangible' properties since they
2519 didn't work anyway.
2520
2521 2014-06-18 Juri Linkov <juri@jurta.org>
2522
2523 * vc/ediff-init.el (ediff-current-diff-Ancestor)
2524 (ediff-fine-diff-Ancestor, ediff-even-diff-A, ediff-even-diff-B)
2525 (ediff-even-diff-C, ediff-even-diff-Ancestor, ediff-odd-diff-A)
2526 (ediff-odd-diff-B, ediff-odd-diff-C, ediff-odd-diff-Ancestor):
2527 Add `min-colors 88' version with removed black/white foregrounds.
2528 (Bug#10181)
2529
2530 2014-06-18 Juri Linkov <juri@jurta.org>
2531
2532 * vc/diff-mode.el (diff-changed): Empty face definition to use
2533 `diff-removed' and `diff-added' on tty as well. (Bug#10181)
2534 (diff-context): Use darker color on light background and
2535 lighter color on dark background.
2536
2537 2014-06-18 Juri Linkov <juri@jurta.org>
2538
2539 * vc/diff-mode.el (diff-refine-changed): Rename from
2540 `diff-refine-change' for consistency with `diff-changed'.
2541 (diff-refine-change): Add obsolete face alias. (Bug#10181)
2542
2543 * vc/smerge-mode.el (smerge-refined-changed): Rename from
2544 `smerge-refined-change'.
2545 (smerge-refined-change): Add obsolete face alias.
2546
2547 2014-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
2548
2549 * rect.el (rectangle-preview): New custom.
2550 (rectangle): New group.
2551 (rectangle--pos-cols): Add `window' argument.
2552 (rectangle--string-preview-state, rectangle--string-preview-window):
2553 New vars.
2554 (rectangle--string-flush-preview, rectangle--string-erase-preview)
2555 (rectangle--space-to, rectangle--string-preview): New functions.
2556 (string-rectangle): Use them.
2557 (rectangle--inhibit-region-highlight): New var.
2558 (rectangle--highlight-for-redisplay): Obey it. Make sure
2559 `apply-on-region' uses the point-crutches of the right window.
2560 Use :align-to rather than multiple spaces.
2561
2562 2014-06-16 Andrea Rossetti <andrea.rossetti@gmail.com> (tiny change)
2563
2564 * ruler-mode.el (ruler-mode-window-col)
2565 (ruler-mode-mouse-set-left-margin)
2566 (ruler-mode-mouse-set-right-margin): Fix calculation of column
2567 from mouse position (Bug#17768).
2568
2569 2014-06-16 Ron Schnell <ronnie@driver-aces.com>
2570
2571 * play/dunnet.el (dun-doassign): Fix bug where UNIX variable assignment
2572 without varname or rhs causes crash.
2573 (dun-ftp): Fix bug where blank ftp password is allowed, making it
2574 impossible to win endgame.
2575 (dun-unix-verbs): Add ssh as alias to rlogin, because nobody knows what
2576 rlogin is anymore.
2577 (dun-help): Bump version number; update contact info.
2578
2579 2014-06-15 Eli Barzilay <eli@barzilay.org>
2580
2581 * calculator.el (calculator-prompt, calculator-remove-zeros)
2582 (calculator-mode-hook, calculator-operators, calculator-stack)
2583 (calculator-mode): Tweak docstring.
2584 (calculator-user-operators): Tweak docstring, fix a bug in the last
2585 example.
2586 (calculator-displayer): `std' case has an optional boolean.
2587 (calculator-displayers): Use the new boolean to group in decimal mode.
2588 (calculator-mode-map, calculator, calculator-message)
2589 (calculator-op-arity, calculator-add-operators)
2590 (calculator-string-to-number, calculator-displayer-prev)
2591 (calculator-displayer-next, calculator-remove-zeros)
2592 (calculator-eng-display, calculator-number-to-string)
2593 (calculator-update-display, calculator-last-input)
2594 (calculator-clear-fragile, calculator-digit, calculator-decimal)
2595 (calculator-exp, calculator-saved-move, calculator-clear)
2596 (calculator-copy, calculator-put-value, calculator-help)
2597 (calculator-expt, calculator-truncate): Minor code improvements.
2598 (calculator-need-3-lines): New function pulling out code from
2599 `calculator'.
2600 (calculator-get-display): Rename from `calculator-get-prompt', and
2601 improved.
2602 (calculator-push-curnum): Rename from `calculator-curnum-value', and
2603 extended for all uses of it. All callers changed.
2604 (calculator-groupize-number): New utility for splitting a number into
2605 groups.
2606 (calculator-standard-displayer): Improve code, new optional argument to
2607 use comma-split groups, make second argument optional too to use with
2608 'left/'right inputs. All callers changed.
2609 (calculator-reduce-stack-once): New utility, doing the meat of what
2610 `calculator-reduce-stack' used to do, much improved (mostly using
2611 `pcase' for conciseness and clarity).
2612 (calculator-reduce-stack): Now doing just the reduction loop using
2613 `calculator-reduce-stack-once'.
2614 (calculator-funcall): Improve code, make it work in v24.3.1 too.
2615 (calculator-last-input): Improve code, remove some old cruft.
2616 (calculator-quit): Kill `calculator-buffer' in electric mode too.
2617 (calculator-integer-p): Remove.
2618 (calculator-fact): Improve code, make it work on non-integer values
2619 too (using truncated numbers).
2620
2621 2014-06-15 Michael Albinus <michael.albinus@gmx.de>
2622
2623 Sync with Tramp 2.2.10.
2624
2625 * net/tramp.el (tramp-methods): Tweak docstring.
2626 (tramp-handle-file-accessible-directory-p): Check for
2627 `file-readable-p' instead of `file-executable-p'.
2628 (tramp-check-cached-permissions):
2629 Use `tramp-compat-file-attributes'.
2630 (tramp-call-process): Add new argument VEC. Adapt callees in all
2631 tramp*.el files.
2632
2633 * net/tramp-adb.el (tramp-adb-handle-write-region): Improve messages.
2634 (tramp-adb-maybe-open-connection): Don't set
2635 `tramp-current-*' variables.
2636
2637 * net/tramp-cache.el (tramp-flush-file-function): Do not flush
2638 file properties of temporary buffers.
2639
2640 * net/tramp-ftp.el (top): Remove special handling for URL syntax.
2641
2642 * net/tramp-gvfs.el (tramp-gvfs-methods) <sftp>: Add.
2643 (tramp-gvfs-handle-delete-file): Flush file
2644 properties, not directory properties.
2645 (tramp-gvfs-handle-file-attributes): Use `string-to-number' when
2646 reading "unix::mode".
2647 (tramp-gvfs-handle-file-name-all-completions):
2648 Use "-h" option for "gvfs-ls".
2649 (tramp-gvfs-url-file-name): `user' and `localname' could be nil.
2650 (tramp-gvfs-send-command): Simplify traces.
2651
2652 * net/tramp-sh.el (vc-handled-backends, vc-bzr-program)
2653 (vc-git-program, vc-hg-program): Declare.
2654 (tramp-methods) <sftp>: Remove. It has never worked satisfactorily.
2655 (tramp-methods) <nc>: Add new method.
2656 (tramp-methods) <telnet>: Redirect stderr to "/dev/null".
2657 (tramp-methods) <plink, plinkx, pscp, psftp>: Improve
2658 `tramp-login-args'.
2659 (tramp-default-user-alist): Add "nc".
2660 (top): Remove completion function for "sftp". Add completion
2661 functions for "nc" and "psftp".
2662 (tramp-do-copy-or-rename-file-out-of-band): Tweak docstring.
2663 Implement support for "nc" method.
2664 (tramp-sh-handle-expand-file-name, tramp-local-coding-commands)
2665 (tramp-remote-coding-commands, tramp-call-local-coding-command):
2666 Tweak docstring.
2667 (tramp-sh-handle-write-region): Tweak error message.
2668 (tramp-sh-handle-vc-registered): Remove backends when the remote
2669 binary does not exist.
2670 (tramp-find-inline-encoding): Do not raise an error.
2671 (tramp-make-copy-program-file-name): Tweak docstring. Handle also
2672 the "nc" case. Quote result also locally.
2673
2674 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
2675 (tramp-smb-handle-set-file-acl): Use `start-process'.
2676 (tramp-smb-handle-insert-directory): Use progress reporter.
2677 (tramp-smb-handle-rename-file): Flush also file properties of
2678 FILENAME.
2679
2680 * net/trampver.el: Update release number.
2681
2682 2014-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
2683
2684 * ses.el: Miscellaneous cleanups; use lexical-binding; avoid
2685 add-to-list.
2686 (ses-localvars): Remove ses--local-printer-list, unused.
2687 (ses--metaprogramming): New macro. Use it to defvar variables.
2688 (ses-set-localvars): Simplify.
2689 (ses--locprn, ses-cell): Use defstruct. Change ses-cell's
2690 property-list into an alist.
2691 (ses-locprn-get-compiled, ses-locprn-compiled-aset)
2692 (ses-locprn-get-def, ses-locprn-def-aset, ses-locprn-get-number):
2693 Remove; use defstruct accessors/setters instead.
2694 (ses-cell-formula-aset, ses-cell-printer-aset)
2695 (ses-cell-references-aset): Remove, use setf instead.
2696 (ses--alist-get): New function.
2697 (ses-cell-property): Rename from ses-cell-property-get and rewrite.
2698 Use an alist instead of a plist and don't do move-to-front since the
2699 list is always short.
2700 (ses-cell-property-get-fun, ses-cell-property-delq-fun)
2701 (ses-cell-property-set-fun, ses-cell-property-set)
2702 (ses-cell-property-pop-fun, ses-cell-property-get-handle)
2703 (ses-cell-property-handle-car, ses-cell-property-handle-setcar): Remove.
2704 (ses--letref): New macro.
2705 (ses-cell-property-pop): Rewrite.
2706 (ses--cell): Rename from ses-cell and make it into a function.
2707 Make `formula' fallback on `value' if nil.
2708 (ses--local-printer): Rename from ses-local-printer and make it into
2709 a function.
2710 (ses-set-cell): Turn it into a macro so finding the accessor from the
2711 field name is done at compile time.
2712 (ses-repair-cell-reference-all): Test presence of `sym' rather than
2713 `ref' before adding `sym' to :ses-repair-reference.
2714 (ses-calculate-cell): Use ses--letref rather than
2715 ses-cell-property-get-handle.
2716 (ses-write-cells): Use a single prin1-to-string.
2717 (ses-setter-with-undo): New function.
2718 (ses-aset-with-undo, ses-set-with-undo): Rewrite using it.
2719 (ses-unset-with-undo): Remove.
2720 (ses-load): Prefer apply' over `eval'.
2721 (ses-read-printer, ses-set-column-width): Use standard "(default
2722 foo)" format.
2723
2724 2014-06-15 Glenn Morris <rgm@gnu.org>
2725
2726 * Makefile.in (leim, semantic): Use `make -C' rather than `cd && make'.
2727
2728 * progmodes/cc-langs.el: Require cl-lib. (Bug#17463)
2729 Replace delete-duplicates and mapcan by cl- versions throughout.
2730 And cl-macroexpand-all by macroexpand-all.
2731 (delete-duplicates, mapcan, cl-macroexpand-all): No need to declare.
2732
2733 2014-06-15 Eli Zaretskii <eliz@gnu.org>
2734
2735 * subr.el (posn-col-row): Doc fix. (Bug#17768)
2736
2737 2014-06-15 Juri Linkov <juri@jurta.org>
2738
2739 * bindings.el: Put `ascii-character' property on keypad keys
2740 mapped to characters. (Bug#17759)
2741
2742 2014-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
2743
2744 * emacs-lisp/smie.el (smie-next-sexp): Fix up "other-end" info when
2745 bumping forward into a closing paren (bug#17761).
2746
2747 * term/xterm.el (xterm--version-handler): Work around for OSX
2748 Terminal.app (bug#17607).
2749
2750 2014-06-14 Ron Schnell <ronnie@driver-aces.com>
2751
2752 * play/dunnet.el (dun-describe-room, dun-mode):
2753 If a lamp is in the room, you won't be eaten by a grue.
2754
2755 2014-06-13 Glenn Morris <rgm@gnu.org>
2756
2757 * Makefile.in ($(lisp)/cus-load.el, $(lisp)/finder-inf.el)
2758 (autoloads, $(lisp)/subdirs.el, compile-main, leim, semantic, compile)
2759 (compile-always): GNU make automatically passes
2760 command-line arguments to sub-makes.
2761
2762 * calendar/calendar.el (calendar-generate-window):
2763 Remove pointless call to font-lock-fontify-buffer.
2764
2765 2014-06-13 Matthias Meulien <orontee@gmail.com>
2766
2767 * simple.el (completion-list-mode-map): Navigate with tab and backtab
2768 (bug#17767).
2769
2770 2014-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
2771
2772 * simple.el (set-mark-command): Simplify a bit.
2773
2774 2014-06-12 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2775
2776 * help.el (help--key-binding-keymap): New function.
2777 (help--binding-locus): New function.
2778 (describe-key): Mention the keymap in which the binding was
2779 found. (bug#13948)
2780
2781 2014-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
2782
2783 * hippie-exp.el (he--all-buffers): New function.
2784 (try-expand-line-all-buffers, try-expand-list-all-buffers)
2785 (try-expand-dabbrev-all-buffers): Use it.
2786
2787 2014-06-12 Emilio C. Lopes <eclig@gmx.net>
2788
2789 * hippie-exp.el (try-expand-line-all-buffers)
2790 (try-expand-list-all-buffers, try-expand-dabbrev-all-buffers):
2791 Read hippie-expand-only-buffers and hippie-expand-ignore-buffers in the
2792 original buffer, in case they're buffer-local.
2793
2794 2014-06-12 Vincent Belaïche <vincentb1@users.sourceforge.net>
2795
2796 * ses.el (ses-initial-global-parameters-re): New defconst, a
2797 specific regexp is needed now that ses.el can handle both
2798 file-format 2 --- ie. no local printers --- and 3 --- i.e. may have
2799 local printers.
2800 (ses-localvars): Add local variables needed for local printer handling.
2801 (ses-set-localvars): Handle hashmap initialisation.
2802 (ses-paramlines-plist): Add param-line for number of local printers.
2803 (ses-paramfmt-plist): New defconst, needed for code factorization
2804 between functions `ses-set-parameter' and
2805 `ses-file-format-extend-paramter-list'
2806 (ses-make-local-printer-info): New defsubst.
2807 (ses-locprn-get-compiled, ses-locprn-compiled-aset)
2808 (ses-locprn-get-def, ses-locprn-def-aset, ses-locprn-get-number)
2809 (ses-cell-printer-aset): New defmacro.
2810 (ses-local-printer-compile): New defun.
2811 (ses-local-printer): New defmacro.
2812 (ses-printer-validate, ses-call-printer): Add support for local
2813 printer functions.
2814 (ses-file-format-extend-paramter-list): New defun.
2815 (ses-set-parameter): Use const `ses-paramfmt-plist' for code
2816 factorization.
2817 (ses-load): Add support for local printer functions.
2818 (ses-read-printer): Update docstring and add support for local printer
2819 functions.
2820 (ses-refresh-local-printer, ses-define-local-printer): New defun.
2821 (ses-safe-printer): Add support for local printer functions.
2822
2823 2014-06-12 Ivan Andrus <darthandrus@gmail.com>
2824
2825 * ffap.el (ffap-lax-url): New var (bug#17723).
2826 (ffap-url-at-point): Use it.
2827 (ffap-file-at-point): Avoid returning just "/".
2828
2829 2014-06-12 Matthias Meulien <orontee@gmail.com>
2830
2831 * progmodes/python.el (import skeleton): New skeleton (bug#17672).
2832 (python-mode-map): Bind it.
2833
2834 * progmodes/python.el (class skeleton): Don't erase last char of class
2835 name (bug#17683).
2836
2837 2014-06-12 Cameron Desautels <camdez@gmail.com> (tiny change)
2838
2839 * help.el (where-is): Use `default' arg of completing-read (bug#17705).
2840
2841 2014-06-12 Kevin Ryde <user42_kevin@yahoo.com.au>
2842
2843 * files.el (auto-mode-alist): Map .ad files to xdefaults-mode
2844 (bug#17745).
2845
2846 2014-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
2847
2848 * international/mule-cmds.el: Use lexical-binding.
2849 (ucs-names): Simplify.
2850
2851 2014-05-18 Eric Hanchrow <eric.hanchrow@gmail.com>
2852
2853 * progmodes/python.el (run-python): Use read-shell-command.
2854
2855 2014-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
2856
2857 * rect.el: Make it possible to move bounds past EOL or into TABs.
2858 (operate-on-rectangle): Use apply-on-rectangle.
2859 (rectangle--mark-crutches): New var.
2860 (rectangle--pos-cols, rectangle--col-pos, rectangle--point-col)
2861 (rectangle--crutches, rectangle--reset-crutches): New functions.
2862 (apply-on-rectangle): Obey crutches. Avoid setq.
2863 Fix missing final iteration if end is at EOB&BOL.
2864 (rectangle-mark-mode-map): Add remap bindings for
2865 exchange-point-and-mark and char/line movements.
2866 (rectangle--*-char): New function.
2867 (rectangle-exchange-point-and-mark, rectangle-right-char)
2868 (rectangle-left-char, rectangle-forward-char)
2869 (rectangle-backward-char, rectangle-next-line)
2870 (rectangle-previous-line): New commands.
2871 (rectangle--place-cursor): New function.
2872 (rectangle--highlight-for-redisplay): Use it. Use apply-on-rectangle.
2873
2874 2014-06-08 Glenn Morris <rgm@gnu.org>
2875
2876 * startup.el (initial-buffer-choice): Doc fix.
2877 Reset :version (adding an option does not merit a :version bump).
2878
2879 * bookmark.el (bookmark-load):
2880 * uniquify.el (uniquify-buffer-name-style): Doc fixes.
2881
2882 2014-06-08 Juri Linkov <juri@jurta.org>
2883
2884 * desktop.el: Activate auto-saving on window configuration changes.
2885 (desktop-save-mode, desktop-auto-save-timeout): Add/remove
2886 `desktop-auto-save-set-timer' to/from
2887 `window-configuration-change-hook'.
2888 (desktop-auto-save-set-timer): Change REPEAT arg of
2889 `run-with-idle-timer' from t to nil.
2890 http://lists.gnu.org/archive/html/emacs-devel/2014-06/msg00147.html
2891
2892 2014-06-08 Santiago Payà i Miralta <santiagopim@gmail.com>
2893
2894 * vc/vc-hg.el (vc-hg-working-revision): Use "hg parent" and
2895 vc-hg-command (bug#17570).
2896
2897 2014-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
2898
2899 * international/mule-cmds.el (ucs-names): Add special entry for BEL
2900 (bug#17702).
2901
2902 2014-06-08 Glenn Morris <rgm@gnu.org>
2903
2904 * startup.el (window-setup-hook): Doc fix.
2905
2906 * emacs-lisp/package.el (package-check-signature)
2907 (package-unsigned-archives): Doc fixes.
2908
2909 2014-06-08 Martin Rudalics <rudalics@gmx.at>
2910
2911 * window.el (display-buffer-use-some-window): Don't make window
2912 used smaller than it was before (Bug#17671).
2913
2914 2014-06-08 Eli Zaretskii <eliz@gnu.org>
2915
2916 * menu-bar.el (menu-bar-open): Fix last change: use the PC
2917 'redisplay' instead of '(sit-for 0)'.
2918
2919 2014-06-08 Michael Albinus <michael.albinus@gmx.de>
2920
2921 * net/tramp.el (tramp-ssh-controlmaster-options):
2922 Improve search regexp. (Bug#17653)
2923
2924 2014-06-08 Glenn Morris <rgm@gnu.org>
2925
2926 * emacs-lisp/package.el (package-pinned-packages): Doc fix.
2927
2928 2014-06-08 Eli Zaretskii <eliz@gnu.org>
2929
2930 * menu-bar.el (menu-bar-open): Fix invocation via M-x.
2931
2932 2014-06-06 Santiago Payà i Miralta <santiagopim@gmail.com>
2933
2934 * vc/vc-hg.el (vc-hg-create-tag, vc-hg-retrieve-tag): New functions
2935 (bug#17586).
2936
2937 * vc/vc-hg.el (vc-hg-log-graph): New var.
2938 (vc-hg-print-log): Use it.
2939 (vc-hg-root-log-format): Include branch name and bookmarks; ignore
2940 graph output (bug#17515).
2941
2942 2014-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
2943
2944 * mouse.el (mouse-posn-property): Ignore buffer position info when the
2945 even happened elsewhere.
2946
2947 2014-06-06 Mario Lang <mlang@delysid.org>
2948
2949 * emacs-lisp/tabulated-list.el (tabulated-list-print): Only call
2950 `recenter' if `current-buffer' is equal to `window-buffer'.
2951
2952 2014-06-05 Leo Liu <sdl.web@gmail.com>
2953
2954 * emacs-lisp/cl-macs.el (cl-macrolet): Avoid excessive progn's.
2955
2956 2014-06-05 Michal Nazarewicz <mina86@mina86.com>
2957
2958 * textmodes/tildify.el (tildify-foreach-region-outside-env):
2959 New function which calls a callback on portions of the buffer that are
2960 outside of ignored environments.
2961 (tildify-build-regexp): Remove function since it is now
2962 incorporated in `tildify-foreach-region-outside-env' where it is
2963 optimised and simplified by the use of `mapconcat'.
2964 (tildify-tildify): Return number of substitutions made so that…
2965 (tildify-count): …can be removed.
2966 (tildify-find-env): Accept a new PAIRS argument which was
2967 previously looked up in `tildify-ignored-environments-alist' each
2968 time the function was called. With this change, the lookup is
2969 performed only once in `tildify-foreach-region-outside-env'.
2970 (tildify-region): Greatly simplify the function since now most of
2971 the work is done by `tildify-foreach-region-outside-env'.
2972 (tildify-mode-alist): Simplify slightly by avoiding if and setq
2973 and instead using or.
2974
2975 * textmodes/tildify.el (tildify-ignored-environments-alist):
2976 Optimise environments regexes
2977
2978 Each time beginning of an environment to ignore is found,
2979 `tildify-find-env' needs to identify regexp for the ending
2980 of the environment. This is done by trying all the opening
2981 regexes on matched text in a loop, so to speed that up, this
2982 loop should have fewer things to match, which can be done by
2983 using alternatives in the opening regexes.
2984
2985 Coincidentally, this should make matching of the opening
2986 regexp faster as well thanks to the use of `regexp-opt' and
2987 having common prefix pulled from many regexes.
2988
2989 * textmodes/tildify.el (tildify-string-alist)
2990 (tildify-ignored-environments-alist): Add `nxml-mode' to the list
2991 of supported modes since `xml-mode' is no longer a thing but just
2992 an alias to the former. Also include comments and insides of tags
2993 in `tildify-ignored-environments-alist' for XML modes. Finally,
2994 since XML does not define “&nbsp;”[1], use a numeric reference for
2995 a no-break space (namely “&#160;”)
2996
2997 [1] XML specification defines only a handful of predefined entities.
2998 The list is at <http://www.w3.org/TR/REC-xml/#sec-predefined-ent>
2999 and includes only &lt;, &gt;, &amp;, &apos; and &quot; (meaning <,
3000 >, &, ' and " respectively). This is in contrast to HTML and even
3001 XHTML which defined a whole bunch of entities including “&nbsp;”.
3002
3003 * textmodes/tildify.el (tildify-pattern-alist)
3004 (tildify-string-alist, tildify-ignored-environments-alist):
3005 Improve defcustom's types by adding more tags explaining what each
3006 value means and replace “sexp” used in
3007 `tildify-ignored-environments-alist' with a full type declaration.
3008
3009 * textmodes/tildify.el (tildify-find-env): Fix matched group
3010 indexes in end-regex building
3011
3012 When looking for a start of an ignore-environment, the regex is built
3013 by concatenating regexes of all the environments configured in
3014 `tildify-ignored-environments-alist'. So for example, the following
3015 list could be used to match TeX's \verb and \verb* commands:
3016
3017 (("\\\\verb\\(.\\)" . (1))
3018 ("\\\\verb\\*\\(.\\)" . (1)))
3019
3020 This would result in the following regex being used to find the start
3021 of any of the variants of the \verb command:
3022
3023 \\\\verb\\(.\\)\\|\\\\verb\\*\\(.\\)
3024
3025 But now, if “\\\\verb\\*\\(.\\)” matches, the first capture group
3026 won't match anything, and thus (match-string 1) will be nil, which
3027 will cause building of the end-matching regex to fail.
3028
3029 Fix this by using capture groups from the time when the opening
3030 regexes are matched individually.
3031
3032 * textmodes/tildify.el (tildify-find-env): Fix end-regex building
3033 in `tildify-find-env'
3034
3035 The `tildify-ignored-environments-alist' allows the end-regex to
3036 be provided not as a static string but mix of strings and indexes
3037 of groups matched the begin-regex. For example, the “\verb!…!”
3038 TeX-command (where “!” is an arbitrary character) is handled
3039 using:
3040
3041 ("\\\\verb\\*?\\(.\\)" . (1))
3042
3043 In the same way, the following should be supported as well:
3044
3045 ("open-\\(.\\)" . ("end-" 1))
3046
3047 However the tildify-find-env function fails at
3048
3049 (concat result
3050 (if (stringp (setq aux (car expression)))
3051 expression ; BUG: expression is a list
3052 (regexp-quote (match-string aux))))
3053
3054 where the string part is handled incorrectly.
3055
3056 The most trivial fix would be to replace `expression' in the
3057 true-part of the if-statement with `aux', but instead, this commit
3058 optimises `tildify-find-env' by changing it to use `mapconcat'
3059 rather than open-coded while-loop.
3060
3061 2014-06-05 Mario Lang <mlang@delysid.org>
3062
3063 * woman.el (woman-mapcan): Remove.
3064 (woman-parse-colon-path): Use cl-mapcan instead.
3065
3066 2014-06-03 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3067
3068 * register.el: Add link to Emacs manual in Commentary.
3069
3070 2014-06-02 Sam Steingold <sds@gnu.org>
3071
3072 * menu-bar.el (lookup-key-ignore-too-long): Extract from...
3073 (popup-menu): ...here.
3074 (menu-bar-open): Use it to avoid an error when `lookup-key'
3075 returns a number.
3076
3077 2014-06-02 Michael Albinus <michael.albinus@gmx.de>
3078
3079 * net/tramp.el (tramp-call-process): Add traces.
3080 (tramp-handle-unhandled-file-name-directory): Return "/".
3081
3082 2014-06-02 Wilson Snyder <wsnyder@wsnyder.org>
3083
3084 Sync with upstream verilog-mode revision 3cd8144.
3085 * progmodes/verilog-mode.el (verilog-mode-version): Bump.
3086 (verilog-auto-arg-format): New option, to support newlines in AUTOARG.
3087 (verilog-type-font-keywords): Add nor.
3088 (verilog-batch-execute-func): Force reading of Local Variables.
3089 Fix printing "no changes to be saved" with verilog-batch.
3090 (verilog-auto-arg-ports): Doc fix.
3091 Add verilog-auto-arg-format to support newlines in AUTOARG.
3092 (verilog-auto-arg): Doc fix.
3093
3094 2014-06-02 Glenn Morris <rgm@gnu.org>
3095
3096 * emulation/crisp.el, emulation/tpu-edt.el, emulation/tpu-extras.el:
3097 * emulation/tpu-mapper.el, emulation/vi.el, emulation/vip.el:
3098 * emulation/ws-mode.el: Move to obsolete/.
3099 * Makefile.in (AUTOGEN_VCS): Update for moved tpu-edu.el.
3100
3101 2014-06-02 Eli Zaretskii <eliz@gnu.org>
3102
3103 * simple.el (keyboard-quit): Force update of mode lines, to remove
3104 the "Def" indicator, if we were defining a macro. (Bug#17615)
3105
3106 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
3107
3108 * minibuffer.el (minibuffer-force-complete-and-exit):
3109 Obey minibuffer-default (bug#17545).
3110
3111 * progmodes/js.el (js-indent-line): Don't mix columns and chars
3112 (bug#17619).
3113
3114 * subr.el (set-transient-map): Don't wait for some "nested"
3115 transient-map to finish if we're only supposed to be active for
3116 the next command (bug#17642).
3117
3118 2014-06-02 Leo Liu <sdl.web@gmail.com>
3119
3120 * emacs-lisp/gv.el (window-buffer, window-display-table)
3121 (window-dedicated-p, window-hscroll, window-point, window-start):
3122 Fix gv-expander. (Bug#17630)
3123
3124 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
3125
3126 * mouse.el (mouse-posn-property): Ignore posn-point for mode-line
3127 clicks (bug#17633).
3128
3129 * leim/quail/latin-pre.el ("latin-2-prefix"): Use ",," rather than ", "
3130 for the single comma, since ", " is *very* common in normal French text
3131 (bug#17643).
3132
3133 2014-06-02 Glenn Morris <rgm@gnu.org>
3134
3135 * emacs-lisp/package.el (package-check-signature)
3136 (package-unsigned-archives): Fix :version.
3137
3138 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
3139
3140 * subr.el (sit-for): Don't run input-methods (bug#15614).
3141
3142 2014-06-02 Glenn Morris <rgm@gnu.org>
3143
3144 * cus-start.el: Fix some :version numbers.
3145
3146 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
3147
3148 * simple.el (deactivate-mark): Set mark-active to nil even if
3149 deactivation is done via setting transient-mark-mode to nil,
3150 since one is buffer-local and the other is global.
3151
3152 * emacs-lisp/byte-opt.el (byte-optimize-binary-predicate): Don't assume
3153 there can't be more than 2 arguments (bug#17584).
3154
3155 2014-06-02 Glenn Morris <rgm@gnu.org>
3156
3157 * simple.el (filter-buffer-substring-functions)
3158 (filter-buffer-substring-function, buffer-substring-filters)
3159 (filter-buffer-substring, buffer-substring--filter): Doc fixes.
3160
3161 * minibuffer.el (completion-in-region-functions, completion-in-region)
3162 (completion--in-region): Doc fixes.
3163
3164 * abbrev.el (abbrev-expand-functions, abbrev-expand-function)
3165 (expand-abbrev, abbrev--default-expand): Doc fixes.
3166
3167 2014-06-02 Paul Eggert <eggert@cs.ucla.edu>
3168
3169 Include sources used to create macuvs.h.
3170 * international/README: Refer to the Unicode Terms of Use rather
3171 than copying it bodily here, as that simplifies maintenance.
3172
3173 2014-06-01 Glenn Morris <rgm@gnu.org>
3174
3175 * loadup.el (load-prefer-newer): Set non-nil when dumping. (Bug#17629)
3176
3177 2014-05-31 Glenn Morris <rgm@gnu.org>
3178
3179 * files.el (locate-dominating-file): Expand file argument. (Bug#17641)
3180
3181 2014-05-30 Glenn Morris <rgm@gnu.org>
3182
3183 * loadup.el: Treat `command-line-args' more flexibly.
3184
3185 2014-05-30 Alan Mackenzie <acm@muc.de>
3186
3187 Guard (looking-at "\\s!") from XEmacs.
3188 * progmodes/cc-engine.el (c-state-pp-to-literal): Add guard form.
3189
3190 2014-05-30 Ken Olum <kdo@cosmos.phy.tufts.edu>
3191
3192 * mail/rmail.el (rmail-delete-forward, rmail-delete-backward):
3193 The argument COUNT is now optional, to be more backward-compatible.
3194 Doc fix. (Bug#17560)
3195
3196 2014-05-29 Reuben Thomas <rrt@sc3d.org>
3197
3198 * whitespace.el (whitespace-report-region):
3199 Simplify documentation.
3200 (whitespace-report-region): Allow report-if-bogus to take the
3201 value `never', for non-interactive use.
3202 (whitespace-report): Refer to whitespace-report-region's
3203 documentation.
3204
3205 2014-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
3206
3207 * whitespace.el: Use font-lock-flush. Minimize refontifications.
3208 Side benefit: it works without jit-lock.
3209 (whitespace-point--used): New buffer-local var.
3210 (whitespace-color-on): Initialize it and flush it. Use font-lock-flush.
3211 (whitespace-color-off): Use font-lock-flush.
3212 (whitespace-point--used, whitespace-point--flush-used): New functions.
3213 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
3214 (whitespace-empty-at-eob-regexp): Use them.
3215 (whitespace-post-command-hook): Rewrite.
3216
3217 * font-lock.el (font-lock-flush, font-lock-ensure): New functions.
3218 (font-lock-fontify-buffer): Mark interactive-only.
3219 (font-lock-multiline, font-lock-fontified, font-lock-set-defaults):
3220 Make buffer-local.
3221 (font-lock-specified-p): Remove redundant boundp check.
3222 (font-lock-flush-function, font-lock-ensure-function): New vars.
3223 (font-lock-turn-on-thing-lock): Set them.
3224 (font-lock-default-fontify-buffer): Obey font-lock-dont-widen.
3225 (font-lock-after-change-function): Make `old-len' optional.
3226 (font-lock-set-defaults): Remove redundant `set' of font-lock-defaults.
3227 Call font-lock-flush, just in case.
3228 * progmodes/verilog-mode.el (verilog-preprocess): Disable workaround in
3229 recent Emacsen.
3230 * progmodes/vera-mode.el (vera-fontify-buffer): Declare obsolete.
3231 (vera-mode-map, vera-mode-menu): Remove bindings to it.
3232 * progmodes/idlw-help.el (idlwave-help-fontify): Use font-lock-ensure
3233 and with-syntax-table.
3234 * textmodes/conf-mode.el (conf-quote-normal):
3235 * progmodes/sh-script.el (sh-set-shell):
3236 * progmodes/prog-mode.el (prettify-symbols-mode):
3237 * progmodes/f90.el (f90-font-lock-n):
3238 * progmodes/cwarn.el (cwarn-mode):
3239 * nxml/nxml-mode.el (nxml-toggle-char-ref-extra-display):
3240 * progmodes/compile.el (compilation-setup, compilation--unsetup):
3241 * hi-lock.el (hi-lock-mode, hi-lock-unface-buffer)
3242 (hi-lock-set-pattern, hi-lock-set-file-patterns): Use font-lock-flush.
3243 * mail/rmail.el (rmail-variables): Set font-lock-dont-widen instead of
3244 font-lock-fontify-buffer-function and
3245 font-lock-unfontify-buffer-function.
3246 (rmail-unfontify-buffer-function, rmail-fontify-message):
3247 Use with-silent-modifications.
3248 * htmlfontify.el (hfy-force-fontification): Use jit-lock-fontify-now
3249 and font-lock-ensure.
3250 * bs.el (bs-show-in-buffer): Use font-lock-ensure.
3251
3252 2014-05-28 Thien-Thi Nguyen <ttn@gnu.org>
3253
3254 * emacs-lisp/package.el (package-generate-autoloads):
3255 Inhibit backup files.
3256
3257 2014-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
3258
3259 * progmodes/hideshow.el (hs-hide-all): Call syntax-propertize
3260 (bug#17608).
3261
3262 2014-05-21 Michal Nazarewicz <mina86@mina86.com>
3263
3264 * textmodes/tildify.el (tildify-buffer, tildify-region):
3265 Add dont-ask option.
3266
3267 2014-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
3268
3269 * subr.el (zerop): Move from C. Add compiler-macro (bug#17475).
3270 * emacs-lisp/byte-opt.el (byte-optimize-zerop): Remove.
3271
3272 * subr.el (internal--funcall-interactively): New.
3273 (internal--call-interactively): Remove.
3274 (called-interactively-p): Detect funcall-interactively instead of
3275 call-interactively.
3276 * simple.el (repeat-complex-command): Use funcall-interactively.
3277 (repeat-complex-command--called-interactively-skip): Remove.
3278
3279 2014-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
3280
3281 * register.el (register-read-with-preview): Don't burp on
3282 frame switches (e.g. due to the frame we just popped).
3283
3284 * mouse.el (mouse-set-region): Handle spurious drag events (bug#17562).
3285 (mouse-drag-track): Annotate `mouse-drag-start' so we know we moved.
3286
3287 2014-05-26 Andreas Schwab <schwab@linux-m68k.org>
3288
3289 * cus-face.el (custom-face-attributes): Add :distant-foreground.
3290
3291 2014-05-26 Martin Rudalics <rudalics@gmx.at>
3292
3293 * window.el (window--dump-frame): Remove interactive specification.
3294
3295 2014-05-26 Glenn Morris <rgm@gnu.org>
3296
3297 * hippie-exp.el (he-line-search-regexp):
3298 Handle comint-prompt-regexp containing subgroups. (Bug#17529)
3299
3300 2014-05-26 Stephen Berman <stephen.berman@gmx.net>
3301
3302 * calendar/todo-mode.el: Remove dependence on auto-mode-alist,
3303 to avoid errors when trying to create or visit a file foo.todo
3304 located outside to todo-directory, and to allow having such files
3305 without them being tied to Todo mode (bug#17482).
3306 (todo-show, todo-move-category, todo-merge-category, todo-find-archive)
3307 (todo-archive-done-item, todo-find-filtered-items-file)
3308 (todo-filter-items, todo-find-item, todo-diary-goto-entry)
3309 (todo-category-completions, todo-read-category): When visiting a
3310 Todo file, make sure we're in the right mode and the buffer local
3311 variables are set.
3312 (todo-make-categories-list, todo-reset-nondiary-marker)
3313 (todo-reset-done-string, todo-reset-comment-string):
3314 After processing all Todo files, kill the buffers of those files that
3315 weren't being visited before the processing.
3316 (todo-display-as-todo-file, todo-add-to-buffer-list)
3317 (todo-visit-files-commands): Comment out.
3318 (todo-modes-set-3, todo-mode): Comment out additions to find-file-hook.
3319 (auto-mode-alist): Remove add-to-list calls making Todo file
3320 extensions unrestrictedly tied to Todo modes.
3321
3322 2014-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
3323
3324 * emacs-lisp/nadvice.el (advice--member-p): Change second arg.
3325 (advice-function-member-p): Tell it to check both names and functions
3326 (bug#17531).
3327 (advice--add-function): Adjust call accordingly.
3328
3329 2014-05-26 Stephen Berman <stephen.berman@gmx.net>
3330
3331 * calendar/todo-mode.el: Miscellaneous bug fixes.
3332 (todo-delete-file): When deleting an archive but not its todo
3333 file, make sure to update the todo file's category sexp.
3334 (todo-move-category): Keep the moved category's name unless the
3335 file moved to already has a category with that name. If the
3336 numerically last category of the source file was moved, make the
3337 first category current to avoid selecting a nonexisting category.
3338 (todo-merge-category): Fix implementation to make merging to a
3339 category in another file work as documented. Eliminate now
3340 insufficient and unnecessary renaming of archive category, correct
3341 document string accordingly, and clarify it. If the numerically
3342 last category of the source file was merged, make the first
3343 category current to avoid selecting a nonexisting category.
3344 (todo-archive-done-item): When there are marked items and point
3345 happens to be on an unmarked item, ignore the latter. Don't leave
3346 point below last item after archiving marked items.
3347 (todo-unarchive-items): Fix logic to ensure unarchiving an item
3348 from an archive with only one category deletes the archive only
3349 when the category is empty after unarchiving. Make sure the todo
3350 file's category sexp is updated.
3351 (todo-read-file-name): Allow an existing file name even when it is
3352 not required (todo-move-category needs this to work as documented).
3353 (todo-add-file): Call todo-validate-name to reject the name of an
3354 existing todo file (needed due to fix in todo-read-file-name).
3355 (todo-reset-nondiary-marker): Also reset in filtered items files.
3356 (todo-reset-done-string, todo-reset-comment-string): Also reset in
3357 regexp filtered items files.
3358 (todo-reset-highlight-item): Also reset in filtered items files.
3359 Fix incorrect variable reference in document string.
3360
3361 2014-05-26 Glenn Morris <rgm@gnu.org>
3362
3363 * window.el (window--dump-frame): Avoid error in --without-x builds.
3364
3365 2014-05-26 Glenn Morris <rgm@gnu.org>
3366
3367 * nxml/nxml-mode.el (xml-mode): Only define this alias once.
3368
3369 2014-05-26 Eli Zaretskii <eliz@gnu.org>
3370
3371 * frame.el (set-frame-font): Doc fix.
3372
3373 * menu-bar.el (menu-set-font): Doc fix. (Bug#17532)
3374
3375 2014-05-26 Dmitry Gutov <dgutov@yandex.ru>
3376
3377 * emacs-lisp/package.el (package--download-one-archive):
3378 Use `write-region' instead of `save-buffer' to avoid running various
3379 hooks. (Bug#17155)
3380 (describe-package-1): Same. Insert newline at the end of the
3381 buffer if appropriate.
3382
3383 2014-05-26 Juri Linkov <juri@jurta.org>
3384
3385 * avoid.el (mouse-avoidance-set-mouse-position): Don't raise frame.
3386 (mouse-avoidance-ignore-p): Remove `switch-frame', add `focus-out'.
3387 Add more modifiers: meta, control, shift, hyper, super, alt.
3388 (Bug#17439)
3389
3390 * avoid.el (mouse-avoidance-banish-position): Fix defcustom :options
3391 to allow changing its value with `set-variable'.
3392
3393 2014-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
3394
3395 * progmodes/scheme.el (scheme-mode-syntax-table): Remove hack for
3396 #; comments.
3397 (scheme-syntax-propertize, scheme-syntax-propertize-sexp-comment):
3398 New functions.
3399 (scheme-mode-variables): Set syntax-propertize-function instead of
3400 font-lock-syntactic-face-function.
3401 (scheme-font-lock-syntactic-face-function): Delete.
3402
3403 * emacs-lisp/lisp.el (end-of-defun): Ensure we move (bug#17274).
3404
3405 * emacs-lisp/timer.el (timer-event-handler): Don't run if canceled
3406 (bug#17392).
3407
3408 2014-05-26 Michael Albinus <michael.albinus@gmx.de>
3409
3410 * net/tramp-sh.el (tramp-find-inline-encoding): Do not match "%%t"
3411 for a temporary file name.
3412
3413 2014-05-26 Eli Zaretskii <eliz@gnu.org>
3414
3415 * simple.el (line-move-ignore-invisible): Doc fix. (Bug#17511)
3416
3417 2014-05-26 Michael Albinus <michael.albinus@gmx.de>
3418
3419 * net/dbus.el (dbus-init-bus, dbus-call-method)
3420 (dbus-call-method-asynchronously, dbus-send-signal)
3421 (dbus-method-return-internal, dbus-method-error-internal):
3422 Check, whether Emacs has been compiled with D-Bus support. (Bug#17508)
3423
3424 2014-05-26 Nicolas Richard <theonewiththeevillook@yahoo.fr>
3425
3426 * emacs-lisp/eieio-opt.el (eieio-help-class): Correctly deal with
3427 methods which do not have a doc string. (Bug#17490)
3428
3429 2014-05-25 Tassilo Horn <tsdh@gnu.org>
3430
3431 * textmodes/reftex-ref.el (reftex-format-special): Make it work
3432 also for AMS Math's \eqref macro.
3433
3434 2014-05-25 Thien-Thi Nguyen <ttn@gnu.org>
3435
3436 Arrange to never byte-compile the generated -pkg.el file.
3437
3438 * emacs-lisp/package.el (package-generate-description-file):
3439 Output first-line comment to set buffer-local var `no-byte-compile'.
3440 Suggested by Dmitry Gutov:
3441 <http://lists.gnu.org/archive/html/emacs-devel/2014-05/msg00401.html>.
3442
3443 2014-05-25 Thien-Thi Nguyen <ttn@gnu.org>
3444
3445 Fix bug: Properly quote args to generated -pkg.el `define-package'.
3446
3447 * emacs-lisp/package.el (package-generate-description-file):
3448 Inline `package--alist-to-plist'; rewrite to selectively
3449 quote alist values that are not self-quoting.
3450 (package--alist-to-plist): Delete func.
3451
3452 2014-05-25 Andreas Schwab <schwab@linux-m68k.org>
3453
3454 * term/xterm.el (xterm-function-map): Add mapping for shifted
3455 keypad keys.
3456
3457 2014-05-24 Daniel Colascione <dancol@dancol.org>
3458
3459 * progmodes/subword.el (subword-find-word-boundary): Move point to
3460 correct spot before search. (Bug#17580)
3461
3462 * emacs-lisp/nadvice.el (defun): Write in eval-and-compile to avoid
3463 breaking the build.
3464
3465 2014-05-24 Leo Liu <sdl.web@gmail.com>
3466
3467 * calc/calc.el (math-bignum): Handle most-negative-fixnum. (Bug#17556)
3468
3469 2014-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
3470
3471 * minibuffer.el (completion--sreverse): Remove.
3472 (completion--common-suffix): Use `reverse' instead.
3473 * emacs-lisp/regexp-opt.el (regexp-opt-group): Use `reverse' on strings.
3474
3475 2014-05-22 Glenn Morris <rgm@gnu.org>
3476
3477 * shell.el (shell-mode) <shell-dirstack-query>: Bypass bash aliases.
3478
3479 2014-05-21 Daniel Colascione <dancol@dancol.org>
3480
3481 * files.el (interpreter-mode-alist): Add mksh.
3482
3483 * progmodes/sh-script.el (sh-ancestor-alist): Add mksh, a pdksh
3484 derivative.
3485 (sh-alias-alist): Alias /system/bin/sh (Android's system shell) to
3486 mksh. Improve custom spec; allow regular expressions.
3487 (sh-shell): Delegate name splitting to `sh-canonicalize-shell'.
3488 (sh-after-hack-local-variables): New function.
3489 (sh-mode): Use it; respect file-local `sh-shell' variable. (bug#17333)
3490 (sh-set-shell): Use `sh-canonicalize-shell' instead of open-coding
3491 the normalization.
3492 (sh-canonicalize-shell): Rewrite to support regexes.
3493
3494 2014-05-21 Leo Liu <sdl.web@gmail.com>
3495
3496 * emacs-lisp/cl-lib.el (cl-endp): Fix last change.
3497
3498 2014-05-19 Leo Liu <sdl.web@gmail.com>
3499
3500 * emacs-lisp/cl-lib.el (cl-endp): Conform to CL's semantics.
3501
3502 2014-05-18 Glenn Morris <rgm@gnu.org>
3503
3504 * loadup.el:
3505 * play/gametree.el: `track-mouse' is always defined since 2012-11-24.
3506
3507 2014-05-14 Sam Steingold <sds@gnu.org>
3508
3509 * progmodes/python.el (python-shell-get-or-create-process):
3510 Do not bind `current-prefix-arg' so that C-c C-z does not talk
3511 back unless requested.
3512
3513 2014-05-14 Glenn Morris <rgm@gnu.org>
3514
3515 * subr.el (with-file-modes): New macro.
3516 * printing.el (pr-save-file-modes): Make obsolete.
3517 * eshell/esh-util.el (eshell-with-file-modes): Make obsolete.
3518 * emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2):
3519 Add with-file-modes.
3520 * doc-view.el (doc-view-make-safe-dir):
3521 * epg.el (epg--start):
3522 * files.el (locate-user-emacs-file, make-temp-file)
3523 (backup-buffer-copy, move-file-to-trash):
3524 * printing.el (pr-despool-print, pr-call-process, pr-text2ps):
3525 * eshell/esh-util.el (eshell-with-private-file-modes)
3526 (eshell-make-private-directory):
3527 * net/browse-url.el (browse-url-mosaic):
3528 * obsolete/mailpost.el (post-mail-send-it):
3529 * obsolete/pgg-pgp.el (pgg-pgp-verify-region):
3530 * obsolete/pgg-pgp5.el (pgg-pgp5-verify-region):
3531 Use with-file-modes.
3532
3533 * vc/emerge.el (emerge-make-temp-file): Simplify.
3534
3535 2014-05-14 Stephen Berman <stephen.berman@gmx.net>
3536 Stefan Monnier <monnier@iro.umontreal.ca>
3537
3538 * minibuffer.el (completion-pcm--merge-try): Merge trailing / with
3539 suffix (bug#15419).
3540
3541 2014-05-14 Glenn Morris <rgm@gnu.org>
3542
3543 * vc/emerge.el (emerge-temp-file-prefix):
3544 Make pointless option obsolete.
3545 (emerge-temp-file-mode): Make non-functional option obsolete.
3546
3547 2014-05-14 Michael Albinus <michael.albinus@gmx.de>
3548
3549 * net/browse-url.el (browse-url):
3550 Use `unhandled-file-name-directory' when setting `default-directory',
3551 in order to circumvent stalled remote connections. (Bug#17425)
3552
3553 2014-05-14 Glenn Morris <rgm@gnu.org>
3554
3555 * printing.el (subst-char-in-string, make-temp-file, pr-get-symbol):
3556 Optimize on Emacs, which has the relevant functions for ages.
3557
3558 2014-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
3559
3560 * simple.el (undo-make-selective-list): Obey undo-no-redo.
3561
3562 2014-05-12 Sam Steingold <sds@gnu.org>
3563
3564 * calendar/time-date.el (seconds-to-string): New function to
3565 pretty print time delay in seconds.
3566
3567 2014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3568
3569 * mpc.el (mpc-format): Trim Date to the year.
3570 (mpc-songs-hashcons): Shorten the Date field.
3571
3572 * emacs-lisp/nadvice.el (advice--interactive-form): Don't get fooled
3573 into autoloading just because of a silly indirection.
3574
3575 2014-05-12 Santiago Payà i Miralta <santiagopim@gmail.com>
3576
3577 * vc/vc-hg.el (vc-hg-unregister): New function. (Bug#17454)
3578
3579 2014-05-12 Glenn Morris <rgm@gnu.org>
3580
3581 * emacs-lisp/find-gc.el: Move to ../admin.
3582
3583 * printing.el (pr-version):
3584 * ps-print.el (ps-print-version): Also mention bug-gnu-emacs.
3585
3586 * net/browse-url.el (browse-url-mosaic):
3587 Create /tmp/Mosaic.PID as a private file.
3588
3589 2014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3590
3591 * emacs-lisp/nadvice.el: Support adding a given function multiple times.
3592 (advice--member-p): If name is given, only compare the name.
3593 (advice--remove-function): Don't stop at the first match.
3594 (advice--normalize-place): New function.
3595 (add-function, remove-function): Use it.
3596 (advice--add-function): Pass the name, if any, to
3597 advice--remove-function.
3598
3599 2014-05-12 Philipp Rumpf <prumpf@gmail.com> (tiny change)
3600
3601 * electric.el (electric-indent-post-self-insert-function): Don't use
3602 `pos' after modifying the buffer (bug#17449).
3603
3604 2014-05-12 Stephen Berman <stephen.berman@gmx.net>
3605
3606 * calendar/todo-mode.el (todo-insert-item-from-calendar):
3607 Correct argument list to conform to todo-insert-item--basic.
3608
3609 2014-05-12 Glenn Morris <rgm@gnu.org>
3610
3611 * files.el (cd-absolute): Test if directory is accessible
3612 rather than executable. (Bug#17330)
3613
3614 * progmodes/compile.el (recompile):
3615 Handle C-u M-x recompile from a non-compilation buffer. (Bug#17444)
3616
3617 * net/browse-url.el (browse-url-mosaic):
3618 Be careful when writing /tmp/Mosaic.PID. (Bug#17428)
3619 This is CVE-2014-3423.
3620
3621 2014-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
3622
3623 * mouse.el: Use the normal toplevel loop while dragging.
3624 (mouse-set-point): Handle multi-clicks.
3625 (mouse-set-region): Handle multi-clicks for drags.
3626 (mouse-drag-region): Update call accordingly.
3627 (mouse-drag-track): Remove `do-mouse-drag-region-post-process' hack.
3628 Use the normal event loop instead of a local while/read-event loop.
3629 (global-map): Remove redundant bindings for double/triple-mouse-1.
3630 * xt-mouse.el (xterm-mouse-translate-1): Only process one event at a time.
3631 Generate synthetic down events when the protocol only sends up events.
3632 (xterm-mouse-last): Remove.
3633 (xterm-mouse--read-event-sequence-1000): Use xterm-mouse-last-down
3634 terminal parameter instead.
3635 (xterm-mouse--set-click-count): New function.
3636 (xterm-mouse-event): Detect/generate double/triple clicks.
3637 * reveal.el (reveal-close-old-overlays): Don't close while dragging.
3638
3639 * info.el (Info-quoted): New face.
3640 (Info-mode-font-lock-keywords): New var.
3641 (Info-mode): Use it.
3642
3643 * emacs-lisp/lisp-mode.el (preceding-sexp): Exclude leading "," which
3644 are a hindrance for C-x C-e.
3645
3646 2014-05-11 Leo Liu <sdl.web@gmail.com>
3647
3648 * net/rcirc.el (rcirc-sentinel): Fix last change.
3649
3650 2014-05-08 Sam Steingold <sds@gnu.org>
3651
3652 * net/rcirc.el (rcirc-reconnect-delay): New user option.
3653 (rcirc-sentinel): Auto-reconnect to the server if
3654 `rcirc-reconnect-delay' is non-0 (but not more often than its
3655 value in case the host is off-line).
3656
3657 2014-05-09 Eli Zaretskii <eliz@gnu.org>
3658
3659 * progmodes/grep.el (lgrep): Fix a typo in last commit.
3660
3661 2014-05-09 Glenn Morris <rgm@gnu.org>
3662
3663 * files.el (file-expand-wildcards):
3664 * man.el (Man-support-local-filenames):
3665 * printing.el (pr-i-directory, pr-interface-directory):
3666 * progmodes/grep.el (lgrep, rgrep):
3667 * textmodes/ispell.el (ispell-call-process)
3668 (ispell-call-process-region, ispell-start-process)
3669 (ispell-init-process): Use file-accessible-directory-p.
3670
3671 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
3672
3673 * xt-mouse.el: Drop spurious/oddly shaped events (bug#17378).
3674 (xterm-mouse--read-event-sequence-1000): Return nil if something
3675 looks fishy.
3676 (xterm-mouse-event): Propagate it.
3677 (xterm-mouse-translate-1): Handle it.
3678
3679 2014-05-08 Stephen Berman <stephen.berman@gmx.net>
3680
3681 * calendar/todo-mode.el (todo-insert-item--apply-args): When all
3682 four slots of the parameter list are filled, make sure to pass it
3683 to the argument list of todo-insert-item--basic.
3684
3685 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
3686
3687 * emacs-lisp/package.el (package-compute-transaction): Topological sort.
3688 Add optional `seen' argument to detect and break infinite loops.
3689
3690 2014-05-08 Eli Zaretskii <eliz@gnu.org>
3691
3692 * emacs-lisp/find-gc.el (find-gc-unsafe, find-unsafe-funcs)
3693 (trace-unsafe, trace-use-tree): Make parentheses style be
3694 according to Emacs style.
3695
3696 2014-05-08 Michael Albinus <michael.albinus@gmx.de>
3697
3698 * net/tramp-sh.el (tramp-remote-process-environment):
3699 Remove HISTFILE and HISTSIZE; it's too late to set them here.
3700 Add :version entry.
3701 (tramp-open-shell): Do not let-bind `tramp-end-of-output'.
3702 Add "HISTFILE=/dev/null" to the shell's env arguments. Do not send
3703 extra "PSx=..." commands.
3704 (tramp-maybe-open-connection): Setenv HISTFILE to /dev/null.
3705 (Bug#17295)
3706
3707 (tramp-uudecode): Replace the hard-coded temporary file name by a
3708 format specifier.
3709 (tramp-remote-coding-commands): Enhance docstring.
3710 (tramp-find-inline-encoding): Replace "%t" by a temporary file
3711 name. (Bug#17415)
3712 This is CVE-2014-3424.
3713
3714 2014-05-08 Glenn Morris <rgm@gnu.org>
3715
3716 * emacs-lisp/find-gc.el (find-gc-source-directory): Give it a value.
3717 (find-gc-source-files): Update some names.
3718 (trace-call-tree): Simplify and update.
3719 Avoid predictable temp-file names. (http://bugs.debian.org/747100)
3720 This is CVE-2014-3422.
3721
3722 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
3723
3724 * minibuffer.el (completion--try-word-completion): Revert fix for
3725 Bug#15980 (bug#17375).
3726
3727 * xt-mouse.el (xterm-mouse--read-event-sequence-1000): (bug#17378)
3728 Always store button numbers in the same way in xterm-mouse-last;
3729 Don't burp is xterm-mouse-last is not set as expected.
3730 Never return negative indices.
3731
3732 2014-05-08 Dmitry Gutov <dgutov@yandex.ru>
3733
3734 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
3735 Backtrack one char if the global/char-literal var matcher hits
3736 inside a string. The next char could be the beginning of an
3737 expression expansion.
3738
3739 2014-05-08 Glenn Morris <rgm@gnu.org>
3740
3741 * help-fns.el (describe-function-1): Test for an autoload before a
3742 macro, since `macrop' works on autoloads. (Bug#17410)
3743
3744 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
3745
3746 * electric.el (electric-indent-functions-without-reindent): Add yaml.
3747
3748 * minibuffer.el (completion-table-with-quoting) <completion--unquote>:
3749 Make sure the new point we return is within the new string (bug#17239).
3750
3751 2014-05-05 Daniel Colascione <dancol@dancol.org>
3752
3753 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3754 Port `gnu' pattern to rx.
3755
3756 2014-05-05 Jarek Czekalski <jarekczek@poczta.onet.pl>
3757
3758 Remove unneeded prompt when closing a buffer with active
3759 emacsclient ("Buffer ... still has clients"), #16548.
3760 * server.el (server-start): Remove the only call to:
3761 (server-kill-buffer-query-function): Remove.
3762
3763 2014-05-04 Leo Liu <sdl.web@gmail.com>
3764
3765 * calendar/diary-lib.el (calendar-chinese-month-name-array):
3766 Defvar to pacify compiler.
3767
3768 2014-05-04 Eli Zaretskii <eliz@gnu.org>
3769
3770 * mail/rmailsum.el (rmail-new-summary-1): Fix a typo in a comment.
3771
3772 2014-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
3773
3774 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
3775 Use nil rather than `default' for the "default" appearance (bug#17388).
3776 * vc/ediff-util.el (ediff-inferior-compare-regions)
3777 (ediff-toggle-autorefine, ediff-unselect-difference): Don't use
3778 a misleading `default' value when it's really a boolean.
3779 * vc/ediff-init.el (ediff-set-overlay-face): Don't set help-echo if the
3780 overlay is not visible.
3781
3782 2014-05-04 Stephen Berman <stephen.berman@gmx.net>
3783
3784 * calendar/todo-mode.el (todo-edit-file): Use display-warning.
3785 (todo-menu): Uncomment and update.
3786
3787 2014-05-04 Stephen Berman <stephen.berman@gmx.net>
3788
3789 * calendar/todo-mode.el: Reimplement item editing to have the same
3790 basic user interface as item insertion, and make small UI and
3791 larger internal improvements to the latter.
3792 (todo-insert-item): Add reference to the Todo mode user manual to
3793 the documentation string.
3794 (todo-insert-item--basic): Rename from todo-basic-insert-item and
3795 adjust all callers. Change signature to combine diary and
3796 nonmarking arguments. Incorporate functionality of deleted item
3797 copying command and add error checking. Remove detailed
3798 descriptions of the arguments from the documentation string, since
3799 this is treated in the Todo mode user manual.
3800 (todo-copy-item, todo-edit-multiline-item)
3801 (todo-edit-done-item-comment, todo-edit-item-header)
3802 (todo-edit-item-time, todo-edit-item-date-from-calendar)
3803 (todo-edit-item-date-to-today, todo-edit-item-date-day-name)
3804 (todo-edit-item-date-year, todo-edit-item-date-month)
3805 (todo-edit-item-date-day, todo-edit-item-diary-nonmarking):
3806 Remove.
3807 (todo-edit-item): Reimplement as wrapper command for
3808 todo-edit-item--next-key and make it distinguish done and not done
3809 todo items.
3810 (todo-edit-item--text): New function, replacing old command
3811 todo-edit-item and incorporating deleted commands
3812 todo-edit-multiline-item and todo-edit-done-item-comment.
3813 (todo-edit-item--header): Rename from todo-basic-edit-item-header.
3814 Use only numeric value of prefix argument. Remove detailed
3815 descriptions of the arguments from the documentation string, since
3816 this is treated in the Todo mode user manual.
3817 (todo-edit-item--diary-inclusion): New function, replacing old
3818 command todo-edit-item-diary-inclusion and incorporating and fixing
3819 functionality of deleted command todo-edit-item-diary-nonmarking,
3820 making sure to remove todo-nondiary-marker when adding
3821 diary-nonmarking-symbol.
3822 (todo-edit-category-diary-inclusion): Make sure to delete
3823 diary-nonmarking-symbol when adding todo-nondiary-marker.
3824 (todo-edit-category-diary-nonmarking): Fix indentation.
3825 (todo-insert-item--parameters): Group diary and nonmarking
3826 parameters together.
3827 (todo-insert-item--apply-args): Adjust to signature of
3828 todo-insert-item--basic and incorporate copy parameter.
3829 Make small code improvements.
3830 (todo-insert-item--next-param): Improve prompt and adjust it to
3831 new parameter grouping. Remove obsolete code.
3832 (todo-edit-item--param-key-alist)
3833 (todo-edit-item--date-param-key-alist)
3834 (todo-edit-done-item--param-key-alist): New defconsts.
3835 (todo-edit-item--prompt): New variable.
3836 (todo-edit-item--next-key): New function.
3837 (todo-key-bindings-t): Bind "e" to todo-edit-item.
3838 Remove bindings of deleted commands.
3839
3840 2014-05-04 Leo Liu <sdl.web@gmail.com>
3841
3842 * emacs-lisp/cl-macs.el (cl-deftype): Fix indentation.
3843
3844 2014-05-04 Glenn Morris <rgm@gnu.org>
3845
3846 * allout-widgets.el (allout-widgets-tally)
3847 (allout-decorate-item-guides):
3848 * menu-bar.el (menu-bar-positive-p):
3849 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
3850 * progmodes/gdb-mi.el (gdbmi-same-start, gdbmi-is-number):
3851 * progmodes/js.el (js--inside-param-list-p)
3852 (js--inside-dojo-class-list-p, js--forward-destructuring-spec):
3853 * progmodes/prolog.el (region-exists-p):
3854 * progmodes/verilog-mode.el (verilog-scan-cache-ok-p):
3855 * textmodes/reftex-parse.el (reftex-using-biblatex-p):
3856 Doc fixes (replace `iff').
3857
3858 2014-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
3859
3860 * mpc.el (mpc-volume-mouse-set): Don't burp at the boundaries.
3861
3862 2014-05-04 Leo Liu <sdl.web@gmail.com>
3863
3864 Support Chinese diary entries in calendar and diary. (Bug#17393)
3865 * calendar/cal-china.el (calendar-chinese-month-name-array): New var.
3866 (calendar-chinese-from-absolute-for-diary)
3867 (calendar-chinese-to-absolute-for-diary)
3868 (calendar-chinese-mark-date-pattern, diary-chinese-mark-entries)
3869 (diary-chinese-list-entries): New functions to list and mark
3870 Chinese diary entries in the calendar window.
3871 (diary-chinese-anniversary)
3872 (diary-chinese-insert-anniversary-entry)
3873 (diary-chinese-insert-entry, diary-chinese-insert-monthly-entry)
3874 (diary-chinese-insert-yearly-entry): New commands to insert
3875 Chinese diary entries.
3876
3877 * calendar/diary-lib.el (diary-font-lock-keywords):
3878 Support font-locking Chinese dates.
3879
3880 * calendar/cal-menu.el (cal-menu-diary-menu): Add entries for
3881 inserting Chinese diary entries.
3882
3883 * calendar/calendar.el (diary-chinese-entry-symbol):
3884 New customizable variable.
3885 (calendar-mode-map): Add bindings for inserting Chinese diary
3886 entries.
3887
3888 2014-05-03 Juri Linkov <juri@jurta.org>
3889
3890 * dired.el (dired-check-switches, dired-switches-recursive-p):
3891 New functions. (Bug#17218)
3892 (dired-switches-escape-p, dired-move-to-end-of-filename):
3893 Use `dired-check-switches'.
3894 (dired-insert-old-subdirs, dired-build-subdir-alist)
3895 (dired-sort-R-check): Use `dired-switches-recursive-p'.
3896
3897 2014-05-01 Barry O'Reilly <gundaetiapo@gmail.com>
3898
3899 * simple.el (undo-make-selective-list): New algorithm fixes
3900 incorrectness of position adjustments when undoing in region.
3901 (Bug#17235)
3902 (undo-elt-crosses-region): Make obsolete.
3903 (undo-adjust-elt, undo-adjust-beg-end, undo-adjust-pos):
3904 New functions to adjust positions using undo-deltas.
3905
3906 2014-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
3907
3908 * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): Only highlight past
3909 the last consecutive closing paren (bug#17345).
3910
3911 2014-04-30 Reuben Thomas <rrt@sc3d.org>
3912
3913 * dired.el (dired-mode): make terminology for eXpunge command
3914 consistent. (Bug#17276)
3915
3916 2014-04-30 Eli Zaretskii <eliz@gnu.org>
3917
3918 * dired.el (dired-initial-position-hook, dired-initial-position):
3919 Doc string fixes.
3920
3921 2014-04-30 Glenn Morris <rgm@gnu.org>
3922
3923 * mail/rmail.el (rmail-quit): Handle killed summaries. (Bug#17283)
3924
3925 2014-04-30 Matthias Dahl <matthias.dahl@binary-island.eu>
3926
3927 * faces.el (face-spec-recalc): Apply X resources only after the
3928 defface spec has been applied. Thus, X resources are no longer
3929 overriden by the defface spec which also fixes issues on win32 where
3930 the toolbar coloring was wrong because it is set through X resources
3931 and was (wrongfully) overriden. (Bug#16694)
3932
3933 2014-04-30 Stefan Monnier <monnier@iro.umontreal.ca>
3934
3935 * textmodes/rst.el (electric-pair-pairs): Declare.
3936 (rst-mode): Set it (bug#17131).
3937
3938 2014-04-30 Juri Linkov <juri@jurta.org>
3939
3940 * desktop.el (desktop-value-to-string): Let-bind `print-length'
3941 and `print-level' to nil. (Bug#17351)
3942
3943 2014-04-30 Nicolas Richard <theonewiththeevillook@yahoo.fr>
3944
3945 * battery.el (battery-update): Handle the case where battery
3946 status is "N/A" (bug#17319).
3947
3948 2014-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
3949
3950 * progmodes/ps-mode.el: Use SMIE. Move string and comment recognition
3951 to syntax-propertize.
3952 (ps-mode-auto-indent): Mark as obsolete.
3953 (ps-mode-font-lock-keywords-1): Remove string-or-comment handling.
3954 (ps-mode-font-lock-keywords-3): Use symbol regexp operators instead of
3955 word regexp operators.
3956 (ps-mode-map): Move initialization into declaration. Remove binding
3957 for TAB, RET, >, ], and }.
3958 (ps-mode-syntax-table): Move initialization into declaration.
3959 Don't give word syntax to non-word chars.
3960 (ps-run-mode-map): Move initialization into declaration.
3961 (ps-mode-menu-main): Remove auto-indent entry.
3962 (ps-mode-smie-rules): New function.
3963 (ps-mode): Setup smie, syntax-propertize, and electric-indent-mode.
3964 (ps-mode-looking-at-nested, ps-mode-match-string-or-comment): Remove.
3965 (ps-mode--string-syntax-table): New const.
3966 (ps-mode--syntax-propertize-special, ps-mode-syntax-propertize):
3967 New functions.
3968 (ps-mode-newline, ps-mode-tabkey, ps-mode-r-brace, ps-mode-r-angle)
3969 (ps-mode-r-gt, ps-mode-r-balance): Remove functions.
3970
3971 2014-04-27 Daniel Colascione <dancol@dancol.org>
3972
3973 * term/xterm.el (xterm-paste): Use large finite timeout when
3974 reading event to avoid putting keys in this-command-keys.
3975
3976 2014-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
3977
3978 * progmodes/perl-mode.el (perl--syntax-exp-intro-regexp): New var.
3979 (perl-syntax-propertize-function): Use it. Extend handling of
3980 here-docs to the unquoted case.
3981
3982 2014-04-25 Eli Zaretskii <eliz@gnu.org>
3983
3984 * tooltip.el (tooltip-show-help-non-mode, tooltip-show-help):
3985 Use equal-including-properties to compare help-echo strings (bug#17331).
3986
3987 2014-04-25 Leo Liu <sdl.web@gmail.com>
3988
3989 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
3990 Fix syntax for @. (Bug#17325)
3991
3992 2014-04-25 Daniel Colascione <dancol@dancol.org>
3993
3994 * emacs-lisp/cl.el (gv): Require gv early to break eager
3995 macro-expansion cycles.
3996
3997 2014-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
3998
3999 * simple.el (region-active-p): Check there's a mark (bug#17324).
4000
4001 * simple.el (completion-list-mode-map): Use choose-completion for the
4002 mouse binding as well (bug#17302).
4003 (completion-list-mode, completion-setup-function): Adjust docstring and
4004 echo area message accordingly.
4005 * progmodes/idlwave.el (idlwave-choose-completion): Adjust to new
4006 calling convention of choose-completion.
4007 * comint.el (comint-dynamic-list-completions):
4008 * term.el (term-dynamic-list-completions): Accept choose-completion.
4009
4010 * progmodes/perl-mode.el (perl-syntax-propertize-function): Slash after
4011 &, |, +, - and * can't be a division (bug#17317).
4012
4013 * term/xterm.el (xterm--version-handler): Don't use modern xterm
4014 features on gnome-terminal (bug#16988).
4015
4016 2014-04-25 Thien-Thi Nguyen <ttn@gnu.org>
4017
4018 Improve Scheme font-locking for (define ((foo ...) ...) ...).
4019
4020 * progmodes/scheme.el (scheme-font-lock-keywords-1): To find
4021 the declared object, ignore zero or more parens, not zero or one.
4022
4023 2014-04-24 Leo Liu <sdl.web@gmail.com>
4024
4025 * progmodes/xscheme.el (xscheme-expressions-ring)
4026 (xscheme-expressions-ring-yank-pointer, xscheme-running-p)
4027 (xscheme-control-g-disabled-p, xscheme-process-filter-state)
4028 (xscheme-allow-output-p, xscheme-prompt)
4029 (xscheme-string-accumulator, xscheme-mode-string): Use defvar-local.
4030
4031 * progmodes/scheme.el (would-be-symbol, next-sexp-as-string):
4032 Comment out unused functions.
4033
4034 2014-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
4035
4036 * info.el: Use lexical-binding and cl-lib.
4037 Use defvar-local and setq-local instead of make-local-variable.
4038 (Info-apropos-matches): Avoid add-to-list.
4039 (Info-edit-mode-map): Fix obsolescence call to Info-edit-map.
4040
4041 2014-04-24 Daniel Colascione <dancol@dancol.org>
4042
4043 * progmodes/sh-script.el (sh-builtins): Add coproc to list of bash builtins.
4044
4045 2014-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
4046
4047 * emacs-lisp/cl-macs.el (cl--loop-let): Fix last merge.
4048
4049 2014-04-22 Michael Heerdegen <michael_heerdegen@web.de>
4050
4051 * dired.el (dired-insert-set-properties): Do not consider
4052 subdirectory headings and empty lines to be information that
4053 `dired-hide-details-mode' should hide. (Bug#17228)
4054
4055 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
4056
4057 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
4058 Remove test messages.
4059 (tramp-do-copy-or-rename-file-out-of-band): Do not quote `source'
4060 and `target' twice.
4061
4062 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
4063
4064 * dframe.el (dframe-get-focus): Remove `hook' argument (bug#17311).
4065 * speedbar.el (speedbar-get-focus): Run the "hook" afterwards instead.
4066
4067 * emacs-lisp/cl-macs.el (cl--loop-let): Avoid `nil' as var name.
4068
4069 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
4070
4071 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
4072 Set "IFS=" when using read builtin, in order to preserve spaces in
4073 the file name. Add test messages for hunting a bug on hydra.
4074 (tramp-get-ls-command): Undo using "-b" argument. It doesn't help.
4075
4076 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
4077
4078 * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
4079 Don't prettify a word within a symbol.
4080
4081 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
4082
4083 * net/tramp-sh.el (tramp-get-ls-command): Use "-b" argument if
4084 possible.
4085
4086 2014-04-22 Daniel Colascione <dancol@dancol.org>
4087
4088 * emacs-lisp/byte-run.el (function-put): Unbreak build: don't
4089 use defun to define `function-put'.
4090
4091 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
4092
4093 * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): New function.
4094 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords-2): Use it.
4095 (lisp-mode-variables): Set font-lock-extra-managed-props.
4096
4097 * emacs-lisp/byte-run.el (function-put): New function.
4098 (defun-declarations-alist): Use it. Add `pure' and `side-effect-free'.
4099 * emacs-lisp/cl-macs.el (cl-defstruct, cl-struct-sequence-type)
4100 (cl-struct-slot-info, cl-struct-slot-offset, cl-struct-slot-value):
4101 Use them.
4102
4103 2014-04-22 Daniel Colascione <dancol@dancol.org>
4104
4105 * emacs-lisp/macroexp.el (internal-macroexpand-for-load):
4106 Add `full-p' parameter; when nil, call `macroexpand' instead of
4107 `macroexpand-all'.
4108
4109 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
4110 Improve docstrings.
4111
4112 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
4113 Use lambda function values, not quoted lambdas.
4114 (byte-compile-recurse-toplevel): Remove extraneous &optional.
4115
4116 * emacs-lisp/cl-macs.el
4117 (cl-struct-sequence-type, cl-struct-slot-info): Declare pure.
4118 (cl-struct-slot-value): Conditionally use aref or nth so that the
4119 compiler produces optimal code.
4120
4121 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
4122
4123 * emacs-lisp/cl-macs.el (cl-struct-slot-offset): Mark as pure.
4124 (inline): Don't inline cl--set-elt.
4125 (cl-struct-slot-value): Remove explicit gv-setter and compiler-macro.
4126 Define as inlinable instead.
4127 (cl-struct-set-slot-value): Remove.
4128
4129 * emacs-lisp/cl-lib.el (cl--set-elt): Remove.
4130 * emacs-lisp/cl-seq.el (cl-replace, cl-substitute, cl-nsubstitute):
4131 Use setf instead.
4132
4133 2014-04-21 Daniel Colascione <dancol@dancol.org>
4134
4135 * emacs-lisp/cl-macs.el (cl--const-expr-val): We didn't need the
4136 last two parameters after all.
4137 (cl--expr-contains,cl--compiler-macro-typep,cl--compiler-macro-member)
4138 (cl--compiler-macro-assoc,cl-struct-slot-value)
4139 (cl-struct-set-slot-value): Stop using them.
4140
4141 (2014-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
4142
4143 * image-mode.el (image-mode-window-put): Don't assume there's a `t'
4144 entry in image-mode-winprops-alist.
4145
4146 2014-04-21 Daniel Colascione <dancol@dancol.org>
4147
4148 * emacs-lisp/bytecomp.el (byte-compile-recurse-toplevel): New function.
4149 (byte-compile-recurse-toplevel, byte-compile-initial-macro-environment)
4150 (byte-compile-toplevel-file-form): Use it.
4151
4152 * emacs-lisp/cl-macs.el:
4153 (cl--loop-let): Properly destructure `while' clauses.
4154
4155 2014-04-20 Daniel Colascione <dancol@dancol.org>
4156
4157 * vc/vc.el (vc-root-dir): New public autoloaded function for
4158 generically finding the current VC root.
4159 * vc/vc-hooks.el (vc-not-supported): New error.
4160 (vc-call-backend): Signal `vc-not-supported' instead of generic error.
4161
4162 2014-04-20 Daniel Colascione <dancol@dancol.org>
4163
4164 * emacs-lisp/cl-macs.el (cl-the): Make `cl-the' assert its type
4165 argument.
4166 (cl--const-expr-val): cl--const-expr-val should macroexpand its
4167 argument in case we're inside a symbol-macrolet.
4168 (cl--do-arglist, cl--compiler-macro-typep)
4169 (cl--compiler-macro-member, cl--compiler-macro-assoc): Pass macro
4170 environment to `cl--const-expr-val'.
4171 (cl-struct-sequence-type,cl-struct-slot-info)
4172 (cl-struct-slot-offset, cl-struct-slot-value)
4173 (cl-struct-set-slot-value): New functions.
4174
4175 2014-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
4176
4177 * progmodes/sh-script.el (sh-smie--sh-keyword-p): Handle variable
4178 assignments such as "case=hello" (bug#17297).
4179
4180 2014-04-18 Michael Albinus <michael.albinus@gmx.de>
4181
4182 * net/tramp.el (tramp-run-real-handler, tramp-file-name-handler):
4183 Do not autoload.
4184 (tramp-file-name-handler, tramp-completion-file-name-handler):
4185 Revert patch from 2014-04-10, it isn't necessary anymore.
4186 (tramp-autoload-file-name-handler)
4187 (tramp-register-autoload-file-name-handlers): New defuns.
4188 (top): Autoload call of `tramp-register-autoload-file-name-handlers'.
4189 (tramp-register-file-name-handlers): Remove also
4190 `tramp-autoload-file-name-handler' from `file-name-handler-list'.
4191 Do not autoload its invocation, but eval it after loading of 'tramp.
4192
4193 * net/tramp-adb.el (tramp-unload-hook): Unload `tramp-adb'.
4194
4195 * net/tramp-compat.el (tramp-unload-hook): Unload `tramp-loaddefs'.
4196
4197 2014-04-17 Daniel Colascione <dancol@dancol.org>
4198
4199 Add support for bracketed paste mode; add infrastructure for
4200 managing terminal mode enabling and disabling automatically.
4201
4202 * xt-mouse.el:
4203 (xterm-mouse-mode): Simplify.
4204 (xterm-mouse-tracking-enable-sequence)
4205 (xterm-mouse-tracking-disable-sequence): New constants.
4206 (turn-on-xterm-mouse-tracking-on-terminal)
4207 (turn-off-xterm-mouse-tracking-on-terminal):
4208 Use tty-mode-set-strings and tty-mode-reset-strings terminal
4209 parameters instead of random hooks.
4210 (turn-on-xterm-mouse-tracking)
4211 (turn-off-xterm-mouse-tracking): Delete.
4212
4213 * term/xterm.el (xterm-extra-capabilities): Fix bitrotted comment.
4214 (xterm-paste-ending-sequence): New constant.
4215 (xterm-paste): New command used for bracketed paste support.
4216
4217 (xterm-modify-other-keys-terminal-list): Delete obsolete variable.
4218 (terminal-init-xterm-bracketed-paste-mode): New function.
4219 (terminal-init-xterm): Call it.
4220 (terminal-init-xterm-modify-other-keys): Use tty-mode-set-strings
4221 and tty-mode-reset-strings instead of random hooks.
4222 (xterm-turn-on-modify-other-keys)
4223 (xterm-turn-off-modify-other-keys)
4224 (xterm-remove-modify-other-keys): Delete obsolete functions.
4225
4226 * term/screen.el: Rewrite to just use the xterm code.
4227 Add copyright notice. Mention tmux.
4228
4229 2014-04-17 Ian D <dunni@gnu.org> (tiny change)
4230
4231 * image-mode.el (image-mode-window-put): Also update the property of
4232 the "default window".
4233 * doc-view.el (doc-view-new-window-function): If no window
4234 exists, move to the last known page.
4235
4236 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
4237
4238 * progmodes/perl-mode.el (perl-calculate-indent): Don't auto-indent in
4239 here-documents (bug#17262).
4240
4241 2014-04-16 Eli Zaretskii <eliz@gnu.org>
4242
4243 * term/pc-win.el (x-list-fonts, x-get-selection-value):
4244 Provide doc strings, as required by snarf-documentation.
4245
4246 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
4247
4248 * ps-def.el (ps-generate-postscript-with-faces1): Use the new `sorted'
4249 arg of overlays-at. Use `invisible-p'.
4250
4251 * obsolete/lucid.el (extent-at):
4252 * htmlfontify.el (hfy-overlay-props-at): Use the new `sorted' arg of
4253 overlays-at.
4254 (hfy-fontify-buffer): Remove unused var `orig-ovls'.
4255
4256 2014-04-16 João Távora <joaotavora@gmail.com>
4257
4258 * net/shr.el (shr-expand-url): Use `expand-file-name' for relative
4259 links. (Bug#17217).
4260
4261 2014-04-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
4262
4263 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
4264 Use mapc to loop over a vector. (Bug#17257).
4265
4266 2014-04-16 Michael Albinus <michael.albinus@gmx.de>
4267
4268 * net/tramp-sh.el (tramp-sh-handle-file-truename): Revert previous
4269 patch, there are new problems with file names containing spaces.
4270 Get rid of backticks. (Bug#17238)
4271
4272 2014-04-16 João Távora <joaotavora@gmail.com>
4273
4274 * elec-pair.el (electric-pair--syntax-ppss): Simplify and fix
4275 possible bug.
4276
4277 2014-04-16 Eli Zaretskii <eliz@gnu.org>
4278
4279 * frame.el (blink-cursor-blinks, blink-cursor-blinks-done): Doc fixes.
4280 (blink-cursor-mode): Mention customization variables and the
4281 effect of 'blink-cursor-blinks'.
4282
4283 2014-04-16 Barry O'Reilly <gundaetiapo@gmail.com>
4284
4285 * simple.el (undo): Prevent insertion of identity mapping into
4286 undo-equiv-table so as undo-only does not inf loop in the presence
4287 of consecutive nils in undo list.
4288
4289 2014-04-16 Matthias Dahl <matthias.dahl@binary-island.eu>
4290
4291 * faces.el (make-face): Deprecate optional argument as it is no
4292 longer needed/used since the conditional X resources handling
4293 has been pushed down to make-face-x-resource-internal itself.
4294 (make-empty-face): Don't pass optional argument to make-face.
4295
4296 2014-04-16 Karl Fogel <kfogel@red-bean.com>
4297
4298 * savehist.el (savehist-save): Remove workaround for a read-passwd
4299 bug that was fixed before 24.3. Thanks to Juanma Barranquero for
4300 noticing that the shim was still present.
4301
4302 2014-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
4303
4304 * doc-view.el (doc-view-set-doc-type): Ignore file name case; add .pps.
4305
4306 2014-04-14 Juanma Barranquero <lekktu@gmail.com>
4307
4308 * faces.el (face-set-after-frame-default): Remove unused local variable.
4309
4310 2014-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
4311
4312 * progmodes/grep.el: Use lexical-binding.
4313 (grep-expand-template): Pass explicit lexical env to `eval'.
4314 (zrgrep): Let-bind grep-find-template explicitly.
4315
4316 * emacs-lisp/cl-lib.el (current-case-table): Remove setter.
4317 * leim/quail/sisheng.el (sisheng-list): Use with-case-table.
4318
4319 2014-04-12 Eli Zaretskii <eliz@gnu.org>
4320
4321 * international/characters.el <standard-case-table>: Add entries
4322 for letters from the Coptic block u+2C80-u+2CFF. (Bug#17243)
4323 Set category of Coptic characters be 'g' (Greek).
4324
4325 2014-04-12 Leo Liu <sdl.web@gmail.com>
4326
4327 * progmodes/octave.el (completion-table-with-cache):
4328 Define if not available.
4329 (octave-goto-function-definition, octave-sync-function-file-names)
4330 (octave-find-definition-default-filename):
4331 Backquote upattern for compatibility.
4332
4333 2014-04-12 Michael Albinus <michael.albinus@gmx.de>
4334
4335 * net/tramp-sh.el (tramp-sh-handle-file-truename): Quote the file
4336 name twice due to backticks. (Bug#17238)
4337
4338 2014-04-12 Glenn Morris <rgm@gnu.org>
4339
4340 * term/w32-win.el (x-win-suspend-error):
4341 * term/x-win.el (x-win-suspend-error): Sync docs.
4342
4343 2014-04-12 Matthias Dahl <matthias.dahl@binary-island.eu>
4344
4345 * faces.el (make-face): Remove deprecated optional argument.
4346 The conditional application of X resources is handled directly by
4347 make-face-x-resource-internal since Emacs 24.4.
4348 (make-empty-face): Don't pass optional argument to make-face.
4349
4350 2014-04-11 Glenn Morris <rgm@gnu.org>
4351
4352 * Makefile.in (EMACSDATA, EMACSDOC, EMACSPATH): Unexport. (Bug#16429)
4353
4354 2014-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
4355
4356 Ediff's overlay priorities cause more trouble than they solve.
4357 * vc/ediff-init.el (ediff-shadow-overlay-priority): Remove variable.
4358 (ediff-highest-priority): Remove function (bug#17234).
4359 * vc/ediff-util.el (ediff-highlight-diff-in-one-buffer):
4360 * vc/ediff-diff.el (ediff-set-diff-overlays-in-one-buffer)
4361 (ediff-set-fine-diff-properties-in-one-buffer): Don't mess with
4362 overlay priorities.
4363
4364 2014-04-11 Feng Li <fengli@gmail.com> (tiny change)
4365
4366 * progmodes/pascal.el (pascal-font-lock-keywords): Fix incorrect format
4367 entry; use symbol boundaries to avoid mis-matches.
4368
4369 2014-04-11 Michael Albinus <michael.albinus@gmx.de>
4370
4371 * net/tramp.el (tramp-file-name-handler)
4372 (tramp-completion-file-name-handler): Avoid recursive loading.
4373
4374 * net/tramp-sh.el (tramp-make-copy-program-file-name):
4375 Quote result also locally.
4376
4377 2014-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
4378
4379 * emulation/cua-base.el (<toplevel>, cua--pre-command-handler-1):
4380 Remove left-over code.
4381
4382 * newcomment.el (comment-indent-new-line): Sink code where it's used.
4383 Reuse the previous comment's indentation unconditionally if it's on its
4384 own line.
4385
4386 2014-04-09 Daniel Colascione <dancol@dancol.org>
4387
4388 * emacs-lisp/lisp.el (backward-up-list): Add `escape-strings',
4389 `no-syntax-crossing' arguments. Forward to `up-list'.
4390 (up-list): Add `escape-strings', `no-syntax-crossing' arguments.
4391 Implement logic for escaping from strings. Use narrowing to deal
4392 with corner cases.
4393
4394 2014-04-09 Leo Liu <sdl.web@gmail.com>
4395
4396 * net/rcirc.el (rcirc-connection-info): New variable.
4397 (rcirc-connect): Use it to store connection info.
4398 (rcirc-buffer-process): Avoid get-buffer-process which returns nil
4399 for killed process.
4400 (rcirc-cmd-reconnect): New command. (Bug#17045)
4401 (rcirc-mode, set-rcirc-encode-coding-system)
4402 (set-rcirc-decode-coding-system, rcirc-connect): Use setq-local.
4403
4404 2014-04-09 Daniel Colascione <dancol@dancol.org>
4405
4406 * emacs-lisp/cl-indent.el: Add comment claiming
4407 facility is also good for elisp.
4408 (lisp-indent-find-method): New function.
4409 (common-lisp-indent-function): Recognize cl-loop.
4410 (common-lisp-indent-function-1): Recognize cl constructs; use
4411 `lisp-indent-find-method' instead of `get' directly.
4412 (if): Use else-body style for elisp.
4413
4414 2014-04-09 Dmitry Gutov <dgutov@yandex.ru>
4415
4416 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
4417 Module methods. (Bug#17216)
4418
4419 2014-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
4420
4421 * help.el (describe-bindings): Fix buffer handling (bug#17210).
4422 (describe-bindings-internal): Mark obsolete.
4423
4424 2014-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
4425
4426 * subr.el (with-silent-modifications): Don't bind deactivate-mark,
4427 buffer-file-name, and buffer-file-truename any more.
4428
4429 2014-04-08 Leo Liu <sdl.web@gmail.com>
4430
4431 Use lexical-binding and require cl-lib.
4432 * net/rcirc.el (rcirc, rcirc-handler-ctcp-KEEPALIVE)
4433 (rcirc-handler-generic, rcirc-fill-paragraph)
4434 (rcirc-format-response-string, rcirc-target-buffer)
4435 (rcirc-last-line, rcirc-record-activity, rcirc-split-activity)
4436 (rcirc-activity-string, rcirc-make-trees, rcirc-cmd-ctcp)
4437 (rcirc-ctcp-sender-PING, rcirc-browse-url)
4438 (rcirc-markup-timestamp, rcirc-markup-attributes)
4439 (rcirc-markup-my-nick, rcirc-markup-urls)
4440 (rcirc-markup-bright-nicks, rcirc-markup-fill)
4441 (rcirc-check-auth-status, rcirc-handler-WALLOPS)
4442 (rcirc-handler-JOIN, rcirc-handler-PART-or-KICK)
4443 (rcirc-handler-PART, rcirc-handler-KICK, rcirc-handler-QUIT)
4444 (rcirc-handler-NICK, rcirc-handler-PING, rcirc-handler-PONG)
4445 (rcirc-handler-TOPIC, rcirc-handler-301, rcirc-handler-317)
4446 (rcirc-handler-332, rcirc-handler-333, rcirc-handler-477)
4447 (rcirc-handler-MODE, rcirc-handler-353, rcirc-handler-366)
4448 (rcirc-authenticate, rcirc-handler-INVITE, rcirc-handler-ERROR)
4449 (rcirc-handler-ctcp-VERSION, rcirc-handler-ctcp-TIME)
4450 (rcirc-handler-CTCP-response): Fix unused arguments warnings and
4451 use cl-lib.
4452
4453 2014-04-07 João Távora <joaotavora@gmail.com>
4454
4455 * elec-pair.el (electric-pair--syntax-ppss):
4456 When inside comments parse from comment beginning.
4457 (electric-pair--balance-info): Fix typo in comment.
4458 (electric-pair--in-unterminated-string-p): Delete.
4459 (electric-pair--unbalanced-strings-p): New function.
4460 (electric-pair-string-bound-function): New var.
4461 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
4462 according to `electric-pair--in-unterminated-string-p'
4463
4464 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
4465 Inhibit quote pairing if point-max is inside an unterminated string.
4466 (electric-pair--looking-at-unterminated-string-p): Delete.
4467 (electric-pair--in-unterminated-string-p): New function.
4468
4469 2014-04-07 Glenn Morris <rgm@gnu.org>
4470
4471 * shell.el (shell-directory-tracker):
4472 Go back to just ignoring failures. (Bug#17159)
4473
4474 2014-04-07 João Távora <joaotavora@gmail.com>
4475
4476 Fix `electric-pair-delete-adjacent-pairs' in modes binding
4477 backspace. (bug#16981)
4478 * elec-pair.el (electric-pair-backward-delete-char): Delete.
4479 (electric-pair-backward-delete-char-untabify): Delete.
4480 (electric-pair-mode-map): Bind backspace to a menu item filtering
4481 a new `electric-pair-delete-pair' command.
4482 (electric-pair-delete-pair): New command.
4483
4484 * progmodes/python.el (python-electric-pair-string-delimiter):
4485 Fix triple-quoting electricity. (Bug#17192)
4486
4487 * elec-pair.el (electric-pair-post-self-insert-function):
4488 Don't skip whitespace when `electric-pair-text-pairs' and
4489 `electric-pair-pairs' were used. syntax to
4490 electric-pair--skip-whitespace. (Bug#17183)
4491
4492 2014-04-07 Eli Zaretskii <eliz@gnu.org>
4493
4494 * leim/quail/ipa.el (ipa-x-sampa): Fix the character produced for
4495 "<F>". (Bug#17199)
4496
4497 2014-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
4498
4499 * mpc.el (mpc--status-timer-run): Disable timer if not displayed.
4500 (mpc--status-idle-timer-run): Use mpc--status-timer-run.
4501
4502 2014-04-07 Glenn Morris <rgm@gnu.org>
4503
4504 * help.el (view-lossage): Doc tweak.
4505
4506 2014-04-07 Matthias Dahl <ml_emacs-lists@binary-island.eu>
4507
4508 * faces.el (face-spec-recalc): Call make-face-x-resource-internal
4509 only when inhibit-x-resources is nil, and do that earlier in the
4510 function. Doc fix. (Bug#16694)
4511 (face-spec-choose): Accept additional optional argument, whose
4512 value is returned if no matching attributes are found.
4513 (face-spec-recalc): Use the new optional argument when calling
4514 face-spec-choose. (Bug#16378)
4515 (make-face-x-resource-internal): Do nothing when
4516 inhibit-x-resources is non-nil. Don't touch the default face if
4517 reversed video is given--as was done in previous versions of Emacs.
4518 (face-set-after-frame-default): Don't call
4519 make-face-x-resource-internal here. (Bug#16434)
4520
4521 2014-04-07 Tassilo Horn <tsdh@gnu.org>
4522
4523 * doc-view.el (doc-view-bookmark-jump):
4524 Use `bookmark-after-jump-hook' to jump to the right page after the
4525 buffer is shown in a window. (bug#16090)
4526
4527 2014-04-07 Eli Zaretskii <eliz@gnu.org>
4528
4529 * international/characters.el (mirroring): Fix last change:
4530 instead of loading uni-mirrored.el explicitly, do that implicitly
4531 by creating the 'mirroring' uniprop table. This avoids announcing
4532 the loading of uni-mirrored.el.
4533
4534 2014-04-07 Glenn Morris <rgm@gnu.org>
4535
4536 * files.el (buffer-stale--default-function)
4537 (buffer-stale-function, revert-buffer--default):
4538 * autorevert.el (auto-revert-buffers): Doc tweaks.
4539
4540 2014-04-07 Eli Zaretskii <eliz@gnu.org>
4541
4542 * international/characters.el: Preload uni-mirrored.el. (Bug#17169)
4543
4544 2014-04-07 Glenn Morris <rgm@gnu.org>
4545
4546 * files.el (make-backup-file-name-function)
4547 (make-backup-file-name, make-backup-file-name--default-function)
4548 (make-backup-file-name-1, find-backup-file-name)
4549 (revert-buffer-function, revert-buffer-insert-file-contents-function)
4550 (buffer-stale--default-function, buffer-stale-function)
4551 (before-revert-hook, after-revert-hook, revert-buffer-in-progress-p)
4552 (revert-buffer, revert-buffer--default)
4553 (revert-buffer-insert-file-contents--default-function):
4554 Doc fixes related to defaults no longer being nil.
4555 (make-backup-file-name-function): Bump :version.
4556 Restore nil as a valid but deprecated custom type.
4557
4558 2014-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
4559
4560 * progmodes/perl-mode.el (perl-syntax-propertize-function):
4561 Handle $' used as a variable (bug#17174).
4562
4563 * progmodes/perl-mode.el (perl-indent-new-calculate):
4564 Handle forward-sexp failure (bug#16985).
4565 (perl-syntax-propertize-function): Add "foreach" and "for" statement
4566 modifiers introducing expressions (bug#17116).
4567
4568 2014-04-06 Stefan Monnier <monnier@iro.umontreal.ca>
4569
4570 * dired-aux.el (dired-file-set-difference): Use lexical-scoping.
4571
4572 2014-04-05 Leo Liu <sdl.web@gmail.com>
4573
4574 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
4575 Add define-compilation-mode.
4576
4577 2014-04-04 João Távora <joaotavora@gmail.com>
4578
4579 * elec-pair.el (electric-pair--syntax-ppss): When inside comments
4580 parse from comment beginning.
4581 (electric-pair--balance-info): Fix typo in comment.
4582 (electric-pair--in-unterminated-string-p): Delete.
4583 (electric-pair--unbalanced-strings-p): New function.
4584 (electric-pair-string-bound-function): New var.
4585 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
4586 according to `electric-pair--in-unterminated-string-p'.
4587
4588 2014-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
4589
4590 * textmodes/reftex-parse.el (reftex--index-tags): Rename `index-tags'.
4591 Move declaration before first use.
4592 (reftex-move-to-next-arg): Silence compiler warning.
4593
4594 2014-04-04 Joost Kremers <joostkremers@fastmail.fm> (tiny change)
4595
4596 * textmodes/reftex-toc.el (reftex-toc, reftex-re-enlarge):
4597 Use `window-total-width' instead of `window-width'.
4598
4599 2014-04-03 Daniel Colascione <dancol@dancol.org>
4600
4601 * subr.el (set-transient-map): Remove rms's workaround entirely;
4602 use new `suspicious-object' subr to mark our lambda for closer
4603 scrutiny during gc.
4604
4605 2014-04-02 Richard Stallman <rms@gnu.org>
4606
4607 * subr.el (set-transient-map): Comment out previous change.
4608
4609 2014-04-02 Glenn Morris <rgm@gnu.org>
4610
4611 * menu-bar.el (menu-bar-file-menu):
4612 * vc/ediff.el (ediff-current-file):
4613 Update for revert-buffer-function no longer being nil by default.
4614
4615 * simple.el (command-execute): Respect nil disabled-command-function.
4616
4617 2014-04-02 Nicolas Richard <theonewiththeevillook@yahoo.fr>
4618
4619 * simple.el (command-execute): Do not execute the command when it
4620 is disabled; fixes thinko in 2013-02-20 conversion from C. (Bug#17151)
4621
4622 2014-04-02 Juri Linkov <juri@jurta.org>
4623
4624 * dired-aux.el (dired-compress-file): Don't use string-match-p
4625 because its match data is used afterwards.
4626
4627 2014-04-02 Stefan Monnier <monnier@iro.umontreal.ca>
4628
4629 * emacs-lisp/package.el (package-built-in-p): Treat a min-version of
4630 0 like nil.
4631
4632 2014-04-02 João Távora <joaotavora@gmail.com>
4633
4634 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
4635 Inhibit quote pairing if point-max is inside an unterminated string.
4636 (electric-pair--looking-at-unterminated-string-p):
4637 Delete.
4638 (electric-pair--in-unterminated-string-p): New function.
4639
4640 2014-04-01 Daniel Colascione <dancol@dancol.org>
4641
4642 * minibuffer.el (minibuffer-complete): Prevent assertion failure
4643 when trying to complete the prompt.
4644
4645 2014-03-31 Leo Liu <sdl.web@gmail.com>
4646
4647 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
4648 Refactor out eldoc-documentation-function-default.
4649 (eldoc-documentation-function-default): New function.
4650 (eldoc-documentation-function): Change value.
4651
4652 2014-03-31 Glenn Morris <rgm@gnu.org>
4653
4654 * simple.el (cycle-spacing--context, cycle-spacing): Doc tweaks.
4655
4656 * progmodes/vhdl-mode.el (vhdl-speedbar-select-mra)
4657 (vhdl-compose-components-package, vhdl-compose-configuration):
4658 Abbreviate default-directory (missing from some previous upstream sync).
4659
4660 2014-03-31 Reto Zimmermann <reto@gnu.org>
4661
4662 Sync with upstream vhdl mode v3.35.2.
4663 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
4664 (top-level): No longer require assoc.
4665 (vhdl-asort, vhdl-anot-head-p, vhdl-aput, vhdl-adelete, vhdl-aget):
4666 New functions. Use throughout to replace aget etc.
4667 (vhdl-aput-delete-if-nil): Rename from vhdl-aput.
4668 (vhdl-update-file-contents): Update for vhdl-aput-delete-if-nil rename.
4669 (vhdl-template-replace-header-keywords): Fix bug for "<title string>".
4670 (vhdl-compile-init): Do not initialize regexps for Emacs 22+.
4671 (vhdl-error-regexp-emacs-alist): Remove regexps from all compilers
4672 except `vhdl-compiler'.
4673 (vhdl-error-regexp-add-emacs): Remove all other compilers,
4674 when appropriate.
4675
4676 2014-03-31 Glenn Morris <rgm@gnu.org>
4677
4678 * progmodes/vhdl-mode.el (vhdl-expand-abbrev, vhdl-expand-paren):
4679 Revert 2014-03-26 merge goof; go back to using defalias.
4680
4681 2014-03-30 Daniel Colascione <dancol@dancol.org>
4682
4683 * comint.el (comint-send-input):
4684 Deactivate completion-in-region-mode before we send comint input.
4685 (Bug#17139).
4686
4687 * simple.el (keyboard-quit): Deactivate completion-in-region-mode
4688 on keyboard-quit.
4689
4690 2014-03-29 Glenn Morris <rgm@gnu.org>
4691
4692 * textmodes/reftex.el: Manage most autoloads automatically.
4693 * textmodes/reftex-auc.el, textmodes/reftex-cite.el:
4694 * textmodes/reftex-dcr.el, textmodes/reftex-global.el:
4695 * textmodes/reftex-index.el, textmodes/reftex-parse.el:
4696 * textmodes/reftex-ref.el, textmodes/reftex-sel.el:
4697 * textmodes/reftex-toc.el: Set generated-autoload-file,
4698 and add autoload cookies for reftex.el.
4699 * Makefile.in (AUTOGEN_VCS): Add textmodes/reftex.el.
4700
4701 2014-03-28 Glenn Morris <rgm@gnu.org>
4702
4703 * cus-start.el (report-emacs-bug-address): Set custom properties.
4704 * mail/emacsbug.el (report-emacs-bug-address):
4705 Variable is now defined in emacs.c.
4706
4707 * mail/emacsbug.el (report-emacs-bug):
4708 Include system-configuration-features.
4709
4710 2014-03-28 Michal Nazarewicz <mina86@mina86.com>
4711
4712 * simple.el (cycle-spacing): Never delete spaces on first run by
4713 default, but do so in a new 'fast mode and if there are already
4714 N spaces (the previous behavior).
4715 Compare N with its value in previous invocation so that changing
4716 prefix argument restarts `cycle-spacing' sequence.
4717 The idea is that with this change, binding M-SPC to
4718 `cycle-spacing' should not introduce any changes in behavior of
4719 the binding so long as users do not type M-SPC twice in a raw with
4720 the same prefix argument or lack thereof.
4721
4722 2014-03-28 Glenn Morris <rgm@gnu.org>
4723
4724 * faces.el (term-file-aliases): New variable.
4725 (tty-run-terminal-initialization): Respect term-file-aliases.
4726 * term/apollo.el, term/vt102.el, term/vt125.el, term/vt201.el:
4727 * term/vt220.el, term/vt240.el, term/vt300.el, term/vt320.el:
4728 * term/vt400.el, term/vt420.el: Remove files, replaced by aliases.
4729
4730 2014-03-27 Glenn Morris <rgm@gnu.org>
4731
4732 * startup.el (inhibit-startup-hooks): Doc tweak.
4733 (normal-top-level): Simplify running of hooks.
4734 For window-setup-hook, respect inhibit-startup-hooks.
4735 (command-line-1): Don't set window-setup-hook to nil.
4736
4737 Allow selective autoloading from obsolete/ directory.
4738 * Makefile.in (obsolete-autoloads): New rule.
4739 (autoloads): Run obsolete-autoloads.
4740 * obsolete/iswitchb.el (iswitchb-mode): Use obsolete-autoload.
4741 * simple.el (iswitchb-mode): Remove hand-written autoloads.
4742
4743 2014-03-27 Dmitry Gutov <dgutov@yandex.ru>
4744
4745 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
4746 Highlight special globals with font-lock-builtin-face. (Bug#17057)
4747
4748 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
4749 Don't propertize `?' or `!' as symbol constituent when after
4750 colon. (Bug#17097)
4751
4752 2014-03-27 Juanma Barranquero <lekktu@gmail.com>
4753
4754 * frameset.el (frameset--restore-frame): Remove workaround for bug#14795
4755 which is no longer needed and causes trouble in GTK builds (bug#17046).
4756
4757 * emacs-lisp/package-x.el (package--archive-contents-from-url):
4758 Use url-insert-file-contents; package-handle-response no longer exists.
4759
4760 2014-03-26 Daniel Colascione <dancol@dancol.org>
4761
4762 * simple.el (process-menu-mode-map): New variable.
4763 (process-menu-delete-process): New command.
4764
4765 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
4766
4767 * emacs-lisp/package.el: Fix bug#16733 (again).
4768 (url-http-parse-response, url-http-end-of-headers, url-recreate-url)
4769 (url-http-target-url): Remove unused declarations.
4770 (package-handle-response): Remove.
4771 (package--with-work-buffer): Use url-insert-file-contents and simplify.
4772 (package--download-one-archive): Use current-buffer instead of
4773 dynamic binding of `buffer'.
4774 (describe-package-1): Do not decode readme-string.
4775
4776 2014-03-26 Michael Albinus <michael.albinus@gmx.de>
4777
4778 * net/tramp.el (tramp-methods, tramp-connection-timeout): Fix docstring.
4779
4780 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Revert change
4781 from 2014-03-07, it decreases performance unnecessarily. Let-bind
4782 `remote-file-name-inhibit-cache' to nil in the second pass.
4783 (tramp-find-executable): Do not call "which" on SunOS.
4784 (tramp-send-command-and-check): Fix docstring.
4785 (tramp-do-copy-or-rename-file-directly): In the `rename' case,
4786 check whether source directory has set the sticky bit.
4787
4788 2014-03-26 Barry O'Reilly <gundaetiapo@gmail.com>
4789
4790 * simple.el (primitive-undo): Only process marker adjustments
4791 validated against their corresponding (TEXT . POS). Issue warning
4792 for lone marker adjustments in undo history. (Bug#16818)
4793 (undo-make-selective-list): Add marker adjustments to selective
4794 undo list based on whether their corresponding (TEXT . POS) is in
4795 the region. Remove variable adjusted-markers, which was unused
4796 and only non nil during undo-make-selective-list.
4797 (undo-elt-in-region): Return nil when passed a marker adjustment
4798 and explain in function doc.
4799
4800 2014-03-26 Nicolas Richard <theonewiththeevillook@yahoo.fr>
4801
4802 * align.el (align-region): Do not fail when end-mark is nil (bug#17088).
4803
4804 2014-03-26 Dmitry Gutov <dgutov@yandex.ru>
4805
4806 * progmodes/ruby-mode.el (ruby-expression-expansion-re):
4807 Match special global variables without curlies, too.
4808 (ruby-font-lock-keywords): Simplify the matcher for special global
4809 variables. Don't require a non-word character after the variable.
4810 (Bug#17057)
4811
4812 2014-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
4813
4814 * simple.el (redisplay-highlight-region-function): Increase priority of
4815 overlay to make sure boundaries are visible (bug#15899).
4816
4817 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
4818
4819 * frameset.el (frameset--initial-params): Fix typo in parameter name.
4820 (frameset-restore): Compare display strings with equal.
4821
4822 * frame.el (make-frame): Don't quote display name in error message,
4823 it is already a string.
4824
4825 2014-03-26 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4826
4827 * net/tramp.el (tramp-read-passwd): Suspend the timers while reading
4828 the password.
4829
4830 2014-03-26 Dmitry Gutov <dgutov@yandex.ru>
4831
4832 * emacs-lisp/package.el (package--add-to-archive-contents):
4833 Include already installed and built-in packages in
4834 `package-archive-contents'.
4835 (package-install): Don't include already installed packages in the
4836 options during interactive invocation. (Bug#16762)
4837 (package-show-package-list): If the buffer is already displayed in
4838 another window, switch to that window.
4839
4840 2014-03-26 Reto Zimmermann <reto@gnu.org>
4841
4842 Sync with upstream vhdl mode v3.35.1.
4843 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
4844 (vhdl-compiler-alist): Doc fix.
4845 (vhdl-goto-line): Remove.
4846 (vhdl-mode-abbrev-table-init): Add XEmacs compat.
4847 (vhdl-mode) <paragraph-start>: Fix value.
4848 (vhdl-fix-statement-region): Not `for' in wait-statement.
4849 (vhdl-beautify-region): Also (un)tabify.
4850 (vhdl-get-visible-signals):
4851 Scan declarative part of generate statements.
4852 (vhdl-template-record): Fix indentation for record type declaration.
4853 (vhdl-expand-abbrev, vhdl-expand-paren):
4854 Revert to using fset again rather than defalias.
4855 (vhdl-scan-directory-contents): Tweak.
4856 (vhdl-speedbar-find-file, vhdl-speedbar-port-copy)
4857 (vhdl-compose-components-package):
4858 Replace vhdl-goto-line with forward-line.
4859 (top-level): Tweak speedbar frame selection.
4860 (vhdl-generate-makefile-1): Support for compilers with no
4861 unit-to-file name mapping (create directory with dummy files).
4862
4863 2014-03-26 Wilson Snyder <wsnyder@wsnyder.org>
4864
4865 Sync with upstream verilog-mode revision 702457d.
4866 * progmodes/verilog-mode.el (verilog-mode-version): Update.
4867 (create-lockfiles): Declare.
4868 (verilog-read-decls): Fix module header imports, bug709.
4869 Reported by Victor Lau.
4870 Fix parsing 'var' in AUTOs, msg1294. Reported by Dominique Chen.
4871 (verilog-auto-inout-module): Fix AUTOINOUTMODULE not inserting
4872 interface-only modules, bug721. Reported by Dean Hoyt.
4873
4874 2014-03-26 Glenn Morris <rgm@gnu.org>
4875
4876 * obsolete/gulp.el: Move here from emacs-lisp/.
4877
4878 * files.el (lock-buffer, unlock-buffer, file-locked-p):
4879 Remove fallback aliases, since they are always defined now.
4880
4881 2014-03-24 Daniel Colascione <dancol@dancol.org>
4882
4883 * emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member'
4884 instead of cl-loop search function.
4885
4886 2014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
4887
4888 * calendar/parse-time.el (parse-time-iso8601-regexp)
4889 (parse-iso8601-time-string): Copy from `url-dav' so that we can use
4890 it more generally.
4891
4892 2014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
4893
4894 * net/dns.el (network-interface-list): Define for XEmacs.
4895
4896 2014-03-23 Magnus Henoch <magnus.henoch@gmail.com>
4897
4898 * net/dns.el (dns-servers-up-to-date-p): New function to see whether
4899 the network interfaces changed.
4900 (dns-query): Use it to flush the data.
4901
4902 2014-03-23 Juanma Barranquero <lekktu@gmail.com>
4903
4904 * vc/vc.el (vc-rollback): Use set-buffer-modified-p.
4905
4906 2014-03-23 Daniel Colascione <dancol@dancol.org>
4907
4908 Change subword-mode to use `find-word-boundary-function-table' and
4909 replace `capitalized-words-mode'. Also, convert to lexical binding.
4910 * progmodes/cap-words.el: Delete now-obsolete file.
4911 * progmodes/subword.el: Reimplement using
4912 `find-word-boundary-function-table'.
4913 (subword-mode-map): Hollow out.
4914 (capitalized-words-mode): Define as obsolete alias for
4915 `subword-mode'.
4916 (subword-mode, superword-mode): Tweak documentation to reflect new
4917 implementation; call `subword-setup-buffer'.
4918 (subword-forward, subword-capitalize): Add underscore to indicate
4919 unused variable.
4920 (subword-find-word-boundary-function-table): New constant.
4921 (subword-empty-char-table): New constant.
4922 (subword-setup-buffer): New function.
4923 (subword-find-word-boundary): New function.
4924
4925 2014-03-23 Daniel Colascione <dancol@dancol.org>
4926
4927 * emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop'
4928 list to look for keyword arguments instead of `memq', fixing
4929 (Bug#3647) --- unfortunately, only for freshly-compiled code.
4930 Please make bootstrap.
4931
4932 2014-03-22 Glenn Morris <rgm@gnu.org>
4933
4934 * dired.el (dired-read-regexp): Make obsolete.
4935 (dired-mark-files-regexp, dired-mark-files-containing-regexp)
4936 (dired-flag-files-regexp):
4937 * dired-aux.el (dired-mark-read-regexp):
4938 * dired-x.el (dired-mark-unmarked-files): Use read-regexp directly.
4939
4940 * startup.el (fancy-startup-text):
4941 * help.el (describe-gnu-project): Visit online info about GNU project.
4942
4943 * help-fns.el (help-fns--interactive-only): New function.
4944 (help-fns-describe-function-functions): Add the above function.
4945 * simple.el (beginning-of-buffer, end-of-buffer, insert-buffer)
4946 (next-line, previous-line): Remove hand-written interactive-only
4947 information from doc strings, it is auto-generated now.
4948 * bookmark.el (bookmark-write):
4949 * epa-mail.el (epa-mail-decrypt, epa-mail-verify, epa-mail-sign)
4950 (epa-mail-import-keys): Mark interactive-only,
4951 and remove hand-written interactive-only information from doc strings.
4952 * epa.el (epa-decrypt-armor-in-region, epa-verify-region)
4953 (epa-verify-cleartext-in-region, epa-sign-region, epa-encrypt-region):
4954 * files.el (not-modified):
4955 * simple.el (mark-whole-buffer): Mark interactive-only.
4956
4957 * emacs-lisp/byte-run.el (defun-declarations-alist):
4958 Add interactive-only. Doc tweak.
4959 (macro-declarations-alist): Doc tweak.
4960 * subr.el (declare): Doc tweak (add xref to manual).
4961 * comint.el (comint-run):
4962 * files.el (insert-file-literally, insert-file):
4963 * replace.el (replace-string, replace-regexp):
4964 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
4965 (delete-forward-char, goto-line, insert-buffer, next-line)
4966 (previous-line): Set interactive-only via declare.
4967
4968 2014-03-22 Dmitry Gutov <dgutov@yandex.ru>
4969
4970 * emacs-lisp/package.el (package-desc): Use the contents of the
4971 quoted form, not its cdr. (Bug#16873)
4972
4973 2014-03-22 Juanma Barranquero <lekktu@gmail.com>
4974
4975 * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
4976 benefit of doc.c; change parameter profile to match the X function.
4977
4978 2014-03-22 Leo Liu <sdl.web@gmail.com>
4979
4980 * help.el (temp-buffer-setup-hook): Remove help-mode-setup.
4981 (temp-buffer-show-hook): Remove help-mode-finish. (Bug#16038)
4982
4983 2014-03-21 Richard Stallman <rms@gnu.org>
4984
4985 * battery.el (battery-linux-sysfs): Search for each field
4986 from the beginning of the buffer.
4987
4988 * subr.el (set-transient-map): Clear out function and value
4989 of the temporary symbol when we're done with it.
4990
4991 * mail/rmailsum.el (rmail-summary-delete-forward):
4992 Optimize case of reaching end and handling count.
4993 (rmail-summary-mark-deleted): Optimize when N is current msg.
4994 Don't create new summary line.
4995 (rmail-summary-undelete): Pass arg to rmail-undelete-previous-message.
4996 (rmail-summary-undelete-many): Rewrite for speed.
4997 (rmail-summary-msg-number): New function.
4998
4999 * mail/rmail.el (rmail-delete-message): Update summary.
5000 (rmail-undelete-previous-message): Handle repeat count arg.
5001 (rmail-delete-backward, rmail-delete-forward): Likewise.
5002
5003 2014-03-21 Daniel Colascione <dancol@dancol.org>
5004
5005 * mail/emacsbug.el (report-emacs-bug): Include memory usage
5006 information in bug reports.
5007
5008 2014-03-21 Michael Albinus <michael.albinus@gmx.de>
5009
5010 * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
5011 and `tramp-copy-env'.
5012
5013 * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
5014 (tramp-maybe-open-connection): Handle `tramp-login-env'.
5015
5016 2014-03-21 Glenn Morris <rgm@gnu.org>
5017
5018 * electric.el (electric-indent-post-self-insert-function): Add doc.
5019
5020 2014-03-21 Dmitry Gutov <dgutov@yandex.ru>
5021
5022 * emacs-lisp/package.el (package-compute-transaction):
5023 Use `version-list-<=' to compare the requirement version against
5024 the version of package already to be installed. Update the error
5025 message. (Bug#16826)
5026
5027 * progmodes/ruby-mode.el (ruby-smie-rules):
5028 Add indentation rule for ` @ '. (Bug#17050)
5029
5030 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
5031
5032 * align.el (align-regexp): Remove superfluous backslash.
5033
5034 * ffap.el (ffap-ftp-default-user, ffap-url-regexp)
5035 (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
5036 (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
5037 Fix docstring typos.
5038 (ffap-next): Use C-u in docstring.
5039 (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
5040 (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
5041 Remove superfluous backslashes.
5042 (ffap-string-at-point): Reflow docstring.
5043
5044 * server.el (server-host): Reflow docstring.
5045 (server-unload-function): Fix docstring typo.
5046 (server-eval-at): Remove superfluous backslash.
5047
5048 * skeleton.el (skeleton-insert): Remove superfluous backslash.
5049 (skeleton-insert): Doc fix.
5050 (skeleton-insert): Reflow docstring.
5051
5052 * term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
5053 (tty-color-approximate, tty-color-by-index, tty-color-values)
5054 (tty-color-desc): Remove superfluous backslashes.
5055
5056 2014-03-21 Glenn Morris <rgm@gnu.org>
5057
5058 * cus-start.el (history-length): Bump :version.
5059
5060 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
5061 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
5062 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
5063 Don't set `make-backup-files'.
5064
5065 * info.el (info--prettify-description): New function,
5066 to give info-finder descriptions consistent case, punctuation.
5067 (Info-finder-find-node): Use it. Sort packages.
5068 Refer to "description" rather than "commentary".
5069
5070 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
5071
5072 * frameset.el (frameset--print-register): New function.
5073 (frameset-to-register): Use it.
5074
5075 2014-03-20 Juanma Barranquero <lekktu@gmail.com>
5076
5077 * progmodes/hideif.el (hif-string-to-number): New function.
5078 (hif-tokenize): Use it to understand non-decimal floats.
5079
5080 * emacs-lisp/cl-extra.el (cl--map-overlays): Remove obsolete code.
5081
5082 * skeleton.el (skeleton-autowrap): Mark as obsolete. Doc fix.
5083
5084 2014-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
5085
5086 * electric.el (electric-newline-and-maybe-indent): New command.
5087 Bind it globally to C-j.
5088 (electric-indent-mode): Don't mess with the global map any more.
5089 Don't drop the post-self-insert-hook is some buffer is still using it
5090 (bug#16770).
5091
5092 * bindings.el (global-map): Remove C-j binding.
5093
5094 * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
5095 the docstring of functions advised before dumping (bug#16993).
5096
5097 2014-03-19 Stefan-W. Hahn <stefan.hahn@s-hahn.de> (tiny change)
5098
5099 * ps-print.el (ps-generate-postscript-with-faces):
5100 Explicitly deactivate the mark (bug#16866).
5101 * simple.el (deactivate-mark): Update region highlight.
5102
5103 2014-03-19 Juanma Barranquero <lekktu@gmail.com>
5104
5105 * emacs-lisp/package.el (describe-package-1):
5106 Decode commentary (bug#16733).
5107
5108 2014-03-18 Juanma Barranquero <lekktu@gmail.com>
5109
5110 * custom.el (defcustom): Doc fix: recommend avoiding destructive
5111 modification of the value argument of :set (bug#16755).
5112
5113 2014-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
5114
5115 * simple.el (newline-and-indent): Do autofill (bug#17031).
5116
5117 2014-03-18 Dmitry Gutov <dgutov@yandex.ru>
5118
5119 * newcomment.el (comment-normalize-vars): Only add escaping check
5120 to `comment-start-skip' if not `comment-use-syntax'. (Bug#16971)
5121 (comment-beginning): Use `narrow-to-region' instead of moving back
5122 one character.
5123 (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
5124 (comment-start-skip): Update the docstring.
5125
5126 2014-03-18 Richard Stallman <rms@gnu.org>
5127
5128 * dired.el (dired-display-file): Force use of other window.
5129
5130 2014-03-18 Daniel Colascione <dancol@dancol.org>
5131
5132 * startup.el (tty-handle-args): Remove debug message from 2007.
5133
5134 2014-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
5135
5136 * emacs-lisp/nadvice.el (advice--interactive-form): New function.
5137 (advice--make-interactive-form): Use it to avoid (auto)loading function.
5138 (advice--make-1, advice-add, advice-remove):
5139 Remove braindead :advice-pending hack.
5140
5141 2014-03-17 Glenn Morris <rgm@gnu.org>
5142
5143 * calendar/calendar.el (calendar-generate-month): Apply weekend
5144 face to the right days; fixes 2013-08-06 change. (Bug#17028)
5145
5146 2014-03-17 Michael Albinus <michael.albinus@gmx.de>
5147
5148 * net/tramp.el (tramp-action-out-of-band): Read pending output.
5149 (tramp-call-process): Trace also DESTINATION.
5150
5151 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
5152 Quote file names when they are local. Remove superfluous trace.
5153
5154 2014-03-17 Dmitry Gutov <dgutov@yandex.ru>
5155
5156 * newcomment.el (comment-beginning): If `comment-start-skip'
5157 doesn't match, move back one char and try again. (Bug#16971)
5158
5159 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
5160 Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
5161 Set `comment-start-skip' to a simpler value that doesn't try to
5162 check if the semicolon is escaped (this is handled by
5163 `syntax-ppss' now). (Bug#16971)
5164
5165 * progmodes/scheme.el (scheme-mode-variables): Same.
5166
5167 2014-03-16 Martin Rudalics <rudalics@gmx.at>
5168
5169 Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
5170 * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
5171 current (Bug#16816, Bug#17007).
5172 (with-current-buffer-window): New macro doing the same as
5173 `with-temp-buffer-window' but with BUFFER-OR-NAME current.
5174 * help.el (help-print-return-message): Warn in doc-string to not
5175 use this in `with-help-window'.
5176 (describe-bindings-internal): Call `describe-buffer-bindings'
5177 from within help buffer. See Juanma's scenario in (Bug#16816).
5178 (with-help-window): Update doc-string.
5179 * dired.el (dired-mark-pop-up):
5180 * files.el (save-buffers-kill-emacs):
5181 * register.el (register-preview): Use `with-current-buffer-window'
5182 instead of `with-temp-buffer-window'.
5183
5184 2014-03-16 Juanma Barranquero <lekktu@gmail.com>
5185
5186 * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
5187 Implement inserting into current buffer, documented in their docstrings.
5188 (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
5189 (rst-section-tree-point, rst-forward-section, rst-indent)
5190 (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
5191 (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
5192 (rst-font-lock-handle-adornment-pre-match-form)
5193 (rst-repeat-last-character): Reflow docstrings.
5194 (rst-preferred-adornments, rst-update-section, rst-find-title-line)
5195 (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
5196 (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
5197 (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
5198 Fix docstring typos.
5199 (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
5200 (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
5201 (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
5202
5203 2014-03-15 Juanma Barranquero <lekktu@gmail.com>
5204
5205 * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
5206 for compatibility with other ports.
5207 (ns-initialize-window-system): Use it. It is set in term/common-win.el
5208 from the -xrm command line argument, but in the Nextstep port its value
5209 is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
5210
5211 * progmodes/python.el (defconst, python-syntax-count-quotes)
5212 (python-indent-region, python-indent-shift-right)
5213 (python-indent-dedent-line-backspace, python-nav-backward-sexp)
5214 (python-nav-backward-sexp-safe, python-nav-backward-up-list)
5215 (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
5216 (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
5217 (inferior-python-mode, python-shell-make-comint, run-python-internal)
5218 (python-shell-buffer-substring, python-shell-send-buffer)
5219 (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
5220 (python-completion-complete-at-point, python-fill-docstring-style)
5221 (python-eldoc-function, python-imenu-format-item-label)
5222 (python-imenu-format-parent-item-label)
5223 (python-imenu-format-parent-item-jump-label)
5224 (python-imenu--build-tree, python-imenu-create-index)
5225 (python-imenu-create-flat-index): Fix docstring typos.
5226 (python-indent-context, python-shell-prompt-regexp, run-python):
5227 Remove superfluous backslashes.
5228 (python-indent-line, python-nav-beginning-of-defun)
5229 (python-shell-get-buffer, python-shell-get-process)
5230 (python-info-current-defun, python-info-current-line-comment-p)
5231 (python-info-current-line-empty-p, python-util-popn): Doc fixes.
5232 (python-indent-post-self-insert-function, python-shell-send-file)
5233 (python-shell-completion-get-completions)
5234 (python-shell-completion-complete-or-indent)
5235 (python-eldoc--get-doc-at-point): Reflow docstrings.
5236
5237 2014-03-14 Glenn Morris <rgm@gnu.org>
5238
5239 * emacs-lisp/package.el (package-menu-mode-map):
5240 Replace use of obsolete function alias. Tweak menu item text.
5241
5242 * info.el (Info-finder-find-node):
5243 Ignore the `emacs' metapackage. (Bug#10813)
5244
5245 * finder.el (finder-list-matches): Include unversioned packages
5246 in the result of a keyword search.
5247
5248 * finder.el (finder--builtins-descriptions): New constant.
5249 (finder-compile-keywords): Use finder--builtins-descriptions.
5250
5251 2014-03-14 Dmitry Gutov <dgutov@yandex.ru>
5252
5253 * simple.el (blink-matching-paren): Describe the new value,
5254 `jump', enabling the old behavior.
5255 (blink-matching-open): Use that value. (Bug#17008)
5256
5257 2014-03-14 Glenn Morris <rgm@gnu.org>
5258
5259 * finder.el (finder-no-scan-regexp): Add leim-list.
5260 (finder-compile-keywords):
5261 Don't skip files with same basename. (Bug#14010)
5262 * Makefile.in (setwins_finder): New, excluding leim.
5263 (finder-data): Use setwins_finder.
5264
5265 * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
5266 (help-function-arglist, help-make-usage): Move from here...
5267 * help.el (help-split-fundoc, help-add-fundoc-usage)
5268 (help-function-arglist, help-make-usage): ... to here. (Bug#17001)
5269 * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
5270
5271 2014-03-14 Juanma Barranquero <lekktu@gmail.com>
5272
5273 * net/socks.el (socks, socks-override-functions)
5274 (socks-find-services-entry):
5275 * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
5276 (hif-find-ifdef-block):
5277 * progmodes/modula2.el (m2-indent): Fix docstring typos.
5278
5279 * net/tls.el (tls-program): Reflow docstring.
5280
5281 * progmodes/pascal.el (pascal-mode-abbrev-table)
5282 (pascal-imenu-generic-expression, pascal-auto-endcomments)
5283 (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
5284 (pascal-outline-mode): Fix docstring typos.
5285 (pascal-mode): Let define-derived-mode document mode hook.
5286 (pascal-uncomment-area): Reflow.
5287 (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
5288
5289 * progmodes/opascal.el (opascal-compound-block-indent)
5290 (opascal-case-label-indent): Fix docstring typos.
5291 (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
5292
5293 2014-03-13 Dmitry Gutov <dgutov@yandex.ru>
5294
5295 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5296 Fontify multiple adjacent negation chars. (Bug#17004)
5297
5298 2014-03-13 Tom Willemse <tom@ryuslash.org> (tiny change)
5299
5300 * emacs-lisp/package.el (package--prepare-dependencies):
5301 Accept requirements without explicit version (bug#14941).
5302
5303 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
5304
5305 * register.el (register-separator, copy-to-register): Doc fixes.
5306 (register-preview-default): Remove unnecessary call to concat.
5307
5308 * frameset.el (frameset-restore): When checking for a visible frame,
5309 use the action map instead of calling visible-frame-list.
5310
5311 2014-03-12 Jonas Bernoulli <jonas@bernoul.li>
5312
5313 * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
5314
5315 2014-03-12 Martin Rudalics <rudalics@gmx.at>
5316
5317 * window.el (fit-frame-to-buffer): Get maximum width from
5318 display's width instead of height.
5319
5320 2014-03-12 Glenn Morris <rgm@gnu.org>
5321
5322 * desktop.el (desktop-restore-frames)
5323 (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
5324 (desktop-restore-reuses-frames): Doc tweaks.
5325
5326 * electric.el (electric-indent-mode): Doc fix.
5327
5328 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
5329
5330 * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
5331 (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
5332 (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
5333 (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
5334 (cvs-dired-use-hook): Fix docstring typos.
5335 (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
5336 Doc fixes.
5337
5338 * vc/pcvs-defs.el (cvs-auto-remove-handled)
5339 (cvs-auto-remove-directories, cvs-default-ignore-marks)
5340 (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
5341 (cvs-execute-single-dir): Fix docstring typos.
5342
5343 * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
5344 (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
5345
5346 * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
5347
5348 * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
5349 Fix docstring typos.
5350
5351 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
5352
5353 * frameset.el (frameset--jump-to-register): Add autoload; it could be
5354 called from jump-to-register after unloading the frameset package.
5355
5356 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
5357
5358 * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
5359 (bug#16975). Deactivate the mark before setting it to nil.
5360 (activate-mark): Do nothing if region is already active.
5361
5362 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
5363
5364 * frameset.el (frameset--target-display): Remove definition; declare.
5365 (frameset-save, frameset-restore): Let-bind frameset--target-display.
5366
5367 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
5368
5369 * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
5370 (advice-add): Add a :advice--pending marker, so advice--make-1 knows
5371 when the advice is pending.
5372 (advice-remove): Remove this marker when not needed any more.
5373
5374 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
5375
5376 * frameset.el: Separate options for reusing frames and cleaning up.
5377 (frameset--reuse-list): Remove definition; declare.
5378 (frameset--action-map): Declare.
5379 (frameset--find-frame-if): Doc fix.
5380 (frameset--restore-frame): Cache frame action.
5381 (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
5382 how to clean up the frame list after restoring. Remove cleaning
5383 options from REUSE-FRAMES. Change all keyword values to symbols.
5384 (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
5385
5386 * desktop.el (desktop-restore-forces-onscreen)
5387 (desktop-restore-reuses-frames): Use non-keyword values.
5388 (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
5389
5390 2014-03-10 Glenn Morris <rgm@gnu.org>
5391
5392 * files.el (find-file): Doc fix: update info node name.
5393
5394 * emacs-lisp/advice.el (ad-add-advice, defadvice):
5395 Doc fix: remove references to deleted info nodes.
5396
5397 2014-03-10 Michael Albinus <michael.albinus@gmx.de>
5398
5399 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
5400 Do not add nil to the environment, when there's no remote `locale'.
5401 (tramp-find-inline-encoding): Check, that the remote host has
5402 installed perl, before sending scripts.
5403
5404 2014-03-10 Leo Liu <sdl.web@gmail.com>
5405
5406 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
5407 Clear eldoc-last-message. (Bug#16920)
5408
5409 2014-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
5410
5411 * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
5412 (bug#14430).
5413
5414 2014-03-09 Juri Linkov <juri@jurta.org>
5415
5416 * ansi-color.el (ansi-color-names-vector): Copy default colors
5417 from `xterm-standard-colors' that look well on the default white
5418 background (and also on the black background) to avoid illegible
5419 color combinations like yellow-on-white and white-on-white.
5420 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
5421
5422 2014-03-08 Juanma Barranquero <lekktu@gmail.com>
5423
5424 * frameset.el (frameset-restore): When no frame is visible, do not
5425 generate a list of frames, just make visible the selected one.
5426
5427 2014-03-08 Dmitry Gutov <dgutov@yandex.ru>
5428
5429 * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
5430 it only contains the repository root. (Bug#16897)
5431
5432 2014-03-07 Michael Albinus <michael.albinus@gmx.de>
5433
5434 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
5435 only when `remote-file-name-inhibit-cache' is nil.
5436 (tramp-sh-file-name-handler): Use `tramp-error'. Simplify code.
5437
5438 2014-03-06 Martin Rudalics <rudalics@gmx.at>
5439
5440 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
5441 Fix doc-strings.
5442 (fit-frame-to-buffer): New argument ONLY. Remove dependency on
5443 fit-frame-to-buffer variable. Fix doc-string.
5444 (fit-window-to-buffer): Set ONLY argument in call of
5445 fit-frame-to-buffer. Fix doc-string.
5446
5447 2014-03-06 Michael Albinus <michael.albinus@gmx.de>
5448
5449 * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
5450 (tramp-action-password): Clear password cache if needed.
5451 (tramp-read-passwd): Do not clear password cache.
5452
5453 * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
5454 cache unless it is the first password request.
5455
5456 2014-03-06 Glenn Morris <rgm@gnu.org>
5457
5458 * simple.el (newline): Doc tweak.
5459
5460 * emacs-lisp/shadow.el (load-path-shadows-find):
5461 Ignore dir-locals. (Bug#12357)
5462
5463 2014-03-05 Glenn Morris <rgm@gnu.org>
5464
5465 * files.el (interpreter-mode-alist):
5466 * progmodes/sh-script.el (sh-ancestor-alist): Add dash. (Bug#16938)
5467
5468 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
5469
5470 * frameset.el (frameset--initial-params): Filter out null entries.
5471
5472 2014-03-05 Martin Rudalics <rudalics@gmx.at>
5473
5474 * window.el (window-min-height, window-min-width):
5475 Rewrite doc-strings.
5476 (window-body-size): Add PIXELWISE argument to make it consistent
5477 with its callees.
5478
5479 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
5480
5481 * finder.el (finder-mode-map, finder-mode-syntax-table):
5482 Revert part of 2014-02-28 change.
5483
5484 2014-03-05 Lars Ingebrigtsen <larsi@gnus.org>
5485
5486 * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
5487 (eww-setup-buffer): Clear next/prev/etc more reliably.
5488 (eww-textarea-map): [tab] doesn't work on tty.
5489 Reported by Mario Lang.
5490
5491 * net/shr.el (shr-map): Ditto.
5492
5493 2014-03-04 Glenn Morris <rgm@gnu.org>
5494
5495 * minibuffer.el (completion-hilit-commonality):
5496 Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
5497
5498 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
5499
5500 * hilit-chg.el (hilit-chg-unload-function): New function.
5501 (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
5502 (hilit-chg-map-changes): Prefer cardinal number to digit.
5503 (hilit-chg-display-changes): Reflow docstring.
5504 (highlight-changes-rotate-faces): Remove superfluous backslash.
5505
5506 2014-03-04 Michael Albinus <michael.albinus@gmx.de>
5507
5508 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
5509 `tramp-send-command-and-check'.
5510
5511 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
5512
5513 * hexl.el (hexl-address-region, hexl-ascii-region)
5514 (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
5515 (hexl-backward-short, hexl-forward-short, hexl-backward-word)
5516 (hexl-forward-word, hexl-previous-line, hexl-next-line):
5517 Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
5518 (hexl-mode): Doc fix.
5519 (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
5520 (hexl-mode-ruler): Fix typos in docstrings.
5521
5522 * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
5523 (strokes-character, strokes-get-grid-position, strokes-list-strokes):
5524 Remove superfluous backslashes.
5525 (strokes-last-stroke, strokes-global-map, strokes-mode):
5526 Reflow docstrings.
5527 (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
5528 (strokes-xpm-for-compressed-string): Use quotes with buffer name.
5529 (strokes-distance-squared, strokes-global-set-stroke)
5530 (strokes-global-set-stroke-string): Doc fixes.
5531 (strokes-help): Fix typos; reflow docstring.
5532
5533 2014-03-04 Martin Rudalics <rudalics@gmx.at>
5534
5535 * window.el (window-in-direction): Fix doc-string.
5536
5537 2014-03-04 Glenn Morris <rgm@gnu.org>
5538
5539 * emacs-lisp/smie.el (smie-config-guess): Doc fix.
5540 Explicit error if no grammar.
5541 (smie-config-save): Doc fix. Fix quote typo.
5542
5543 2014-03-04 Stefan Monnier <monnier@iro.umontreal.ca>
5544
5545 * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
5546 electric-indent-mode-hook if we obey electric-indent-mode.
5547 (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
5548 decide whether we obey electric-indent-mode.
5549 (c-change-set-fl-decl-start, c-extend-after-change-region):
5550 Silence warnings.
5551 (c-electric-indent-mode-hook): Assume we do want to obey
5552 electric-indent-mode.
5553
5554 * electric.el (electric-indent-mode-has-been-called): Remove.
5555 (electric-indent-mode): Fix accordingly.
5556
5557 * files.el (hack-local-variables): Mention file name in warning.
5558
5559 * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
5560
5561 2014-03-04 Michal Nazarewicz <mina86@mina86.com>
5562
5563 * bindings.el: Add comment describing why C-d binds to `delete-char'.
5564 * simple.el (delete-forward-char): Mark as interactive-only.
5565
5566 2014-03-03 Juanma Barranquero <lekktu@gmail.com>
5567
5568 * icomplete.el (icomplete-completions):
5569 Follow-up to 2014-03-01 change.
5570
5571 * icomplete.el: Miscellaneous doc fixes.
5572 Use Icomplete everywhere instead of icomplete for consistency.
5573 (icomplete-max-delay-chars): Fix typo.
5574 (icomplete-mode): Use \[].
5575 (icomplete-tidy, icomplete-exhibit): Reflow.
5576 (icomplete-minibuffer-setup-hook, icomplete-completions):
5577 Remove superfluous backlashes.
5578
5579 * ido.el: Miscellaneous doc fixes.
5580 Use Ido everywhere instead of ido or `ido' for consistency.
5581 (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
5582 (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
5583 (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
5584 (ido-separator): Extract obsolescence info from docstring and declare
5585 with make-obsolete-variable.
5586 (ido-minibuffer-setup-hook): Simplify example.
5587 (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
5588 (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
5589 (ido-completion-help, ido-completing-read): Fix typos in docstrings.
5590 (ido-everywhere): Reflow docstring.
5591 (ido-toggle-vc): Doc fix.
5592 (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
5593 of long list of keybindings.
5594
5595 2014-03-03 Glenn Morris <rgm@gnu.org>
5596
5597 * frame.el (display-pixel-height, display-pixel-width)
5598 (display-mm-dimensions-alist, display-mm-height)
5599 (display-mm-width): Doc tweaks.
5600
5601 2014-03-02 Barry O'Reilly <gundaetiapo@gmail.com>
5602
5603 * simple.el (undo-elt-in-region): Fix buffer corruption for edge
5604 case of undo in region.
5605
5606 2014-03-02 Martin Rudalics <rudalics@gmx.at>
5607
5608 * window.el (fit-window-to-buffer): Fix argument in window-size
5609 call when window is horizontally combined.
5610
5611 2014-03-02 Juanma Barranquero <lekktu@gmail.com>
5612
5613 * icomplete.el (icomplete-completions): Use string-width.
5614 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5615
5616 2014-03-01 Dmitry Gutov <dgutov@yandex.ru>
5617
5618 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5619 Highlight regexp options. (Bug#16914)
5620
5621 2014-03-01 Martin Rudalics <rudalics@gmx.at>
5622
5623 * window.el (window--max-delta-1): Round down when calculating
5624 how many lines/columns we can get from a window.
5625
5626 2014-03-01 Glenn Morris <rgm@gnu.org>
5627
5628 * isearch.el (search-invisible): Doc fix.
5629
5630 * minibuffer.el (completion-hilit-commonality):
5631 Make `base-size' argument optional. Short-cut if `prefix-len' is 0.
5632 * comint.el (comint-dynamic-list-completions): Doc fix.
5633 * comint.el (comint-dynamic-list-completions):
5634 * filecache.el (file-cache-minibuffer-complete):
5635 * tempo.el (tempo-display-completions):
5636 * eshell/em-hist.el (eshell-list-history):
5637 Replace use of obsolete argument of display-completion-list.
5638
5639 2014-03-01 Juanma Barranquero <lekktu@gmail.com>
5640
5641 * icomplete.el (icomplete-completions):
5642 Revert back to using "..." when ?… cannot be displayed.
5643
5644 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
5645
5646 * finder.el (finder-unload-function): New function.
5647
5648 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
5649
5650 * dframe.el (dframe-detach):
5651 * find-dired.el (find-dired, find-name-dired):
5652 * finder.el (finder-mode-map, finder-mode-syntax-table)
5653 (finder-headmark, finder-select, finder-mouse-select):
5654 Fix docstring typos.
5655
5656 2014-02-28 Martin Rudalics <rudalics@gmx.at>
5657
5658 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
5659 * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
5660 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
5661 Fix doc-string based on a suggestion by Nicolas Richard
5662 <theonewiththeevillook@yahoo.fr>.
5663 * help.el (with-help-window): Fix doc-string.
5664
5665 2014-02-28 Ivan Kanis <ivan@kanis.fr>
5666
5667 * net/shr.el (shr-image-animate): New option.
5668 (shr-put-image): Respect shr-image-animate.
5669
5670 2014-02-28 Michael Albinus <michael.albinus@gmx.de>
5671
5672 * net/tramp-adb.el (tramp-adb-parse-device-names):
5673 Use `accept-process-output'.
5674 (tramp-adb-handle-file-truename): Cache the localname only.
5675 (tramp-adb-handle-make-directory)
5676 (tramp-adb-handle-delete-directory): Flush file properties correctly.
5677 (tramp-adb-handle-set-file-modes): Do not raise an error when file
5678 modes cannot be changed.
5679
5680 * net/tramp-cache.el (tramp-flush-directory-property): Remove also
5681 file properties of symlinks.
5682
5683 2014-02-28 Per Starbäck <starback@stp.lingfil.uu.se>
5684
5685 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
5686 required/optional fields to match development biblatex. (Bug#16781)
5687
5688 2014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
5689
5690 * saveplace.el (toggle-save-place):
5691 Fix argument handling. (Bug#16673)
5692
5693 2014-02-28 Glenn Morris <rgm@gnu.org>
5694
5695 * minibuffer.el (completions-first-difference)
5696 (completions-common-part, completion-hilit-commonality): Doc fixes.
5697
5698 2014-02-28 Karl Berry <karl@gnu.org>
5699
5700 * info.el (Info-mode-map): Add H for describe-mode,
5701 to synchronize with standalone Info.
5702
5703 2014-02-28 Emilio C. Lopes <eclig@gmx.net>
5704
5705 * progmodes/sql.el (sql-interactive-mode):
5706 Avoid setting global comint-input-ring-separator. (Bug#16814)
5707
5708 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
5709
5710 * net/dbus.el (dbus--init-bus): Declare function.
5711 (dbus-path-local, dbus-interface-local): New defconst.
5712 (dbus-init-bus): Use them.
5713 (dbus-return-values-table): Extend doc.
5714 (dbus-handle-bus-disconnect): Extend error message.
5715
5716 2014-02-27 Juanma Barranquero <lekktu@gmail.com>
5717
5718 * subr.el (y-or-n-p): Fix double space issue in message.
5719
5720 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
5721
5722 * net/tramp.el (tramp-call-process): Improve trace message.
5723 (tramp-handle-insert-file-contents): Trace error case.
5724
5725 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
5726 <insert-directory>: Use `tramp-handle-insert-directory'.
5727 (tramp-adb-handle-insert-directory): Remove function.
5728 (tramp-adb-send-command-and-check): New defun, replacing
5729 `tramp-adb-command-exit-status'. Change all callees.
5730 (tramp-adb-handle-file-attributes)
5731 (tramp-adb-handle-directory-files-and-attributes): Use it.
5732 (tramp-adb-ls-output-name-less-p):
5733 Use `directory-listing-before-filename-regexp'.
5734 (tramp-adb-handle-delete-directory): Flush also file properties of
5735 the truename of directory.
5736 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
5737 (tramp-adb-handle-file-local-copy): Make the local copy readable.
5738 (tramp-adb-handle-write-region): Implement APPEND.
5739 (tramp-adb-handle-rename-file): Make it more robust. Flush file
5740 properties correctly.
5741 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
5742 variables. Check for connected devices only when needed.
5743
5744 2014-02-27 Glenn Morris <rgm@gnu.org>
5745
5746 * minibuffer.el (completion-table-dynamic)
5747 (completion-table-with-cache): Doc fixes.
5748
5749 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
5750 (completing-read-multiple): Doc fixes.
5751
5752 2014-02-27 Daniel Colascione <dancol@dancol.org>
5753
5754 * minibuffer.el (completion--nth-completion): Fix indentation.
5755
5756 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
5757 explicit tramp path is empty.
5758
5759 2014-02-27 Glenn Morris <rgm@gnu.org>
5760
5761 * emacs-lisp/crm.el (completing-read-multiple):
5762 Empower help-enable-auto-load.
5763
5764 2014-02-26 Glenn Morris <rgm@gnu.org>
5765
5766 * startup.el (command-line): Don't init the tty in daemon mode.
5767
5768 Avoid calling tty-setup-hook twice, eg if a term file
5769 explicitly calls tty-run-terminal-initialization. (Bug#16859)
5770 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
5771 (tty-create-frame-with-faces): Use it.
5772 * startup.el (command-line): Pass run-hook argument
5773 to tty-run-terminal-initialization.
5774
5775 * dired.el (dired-restore-desktop-buffer): Demote errors;
5776 eg in case a glob match fails. (Bug#16884)
5777
5778 2014-02-26 Dmitry Gutov <dgutov@yandex.ru>
5779
5780 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
5781 error from `read-from-string'. (Bug#16850)
5782
5783 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
5784 result of `completing-read' in the interactive form. (Bug#16854)
5785
5786 2014-02-25 Glenn Morris <rgm@gnu.org>
5787
5788 * image.el (image-animate, image-animate-timeout):
5789 Stop animating images in dead buffers. (Bug#16878)
5790
5791 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
5792
5793 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
5794 Doc fixes.
5795 * startup.el (term-setup-hook): Doc fix. Make obsolete.
5796 * term/sun.el (sun-raw-prefix-hooks):
5797 Use tty-setup-hook instead of term-setup-hook.
5798 (terminal-init-sun): Construct message from bytecomp plist.
5799 * term/wyse50.el (enable-arrow-keys): Doc fix.
5800
5801 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
5802
5803 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
5804 Fix docstring typos.
5805
5806 2014-02-24 Michael Albinus <michael.albinus@gmx.de>
5807
5808 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
5809
5810 2014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
5811
5812 * minibuffer.el (completion--try-word-completion):
5813 Fix error when completing M-x commands (bug#16808).
5814
5815 2014-02-24 Leo Liu <sdl.web@gmail.com>
5816
5817 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
5818
5819 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
5820
5821 * apropos.el (apropos-print): Avoid formatting error when
5822 apropos-do-all and apropos-compact-layout are both t.
5823
5824 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
5825
5826 * apropos.el (apropos-property, apropos-all-words-regexp)
5827 (apropos-true-hit, apropos-variable, apropos-print):
5828 Fix docstring typos, and remove obsolete comment.
5829
5830 2014-02-23 Michael Albinus <michael.albinus@gmx.de>
5831
5832 * net/tramp-sh.el (tramp-sh-handle-file-truename):
5833 Preserve trailing "/". (Bug#16851)
5834
5835 2014-02-23 Dmitry Gutov <dgutov@yandex.ru>
5836
5837 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
5838 after `=>' (bug#16811).
5839 (ruby-smie-rules): Handle the inconsistent second element of the
5840 list returned by `smie-indent--parent'.
5841 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
5842 method call.
5843
5844 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
5845
5846 * elec-pair.el (electric-pair-text-syntax-table)
5847 (electric-pair-syntax-info, electric-pair--syntax-ppss)
5848 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
5849 (electric-pair--looking-at-unterminated-string-p): Doc fix.
5850 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
5851
5852 2014-02-22 Glenn Morris <rgm@gnu.org>
5853
5854 * imenu.el (imenu--generic-function): Doc fix.
5855
5856 * register.el (frame-configuration-to-register): Make obsolete.
5857
5858 2014-02-22 Juanma Barranquero <lekktu@gmail.com>
5859
5860 * desktop.el (desktop-save-buffer-p): Do not fail when
5861 desktop-files-not-to-save is nil. Return t for true result
5862 as the doc says.
5863
5864 2014-02-22 Daniel Colascione <dancol@dancol.org>
5865
5866 * net/secrets.el (secrets-create-item, secrets-search-items):
5867 Check that attribute values are strings, avoiding the construction
5868 of invalid dbus messages.
5869
5870 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
5871
5872 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
5873 defun-declarations-alist.
5874
5875 2014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
5876
5877 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
5878 (bug#16829).
5879
5880 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
5881
5882 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
5883 (whitespace-newline, whitespace-trailing, whitespace-line)
5884 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
5885 (whitespace-space-after-tab): Fix typo in docstrings.
5886
5887 2014-02-21 Dmitry Gutov <dgutov@yandex.ru>
5888
5889 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
5890
5891 * electric.el (electric-indent-functions-without-reindent):
5892 Add `yaml-indent-line'.
5893
5894 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
5895
5896 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
5897 It has done nothing for years; should be removed after the release.
5898
5899 * simple.el (choose-completion): Fix docstring typo.
5900 (read-quoted-char-radix): Remove unneeded * in docstring.
5901 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
5902 Don't escape parentheses unnecessarily in docstrings.
5903
5904 2014-02-21 Martin Rudalics <rudalics@gmx.at>
5905
5906 Fix handling of window-min-height/-width (Bug#16738).
5907 * window.el (window--dump-window, window--dump-frame):
5908 New functions.
5909 (window--min-size-1): Account for window dividers.
5910 When window-resize-pixelwise is nil, delay rounding till after the
5911 sum of the window components has been calculated.
5912 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
5913 nil make sure at least one text line and two text columns remain
5914 fully visible.
5915 (window-resize): Signal an error when window-resize-apply fails.
5916 (window--resize-child-windows): Fix calculation of by how many
5917 pixels a window can still be shrunk via window-new-normal.
5918 (adjust-window-trailing-edge): Call window--resizable with
5919 correct TRAIL argument.
5920
5921 (with-temp-buffer-window): Don't evaluate BODY within
5922 with-current-buffer (Bug#16816).
5923
5924 2014-02-21 Michael Albinus <michael.albinus@gmx.de>
5925
5926 * net/tramp.el (tramp-check-cached-permissions):
5927 Call `file-attributes' with `suffix' being a symbol but a string.
5928
5929 2014-02-21 Daniel Colascione <dancol@dancol.org>
5930
5931 * net/dbus.el (dbus-init-bus-1): Declare new subr.
5932 (dbus-init-bus): New function: call into dbus-init-bus-1
5933 and installs a handler for the disconnect signal.
5934 (dbus-call-method): Rewrite to look for result in cons.
5935 (dbus-call-method-handler): Store result in cons.
5936 (dbus-check-event): Recognize events with nil sender as valid.
5937 (dbus-handle-bus-disconnect): New function. React to bus
5938 disconnection signal by synthesizing dbus error for each
5939 pending synchronous or asynchronous call.
5940 (dbus-notice-synchronous-call-errors): New function.
5941 (dbus-handle-event): Raise errors directly only when `dbus-debug'
5942 is true, not all the time.
5943
5944 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
5945
5946 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
5947 Remove obsolescence declarations, these variables do not exist anymore.
5948
5949 * savehist.el (savehist-save-minibuffer-history)
5950 (savehist-additional-variables, savehist-file, savehist-mode-hook)
5951 (savehist-save-hook, savehist-coding-system, savehist-loaded)
5952 (savehist-load, savehist-install, savehist-autosave): Fix typos;
5953 mostly, refer to "Savehist mode" when talking about the mode,
5954 and not the function.
5955
5956 * saveplace.el (save-place): Remove redundant info in docstring.
5957 (save-place-forget-unreadable-files, toggle-save-place)
5958 (save-place-forget-unreadable-files, save-place-dired-hook):
5959 Fix typos and remove unneeded backslashes.
5960
5961 2014-02-20 Michael Albinus <michael.albinus@gmx.de>
5962
5963 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
5964 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
5965
5966 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
5967 <insert-directory>: Use `tramp-handle-insert-directory'.
5968 (tramp-gvfs-handle-insert-directory): Remove function.
5969
5970 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
5971 Call `tramp-handle-insert-directory'.
5972
5973 2014-02-20 Juanma Barranquero <lekktu@gmail.com>
5974
5975 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
5976 before the start of buffer/region (bug#16799).
5977
5978 2014-02-20 Glenn Morris <rgm@gnu.org>
5979
5980 * isearch.el (search-invisible): Doc fix.
5981
5982 2014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
5983
5984 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
5985 (bug#16657).
5986
5987 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
5988
5989 * frameset.el (frameset-restore): Delay removing an old frame's
5990 duplicate id until the new frame has been correctly created.
5991
5992 2014-02-19 Michael Albinus <michael.albinus@gmx.de>
5993
5994 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
5995 (tramp-check-cached-permissions): Call `file-attributes' if the
5996 cache is empty.
5997
5998 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
5999 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
6000
6001 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
6002 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
6003 (tramp-gvfs-maybe-open-connection): Set always connection
6004 properties, even if target is mounted already.
6005
6006 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
6007 Set tramp-autoload cookie.
6008 (tramp-get-remote-touch): New defun.
6009 (tramp-sh-handle-set-file-times): Use it.
6010 (tramp-sh-handle-directory-files-and-attributes):
6011 Use `tramp-handle-directory-files-and-attributes' if neither stat
6012 nor perl are available on the remote host.
6013
6014 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
6015 "/". Write long listing only when "l" belongs to the switches.
6016
6017 * net/trampver.el: Update release number.
6018
6019 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
6020
6021 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
6022
6023 2014-02-19 Martin Rudalics <rudalics@gmx.at>
6024
6025 * window.el (window-state-put): Allow WINDOW to refer to an
6026 internal window (Bug#16793).
6027
6028 2014-02-19 Glenn Morris <rgm@gnu.org>
6029
6030 * textmodes/remember.el: Move provide statement to end.
6031 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
6032 (remember-notes): Doc fixes.
6033
6034 2014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
6035
6036 * delsel.el (delete-char): Restore incorrectly erased property
6037 (bug#16795).
6038
6039 2014-02-18 Juanma Barranquero <lekktu@gmail.com>
6040
6041 * frameset.el (frameset--restore-frame): When a frame is being reused
6042 and its root window is not alive, delete all the frame's windows before
6043 restoring the window state. This works around the issue in bug#16793.
6044
6045 2014-02-18 Glenn Morris <rgm@gnu.org>
6046
6047 * textmodes/remember.el (remember-data-directory)
6048 (remember-directory-file-name-format, remember-store-in-files)
6049 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
6050 (remember-notes-save-and-bury-buffer)
6051 (remember-notes--kill-buffer-query): Doc fixes.
6052
6053 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
6054
6055 2014-02-17 Alan Mackenzie <acm@muc.de>
6056
6057 Connect electric-indent-mode up with CC Mode. Bug #15478.
6058 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
6059 to electric-indent-{,local-}-mode.
6060 (c-basic-common-init): Set electric-indent-inhibit.
6061 Initialise c-electric-flag from electric-indent-mode.
6062 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
6063 New hook functions which propagate electric-indent-mode to CC mode.
6064
6065 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
6066 hit, toggle electric-indent-local-mode.
6067
6068 * electric.el (electric-indent-mode-has-been-called):
6069 New variable.
6070
6071 2014-02-17 Juanma Barranquero <lekktu@gmail.com>
6072
6073 * frameset.el (frameset-cfg-id): New function.
6074 (frameset--reuse-frame, frameset-restore): Use it.
6075 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
6076
6077 2014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
6078
6079 * ido.el (ido-file-internal): Remove unused var `d'.
6080 Use \` for to match BoS. Fit within 80n columns.
6081
6082 2014-02-17 Daniel Colascione <dancol@dancol.org>
6083
6084 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
6085 dbus-call-method check for completion using a busy-wait loop with
6086 gradual backoff.
6087
6088 2014-02-16 Michael Albinus <michael.albinus@gmx.de>
6089
6090 Sync with Tramp 2.2.9.
6091
6092 * net/trampver.el: Update release number.
6093
6094 2014-02-16 Dmitry Gutov <dgutov@yandex.ru>
6095
6096 * ido.el (ido-file-internal): Don't add the name of an existing
6097 directory twice. (Bug#16747)
6098
6099 2014-02-16 Glenn Morris <rgm@gnu.org>
6100
6101 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
6102 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
6103
6104 2014-02-15 Michael R. Mauger <michael@mauger.com>
6105
6106 * progmodes/sql.el: Version 3.4
6107 (sql-oracle-options): New default value ("-L").
6108 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
6109 (sql-placeholders-filter): Correct placeholder pattern.
6110 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
6111 (sql-login-delay): New variable.
6112 (sql-product-interactive): Use it.
6113
6114 2014-02-15 Juanma Barranquero <lekktu@gmail.com>
6115
6116 * frameset.el (frameset--jump-to-register): Check that buffer is live
6117 (bug#16749).
6118
6119 2014-02-15 Glenn Morris <rgm@gnu.org>
6120
6121 * info.el (info-initialize): Revert 2014-01-10 change.
6122
6123 2014-02-14 Glenn Morris <rgm@gnu.org>
6124
6125 * replace.el (map-query-replace-regexp)
6126 (read-regexp-defaults-function, read-regexp): Doc fixes.
6127
6128 * dired.el (dired-read-regexp):
6129 * faces.el (list-faces-display):
6130 * misearch.el (multi-isearch-read-matching-buffers)
6131 (multi-isearch-read-matching-files):
6132 * play/cookie1.el (cookie-apropos):
6133 * progmodes/grep.el (grep-read-regexp): Doc fixes.
6134
6135 * textmodes/remember.el (remember): Use frameset-to-register
6136 rather than frame-configuration-to-register.
6137
6138 2014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
6139
6140 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
6141 incorrect keybinding.
6142
6143 2014-02-13 Daniel Colascione <dancol@dancol.org>
6144
6145 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
6146 when adding overlays so that line numbers from compiler match line
6147 numbers we use.
6148
6149 2014-02-13 Glenn Morris <rgm@gnu.org>
6150
6151 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
6152
6153 * jit-lock.el (jit-lock-mode): Doc fix.
6154
6155 2014-02-13 Juanma Barranquero <lekktu@gmail.com>
6156
6157 * apropos.el (apropos-read-pattern): When the user passes an empty
6158 string, give a more helpful error message than "Wrong type
6159 argument: stringp, nil".
6160
6161 2014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
6162
6163 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
6164
6165 2014-02-13 Glenn Morris <rgm@gnu.org>
6166
6167 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
6168
6169 2014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
6170
6171 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
6172 shift-select commands.
6173
6174 2014-02-12 Dmitry Gutov <dgutov@yandex.ru>
6175
6176 * progmodes/js.el (js-indent-line): Don't widen.
6177 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
6178
6179 2014-02-12 Glenn Morris <rgm@gnu.org>
6180
6181 * icomplete.el (icomplete): Add info-link to defgroup.
6182 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
6183 (icomplete-minibuffer-map, icomplete-mode)
6184 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
6185
6186 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
6187 (package-menu-filter): Rename from package-menu-filter-interactive.
6188 Doc fix.
6189
6190 2014-02-11 Juanma Barranquero <lekktu@gmail.com>
6191
6192 * frameset.el (frameset--jump-to-register): Select the required
6193 window and buffer before restoring position (bug#16696).
6194
6195 2014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
6196
6197 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
6198
6199 2014-02-10 Glenn Morris <rgm@gnu.org>
6200
6201 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
6202
6203 2014-02-10 Eli Zaretskii <eliz@gnu.org>
6204
6205 * w32-common-fns.el (x-get-selection): Doc fix.
6206 * select.el (x-get-selection): Doc fix. (Bug#15109)
6207
6208 * face-remap.el (face-remap-add-relative)
6209 (face-remap-remove-relative, face-remap-reset-base)
6210 (face-remap-set-base): Call force-mode-line-update to redisplay
6211 the current buffer due to potential change in faces. (Bug#16709)
6212
6213 2014-02-10 Michael Albinus <michael.albinus@gmx.de>
6214
6215 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
6216 script more robustly.
6217
6218 2014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
6219
6220 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
6221
6222 * simple.el (choose-completion): Doc fix (bug#14160).
6223
6224 * subr.el (event-start): Say what a nil EVENT value means.
6225
6226 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
6227 (bug#14197).
6228
6229 * progmodes/grep.el (find-program): Doc fix (bug#14289).
6230
6231 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
6232
6233 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
6234
6235 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
6236 predicate function (bug#15455).
6237
6238 2014-02-10 Dmitry Gutov <dgutov@yandex.ru>
6239
6240 * ielm.el (inferior-emacs-lisp-mode): Instead of
6241 `comment-use-global-state', set `comment-use-syntax'.
6242
6243 2014-02-10 Glenn Morris <rgm@gnu.org>
6244
6245 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
6246
6247 2014-02-09 Alan Mackenzie <acm@muc.de>
6248
6249 Fix c-invalidate-state-cache on narrowed buffers.
6250 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
6251 Widen when setting and clearing the CPP delimiter properties.
6252
6253 2014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
6254
6255 * help.el (describe-bindings): Doc fix (bug#9888).
6256
6257 * files.el (save-buffer): Use ARG as the parameter name for
6258 consistency (bug#10346).
6259 (save-buffer): Clarify the 0 argument (bug#10346).
6260
6261 * cus-edit.el (customize-apropos): Fix error string.
6262 (custom-buffer-create): Doc fix (bug#11122).
6263 (custom-sort-items): Doc fix (bug#11121).
6264
6265 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
6266
6267 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
6268 (icomplete-simple-completing-p): Mention the previous variable.
6269
6270 * font-lock.el (font-lock-value-in-major-mode): Clarify the
6271 meaning of the parameter (bug#12282).
6272
6273 * files.el (find-file-noselect): Clarify prompt when changing
6274 readedness (bug#13261).
6275 (locate-file): Suffixes aren't returned, so don't say that they
6276 are (bug#12674).
6277 (backup-inhibited): Doc clarification (bug#12525).
6278
6279 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
6280 before we actually start to delete things (bug#16331).
6281
6282 * subr.el (event-start): Doc fix (bug#14228).
6283 (event-end): Ditto.
6284
6285 2014-02-09 Glenn Morris <rgm@gnu.org>
6286
6287 * emacs-lisp/warnings.el (lwarn):
6288 Empower help-enable-auto-load. (Bug#15940)
6289
6290 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
6291
6292 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
6293 (Bug#16690)
6294
6295 2014-02-08 Michael Albinus <michael.albinus@gmx.de>
6296
6297 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
6298 Insert output at end of buffer. (Bug#16120)
6299
6300 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
6301
6302 * simple.el (choose-completion-string-functions): Document new
6303 calling convention (bug#14153).
6304 (execute-extended-command): Clarify doc string (bug#13373).
6305
6306 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
6307
6308 * find-dired.el (find-name-dired): Doc fix (bug#14290).
6309 (find-grep-dired): Doc fix (bug#14288).
6310
6311 2014-02-08 Juri Linkov <juri@jurta.org>
6312
6313 * isearch.el (isearch-quote-char): Check character validity
6314 like in `quoted-insert' (bug#16677).
6315
6316 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
6317
6318 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
6319
6320 * isearch.el (isearch-hide-immediately): Doc clarification
6321 (bug#14723).
6322
6323 * simple.el (line-move): Document utility function used many
6324 places in the Emacs sources (bug#14843).
6325
6326 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
6327 (dired-prev-marked-file): Doc fix (bug#14855).
6328 (dired-up-directory): Doc fix (bug#14848).
6329
6330 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
6331
6332 * files.el (file-relative-name): Doc fix (bug#15159).
6333
6334 * fringe.el (fringe-styles): Doc fix (bug#15239).
6335
6336 * isearch.el (isearch-filter-predicate): Documentation typo fix
6337 (bug#15474).
6338
6339 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
6340
6341 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
6342
6343 * replace.el (replace-match-maybe-edit): Doc clarification
6344 (bug#15632).
6345
6346 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
6347
6348 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
6349
6350 2014-02-08 Glenn Morris <rgm@gnu.org>
6351
6352 * help-fns.el (describe-variable):
6353 Check {file,dir}-local-variables-alist, and buffer-file-name,
6354 in the correct buffer.
6355
6356 2014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
6357
6358 * help-fns.el (describe-variable): Fix the case where
6359 a value is directory-local with no dir-locals file. (Bug#16635)
6360
6361 2014-02-08 Glenn Morris <rgm@gnu.org>
6362
6363 * abbrev.el (edit-abbrevs-mode):
6364 Derive from fundamental-mode. (Bug#16682)
6365
6366 2014-02-07 Juanma Barranquero <lekktu@gmail.com>
6367
6368 * simple.el (quoted-insert): Check character validity (bug#16677).
6369
6370 2014-02-07 Juri Linkov <juri@jurta.org>
6371
6372 * desktop.el (desktop-read): Claim the lock when the owner is not
6373 the current process. (Bug#16157)
6374
6375 2014-02-07 Juri Linkov <juri@jurta.org>
6376
6377 * desktop.el (desktop-buffers-not-to-save): Change default from nil
6378 to "\\` ". (Bug#16651)
6379
6380 2014-02-07 Juri Linkov <juri@jurta.org>
6381
6382 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
6383 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
6384 (desktop-auto-save-cancel-timer): New function with some code from
6385 `desktop-auto-save-set-timer'.
6386 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
6387 Instead of setting `desktop-save-mode' to nil, call
6388 `desktop-save-mode' with arg 0. (Bug#16630)
6389
6390 2014-02-07 Glenn Morris <rgm@gnu.org>
6391
6392 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
6393 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
6394 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
6395
6396 * obsolete/iswitchb.el: Move to obsolete/.
6397 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
6398 since obsolete/ is not scanned for autoloads.
6399 * emacs-lisp/authors.el (authors-valid-file-names):
6400 Add iswitchb.el.
6401
6402 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
6403 Disable now non-functional find-file-hook.
6404
6405 2014-02-06 Michael Albinus <michael.albinus@gmx.de>
6406
6407 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
6408 instead of ";" in order to avoid additional prompts. Let heredoc
6409 scripts read from tty. (Bug#16582)
6410 (tramp-send-command): No special handling of heredocs, it isn't
6411 necessary anymore.
6412
6413 2014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
6414
6415 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
6416 with a space (bug#16664). Limit the symbols considered to the ones
6417 that are bound or fbound (bug#16646).
6418
6419 2014-02-06 Glenn Morris <rgm@gnu.org>
6420
6421 * epa.el (epa-mail-aliases): Doc fix.
6422
6423 2014-02-06 Dmitry Gutov <dgutov@yandex.ru>
6424
6425 * emacs-lisp/lisp.el (lisp-completion-at-point):
6426 Use `completion-table-merge' instead of `completion-table-in-turn'
6427 (bug#16604).
6428
6429 * minibuffer.el (completion-table-merge): New function.
6430
6431 2014-02-05 Michael Albinus <michael.albinus@gmx.de>
6432
6433 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
6434 (tramp-sh-handle-set-file-acl)
6435 (tramp-sh-handle-start-file-process)
6436 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
6437 (tramp-find-executable, tramp-send-command): Use it.
6438
6439 2014-02-05 Glenn Morris <rgm@gnu.org>
6440
6441 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
6442
6443 2014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
6444
6445 * progmodes/python.el (python-shell-send-string)
6446 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
6447
6448 2014-02-04 Anders Lindgren <andlind@gmail.com>
6449
6450 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
6451 the names (bug#16620).
6452
6453 2014-02-03 Martin Rudalics <rudalics@gmx.at>
6454
6455 * faces.el (window-divider): New default value. Rewrite doc-string.
6456 (window-divider-first-pixel, window-divider-last-pixel): New faces.
6457
6458 2014-02-03 Dmitry Gutov <dgutov@yandex.ru>
6459
6460 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
6461 `protected' and `public' can also be called without arguments.
6462
6463 2014-02-03 Glenn Morris <rgm@gnu.org>
6464
6465 * register.el (window-configuration-to-register)
6466 (frame-configuration-to-register): Unadvertise unused argument.
6467 * frameset.el (frameset-to-register): Remove unused argument.
6468
6469 * frameset.el (frameset-to-register):
6470 * kmacro.el (kmacro-to-register):
6471 * register.el (increment-register):
6472 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
6473 (calc-append-to-register, calc-prepend-to-register):
6474 * play/gametree.el (gametree-layout-to-register)
6475 (gametree-apply-register-layout):
6476 * textmodes/picture.el (picture-clear-rectangle-to-register)
6477 (picture-yank-rectangle-from-register):
6478 * vc/emerge.el (emerge-combine-versions-register):
6479 Use register-read-with-preview to read registers.
6480
6481 2014-02-03 João Távora <joaotavora@gmail.com>
6482
6483 * elec-pair.el (electric-pair-backward-delete-char): Don't error
6484 when at beginning of (possibly narrowed) buffer.
6485
6486 2014-02-02 Daniel Colascione <dancol@dancol.org>
6487
6488 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
6489 Also try to display local help from just before point.
6490
6491 2014-02-02 Alan Mackenzie <acm@muc.de>
6492
6493 c-parse-state. Don't "append-lower-brace-pair" in certain
6494 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
6495 recognised as a comment.
6496
6497 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
6498 as well as normal comment starter.
6499 (c-parse-state-get-strategy): Extra return possibility
6500 'back-and-forward.
6501 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
6502 return value list to indicate replacement of a brace-pair cons
6503 with its car.
6504 (c-parse-state-1): With 'back-and-forward, only call
6505 c-append-lower-brace-pair-to state-cache when cons-separated.
6506
6507 2014-02-02 Jan Djärv <jan.h.d@swipnet.se>
6508
6509 * term/ns-win.el (ns-suspend-error): New function.
6510 (ns-initialize-window-system): Add ns-suspend-error to
6511 suspend-hook (Bug#16612).
6512
6513 2014-02-02 Daniel Colascione <dancol@dancol.org>
6514
6515 * progmodes/cc-defs.el (c-find-assignment-for-mode):
6516 Make loading cc-mode silent.
6517
6518 2014-02-02 Daniel Colascione <dancol@dancol.org>
6519
6520 * comint.el (comint-prompt-read-only): Change doc to suggest
6521 remap keybinding.
6522
6523 2014-02-02 Glenn Morris <rgm@gnu.org>
6524
6525 * register.el (register-read-with-preview, point-to-register)
6526 (window-configuration-to-register, frame-configuration-to-register)
6527 (jump-to-register, number-to-register, view-register, insert-register)
6528 (copy-to-register, append-to-register, prepend-to-register)
6529 (copy-rectangle-to-register): Doc fixes.
6530
6531 2014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
6532
6533 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
6534 * emacs-lisp/find-func.el (find-function-C-source): Idem.
6535 * emacs-lisp/nadvice.el (advice--cd*r): New function.
6536 * help-fns.el (describe-function-1): Use it.
6537
6538 2014-02-02 Glenn Morris <rgm@gnu.org>
6539
6540 * register.el (register-preview-default): New function,
6541 split from register-preview.
6542 (register-preview-function): Rename from register-preview-functions,
6543 make it not a hook.
6544 (register-preview): Use register-preview-function.
6545 (register-read-with-preview): Error on non-character event. (Bug#16595)
6546
6547 2014-02-01 Dmitry Gutov <dgutov@yandex.ru>
6548
6549 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
6550 `:' before binary operators (bug#16609). Don't check for `:'
6551 before `[' and `(', or their syntax status. A percent literal
6552 can't end with either.
6553 (ruby-font-lock-keywords): For built-ins that require arguments,
6554 check that they're followed by something that looks like argument
6555 (bug#16610).
6556
6557 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
6558
6559 * subr.el (butlast): Document what an omitted N means (bug#13437).
6560 (nbutlast): Ditto.
6561
6562 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
6563
6564 * net/shr.el (shr-generic): Make into a defsubst to make the stack
6565 depth shallower (bug#16587).
6566 (shr-tag-svg): Respect `shr-inhibit-images'.
6567 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
6568
6569 2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
6570
6571 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
6572 (ruby-smie-grammar): Make "." right-associative. Make its priority
6573 lower than the ternary and all binary operators.
6574 (ruby-smie-rules): Indent "(" relative to the first non-"."
6575 parent, or the first "." parent at indentation.
6576 Use `ruby-align-chained-calls' for indentation of "." tokens.
6577 (Bug#16593)
6578
6579 2014-01-31 Juri Linkov <juri@jurta.org>
6580
6581 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
6582 from `make-hash-table'.
6583
6584 * textmodes/ispell.el (ispell-init-process): Change message format
6585 to be consistent with other messages.
6586
6587 2014-01-31 Glenn Morris <rgm@gnu.org>
6588
6589 * delsel.el (delete-selection-mode): Doc fix.
6590
6591 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
6592 (trace-function-background): Doc fixes.
6593
6594 * ido.el (ido-use-virtual-buffers): Doc fix.
6595 Reset :version, since the default value has not changed.
6596
6597 * register.el (register-preview-delay, register-read-with-preview):
6598 Doc fixes.
6599
6600 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
6601 do not mess with mail-buffer position (fixes 2009-11-03 change).
6602 * progmodes/cc-mode.el (c-submit-bug-report):
6603 Check auto-fill-mode is bound. (Bug#16592)
6604
6605 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
6606
6607 * startup.el (fancy-splash-image-file): New function,
6608 split from fancy-splash-head.
6609 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
6610 so that we are both using the same image. (Bug#16574)
6611
6612 2014-01-30 Glenn Morris <rgm@gnu.org>
6613
6614 * simple.el (eval-expression): Doc fix.
6615
6616 * hexl.el (hexl-mode-hook):
6617 * ielm.el (ielm-mode-hook):
6618 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
6619 (lisp-interaction-mode-hook):
6620 * progmodes/cfengine.el (cfengine3-documentation-function):
6621 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
6622
6623 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
6624
6625 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
6626 is a symbol (bug#16584).
6627
6628 2014-01-30 Glenn Morris <rgm@gnu.org>
6629
6630 * help.el (help-for-help-internal): Add "P" to text.
6631
6632 2014-01-29 Glenn Morris <rgm@gnu.org>
6633
6634 * simple.el (just-one-space, cycle-spacing): Doc fixes.
6635
6636 2014-01-28 Martin Rudalics <rudalics@gmx.at>
6637
6638 * window.el (fit-frame-to-buffer): Fix calculations for margins and
6639 height constraints.
6640
6641 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
6642
6643 * progmodes/hideif.el: Extend to full CPP expression syntax.
6644 (hif-token-alist): Add missing tokens.
6645 (hif-token-regexp): Add support for float/octal/hex immediates.
6646 (hif-string-literal-regexp): New const.
6647 (hif-tokenize): Recognize strings and float/octal/hex immediates.
6648 (hif-exprlist): New function.
6649 (hif-parse-if-exp): Use it.
6650 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
6651 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
6652 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
6653 (hif-logxor, hif-comma): New functions.
6654
6655 2014-01-28 Glenn Morris <rgm@gnu.org>
6656
6657 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
6658
6659 * indent.el (tab-stop-list): Doc fix. Add :version.
6660
6661 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
6662 (cvs-append-to-ignore): Add compatibility alias.
6663
6664 2014-01-27 Glenn Morris <rgm@gnu.org>
6665
6666 * dired.el (dired-hide-details-mode): Don't autoload it,
6667 since it cannot be used outside Dired buffers anyway.
6668
6669 * emulation/cua-base.el (cua-mode): Doc fix.
6670
6671 * dired.el (dired-hide-details-hide-symlink-targets)
6672 (dired-hide-details-hide-information-lines)
6673 (dired-hide-details-mode): Doc fixes.
6674
6675 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
6676 * strokes.el (strokes-file): Doc fix. Bump :version.
6677 (strokes-help): Doc fix.
6678 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
6679 * emulation/viper.el (viper): Doc fix for custom group.
6680 (top-level): Remove oh-so-no-longer-relevant text about vip.
6681 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
6682
6683 * ido.el (ido-save-directory-list-file):
6684 * saveplace.el (save-place-file):
6685 * calendar/timeclock.el (timeclock-file):
6686 * net/quickurl.el (quickurl-url-file):
6687 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
6688 * progmodes/idlwave.el (idlwave-config-directory):
6689 * textmodes/remember.el (remember-data-file):
6690 Bump :version.
6691
6692 2014-01-26 Glenn Morris <rgm@gnu.org>
6693
6694 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
6695 Doc fix. Make obsolete.
6696 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
6697
6698 * sort.el (delete-duplicate-lines): Doc fix.
6699
6700 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6701
6702 * progmodes/ada-mode.el (ada):
6703 * woman.el (woman): Link to info manual and Commentary section.
6704
6705 * progmodes/flymake.el (flymake):
6706 * nxml/nxml-mode.el (nxml):
6707 * net/eww.el (eww):
6708 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
6709 * htmlfontify.el (htmlfontify):
6710 * ses.el (ses):
6711 * epa.el (epa):
6712 * ido.el (ido): Link to info manual.
6713
6714 2014-01-25 Leo Liu <sdl.web@gmail.com>
6715
6716 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
6717
6718 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
6719
6720 * net/shr.el (shr-tag-img): Prefer the title over the alt text
6721 (bug#16537).
6722
6723 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
6724
6725 * net/eww.el (eww-download-callback):
6726 Fix reference to eww-download-directory.
6727
6728 * emacs-lisp/bytecomp.el (byte-compile-file):
6729 Remove unused local variable `file-name'.
6730
6731 2014-01-24 Glenn Morris <rgm@gnu.org>
6732
6733 * woman.el (woman-default-faces, woman-monochrome-faces):
6734 Fix obsolescence specification.
6735
6736 * subr.el (with-demoted-errors): Doc fix.
6737
6738 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
6739
6740 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
6741 (cl--macroexp-fboundp): New function.
6742 (cl--make-type-test): Use it.
6743
6744 2014-01-23 Glenn Morris <rgm@gnu.org>
6745
6746 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
6747 * simple.el (eval-expression): Doc fixes.
6748
6749 2014-01-22 Glenn Morris <rgm@gnu.org>
6750
6751 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
6752
6753 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
6754
6755 * emacs-lisp/package.el: Write files silently.
6756 (package-autoload-ensure-default-file, package--write-file-no-coding)
6757 (package-generate-description-file, package--download-one-archive)
6758 (package-install-from-archive): Tell `write-region' to stay quiet.
6759 (package-menu-mode, package-menu--print-info): Omit the Archive column
6760 if there's only one archive.
6761 (package-all-keywords, package--has-keyword-p): Remove dead code.
6762
6763 2014-01-22 Glenn Morris <rgm@gnu.org>
6764
6765 * version.el (emacs-bzr-version-bzr): Fix typo.
6766
6767 * version.el (emacs-repository-get-version):
6768 Check either .bzr or .git, but not both.
6769 Make the git case actually use the DIR argument, and return nil
6770 rather than the empty string.
6771 Avoid error if .git exists but the git executable is not found.
6772
6773 2014-01-22 Martin Rudalics <rudalics@gmx.at>
6774
6775 Fixes in window size functions around Bug#16430 and Bug#16470.
6776 * window.el (window-total-size, window-size): New argument ROUND.
6777 (window--min-delta-1, window-min-delta, window--max-delta-1):
6778 Be more conservative when calculating the numbers of lines or
6779 columns a window can shrink (Bug#16430).
6780 (fit-window-to-buffer): Simplify code.
6781 * term.el (term-window-width): Call window-body-width again.
6782
6783 2014-01-22 Glenn Morris <rgm@gnu.org>
6784
6785 * image.el (image-format-suffixes): Doc fix.
6786
6787 * international/quail.el (quail-define-package): Doc fix.
6788
6789 * emacs-lisp/authors.el (authors-valid-file-names)
6790 (authors-renamed-files-alist): Additions.
6791
6792 * vc/vc-git.el (vc-git-print-log): Remove --follow;
6793 reverts 2014-01-09 change. (Bug#16422)
6794
6795 * calc/calc-embed.el (thing-at-point-looking-at):
6796 * emacs-lisp/map-ynp.el (x-popup-dialog):
6797 * obsolete/lmenu.el (x-popup-dialog):
6798 * emacs-lisp/package.el (url-recreate-url):
6799 * mail/mailclient.el (clipboard-kill-ring-save):
6800 * subr.el (x-popup-dialog): Update declaration.
6801 * mail/rmail.el (rmail-mime-message-p):
6802 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
6803
6804 2014-01-21 Daniel Colascione <dancol@dancol.org>
6805
6806 * progmodes/sh-script.el (sh--inside-noncommand-expression):
6807 Correctly detect when we're inside an arithmetic expansion form
6808 containing nested parenthesis.
6809 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
6810 to detect cases where we shouldn't expand "<<" to a heredoc
6811 skeleton.
6812
6813 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
6814
6815 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
6816 (eldoc--message-command-p): New function.
6817 (eldoc-display-message-p): Use it.
6818 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
6819 message is not automatically erased for us.
6820 (eldoc-print-current-symbol-info): Erase previous message, if any.
6821
6822 2014-01-21 Tassilo Horn <tsdh@gnu.org>
6823
6824 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
6825 specify it's an interactive function.
6826
6827 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
6828 Fix regex used for scanning for citation keys which failed for
6829 citations with optional arguments.
6830
6831 2014-01-21 Leo Liu <sdl.web@gmail.com>
6832
6833 * simple.el (read--expression): Don't enable eldoc-mode.
6834
6835 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
6836
6837 * simple.el (move-beginning-of-line): Make sure we don't move forward
6838 (bug#16497).
6839
6840 2014-01-20 Juri Linkov <juri@jurta.org>
6841
6842 * saveplace.el (toggle-save-place, save-place-to-alist)
6843 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
6844 'dired-mode) before checking for dired-directory. (Bug#16477)
6845
6846 2014-01-20 Juri Linkov <juri@jurta.org>
6847
6848 * indent.el (indent-line-to): Use backward-to-indentation
6849 instead of back-to-indentation. (Bug#16461)
6850
6851 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
6852
6853 Revert some of the CANNOT_DUMP fix (Bug#16494).
6854 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
6855 but fixing this can wait until after the next release.
6856 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
6857
6858 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
6859
6860 * eshell/esh-mode.el (eshell-password-prompt-regexp):
6861 Use `password-word-equivalents'.
6862 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
6863 to t. (Bug#5664, Bug#13124)
6864
6865 2014-01-19 Alan Mackenzie <acm@muc.de>
6866
6867 Bind open-paren-in-column-0-is-defun-start to nil at some entry
6868 points.
6869 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
6870 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
6871 * progmodes/cc-mode.el (c-before-change, c-after-change)
6872 (c-font-lock-fontify-region): Bind it here.
6873
6874 2014-01-19 Martin Rudalics <rudalics@gmx.at>
6875
6876 * term.el (term-window-width): Call window-text-width instead of
6877 window-width (Bug#16470).
6878
6879 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
6880
6881 * simple.el (password-word-equivalents): Remove duplicates.
6882 Sort, to make this easier next time.
6883 Downcase. Omit ": " after "jelszó".
6884
6885 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
6886
6887 * term/common-win.el (saved-region-selection): Defvar it.
6888 (x-select-text): Set saved-region-selection (Bug#16382).
6889
6890 2014-01-18 Glenn Morris <rgm@gnu.org>
6891
6892 * emacs-lisp/authors.el (authors-aliases)
6893 (authors-renamed-files-alist): Add some entries.
6894
6895 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
6896
6897 * net/tramp.el (tramp-password-prompt-regexp):
6898 Use `password-word-equivalents' if available.
6899 (tramp-action-password, tramp-process-one-action)
6900 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
6901
6902 2014-01-17 Chong Yidong <cyd@gnu.org>
6903
6904 * simple.el (password-word-equivalents): New defcustom.
6905 * comint.el (comint-password-prompt-regexp): Use it. Bump version
6906 to 24.4.
6907 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
6908 to t. (Bug#13124)
6909
6910 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
6911
6912 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
6913 (ruby-align-to-stmt-keywords): Change the default value.
6914 Use `ruby-alignable-keywords' to generate the possible customization
6915 choices.
6916 (ruby-smie-rules): Instead of using a hardcoded list of alignable
6917 keywords, check against the value of `ruby-alignable-keywords'
6918 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
6919
6920 2014-01-17 Glenn Morris <rgm@gnu.org>
6921
6922 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
6923
6924 Make M-x authors return zero *Authors Errors* from current logs.
6925 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
6926 (authors-ignored-files): Add some entries, remove others.
6927 (authors-ambiguous-files, authors-valid-file-names):
6928 Add some entries.
6929 (authors-renamed-files-alist): Add, remove, and adjust entries.
6930 (authors-renamed-files-regexps): Add some entries.
6931 Remove some very broad ones. Make some entries `lax'.
6932 (authors-lax-changelogs): New constant.
6933 (authors-disambiguate-file-name): Treat top-level specially.
6934 (authors-lax-changelog-p): New function.
6935 (authors-canonical-file-name): Check file as written against
6936 authors-valid-file-names. Do not special-case etc/.
6937 Handle `lax' logs and authors-renamed-files-regexps elements.
6938
6939 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
6940
6941 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
6942 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
6943 callers.
6944
6945 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
6946
6947 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
6948 Assume we're already in the proper buffer.
6949 Inspired by Anders Lindgren <andlind@gmail.com>.
6950 (follow-post-command-hook): Call it from the right buffer.
6951 (follow-comint-scroll-to-bottom): Adjust call.
6952 (follow-all-followers): Use get-buffer-window-list.
6953
6954 2014-01-15 Daniel Colascione <dancol@dancol.org>
6955
6956 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
6957 `buffer-file-name' in interactive-form so that we don't leave
6958 pathless file names in `file-name-history'.
6959
6960 2014-01-15 Juri Linkov <juri@jurta.org>
6961
6962 * indent.el (indent-rigidly): Set deactivate-mark to nil
6963 in transient indentation mode. (Bug#16438)
6964
6965 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
6966
6967 * emacs-lisp/package.el (package-desc-keywords): New function
6968 (Bug#16222).
6969 (describe-package-1, package-all-keywords)
6970 (package--has-keyword-p): Use it.
6971
6972 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
6973
6974 * simple.el (define-alternatives): When creating the
6975 COMMAND-alternatives variable, assign COMMAND as its definition
6976 name so that `describe-variable' can relocate it.
6977
6978 2014-01-14 Matthew Leach <matthew@mattleach.net>
6979
6980 * font-lock.el (font-lock-keywords): Fix typo in docstring
6981 (bug#16307).
6982
6983 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6984
6985 * textmodes/ispell.el (ispell-region): Reset `in-comment' for new
6986 line instead of wrongly reset `add-coment' (bug#13577).
6987
6988 2014-01-14 Daiki Ueno <ueno@gnu.org>
6989
6990 * epa-file.el (epa-file-write-region): Encode the region according
6991 to `buffer-file-format'. Problem reported at:
6992 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
6993
6994 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
6995
6996 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
6997 so it applies in the right buffer (bug#16410).
6998
6999 2014-01-13 Daniel Colascione <dancol@dancol.org>
7000
7001 * textmodes/rst.el (rst-define-key): Provide deprecated
7002 keybindings through named functions instead of anonymous ones so
7003 that "??" doesn't appear in describe-mode output.
7004
7005 2014-01-13 Bastien Guerry <bzg@gnu.org>
7006
7007 * simple.el (define-alternatives): Call the selected command
7008 interactively. When setting `COMMAND--implementation' for the
7009 first time, tell the user how to chose another implementation.
7010 Enhance the docstring.
7011
7012 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
7013
7014 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
7015 (log-edit--match-first-line): New function.
7016 (log-edit-font-lock-keywords): Use it.
7017 (log-edit-mode): Make jit-lock-defer-multiline work.
7018
7019 2014-01-13 Bastien Guerry <bzg@gnu.org>
7020
7021 * rect.el (rectangle-mark-mode): When the region is not active,
7022 display a message saying that the mark as been set and that
7023 rectangle mode is in use.
7024 (rectangle--highlight-for-redisplay): Only put an overlay with a
7025 visible vertical bar when (display-graphic-p) is non-nil.
7026 This partially fixes Bug#16403.
7027
7028 2014-01-13 Juri Linkov <juri@jurta.org>
7029
7030 * info.el (Info-find-file): Go to DIR before displaying the error
7031 about a nonexistent file if no previous Info file is visited.
7032 Use `user-error' instead of `error' for "Info file %s does not exist".
7033 (Info-find-node-2): In case of a nonexistent node in unwind forms
7034 go to the Top node if there is no previous node to revert to.
7035 (Bug#16405)
7036
7037 2014-01-13 Martin Rudalics <rudalics@gmx.at>
7038
7039 fit-frame/window-to-buffer code fixes including one for Bug#14096.
7040 * window.el (fit-frame-to-buffer): Fix doc-string.
7041 Respect window-min-height/-width. Fit pixelwise when
7042 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
7043 when avoiding that frame goes partially off-screen.
7044 (fit-window-to-buffer): Respect window-min-height/-width
7045 (Bug#14096).
7046
7047 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
7048
7049 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
7050 after an empty line.
7051
7052 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
7053
7054 * net/shr.el (shr-render-region): Autoload.
7055
7056 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
7057
7058 * net/eww.el (eww-download-directory): Rename from
7059 `eww-download-path' (Bug#16419).
7060
7061 2014-01-12 Leo Liu <sdl.web@gmail.com>
7062
7063 * dired-x.el (dired-mode-map): Fix last change.
7064
7065 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
7066
7067 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
7068
7069 Spelling fixes.
7070 * emacs-lisp/generic.el (generic--normalize-comments):
7071 Rename from generic--normalise-comments. All uses changed.
7072 * play/bubbles.el (bubbles--neighborhood-score)
7073 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
7074 (bubbles--neighborhood-available)
7075 (bubbles--update-neighborhood-score):
7076 Rename from names with 'neighbourhood'. All uses changed.
7077
7078 2014-01-12 Leo Liu <sdl.web@gmail.com>
7079
7080 Re-implement the feature of showing eldoc info after editing.
7081 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
7082 (eldoc-edit-message-commands): New function.
7083 (eldoc-print-after-edit): New variable.
7084 (eldoc-pre-command-refresh-echo-area): Emit message only by
7085 eldoc-message-commands.
7086 (eldoc-mode): Restrict eldoc-message-commands to editing commands
7087 if eldoc-print-after-edit is set. (Bug#16346)
7088 * simple.el (read--expression): Enable eldoc-mode.
7089 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
7090
7091 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
7092 Eric S. Raymond <esr@thyrsus.com>
7093
7094 * version.el (emacs-repository-get-version): Enhance so the
7095 function works correctly in either a Bazaar or Git repo.
7096
7097 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
7098
7099 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
7100 Goes with removal of the joke manpages from /etc.
7101
7102 2014-01-10 Kenichi Handa <handa@gnu.org>
7103
7104 * mail/rmail.el (rmail-get-coding-system):
7105 Check rmail-get-coding-function before "funcall"ing it.
7106
7107 2014-01-10 Glenn Morris <rgm@gnu.org>
7108
7109 * emacs-lisp/authors.el (authors-fixed-entries):
7110 Update for files that no longer exist.
7111
7112 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
7113
7114 * version.el (emacs-bzr-get-version): Restore compatibilty with
7115 24.3 (Tested).
7116
7117 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
7118
7119 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
7120 and Podfile.
7121
7122 2014-01-10 Eli Zaretskii <eliz@gnu.org>
7123
7124 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
7125
7126 2014-01-10 Chong Yidong <cyd@gnu.org>
7127
7128 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
7129
7130 2014-01-10 Anders Lindgren <andlind@gmail.com>
7131
7132 * follow.el (follow-cache-command-list): Include right-char and
7133 left-char.
7134
7135 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
7136
7137 Spelling fixes.
7138 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
7139 * woman.el (woman-mark-horizontal-position):
7140 Rename from woman-mark-horizonal-position. Use changed.
7141
7142 2014-01-10 Glenn Morris <rgm@gnu.org>
7143
7144 * info.el (info-initialize): If running uninstalled, ensure our
7145 own info files are always found first, even if INFOPATH is set.
7146
7147 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
7148
7149 2014-01-09 David Engster <deng@randomsample.de>
7150
7151 * emacs-lisp/eieio-custom.el:
7152 * emacs-lisp/eieio-opt.el: Set generated autoload file to
7153 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
7154 * emacs-lisp/eieio.el: Regenerate autoloads.
7155
7156 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
7157
7158 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
7159 following renames. (Bug#8756)
7160
7161 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
7162
7163 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
7164 (bug#16382).
7165 (activate-mark): Add `no-tmm' argument.
7166 (set-mark, push-mark-command): Use it instead of running
7167 activate-mark-hook by hand.
7168
7169 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
7170
7171 In preparation for the move to git, sanitize out some
7172 Bazaar-specific names.
7173
7174 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
7175
7176 * version.el (emacs-bzr-version): Name changed to
7177 emacs-repository-version. Obsolete-variable alias made.
7178 * loadup.el: Follow through on this name change.
7179 * mail/emacsbug.el (report-emacs-bug): Factor out any
7180 assumption about the version control system in use.
7181
7182 2014-01-08 David Engster <deng@randomsample.de>
7183
7184 * help-fns.el (help-fns-describe-function-functions):
7185 New variable to call functions for augmenting help buffers.
7186 (describe-function-1): Remove explicit calls to
7187 `help-fns--compiler-macro', `help-fns--parent-mode' and
7188 `help-fns--obsolete'. Put them in above new variable instead, and
7189 call them through `run-hook-with-args'.
7190 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
7191 `eieio-describe-class'. Not meant for interactive use anymore,
7192 but to augment existing help buffers. Remove optional second
7193 argument. Create proper button for file location.
7194 Rewrite function to use `insert' instead of `princ' and `prin1' where
7195 possible.
7196 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
7197 (eieio-method-def, eieio-class-def): Move further up.
7198 (describe-method, describe-generic, eieio-describe-method):
7199 Remove aliases.
7200 (eieio-help-constructor, eieio-help-generic): Rename from
7201 `eieio-describe-constructor' and `eieio-describe-generic', resp.
7202 Rewrite to use `insert' in the current buffer and use proper help
7203 buttons.
7204 (eieio-help-find-method-definition)
7205 (eieio-help-find-class-definition): Also accept symbols as
7206 arguments.
7207 (eieio-help-mode-augmentation-maybee): Remove.
7208 (eieio-describe-class-sb): Use `describe-function'.
7209 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
7210 Add `eieio-help-generic' and `eieio-help-constructor'.
7211
7212 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
7213
7214 Spelling fixes.
7215 * language/china-util.el (hz-ascii-designation):
7216 Rename from hz-ascii-designnation.
7217 (hz-ascii-designation): Rename from hz-ascii-designnation.
7218 All uses changed.
7219
7220 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
7221
7222 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
7223 package-alist.
7224
7225 2014-01-08 Bastien Guerry <bzg@gnu.org>
7226
7227 * emacs-lisp/package.el (package-delete):
7228 Correctly delete the package from package-alist.
7229
7230 2014-01-08 Daiki Ueno <ueno@gnu.org>
7231
7232 * emacs-lisp/package.el (url-recreate-url): Declare.
7233 (url-http-target-url): Declare.
7234 (package-handle-response): Include requested URL in the error message.
7235 (package--check-signature): Don't re-signal errors from
7236 package--with-work-buffer. Suggested by Stefan Monnier.
7237
7238 2014-01-07 Bastien Guerry <bzg@gnu.org>
7239
7240 * minibuffer.el (completion--try-word-completion): When both a
7241 hyphen and a space are possible candidates for the character
7242 following a word, display both candidates. (Bug#15980)
7243
7244 2014-01-07 Martin Rudalics <rudalics@gmx.at>
7245
7246 * window.el (balance-windows-2): While rounding don't give a
7247 window more than the remainder. Bug#16351, bug#16383.
7248
7249 2014-01-07 Glenn Morris <rgm@gnu.org>
7250
7251 * menu-bar.el (menu-bar-help-extra-packages): Remove.
7252 (menu-bar-help-menu): Use view-external-packages instead.
7253
7254 2014-01-07 Bastien Guerry <bzg@gnu.org>
7255
7256 * emacs-lisp/package.el (package-delete): Also delete the package
7257 name from `package-alist', not its description only.
7258
7259 2014-01-07 Glenn Morris <rgm@gnu.org>
7260
7261 * help.el (view-external-packages):
7262 * menu-bar.el (menu-bar-help-extra-packages):
7263 Visit efaq.info rather than etc/MORE.STUFF.
7264
7265 2014-01-07 Juri Linkov <juri@jurta.org>
7266
7267 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
7268 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
7269
7270 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
7271 that shadows RET. (Bug#16342)
7272
7273 2014-01-07 Chong Yidong <cyd@gnu.org>
7274
7275 * isearch.el (isearch-yank-char, isearch-yank-word)
7276 (isearch-yank-line): Doc fix.
7277
7278 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
7279
7280 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
7281 * emacs-lisp/elint.el (elint-find-builtins):
7282 * emacs-lisp/eldoc.el (eldoc-symbol-function):
7283 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
7284 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
7285 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
7286 * apropos.el (apropos-safe-documentation):
7287 * subr.el (symbol-file): Remove redundant fboundp.
7288 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
7289
7290 2014-01-06 Bastien Guerry <bzg@gnu.org>
7291
7292 * hl-line.el (global-hl-line-overlay): Make a local variable.
7293 (global-hl-line-overlays): New variable to store all overlays.
7294 (global-hl-line-mode): Don't delete overlays from the current
7295 buffer when `global-hl-line-sticky-flag' is non-nil.
7296 (global-hl-line-highlight): Add new overlays to
7297 `global-hl-line-overlays'.
7298 (global-hl-line-unhighlight-all): New function to delete all
7299 overlays when turning off `global-hl-line-mode'.
7300 This fixes Bug#16183.
7301
7302 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
7303
7304 * subr.el (set-transient-map): Fix nested case and docstring.
7305
7306 2014-01-06 Tassilo Horn <tsdh@gnu.org>
7307
7308 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
7309 `Texinfo' entry.
7310
7311 2014-01-06 Daniel Colascione <dancol@dancol.org>
7312
7313 Fix defun navigation in vc log view.
7314
7315 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
7316 like `beginning-of-defun'.
7317 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
7318 log-view-end-of-defun to log-view-end-of-defun-1. Replace
7319 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
7320 (log-view-extract-comment): Call `log-view-current-entry' directly
7321 instead of relying on broken `log-view-beginning-of-defun' behavior.
7322
7323 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
7324
7325 Spelling fixes.
7326 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
7327 * emacs-lisp/debug.el (cancel-debug-on-entry):
7328 * epg.el (epg-error-to-string):
7329 * files.el (recover-file):
7330 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
7331 * mail/emacsbug.el (report-emacs-bug-hook):
7332 * mail/sendmail.el (mail-recover):
7333 * ses.el (ses-yank-resize):
7334 * term/ns-win.el (ns-print-buffer):
7335 Spelling fixes in diagnostics, mostly for "canceled" with one L.
7336 * epg.el (epg-key-capability-alist): Rename from misspelled version.
7337 All uses changed.
7338 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
7339
7340 2014-01-06 Leo Liu <sdl.web@gmail.com>
7341
7342 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
7343 to avoid shadowing global key. (Bug#16354)
7344
7345 2014-01-06 Daniel Colascione <dancol@dancol.org>
7346
7347 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
7348 rst-mode.
7349
7350 2014-01-05 Martin Rudalics <rudalics@gmx.at>
7351
7352 * window.el (balance-windows): Add mising t to fix Bug#16351.
7353
7354 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
7355
7356 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
7357 (bug#16285).
7358 (shr-insert): If we have a word that's longer than `shr-width',
7359 break after it anyway. Otherwise we'll do no breaking once we get
7360 such a long word.
7361
7362 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
7363
7364 * net/eww.el (eww): Support single/double quote for search.
7365 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
7366 (eww-history-quit): Delete and use quit-window.
7367 (eww-history-kill): Delete, because it doesn't work well and
7368 not necessary.
7369 (eww-history-mode-map): Delete some keys and add easy-menu.
7370
7371 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
7372
7373 Fix misspelling of 'chinese' in rx (Bug#16237).
7374 * emacs-lisp/rx.el (rx-categories): Correct spelling of
7375 chinese-two-byte.
7376
7377 Change subword regexps back to vars (Bug#16296).
7378 * progmodes/subword.el (subword-forward-regexp)
7379 (subword-backward-regexp): Change these back to variables.
7380
7381 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
7382
7383 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
7384 syntax-begin-function (bug#16247).
7385
7386 2014-01-03 Chong Yidong <cyd@gnu.org>
7387
7388 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
7389 (advice--docstring): Delete variable.
7390 (advice--make-1): Leave the docstring empty.
7391 (advice-add): Use function-documentation for advised docstring.
7392
7393 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
7394 Ignore function-documentation property when getting documentation.
7395 (ad-activate-advised-definition): Use function-documentation
7396 generate the docstring.
7397 (ad-make-advised-definition): Don't call
7398 ad-make-advised-definition-docstring.
7399 (ad-make-advised-definition-docstring, ad-advised-definition-p):
7400 Delete functions.
7401
7402 * progmodes/sql.el (sql-help): Use function-documentation instead
7403 of dynamic-docstring-function property. No need to autoload now.
7404 (sql--help-docstring): New variable.
7405 (sql--make-help-docstring): Use it.
7406
7407 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
7408
7409 * ielm.el (ielm-tab): Retarget.
7410 (ielm-map): Use ielm-tab for tab.
7411 (ielm-complete-filename): Use comint-filename-completion.
7412 (ielm-complete-symbol): Remove.
7413 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
7414 remove ielm-tab from completion-at-point-functions (bug#16224).
7415
7416 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
7417 Beware signals raised by predicates (bug#16201).
7418
7419 2014-01-02 Richard Stallman <rms@gnu.org>
7420
7421 * dired-aux.el (dired-do-print): Handle printer-name.
7422
7423 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
7424 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
7425 (rmail-epa-decrypt): Turn off mime processing.
7426
7427 * mail/rmail.el (rmail-make-in-reply-to-field):
7428 Add parens in message-id.
7429
7430 * mail/rmail.el (rmail-get-coding-function): Variable.
7431 (rmail-get-coding-system): Use it.
7432
7433 2013-12-31 Eli Zaretskii <eliz@gnu.org>
7434
7435 * international/mule-conf.el: Unify the charset indian-is13194.
7436 (indian-is13194): Specify unify-map.
7437
7438 2013-12-31 Leo Liu <sdl.web@gmail.com>
7439
7440 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
7441
7442 2013-12-30 Daniel Colascione <dancol@dancol.org>
7443
7444 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
7445 of printing a useless when we resume from sleep.
7446
7447 * progmodes/sh-script.el
7448 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
7449 in indentation code. (Bug#16233)
7450
7451 2013-12-28 João Távora <joaotavora@gmail.com>
7452
7453 * elec-pair.el (electric-pair-post-self-insert-function):
7454 Don't open extra newlines at beginning of buffer. (Bug#16272)
7455
7456 2013-12-28 Eli Zaretskii <eliz@gnu.org>
7457
7458 * frame.el (window-system-for-display): Don't allow to create a
7459 GUI frame from a -nw session on MS-Windows. (Bug#14739)
7460
7461 2013-12-28 Glenn Morris <rgm@gnu.org>
7462
7463 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
7464 Update callers.
7465
7466 * apropos.el (apropos-match-face):
7467 * calculator.el (calculator-displayer):
7468 * dabbrev.el (dabbrev-search-these-buffers-only):
7469 * face-remap.el (buffer-face-mode-face):
7470 * simple.el (yank-handled-properties):
7471 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
7472 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
7473 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
7474 (hashcash-double-spend-database):
7475 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
7476 (ruby-deep-indent-paren-style):
7477 * textmodes/flyspell.el (flyspell-auto-correct-binding):
7478 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
7479 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
7480 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
7481 Specify custom types.
7482
7483 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
7484 * bookmark.el (bookmark-bmenu-use-header-line):
7485 * doc-view.el (doc-view-scale-internally):
7486 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
7487 * register.el (register-preview-delay):
7488 * net/shr.el (shr-bullet):
7489 * progmodes/cfengine.el (cfengine-cf-promises)
7490 (cfengine-parameters-indent):
7491 * progmodes/octave.el (inferior-octave-error-regexp-alist):
7492 * textmodes/reftex-vars.el (reftex-label-regexps):
7493 * vc/log-edit.el (log-edit-setup-add-author): Add version.
7494
7495 * net/tls.el (tls-certtool-program): Fix default value.
7496
7497 * desktop.el (desktop-restore-in-current-display):
7498 * newcomment.el (comment-empty-lines):
7499 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
7500 (idlwave-pad-keyword):
7501 * progmodes/tcl.el (tcl-tab-always-indent):
7502 * textmodes/reftex-vars.el (reftex-index-default-tag):
7503 * elec-pair.el (electric-pair-skip-whitespace):
7504 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
7505
7506 * emacs-lisp/authors.el (authors-ignored-files)
7507 (authors-valid-file-names, authors-renamed-files-alist): Additions.
7508
7509 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
7510
7511 * shell.el (shell-dynamic-complete-command): Doc fix.
7512 (shell--command-completion-data): Shell completion now matches
7513 executable filenames from the current buffer's directory, on
7514 systems in which this behavior is the default (windows-nt, ms-dos).
7515
7516 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
7517
7518 * net/shr.el (shr-insert): Don't infloop if the width is zero.
7519
7520 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
7521
7522 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
7523 (bug#16251).
7524
7525 * electric.el: Move all electric-pair-* to elec-pair.el.
7526 * elec-pair.el: New file, split from electric.el.
7527
7528 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
7529
7530 * net/shr.el (shr-find-fill-point): Don't try to fill if the
7531 indentation level is larger than the width, because that will
7532 infloop.
7533 (shr-insert): Fill repeatedly long texts, so that Japanese is
7534 formatted correctly (bug#16263).
7535 (shr-find-fill-point): Off by one error in comparison with the
7536 indentation.
7537
7538 2013-12-26 João Távora <joaotavora@gmail.com>
7539
7540 * electric.el (electric-pair-mode): More flexible engine for skip-
7541 and inhibit predicates, new options for pairing-related functionality.
7542 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
7543 if that keeps or improves their balance in buffers.
7544 (electric-pair-delete-adjacent-pairs): Delete the pair when
7545 backspacing over adjacent matched delimiters.
7546 (electric-pair-open-extra-newline): Open extra newline when
7547 inserting newlines between adjacent matched delimiters.
7548 (electric--sort-post-self-insertion-hook):
7549 Sort post-self-insert-hook according to priority values when
7550 minor-modes are activated.
7551 * simple.el (newline-and-indent): Call newline with interactive
7552 set to t.
7553 (blink-paren-post-self-insert-function): Set priority to 100.
7554 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
7555 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
7556 comments. Locally set electric-pair-skip-whitespace to 'chomp and
7557 electric-pair-open-newline-between-pairs to nil.
7558
7559 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
7560
7561 * progmodes/python.el: Use lexical-binding.
7562 (python-nav-beginning-of-defun): Stop searching ASAP.
7563
7564 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
7565
7566 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
7567 Fix interactive spec. Doc fix. (Bug#15754)
7568
7569 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
7570
7571 * emacs-lisp/byte-run.el (eval-when-compile):
7572 * progmodes/cc-defs.el (cc-eval-when-compile):
7573 Fix edebug spec (bug#16184).
7574
7575 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
7576
7577 * net/shr.el (shr-visit-file): Remove debugging function.
7578 (shr-insert): Don't infloop if we can't find a good place to break
7579 the line (bug#16256).
7580
7581 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
7582
7583 * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
7584 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
7585 python-nav-lisp-forward-sexp-safe.
7586 (python-nav--forward-sexp): New argument SAFE allows switching
7587 forward sexp movement behavior for parens.
7588 (python-nav-forward-sexp): Throw errors on unterminated parens
7589 (Bug#16191).
7590 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
7591 (python-nav-backward-sexp-safe): New functions.
7592 (python-shell-buffer-substring):
7593 Use `python-nav-forward-sexp-safe'.
7594
7595 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
7596
7597 * net/shr.el (shr-find-fill-point): Don't break lines before a
7598 quotation mark.
7599 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
7600 (shr-find-fill-point): Remove the special checks for the quotation
7601 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
7602
7603 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
7604
7605 * net/eww.el (eww-form-textarea): Use a different face for
7606 textareas than text input since they have different keymaps
7607 (bug#16142).
7608
7609 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
7610
7611 * progmodes/python.el (python-nav-beginning-of-statement):
7612 Speed up (Bug#15295).
7613
7614 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
7615
7616 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
7617 the window configuration.
7618
7619 2013-12-24 Eli Zaretskii <eliz@gnu.org>
7620
7621 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
7622 we run on MS-Windows or MS-DOS.
7623
7624 2013-12-24 Martin Rudalics <rudalics@gmx.at>
7625
7626 * window.el (balance-windows-area): Call window-size instead of
7627 window-height and window-width. Bug#16241.
7628
7629 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
7630
7631 * net/eww.el (eww-bookmark-quit): Remove.
7632 (eww-bookmark-browse): Restore the window configuration when you
7633 choose a bookmark (bug#16144).
7634
7635 2013-12-24 Daniel Colascione <dancol@dancol.org>
7636
7637 * icomplete.el: Remove redundant :group arguments to `defcustom'
7638 throughout.
7639 (icomplete-show-matches-on-no-input): New customizable variable.
7640 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
7641 we have something to show.
7642 (icomplete-exhibit): Compute completions even if we have no user input.
7643
7644 2013-12-23 Daniel Colascione <dancol@dancol.org>
7645
7646 * icomplete.el: Move `provide' to end of file.
7647
7648 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
7649
7650 * net/gnutls.el (gnutls-verify-error): Add version tag.
7651
7652 2013-12-23 Chong Yidong <cyd@gnu.org>
7653
7654 * subr.el (set-transient-map): Rename from
7655 set-temporary-overlay-map. Doc fix.
7656
7657 * face-remap.el (text-scale-adjust):
7658 * indent.el (indent-rigidly):
7659 * kmacro.el (kmacro-call-macro):
7660 * minibuffer.el (minibuffer-force-complete):
7661 * repeat.el (repeat):
7662 * simple.el (universal-argument--mode):
7663 * calendar/todo-mode.el (todo-insert-item--next-param):
7664 * progmodes/f90.el (f90-abbrev-start): Callers changed.
7665
7666 * indent.el (indent-rigidly): Use substitute-command-keys.
7667
7668 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
7669
7670 * net/eww.el (eww-tag-select): Add text-property to jump to next
7671 select field.
7672 (eww): Add non-supported ftp error.
7673
7674 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
7675
7676 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
7677 comments. Handle electric indent after typing `?' and `!'.
7678
7679 2013-12-22 Chong Yidong <cyd@gnu.org>
7680
7681 * faces.el (face-spec-recalc): If the theme specs are not
7682 applicable to a frame, fall back on the defface spec.
7683 This prevents themes from obliterating faces on low-color terminals.
7684
7685 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
7686
7687 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
7688 after `{'. We need it after block openers, and it doesn't seem
7689 to hurt after hash openers.
7690
7691 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
7692
7693 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
7694 extracted from `ruby-smie-rules'.
7695 (ruby--electric-indent-chars): New variable.
7696 (ruby--electric-indent-p): New function.
7697 (ruby-mode): Use `electric-indent-functions' instead of
7698 `electric-indent-chars'.
7699
7700 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
7701
7702 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
7703 docstring.
7704 (ruby-smie-rules): Indent plus one level after `=>'.
7705
7706 2013-12-21 Richard Stallman <rms@gnu.org>
7707
7708 * simple.el (newline): Doc fix.
7709
7710 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
7711
7712 * net/eww.el (eww-list-histories, eww-list-histories)
7713 (eww-history-browse, eww-history-quit, eww-history-kill)
7714 (eww-history-mode-map, eww-history-mode): New command and
7715 functions to list browser histories.
7716 (eww-form-text): Support text form with disabled
7717 and readonly attributes.
7718 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
7719
7720 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7721
7722 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
7723 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
7724 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
7725 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
7726 Use `user-error'.
7727 (eww-bookmark-mode-map): Add menu.
7728 (eww-render, eww-mode): Use `setq-local'.
7729 (eww-tool-bar-map): New variable.
7730 (eww-mode): Set `tool-bar-map'.
7731 (eww-view-source): Check for `html-mode' with `fboundp'.
7732
7733 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7734
7735 * net/shr.el (shr--extract-best-source): Don't bug out on audio
7736 elements with text inside. Also remove debugging.
7737
7738 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
7739
7740 * cus-start.el (all): Add ns-use-srgb-colorspace.
7741
7742 2013-12-21 Chong Yidong <cyd@gnu.org>
7743
7744 * custom.el (custom-theme-recalc-face): Do nothing if the face is
7745 undefined. Thus, theme settings for undefined faces do not take
7746 effect until the faces are defined with defface, the same as with
7747 theme variables.
7748
7749 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
7750 (face-spec-reset-face): Don't assign extra properties in temacs.
7751 (face-spec-recalc): Apply X resources too.
7752
7753 2013-12-21 Chong Yidong <cyd@gnu.org>
7754
7755 * faces.el (face-spec-set):
7756 * cus-face.el (custom-theme-set-faces, custom-set-faces):
7757 * custom.el (defface): Doc fixes (Bug#16203).
7758
7759 * indent.el (indent-rigidly-map): Add docstring, and move commands
7760 into named functions.
7761 (indent-rigidly-left, indent-rigidly-right)
7762 (indent-rigidly-left-to-tab-stop)
7763 (indent-rigidly-right-to-tab-stop): New functions. Decide on
7764 indentation direction based on bidi direction, and accumulate
7765 sequential commands in a single undo boundary.
7766 (indent-rigidly--pop-undo): New utility function.
7767
7768 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
7769
7770 * faces.el (read-face-name): Require crm.el when using crm-separator.
7771
7772 2013-12-20 Daniel Colascione <dancol@dancol.org>
7773
7774 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
7775 so that we don't reflow comments into the shebang line.
7776
7777 2013-12-20 Juri Linkov <juri@jurta.org>
7778
7779 * saveplace.el (save-place-to-alist): Add `dired-filename' as
7780 a position when `dired-directory' is non-nil. Check integer
7781 positions with `integerp'.
7782 (toggle-save-place, save-places-to-alist): Add check for
7783 `dired-directory'.
7784 (save-place-find-file-hook): Check integer positions with
7785 `integerp'.
7786 (save-place-dired-hook): Use `dired-goto-file' when
7787 `dired-filename' is found in the assoc list. Check integer
7788 positions with `integerp'.
7789 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
7790
7791 * dired.el (dired-initial-position-hook): Rename back from
7792 `dired-initial-point-hook'.
7793 (dired-initial-position): Rename `dired-initial-point-hook' to
7794 `dired-initial-position-hook'.
7795 (dired-file-name-at-point): Doc fix. (Bug#15329)
7796
7797 2013-12-20 Juri Linkov <juri@jurta.org>
7798
7799 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
7800 (read-regexp-suggestions): New function.
7801 (read-regexp): Use `read-regexp-defaults-function' to get default values.
7802 Use `read-regexp-suggestions'. Add non-empty default to history
7803 for empty input.
7804 (occur-read-regexp-defaults-function): Remove function.
7805 (occur-read-primary-args): Use `regexp-history-last' instead of
7806 `occur-read-regexp-defaults-function'.
7807
7808 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
7809 (hi-lock-line-face-buffer, hi-lock-face-buffer)
7810 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
7811 `hi-lock-read-regexp-defaults-function'. Doc fix.
7812 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
7813 with `find-tag-default-as-symbol-regexp'. Doc fix.
7814 (hi-lock-read-regexp-defaults): Remove function.
7815 (hi-lock-regexp-okay): Add check for null.
7816
7817 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
7818 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
7819
7820 * subr.el (find-tag-default-as-symbol-regexp): New function.
7821 (find-tag-default-as-regexp): Move symbol regexp formatting to
7822 `find-tag-default-as-symbol-regexp'.
7823
7824 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
7825
7826 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
7827 (Bug#14179)
7828
7829 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
7830
7831 * calendar/todo-mode.el: New implementation of item insertion
7832 commands and key bindings.
7833 (todo-key-prompt): New face.
7834 (todo-insert-item): New command.
7835 (todo-insert-item--parameters): New defconst, replacing defvar
7836 todo-insertion-commands-args-genlist.
7837 (todo-insert-item--param-key-alist): New defconst, replacing
7838 defvar todo-insertion-commands-arg-key-list.
7839 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
7840 (todo-insert-item--argsleft, todo-insert-item--apply-args)
7841 (todo-insert-item--next-param): New functions.
7842 (todo-insert-item--args, todo-insert-item--argleft)
7843 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
7844 New variables.
7845 (todo-key-bindings-t): Change binding of "i" from
7846 todo-insertion-map to todo-insert-item.
7847 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
7848 (todo-insertion-command-name, todo-insertion-commands-names)
7849 (todo-define-insertion-command, todo-insertion-commands)
7850 (todo-insertion-key-bindings, todo-insertion-map): Remove.
7851
7852 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
7853
7854 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
7855 (todo-toggle-item-highlighting): Use eval-and-compile instead of
7856 eval-when-compile.
7857 (todo-move-category): Allow choosing a non-existing todo file to
7858 move the category to, and create that file.
7859 (todo-default-priority): New user option.
7860 (todo-set-item-priority): Use it.
7861 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
7862 (desktop-restore-file-buffer): Declare.
7863 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
7864 (todo-modes-set-2): Locally set desktop-save-buffer to
7865 todo-desktop-save-buffer.
7866 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
7867 (auto-mode-alist): Add autoload cookie.
7868
7869 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
7870
7871 * emacs-lisp/subr-x.el: Renamed from helpers.el.
7872 helpers.el was a poor choice of name.
7873 (string-remove-prefix): New function.
7874 (string-remove-suffix): New function.
7875
7876 2013-12-20 Martin Rudalics <rudalics@gmx.at>
7877
7878 Fix assignment for new window total sizes.
7879 * window.el (window--pixel-to-size): Remove function.
7880 (window--pixel-to-total-1, window--pixel-to-total):
7881 Fix calculation of new total sizes.
7882
7883 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
7884
7885 * comint.el (comint-output-filter): Fix rear-nonsticky property
7886 placement (Bug#16010).
7887
7888 2013-12-20 Chong Yidong <cyd@gnu.org>
7889
7890 * faces.el (read-color): Minor fix for completion function.
7891
7892 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
7893
7894 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
7895 New option. (Bug#16182)
7896 (ruby-smie--indent-to-stmt-p): Use it.
7897 (ruby-smie-rules): Revert the logic in the handling of `when'.
7898 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
7899 (ruby-deep-arglist, ruby-deep-indent-paren)
7900 (ruby-deep-indent-paren-style): Update docstrings to note that the
7901 vars don't have any effect with SMIE.
7902
7903 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
7904
7905 * calc/calc.el (calc-enter, calc-pop): Use the variable
7906 `calc-context-sensitive-enter'.
7907
7908 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
7909
7910 * net/shr.el (shr-insert): Protect against infloops in degenerate
7911 tables.
7912
7913 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7914
7915 * progmodes/octave.el (octave): Add link to manual and octave
7916 homepage.
7917 (octave-mode-menu): Link to octave-mode manual.
7918
7919 2013-12-20 Leo Liu <sdl.web@gmail.com>
7920
7921 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
7922 insertion using skeleton-end-newline. (Bug#16138)
7923
7924 2013-12-20 Juri Linkov <juri@jurta.org>
7925
7926 * replace.el (occur-engine): Use `add-face-text-property'
7927 to add the face property to matches and titles. (Bug#14645)
7928
7929 * hi-lock.el (hi-green): Use lighter color "light green" closer to
7930 the palette of other hi-lock colors.
7931 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
7932
7933 2013-12-19 Juri Linkov <juri@jurta.org>
7934
7935 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
7936 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
7937 (minibuffer-history-symbol): Move variable declaration closer to
7938 its usage.
7939
7940 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
7941 (Bug#14785)
7942
7943 2013-12-19 Juri Linkov <juri@jurta.org>
7944
7945 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
7946 New function.
7947 (log-edit-hook): Add it to :options. (Bug#16170)
7948
7949 2013-12-19 Juri Linkov <juri@jurta.org>
7950
7951 * simple.el (eval-expression-print-format): Don't check for
7952 command names and the last command. Always display additional
7953 formats of the integer result in the echo area, and insert them
7954 to the current buffer only with a zero prefix arg.
7955 Display character when char-displayable-p is non-nil.
7956 (eval-expression): With a zero prefix arg, set `print-length' and
7957 `print-level' to nil, and insert the integer values from
7958 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
7959
7960 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
7961 `eval-last-sexp-arg-internal'. Doc fix.
7962 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
7963 `eval-last-sexp-print-value'. Doc fix.
7964 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
7965 Set `print-length' and `print-level' to nil when arg is zero.
7966 (eval-last-sexp): Doc fix.
7967 (eval-defun-2): Print the integer values from
7968 `eval-expression-print-format' at the end.
7969
7970 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
7971 values from `eval-expression-print-format' at the end.
7972
7973 * ielm.el (ielm-eval-input): Print the integer
7974 values from `eval-expression-print-format' at the end.
7975
7976 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
7977
7978 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
7979 2013-12-11T19:01:44Z!tzz@lifelogs.com.
7980
7981 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
7982
7983 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
7984 (hl-line-highlight, global-hl-line-highlight): Use it.
7985 (hl-line-overlay): Use defvar-local.
7986
7987 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
7988
7989 * term/ns-win.el: Require dnd.
7990 (global-map): Remove drag items.
7991 (ns-insert-text, ns-set-foreground-at-mouse)
7992 (ns-set-background-at-mouse):
7993 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
7994 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
7995 New functions.
7996
7997 2013-12-19 Glenn Morris <rgm@gnu.org>
7998
7999 * emacs-lisp/ert.el (ert-select-tests):
8000 Fix string/symbol mixup. (Bug#16121)
8001
8002 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
8003
8004 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
8005 keywords to their parent.
8006
8007 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
8008
8009 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
8010 first arg to be a string (fixed dead code), or an operator symbol.
8011 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
8012 operator symbols.
8013 (ruby-smie-rules): Remove parent token check in the `.' clause, it
8014 did nothing. Don't respond to `(:after ".")', it will be called
8015 with :before anyway. Remove the ` @ ' rule, it didn't seem to
8016 change anything. Only return indentation for binary operators
8017 when they are hanging. De-dent opening paren when its parent is
8018 `.', otherwise it looks bad when the dot is not at bol or eol
8019 (bug#16182).
8020
8021 2013-12-19 Juri Linkov <juri@jurta.org>
8022
8023 * replace.el (query-replace-read-args): Split a non-negative arg
8024 and a negative arg into separate elements.
8025 (query-replace, query-replace-regexp, replace-string)
8026 (replace-regexp): Add arg `backward'. Doc fix.
8027 (replace-match-maybe-edit): When new arg `backward' is non-nil,
8028 move point to the beginning of the match.
8029 (replace-search, replace-highlight): Use new arg `backward'
8030 to set the value of `isearch-forward'.
8031 (perform-replace): Add arg `backward' and use it to perform
8032 replacement backward. (Bug#14979)
8033
8034 * isearch.el (isearch-query-replace): Use a negative prefix arg
8035 to call `perform-replace' with a non-nil arg `backward'.
8036
8037 2013-12-18 Juri Linkov <juri@jurta.org>
8038
8039 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
8040 to the default list. Move `log-edit-show-files' to the end.
8041 Add more available functions to options.
8042 (log-edit): Move default specific settings to
8043 `log-edit-insert-message-template'. Don't move point.
8044 (log-edit-insert-message-template): New function.
8045 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
8046 (Bug#16170)
8047
8048 2013-12-18 Juri Linkov <juri@jurta.org>
8049
8050 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
8051 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
8052
8053 2013-12-18 Leo Liu <sdl.web@gmail.com>
8054
8055 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
8056 (Bug#16186)
8057
8058 2013-12-18 Eli Zaretskii <eliz@gnu.org>
8059
8060 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
8061 formats for displaying file sizes when the -s switch is given.
8062 Instead, compute a separate format for displaying the size in
8063 blocks, which is displayed in addition to the "regular" size.
8064 When -h is given in addition to -s, produce size in blocks in
8065 human-readable form as well. (Bug#16179)
8066
8067 2013-12-18 Tassilo Horn <tsdh@gnu.org>
8068
8069 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
8070 Reference tables with ~\ref{...} instead of only \ref{...}.
8071
8072 2013-12-18 Chong Yidong <cyd@gnu.org>
8073
8074 * cus-edit.el (custom-magic-alist): Fix "themed" description
8075 (Bug#14348).
8076
8077 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
8078 is non-nil, do not create a new entry in the symbol's theme-value
8079 or theme-face property; update theme-settings only (Bug#14664).
8080 (custom-available-themes): Doc fix.
8081
8082 * cus-theme.el (custom-new-theme-mode-map): Add bindings
8083 (Bug#15674).
8084
8085 * replace.el (occur-engine): Avoid infloop (Bug#7593).
8086
8087 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
8088
8089 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
8090 (Bug#13914).
8091
8092 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
8093
8094 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
8095
8096 2013-12-18 Glenn Morris <rgm@gnu.org>
8097
8098 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
8099 * cus-start.el (load-prefer-newer): New option.
8100
8101 2013-12-18 Le Wang <l26wang@gmail.com>
8102
8103 * comint.el (comint-previous-matching-input-from-input):
8104 Retain point (Bug#13404).
8105
8106 2013-12-18 Chong Yidong <cyd@gnu.org>
8107
8108 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
8109
8110 2013-12-18 Glenn Morris <rgm@gnu.org>
8111
8112 * mail/emacsbug.el (report-emacs-bug):
8113 Only mention enable-multibyte-characters if non-standard.
8114
8115 2013-12-17 Juri Linkov <juri@jurta.org>
8116
8117 * arc-mode.el (archive-extract-by-file): Check if directory exists
8118 before deletion to not show irrelevant errors if it doesn't exist.
8119
8120 2013-12-17 Juri Linkov <juri@jurta.org>
8121
8122 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
8123 (Bug#14751)
8124
8125 * net/eww.el (browse-web): Add alias to `eww'.
8126 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
8127 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
8128
8129 * net/browse-url.el (browse-url-browser-function): Move `eww'
8130 closer to similar functions.
8131
8132 * startup.el (fancy-startup-screen, fancy-about-screen):
8133 Set browse-url-browser-function to eww-browse-url locally.
8134 (Bug#14751)
8135
8136 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
8137
8138 * window.el (window--pixel-to-total): Remove unused `mini' var.
8139 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
8140 (split-window): Remove unused `new' var.
8141 (window--display-buffer): Remove unused `frame' and `delta' vars.
8142 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
8143 and display-width'.
8144
8145 2013-12-17 Martin Rudalics <rudalics@gmx.at>
8146
8147 * dired.el (dired-mark-pop-up):
8148 * register.el (register-preview): Don't bind
8149 split-height-threshold here since it's now done in
8150 display-buffer-below-selected.
8151
8152 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
8153
8154 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
8155 xterm-rgb-convert-to-16bit.
8156 (rxvt-register-default-colors): Standardize with
8157 xterm-register-default-colors (Bug#14078).
8158
8159 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
8160
8161 * simple.el (kill-region): Pass mark first, then point, so that
8162 kill-append works right (Bug#12819).
8163 (copy-region-as-kill, kill-ring-save): Likewise.
8164
8165 2013-12-17 Leo Liu <sdl.web@gmail.com>
8166
8167 * net/rcirc.el (rcirc-add-face):
8168 * eshell/em-prompt.el (eshell-emit-prompt):
8169 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
8170 (Bug#16167)
8171
8172 2013-12-17 Chong Yidong <cyd@gnu.org>
8173
8174 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
8175 Suggested by Xue Fuqiao.
8176
8177 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
8178
8179 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
8180
8181 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
8182
8183 * net/shr.el (shr-insert-document): Remove unused var
8184 `shr-preliminary-table-render'.
8185 (shr-rescale-image): Remove unused arg `force'.
8186 (shr-put-image): Update calls accordingly.
8187 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
8188
8189 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
8190
8191 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
8192 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
8193 :close-all, to see which indentation method to use (Bug#16116).
8194 (smie-rules-function): Document the method :close-all.
8195
8196 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
8197
8198 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
8199
8200 * net/eww.el (eww-display-html): If we can't find the anchor we're
8201 looking for, then go to point-min.
8202
8203 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
8204
8205 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
8206 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
8207 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
8208 Expand dir too, in case it's relative.
8209
8210 2013-12-16 Juri Linkov <juri@jurta.org>
8211
8212 * desktop.el (desktop-auto-save-timeout): Change default to
8213 `auto-save-timeout'. Doc fix.
8214 (desktop-save): Skip the timestamp in desktop-saved-frameset
8215 when checking for auto-save changes.
8216 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
8217 `desktop-auto-save' is called repeatedly by the idle timer.
8218 (desktop-auto-save-set-timer): Replace `run-with-timer' with
8219 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
8220 (Bug#15331)
8221
8222 2013-12-16 Juri Linkov <juri@jurta.org>
8223
8224 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
8225 (Bug#16035)
8226 (isearch-pre-command-hook): Check `this-command' for symbolp.
8227
8228 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
8229
8230 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
8231
8232 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
8233
8234 * progmodes/cfengine.el (cfengine3--current-word): Remove.
8235 (cfengine3--current-function): Bring in the current-function
8236 functionality from `cfengine3--current-word'.
8237 (cfengine3-completion-function): Bring in the
8238 bounds-of-current-word functionality from
8239 `cfengine3--current-word'.
8240
8241 2013-12-16 Martin Rudalics <rudalics@gmx.at>
8242
8243 * window.el (display-buffer-below-selected):
8244 Bind split-height-threshold to 0 as suggested by Juri Linkov.
8245
8246 2013-12-16 Leo Liu <sdl.web@gmail.com>
8247
8248 * progmodes/compile.el (compile-goto-error): Do not push-mark.
8249 Remove NOMSG arg and all uses changed.
8250
8251 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
8252
8253 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
8254 (cua--deactivate-rectangle): Don't deactivate the mark.
8255 (cua-set-rectangle-mark): Don't set mark-active since
8256 cua--activate-rectangle already does it for us.
8257 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
8258 non-rectangular region.
8259
8260 * emulation/cua-base.el (cua-repeat-replace-region):
8261 Use with-current-buffer.
8262
8263 * net/gnutls.el: Use cl-lib.
8264 (gnutls-negotiate): `mapcan' -> cl-mapcan.
8265
8266 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
8267
8268 * emacs-lisp/package.el (package-built-in-p): Support both
8269 built-in and the package.el converted package descriptions.
8270 (package-show-package-list): Allow keywords.
8271 (package-keyword-button-action): Use it instead of
8272 `finder-list-matches'.
8273 (package-menu-filter-interactive): Interactive filtering (by
8274 keyword) function.
8275 (package-menu--generate): Support keywords and change keymappings
8276 and headers when they are given.
8277 (package--has-keyword-p): Helper function.
8278 (package-menu--refresh): Use it.
8279 (package--mapc): Helper function.
8280 (package-all-keywords): Use it.
8281 (package-menu-mode-map): Set up menu items and keybindings to
8282 provide a filtering UI.
8283
8284 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
8285
8286 * net/gnutls.el (gnutls-verify-error): New defcustom to control
8287 the behavior when a certificate fails validation. Defaults to
8288 old behavior: never abort, just warn.
8289 (gnutls-negotiate): Use it.
8290
8291 2013-12-14 Martin Rudalics <rudalics@gmx.at>
8292
8293 * window.el (display-buffer-below-selected): Never split window
8294 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
8295
8296 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
8297
8298 * emacs-lisp/package.el (package--prepare-dependencies): New function.
8299 (package-buffer-info): Use it (bug#15108).
8300
8301 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
8302
8303 * icomplete.el (icomplete-completions): Make sure the prefix is already
8304 displayed elsewhere before hiding it (bug#16219).
8305
8306 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
8307
8308 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
8309 open-paren tokens when preceded by a open-paren, too.
8310 (ruby-smie-rules): Handle virtual indentation after open-paren
8311 tokens specially. If there is code between it and eol, return the
8312 column where is starts (Bug#16118).
8313
8314 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
8315
8316 * progmodes/cfengine.el: Fix `add-hook' doc.
8317 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
8318 (cfengine3--current-word): Fix parameters.
8319 (cfengine3-make-syntax-cache): Simplify further.
8320 (cfengine3-completion-function, cfengine3--current-function):
8321 Use `assq' for symbols.
8322 (cfengine3--current-function): Fix `cfengine3--current-word' call.
8323
8324 2013-12-13 Glenn Morris <rgm@gnu.org>
8325
8326 * loadup.el (load-path): Warn if site-load or site-init changes it.
8327 No more need to reset it when bootstrapping.
8328
8329 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
8330
8331 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
8332 locations for cf-promises.
8333 (cfengine-mode-syntax-functions-regex): New caching variable.
8334 (cfengine3-fallback-syntax): Fallback syntax for cases where
8335 cf-promises doesn't run.
8336 (cfengine3--current-word): Reimplement using
8337 `cfengine-mode-syntax-functions-regex'.
8338 (cfengine3-completion-function, cfengine3--current-function):
8339 Use `cfengine3-make-syntax-cache' directly.
8340 (cfengine3-clear-syntax-cache): New function.
8341 (cfengine3-make-syntax-cache): Simplify and create
8342 `cfengine-mode-syntax-functions-regex' on demand.
8343 (cfengine3-format-function-docstring): Don't call
8344 `cfengine3-make-syntax-cache' explicitly.
8345
8346 2013-12-13 Martin Rudalics <rudalics@gmx.at>
8347
8348 Fix windmove-find-other-window broken after pixelwise resizing
8349 (Bug#16017).
8350 * windmove.el (windmove-other-window-loc): Revert change from
8351 2013-12-04.
8352 (windmove-find-other-window): Call window-in-direction.
8353 * window.el (window-in-direction): New arguments SIGN, WRAP and
8354 MINI to emulate original windmove-find-other-window behavior.
8355
8356 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
8357
8358 * simple.el (blink-matching--overlay): New variable.
8359 (blink-matching-open): Instead of moving point, highlight the
8360 matching paren with an overlay
8361 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
8362
8363 * faces.el (paren-showing-faces, show-paren-match)
8364 (show-paren-mismatch): Move from paren.el.
8365
8366 2013-12-13 Leo Liu <sdl.web@gmail.com>
8367
8368 * indent.el (indent-region): Disable progress reporter in
8369 minibuffer. (Bug#16108)
8370
8371 * bindings.el (visual-order-cursor-movement): Fix version.
8372
8373 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
8374
8375 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
8376 Also match after beginning of line.
8377 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
8378 files. Thanks to Russell Sim. (Bug#15378)
8379
8380 2013-12-13 Juri Linkov <juri@jurta.org>
8381
8382 * simple.el <Keypad support>: Remove key bindings duplicated
8383 with bindings.el. (Bug#14397)
8384
8385 2013-12-13 Juri Linkov <juri@jurta.org>
8386
8387 * comint.el (comint-mode-map): Replace `delete-char' with
8388 `delete-forward-char'. (Bug#16109)
8389
8390 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
8391
8392 * progmodes/python.el (python-indent-calculate-indentation):
8393 Fix de-denters cornercase. (Bug#15731)
8394
8395 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
8396
8397 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
8398 (advice--make): Pay attention to `depth'.
8399 (advice--make-1): Don't autoload commands eagerly.
8400 * emacs-lisp/elp.el (elp-instrument-function):
8401 * emacs-lisp/trace.el (trace-function-internal):
8402 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
8403
8404 * iswitchb.el (iswitchb-mode): Don't belittle ido.
8405
8406 2013-12-12 Eli Zaretskii <eliz@gnu.org>
8407
8408 * term/w32-win.el (w32-handle-dropped-file):
8409 * startup.el (normal-top-level):
8410 * net/browse-url.el (browse-url-file-url):
8411 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
8412 decode file names using 'utf-8' rather than
8413 file-name-coding-system.
8414
8415 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
8416
8417 * progmodes/python.el (python-indent-context)
8418 (python-indent-calculate-indentation): Fix auto-identation
8419 behavior for comment blocks. (Bug#15916)
8420
8421 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
8422
8423 * progmodes/python.el (python-indent-calculate-indentation):
8424 When determining indentation, don't treat "return", "pass", etc., as
8425 operators when they are just string constituents. (Bug#15812)
8426
8427 2013-12-12 Juri Linkov <juri@jurta.org>
8428
8429 * uniquify.el (uniquify-buffer-name-style): Change default to
8430 `post-forward-angle-brackets'.
8431
8432 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
8433 `uniquify'. Change default to `post-forward-angle-brackets'.
8434
8435 2013-12-11 Glenn Morris <rgm@gnu.org>
8436
8437 * emacs-lisp/package.el (finder-list-matches):
8438 Autoload rather than falsely declaring.
8439
8440 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
8441
8442 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
8443 (eww-mode-map): Use them.
8444
8445 2013-12-11 Martin Rudalics <rudalics@gmx.at>
8446
8447 * window.el (display-buffer-in-side-window): Fix doc-string
8448 (Bug#16115).
8449
8450 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
8451
8452 * vc/vc-git.el: Silence byte-compiler warnings.
8453 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
8454 (log-edit-set-header): Declare.
8455
8456 2013-12-11 Eli Zaretskii <eliz@gnu.org>
8457
8458 * Makefile.in (custom-deps, finder-data): Run output file names
8459 through unmsys--file-name. (Bug#16099)
8460
8461 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
8462
8463 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
8464 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
8465
8466 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
8467 instead of deleting the selection "by hand" (bug#16098).
8468 Rely on insert-for-yank to yank rectangles.
8469 (cua-highlight-region-shift-only): Mark obsolete.
8470 (cua-mode): Don't enable/disable transient-mark-mode,
8471 shift-select-mode (cua-mode works both with and without them), and
8472 pc-selection-mode (obsolete).
8473 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
8474 (cua--deactivate-rectangle): Deactivate it.
8475
8476 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
8477 (delete-selection-helper): Make sure yank starts at the top of the
8478 deleted region.
8479 (minibuffer-keyboard-quit): Use region-active-p.
8480
8481 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
8482
8483 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
8484 to `delete' (bug#16109).
8485
8486 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8487
8488 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
8489 info manual and show keybindings and set `:group' keyword.
8490
8491 2013-12-11 Juri Linkov <juri@jurta.org>
8492
8493 * delsel.el (delete-active-region): Let-bind `this-command'
8494 to prevent `kill-region' from changing its original value.
8495 (delete-selection-helper): Handle `overwrite-mode' for the type
8496 `kill' exactly the same way as for the type `t'.
8497 (insert-char, quoted-insert, reindent-then-newline-and-indent):
8498 Support more commands. (Bug#13312)
8499
8500 2013-12-11 Juri Linkov <juri@jurta.org>
8501
8502 * bindings.el: Map kp keys to non-kp keys systematically
8503 with basic modifiers control, meta and shift. (Bug#14397)
8504
8505 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
8506
8507 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
8508 "Close browser" menu items. Fix wrong function of "List
8509 bookmarks".
8510
8511 2013-12-11 Juri Linkov <juri@jurta.org>
8512
8513 * misearch.el (multi-isearch-buffers): Set the value of
8514 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
8515 arg of isearch-forward to t.
8516 (multi-isearch-buffers-regexp): Set the value of
8517 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
8518 arg of isearch-forward-regexp to t.
8519 (multi-isearch-files): Set the value of
8520 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
8521 arg of isearch-forward to t.
8522 (multi-isearch-files-regexp): Set the value of
8523 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
8524 arg of isearch-forward-regexp to t. (Bug#16035)
8525
8526 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
8527 arg of isearch-forward to t.
8528 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
8529 arg of isearch-forward-regexp to t.
8530 (dired-isearch-filter-filenames): Remove unnecessary check for
8531 `dired-isearch-filenames'.
8532
8533 * comint.el (comint-history-isearch-backward):
8534 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
8535 (comint-history-isearch-backward-regexp):
8536 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
8537
8538 2013-12-10 Eli Zaretskii <eliz@gnu.org>
8539
8540 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
8541 unmsys--file-name. (Bug#16099)
8542
8543 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
8544
8545 * emacs-lisp/package.el (package-keyword-button-action):
8546 Remove finder.el require dependency.
8547
8548 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
8549
8550 * emacs-lisp/package.el: Require finder.el.
8551 (describe-package-1): Add keyword buttons.
8552 (package-make-button): New convenience function.
8553 (package-keyword-button-action): Keyword button action using
8554 `finder-list-matches'.
8555
8556 2013-12-09 Eli Zaretskii <eliz@gnu.org>
8557
8558 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
8559 last commit.
8560
8561 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
8562
8563 * autorevert.el (auto-revert-notify-add-watch): Do not handle
8564 symlinked files.
8565
8566 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
8567
8568 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
8569 after the end of a percent literal.
8570
8571 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
8572
8573 * progmodes/ruby-mode.el (ruby-forward-string): Document.
8574 Handle caret-delimited strings (Bug#16079).
8575
8576 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
8577
8578 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
8579 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
8580 `ruby-parse-partial' (Bug#16078).
8581
8582 2013-12-09 Leo Liu <sdl.web@gmail.com>
8583
8584 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
8585
8586 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
8587
8588 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
8589 (js-switch-indent-offset): New option.
8590 (js--proper-indentation): Use it. And handle the case when
8591 "default" is actually a key in an object literal.
8592 (js--same-line): New function.
8593 (js--multi-line-declaration-indentation): Use it.
8594 (js--indent-in-array-comp, js--array-comp-indentation):
8595 New functions.
8596 (js--proper-indentation): Use them, to handle array comprehension
8597 continuations.
8598
8599 2013-12-08 Leo Liu <sdl.web@gmail.com>
8600
8601 * progmodes/flymake.el (flymake-highlight-line): Re-write.
8602 (flymake-make-overlay): Remove arg MOUSE-FACE.
8603 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
8604
8605 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
8606
8607 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
8608 New function.
8609 (redisplay-highlight-region-function): Use it.
8610
8611 * emulation/cua-base.el (cua--explicit-region-start)
8612 (cua--last-region-shifted): Remove.
8613 (cua--deactivate): Use deactivate-mark.
8614 (cua--pre-command-handler-1): Don't handle shift-selection.
8615 (cua--post-command-handler-1): Don't change transient-mark-mode.
8616 (cua--select-keymaps): Use region-active-p rather than
8617 cua--explicit-region-start or cua--last-region-shifted.
8618 (cua-mode): Enable shift-select-mode.
8619
8620 2013-12-08 Leo Liu <sdl.web@gmail.com>
8621
8622 * progmodes/flymake.el (flymake-popup-current-error-menu):
8623 Rename from flymake-display-err-menu-for-current-line. Reimplement.
8624 (flymake-posn-at-point-as-event, flymake-popup-menu)
8625 (flymake-make-emacs-menu): Remove. (Bug#16077)
8626
8627 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
8628
8629 * rect.el (rectangle-mark-mode): Activate mark even if
8630 transient-mark-mode is off (bug#16066).
8631 (rectangle--highlight-for-redisplay): Fix boundary condition when point
8632 is > mark and at bolp.
8633
8634 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
8635 (region-extract-function): Use it.
8636 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
8637 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
8638 Delete functions.
8639 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
8640 kill-ring-save, kill-region, delete-char, delete-forward-char.
8641 Ignore self-insert-iso.
8642
8643 * emulation/cua-gmrk.el (cua--init-global-mark):
8644 Ignore `self-insert-iso'.
8645
8646 * emulation/cua-base.el (cua--prefix-copy-handler)
8647 (cua--prefix-cut-handler): Rely on region-extract-function rather than
8648 checking cua--rectangle.
8649 (cua-delete-region): Use region-extract-function.
8650 (cua-replace-region): Delete function.
8651 (cua-copy-region, cua-cut-region): Obey region-extract-function.
8652 (cua--pre-command-handler-1): Don't do the delete-selection thing.
8653 (cua--self-insert-char-p): Ignore `self-insert-iso'.
8654 (cua--init-keymaps): Don't remap delete-selection commands.
8655 (cua-mode): Use delete-selection-mode instead of rolling our own
8656 (bug#16085).
8657
8658 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
8659 Obey region-extract-function.
8660
8661 Make registers and delete-selection-mode work on rectangles.
8662 * register.el (describe-register-1): Don't modify the register's value.
8663 (copy-to-register): Obey region-extract-function.
8664 * delsel.el (delete-active-region): Obey region-extract-function.
8665
8666 2013-12-08 Leo Liu <sdl.web@gmail.com>
8667
8668 * progmodes/flymake.el (flymake, flymake-error-bitmap)
8669 (flymake-warning-bitmap, flymake-fringe-indicator-position)
8670 (flymake-compilation-prevents-syntax-check)
8671 (flymake-start-syntax-check-on-newline)
8672 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
8673 (flymake-start-syntax-check-on-find-file, flymake-log-level)
8674 (flymake-xml-program, flymake-master-file-dirs)
8675 (flymake-master-file-count-limit)
8676 (flymake-allowed-file-name-masks): Relocate.
8677 (flymake-makehash, flymake-float-time)
8678 (flymake-replace-regexp-in-string, flymake-split-string)
8679 (flymake-get-temp-dir): Remove.
8680 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
8681 (flymake-current-row, flymake-selected-frame)
8682 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
8683 related functions. (Bug#16077)
8684
8685 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
8686
8687 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
8688
8689 2013-12-07 Tassilo Horn <tsdh@gnu.org>
8690
8691 * help-fns.el (describe-function-1): Use new advice-* functions
8692 rather than old ad-* functions. Fix function type description and
8693 source links for advised functions and subrs.
8694
8695 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
8696
8697 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
8698
8699 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
8700
8701 * progmodes/compile.el (compilation-start):
8702 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
8703
8704 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
8705 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
8706
8707 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
8708
8709 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
8710 Touch up the last change.
8711
8712 2013-12-06 Leo Liu <sdl.web@gmail.com>
8713
8714 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
8715 (inferior-octave-startup): Always use "octave> " for prompt.
8716 (octave-goto-function-definition)
8717 (octave-sync-function-file-names)
8718 (octave-find-definition-default-filename): Remove redundant backquotes.
8719
8720 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
8721
8722 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
8723 syntax for `?'.
8724 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
8725 where appropriate already.
8726 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
8727 end of method names (Bug#15874).
8728
8729 2013-12-06 Juri Linkov <juri@jurta.org>
8730
8731 * isearch.el (isearch--saved-overriding-local-map):
8732 New internal variable.
8733 (isearch-mode): Set it to the initial value of
8734 `overriding-terminal-local-map'.
8735 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
8736 with `isearch--saved-overriding-local-map'. (Bug#16035)
8737
8738 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
8739
8740 * progmodes/octave.el (inferior-octave-completion-table):
8741 Turn back into function, use `completion-table-with-cache'
8742 (Bug#11906). Update all references.
8743
8744 * minibuffer.el (completion-table-with-cache): New function.
8745
8746 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
8747
8748 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
8749
8750 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
8751
8752 * net/eww.el (eww-current-source): New variable to store page
8753 source.
8754 (eww-display-html, eww-mode, eww-save-history)
8755 (eww-restore-history): Use it.
8756 (eww-view-source): New command to view page source.
8757 Opportunistically uses `html-mode' to highlight the buffer.
8758 (eww-mode-map): Install it.
8759
8760 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
8761
8762 * net/dbus.el (dbus-unregister-service)
8763 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
8764 Fix docstring.
8765 (dbus-unregister-service): Skip :serial entries in
8766 `dbus-registered-objects-table'.
8767 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
8768
8769 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
8770
8771 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
8772 around keywords with extra `split-string' argument.
8773
8774 2013-12-04 Martin Rudalics <rudalics@gmx.at>
8775
8776 * windmove.el (windmove-other-window-loc): Handle navigation
8777 between windows (excluding the minibuffer window - Bug#16017).
8778
8779 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
8780
8781 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
8782 in D-Bus type syntax.
8783 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
8784 preserve unibyte strings. (Bug#16048)
8785
8786 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
8787
8788 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
8789 Call force-mode-line-update is the proper buffer (bug#16042).
8790
8791 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
8792
8793 * vc/log-edit.el (log-edit-add-new-comment): Rename to
8794 `log-edit-remember-comment', make argument optional. Adjust all
8795 callers.
8796 (log-edit-mode): Add `log-edit-remember-comment' to
8797 `kill-buffer-hook' locally.
8798 (log-edit-kill-buffer): Don't remember comment explicitly since
8799 the buffer is killed anyway.
8800
8801 2013-12-04 Juri Linkov <juri@jurta.org>
8802
8803 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
8804 add-hook and remove-hook for multi-buffer search. (Bug#16035)
8805
8806 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
8807
8808 * notifications.el (notifications-close-notification): Call the
8809 D-Bus method with ID being a `:uint32'. (Bug#16030)
8810
8811 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
8812
8813 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
8814
8815 2013-12-03 Juri Linkov <juri@jurta.org>
8816
8817 * progmodes/compile.el (compilation-start): Rename window alist
8818 entry `no-display-ok' to `allow-no-window'.
8819
8820 * simple.el (shell-command): Add window alist entry
8821 `allow-no-window' to `display-buffer'.
8822 (async-shell-command): Doc fix.
8823
8824 * window.el (display-buffer-no-window): New action function.
8825 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
8826
8827 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
8828
8829 * vc/log-edit.el (log-edit-set-header): Extract from
8830 `log-edit-toggle-header'.
8831 (log-edit-extract-headers): Separate the summary, when extracted
8832 from header, from the rest of the message with an empty line.
8833
8834 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
8835 line, if present, to the Summary header.
8836
8837 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
8838
8839 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
8840 in current-buffer (bug#16029).
8841
8842 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
8843
8844 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
8845 (debugger-mode-map): Bind it.
8846 (debugger--backtrace-base): New function.
8847 (debugger-eval-expression): Use it.
8848 (debugger-frame-number): Skip local vars when present.
8849 (debugger--locals-visible-p, debugger--insert-locals)
8850 (debugger--show-locals, debugger--hide-locals): New functions.
8851
8852 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
8853
8854 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
8855 "LC_ALL".
8856 (tramp-get-remote-locale): New defun.
8857 (tramp-open-connection-setup-interactive-shell): Use it.
8858
8859 2013-12-02 Leo Liu <sdl.web@gmail.com>
8860
8861 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
8862
8863 * progmodes/sh-script.el (sh-shell-process):
8864 * progmodes/octave.el (inferior-octave-process-live-p):
8865 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
8866 (gdb-inferior-io-sentinel):
8867 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
8868
8869 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
8870
8871 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
8872 `save-selected-window' to `log-edit-hide-buf'. This makes
8873 `log-edit-show-files' idempotent.
8874 (log-edit-show-files): Mark the new window as dedicated.
8875
8876 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
8877
8878 * vc/log-edit.el (log-edit-mode-map): Add binding for
8879 `log-edit-kill-biffer'.
8880 (log-edit-hide-buf): Add a FIXME comment.
8881 (log-edit-add-new-comment): New function, extracted from
8882 `log-edit-done'.
8883 (log-edit-done, log-edit-add-to-changelog): Use it.
8884 (log-edit-kill-buffer): New command.
8885
8886 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
8887
8888 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
8889 instead of killing the buffer.
8890
8891 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
8892
8893 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
8894
8895 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8896
8897 * net/eww.el (eww-form-checkbox-selected-symbol)
8898 (eww-form-checkbox-symbol): New customizable variable.
8899 (eww-form-checkbox, eww-toggle-checkbox):
8900 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
8901
8902 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
8903 (shr--get-media-pref, shr--extract-best-source): New function.
8904 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
8905 no :src tag was specified.
8906
8907 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
8908 (eww-render): Handle `eww-use-external-browser-for-content-type'.
8909 Use \\` to match beginning of string instead of ^.
8910 (eww-browse-with-external-browser): Provide optional URL parameter.
8911 (eww-render): Set `eww-current-title' back to "".
8912
8913 * net/shr.el (shr-tag-video): Display content for video if no
8914 poster is available.
8915 (shr-tag-audio): Add support for <audio> tag.
8916
8917 * net/eww.el (eww-text-input-types): New const.
8918 (eww-process-text-input): Treat input types in
8919 `eww-text-input-types' as text.
8920
8921 * net/shr.el (shr-tag-table): Fix comment typo.
8922
8923 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
8924
8925 * net/eww.el (eww-follow-link): New command to avoid reloading
8926 pages when we follow #target links (bug#15243).
8927 (eww-quit): Special mode buffers shouldn't query before exiting.
8928
8929 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
8930
8931 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
8932 forms.
8933
8934 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
8935
8936 * net/eww.el (eww-restore-history): Update the window title after
8937 moving in the history.
8938 (eww-current-dom): New variable used to save the current DOM.
8939
8940 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
8941
8942 * vc/log-edit.el (log-edit-mode-map): Add binding for
8943 `log-edit-beginning-of-line'.
8944 (log-edit-setup-add-author): New user option.
8945 (log-edit-beginning-of-line): New command.
8946 (log-edit): Move major mode call above the contents setup so that
8947 the local variable values are already applied.
8948 (log-edit): Only insert "Author: " when
8949 `log-edit-setup-add-author' is non-nil.
8950 (log-edit): When SETUP is non-nil, position point after ": "
8951 instead of point-min.
8952
8953 2013-12-01 Glenn Morris <rgm@gnu.org>
8954
8955 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
8956
8957 2013-11-30 Eli Zaretskii <eliz@gnu.org>
8958
8959 * startup.el (fancy-splash-frame): On MS-Windows, trigger
8960 redisplay to make sure the initial frame gets a chance to become
8961 visible. (Bug#16014)
8962
8963 2013-11-30 Martin Rudalics <rudalics@gmx.at>
8964
8965 Support resizing frames and windows pixelwise.
8966 * cus-start.el (frame-resize-pixelwise)
8967 (window-resize-pixelwise): New entries.
8968 * emacs-lisp/debug.el (debug): Use window-total-height instead
8969 of window-total-size.
8970 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
8971 * help.el (describe-bindings-internal): Use help-buffer as
8972 argument for with-help-window.
8973 (temp-buffer-max-width): New option.
8974 (resize-temp-buffer-window, help-window-setup)
8975 (with-help-window): Rewrite.
8976 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
8977 dragging dividers.
8978 * window.el (frame-char-size, window-min-pixel-height)
8979 (window-safe-min-pixel-height, window-safe-min-pixel-width)
8980 (window-min-pixel-width, window-safe-min-pixel-size)
8981 (window-combination-p, window-safe-min-size)
8982 (window-resizable-p, window--size-to-pixel)
8983 (window--pixel-to-size, window--resize-apply-p): New functions.
8984 (window-safe-min-height): Fix doc-string.
8985 (window-size, window-min-size, window--min-size-1)
8986 (window-sizable, window-sizable-p, window--min-delta-1)
8987 (window-min-delta, window--max-delta-1, window-max-delta)
8988 (window--resizable, window--resizable-p, window-resizable)
8989 (window-full-height-p, window-full-width-p, window-at-side-p)
8990 (window--in-direction-2, window-in-direction)
8991 (window--resize-reset-1, window--resize-mini-window)
8992 (window-resize, window-resize-no-error)
8993 (window--resize-child-windows-normal)
8994 (window--resize-child-windows, window--resize-siblings)
8995 (window--resize-this-window, window--resize-root-window)
8996 (window--resize-root-window-vertically)
8997 (adjust-window-trailing-edge, enlarge-window, shrink-window)
8998 (maximize-window, minimize-window, delete-window)
8999 (quit-restore-window, window-split-min-size, split-window)
9000 (balance-windows-2, balance-windows)
9001 (balance-windows-area-adjust, balance-windows-area)
9002 (window--state-get-1, window-state-get, window--state-put-1)
9003 (window--state-put-2, window-state-put)
9004 (display-buffer-record-window, window--display-buffer):
9005 Make functions handle pixelwise sizing of windows.
9006 (display-buffer--action-function-custom-type)
9007 (display-buffer-fallback-action):
9008 Add display-buffer-in-previous-window.
9009 (display-buffer-use-some-window): Resize window to height it had
9010 before.
9011 (fit-window-to-buffer-horizontally): New option.
9012 (fit-frame-to-buffer): Describe new values.
9013 (fit-frame-to-buffer-bottom-margin): Replace with
9014 fit-frame-to-buffer-margins.
9015 (window--sanitize-margin): New function.
9016 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
9017 using window-text-pixel-size.
9018
9019 2013-11-30 Glenn Morris <rgm@gnu.org>
9020
9021 * emacs-lisp/bytecomp.el (byte-compile-form):
9022 Make the `interactive-only' warning like the `obsolete' one.
9023 * comint.el (comint-run):
9024 * files.el (insert-file-literally, insert-file):
9025 * replace.el (replace-string, replace-regexp):
9026 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
9027 (goto-line, insert-buffer, next-line, previous-line):
9028 Tweak `interactive-only' spec.
9029
9030 Stop keeping (most) generated cedet grammar files in the repository.
9031 * Makefile.in (semantic): New.
9032 (compile-main): Depend on semantic.
9033
9034 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
9035
9036 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
9037 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
9038
9039 * uniquify.el (uniquify-buffer-name-style): Change default.
9040
9041 * loadup.el: Preload "uniquify".
9042
9043 * time.el (display-time-update): Update all mode lines (bug#15999).
9044
9045 * electric.el (electric-indent-mode): Enable by default.
9046 * loadup.el: Preload "electric".
9047
9048 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
9049
9050 * emacs-lisp/helpers.el (string-empty-p): New function.
9051 (string-blank-p): New function.
9052
9053 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
9054
9055 * imenu.el (imenu--index-alist): Add missing dot to the docstring
9056 (Bug#14029).
9057
9058 2013-11-29 Andreas Politz <politza@fh-trier.de>
9059 * imenu.el (imenu--subalist-p): Don't error on non-conses and
9060 allow non-lambda lists as functions.
9061 (imenu--in-alist): Don't recurse into non-subalists.
9062 (imenu): Don't pass function itself as an argument (Bug#14029).
9063
9064 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
9065
9066 * progmodes/python.el (python-mode-map): Remove binding for ":".
9067 (python-indent-electric-colon): Remove command.
9068 (python-indent-post-self-insert-function): Integrate the previous code
9069 of python-indent-electric-colon. Make it conditional on
9070 electric-indent-mode.
9071 (python-mode): Add ?: to electric-indent-chars.
9072 Move python-indent-post-self-insert-function to the end of
9073 post-self-insert-hook.
9074
9075 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
9076
9077 * doc-view.el (doc-view-goto-page): Update mode-line.
9078
9079 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
9080
9081 2013-11-27 Glenn Morris <rgm@gnu.org>
9082
9083 * international/charprop.el, international/uni-bidi.el:
9084 * international/uni-category.el, international/uni-combining.el:
9085 * international/uni-comment.el, international/uni-decimal.el:
9086 * international/uni-decomposition.el, international/uni-digit.el:
9087 * international/uni-lowercase.el, international/uni-mirrored.el:
9088 * international/uni-name.el, international/uni-numeric.el:
9089 * international/uni-old-name.el, international/uni-titlecase.el:
9090 * international/uni-uppercase.el:
9091 Remove generated files from VCS repository.
9092
9093 2013-11-27 Eli Zaretskii <eliz@gnu.org>
9094
9095 * filenotify.el (file-notify-add-watch): Don't special-case
9096 w32notify when computing the directory to watch.
9097
9098 2013-11-27 Glenn Morris <rgm@gnu.org>
9099
9100 Make bootstrap without generated uni-*.el files possible again.
9101 * loadup.el: Update command-line-args checking for unidata-gen.
9102 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
9103 * composite.el, international/characters.el:
9104 Handle unicode tables being undefined.
9105
9106 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
9107 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
9108 (compile-main): Depend on leim rule.
9109 (leim): New rule.
9110 * loadup.el: Move leim-list.el to leim/ subdirectory.
9111 * startup.el (normal-top-level): No more leim directory.
9112 * international/ja-dic-cnv.el (skkdic-convert):
9113 Disable version-control and autoloads in output files.
9114 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
9115 Disable version-control and autoloads in output files.
9116 * leim/quail: Move here from ../leim.
9117 * leim/quail/hangul.el (hangul-input-method-activate):
9118 Add autoload cookie.
9119 (generated-autoload-load-name): Set file-local value.
9120 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
9121 (generated-autoload-load-name): Set file-local value.
9122
9123 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
9124
9125 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
9126 (eww-add-bookmark): Ask confirmation when add to bookmarks.
9127 (eww-quit): Ask confirmation before quitting eww.
9128
9129 2013-11-26 Eli Zaretskii <eliz@gnu.org>
9130
9131 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
9132 reading output from Diff on MS-Windows and MS-DOS.
9133
9134 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
9135
9136 * emacs-lisp/helpers.el (string-reverse): New function.
9137
9138 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
9139
9140 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
9141 names on MS Windows, like "/[::1]:".
9142
9143 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
9144 SWITCHES.
9145
9146 2013-11-26 Glenn Morris <rgm@gnu.org>
9147
9148 * progmodes/python.el (python-indent-guess-indent-offset):
9149 Avoid corner-case error. (Bug#15975)
9150
9151 Preload leim-list.el. (Bug#4789)
9152 * loadup.el: Load leim-list.el when found.
9153 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
9154
9155 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
9156
9157 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
9158
9159 * emacs-lisp/helpers.el (string-join): New function.
9160
9161 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
9162
9163 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
9164 Mark as obsolete and replace it with a symbol property.
9165 (byte-compile-form): Use new 'interactive-only property.
9166 * comint.el, files.el, replace.el, simple.el:
9167 Apply new 'interactive-only properly.
9168
9169 2013-11-25 Martin Rudalics <rudalics@gmx.at>
9170
9171 * window.el (display-buffer-at-bottom): Make sure that
9172 split-window-sensibly creates the new window on bottom
9173 (Bug#15961).
9174
9175 2013-11-23 David Kastrup <dak@gnu.org>
9176
9177 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
9178 on the conflict markers when available.
9179 (smerge--get-marker): New function.
9180 (smerge-end-re, smerge-base-re): Add subgroup.
9181
9182 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
9183
9184 * frame.el (handle-focus-in, handle-focus-out): Add missing
9185 interactive spec.
9186
9187 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
9188
9189 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
9190 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
9191
9192 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
9193
9194 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
9195 (gomoku--last-pos): New var.
9196 (gomoku--intangible-chars): New const.
9197 (gomoku--intangible): New function.
9198 (gomoku-mode): Use it. Derive from special-mode.
9199 (gomoku-move-up): Adjust line count.
9200 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
9201 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
9202 Simplify accordingly.
9203
9204 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
9205 Remove blink-cursor code.
9206 (blink-cursor-timer-function, blink-cursor-suspend):
9207 Don't special-case GUIs.
9208 (blink-cursor-mode): Use focus-in/out-hook.
9209
9210 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
9211
9212 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
9213 work when annotation is invisible (Bug#13886).
9214
9215 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
9216
9217 * json.el (json-alist-p): Only return non-nil if the alist has
9218 simple keys (Bug#13518).
9219
9220 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
9221
9222 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
9223 when control-statement is the first statement in a buffer (Bug#15956).
9224
9225 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
9226
9227 * imenu.el (imenu-generic-skip-comments-and-strings):
9228 New option (Bug#15560).
9229 (imenu--generic-function): Use it.
9230
9231 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
9232
9233 * minibuffer.el (completion--in-region-1): Scroll the correct window.
9234 (Bug#13898)
9235
9236 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
9237
9238 * emacs-lisp/helpers.el: Add some string helpers.
9239 (string-trim-left): Removes leading whitespace.
9240 (string-trim-right): Removes trailing whitespace.
9241 (string-trim): Removes leading and trailing whitespace.
9242
9243 * subr.el (string-suffix-p): New function.
9244
9245 2013-11-23 Glenn Morris <rgm@gnu.org>
9246
9247 * progmodes/python.el (python-shell-send-file):
9248 Add option to delete file when done. (Bug#15647)
9249 (python-shell-send-string, python-shell-send-region): Use it.
9250
9251 2013-11-23 Ivan Shmakov <ivan@siamics.net>
9252
9253 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
9254 to set buffer-read-only to t, never to nil. (Bug#15938)
9255
9256 * textmodes/tex-mode.el (latex-noindent-environments):
9257 Add safe-local-variable property. (Bug#15936)
9258
9259 2013-11-23 Glenn Morris <rgm@gnu.org>
9260
9261 * textmodes/enriched.el (enriched-mode): Doc fix.
9262 * emacs-lisp/authors.el (authors-renamed-files-alist):
9263 Add enriched.doc -> enriched.txt.
9264
9265 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
9266
9267 2013-11-22 Leo Liu <sdl.web@gmail.com>
9268
9269 * progmodes/octave.el (inferior-octave-startup): Spit out error
9270 message.
9271
9272 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
9273
9274 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
9275 Improve docstring.
9276 Add :version.
9277 (ruby-encoding-magic-comment-style): Add :version.
9278
9279 2013-11-22 Leo Liu <sdl.web@gmail.com>
9280
9281 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
9282 (Bug#15076)
9283 (octave-help-mode): Adapt to change to help-mode-finish to use
9284 derived-mode-p on 2013-09-17.
9285 (inferior-octave-prompt): Also match octave-gui.
9286 (octave-kill-process): Don't ask twice. (Bug#10564)
9287
9288 2013-11-22 Leo Liu <sdl.web@gmail.com>
9289
9290 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
9291 (inferior-octave-startup, inferior-octave-check-process)
9292 (inferior-octave-track-window-width-change)
9293 (octave-completion-at-point, octave-eldoc-function): Use it.
9294 (octave-kill-process): Provide confirmation. (Bug#10564)
9295
9296 2013-11-21 Leo Liu <sdl.web@gmail.com>
9297
9298 * progmodes/octave.el (octave-mode, inferior-octave-mode):
9299 Fix obsolete variable comment-use-global-state.
9300
9301 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9302
9303 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
9304 Add `octave-source-file'.
9305 (octave-source-file): New function. (Bug#15935)
9306
9307 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
9308
9309 * net/eww.el (eww-local-regex): New variable.
9310 (eww): Use it to detect localhost and similar.
9311
9312 2013-11-21 Leo Liu <sdl.web@gmail.com>
9313
9314 Add completion for command `ag'.
9315 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
9316 (pcomplete/ag): New function.
9317 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
9318
9319 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
9320
9321 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
9322 (bug#14646).
9323 (make-obsolete): Remove interactive spec.
9324
9325 2013-11-21 Glenn Morris <rgm@gnu.org>
9326
9327 * startup.el (command-line-1): Use path-separator with -L.
9328
9329 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
9330
9331 * emacs-lisp/package.el (describe-package-1): Add package archive
9332 to shown fields.
9333
9334 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
9335
9336 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
9337 Change default to "# encoding: %s" to differentiate it from the
9338 default Ruby encoding comment template.
9339
9340 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
9341
9342 * ses.el (ses-mode): Doc fix. (Bug#14748)
9343
9344 2013-11-20 Leo Liu <sdl.web@gmail.com>
9345
9346 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
9347
9348 2013-11-19 Dan Nicolaescu <dann@gnu.org>
9349
9350 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
9351 when rebase or bisect are in progress.
9352
9353 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
9354
9355 * filenotify.el (file-notify-add-watch): Doc fix.
9356
9357 2013-11-19 Leo Liu <sdl.web@gmail.com>
9358
9359 * obsolete/rcompile.el: Mark obsolete.
9360
9361 * progmodes/compile.el (compilation-start)
9362 (compilation-goto-locus, compilation-find-file):
9363 Pass no-display-ok and handle nil value from display-buffer.
9364 (Bug#13594)
9365
9366 * window.el (display-buffer-alist, display-buffer): Document the
9367 new parameter no-display-ok. Return either a window or nil
9368 but never a non-window value.
9369
9370 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
9371
9372 * electric.el (electric-indent-mode-map): Remove.
9373 (electric-indent-mode): Change the global-map instead (bug#15915).
9374
9375 * textmodes/text-mode.el (paragraph-indent-minor-mode):
9376 Use add-function.
9377
9378 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
9379
9380 * emacs-lisp/nadvice.el (remove-function): Align with
9381 add-function's behavior.
9382
9383 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
9384 (gdb--string-regexp): New constant.
9385 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
9386 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
9387 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
9388 submatch 1.
9389 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
9390 Adjust use accordingly.
9391 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
9392
9393 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
9394
9395 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
9396 interpolation curlies (Bug#15914).
9397
9398 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
9399
9400 * calc/calc.el (calc-context-sensitive-enter): New variable.
9401 (calc-enter): Use `calc-context-sensitive-enter'.
9402
9403 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
9404
9405 * progmodes/cfengine.el: Version bump.
9406 (cfengine-cf-promises): New defcustom to locate cf-promises.
9407 (cfengine3-vartypes): Add new "data" type.
9408 (cfengine3--current-word): New function to get current name-like
9409 word or its bounds.
9410 (cfengine3--current-function): New function to look up a CFEngine
9411 function's definition.
9412 (cfengine3-format-function-docstring): New function.
9413 (cfengine3-make-syntax-cache): New function.
9414 (cfengine3-documentation-function): New function: ElDoc glue.
9415 (cfengine3-completion-function): New function: completion glue.
9416 (cfengine3-mode): Set `compile-command',
9417 `eldoc-documentation-function', and add to
9418 `completion-at-point-functions'.
9419
9420 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
9421
9422 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
9423 `tramp-current-connection'.
9424
9425 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
9426
9427 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
9428 nil/self/true/false with "end of symbol".
9429
9430 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
9431
9432 * subr.el (version-regexp-alist): Fix a typo.
9433
9434 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
9435
9436 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
9437 "en_US.utf8" and "LC_CTYPE" to "".
9438 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
9439 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
9440
9441 2013-11-15 Leo Liu <sdl.web@gmail.com>
9442
9443 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
9444
9445 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
9446
9447 * progmodes/gud.el (ctl-x-map):
9448 Remove C-x SPC binding. (Bug#12342)
9449 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
9450
9451 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
9452
9453 * subr.el (version-regexp-alist):
9454 Recognize hg, svn and darcs versions as snapshot versions.
9455
9456 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
9457 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
9458 (ruby--encoding-comment-required-p): Extract from
9459 `ruby-mode-set-encoding'.
9460 (ruby-mode-set-encoding): Add the ability to always insert an
9461 utf-8 encoding comment. Fix and simplify coding comment update
9462 logic.
9463
9464 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
9465
9466 * net/tramp-gvfs.el (top): Run init code only when
9467 `tramp-gvfs-enabled' is not nil.
9468 (tramp-gvfs-enabled): Check also :system bus.
9469
9470 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
9471
9472 Sync with upstream verilog-mode revision 78e66ba.
9473 * progmodes/verilog-mode.el (verilog-end-of-defun)
9474 (verilog-type-completion, verilog-get-list): Remove unused funcs.
9475 (verilog-get-end-of-defun): Remove unused argument.
9476 (verilog-comment-depth): Remove unused local `e'.
9477 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
9478 Don't pass arg to verilog-get-end-of-defun.
9479
9480 2013-11-14 Glenn Morris <rgm@gnu.org>
9481
9482 * obsolete/assoc.el (aget): Prefix dynamic variable.
9483
9484 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
9485
9486 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
9487
9488 * widget.el, hfy-cmap.el: Remove bogus package version number.
9489
9490 2013-11-13 Glenn Morris <rgm@gnu.org>
9491
9492 * replace.el (replace-eval-replacement):
9493 Try to give more helpful error message. (Bug#15836)
9494
9495 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
9496 (archive-7z-update): Avoid custom type mismatches.
9497
9498 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
9499
9500 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
9501
9502 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
9503 address can be empty.
9504
9505 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
9506 Accept nil SWITCHES.
9507 (tramp-gvfs-handle-write-region): Implement APPEND.
9508
9509 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
9510
9511 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
9512 binary "|" operator and closing block args delimiter.
9513 Remove FIXME comment referring to Ruby 1.8-only syntax.
9514 (ruby-smie--implicit-semi-p): Not after "|" operator.
9515 (ruby-smie--closing-pipe-p): New function.
9516 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
9517 (ruby-smie-rules): Indent after "|".
9518
9519 2013-11-12 Glenn Morris <rgm@gnu.org>
9520
9521 * ps-print.el (ps-face-attribute-list):
9522 Handle anonymous faces. (Bug#15827)
9523
9524 2013-11-12 Martin Rudalics <rudalics@gmx.at>
9525
9526 * window.el (display-buffer-other-frame): Fix doc-string.
9527 (Bug#15868)
9528
9529 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
9530
9531 * subr.el (force-mode-line-update): Delete, move to buffer.c.
9532
9533 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
9534
9535 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
9536 (tramp-sh-handle-file-local-copy): Don't write a message when
9537 saving temporary files.
9538
9539 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
9540 both directories are remote.
9541 (tramp-smb-handle-directory-files): Do not return double entries.
9542 Do not expand full file names.
9543 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
9544 (tramp-smb-handle-write-region): Implement APPEND.
9545 (tramp-smb-get-stat-capability): Fix a stupid bug.
9546
9547 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
9548
9549 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
9550
9551 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
9552
9553 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
9554 throwing error over malformed let/let* (bug#15814).
9555
9556 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
9557
9558 * iswitchb.el (iswitchb-mode): Mark obsolete.
9559
9560 2013-11-11 Glenn Morris <rgm@gnu.org>
9561
9562 * international/uni-bidi.el, international/uni-category.el:
9563 * international/uni-name.el, international/uni-numeric.el:
9564 Regenerate for Unicode 6.3.0.
9565
9566 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
9567
9568 * net/tramp.el (tramp-methods):
9569 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
9570 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
9571
9572 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
9573
9574 * progmodes/sh-script.el (sh-font-lock-keywords-var):
9575 Force highlighting text after Summary keyword in doc face for rpm.
9576
9577 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
9578
9579 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
9580 available and the word has no wildcards, append one to the grep pattern.
9581 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
9582 (ispell-complete-word): Call `ispell-lookup-words' with the value
9583 independent of `ispell-look-p'.
9584
9585 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
9586
9587 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
9588 Not after "||".
9589 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
9590 their parent.
9591
9592 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
9593
9594 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
9595 (ruby-font-lock-keywords): Use backquote.
9596
9597 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
9598
9599 * progmodes/ruby-mode.el (ruby-smie--forward-token)
9600 (ruby-smie--backward-token): Only consider full-string matches.
9601
9602 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
9603
9604 * faces.el (describe-face): Add distant-foreground.
9605
9606 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
9607
9608 * progmodes/ruby-mode.el: Improve encoding comment handling.
9609 (ruby-encoding-magic-comment-style): New option.
9610 (ruby-custom-encoding-magic-comment-template): New option.
9611 (ruby--insert-coding-comment, ruby--detect-encoding):
9612 New functions extracted from `ruby-mode-set-encoding'.
9613 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
9614 to control the style of the auto-inserted encoding comment.
9615
9616 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
9617
9618 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
9619 Use `smie-backward-sexp' with token argument.
9620
9621 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
9622
9623 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
9624 Remove instrumentation code.
9625
9626 2013-11-08 Glenn Morris <rgm@gnu.org>
9627
9628 * progmodes/autoconf.el (autoconf-mode):
9629 Tweak comment-start-skip. (Bug#15822)
9630
9631 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
9632
9633 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
9634 at bobp (bug#15826).
9635 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
9636
9637 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
9638
9639 * man.el (Man-start-calling): New macro, extracted from
9640 Man-getpage-in-background.
9641 (Man-getpage-in-background): Use it.
9642 (Man-update-manpage): New command.
9643 (Man-mode-map): Bind it.
9644
9645 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
9646
9647 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
9648 of "and", "or", "&&" and "||".
9649 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
9650 argument. Prohibit opening curly brace because it could only be a
9651 block opener in that position.
9652 (ruby-smie--forward-token, ruby-smie--backward-token):
9653 Separate "|" from "&" or "*" going after it. That can happen in block
9654 arguments.
9655 (ruby-smie--indent-to-stmt): New function, seeks the end of
9656 previous statement or beginning of buffer.
9657 (ruby-smie-rules): Use it.
9658 (ruby-smie-rules): Check if there's a ":" before a curly block
9659 opener candidate; if there is, it's a hash.
9660
9661 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
9662
9663 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
9664 (cl--block-wrapper): Fix last accidental change.
9665
9666 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
9667
9668 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
9669 Instrument, in order to hunt failure on hydra.
9670
9671 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
9672
9673 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
9674 malformed bindings form (bug#15814).
9675
9676 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
9677
9678 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
9679 "." compared to " @ ". This incidentally fixes some indentation
9680 examples with "do".
9681 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
9682 (ruby-smie-grammar): New tokens: "and" and "or".
9683 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
9684 Exclude "and" and "or". Remove "do" in order to work around token
9685 priorities.
9686 (ruby-smie-rules): Add all infix tokens. Handle the case of
9687 beginning-of-buffer.
9688
9689 2013-11-06 Glenn Morris <rgm@gnu.org>
9690
9691 * Makefile.in (setwins_almost, setwins_for_subdirs):
9692 Avoid accidental matches.
9693
9694 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
9695
9696 * menu-bar.el (popup-menu): Use key-binding.
9697
9698 2013-11-06 Eli Zaretskii <eliz@gnu.org>
9699
9700 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
9701 menus, support also the menus produced by minor modes.
9702 (Bug#15817)
9703
9704 2013-11-06 Leo Liu <sdl.web@gmail.com>
9705
9706 * thingatpt.el (thing-at-point-looking-at): Add optional arg
9707 DISTANCE to bound the search. All uses changed. (Bug#15808)
9708
9709 2013-11-06 Glenn Morris <rgm@gnu.org>
9710
9711 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
9712 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
9713 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
9714
9715 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
9716
9717 * electric.el (electric-indent-just-newline): New command.
9718 (electric-indent-mode-map): New keymap.
9719 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
9720 Re-add :group which weren't redundant.
9721
9722 * electric.el (electric-indent-local-mode): New minor mode.
9723 (electric-indent-functions-without-reindent): New var.
9724 (electric-indent-post-self-insert-function): Use it.
9725 * emacs-lisp/gv.el (buffer-local-value): Add setter.
9726
9727 2013-11-05 Eli Zaretskii <eliz@gnu.org>
9728
9729 * international/quail.el (quail-help): Be more explicit about the
9730 meaning of the labels shown on the keys. (Bug#15800)
9731
9732 * startup.el (normal-top-level): Load the subdirs.el files before
9733 setting the locale environment. (Bug#15805)
9734
9735 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
9736
9737 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
9738 via arguments so as to get the right ones (bug#15418).
9739
9740 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
9741
9742 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
9743
9744 Fix problems found while writing a test suite.
9745
9746 * net/tramp-compat.el (tramp-compat-load): New defun.
9747 * net/tramp.el (tramp-handle-load): Use it.
9748
9749 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
9750 "(numberp ok-if-already-exists)" correctly.
9751
9752 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
9753
9754 * international/characters.el (glyphless-char-display-control):
9755 Add usage note.
9756
9757 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
9758
9759 * progmodes/python.el (python-mode):
9760 * progmodes/scheme.el (scheme-mode):
9761 * progmodes/prolog.el (prolog-mode):
9762 * progmodes/ruby-mode.el (ruby-mode):
9763 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
9764 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
9765
9766 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
9767
9768 * rect.el (rectangle--highlight-for-redisplay):
9769 * emacs-lisp/smie.el (smie--next-indent-change):
9770 Use buffer-chars-modified-tick.
9771
9772 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
9773
9774 * electric.el (electric-indent-post-self-insert-function):
9775 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
9776
9777 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
9778
9779 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
9780
9781 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
9782
9783 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
9784 (bug#15786).
9785
9786 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
9787
9788 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
9789
9790 * progmodes/python.el: Fix up last change.
9791 (python-shell--save-temp-file): New function.
9792 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
9793 `string' comes from the current buffer.
9794 (python-shell-send-string-no-output): Remove `msg' arg.
9795 (python--use-fake-loc): New var.
9796 (python-shell-buffer-substring): Obey it. Try to compensate for the
9797 extra coding line added by python-shell--save-temp-file.
9798 (python-shell-send-region): Use python-shell--save-temp-file and
9799 python-shell-send-file directly. Add `nomain' argument.
9800 (python-shell-send-buffer): Use python-shell-send-region.
9801 (python-electric-pair-string-delimiter): New function.
9802 (python-mode): Use it.
9803
9804 2013-11-04 Eli Zaretskii <eliz@gnu.org>
9805
9806 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
9807 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
9808 environment and decoding all of the default-directory's to here
9809 from command-line.
9810 (command-line): Decode also argv[0].
9811
9812 * loadup.el: Error out if default-directory is a multibyte string
9813 when we are dumping.
9814
9815 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
9816
9817 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
9818
9819 * emacs-lisp/package.el (package-menu-mode)
9820 (package-menu--print-info, package-menu--archive-predicate):
9821 Add Archive column to package list.
9822
9823 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
9824
9825 Fix problems found while writing a test suite.
9826
9827 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
9828 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
9829 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
9830 to nil when running original file name handler. Otherwise,
9831 there are problems with constructs like "$$FOO".
9832
9833 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
9834 for `localname'.
9835
9836 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
9837
9838 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
9839
9840 * subr.el (version<, version<=, version=):
9841 Update docstrings with information for snapshot versions.
9842
9843 * helpers.el: New library for misc helper functions.
9844 (hash-table-keys): New function returning a list of hash keys.
9845 (hash-table-values): New function returning a list of hash values.
9846
9847 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
9848
9849 * progmodes/ruby-mode.el (ruby-smie--forward-token)
9850 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
9851
9852 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
9853
9854 * textmodes/fill.el (fill-single-char-nobreak-p): New function
9855 checking whether point is after a 1-letter word.
9856
9857 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
9858
9859 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
9860 Don't infloop when expanding region over `multiline' syntax-type that
9861 begins a line (bug#15778).
9862
9863 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
9864
9865 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
9866 Make it into a proper minor mode.
9867 (rectangle--region): (Implicitly) rename to rectangle-mark-mode.
9868 (rectangle-mark-mode-map): New keymap.
9869 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
9870
9871 2013-11-04 Glenn Morris <rgm@gnu.org>
9872
9873 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
9874
9875 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
9876
9877 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
9878 (ruby-smie-rules): Use smie-rule-parent instead.
9879
9880 * emacs-lisp/smie.el (smie-rule-parent): Always call
9881 smie-indent-virtual rather than only for hanging tokens.
9882 (smie--next-indent-change): New helper command.
9883
9884 2013-11-03 Glenn Morris <rgm@gnu.org>
9885
9886 * Makefile.in (abs_srcdir): Remove.
9887 (emacs): Unset EMACSLOADPATH.
9888
9889 2013-11-02 Glenn Morris <rgm@gnu.org>
9890
9891 * Makefile.in (EMACS): Use a relative filename.
9892 (abs_top_builddir): Remove.
9893 (custom-deps, finder-data, autoloads): Use --chdir.
9894
9895 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
9896
9897 Use relative filenames in TAGS files.
9898 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
9899 (lisptagsfiles4, TAGS): Use relative file names.
9900 (TAGS-LISP): Remove.
9901 (maintainer-clean): No more TAGS-LISP file.
9902
9903 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
9904 (lisptagsfiles4): Use absolute filenames again.
9905 (TAGS, TAGS-LISP): Not everything needs to run in one line.
9906 Remove all *loaddefs files, not just the first. Remove esh-groups.
9907 (maintainer-clean): Delete TAGS, TAGS-LISP.
9908
9909 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
9910
9911 * emacs-lisp/package.el (package-version-join):
9912 Recognize snapshot versions.
9913
9914 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
9915
9916 * subr.el (version-regexp-alist): Add support for snapshot versions.
9917
9918 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
9919
9920 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
9921 New function, replacement for `smie-rule-parent' for when we want to
9922 skip over our direct parent if it's an assignment token..
9923 (ruby-smie-rules): Use it.
9924
9925 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
9926
9927 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
9928 unconditionally. Remove now unnecessary forward declarations.
9929 Remove XEmacs-specific setup.
9930 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
9931 (ruby-font-lock-syntactic-keywords)
9932 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
9933 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
9934 (ruby-here-doc-end-syntax): Remove.
9935 (ruby-mode): Don't check whether `syntax-propertize-rules' is
9936 defined as function.
9937
9938 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
9939
9940 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
9941
9942 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
9943
9944 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
9945 table and abbrev table, `define-derived-mode' does that for us
9946 anyway.
9947
9948 2013-11-01 Glenn Morris <rgm@gnu.org>
9949
9950 * Makefile.in: Remove manual mh-e dependencies (writing .elc
9951 files is atomic for some time, so no parallel compilation issues).
9952
9953 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
9954
9955 * faces.el (face-x-resources): Add :distant-foreground.
9956 (region): Use :distant-foreground for gtk and ns.
9957
9958 2013-11-01 Tassilo Horn <tsdh@gnu.org>
9959
9960 Allow multiple bibliographies when BibLaTeX is used rather than
9961 BibTeX.
9962 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
9963 (reftex-locate-bibliography-files): Us it.
9964
9965 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
9966
9967 * image.el (image-type-header-regexps): Fix the 'pbm' part to
9968 allow comments in pbm files.
9969
9970 * term/w32-win.el (dynamic-library-alist): Support newer versions
9971 of libjpeg starting with v7: look only for the DLL from the
9972 version against which Emacs was built.
9973 Support versions of libpng beyond 1.4.x.
9974 Support libtiff v4.x.
9975
9976 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
9977
9978 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
9979 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
9980 Add property :safe.
9981 (ruby-deep-arglist): Add property :type.
9982
9983 2013-10-31 Glenn Morris <rgm@gnu.org>
9984
9985 * Makefile.in (custom-deps, finder-data): No need to setq the target
9986 variables, we are in the right directory and the defaults work fine.
9987
9988 2013-10-30 Glenn Morris <rgm@gnu.org>
9989
9990 * Makefile.in (autoloads): Do not use abs_lisp.
9991
9992 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
9993 `newline' does not respect `standard-output', so use `princ'.
9994
9995 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
9996
9997 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
9998 * buff-menu.el (Buffer-menu--unmark): New function.
9999 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
10000
10001 2013-10-30 Glenn Morris <rgm@gnu.org>
10002
10003 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
10004
10005 * emacs-lisp/package.el (lm-homepage): Declare.
10006
10007 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
10008 Fix doc typos.
10009
10010 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
10011
10012 * Makefile.in (finder-data, autoloads, update-subdirs)
10013 (compile-main, compile-clean, compile-always, bootstrap-clean):
10014 Check return value of cd.
10015 (compile-calc): Remove.
10016
10017 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
10018
10019 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
10020
10021 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
10022 (byte-compile-and-folded): New function.
10023 (=, <, >, <=, >=): Use it.
10024
10025 * dos-w32.el (minibuffer-history-case-insensitive-variables)
10026 (path-separator, null-device, buffer-file-coding-system)
10027 (lpr-headers-switches): Check system-type before modifying them.
10028 (find-buffer-file-type-coding-system): Mark obsolete.
10029 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
10030 find-file-not-found-set-buffer-file-coding-system.
10031 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
10032 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
10033 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
10034 (w32-direct-print-region-helper, w32-direct-print-region-function)
10035 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
10036 * startup.el (normal-top-level-add-subdirs-to-load-path):
10037 * ps-print.el (ps-print-region-function):
10038 * lpr.el (print-region-function): Use new name.
10039
10040 * subr.el (custom-declare-variable-early): Remove function.
10041 (custom-declare-variable-list): Remove var.
10042 (error, user-error): Remove `while' loop.
10043 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
10044 (user-emacs-directory-warning, locate-user-emacs-file):
10045 Move to files.el.
10046 * simple.el (read-quoted-char-radix, read-quoted-char):
10047 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
10048 Move from subr.el.
10049 * custom.el (custom-declare-variable-list): Don't process
10050 custom-declare-variable-list.
10051
10052 * progmodes/python.el (python-shell-get-buffer): New function.
10053 (python-shell-get-process): Use it.
10054 (python-shell-send-string): Always use utf-8 and add a cookie to tell
10055 Python which encoding was used. Don't split-string since we only care
10056 about the first line. Return the temp-file, if applicable.
10057 (python-shell-send-region): Tell compile.el how to turn locations in
10058 the temp-file into locations in the source buffer.
10059
10060 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
10061
10062 * subr.el (undefined): Add missing behavior from the C code for
10063 unbound keys.
10064
10065 * rect.el: Use lexical-binding. Add new rectangular region support.
10066 (rectangle-mark): New command.
10067 (rectangle--region): New var.
10068 (deactivate-mark-hook): Reset rectangle--region.
10069 (rectangle--extract-region, rectangle--insert-for-yank)
10070 (rectangle--highlight-for-redisplay)
10071 (rectangle--unhighlight-for-redisplay): New functions.
10072 (region-extract-function, redisplay-unhighlight-region-function)
10073 (redisplay-highlight-region-function): Use them to handle
10074 rectangular region.
10075 * simple.el (region-extract-function): New var.
10076 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
10077 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
10078 (kill-region): Replace obsolete `yank-handler' arg with `region'.
10079 (copy-region-as-kill, kill-ring-save): Add `region' argument.
10080 (redisplay-unhighlight-region-function)
10081 (redisplay-highlight-region-function): New vars.
10082 (redisplay--update-region-highlight): New function.
10083 (pre-redisplay-function): Use it.
10084 (exchange-point-and-mark): Don't deactivate the mark before
10085 reactivate-it anyway.
10086 * comint.el (comint-kill-region): Remove yank-handler argument.
10087 * delsel.el (delete-backward-char, backward-delete-char-untabify)
10088 (delete-char): Remove property, since it's now part of their
10089 default behavior.
10090 (self-insert-iso): Remove property since this command doesn't exist.
10091
10092 * emacs-lisp/package.el (package--download-one-archive)
10093 (describe-package-1): Don't query the user about final newline.
10094
10095 2013-10-29 Daniel Colascione <dancol@dancol.org>
10096
10097 * net/tramp.el (tramp-methods): Document new functionality.
10098 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
10099 tramp-hostname-checker if method provides one instead of scanning
10100 argument list for "%h" to decide hostname acceptability.
10101
10102 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
10103
10104 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
10105 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
10106 Handle COPY-CONTENTS. (Bug#15737)
10107
10108 2013-10-28 Daiki Ueno <ueno@gnu.org>
10109
10110 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
10111 Document that this option has no effect with GnuPG 2.0 (bug#15552).
10112
10113 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
10114
10115 * image.el (defimage, image-load-path): Doc fixes.
10116
10117 2013-10-27 Alan Mackenzie <acm@muc.de>
10118
10119 Indent statements in macros following "##" correctly.
10120 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
10121 Modify the "#" arm of a cond form to handle "#" and "##" operators.
10122
10123 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
10124
10125 * linum.el (linum-update-window): Fix boundary test (bug#13446).
10126
10127 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
10128
10129 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
10130 after `=' is probably a new expression.
10131
10132 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10133
10134 * man.el (man-imenu-title): New option.
10135 (Man-mode-map): Add menu. (Bug#15722)
10136 (Man-mode): Add imenu to menu.
10137
10138 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
10139
10140 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
10141 specific in what the first arg can be: a non-keyword word,
10142 string/regexp/percent literal opener, opening paren, or unary
10143 operator followed directly by word.
10144
10145 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
10146
10147 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
10148 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
10149 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
10150 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
10151 Remove vars, they do not apply any more.
10152 (prolog-mode-abbrev-table): Remove redundant declaration.
10153 (prolog-upper-case-string, prolog-lower-case-string): Remove.
10154 (prolog-use-smie): Remove.
10155 (prolog-smie-rules): Add indentation rule for the if-then-else layout
10156 supported by prolog-electric-if-then-else-flag.
10157 (prolog-mode-variables, prolog-menu): Use setq-local.
10158 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
10159 Remove binding to `Backspace' since this key doesn't exist anyway.
10160 Remove bindings for electric self-inserting keys.
10161 (prog-mode): Assume it's defined.
10162 (prolog-post-self-insert): New function.
10163 (prolog-mode): Use it.
10164 (prolog-indent-line, prolog-indent-level)
10165 (prolog-find-indent-of-matching-paren)
10166 (prolog-indentation-level-of-line, prolog-goto-comment-column)
10167 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
10168 (prolog-goto-next-paren, prolog-in-string-or-comment)
10169 (prolog-tokenize, prolog-inside-mline-comment)
10170 (prolog-find-start-of-mline-comment): Remove functions.
10171 (prolog-find-unmatched-paren, prolog-clause-end)
10172 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
10173 (prolog-electric--if-then-else): Rename from
10174 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
10175 (prolog-tokenize-searchkey): Remove const.
10176 (prolog-clause-info): Use forward-sexp.
10177 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
10178 (prolog-electric-if-then-else): Remove commands.
10179 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
10180 for use in post-self-insert-hook.
10181 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
10182 for use in post-self-insert-hook.
10183 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
10184 for use in post-self-insert-hook.
10185 (prolog-electric--underscore): Rename from prolog-electric--underscore;
10186 adapt it for use in post-self-insert-hook.
10187
10188 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
10189
10190 * emacs-lisp/ert.el (ert-run-tests-interactively):
10191 Use `completing-read'. (Bug#9756)
10192
10193 2013-10-25 Eli Zaretskii <eliz@gnu.org>
10194
10195 * simple.el (line-move): Call line-move-1 instead of
10196 line-move-visual when the current window hscroll is zero, but
10197 temporary-goal-column indicates we will need to hscroll as result
10198 of the movement. (Bug#15712)
10199
10200 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
10201
10202 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
10203 capitalization. Use :visible instead of :active.
10204 Fix `ruby-indent-exp' reference. Add menu items for the generic
10205 commands that are used with SMIE.
10206 (ruby-do-end-to-brace): Insert space after `{'.
10207
10208 2013-10-25 John Anthony <john@jo.hnanthony.com>
10209
10210 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
10211
10212 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
10213
10214 2013-10-25 Glenn Morris <rgm@gnu.org>
10215
10216 * vc/vc.el (vc-print-log): Don't use a working revision unless
10217 one was explicitly specified. (Bug#15322)
10218
10219 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
10220
10221 * subr.el (add-to-list): Preserve return value in compiler-macro
10222 (bug#15692).
10223
10224 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10225
10226 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
10227 result. Ask user to retry using '-all' flag. (Bug#15701)
10228
10229 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
10230
10231 * emacs-lisp/smie.el: New smie-config system.
10232 (smie-config): New defcustom.
10233 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
10234 (smie-config-guess, smie-config-save): New commands.
10235 (smie-config--mode-local, smie-config--buffer-local)
10236 (smie-config--trace, smie-config--modefuns): New vars.
10237 (smie-config--advice, smie-config--mode-hook)
10238 (smie-config--setter, smie-config-local, smie-config--get-trace)
10239 (smie-config--guess-value, smie-config--guess): New functions.
10240 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
10241 text properties. Treat "string fence" syntax like string syntax.
10242
10243 * progmodes/sh-script.el (sh-use-smie): Change default.
10244 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
10245 (sh-var-value): Simplify by CSE.
10246 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
10247 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
10248 is used.
10249 (sh-guess-basic-offset): Use cl-incf.
10250 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
10251
10252 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
10253
10254 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
10255 (bug#15699).
10256
10257 2013-10-24 Glenn Morris <rgm@gnu.org>
10258
10259 * Makefile.in (abs_top_srcdir): Remove.
10260 (update-subdirs): Use relative path to update-subdirs.
10261
10262 2013-10-24 Eli Zaretskii <eliz@gnu.org>
10263
10264 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
10265 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
10266 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
10267 Call unmsys--file-name before expand-file-name, not after it.
10268
10269 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
10270
10271 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
10272 (ert-test-skipped): New error.
10273 (ert-skip, ert-stats-skipped): New defuns.
10274 (ert--skip-unless): New macro.
10275 (ert-test-skipped): New struct.
10276 (ert--run-test-debugger, ert-test-result-type-p)
10277 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
10278 (ert--stats-set-test-and-result, ert-char-for-test-result)
10279 (ert-string-for-test-result, ert-run-tests-batch)
10280 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
10281 Handle skipped tests. (Bug#9803)
10282
10283 2013-10-24 Glenn Morris <rgm@gnu.org>
10284
10285 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
10286
10287 * Makefile.in (abs_top_srcdir): New, set by configure.
10288 (update-subdirs): Correct build-aux location.
10289
10290 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
10291
10292 * vc/vc.el (vc-print-root-log): Always set `default-directory'
10293 value, whether we could auto-deduce `backend', or not.
10294
10295 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
10296 with parameters" example. Simplify the "is it block or is it
10297 hash" check, but also make it more thorough.
10298
10299 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
10300
10301 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
10302
10303 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
10304
10305 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
10306 { if it is hanging.
10307
10308 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
10309 :before ";".
10310
10311 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
10312
10313 * progmodes/compile.el (compilation-directory-matcher)
10314 (compilation-page-delimiter):
10315 Support GNU Make-4.0 directory quoting. (Bug#15678)
10316
10317 2013-10-23 Leo Liu <sdl.web@gmail.com>
10318
10319 * ido.el (ido-tidy): Handle read-only text.
10320
10321 2013-10-23 Glenn Morris <rgm@gnu.org>
10322
10323 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
10324 (emacs, compile, compile-always):
10325 Quote entities that might contain whitespace.
10326 (custom-deps, finder-data, autoloads): Use abs_lisp.
10327 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
10328 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
10329 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
10330
10331 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
10332
10333 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
10334 Use `following-char'.
10335
10336 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
10337
10338 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
10339 * progmodes/ruby-mode.el (ruby-smie-rules):
10340 Remove corresponding workaround. Fix indentation rule of ";" so it
10341 also applies when ";" is the parent.
10342
10343 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
10344
10345 * frame.el (display-screens, display-pixel-height)
10346 (display-pixel-width, display-mm-width, display-backing-store)
10347 (display-save-under, display-planes, display-color-cells)
10348 (display-visual-class, display-monitor-attributes-list):
10349 Mention the optional ‘display’ argument in doc strings.
10350
10351 2013-10-22 Michael Gauland <mikelygee@amuri.net>
10352
10353 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
10354 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
10355
10356 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
10357
10358 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
10359 TODO. Add "." after " @ ".
10360 (ruby-smie--at-dot-call): New function. Checks if point at method
10361 call with explicit target.
10362 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
10363 to the method name tokens when it precedes them.
10364 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
10365 (ruby-smie-rules): Add rule for indentation before and after "."
10366 token.
10367
10368 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
10369
10370 * textmodes/remember.el (remember-diary-extract-entries):
10371 Avoid add-to-list.
10372
10373 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
10374 an instruction.
10375
10376 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
10377
10378 * progmodes/ruby-mode.el (ruby-smie-grammar):
10379 Add (almost) all infix operators.
10380 (ruby-smie--implicit-semi-p): Add new operator chars.
10381
10382 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
10383 `smie-down-list'.
10384 (ruby-smie--args-separator-p): Check that there's no newline
10385 between method call and its arguments.
10386
10387 2013-10-20 Alan Mackenzie <acm@muc.de>
10388
10389 Allow comma separated lists after Java "implements".
10390
10391 * progmodes/cc-engine.el (c-backward-over-enum-header):
10392 Parse commas.
10393 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
10394 from a "disallowed" list in enum fontification.
10395
10396 2013-10-20 Johan Bockgård <bojohan@gnu.org>
10397
10398 * startup.el (default-frame-background-mode): Remove unused defvar.
10399
10400 * progmodes/verilog-mode.el (verilog-mode): Don't set
10401 comment-indent-function globally.
10402
10403 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
10404
10405 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
10406 Move Info menu item creation to ns-win.el.
10407
10408 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
10409 in menu bar.
10410
10411 * menu-bar.el: Move GNUstep specific menus...
10412
10413 * term/ns-win.el (ns-initialize-window-system): ... to here.
10414
10415 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
10416
10417 * simple.el (newline): Only run post-self-insert-hook when
10418 called interactively.
10419
10420 2013-10-19 Johan Bockgård <bojohan@gnu.org>
10421
10422 * icomplete.el (icomplete-with-completion-tables): Add :version.
10423
10424 2013-10-19 Alan Mackenzie <acm@muc.de>
10425
10426 Fix fontification bugs with constructors and const.
10427
10428 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
10429 CASE 2) Remove the check for the absence of a suffix construct
10430 after a function declaration with only types (no identifiers) in
10431 the parentheses. Also, accept a function declaration with just a
10432 type inside the parentheses, if this type can be positively
10433 recognised as such, or if a prefix keyword like "explicit" nails
10434 down the construct as a declaration.
10435
10436 2013-10-19 Eli Zaretskii <eliz@gnu.org>
10437
10438 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
10439 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
10440 the problem whereby selecting a menu item that leads to a
10441 minibuffer prompt moves the cursor out of the minibuffer window,
10442 making it hard to type at the prompt. Suggested by Stefan Monnier
10443 <monnier@iro.umontreal.ca>.
10444
10445 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
10446
10447 * menu-bar.el: Don't make Services menu.
10448
10449 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10450
10451 * ffap.el: Handle "/usr/include/c++/<version>" directories.
10452 (ffap-alist): Use ffap-c++-mode for c++-mode.
10453 (ffap-c++-path): New variable.
10454 (ffap-c++-mode): New function.
10455
10456 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
10457
10458 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
10459
10460 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
10461
10462 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
10463 introduced on 2013-09-08, which results in an infinite loop
10464 requesting a password.
10465
10466 2013-10-18 Glenn Morris <rgm@gnu.org>
10467
10468 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
10469
10470 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
10471
10472 Sync with upstream verilog-mode revision 1a6ecec7.
10473 * progmodes/verilog-mode.el (verilog-mode-version): Update.
10474 (verilog-mode-release-date): Remove.
10475 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
10476 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
10477 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
10478 (verilog-auto-tieoff-ignore-regexp)
10479 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
10480 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
10481 (verilog-signals-with, verilog-dir-cache-preserving)
10482 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
10483 Doc fixes.
10484 (verilog-case-fold): New option, to control case folding in
10485 regexp searches, bug597.
10486 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
10487 (verilog-string-match-fold, verilog-in-paren-count)
10488 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
10489 (verilog-at-close-struct-p): New functions.
10490 (verilog-beg-block-re-ordered, verilog-extended-case-re)
10491 (verilog-forward-sexp, verilog-set-auto-endcomments)
10492 (verilog-leap-to-case-head): Handle "unique0" case.
10493 (verilog-in-constraint-re): New constant.
10494 (verilog-keywords, verilog-type-font-keywords):
10495 Add some SystemVerilog 1800-2012 keywords.
10496 (verilog-label-be): Remove unimplemented argument, bug669.
10497 (verilog-batch-execute-func): When batch expanding clear
10498 create-lockfiles to prevent spurious user locks when a file ends
10499 up not changing.
10500 (verilog-calculate-indent, verilog-calc-1)
10501 (verilog-at-close-constraint-p, verilog-at-constraint-p)
10502 (verilog-do-indent): Fix indentation of nested constraints
10503 and structures.
10504 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
10505 (verilog-auto-inst-param): Use verilog-string-match-fold.
10506 (verilog-read-inst-module-matcher):
10507 Fix AUTOINST on gate primitives with #1.
10508 (verilog-read-decls): Fix double-declaring user-defined typed signals.
10509 Reads all user-defined typed variables.
10510 (verilog-read-defines): Fix reading definitions inside comments, bug647.
10511 (verilog-signals-matching-regexp)
10512 (verilog-signals-not-matching-regexp, verilog-auto):
10513 Respect verilog-case-fold.
10514 (verilog-diff-report): Fix line count.
10515 (verilog-auto-assign-modport): Remove unused local `modi'.
10516 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
10517 better handle multidimensional arrays.
10518 Fix packed array ports misadding bit index in AUTOINST, bug637.
10519 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
10520 to not double-declare existing outputs and inputs, respectively.
10521 (verilog-template-map): Bind U to verilog-sk-uvm-component.
10522 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
10523 (verilog-sk-uvm-component): New skeleton.
10524 (verilog-submit-bug-report): Add verilog-case-fold,
10525 remove verilog-mode-release-date.
10526
10527 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
10528
10529 * subr.el (sit-for): Call (input-pending-p t) so as to behave
10530 as before.
10531
10532 2013-10-18 Reuben Thomas <rrt@sc3d.org>
10533
10534 * textmodes/remember.el (remember): Set buffer-offer-save in
10535 remember buffers (bug#13566).
10536
10537 2013-10-18 Daniel Colascione <dancol@dancol.org>
10538
10539 When evaluating forms in ielm, direct standard output to ielm
10540 buffer. Add new ielm-return-for-effect command. Remove trailing
10541 whitespace throughout.
10542
10543 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
10544 (ielm-return-for-effect): New command.
10545 (ielm-send-input): Accept optional `for-effect' parameter.
10546 (ielm-eval-input): Accept optional `for-effect' parameter.
10547 Bind `standard-output' to stream we create using
10548 `ielm-standard-output-impl'. Suppress printing result when
10549 `for-effect'.
10550 (ielm-standard-output-impl): New function.
10551 (inferior-emacs-lisp-mode): Explain new features in documentation.
10552
10553 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
10554
10555 Code cleanup.
10556
10557 * net/tramp.el (tramp-debug-message): Do not check for connection
10558 buffer.
10559 (tramp-message): Use "vector" connection property.
10560
10561 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
10562 (tramp-equal-remote, tramp-eshell-directory-change)
10563 * net/tramp-adb.el (tramp-adb-handle-copy-file)
10564 (tramp-adb-handle-rename-file)
10565 * net/tramp-cmds.el (tramp-list-remote-buffers)
10566 (tramp-cleanup-connection, tramp-cleanup-this-connection)
10567 * net/tramp-compat.el (tramp-compat-process-running-p)
10568 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
10569 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
10570 (tramp-gvfs-handle-rename-file)
10571 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
10572 (tramp-set-file-uid-gid)
10573 * net/tramp-smb.el (tramp-smb-handle-copy-file)
10574 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
10575 of `file-remote-p'.
10576
10577 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
10578 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
10579 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
10580 (tramp-gw-open-network-stream): Suppress unrelated traces.
10581
10582 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
10583 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
10584 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
10585 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
10586 connection property.
10587
10588 * net/tramp-cache.el (top): Suppress traces when reading
10589 persistency file.
10590
10591 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
10592 Refactor common code. Improve debug message.
10593 (tramp-maybe-open-connection)
10594 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
10595 connection buffer too early.
10596
10597 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
10598 from `tramp-smb-actions-with-acl'.
10599 (tramp-smb-actions-set-acl): New defconst.
10600 (tramp-smb-handle-copy-directory)
10601 (tramp-smb-action-get-acl): New defun, renamed from
10602 `tramp-smb-action-with-acl'.
10603 (tramp-smb-action-set-acl): New defun.
10604 (tramp-smb-handle-set-file-acl): Rewrite.
10605
10606 2013-10-17 Glenn Morris <rgm@gnu.org>
10607
10608 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
10609
10610 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
10611
10612 * skeleton.el (skeleton-newline): Remove.
10613 (skeleton-internal-1): Use (insert "\n") instead.
10614
10615 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
10616 let-bindings.
10617
10618 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
10619 forward-sexp-function while we redo its job (bug#15613).
10620
10621 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
10622
10623 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
10624 represented by lists.
10625
10626 2013-10-16 Glenn Morris <rgm@gnu.org>
10627
10628 * tmm.el (tmm--history): New dynamic variable.
10629 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
10630
10631 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
10632
10633 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
10634 (tramp-smb-errors): Add error messages.
10635 (tramp-smb-actions-with-acl): New defconst.
10636 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
10637 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
10638 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
10639 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
10640 (tramp-smb-get-stat-capability): Fix tests.
10641
10642 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
10643
10644 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
10645 (bug#15580).
10646
10647 2013-10-16 Glenn Morris <rgm@gnu.org>
10648
10649 * ansi-color.el (ansi-color-drop-regexp):
10650 Add 1J, 1K, 2K. (Bug#15617)
10651
10652 * files.el (hack-local-variables--warned-lexical): New.
10653 (hack-local-variables):
10654 Warn about misplaced lexical-binding. (Bug#15616)
10655
10656 * net/eww.el (eww-render): Always set eww-current-url,
10657 and update header line. (Bug#15622)
10658 (eww-display-html): ... Rather than just doing it here.
10659
10660 2013-10-15 Eli Zaretskii <eliz@gnu.org>
10661
10662 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
10663 menu navigations commands.
10664
10665 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
10666
10667 * progmodes/subword.el (subword-capitalize): Be careful when
10668 the search for [[:alpha:]] fails (bug#15580).
10669
10670 2013-10-14 Eli Zaretskii <eliz@gnu.org>
10671
10672 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
10673 to commands that scroll the menu.
10674
10675 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
10676
10677 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
10678 Handle methods ending with `?' and `!'.
10679
10680 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
10681
10682 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
10683 `japanese-cp932' to `cp932' to fix the problem where saving a
10684 source file written in Shift_JIS twice would end up having
10685 `coding: japanese-cp932' which Ruby could not recognize.
10686 (ruby-mode-set-encoding): Add support for encodings mapped to nil
10687 in `ruby-encoding-map'.
10688 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
10689 doesn't need to be explicitly declared in magic comment.
10690 (ruby-encoding-map): Add type declaration for better customize UI.
10691
10692 2013-10-13 Glenn Morris <rgm@gnu.org>
10693
10694 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
10695 Occur buffers are read-only. http://bugs.debian.org/720775
10696
10697 * emacs-lisp/authors.el (authors-fixed-entries):
10698 Comment out old alpha stuff.
10699
10700 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
10701
10702 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
10703 to `after-save-hook' instead of `before-save-hook'.
10704 (ruby-mode-set-encoding): Use the value of coding system used to
10705 write the file. Call `basic-save-buffer-1' after modifying the
10706 buffer.
10707
10708 2013-10-13 Alan Mackenzie <acm@muc.de>
10709
10710 Fix indentation/fontification of Java enum with
10711 "implements"/generic.
10712
10713 * progmodes/cc-engine.el (c-backward-over-enum-header):
10714 Extracted from the three other places and enhanced to handle generics.
10715 (c-inside-bracelist-p): Uses new function above.
10716 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
10717 function above.
10718 (c-font-lock-enum-tail): Uses new function above.
10719
10720 2013-10-13 Kenichi Handa <handa@gnu.org>
10721
10722 * international/mule-cmds.el (select-safe-coding-system): Remove a
10723 superfluous condition in chekcing whether a coding system is safe
10724 or not.
10725
10726 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
10727
10728 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
10729
10730 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
10731
10732 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
10733
10734 2013-10-13 Glenn Morris <rgm@gnu.org>
10735
10736 * menu-bar.el (menu-bar-update-buffers):
10737 Unify Buffers menu prompt string. (Bug#15576)
10738
10739 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
10740
10741 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
10742 Add some entries.
10743 (authors-fixed-entries): Use accented form of name.
10744
10745 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
10746
10747 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
10748 method calls (bug#15594).
10749 (ruby-smie--args-separator-p): New function.
10750 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
10751 recognize paren-free method calls.
10752
10753 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
10754 internals of universal-argument.
10755
10756 2013-10-11 Eli Zaretskii <eliz@gnu.org>
10757
10758 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
10759 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
10760 dropped menu on second mouse click on the menu bar.
10761
10762 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
10763
10764 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
10765 (explicit-shell-file-name): Declare.
10766 (sh--vars-before-point, sh--cmd-completion-table): New functions.
10767 (sh-completion-at-point-function): New function.
10768 (sh-mode): Use it.
10769 (sh-smie--keyword-p): Remove unused argument.
10770 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
10771 vars.
10772 (sh-set-shell): Always setup SMIE, even if we use the
10773 old indentation code.
10774
10775 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
10776
10777 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
10778 cases of ? and =.
10779 (ruby-smie-rules): Simplify the "do" rule. The cases when the
10780 predicate would return nil are almost non-existent.
10781 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
10782
10783 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
10784 cache also after commands that modify the buffer but don't move
10785 point.
10786
10787 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
10788
10789 * env.el (substitute-env-in-file-name): New function.
10790 (substitute-env-vars): Extend the meaning of the optional arg.
10791
10792 2013-10-10 Eli Zaretskii <eliz@gnu.org>
10793
10794 * term/w32-win.el (dynamic-library-alist): Define separate lists
10795 of GIF DLLs for versions before and after 5.0.0 of giflib.
10796 (Bug#15531)
10797
10798 2013-10-10 João Távora <joaotavora@gmail.com>
10799
10800 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
10801 not locked, use last revision and current source as
10802 defaults. (Bug#15569)
10803
10804 2013-10-10 Masatake YAMATO <yamato@redhat.com>
10805
10806 * menu-bar.el (menu-bar-open): Don't use popup-menu if
10807 menu-bar is hidden.
10808
10809 2013-10-10 Martin Rudalics <rudalics@gmx.at>
10810
10811 * window.el (pop-to-buffer-same-window): Fix doc-string.
10812 (Bug#15492)
10813
10814 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
10815
10816 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
10817
10818 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
10819
10820 * calendar/icalendar.el (icalendar-import-file):
10821 Fix interactive spec. (Bug#15482)
10822
10823 2013-10-10 Glenn Morris <rgm@gnu.org>
10824
10825 * desktop.el (desktop-save): Default to saving in .emacs.d,
10826 since PWD is no longer in desktop-path by default. (Bug#15319)
10827
10828 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
10829 now that text mode has a menu with the same entry.
10830 (menu-bar-text-mode-auto-fill): Remove now unused func.
10831 * textmodes/text-mode.el (text-mode-map):
10832 Use auto-fill help text from menu-bar.el.
10833
10834 2013-10-10 John Anthony <john@jo.hnanthony.com>
10835
10836 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
10837
10838 2013-10-09 Juri Linkov <juri@jurta.org>
10839
10840 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
10841 instead of this-command-keys. Add universal-argument-more and
10842 universal-argument-minus to the list of prefix commands. (Bug#15568)
10843
10844 2013-10-09 Glenn Morris <rgm@gnu.org>
10845
10846 * vc/vc-svn.el (vc-svn-create-repo):
10847 Expand paths in file://... url. (Bug#15446)
10848
10849 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
10850 Add some entries.
10851 (authors): Remove unused local variables.
10852
10853 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
10854
10855 * profiler.el: Create a more coherent calltree from partial backtraces.
10856 (profiler-format): Hide the tail with `invisible' so that C-s can still
10857 find the hidden elements.
10858 (profiler-calltree-depth): Don't recurse so enthusiastically.
10859 (profiler-function-equal): New hash-table-test.
10860 (profiler-calltree-build-unified): New function.
10861 (profiler-calltree-build): Use it.
10862 (profiler-report-make-name-part): Indent the calltree less.
10863 (profiler-report-mode): Add visibility specs for profiler-format.
10864 (profiler-report-expand-entry, profiler-report-toggle-entry):
10865 Expand the whole subtree when provided with a prefix arg.
10866
10867 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
10868
10869 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
10870 iuwu-mod token.
10871 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
10872 hanging iuwu-mod token.
10873 (ruby-smie--forward-token): Do not include a dot after a token in
10874 that token.
10875 (ruby-smie--backward-token): Likewise.
10876
10877 2013-10-08 Juri Linkov <juri@jurta.org>
10878
10879 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
10880 to isearch-other-control-char.
10881 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
10882 and isearch-post-command-hook to post-command-hook.
10883 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
10884 and isearch-post-command-hook from post-command-hook.
10885 (isearch-unread-key-sequence)
10886 (isearch-reread-key-sequence-naturally)
10887 (isearch-lookup-scroll-key, isearch-other-control-char)
10888 (isearch-other-meta-char): Remove functions.
10889 (isearch-pre-command-hook, isearch-post-command-hook):
10890 New functions based on isearch-other-meta-char rewritten
10891 relying on the new behavior of overriding-terminal-local-map
10892 that does not replace the local keymaps any more. (Bug#15200)
10893
10894 2013-10-08 Eli Zaretskii <eliz@gnu.org>
10895
10896 Support menus on text-mode terminals.
10897 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
10898 functionality.
10899
10900 * tooltip.el (tooltip-mode): Don't error out on TTYs.
10901
10902 * menu-bar.el (popup-menu, popup-menu-normalize-position):
10903 Move here from mouse.el.
10904 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
10905 and arrow keys.
10906 (tty-menu-navigation-map): New map for TTY menu navigation.
10907
10908 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
10909
10910 * frame.el (display-mouse-p): Report text-mode mouse as available
10911 on w32.
10912 (display-popup-menus-p): Report availability if mouse is
10913 available; don't condition on window-system.
10914
10915 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
10916 (tty-menu-selected-face): New faces.
10917
10918 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
10919
10920 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
10921 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
10922 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
10923 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
10924 New constants.
10925 (lisp-mode-variables): New `elisp' argument.
10926 (emacs-lisp-mode): Use it.
10927 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
10928 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
10929
10930 * indent.el: Use lexical-binding.
10931 (indent-region): Add progress reporter.
10932 (tab-stop-list): Make it implicitly extend to infinity by repeating the
10933 last step.
10934 (indent--next-tab-stop): New function to implement this behavior.
10935 (tab-to-tab-stop, move-to-tab-stop): Use it.
10936
10937 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
10938
10939 * indent.el (indent-rigidly--current-indentation): New function.
10940 (indent-rigidly-map): New var.
10941 (indent-rigidly): Use it to provide interactive mode (bug#8196).
10942
10943 2013-10-08 Bastien Guerry <bzg@gnu.org>
10944
10945 * register.el (insert-register): Fix 2013-10-07 change.
10946
10947 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
10948
10949 * progmodes/perl-mode.el: Use lexical-binding.
10950 Remove redundant :group args.
10951 (perl-nochange): Change default to be closer to other major modes's
10952 standard behavior.
10953 (perl-indent-line): Don't consider text on current line as a
10954 valid beginning of function from which to indent.
10955
10956 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
10957 with more than one argument (bug#15538).
10958
10959 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
10960
10961 * vc/pcvs.el: Use lexical-binding.
10962 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
10963 environment of `eval'.
10964 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
10965 than a list of expressions. Adjust callers.
10966 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
10967
10968 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
10969
10970 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
10971 case of the dot in a chained method call being on the following line.
10972
10973 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
10974
10975 * electric.el (electric-indent-inhibit): New var.
10976 (electric-indent-post-self-insert-function): Use it.
10977 * progmodes/python.el (python-mode): Set it.
10978
10979 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
10980 open braces.
10981
10982 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
10983
10984 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
10985 (css-mode): Use electric-indent-chars.
10986
10987 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
10988 (font-lock-beg, font-lock-end): Move before first use.
10989 (nxml-mode): Use syntax-propertize-function.
10990 (nxml-after-change, nxml-after-change1): Adjust accordingly.
10991 (nxml-extend-after-change-region): Remove.
10992 * nxml/xmltok.el: Use lexical-binding.
10993 (xmltok-save): Use `declare'.
10994 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
10995 * nxml/nxml-util.el: Use lexical-binding.
10996 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
10997 Use `declare'.
10998 * nxml/nxml-ns.el: Use lexical-binding.
10999 (nxml-ns-save): Use `declare'.
11000 (nxml-ns-prefixes-for): Avoid add-to-list.
11001 * nxml/rng-match.el: Use lexical-binding.
11002 (rng--ipattern): Use cl-defstruct.
11003 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
11004 (rng-cons-group-after, rng-subst-group-after)
11005 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
11006 Use closures instead of `(lambda...).
11007
11008 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
11009
11010 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
11011 of BEG and END.
11012
11013 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11014 Use `tramp-handle-insert-file-contents'.
11015 (tramp-gvfs-handle-insert-file-contents): Remove function.
11016
11017 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
11018 Use `save-restriction' in order to keep markers.
11019
11020 * net/trampver.el: Update release number.
11021
11022 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
11023
11024 * progmodes/compile.el (compilation-parse-errors):
11025 Use compilation--put-prop.
11026 (compilation--ensure-parse): Check compilation-multiline.
11027
11028 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
11029
11030 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
11031 lexical-binding.
11032
11033 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
11034
11035 * progmodes/ruby-mode.el: Fix recently added tests.
11036 (ruby-smie-grammar): Add - and +.
11037 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
11038 (ruby-smie--backward-id): New functions.
11039 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
11040 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
11041 any more.
11042
11043 2013-10-07 Leo Liu <sdl.web@gmail.com>
11044
11045 * register.el (register-preview-delay)
11046 (register-preview-functions): New variables.
11047 (register-read-with-preview, register-preview)
11048 (register-describe-oneline): New functions.
11049 (point-to-register, window-configuration-to-register)
11050 (frame-configuration-to-register, jump-to-register)
11051 (number-to-register, view-register, insert-register)
11052 (copy-to-register, append-to-register, prepend-to-register)
11053 (copy-rectangle-to-register): Use register-read-with-preview to
11054 read register. (Bug#15525)
11055
11056 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
11057
11058 * net/network-stream.el (network-stream-open-starttls): Don't add
11059 --insecure if it's already present, because that gnutls-cli
11060 rejects getting that parameter twice.
11061
11062 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
11063
11064 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
11065 keyword, too.
11066
11067 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
11068
11069 * newcomment.el (comment-use-global-state): Change default value
11070 to t, mark obsolete (Bug#15251).
11071 (comment-beginning): In addition to `comment-to-syntax', check the
11072 value of `comment-use-global-state'.
11073
11074 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
11075
11076 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
11077 (ruby-comment-column): Follow the global default, by default.
11078 (ruby-smie-grammar): Add assignment syntax.
11079 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
11080 open-paren, a comma, or a \.
11081 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
11082 and line continuations.
11083 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
11084 followed by implicit semi-colons. Add rule for string concatenation
11085 and for indentation at BOB.
11086 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
11087
11088 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
11089 calling next-sexp, since next-token may have skipped chars which
11090 next-sexp doesn't know should be skipped!
11091
11092 2013-10-05 Leo Liu <sdl.web@gmail.com>
11093
11094 * progmodes/octave.el (octave-send-region):
11095 Call compilation-forget-errors.
11096
11097 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
11098
11099 * vc/vc-svn.el (vc-svn-find-admin-dir):
11100 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
11101 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
11102 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
11103 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
11104
11105 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
11106
11107 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
11108
11109 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
11110
11111 * subr.el (read-passwd): Hide chars even when called within a context
11112 where after-change-functions is disabled (bug#15501).
11113 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
11114 until we removed ourself from overriding-terminal-local-map.
11115
11116 2013-10-04 Leo Liu <sdl.web@gmail.com>
11117
11118 * progmodes/octave.el (inferior-octave-mode):
11119 Call compilation-forget-errors.
11120
11121 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
11122
11123 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
11124
11125 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
11126
11127 * net/secrets.el (secrets-create-collection): Add optional
11128 argument ALIAS. Use proper Label keyword. Append ALIAS as
11129 dbus-call-method argument. (Bug#15516)
11130
11131 2013-10-04 Leo Liu <sdl.web@gmail.com>
11132
11133 * progmodes/octave.el (inferior-octave-error-regexp-alist)
11134 (inferior-octave-compilation-font-lock-keywords): New variables.
11135 (compilation-error-regexp-alist)
11136 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
11137 (inferior-octave-mode): Use compilation-shell-minor-mode.
11138
11139 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
11140
11141 * minibuffer.el (completion--replace): Be careful that `end' might be
11142 a marker.
11143
11144 2013-10-03 Daiki Ueno <ueno@gnu.org>
11145
11146 Add support for package signature checking.
11147 * emacs-lisp/package.el (url-http-file-exists-p)
11148 (epg-make-context, epg-context-set-home-directory)
11149 (epg-verify-string, epg-context-result-for)
11150 (epg-signature-status, epg-signature-to-string)
11151 (epg-check-configuration, epg-configuration)
11152 (epg-import-keys-from-file): Declare.
11153 (package-check-signature): New user option.
11154 (package-unsigned-archives): New user option.
11155 (package-desc): Add `signed' field.
11156 (package-load-descriptor): Set `signed' field if .signed file exists.
11157 (package--archive-file-exists-p): New function.
11158 (package--check-signature): New function.
11159 (package-install-from-archive): Check package signature.
11160 (package--download-one-archive): Check archive signature.
11161 (package-delete): Remove .signed file.
11162 (package-import-keyring): New command.
11163 (package-refresh-contents): Import default keyring.
11164 (package-desc-status): Add "unsigned" status.
11165 (describe-package-1, package-menu--print-info)
11166 (package-menu-mark-delete, package-menu--find-upgrades)
11167 (package-menu--status-predicate): Support "unsigned" status.
11168
11169 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
11170
11171 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
11172 the new compilation scheme using the new byte-codes.
11173
11174 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
11175 (byte-pophandler): New byte codes.
11176 (byte-goto-ops): Adjust accordingly.
11177 (byte-compile--use-old-handlers): New var.
11178 (byte-compile-catch): Use new byte codes depending on
11179 byte-compile--use-old-handlers.
11180 (byte-compile-condition-case--old): Rename from
11181 byte-compile-condition-case.
11182 (byte-compile-condition-case--new): New function.
11183 (byte-compile-condition-case): New function that dispatches depending
11184 on byte-compile--use-old-handlers.
11185 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
11186 when we can.
11187
11188 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
11189 Optimize under `condition-case' and `catch' if
11190 byte-compile--use-old-handlers is nil.
11191 (disassemble-offset): Handle new bytecodes.
11192
11193 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
11194
11195 * subr.el (error): Use `declare'.
11196 (decode-char, encode-char): Use advertised-calling-convention instead
11197 of the docstring to discourage use of the `restriction' arg.
11198
11199 2013-10-03 Daiki Ueno <ueno@gnu.org>
11200
11201 * epg.el (epg-verify-file): Add a comment saying that it does not
11202 notify verification error as a return value nor a signal.
11203 (epg-verify-string): Ditto.
11204
11205 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
11206
11207 * progmodes/compile.el (compilation-start): Try globbing the arg to
11208 `cd' (bug#15417).
11209
11210 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
11211
11212 Sync with Tramp 2.2.8.
11213
11214 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
11215 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
11216 * net/trampver.el: Update release number.
11217
11218 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
11219
11220 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
11221 and default-process-coding-system for darwin only.
11222
11223 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
11224
11225 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
11226
11227 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
11228
11229 * vc/vc-git.el (vc-git-grep): Disable pager.
11230
11231 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
11232
11233 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
11234 Use :url instead of :homepage, as per
11235 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
11236
11237 * newcomment.el (comment-beginning): When `comment-use-syntax' is
11238 non-nil, use `syntax-ppss' (Bug#15251).
11239
11240 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11241
11242 * progmodes/octave.el (inferior-octave-startup-file):
11243 Prefer ~/.emacs.d/init_octave.m.
11244
11245 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
11246
11247 * emacs-lisp/package.el (package-desc-from-define):
11248 Accept additional arguments as plist, convert them to an alist and store
11249 them in the `extras' slot.
11250 (package-generate-description-file): Convert extras alist back to
11251 plist and append to the `define-package' form arguments.
11252 (package--alist-to-plist): New function.
11253 (package--ac-desc): Add `extras' slot.
11254 (package--add-to-archive-contents): Check if the archive-contents
11255 vector is long enough, and if it is, pass its `extras' slot value
11256 to `package-desc-create'.
11257 (package-buffer-info): Call `lm-homepage', pass the returned value
11258 to `package-desc-from-define'.
11259 (describe-package-1): Render the homepage button (Bug#13291).
11260
11261 * emacs-lisp/package-x.el (package-upload-buffer-internal):
11262 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
11263
11264 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
11265
11266 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
11267 and default-process-coding-system to utf-8-unix (Bug#15402).
11268
11269 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
11270
11271 * subr.el (looking-back): Do not recommend using looking-back.
11272
11273 2013-09-28 Alan Mackenzie <acm@muc.de>
11274
11275 Fix indentation/fontification of Java enum with "implements".
11276
11277 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
11278 regexp which matches "implements", etc., in Java.
11279 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
11280 specifier clauses coming after "enum".
11281 * progmodes/cc-fonts.el (c-font-lock-declarations)
11282 (c-font-lock-enum-tail): Check for extra specifier clauses coming
11283 after "enum".
11284
11285 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
11286
11287 * faces.el (region): Change ns_selection_color to
11288 ns_selection_fg_color, add ns_selection_bg_color.
11289
11290 2013-09-28 Leo Liu <sdl.web@gmail.com>
11291
11292 * progmodes/octave.el (inferior-octave-completion-table)
11293 (inferior-octave-completion-at-point): Minor tweaks.
11294
11295 * textmodes/ispell.el (ispell-lookup-words): Rename from
11296 lookup-words. (Bug#15460)
11297 (lookup-words): Obsolete.
11298 (ispell-complete-word, ispell-command-loop): All uses changed.
11299
11300 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11301
11302 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
11303 (octave-mode-menu): Add octave-send-buffer.
11304 (octave-send-buffer): New function.
11305
11306 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11307
11308 * progmodes/octave.el (octave-mode-map): Add key binding for
11309 octave-lookfor.
11310 (octave-mode-menu): Add octave-lookfor.
11311 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
11312 octave-lookfor.
11313 (octave-lookfor): New function.
11314
11315 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
11316
11317 * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
11318 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
11319 its convention.
11320 (cl--loop-set-iterator-function): New function.
11321 (cl-loop): Adjust accordingly, so as not to use cl-subst.
11322 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
11323 Bind `it' with `let' instead of substituting it with `cl-subst'.
11324 (cl--unused-var-p): New function.
11325 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
11326 Eliminate some unused variable warnings (bug#15326).
11327
11328 2013-09-27 Tassilo Horn <tsdh@gnu.org>
11329
11330 * doc-view.el (doc-view-scale-reset): Rename from
11331 `doc-view-reset-zoom-level'.
11332 (doc-view-scale-adjust): New command.
11333 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
11334 `doc-view-scale-adjust'.
11335
11336 2013-09-26 Tassilo Horn <tsdh@gnu.org>
11337
11338 * doc-view.el (doc-view-reset-zoom-level): New command.
11339 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
11340 zoom commands (bug#15466).
11341
11342 2013-09-26 Kenichi Handa <handa@gnu.org>
11343
11344 * international/quail.el (quail-help): Make it not a command.
11345
11346 2013-09-26 Leo Liu <sdl.web@gmail.com>
11347
11348 * minibuffer.el (completion-all-sorted-completions): Make args
11349 optional as they are.
11350
11351 2013-09-25 Daniel Colascione <dancol@dancol.org>
11352
11353 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
11354 specs are and that they're not evaluated.
11355
11356 2013-09-24 Sam Steingold <sds@gnu.org>
11357
11358 * midnight.el (clean-buffer-list-kill-regexps)
11359 (clean-buffer-list-kill-buffer-names): Update for the new Man
11360 buffer naming which includes the object name.
11361
11362 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
11363
11364 * eshell/esh-cmd.el (eshell--sep-terms): New var.
11365 (eshell-parse-command, eshell-parse-pipeline): Use it since
11366 eshell-separate-commands requires a dynamic scoped var.
11367 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
11368
11369 2013-09-23 Leo Liu <sdl.web@gmail.com>
11370
11371 * autoinsert.el (auto-insert-alist): Make the value of
11372 lexical-binding match its file setting.
11373
11374 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
11375
11376 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
11377
11378 * autoarg.el (autoarg-kp-digit-argument):
11379 * electric.el (Electric-command-loop):
11380 * kmacro.el (kmacro-step-edit-insert):
11381 Do not set universal-argument-num-events.
11382
11383 2013-09-22 Leo Liu <sdl.web@gmail.com>
11384
11385 * files.el (interpreter-mode-alist): Add octave.
11386
11387 2013-09-21 Alan Mackenzie <acm@muc.de>
11388
11389 C++: fontify identifier in declaration following "public:" correctly.
11390 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
11391 to match "public", etc.
11392 (c-decl-prefix-re): Add ":" into the C++ value.
11393 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
11394 bit. Add a check for a ":" preceded by "public", etc.
11395
11396 2013-09-21 Eli Zaretskii <eliz@gnu.org>
11397
11398 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
11399 recognized by GDB 7.5 and later.
11400
11401 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
11402
11403 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
11404
11405 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
11406
11407 * subr.el (internal--call-interactively): New const.
11408 (called-interactively-p): Use it (bug#3984).
11409
11410 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
11411
11412 * vc/pcvs.el (cvs-mode-ignore):
11413 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
11414 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
11415
11416 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
11417
11418 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
11419 (eshell-ls-orig-insert-directory): Remove.
11420 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
11421 (eshell-ls-use-in-dired): Use advice-add/remove.
11422 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
11423 Add `orig-fun' arg for use in :around advice.
11424 Make it check (redundantly) eshell-ls-use-in-dired.
11425
11426 2013-09-19 Glenn Morris <rgm@gnu.org>
11427
11428 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
11429
11430 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
11431
11432 * emacs-lisp/eieio.el (class-parent): Undo previous change.
11433
11434 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
11435
11436 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
11437 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
11438 (tramp-get-remote-python): New defuns.
11439 (tramp-get-remote-uid-with-perl)
11440 (tramp-get-remote-gid-with-perl): New defuns. Perl code
11441 contributed by yary <not.com@gmail.com> (tiny change).
11442 (tramp-get-remote-uid-with-python)
11443 (tramp-get-remote-gid-with-python): New defuns. Python code
11444 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
11445 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
11446
11447 2013-09-19 Glenn Morris <rgm@gnu.org>
11448
11449 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
11450
11451 * eshell/em-unix.el (eshell-remove-entries):
11452 Rename argument to avoid name-clash with global `top-level'.
11453
11454 * eshell/esh-proc.el (eshell-kill-process-function):
11455 Remove eshell-reset-after-proc from eshell-kill-hook if present.
11456 (eshell-reset-after-proc): Remove unused arg `proc'.
11457
11458 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
11459 (directory-files-and-attributes): Mark unused arg.
11460
11461 * eshell/em-unix.el (eshell-remove-entries):
11462 Remove unused arg `path'. Update callers.
11463
11464 * eshell/em-hist.el (eshell-hist-parse-arguments):
11465 Remove unused arg `silent'. Update callers.
11466
11467 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
11468 Fix (f)boundp mix-up.
11469
11470 * eshell/em-smart.el (eshell-smart-scroll-window)
11471 (eshell-disable-after-change):
11472 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
11473
11474 2013-09-18 Alan Mackenzie <acm@muc.de>
11475
11476 Fix fontification of type when followed by "const".
11477 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
11478 "known" types from fontification.
11479
11480 2013-09-18 Glenn Morris <rgm@gnu.org>
11481
11482 * emacs-lisp/chart.el (x-display-color-cells): Declare.
11483 (chart-face-list): Drop Emacsen without display-color-p.
11484
11485 * net/eww.el (libxml-parse-html-region): Declare.
11486 (eww-display-html): Explicit error if no libxml2 support.
11487
11488 * doc-view.el (doc-view-mode): Silence --without-x compilation.
11489
11490 * image.el (image-type-from-buffer, image-multi-frame-p):
11491 Remove --without-x warning/error.
11492
11493 * mouse.el (mouse-yank-primary):
11494 * term.el (term-mouse-paste):
11495 Reorder to silence --without-x compilation.
11496
11497 * mpc.el (doc-view-mode): Silence --without-x compilation.
11498
11499 * mail/rmailmm.el (rmail-mime-set-bulk-data):
11500 Silence --without-x compilation.
11501
11502 * progmodes/gud.el (gud-find-file, gud-mode):
11503 Silence --without-x compilation.
11504 (tooltip-mode): Declare.
11505
11506 * wdired.el (dired-backup-overwrite): Remove declaration.
11507 (wdired-mode-map): Add doc string.
11508
11509 * custom.el (x-get-resource): Declare.
11510
11511 * eshell/em-glob.el (ange-cache):
11512 * eshell/em-unix.el (ange-cache): Declare.
11513
11514 * faces.el (x-display-list, x-open-connection, x-get-resource):
11515 Declare.
11516
11517 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
11518 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
11519 Declare.
11520
11521 * frame.el (x-display-grayscale-p, x-display-name): Declare.
11522
11523 * net/gnutls.el (gnutls-log-level): Declare.
11524
11525 * net/shr.el (image-size, image-animate): Declare.
11526
11527 * simple.el (font-info): Declare.
11528
11529 * subr.el (x-popup-dialog): Declare.
11530
11531 * term/common-win.el (x-select-enable-primary)
11532 (x-last-selected-text-primary, x-last-selected-text-clipboard):
11533 Declare.
11534
11535 * term/ns-win.el (x-handle-args): Declare.
11536
11537 * term/x-win.el (x-select-enable-clipboard): Declare.
11538
11539 * term/w32-win.el (create-default-fontset): Declare.
11540
11541 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
11542 Declare.
11543
11544 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
11545 (fit-frame-to-buffer): Explicit error if --without-x.
11546 (mouse-autoselect-window-select): Silence compiler.
11547
11548 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
11549
11550 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
11551 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
11552 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
11553 * eshell/esh-util.el (eshell-sublist):
11554 Remove unused local variables.
11555
11556 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
11557
11558 * textmodes/two-column.el: Make 2C-split work for --without-x.
11559 (scroll-bar-columns): Autoload.
11560 (top-level): Require fringe when compiling.
11561
11562 2013-09-18 Leo Liu <sdl.web@gmail.com>
11563
11564 * subr.el (add-hook): Robustify to handle closure as well.
11565
11566 2013-09-17 Glenn Morris <rgm@gnu.org>
11567
11568 * simple.el (messages-buffer-mode-map): Unbind "g".
11569
11570 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
11571
11572 * help-mode.el (help-mode-finish): Use derived-mode-p.
11573 Remove obsolete highlighting.
11574
11575 * play/life.el (life-mode): Use define-derived-mode. Derive from
11576 special-mode.
11577 (life): Let-bind inhibit-read-only.
11578 (life-setup): Avoid `setq'. Use `life-mode'.
11579
11580 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
11581 which should not be needed any more.
11582 (package-menu-refresh, package-menu-describe-package): Use user-error.
11583
11584 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
11585 (eshell-post-rewrite-command-hook): Make obsolete.
11586 (eshell-parse-command): Simplify.
11587 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
11588 (eshell--cmd): Declare.
11589 (eshell-parse-pipeline): Remove unused var `final-p'.
11590 Pass a dynvar to eshell-post-rewrite-command-hook.
11591 Implement the new eshell-post-rewrite-command-function.
11592 (eshell-invoke-directly): Remove unused arg `input'.
11593 * eshell/esh-io.el (eshell-io-initialize):
11594 Use eshell-post-rewrite-command-function (bug#15399).
11595 (eshell--apply-redirections): Rename from eshell-apply-redirections;
11596 adjust to new calling convention.
11597 (eshell-create-handles): Rename args to avoid clashing with dynvar
11598 `standard-output'.
11599
11600 2013-09-17 Glenn Morris <rgm@gnu.org>
11601
11602 * simple.el (messages-buffer-mode): New major mode.
11603 (messages-buffer): New function.
11604 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
11605 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
11606 (ert-run-test): Use `messages-buffer' function.
11607 (ert--force-message-log-buffer-truncation): Ignore read-only.
11608 * help.el (view-echo-area-messages): Use `messages-buffer' function.
11609 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
11610
11611 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
11612
11613 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
11614
11615 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
11616
11617 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
11618
11619 * icomplete.el (icomplete-in-buffer): New var.
11620 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
11621 vars and replace them with functions.
11622 (icomplete-minibuffer-setup): Adjust accordingly.
11623 (icomplete--completion-table, icomplete--completion-predicate)
11624 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
11625 New functions.
11626 (icomplete-forward-completions, icomplete-backward-completions)
11627 (icomplete-simple-completing-p, icomplete-exhibit)
11628 (icomplete-completions): Use them.
11629 (icomplete--in-region-buffer): New var.
11630 (icomplete--in-region-setup): New function.
11631 (icomplete-mode): Use it.
11632
11633 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
11634 (bug#15379).
11635 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
11636 return args and options.
11637 (eshell-eval-using-options): Use the new return value of
11638 eshell--do-opts to set the options's vars in their scope.
11639 (eshell--set-option): Rename from eshell-set-option.
11640 Add arg `opt-vals'.
11641 (eshell--process-option): Rename from eshell-process-option.
11642 Add arg `opt-vals'.
11643 (eshell--process-args): Use an `opt-vals' alist to store the options's
11644 values during their processing and return them additionally to the
11645 remaining args.
11646
11647 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
11648
11649 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
11650 continuation character an operator, as far as indentation is
11651 concerned (Bug#15369).
11652
11653 2013-09-15 Martin Rudalics <rudalics@gmx.at>
11654
11655 * window.el (window--state-put-2): Don't process buffer state
11656 when buffer doesn't exist any more (Bug#15382).
11657
11658 2013-09-15 Glenn Morris <rgm@gnu.org>
11659
11660 * eshell/em-unix.el (eshell/rm):
11661 Make -f ignore missing files. (Bug#15373)
11662
11663 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
11664 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
11665 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
11666
11667 2013-09-14 Glenn Morris <rgm@gnu.org>
11668
11669 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
11670
11671 2013-09-13 Glenn Morris <rgm@gnu.org>
11672
11673 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
11674 (dired-guess-default): Make `file' available in the env. (Bug#15363)
11675
11676 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
11677
11678 * frame.el (x-focus-frame): Mark as declared in frame.c.
11679
11680 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
11681
11682 * ls-lisp.el: Use advice-add.
11683 (original-insert-directory): Remove.
11684 (ls-lisp--insert-directory): Rename from insert-directory; add
11685 `orig-fun' argument.
11686 (insert-directory): Advise.
11687
11688 2013-09-13 Eli Zaretskii <eliz@gnu.org>
11689
11690 * term.el (term-emulate-terminal): Decode the command string
11691 before passing it to term-command-hook. (Bug#15337)
11692
11693 2013-09-13 Glenn Morris <rgm@gnu.org>
11694
11695 * eshell/esh-util.el (ange-cache): Move declaration earlier.
11696
11697 * eshell/esh-ext.el (eshell-search-path): Declare.
11698
11699 * eshell/em-prompt.el (eshell/pwd): Autoload it.
11700 Otherwise an error occurs if eshell-dirs module not loaded.
11701
11702 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
11703
11704 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
11705
11706 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
11707 `tramp-check-proper-host'. Check for a valid method name.
11708
11709 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
11710 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
11711 * net/tramp-sh.el (tramp-maybe-open-connection):
11712 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
11713
11714 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
11715 also for hash values.
11716
11717 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
11718
11719 * term/ns-win.el (parameters): Don't declare as dynamic.
11720 (before-make-frame-hook): Don't add ineffective function.
11721
11722 * eshell/*.el: Use lexical-binding (bug#15231).
11723
11724 2013-09-12 Kenichi Handa <handa@gnu.org>
11725
11726 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
11727
11728 2013-09-12 Glenn Morris <rgm@gnu.org>
11729
11730 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
11731 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
11732
11733 * subr.el (do-after-load-evaluation): Also give compiler warnings
11734 when obsolete files are used (except by obsolete files).
11735
11736 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
11737 in the status output, assume `filename' is the first. (Bug#15322)
11738
11739 * vc/vc.el (vc-deduce-fileset): Doc fix.
11740
11741 * calc/calc-help.el (Info-goto-node):
11742 * progmodes/cperl-mode.el (Info-find-node):
11743 * vc/ediff.el (Info-goto-node): Update declarations.
11744
11745 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
11746
11747 * vc/vc-bzr.el (vc-compilation-mode): Declare.
11748 (vc-bzr-pull): Require vc-dispatcher.
11749 * vc/vc-git.el (vc-compilation-mode): Declare.
11750 (vc-git-pull): Require vc-dispatcher.
11751
11752 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
11753
11754 * progmodes/octave.el (help-button-action): Declare.
11755
11756 * shell.el (shell-directory-tracker): Output error as a message
11757 rather than just returning it as a string.
11758 (shell-process-pushd): Remove useless use of message.
11759
11760 * dframe.el (dframe-timer-fn):
11761 * files.el (dir-locals-read-from-file):
11762 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
11763 (mpc-format):
11764 * reveal.el (reveal-post-command):
11765 * saveplace.el (load-save-place-alist-from-file):
11766 * shell.el (shell-resync-dirs):
11767 * w32-common-fns.el (x-get-selection-value):
11768 * emacs-lisp/copyright.el (copyright-find-copyright):
11769 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
11770 * emulation/tpu-edt.el (tpu-copy-keyfile):
11771 * play/bubbles.el (bubbles--mark-neighbourhood):
11772 * progmodes/executable.el
11773 (executable-make-buffer-file-executable-if-script-p):
11774 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
11775
11776 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
11777
11778 Cleanup Eshell to rely less on dynamic scoping.
11779 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
11780 last-value, and ext-command here. Bind `args' closer to `body'.
11781 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
11782 (eshell--args): Declare new dynamic var.
11783 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
11784 last-value, and ext-command. Pass `args' to `body'.
11785 (eshell-process-args): Bind eshell--args.
11786 (eshell-set-option): Use eshell--args.
11787 * eshell/eshell.el (eshell): Use derived-mode-p.
11788 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
11789 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
11790 (eshell-glob-function): Declare.
11791 * eshell/esh-util.el: Require cl-lib.
11792 (eshell-read-hosts-file): Avoid add-to-list.
11793 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
11794 `err'.
11795 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
11796 Declare.
11797 (eshell/diff): Remove unused var `err'.
11798 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
11799 `killflag'.
11800 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
11801 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
11802 first use.
11803 * eshell/em-glob.el (eshell-glob-matches, message-shown):
11804 Move declaration before first use.
11805 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
11806 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
11807 rely on cl-return.
11808
11809 2013-09-12 Glenn Morris <rgm@gnu.org>
11810
11811 * term/ns-win.el (global-map): Remove binding for ispell-next,
11812 deleted 1999-05-29. (Bug#15357)
11813
11814 2013-09-11 Glenn Morris <rgm@gnu.org>
11815
11816 * echistory.el (electric-command-history): Remove call to deleted func.
11817
11818 * play/landmark.el (landmark-mode): Fix typos.
11819
11820 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
11821 Check cvs-sort-ignore-file is bound.
11822
11823 * savehist.el: No need for cl when compiling on Emacs.
11824
11825 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
11826
11827 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
11828 (bug#15338).
11829 (eshell-self-insert-command, eshell-send-invisible):
11830 Remove unused argument.
11831 (eshell-handle-control-codes): Remove unused var `orig'.
11832 Avoid delete-backward-char.
11833
11834 * files.el (set-auto-mode): Simplify a bit further.
11835
11836 2013-09-11 Glenn Morris <rgm@gnu.org>
11837
11838 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
11839 (set-auto-mode): Don't regexp-quote elements.
11840 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
11841 * progmodes/cc-mode.el (interpreter-mode-alist):
11842 * progmodes/ruby-mode.el (interpreter-mode-alist):
11843 Revert previous change.
11844
11845 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
11846
11847 * play/snake.el (snake-mode):
11848 * play/mpuz.el (mpuz-mode):
11849 * play/landmark.el (lm-mode):
11850 * play/blackbox.el (blackbox-mode):
11851 * play/5x5.el (5x5-mode):
11852 * obsolete/options.el (Edit-options-mode):
11853 * net/quickurl.el (quickurl-list-mode):
11854 * net/newst-treeview.el (newsticker-treeview-mode):
11855 * mail/rmailsum.el (rmail-summary-mode):
11856 * mail/mspools.el (mspools-mode):
11857 * locate.el (locate-mode):
11858 * ibuffer.el (ibuffer-mode):
11859 * emulation/ws-mode.el (wordstar-mode):
11860 * emacs-lisp/debug.el (debugger-mode):
11861 * array.el (array-mode):
11862 * net/eudc.el (eudc-mode): Use define-derived-mode.
11863 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
11864 Move initialization into declaration.
11865 (mairix-searches-mode): Use define-derived-mode.
11866 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
11867 (eudc-edit-hotlist): Use dolist.
11868 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
11869 (Man-mode): Use define-derived-mode.
11870 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
11871 (Info-edit-mode): Use define-derived-mode.
11872 (Info-cease-edit): Use Info-mode.
11873 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
11874 into declaration.
11875 (eshell-mode): Use define-derived-mode.
11876 * chistory.el (command-history-mode-map): Rename from
11877 command-history-map.
11878 (command-history-mode): Use define-derived-mode.
11879 (Command-history-setup): Remove function.
11880 * calc/calc.el (calc-trail-mode-map): New var.
11881 (calc-trail-mode): Use define-derived-mode.
11882 (calc-trail-buffer): Set calc-main-buffer manually.
11883 * bookmark.el (bookmark-insert-annotation): New function.
11884 (bookmark-edit-annotation): Use it.
11885 (bookmark-edit-annotation-mode): Make it a proper major mode.
11886 (bookmark-send-edited-annotation): Use derived-mode-p.
11887 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
11888 closer to its ideal place. Use \' to match EOS.
11889
11890 * profiler.el (profiler-calltree-find): Use function-equal.
11891
11892 2013-09-10 Glenn Morris <rgm@gnu.org>
11893
11894 * files.el (interpreter-mode-alist): Convert to regexps.
11895 (set-auto-mode): Adapt for this. (Bug#15306)
11896 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
11897 Comment out unused variable.
11898 * progmodes/cc-mode.el (interpreter-mode-alist):
11899 * progmodes/python.el (interpreter-mode-alist):
11900 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
11901 * progmodes/sh-script.el (sh-set-shell):
11902 No longer use interpreter-mode-alist to get list of shells.
11903
11904 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
11905
11906 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
11907
11908 * simple.el: Use set-temporary-overlay-map for universal-argument.
11909 (universal-argument-map): Don't use default-bindings (bug#15317).
11910 Bind switch-frame explicitly. Replace universal-argument-minus with
11911 a conditional binding.
11912 (universal-argument-num-events, saved-overriding-map): Remove.
11913 (restore-overriding-map): Remove.
11914 (universal-argument--mode): Rename from save&set-overriding-map,
11915 and rewrite.
11916 (universal-argument, universal-argument-more, negative-argument)
11917 (digit-argument): Adjust accordingly.
11918 (universal-argument-minus): Remove.
11919 (universal-argument-other-key): Remove.
11920
11921 * subr.el (with-demoted-errors): Add `format' argument.
11922
11923 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
11924
11925 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
11926 `tramp-cleanup-connection'.
11927
11928 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
11929 parameters KEEP-DEBUG and KEEP-PASSWORD.
11930
11931 * net/tramp.el (tramp-file-name-handler):
11932 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
11933 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
11934 (tramp-maybe-open-connection):
11935 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
11936 Use `tramp-cleanup-connection'.
11937
11938 * net/tramp-sh.el (tramp-maybe-open-connection):
11939 Catch 'uname-changed inside the progress reporter.
11940
11941 2013-09-10 Glenn Morris <rgm@gnu.org>
11942
11943 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
11944
11945 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
11946 returns "alternate access method" in mode (eg "-rw-r--r--.").
11947
11948 2013-09-08 Glenn Morris <rgm@gnu.org>
11949
11950 * saveplace.el (load-save-place-alist-from-file):
11951 Demote errors. (Bug#15305)
11952
11953 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
11954
11955 Improve compatibility with older Emacsen, and XEmacs.
11956
11957 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
11958 only if it is bound. It isn't for XEmacs.
11959 (with-tramp-progress-reporter): Do not let-bind `result'.
11960 This yields to scoping errors in XEmacs.
11961 (tramp-handle-make-auto-save-file-name): New function, moved from
11962 tramp-sh.el.
11963
11964 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
11965 for `make-auto-save-file-name'.
11966 (tramp-adb--gnu-switches-to-ash):
11967 Use `tramp-compat-replace-regexp-in-string'.
11968
11969 * net/tramp-cache.el (tramp-cache-print): Call
11970 `substring-no-properties' only if it is bound. It isn't for XEmacs.
11971
11972 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
11973 bound. It isn't for XEmacs.
11974
11975 * net/tramp-compat.el (tramp-compat-copy-file):
11976 Catch `wrong-number-of-arguments' error.
11977 (tramp-compat-replace-regexp-in-string): New defun.
11978
11979 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
11980 for `make-auto-save-file-name'.
11981 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
11982 `copy-file'.
11983 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
11984 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
11985 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
11986
11987 * net/tramp-gw.el (tramp-gw-open-network-stream):
11988 Use `tramp-compat-replace-regexp-in-string'.
11989
11990 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
11991 Call `tramp-handle-make-auto-save-file-name'.
11992 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
11993 (tramp-sh-file-gvfs-monitor-dir-process-filter)
11994 (tramp-sh-file-inotifywait-process-filter):
11995 Use `tramp-compat-replace-regexp-in-string'.
11996 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
11997
11998 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
11999 for `make-auto-save-file-name'.
12000 (tramp-smb-handle-copy-directory):
12001 Call `tramp-compat-replace-regexp-in-string'.
12002 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
12003 (tramp-smb-handle-copy-file): Improve error message.
12004 (tramp-smb-handle-rename-file): Rename directly only in case
12005 `newname' does not exist yet. This is a restriction of smbclient.
12006 (tramp-smb-maybe-open-connection): Rerun the function only when
12007 `auth-sources' is non-nil.
12008
12009 2013-09-08 Kenichi Handa <handa@gnu.org>
12010
12011 * international/characters.el: Set category "^" (Combining) for
12012 more characters.
12013
12014 2013-09-07 Alan Mackenzie <acm@muc.de>
12015
12016 Correctly fontify Java class constructors.
12017 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
12018 in Java Mode.
12019 (c-recognize-typeless-decls): Set the Java value to t.
12020 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
12021 While handling a "(", add a check for, effectively, Java, and handle a
12022 "typeless" declaration there.
12023
12024 2013-09-07 Roland Winkler <winkler@gnu.org>
12025
12026 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
12027 field subtitle for entry type book.
12028
12029 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
12030
12031 * minibuffer.el: Make minibuffer-complete call completion-in-region
12032 rather than other way around.
12033 (completion--some, completion-pcm--find-all-completions):
12034 Don't delay signals when debugging.
12035 (minibuffer-completion-contents): Beware fields within the
12036 minibuffer contents.
12037 (completion-all-sorted-completions): Use defvar-local.
12038 (completion--do-completion, completion--cache-all-sorted-completions)
12039 (completion-all-sorted-completions, minibuffer-force-complete):
12040 Add args `beg' and `end'.
12041 (completion--in-region-1): New fun, extracted from minibuffer-complete.
12042 (minibuffer-complete): Use completion-in-region.
12043 (completion-complete-and-exit): New fun, extracted from
12044 minibuffer-complete-and-exit.
12045 (minibuffer-complete-and-exit): Use it.
12046 (completion--complete-and-exit): Rename from
12047 minibuffer--complete-and-exit.
12048 (completion-in-region--single-word): New function, extracted from
12049 minibuffer-complete-word.
12050 (minibuffer-complete-word): Use it.
12051 (display-completion-list): Make `common-substring' argument obsolete.
12052 (completion--in-region): Call completion--in-region-1 instead of
12053 minibuffer-complete.
12054 (completion-help-at-point): Pass boundaries to
12055 minibuffer-completion-help as args rather than via an overlay.
12056 (completion-pcm--string->pattern): Use `any-delim'.
12057 (completion-pcm--optimize-pattern): New function.
12058 (completion-pcm--pattern->regex): Handle `any-delim'.
12059 * icomplete.el (icomplete-forward-completions)
12060 (icomplete-backward-completions, icomplete-completions):
12061 Adjust calls to completion-all-sorted-completions and
12062 completion--cache-all-sorted-completions.
12063 (icomplete-with-completion-tables): Default to t.
12064 * emacs-lisp/crm.el (crm--current-element): Rename from
12065 crm--select-current-element. Don't put an overlay but return the
12066 boundaries instead.
12067 (crm--completion-command): Take two new args to bind to the boundaries.
12068 (crm-completion-help): Adjust accordingly.
12069 (crm-complete): Use completion-in-region.
12070 (crm-complete-word): Use completion-in-region--single-word.
12071 (crm-complete-and-exit): Use completion-complete-and-exit.
12072
12073 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
12074
12075 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
12076 than dynamically.
12077
12078 2013-09-06 Juri Linkov <juri@jurta.org>
12079
12080 * info.el (Info-display-images-node): When image file doesn't exist
12081 display text version of the image if it's provided in the Info file.
12082 Otherwise, display the location of missing image from SRC attribute.
12083 Add help-echo text property from ALT attribute. (Bug#15279)
12084
12085 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
12086
12087 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
12088 (edit-abbrevs-mode): Use define-derived-mode.
12089
12090 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
12091 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
12092 that it's defined.
12093 (epa-key-list-mode, epa-key-mode, epa-info-mode):
12094 Use define-derived-mode.
12095
12096 * epg.el (epg-start-encrypt): Minor CSE simplification.
12097
12098 2013-09-06 William Xu <william.xwl@gmail.com>
12099
12100 * arc-mode.el: Add support for 7za (bug#15264).
12101 (archive-7z-program): New var.
12102 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
12103 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
12104 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
12105
12106 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
12107
12108 Remove URL syntax.
12109
12110 * net/tramp.el (tramp-syntax, tramp-prefix-format)
12111 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
12112 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
12113 (tramp-postfix-host-format, tramp-file-name-regexp)
12114 (tramp-completion-file-name-regexp)
12115 (tramp-completion-dissect-file-name)
12116 (tramp-handle-substitute-in-file-name): Remove 'url case.
12117 (tramp-file-name-regexp-url)
12118 (tramp-completion-file-name-regexp-url): Remove constants.
12119
12120 2013-09-06 Glenn Morris <rgm@gnu.org>
12121
12122 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
12123
12124 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
12125
12126 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
12127 keywords" below "here-doc beginnings" (Bug#15270).
12128
12129 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
12130
12131 * subr.el (pop): Use `car-safe'.
12132 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
12133 to detect unused `pop' return value.
12134
12135 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
12136 var `block-regexp'.
12137 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
12138 (python-fill-string): Remove unused var `marker'.
12139 (python-skeleton-add-menu-items): Remove unused var `items'.
12140
12141 * international/mule-cmds.el: Require CL.
12142 (find-coding-systems-for-charsets): Avoid add-to-list.
12143 (sanitize-coding-system-list): New function, extracted from
12144 select-safe-coding-system-interactively.
12145 (select-safe-coding-system-interactively): Use it.
12146 (read-input-method-name): Accept symbols for `default'.
12147
12148 * emacs-lisp/advice.el (defadvice): Add indent rule.
12149
12150 2013-09-05 Daniel Hackney <dan@haxney.org>
12151
12152 * dired-x.el:
12153 * net/ange-ftp.el:
12154 * net/browse-url.el:
12155 * net/dbus.el:
12156 * net/eudc.el:
12157 * net/eudcb-ldap.el:
12158 * net/eww.el:
12159 * net/imap.el:
12160 * printing.el:
12161 * vc/ediff-diff.el:
12162 * vc/ediff-init.el:
12163 * vc/ediff-merg.el:
12164 * vc/ediff-mult.el:
12165 * vc/ediff-util.el:
12166 * vc/ediff-wind.el:
12167 * vc/ediff.el:
12168 * vc/emerge.el:
12169 * vc/pcvs.el:
12170 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
12171 byte compiler. Remove some unused let-bound variables.
12172
12173 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
12174
12175 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
12176 a "ref-cell", since it gets better optimized (bug#14883).
12177
12178 2013-09-05 Glenn Morris <rgm@gnu.org>
12179
12180 * progmodes/cc-awk.el (c-forward-sws): Declare.
12181
12182 2013-09-04 Glenn Morris <rgm@gnu.org>
12183
12184 * generic-x.el [rul-generic-mode]: Require cc-mode.
12185 (c++-mode-syntax-table): Declare.
12186 (rul-generic-mode-syntax-table): Init in the defvar.
12187
12188 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
12189
12190 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
12191 (vc-do-command, vc-set-async-update):
12192 * vc/vc-mtn.el (vc-mtn-dir-status):
12193 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
12194 (vc-hg-pull, vc-hg-merge-branch):
12195 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
12196 (vc-git-merge-branch):
12197 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
12198 (vc-cvs-dir-status-files):
12199 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
12200 (vc-bzr-dir-status-files):
12201 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
12202 * vc/vc-annotate.el: Use lexical-binding.
12203 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
12204 (vc-sentinel-movepoint): Declare.
12205 (vc-annotate): Don't use `goto-line'.
12206 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
12207 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
12208 (vc-sentinel-movepoint): Declare.
12209 * vc/vc-svn.el: Use lexical-binding.
12210 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
12211 * vc/vc-sccs.el:
12212 * vc/vc-rcs.el: Use lexical-binding.
12213
12214 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
12215 `deleted'. Don't drop errors silently.
12216
12217 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
12218
12219 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
12220
12221 * vc/vc.el (vc-ignore): Rewrite.
12222 (vc-default-ignore): New function.
12223 (vc-default-ignore-completion-table): Use find-ignore-file.
12224
12225 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
12226 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
12227 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
12228 Remove. Most code moved to vc.el.
12229
12230 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
12231
12232 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
12233 * net/tramp-smb.el (tramp-smb-get-file-entries):
12234 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
12235 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
12236
12237 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
12238 Update call to it.
12239 (eww-change-select): Remove unused var `properties'.
12240 (eww-make-unique-file-name): Remove unused var `base'.
12241
12242 * finder.el (finder-compile-keywords): Don't mess with windows.
12243
12244 * calculator.el (calculator-funcall): Fix typo in last change.
12245
12246 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
12247
12248 * emacs-lisp/package.el (package-activate-1): Don't let a missing
12249 <pkg>-autoloads.el file stop us.
12250
12251 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
12252 warnings, and factor out common code.
12253
12254 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
12255
12256 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
12257 two-character operators and whether the character preceding them
12258 changes their meaning (Bug#15208).
12259
12260 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
12261
12262 Format code sent to Python shell for robustness.
12263 * progmodes/python.el (python-shell-buffer-substring):
12264 New function.
12265 (python-shell-send-region, python-shell-send-buffer): Use it.
12266
12267 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
12268
12269 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
12270 * net/tramp.el (tramp-user-error): ... here.
12271 (tramp-find-method, tramp-check-proper-host)
12272 (tramp-dissect-file-name, tramp-debug-message)
12273 (tramp-handle-shell-command):
12274 * net/tramp-adb.el (tramp-adb-handle-shell-command):
12275 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
12276
12277 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
12278
12279 2013-09-02 Martin Rudalics <rudalics@gmx.at>
12280
12281 * avoid.el (mouse-avoidance-point-position)
12282 (mouse-avoidance-too-close-p): Handle case where posn-at-point
12283 returns nil.
12284
12285 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
12286
12287 * progmodes/python.el (python-shell-completion-get-completions):
12288 Drop use of deleted `comint-last-prompt-overlay'.
12289 (python-nav-if-name-main): New command.
12290
12291 2013-09-01 Glenn Morris <rgm@gnu.org>
12292
12293 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
12294 Avoid leading space in $wins. Otherwise the sed command used by
12295 eg compile-main ends up containing "/*.el". (Bug#15170)
12296
12297 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
12298
12299 2013-08-30 Glenn Morris <rgm@gnu.org>
12300
12301 * emacs-lisp/bytecomp.el (byte-recompile-directory):
12302 Fix is-this-a-directory logic. (Bug#15220)
12303
12304 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
12305
12306 * textmodes/css-mode.el: Use SMIE.
12307 (css-smie-grammar): New var.
12308 (css-smie--forward-token, css-smie--backward-token)
12309 (css-smie-rules): New functions.
12310 (css-mode): Use them.
12311 (css-navigation-syntax-table): Remove var.
12312 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
12313 (css-indent-calculate, css-indent-line): Remove functions.
12314
12315 Misc changes to reduce use of `(lambda...); and other cleanups.
12316 * cus-edit.el: Use lexical-binding.
12317 (customize-push-and-save, customize-apropos)
12318 (custom-buffer-create-internal): Use closures.
12319 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
12320 * progmodes/ada-xref.el: Use setq.
12321 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
12322 * dframe.el: Use lexical-binding.
12323 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
12324 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
12325 * descr-text.el: Use lexical-binding.
12326 (describe-text-widget, describe-text-sexp, describe-property-list):
12327 Use closures.
12328 * comint.el (comint-history-isearch-push-state): Use a closure.
12329 * calculator.el: Use lexical-binding.
12330 (calculator-number-to-string): Make it work with lexical-binding.
12331 (calculator-funcall): Same and use cl-letf.
12332
12333 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
12334 (lisp--company-doc-string, lisp--company-location): New functions.
12335 (lisp-completion-at-point): Use them to improve Company support.
12336
12337 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
12338 params of lambda expressions.
12339 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
12340 (ruby-smie--opening-pipe-p): New function.
12341 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
12342 symbols and matched |...| for formal params.
12343 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
12344 from being treated as hanging. Handle "rescue".
12345
12346 2013-08-29 Glenn Morris <rgm@gnu.org>
12347
12348 * progmodes/cc-engine.el (c-pull-open-brace):
12349 Move definition before use.
12350
12351 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
12352
12353 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
12354 are immutable. Don't use `unsafe' any more.
12355 (cl--defsubst-expand): Don't substitute at the same time as keeping
12356 a residual unused let-binding. Don't use `unsafe' any more.
12357
12358 2013-08-29 Glenn Morris <rgm@gnu.org>
12359
12360 * calendar/cal-china.el (calendar-chinese-year-cache):
12361 Recenter on 2015.
12362
12363 * nxml/nxml-util.el (nxml-debug-clear-inside):
12364 Use cl-loop rather than loop.
12365
12366 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
12367
12368 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
12369
12370 2013-08-28 Glenn Morris <rgm@gnu.org>
12371
12372 * progmodes/antlr-mode.el: No need to require cc-mode twice.
12373
12374 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
12375
12376 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
12377
12378 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
12379
12380 * simple.el (repeat-complex-command--called-interactively-skip):
12381 New function.
12382 (repeat-complex-command): Use it (bug#14136).
12383
12384 * progmodes/cc-mode.el: Minor cleanup of var declarations.
12385 (c-define-abbrev-table): Add `doc' argument.
12386 (c-mode-abbrev-table, c++-mode-abbrev-table)
12387 (objc-mode-abbrev-table, java-mode-abbrev-table)
12388 (idl-mode-abbrev-table, pike-mode-abbrev-table)
12389 (awk-mode-abbrev-table): Use it.
12390 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
12391 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
12392 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
12393 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
12394 Move initialization into the declaration; and remove any
12395 autoload cookie.
12396
12397 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
12398 and dynamic let binding.
12399
12400 * vc/smerge-mode.el: Remove redundant :group args.
12401
12402 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
12403 to load-path.
12404
12405 2013-08-28 Juri Linkov <juri@jurta.org>
12406
12407 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
12408 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
12409 (isearch-other-meta-char): Handle an undefined shifted printing
12410 character by downshifting it. (Bug#15200)
12411
12412 2013-08-28 Juri Linkov <juri@jurta.org>
12413
12414 * isearch.el (isearch-search): Change regexp error message for
12415 non-regexp searches. (Bug#15166)
12416
12417 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
12418
12419 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
12420 for portability to hosts where /bin/sh has problems.
12421
12422 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
12423
12424 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
12425
12426 2013-08-27 Juri Linkov <juri@jurta.org>
12427
12428 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
12429 in the keyboard macro. (Bug#15126)
12430
12431 2013-08-27 Juri Linkov <juri@jurta.org>
12432
12433 * isearch.el (isearch-quote-char): Comment out converting unibyte
12434 to multibyte, thus syncing with its `quoted-insert' counterpart.
12435 (Bug#15166)
12436
12437 2013-08-27 Martin Rudalics <rudalics@gmx.at>
12438
12439 * window.el (display-buffer-use-some-window): Add missing
12440 argument in call of get-largest-window (Bug#15185).
12441 Reported by Stephen Leake.
12442
12443 2013-08-27 Glenn Morris <rgm@gnu.org>
12444
12445 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
12446
12447 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
12448
12449 * progmodes/python.el (python-font-lock-keywords): Don't return nil
12450 from a matcher-function unless there's no more matches (bug#15161).
12451
12452 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
12453
12454 * minibuffer.el: Revert change from 2013-08-20.
12455
12456 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
12457 with text property `tramp-default', if appropriate.
12458 (tramp-check-proper-host): New defun.
12459 (tramp-dissect-file-name): Do not check hostname. Revert change
12460 of 2013-03-18.
12461 (tramp-backtrace): Make VEC-OR-PROC optional.
12462
12463 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
12464 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
12465 * net/tramp-sh.el (tramp-maybe-open-connection):
12466 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
12467 Apply `tramp-check-proper-host'.
12468
12469 2013-08-26 Tassilo Horn <tsdh@gnu.org>
12470
12471 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
12472 lambda expression in order to have `describe-variable' display it.
12473
12474 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
12475
12476 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
12477 BUF can be optional. (Bug#15186)
12478
12479 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
12480
12481 * progmodes/flymake.el (flymake-get-real-file-name-function):
12482 Fix broken customization. (Bug#15184)
12483
12484 2013-08-25 Alan Mackenzie <acm@muc.de>
12485
12486 Improve indentation of bracelists defined by macros (without "=").
12487
12488 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
12489 expansion begins with "{", regard it as bracelist when it doesn't
12490 contain a ";".
12491
12492 Parse C++ inher-intro when there's a template split over 2 lines.
12493
12494 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
12495 rigorously the search for "class" etc. followed by ":".
12496
12497 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
12498 random languages a regexp which never matches rather than nil.
12499
12500 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
12501
12502 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
12503 (c-awk-regexp-one-line-possibly-open-char-list-re)
12504 (c-awk-one-line-possibly-open-regexp-re)
12505 (c-awk-one-line-non-syn-ws*-re): Remove.
12506 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
12507 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
12508 (c-awk-space*-unclosed-regexp-/-re): New constants.
12509 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
12510 aren't regexp delimiters.
12511
12512 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
12513 handling for a rare situation in AWK Mode involving unterminated
12514 strings/regexps.
12515
12516 2013-08-23 Glenn Morris <rgm@gnu.org>
12517
12518 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
12519
12520 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
12521
12522 * files.el (create-file-buffer): If the result would begin with
12523 spaces, prepend a "|" instead of removing them. (Bug#15162)
12524
12525 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
12526
12527 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
12528 text-properties (bug#15155).
12529
12530 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
12531 exist any more.
12532 (calc-keypad-redraw): Remove unused var `pad'.
12533 (calc-keypad-press): Remove unused var `menu'.
12534
12535 2013-08-23 Martin Rudalics <rudalics@gmx.at>
12536
12537 * window.el (display-buffer-pop-up-frame):
12538 Call pop-up-frame-function with BUFFER current so `make-frame' will
12539 use it as the new frame's buffer (Bug#15133).
12540
12541 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
12542
12543 * calendar/timeclock.el: Minor cleanups.
12544 (timeclock-ask-before-exiting, timeclock-use-display-time):
12545 Use `symbol'.
12546 (timeclock-modeline-display): Define as alias before the
12547 actual definition.
12548 (timeclock-mode-line-display): Use define-minor-mode.
12549 (timeclock-day-list-template): Make it a function, add an argument.
12550 (timeclock-day-list-required, timeclock-day-list-length)
12551 (timeclock-day-list-debt, timeclock-day-list-span)
12552 (timeclock-day-list-break): Adjust calls accordingly.
12553
12554 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
12555
12556 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
12557 Use read--expression so that completion works again.
12558
12559 2013-08-21 Sam Steingold <sds@gnu.org>
12560
12561 Add rudimentary inferior shell interaction
12562 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
12563 (sh-set-shell): Reset it.
12564 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
12565 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
12566
12567 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
12568
12569 * align.el: Use lexical-binding.
12570 (align-region): Simplify accordingly.
12571
12572 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
12573
12574 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
12575
12576 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
12577 `non-essential' up.
12578
12579 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
12580
12581 * net/tramp.el:
12582 * net/tramp-adb.el:
12583 * net/tramp-cmds.el:
12584 * net/tramp-ftp.el:
12585 * net/tramp-gvfs.el:
12586 * net/tramp-gw.el:
12587 * net/tramp-sh.el: Don't wrap external variable declarations by
12588 `eval-when-compile'.
12589
12590 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
12591
12592 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
12593 now that Emacs supports ImageMagick animations.
12594
12595 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
12596
12597 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
12598 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
12599
12600 2013-08-16 Martin Rudalics <rudalics@gmx.at>
12601
12602 * window.el (mouse-autoselect-window-select): Do autoselect when
12603 mouse pointer is on margin.
12604
12605 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
12606
12607 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
12608
12609 2013-08-16 Glenn Morris <rgm@gnu.org>
12610
12611 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
12612 Handle "Remote Directory" response of some clients. (Bug#15058)
12613
12614 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
12615 Tweak warning. (Bug#14926)
12616
12617 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
12618 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
12619
12620 * image-mode.el (image-mode-map): Add menu items to reverse,
12621 increase, decrease, reset animation speed.
12622 (image--set-speed, image-increase-speed, image-decrease-speed)
12623 (image-reverse-speed, image-reset-speed): New functions.
12624 (image-mode-map): Add bindings for speed commands.
12625
12626 * image.el (image-animate-get-speed, image-animate-set-speed):
12627 New functions.
12628 (image-animate-timeout): Respect image :speed property.
12629
12630 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
12631
12632 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
12633 previous line (bug#15101).
12634 (debugger-eval-expression, debugger-record-expression):
12635 Use read--expression (bug#15102).
12636
12637 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
12638
12639 Remove byte compiler warnings, visible when compiling with
12640 `byte-compile-force-lexical-warnings' set to t.
12641
12642 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
12643 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
12644 (tramp-handle-unhandled-file-name-directory)
12645 (tramp-handle-file-notify-add-watch, tramp-action-login)
12646 (tramp-action-succeed, tramp-action-permission-denied)
12647 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
12648 arguments with "_".
12649
12650 * net/tramp-adb.el (tramp-adb-parse-device-names)
12651 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
12652 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
12653 (tramp-adb-handle-file-truename): Remove unused arguments.
12654
12655 * net/tramp-cache.el (tramp-flush-directory-property)
12656 (tramp-flush-connection-property, tramp-list-connections)
12657 (tramp-parse-connection-properties): Prefix unused arguments with "_".
12658
12659 * net/tramp-compat.el (tramp-compat-make-temp-file):
12660 Rename FILENAME to F.
12661
12662 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
12663 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
12664 (tramp-zeroconf-parse-workstation-device-names)
12665 (tramp-zeroconf-parse-webdav-device-names)
12666 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
12667
12668 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
12669 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
12670
12671 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
12672 arguments.
12673 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
12674 (tramp-sh-handle-insert-file-contents-literally)
12675 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
12676 with "_".
12677 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
12678 Remove unused variables.
12679
12680 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
12681 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
12682 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
12683
12684 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
12685 Make them a defconst.
12686 (tramp-uuencode-region): Remove unused variable.
12687
12688 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
12689
12690 * frameset.el (frameset--prop-setter): New function.
12691 (frameset-prop): Add gv-setter declaration.
12692 (frameset-filter-minibuffer): Deal with the case that the minibuffer
12693 parameter was already set in FILTERED. Doc fix.
12694 (frameset--record-minibuffer-relationships): Allow saving a
12695 minibufferless frame without its corresponding minibuffer frame.
12696 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
12697 frame, if the frame id matches.
12698 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
12699 frames before orphaned ones.
12700 (frameset-restore): Warn about orphaned windows, instead of error out.
12701
12702 2013-08-14 Martin Rudalics <rudalics@gmx.at>
12703
12704 * window.el (window-make-atom): Don't overwrite parameter
12705 already present.
12706 (display-buffer-in-atom-window): Handle special case where we
12707 split an already atomic window.
12708 (window--major-non-side-window, display-buffer-in-side-window)
12709 (window--side-check): Ignore minibuffer window when walking
12710 window tree.
12711 (window-deletable-p): Return 'frame only if no other frame uses
12712 our minibuffer window.
12713 (record-window-buffer): Run buffer-list-update-hook.
12714 (split-window): Make sure window--check-frame won't destroy an
12715 existing atomic window in case the new window gets nested
12716 inside.
12717 (display-buffer-at-bottom): Ignore minibuffer window when
12718 walking window tree. Don't split a side window.
12719 (pop-to-buffer): Don't set-buffer here, the select-window call
12720 should do that.
12721 (mouse-autoselect-window-select): Autoselect only if we are in the
12722 text portion of the window.
12723
12724 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
12725
12726 * net/shr.el (shr-parse-image-data): New function to grab both the
12727 data itself and the Content-Type.
12728 (shr-put-image): Use it.
12729
12730 * net/eww.el (eww-display-image): Ditto.
12731
12732 * image.el (image-content-type-suffixes): New variable.
12733
12734 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
12735
12736 * progmodes/python.el (python-imenu--build-tree)
12737 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
12738
12739 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
12740
12741 * simple.el (backward-word): Mention the optional argument.
12742
12743 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
12744
12745 * frameset.el (frameset--make): Rename constructor from make-frameset.
12746 (frameset-p, frameset-valid-p): Don't autoload.
12747 (frameset-valid-p): Use normal accessors.
12748
12749 2013-08-13 Glenn Morris <rgm@gnu.org>
12750
12751 * progmodes/compile.el (compile-command): Tweak example in doc.
12752 * obsolete/scribe.el (scribe-mode):
12753 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
12754
12755 * mail/feedmail.el (feedmail-confirm-outgoing)
12756 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
12757
12758 * cus-start.el (truncate-partial-width-windows): Fix type.
12759
12760 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
12761
12762 * net/shr.el (shr-table-horizontal-line): Fix custom type.
12763
12764 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
12765
12766 * emacs-lisp/timer.el (timer--time-setter): New function.
12767 (timer--time): Use it as gv-setter.
12768
12769 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
12770 setter is not a symbol.
12771
12772 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
12773
12774 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
12775 if sending fails. This makes debugging easier.
12776
12777 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
12778
12779 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
12780 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
12781 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
12782
12783 2013-08-12 Eli Zaretskii <eliz@gnu.org>
12784
12785 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
12786
12787 2013-08-12 Glenn Morris <rgm@gnu.org>
12788
12789 * format.el (format-annotate-function):
12790 Handle read-only text properties in the source. (Bug#14887)
12791
12792 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
12793
12794 * net/eww.el (eww-display-html): Ignore coding system errors.
12795 One web site uses "utf-8lias" as the coding system.
12796
12797 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
12798
12799 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
12800
12801 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
12802
12803 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
12804 (tutorial--detailed-help): Remove unused local variables.
12805 (tutorial--save-tutorial-to): Use ignore-errors.
12806 (help-with-tutorial): Use looking-at-p.
12807
12808 * view.el (view-buffer-other-window, view-buffer-other-frame):
12809 Mark unused arguments.
12810
12811 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
12812 (woman-select-symbol-fonts, woman, woman-find-file)
12813 (woman-insert-file-contents, woman-non-underline-faces):
12814 Use string-match-p.
12815 (woman1-unquote): Move declaration.
12816
12817 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
12818 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
12819 argument. Remove unused local variable.
12820 (xml-parse-elem-type): Use string-match-p.
12821 (xml-substitute-numeric-entities): Use ignore-errors.
12822
12823 * calculator.el (calculator): Mark unused argument.
12824 (calculator-paste, calculator-quit, calculator-integer-p):
12825 Use ignore-errors.
12826 (calculator-string-to-number, calculator-decimal, calculator-exp)
12827 (calculator-op-or-exp): Use string-match-p.
12828
12829 * dired.el (dired-buffer-more-recently-used-p): Declare.
12830 (dired-insert-set-properties, dired-insert-old-subdirs):
12831 Use ignore-errors.
12832
12833 * dired-aux.el (dired-compress): Use ignore-errors.
12834 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
12835 (dired-do-async-shell-command, dired-do-shell-command)
12836 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
12837 (dired-insert-subdir-validate): Use string-match-p.
12838 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
12839 (dired-add-entry): Use string-match-p, looking-at-p.
12840 (dired-insert-subdir-newpos): Remove unused local variable.
12841
12842 * filenotify.el (file-notify-callback): Remove unused local variable.
12843
12844 * filesets.el (filesets-error): Mark unused argument.
12845 (filesets-which-command-p, filesets-filter-dir-names)
12846 (filesets-directory-files, filesets-get-external-viewer)
12847 (filesets-ingroup-get-data): Use string-match-p.
12848
12849 * find-file.el (ff-other-file-name, ff-other-file-name)
12850 (ff-find-the-other-file, ff-cc-hh-converter):
12851 Remove unused local variables.
12852 (ff-get-file-name): Use string-match-p.
12853 (ff-all-dirs-under): Use ignore-errors.
12854
12855 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
12856 (follow-select-if-visible): Remove unused local variable.
12857
12858 * forms.el (read-file-filter): Move declaration.
12859 (forms--make-format, forms--make-parser, forms-insert-record):
12860 Quote function with #'.
12861 (forms--update): Use string-match-p. Quote function with #'.
12862
12863 * help-mode.el (help-dir-local-var-def): Mark unused argument.
12864 (help-make-xrefs): Use looking-at-p.
12865 (help-xref-on-pp): Use looking-at-p, ignore-errors.
12866
12867 * ibuffer.el (ibuffer-ext-visible-p): Declare.
12868 (ibuffer-confirm-operation-on): Use string-match-p.
12869
12870 * msb.el (msb-item-handler, msb-dired-item-handler):
12871 Mark unused arguments.
12872
12873 * ses.el (ses-decode-cell-symbol)
12874 (ses-kill-override): Remove unused local variable.
12875 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
12876 (ses-load): Use ignore-errors, looking-at-p.
12877 (ses-jump-safe): Use ignore-errors.
12878 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
12879
12880 * tabify.el (untabify, tabify): Mark unused arguments.
12881
12882 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
12883 Mark unused argument.
12884 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
12885 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
12886
12887 * emacs-lisp/timer.el (timer--time): Define setter with
12888 gv-define-setter to avoid deprecation warning.
12889
12890 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
12891 (*record-cmpl-statistics-p*): Remove (was commented out).
12892 (cmpl-statistics-block): Remove (body was commented out).
12893 All callers changed.
12894 (add-completions-from-buffer, load-completions-from-file):
12895 Remove unused variables.
12896
12897 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
12898
12899 * filecache.el (file-cache-delete-file-list):
12900 Print message only when told so.
12901 (file-cache-files-matching): Use #' in mapconcat argument.
12902
12903 * ffap.el (ffap-url-at-point): Fix reference to variable
12904 thing-at-point-default-mail-uri-scheme.
12905
12906 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
12907
12908 * subr.el (define-error): New function.
12909 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
12910 error-file-not-found and define with define-error.
12911 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
12912 and define with define-error.
12913 * userlock.el (file-locked, file-supersession):
12914 * simple.el (mark-inactive):
12915 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
12916 * progmodes/ada-mode.el (ada-mode-errors):
12917 * play/life.el (life-extinct):
12918 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
12919 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
12920 * nxml/rng-util.el (rng-error):
12921 * nxml/rng-uri.el (rng-uri-error):
12922 * nxml/rng-match.el (rng-compile-error):
12923 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
12924 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
12925 * nxml/nxml-rap.el (nxml-scan-error):
12926 * nxml/nxml-outln.el (nxml-outline-error):
12927 * net/soap-client.el (soap-error):
12928 * net/gnutls.el (gnutls-error):
12929 * net/ange-ftp.el (ftp-error):
12930 * mpc.el (mpc-proc-error):
12931 * json.el (json-error, json-readtable-error, json-unknown-keyword)
12932 (json-number-format, json-string-escape, json-string-format)
12933 (json-key-format, json-object-format):
12934 * jka-compr.el (compression-error):
12935 * international/quail.el (quail-error):
12936 * international/kkc.el (kkc-error):
12937 * emacs-lisp/ert.el (ert-test-failed):
12938 * calc/calc.el (calc-error, inexact-result, math-overflow)
12939 (math-underflow):
12940 * bookmark.el (bookmark-error-no-filename):
12941 * epg.el (epg-error): Define with define-error.
12942
12943 * time.el (display-time-event-handler)
12944 (display-time-next-load-average): Don't call sit-for since it seems
12945 unnecessary (bug#15045).
12946
12947 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
12948 Use #' instead of ' to quote functions.
12949 (checkdoc-output-mode): Use setq-local.
12950 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
12951 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
12952 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
12953 (checkdoc-ispell, checkdoc-ispell-current-buffer)
12954 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
12955 (checkdoc-ispell-message-text, checkdoc-ispell-start)
12956 (checkdoc-ispell-continue, checkdoc-ispell-comments)
12957 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
12958
12959 * ido.el (ido-completion-help): Fix up compiler warning.
12960
12961 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
12962
12963 * frameset.el (frameset-p): Add autoload cookie.
12964 (frameset--jump-to-register): New function, based on code moved from
12965 register.el.
12966 (frameset-to-register): Move from register.el. Adapt to `registerv'.
12967
12968 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
12969 (frameset-restore, frameset-save, frameset-session-filter-alist):
12970 Remove declarations.
12971 (register-alist): Doc fix.
12972 (frameset-to-register): Move to frameset.el.
12973 (jump-to-register, describe-register-1): Remove frameset-specific code.
12974
12975 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
12976
12977 * allout-widgets.el (allout-widgets-pre-command-business)
12978 (allout-widgets-post-command-business)
12979 (allout-widgets-after-change-handler)
12980 (allout-decorate-item-and-context, allout-set-boundary-marker)
12981 (allout-body-modification-handler)
12982 (allout-graphics-modification-handler): Mark ignored arguments.
12983 (allout-widgets-post-command-business)
12984 (allout-widgets-exposure-change-processor)
12985 (allout-widgets-exposure-undo-processor)
12986 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
12987 (allout-parse-item-at-point, allout-decorate-item-guides)
12988 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
12989 * allout.el (epa-passphrase-callback-function): Declare.
12990 (allout-overlay-insert-in-front-handler)
12991 (allout-overlay-interior-modification-handler)
12992 (allout-isearch-end-handler, allout-chart-siblings)
12993 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
12994 (allout-yank-processing, allout-process-exposed)
12995 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
12996 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
12997 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
12998 (lisp-indent-defform): Mark ignored arguments.
12999 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
13000 (calculate-lisp-indent): Remove unused variables.
13001 * international/characters.el (indian-2-column, arabic-2-column)
13002 (tibetan): Mark ignored arguments.
13003 (use-cjk-char-width-table): Mark ignored arguments.
13004 Remove unused variables.
13005 * international/fontset.el (build-default-fontset-data)
13006 (x-compose-font-name, create-fontset-from-fontset-spec):
13007 Mark ignored arguments.
13008 (fontset-plain-name): Remove unused variables.
13009 * international/mule.el (charset-id, charset-bytes, generic-char-p)
13010 (keyboard-coding-system): Mark ignored arguments.
13011 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
13012 * help.el (resize-temp-buffer-window):
13013 * window.el (display-buffer-in-major-side-window)
13014 (display-buffer-in-side-window, display-buffer-in-previous-window):
13015 Remove unused variables.
13016 * isearch.el (isearch-forward-symbol):
13017 * version.el (emacs-bzr-version-bzr):
13018 * international/mule-cmds.el (current-language-environment):
13019 * term/common-win.el (x-handle-iconic, x-handle-geometry)
13020 (x-handle-display):
13021 * term/pc-win.el (x-list-fonts, x-display-planes)
13022 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
13023 (x-server-version, x-display-screens, x-display-mm-height)
13024 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
13025 (x-selection-owner-p, x-own-selection-internal)
13026 (x-disown-selection-internal, x-get-selection-internal)
13027 (msdos-initialize-window-system):
13028 * term/tty-colors.el (tty-color-alist, tty-color-clear):
13029 * term/x-win.el (x-handle-no-bitmap-icon):
13030 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
13031 (vc-default-find-file-hook, vc-default-extra-menu):
13032 Mark ignored arguments.
13033
13034 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
13035
13036 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
13037 break-condition in the context of the debugged code (bug#12685).
13038
13039 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
13040
13041 * comint.el:
13042 Do not use an overlay to highlight the last prompt. (Bug#14744)
13043 (comint-mode): Make comint-last-prompt buffer local.
13044 (comint-last-prompt): New variable.
13045 (comint-last-prompt-overlay): Remove. Superseded by
13046 comint-last-prompt.
13047 (comint-snapshot-last-prompt, comint-output-filter):
13048 Use comint-last-prompt.
13049
13050 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
13051
13052 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
13053 (frameset-save): Check validity of the resulting frameset.
13054
13055 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
13056
13057 * ido.el (ido-record-command): Add doc string.
13058
13059 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
13060
13061 * frameset.el (frameset): Do not disable creation of the default
13062 frameset-p predicate. Doc fix.
13063 (frameset-valid-p): New function, copied from the old predicate-p.
13064 Add additional checks.
13065 (frameset-restore): Check with frameset-valid-p.
13066 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
13067 (frameset-name, frameset-description, frameset-properties)
13068 (frameset-states): Add docstring.
13069 (frameset-session-filter-alist, frameset-persistent-filter-alist)
13070 (frameset-filter-alist): Doc fixes.
13071
13072 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
13073
13074 * frameset.el (frameset-p, frameset-prop): Doc fixes.
13075
13076 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
13077
13078 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
13079 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
13080 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
13081 (byte-compile-normal-call): Remove obsolescence check.
13082
13083 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
13084
13085 * frameset.el (frameset-restore): Doc fix.
13086
13087 * register.el (frameset-frame-id, frameset-frame-with-id)
13088 (frameset-p, frameset-restore, frameset-save): Declare.
13089 (register-alist): Document framesets.
13090 (frameset-session-filter-alist): Declare.
13091 (frameset-to-register): New function.
13092 (jump-to-register): Implement jumping to framesets. Doc fix.
13093 (describe-register-1): Describe framesets.
13094
13095 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
13096
13097 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
13098
13099 * desktop.el (desktop-save-frameset): Use new frameset-save args.
13100 Use lexical-binding.
13101
13102 * frameset.el (frameset): Use type vector, not list (incompatible
13103 change). Do not declare a new constructor, use the default one.
13104 Upgrade suggested properties `app', `name' and `desc' to slots `app',
13105 `name' and `description', respectively, and add read-only slot
13106 `timestamp'. Doc fixes.
13107 (frameset-copy, frameset-persistent-filter-alist)
13108 (frameset-filter-alist, frameset-switch-to-gui-p)
13109 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
13110 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
13111 (frameset-filter-iconified, frameset-keep-original-display-p):
13112 Doc fixes.
13113 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
13114 Rename from frameset-filter-(save|restore)-param. All callers changed.
13115 Doc fix.
13116 (frameset-p): Adapt to change to vector and be more thorough.
13117 Change arg name to OBJECT. Doc fix.
13118 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
13119 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
13120 All callers changed.
13121 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
13122 All callers changed.
13123 (frameset--record-minibuffer-relationships): Rename from
13124 frameset--process-minibuffer-frames. All callers changed.
13125 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
13126 Use new default constructor (again). Doc fix.
13127 (frameset--find-frame-if): Rename from `frameset--find-frame'.
13128 All callers changed.
13129 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
13130 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
13131 Doc fix.
13132 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
13133 PARAMETERS and WINDOW-STATE, respectively.
13134 (frameset-restore): Add new keyword argument PREDICATE.
13135 Reset frameset--target-display to nil. Doc fix.
13136
13137 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
13138
13139 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
13140 (bat-mode): Use it.
13141 (bat-mode-syntax-table): Mark \n as end-of-comment.
13142 (bat-font-lock-keywords): Remove comment rule.
13143
13144 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
13145 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
13146
13147 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
13148 (byte-compile-callargs-warn): Use `push'.
13149 (byte-compile-arglist-warn): Ignore higher-order "calls".
13150 (byte-compile-file-form-autoload): Use `pcase'.
13151 (byte-compile-function-form): If quoting a symbol, check that it exists.
13152
13153 2013-08-07 Eli Zaretskii <eliz@gnu.org>
13154
13155 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
13156 and add a few popular commands found in batch files.
13157 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
13158 (dos-mode): Doc fixes.
13159
13160 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
13161
13162 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
13163 (dos-mode): Use setq-local. Add space after "rem".
13164 (dos-mode-syntax-table): Don't use "w" for symbol chars.
13165 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
13166
13167 2013-08-07 Arni Magnusson <arnima@hafro.is>
13168
13169 * progmodes/dos.el: New file.
13170 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
13171 dos-mode.
13172
13173 2013-08-06 Glenn Morris <rgm@gnu.org>
13174
13175 * calendar/calendar.el: Add new faces, and day-header-array.
13176 (calendar-weekday-header, calendar-weekend-header)
13177 (calendar-month-header): New faces.
13178 (calendar-day-header-construct): New function.
13179 (calendar-day-header-width): Also :set calendar-day-header-array.
13180 (calendar-american-month-header, calendar-european-month-header)
13181 (calendar-iso-month-header): Use calendar- faces.
13182 (calendar-generate-month):
13183 Use calendar-day-header-array for day headers; apply faces to them.
13184 (calendar-mode): Check calendar-font-lock-keywords non-nil.
13185 (calendar-abbrev-construct): Add optional maxlen argument.
13186 (calendar-day-name-array): Doc fix.
13187 (calendar-day-name-array, calendar-abbrev-length)
13188 (calendar-day-abbrev-array):
13189 Also :set calendar-day-header-array, and maybe redraw.
13190 (calendar-day-header-array): New option. (Bug#15007)
13191 (calendar-font-lock-keywords): Set to nil and make obsolete.
13192 (calendar-day-name): Add option to use header array.
13193
13194 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
13195
13196 * net/shr.el (shr-render-td): Remove debugging.
13197 (shr-render-td): Make width computation consistent by defaulting
13198 all zero-width columns to 10 characters. This may not be optimal,
13199 but it's at least consistent.
13200 (shr-make-table-1): Redo last change to fix the real problem in
13201 colspan handling.
13202
13203 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
13204
13205 * files.el (cache-long-line-scans):
13206 Make obsolete alias to `cache-long-scans'.
13207
13208 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
13209
13210 * frameset.el (frameset, frameset-filter-alist)
13211 (frameset-filter-params, frameset-save, frameset--reuse-frame)
13212 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
13213 (frameset-compute-pos): Rename from frameset--compute-pos,
13214 and add docstring.
13215 (frameset-move-onscreen): Use frameset-compute-pos.
13216 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
13217
13218 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
13219 Fix typos in docstrings.
13220
13221 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
13222
13223 * frame.el (get-other-frame): Tiny cleanup.
13224
13225 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
13226
13227 * vc/vc.el (vc-default-ignore-completion-table):
13228 Silence byte-compiler warning.
13229
13230 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
13231 slot, which can indeed be nil.
13232 (frameset-live-filter-alist, frameset-persistent-filter-alist):
13233 Move entry for `left' from persistent to live filter alist.
13234 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
13235 Doc fixes.
13236 (frameset-filter-params): When restoring a frame, copy items added to
13237 `filtered', to avoid unwittingly modifying the original parameters.
13238 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
13239 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
13240
13241 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
13242 to use looking-at-p instead of looking-at. (Bug#15028)
13243
13244 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
13245
13246 Revert introduction of isearch-filter-predicates (bug#14714).
13247 Rely on add-function instead.
13248 * isearch.el (isearch-filter-predicates): Rename it back to
13249 isearch-filter-predicate.
13250 (isearch-message-prefix): Use advice-function-mapc and advice
13251 properties to get the isearch-message-prefix.
13252 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
13253 instead of run-hook-with-args-until-failure.
13254 (isearch-filter-visible): Not obsolete any more.
13255 * loadup.el: Preload nadvice.
13256 * replace.el (perform-replace): Revert to funcall
13257 instead of run-hook-with-args-until-failure.
13258 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
13259 * dired-aux.el (dired-isearch-filenames-mode): Rename from
13260 dired-isearch-filenames-toggle; make it into a proper minor mode.
13261 Use add/remove-function.
13262 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
13263 Call the minor-mode rather than add/remove-hook.
13264 (dired-isearch-filter-filenames):
13265 Remove isearch-message-prefix property.
13266 * info.el (Info--search-loop): New function, extracted from Info-search.
13267 Funcall isearch-filter-predicate instead of
13268 run-hook-with-args-until-failure isearch-filter-predicates.
13269 (Info-search): Use it.
13270 (Info-mode): Use isearch-filter-predicate instead of
13271 isearch-filter-predicates.
13272
13273 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
13274
13275 Do not call to `selected-window' where it is assumed by default.
13276 Affected functions are `window-minibuffer-p', `window-dedicated-p',
13277 `window-hscroll', `window-width', `window-height', `window-buffer',
13278 `window-frame', `window-start', `window-point', `next-window'
13279 and `window-display-table'.
13280 * abbrev.el (abbrev--default-expand):
13281 * bs.el (bs--show-with-configuration):
13282 * buff-menu.el (Buffer-menu-mouse-select):
13283 * calc/calc.el (calc):
13284 * calendar/calendar.el (calendar-generate-window):
13285 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
13286 (diary-make-entry):
13287 * comint.el (send-invisible, comint-dynamic-complete-filename)
13288 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
13289 * completion.el (complete):
13290 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
13291 * disp-table.el (describe-current-display-table):
13292 * doc-view.el (doc-view-insert-image):
13293 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
13294 * ehelp.el (with-electric-help):
13295 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
13296 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
13297 * emacs-lisp/helper.el (Helper-help-scroller):
13298 * emulation/cua-base.el (cua--post-command-handler-1):
13299 * eshell/esh-mode.el (eshell-output-filter):
13300 * ffap.el (ffap-gnus-wrapper):
13301 * help-macro.el (make-help-screen):
13302 * hilit-chg.el (highlight-compare-buffers):
13303 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
13304 * hl-line.el (global-hl-line-highlight):
13305 * icomplete.el (icomplete-simple-completing-p):
13306 * isearch.el (isearch-done):
13307 * jit-lock.el (jit-lock-stealth-fontify):
13308 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
13309 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
13310 * mpc.el (mpc-tagbrowser, mpc):
13311 * net/rcirc.el (rcirc-any-buffer):
13312 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
13313 * play/landmark.el (landmark-max-width, landmark-max-height):
13314 * play/zone.el (zone):
13315 * progmodes/compile.el (compilation-goto-locus):
13316 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
13317 * progmodes/etags.el (find-tag-other-window):
13318 * progmodes/fortran.el (fortran-column-ruler):
13319 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
13320 * progmodes/verilog-mode.el (verilog-point-text):
13321 * reposition.el (reposition-window):
13322 * rot13.el (toggle-rot13-mode):
13323 * server.el (server-switch-buffer):
13324 * shell.el (shell-dynamic-complete-command)
13325 (shell-dynamic-complete-environment-variable):
13326 * simple.el (insert-buffer, set-selective-display)
13327 (delete-completion-window):
13328 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
13329 (speedbar-recenter):
13330 * startup.el (fancy-splash-head):
13331 * textmodes/ispell.el (ispell-command-loop):
13332 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
13333 * tutorial.el (help-with-tutorial):
13334 * vc/add-log.el (add-change-log-entry):
13335 * vc/compare-w.el (compare-windows):
13336 * vc/ediff-help.el (ediff-indent-help-message):
13337 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
13338 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
13339 (ediff-setup-control-frame):
13340 * vc/emerge.el (emerge-position-region):
13341 * vc/pcvs-util.el (cvs-bury-buffer):
13342 * window.el (walk-windows, mouse-autoselect-window-select):
13343 * winner.el (winner-set-conf, winner-undo): Related users changed.
13344
13345 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
13346
13347 * frameset.el (frameset--set-id): Doc fix.
13348 (frameset-frame-id, frameset-frame-id-equal-p)
13349 (frameset-locate-frame-id): New functions.
13350 (frameset--process-minibuffer-frames, frameset--reuse-frame)
13351 (frameset-restore): Use them.
13352
13353 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
13354
13355 Do not call to `selected-frame' where it is assumed by default.
13356 Affected functions are `raise-frame', `redraw-frame',
13357 `frame-first-window', `frame-terminal' and `delete-frame'.
13358 * calendar/appt.el (appt-disp-window):
13359 * epg.el (epg-wait-for-completion):
13360 * follow.el (follow-delete-other-windows-and-split)
13361 (follow-avoid-tail-recenter):
13362 * international/mule.el (set-terminal-coding-system):
13363 * mail/rmail.el (rmail-mail-return):
13364 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
13365 * progmodes/f90.el (f90-add-imenu-menu):
13366 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
13367 * server.el (server-switch-buffer):
13368 * simple.el (delete-completion-window):
13369 * talk.el (talk):
13370 * term/xterm.el (terminal-init-xterm-modify-other-keys)
13371 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
13372 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
13373 * vc/ediff.el (ediff-documentation): Related users changed.
13374 * frame.el (selected-terminal): Remove the leftover.
13375
13376 2013-08-05 Glenn Morris <rgm@gnu.org>
13377
13378 * calendar/calendar.el (calendar-generate-month):
13379 Fix for calendar-column-width != 1 + calendar-day-digit-width.
13380 (calendar-generate-month, calendar-font-lock-keywords):
13381 Fix for calendar-day-header-width > length of any day name.
13382
13383 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
13384
13385 * desktop.el (desktop-clear): Use new name of sort predicate.
13386
13387 * frameset.el (frameset): Add docstring. Move :version property to its
13388 own `version' slot.
13389 (frameset-copy): Rename from copy-frameset.
13390 (frameset-p): Check more thoroughly.
13391 (frameset-prop): Do not check for :version, which is no longer a prop.
13392 (frameset-live-filter-alist, frameset-persistent-filter-alist):
13393 Use new :never value instead of t.
13394 (frameset-filter-alist): Expand and clarify docstring.
13395 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
13396 (frameset-filter-minibuffer, frameset-filter-save-param)
13397 (frameset-filter-restore-param, frameset-filter-iconified):
13398 Add pointer to docstring of frameset-filter-alist.
13399 (frameset-filter-params): Rename filter values to be more meaningful:
13400 :never instead of t, and reverse the meanings of :save and :restore.
13401 (frameset--process-minibuffer-frames): Clarify error message.
13402 (frameset-save): Avoid unnecessary and confusing call to framep.
13403 Use new BOA constructor for framesets.
13404 (frameset--reuse-list): Doc fix.
13405 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
13406 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
13407 (frameset-minibufferless-first-p): Doc fix.
13408 Rename from frameset-sort-frames-for-deletion.
13409 (frameset-restore): Doc fixes. Use new function names.
13410 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
13411
13412 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
13413
13414 * desktop.el (desktop-restore-forces-onscreen)
13415 (desktop-restore-reuses-frames): Document :keyword constant values.
13416 (desktop-filter-parameters-alist): Remove, now identical to
13417 frameset-filter-alist.
13418 (desktop--filter-tty*): Remove, moved to frameset.el.
13419 (desktop-save-frameset, desktop-restore-frameset):
13420 Do not pass :filters argument.
13421
13422 * frameset.el (frameset-live-filter-alist)
13423 (frameset-persistent-filter-alist): New variables.
13424 (frameset-filter-alist): Use them. Add autoload cookie.
13425 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
13426 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
13427 `frameset--id' (it's supposed to be internal to frameset.el).
13428 (frameset--process-minibuffer-frames): Ditto. Doc fix.
13429 (frameset--initial-params): New function.
13430 (frameset--get-frame): Use it. Doc fix.
13431 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
13432 Accept :all, not 'all.
13433 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
13434 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
13435 with fbound symbols. Fix frame id matching, and remove matching ids if
13436 the frame being restored is deleted. Obey :delete.
13437
13438 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
13439
13440 * subr.el (macrop): New function.
13441 (text-clone--maintaining): New var.
13442 (text-clone--maintain): Rename from text-clone-maintain. Use it
13443 instead of inhibit-modification-hooks.
13444
13445 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
13446 a proxy, so as handle autoloads and redefinitions of the target.
13447 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
13448
13449 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
13450 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
13451 (pcase--mutually-exclusive-p): New function.
13452 (pcase--split-consp): Use it.
13453 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
13454 mutually exclusive with the current predicate.
13455
13456 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
13457 (edebug-macrop): Remove. Use `macrop' instead.
13458 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
13459 (ad-macro-p):
13460 * eshell/esh-cmd.el (eshell-macrop):
13461 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
13462
13463 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
13464
13465 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
13466 (advice-mapc): New function, using it.
13467 (advice-function-member-p): New function.
13468 (advice--normalize): Store the cdr in advice--saved-rewrite since
13469 that's the part that will be changed.
13470 (advice--symbol-function): New function.
13471 (advice-remove): Handle removal before the function is defined.
13472 Adjust to new advice--saved-rewrite.
13473 (advice-member-p): Use advice-function-member-p and
13474 advice--symbol-function.
13475
13476 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
13477
13478 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
13479 (frameset-filter-minibuffer): Doc fix.
13480 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
13481 (frameset--set-id, frameset--process-minibuffer-frames)
13482 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
13483 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
13484
13485 * desktop.el (desktop-clear): Only delete frames when called
13486 interactively and desktop-restore-frames is non-nil. Doc fix.
13487 (desktop-read): Set desktop-saved-frameset to nil.
13488
13489 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
13490
13491 * vc/vc.el (vc-ignore): Rewrite.
13492 (vc-default-ignore-completion-table, vc--read-lines)
13493 (vc--add-line, vc--remove-regexp): New functions.
13494
13495 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
13496 (vc-svn-ignore-completion-table): New function.
13497
13498 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
13499 (vc-hg-ignore-completion-table)
13500 (vc-hg-find-ignore-file): New functions.
13501
13502 * vc/vc-git.el (vc-git-ignore): Rewrite.
13503 (vc-git-ignore-completion-table)
13504 (vc-git-find-ignore-file): New functions.
13505
13506 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
13507
13508 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
13509 (vc-bzr-ignore-completion-table)
13510 (vc-bzr-find-ignore-file): New functions.
13511
13512 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
13513
13514 * frameset.el (frameset-prop): New function and setter.
13515 (frameset-save): Do not modify frame list passed by the caller.
13516
13517 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
13518
13519 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
13520
13521 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
13522
13523 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
13524 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
13525
13526 * custom.el (custom-initialize-default, custom-initialize-set)
13527 (custom-initialize-reset, custom-initialize-changed): Affect the
13528 toplevel-default-value (bug#6275, bug#14586).
13529 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
13530 for bug#6275.
13531
13532 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
13533
13534 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
13535 Add cl-def* expressions.
13536
13537 * frameset.el (frameset-filter-params): Fix order of arguments.
13538
13539 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
13540
13541 Move code related to saving frames to frameset.el.
13542 * desktop.el: Require frameset.
13543 (desktop-restore-frames): Doc fix.
13544 (desktop-restore-reuses-frames): Rename from
13545 desktop-restoring-reuses-frames.
13546 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
13547 (desktop-clear): Clear frames too.
13548 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
13549 (desktop--filter-tty*, desktop-save, desktop-read):
13550 Use frameset functions.
13551 (desktop-before-saving-frames-functions, desktop--filter-*-color)
13552 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
13553 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
13554 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
13555 (desktop--process-minibuffer-frames, desktop-save-frames)
13556 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
13557 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
13558 (desktop--sort-states, desktop-restoring-frames-p)
13559 (desktop-restore-frames): Remove. Most code moved to frameset.el.
13560 (desktop-restoring-frameset-p, desktop-restore-frameset)
13561 (desktop--check-dont-save, desktop-save-frameset): New functions.
13562 (desktop--app-id): New constant.
13563 (desktop-first-buffer, desktop-buffer-ok-count)
13564 (desktop-buffer-fail-count): Move before first use.
13565 * frameset.el: New file.
13566
13567 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
13568
13569 * files.el: Use lexical-binding.
13570 (dir-locals-read-from-file): Remove unused `err' variable.
13571 (hack-dir-local-variables--warned-coding): New var.
13572 (hack-dir-local-variables): Use it to avoid repeated warnings.
13573 (make-backup-file-name--default-function): New function.
13574 (make-backup-file-name-function): Use it as default.
13575 (buffer-stale--default-function): New function.
13576 (buffer-stale-function): Use it as default.
13577 (revert-buffer-insert-file-contents--default-function): New function.
13578 (revert-buffer-insert-file-contents-function): Use it as default.
13579 (insert-directory): Avoid add-to-list.
13580
13581 * autorevert.el (auto-revert-handler): Simplify.
13582 Use buffer-stale--default-function.
13583
13584 2013-08-01 Tassilo Horn <tsdh@gnu.org>
13585
13586 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
13587
13588 * whitespace.el (whitespace-ensure-local-variables): New function.
13589 (whitespace-cleanup-region): Call it.
13590 (whitespace-turn-on): Call it.
13591
13592 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
13593
13594 Complete file name handlers.
13595
13596 * net/tramp.el (tramp-handle-set-visited-file-modtime)
13597 (tramp-handle-verify-visited-file-modtime)
13598 (tramp-handle-file-notify-rm-watch): New functions.
13599 (tramp-call-process): Do not bind `default-directory'.
13600
13601 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
13602 Order alphabetically.
13603 <access-file, add-name-to-file, dired-call-process>:
13604 <dired-compress-file, file-acl, file-notify-rm-watch>:
13605 <file-ownership-preserved-p, file-selinux-context>:
13606 <make-directory-internal, make-symbolic-link, set-file-acl>:
13607 <set-file-selinux-context, set-visited-file-modtime>:
13608 <verify-visited-file-modtime>: Add handler.
13609 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
13610
13611 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
13612 <file-notify-add-watch, file-notify-rm-watch>:
13613 <set-file-times, set-visited-file-modtime>:
13614 <verify-visited-file-modtime>: Add handler.
13615 (with-tramp-gvfs-error-message)
13616 (tramp-gvfs-handle-set-visited-file-modtime)
13617 (tramp-gvfs-fuse-file-name): Remove.
13618 (tramp-gvfs-handle-file-notify-add-watch)
13619 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
13620 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
13621
13622 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
13623 Order alphabetically.
13624 <file-notify-rm-watch>: Use default Tramp handler.
13625 <executable-find>: Remove private handler.
13626 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
13627 `default-directory'.
13628 (tramp-sh-handle-executable-find)
13629 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
13630 (tramp-sh-file-gvfs-monitor-dir-process-filter)
13631 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
13632 Do not use `format' in `tramp-message'.
13633
13634 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
13635 <file-notify-rm-watch, set-visited-file-modtime>:
13636 <verify-visited-file-modtime>: Add handler.
13637 (tramp-smb-call-winexe): Do not bind `default-directory'.
13638
13639 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
13640
13641 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
13642
13643 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
13644
13645 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
13646 use it.
13647 (log-view-diff-changeset): Same.
13648 (log-view-diff-common): Call backend command `previous-revision'
13649 to find out the previous revision, in both cases. Swap the
13650 variables `to' and `fr', so that `fr' usually refers to the
13651 earlier revision (Bug#14989).
13652
13653 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
13654
13655 * ibuf-ext.el (ibuffer-filter-by-filename):
13656 Make it work with dired buffers too.
13657
13658 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
13659
13660 * emacs-lisp/re-builder.el (reb-color-display-p):
13661 * files.el (save-buffers-kill-terminal):
13662 * net/browse-url.el (browse-url):
13663 * server.el (server-save-buffers-kill-terminal):
13664 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
13665 Prefer nil to selected-frame for the first arg of frame-parameter.
13666
13667 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
13668
13669 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
13670
13671 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
13672
13673 * minibuffer.el (completion--twq-all): Try and preserve each
13674 completion's case choice (bug#14907).
13675
13676 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
13677
13678 * net/network-stream.el (open-network-stream): Mention the new
13679 :nogreeting parameter.
13680 (network-stream-open-starttls): Use the :nogreeting parameter
13681 (bug#14938).
13682
13683 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
13684
13685 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
13686 more natural than popping.
13687
13688 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
13689 (shr-urlify): Highlight under mouse.
13690
13691 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
13692
13693 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
13694
13695 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
13696
13697 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
13698 buffer for output.
13699
13700 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
13701 point-min==1. Fix search string. Fix parentheses missing.
13702
13703 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
13704 assume point-min==1. Fix search string. Fix parentheses missing.
13705
13706 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
13707
13708 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
13709 buffer for output.
13710
13711 2013-07-29 Eli Zaretskii <eliz@gnu.org>
13712
13713 * frame.el (frame-notice-user-settings): Avoid inflooping when the
13714 initial frame is minibuffer-less. (Bug#14841)
13715
13716 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
13717
13718 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
13719 option.
13720
13721 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
13722 (tramp-maybe-open-connection): Use it.
13723
13724 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
13725
13726 * desktop.el (desktop--make-frame): Include `minibuffer' in the
13727 minimal set of parameters passed when creating a frame, because
13728 the minibuffer status of a frame cannot be changed later.
13729
13730 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
13731
13732 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
13733 replace-regexp-in-string and inadvertent omissions in previous change.
13734 (todo-filter-items): Ensure only file names are comma-separated in
13735 name of filtered items buffer.
13736
13737 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
13738
13739 * desktop.el: Optionally force offscreen frames back onscreen.
13740 (desktop-restoring-reuses-frames): New option.
13741 (desktop--compute-pos, desktop--move-onscreen): New functions.
13742 (desktop--make-frame): Use desktop--move-onscreen.
13743
13744 2013-07-27 Alan Mackenzie <acm@muc.de>
13745
13746 Fontify a Java generic method as a function.
13747 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
13748 value to t.
13749
13750 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
13751
13752 * calendar/todo-mode.el: Add command to rename todo files.
13753 (todo-rename-file): New command.
13754 (todo-key-bindings-t): Add key binding for it. Change the
13755 bindings of todo-filter-regexp-items(-multifile) to use `x'
13756 instead of `r', since the latter is better suited to the new
13757 renaming command.
13758
13759 2013-07-27 Alan Mackenzie <acm@muc.de>
13760
13761 Make Java try-with-resources statement parse properly.
13762 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
13763 (c-block-stmt-1-2-key): New language constants/variables.
13764 * progmodes/cc-engine.el (c-beginning-of-statement-1)
13765 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
13766 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
13767 with c-block-stmt-1-2-key.
13768
13769 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
13770
13771 * desktop.el (desktop--make-frame): Apply most frame parameters after
13772 creating the frame to force (partially or totally) offscreen frames to
13773 be restored as such.
13774
13775 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
13776
13777 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
13778 (Bug#14948)
13779
13780 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
13781
13782 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
13783 `base' arg of backtrace-frame.
13784
13785 2013-07-26 Eli Zaretskii <eliz@gnu.org>
13786
13787 * simple.el (list-processes): Doc fix.
13788
13789 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
13790
13791 * desktop.el (desktop--select-frame):
13792 Try harder to reuse existing frames.
13793
13794 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
13795
13796 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
13797 (edebug-eval): Use backtrace-eval.
13798 (edebug--display, edebug--recursive-edit): Don't let-bind the
13799 edebug-outer-* vars that keep track of variables we locally let-bind.
13800 (edebug-outside-excursion): Don't restore outside values of locally
13801 let-bound vars.
13802 (edebug--display): Use user-error.
13803 (cl-lexical-debug, cl-debug-env): Remove.
13804
13805 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
13806
13807 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
13808 are restored to be sure that they are visible before deleting any
13809 remaining ones.
13810
13811 2013-07-26 Matthias Meulien <orontee@gmail.com>
13812
13813 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
13814 vc-print-root-log. (Bug#14948)
13815
13816 2013-07-26 Richard Stallman <rms@gnu.org>
13817
13818 Add aliases for encrypting mail.
13819 * epa.el (epa-mail-aliases): New option.
13820 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
13821 Bind inhibit-read-only so read-only text doesn't ruin everything.
13822 (epa-mail-default-recipients): New subroutine broken out.
13823 Handle epa-mail-aliases.
13824
13825 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
13826
13827 Add support for lexical variables to the debugger's `e' command.
13828 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
13829 vars, except for debugger-outer-match-data.
13830 (debugger-frame-number): Move check for "on a function call" from
13831 callers into it. Add `skip-base' argument.
13832 (debugger-frame, debugger-frame-clear): Simplify accordingly.
13833 (debugger-env-macro): Only reset the state stored in non-variables,
13834 i.e. current-buffer and match-data.
13835 (debugger-eval-expression): Rewrite using backtrace-eval.
13836 * subr.el (internal--called-interactively-p--get-frame): Remove.
13837 (called-interactively-p):
13838 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
13839 `base' arg of backtrace-frame instead.
13840
13841 2013-07-26 Glenn Morris <rgm@gnu.org>
13842
13843 * align.el (align-regexp): Doc fix. (Bug#14857)
13844 (align-region): Explicit error if subexpression missing/does not match.
13845
13846 * simple.el (global-visual-line-mode):
13847 Do not duplicate the mode lighter. (Bug#14858)
13848
13849 2013-07-25 Martin Rudalics <rudalics@gmx.at>
13850
13851 * window.el (display-buffer): In display-buffer bind
13852 split-window-keep-point to t, bug#14829.
13853
13854 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
13855
13856 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
13857 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
13858 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
13859 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
13860 Change accordingly.
13861 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
13862 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
13863
13864 2013-07-25 Glenn Morris <rgm@gnu.org>
13865
13866 * dired-x.el (dired-mark-extension): Convert comment to doc string.
13867
13868 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
13869
13870 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
13871 parameter to modify-frame-parameters if the value has not changed;
13872 this is a workaround for bug#14949.
13873 (desktop--make-frame): On cl-delete-if call, check parameter name,
13874 not full parameter.
13875
13876 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
13877
13878 * vc/vc.el (vc-ignore): New function.
13879
13880 * vc/vc-svn.el (vc-svn-ignore): New function.
13881
13882 * vc/vc-hg.el (vc-hg-ignore): New function.
13883
13884 * vc/vc-git.el (vc-git-ignore): New function.
13885
13886 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
13887 (vc-dir-ignore): New function.
13888
13889 * vc/vc-cvs.el (vc-cvs-ignore): New function.
13890 (cvs-append-to-ignore): Move here from pcvs.el.
13891
13892 * vc/vc-bzr.el (vc-bzr-ignore): New function.
13893
13894 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
13895
13896 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
13897
13898 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
13899 (desktop-restore-frames): Warn when deleting an existing frame failed.
13900
13901 2013-07-24 Glenn Morris <rgm@gnu.org>
13902
13903 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
13904
13905 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
13906
13907 * filenotify.el (file-notify-supported-p):
13908 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
13909 Remove functions.
13910
13911 * autorevert.el (auto-revert-use-notify)
13912 (auto-revert-notify-add-watch):
13913 * net/tramp.el (tramp-file-name-for-operation):
13914 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
13915 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
13916 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
13917 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
13918 Remove `file-notify-supported-p' entry.
13919
13920 2013-07-24 Glenn Morris <rgm@gnu.org>
13921
13922 * printing.el: Replace all uses of deleted ps-windows-system,
13923 ps-lp-system, ps-flatten-list with lpr- versions.
13924
13925 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
13926
13927 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
13928 checked with memq (bug#14935).
13929
13930 * files.el (revert-buffer-function): Use a non-nil default.
13931 (revert-buffer-preserve-modes): Declare var to
13932 provide access to the `preserve-modes' argument.
13933 (revert-buffer): Let-bind it.
13934 (revert-buffer--default): New function, extracted from revert-buffer.
13935
13936 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
13937
13938 * lpr.el: Signal print errors more prominently.
13939 (print-region-function): Don't default to nil.
13940 (lpr-print-region): New function, extracted from print-region-1.
13941 Check lpr's return value and signal an error in case of problem.
13942 (print-region-1): Use it.
13943 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
13944 versions instead.
13945 (ps-printer-name): Default to nil.
13946 (ps-printer-name-option): Default to lpr-printer-switch.
13947 (ps-print-region-function): Don't default to nil.
13948 (ps-postscript-code-directory): Simplify default.
13949 (ps-do-despool): Use lpr-print-region to properly check the outcome.
13950 (ps-string-list, ps-eval-switch, ps-flatten-list)
13951 (ps-flatten-list-1): Remove.
13952 (ps-multibyte-buffer): Avoid setq.
13953 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
13954 (print-region-function, ps-print-region-function): Don't set them here.
13955
13956 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
13957
13958 * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
13959 (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
13960 (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
13961 (ido-decorations): Doc fix.
13962
13963 * ansi-color.el: Fix old URL.
13964
13965 2013-07-23 Michael R. Mauger <michael@mauger.com>
13966
13967 * progmodes/sql.el: Version 3.3
13968 (sql-product-alist): Improve oracle :prompt-cont-regexp.
13969 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
13970 (sql-interactive-remove-continuation-prompt): Rewrite, use
13971 functions above. Fix continuation prompt and complete output line
13972 handling.
13973 (sql-redirect-one, sql-execute): Use `read-only-mode' on
13974 redirected output buffer.
13975 (sql-mode): Restore deleted code (Bug#13591).
13976
13977 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
13978
13979 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
13980
13981 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
13982
13983 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
13984
13985 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
13986 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
13987 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
13988
13989 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
13990
13991 * desktop.el (desktop-clear): Simplify; remove useless checks
13992 against invalid buffer names.
13993 (desktop-list*): Use cl-list*.
13994 (desktop-buffer-info, desktop-create-buffer): Simplify.
13995
13996 2013-07-23 Leo Liu <sdl.web@gmail.com>
13997
13998 * bookmark.el (bookmark-make-record): Restore NAME as a default
13999 value. (Bug#14933)
14000
14001 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
14002
14003 * emacs-lisp/autoload.el (autoload--setup-output): New function,
14004 extracted from autoload--insert-text.
14005 (autoload--insert-text): Remove.
14006 (autoload--print-cookie-text): New function, extracted from
14007 autoload--insert-cookie-text.
14008 (autoload--insert-cookie-text): Remove.
14009 (autoload-generate-file-autoloads): Adjust calls accordingly.
14010
14011 * winner.el (winner-hook-installed-p): Remove.
14012 (winner-mode): Simplify accordingly.
14013
14014 * subr.el (add-to-list): Fix compiler-macro when `append' is
14015 not constant. Don't use `cl-member' for the base case.
14016
14017 * progmodes/subword.el: Fix boundary case (bug#13758).
14018 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
14019 own group.
14020 (subword-backward-regexp): Make it a constant.
14021 (subword-forward-internal): Don't treat a trailing capital as the
14022 beginning of a word.
14023
14024 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
14025
14026 * emacs-lisp/package.el (package-menu-mode): Don't modify the
14027 global value of tabulated-list-revert-hook (bug#14930).
14028
14029 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
14030
14031 * desktop.el: Require 'cl-lib.
14032 (desktop-before-saving-frames-functions): New hook.
14033 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
14034 for frames being saved. Rename from desktop--save-minibuffer-frames.
14035 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
14036 Do not save frames with non-nil `desktop-dont-save' parameter.
14037 Filter out deleted frames.
14038 (desktop--find-frame): Use cl-find-if.
14039 (desktop--select-frame): Use cl-(first|second|third) to access values
14040 of desktop-mini.
14041 (desktop--make-frame): Use cl-delete-if.
14042 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
14043 (desktop-restore-frames): Use cl-(first|second|third) to access values
14044 of desktop-mini. Look for visible frame at the end, not while
14045 restoring frames.
14046
14047 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
14048 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
14049 Use string-match-p, looking-at-p (bug#14927).
14050
14051 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
14052
14053 * desktop.el (desktop-saved-frame-states):
14054 Rename from desktop--saved-states; all users changed.
14055 (desktop-save-frames): Rename from desktop--save-frames.
14056 Do not save state to desktop file.
14057 (desktop-save): Save desktop-saved-frame-states to desktop file
14058 and reset to nil.
14059 (desktop-restoring-frames-p): New function.
14060 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
14061 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
14062 buffer-lists when restoring frames. Suggested by Martin Rudalics.
14063
14064 * desktop.el: Correctly restore iconified frames.
14065 (desktop--filter-iconified-position): New function.
14066 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
14067
14068 2013-07-20 Glenn Morris <rgm@gnu.org>
14069
14070 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
14071 Let `message' do the formatting.
14072 (def-gdb-preempt-display-buffer): Add explicit format.
14073
14074 * image-dired.el (image-dired-track-original-file):
14075 Use with-current-buffer.
14076 (image-dired-track-thumbnail): Use with-current-buffer.
14077 Avoid changing point of wrong window.
14078
14079 * image-dired.el (image-dired-track-original-file):
14080 Avoid changing point of wrong window. (Bug#14909)
14081
14082 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
14083
14084 * progmodes/gdb-mi.el (gdb-done-or-error):
14085 Guard against "%" in gdb output. (Bug#14127)
14086
14087 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
14088
14089 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
14090 (Bug#14826)
14091
14092 * international/mule.el (coding-system-iso-2022-flags): Fix last
14093 change.
14094
14095 2013-07-20 Kenichi Handa <handa@gnu.org>
14096
14097 * international/mule.el (coding-system-iso-2022-flags):
14098 Add `8-bit-level-4'. (Bug#8522)
14099
14100 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
14101
14102 * net/shr.el (shr-mouse-browse-url): New command and keystroke
14103 (bug#14815).
14104
14105 * net/eww.el (eww-process-text-input): Allow inputting when the
14106 point is at the start of the line, as the properties aren't
14107 front-sticky.
14108
14109 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
14110 degenerate widths.
14111
14112 2013-07-19 Richard Stallman <rms@gnu.org>
14113
14114 * epa.el (epa-popup-info-window): Doc fix.
14115
14116 * subr.el (split-string): New arg TRIM.
14117
14118 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
14119
14120 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
14121 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
14122
14123 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
14124
14125 * filenotify.el (file-notify--library): Rename from
14126 `file-notify-support'. Do not autoload. Adapt all uses.
14127 (file-notify-supported-p): New defun.
14128
14129 * autorevert.el (auto-revert-use-notify):
14130 Use `file-notify-supported-p' instead of `file-notify-support'.
14131 Adapt docstring.
14132 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
14133
14134 * net/tramp.el (tramp-file-name-for-operation):
14135 Add `file-notify-supported-p'.
14136
14137 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
14138 New defun.
14139 (tramp-sh-file-name-handler-alist): Add it as handler for
14140 `file-notify-supported-p '.
14141
14142 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
14143 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
14144 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
14145 Add `ignore' as handler for `file-notify-*' functions.
14146
14147 2013-07-17 Eli Zaretskii <eliz@gnu.org>
14148
14149 * simple.el (line-move-partial, line-move): Don't start vscroll or
14150 scroll-up if the current line is not taller than the window.
14151 (Bug#14881)
14152
14153 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
14154
14155 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
14156 highlight question marks in the method names as strings.
14157 (ruby-block-beg-keywords): Inline.
14158 (ruby-font-lock-keyword-beg-re): Extract from
14159 `ruby-font-lock-keywords'.
14160
14161 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
14162
14163 * frame.el (blink-cursor-blinks): New defcustom.
14164 (blink-cursor-blinks-done): New defvar.
14165 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
14166 (blink-cursor-timer-function): Check if number of blinks has been
14167 done on X and NS.
14168 (blink-cursor-suspend, blink-cursor-check): New defuns.
14169
14170 2013-07-15 Glenn Morris <rgm@gnu.org>
14171
14172 * edmacro.el (edmacro-format-keys): Fix previous change.
14173
14174 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
14175
14176 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
14177 The hack didn't work outside English locales anyway.
14178
14179 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
14180
14181 * simple.el (define-alternatives): Rename from alternatives-define,
14182 per RMS' suggestion.
14183
14184 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
14185
14186 * desktop.el (desktop-restore-frames): Change default to t.
14187 (desktop-restore-in-current-display): Now offer more options.
14188 (desktop-restoring-reuses-frames): New customization option.
14189 (desktop--saved-states): Doc fix.
14190 (desktop-filter-parameters-alist): New variable, renamed and expanded
14191 from desktop--excluded-frame-parameters.
14192 (desktop--target-display): New variable.
14193 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
14194 (desktop--filter-tty*, desktop--filter-*-color)
14195 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
14196 (desktop--filter-save-desktop-parm)
14197 (desktop-restore-in-original-display-p): New functions.
14198 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
14199 (desktop--save-minibuffer-frames): New function, inspired by a similar
14200 function from Martin Rudalics.
14201 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
14202 (desktop--restore-in-this-display-p): Remove.
14203 (desktop--find-frame): Rename from desktop--find-frame-in-display
14204 and add predicate argument.
14205 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
14206 (desktop--reuse-list): New variable.
14207 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
14208 New functions.
14209 (desktop--restore-frames): Add support for "minibuffer-special" frames.
14210
14211 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
14212
14213 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
14214
14215 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
14216
14217 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
14218 Highlight conversion methods on Kernel.
14219
14220 2013-07-13 Alan Mackenzie <acm@muc.de>
14221
14222 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
14223 and comment it out. This out-commenting enables certain C++
14224 declarations to be parsed correctly.
14225
14226 2013-07-13 Eli Zaretskii <eliz@gnu.org>
14227
14228 * international/mule.el (define-coding-system): Doc fix.
14229
14230 * simple.el (default-font-height): Don't call font-info if the
14231 frame's default font didn't change since the frame was created.
14232 (Bug#14838)
14233
14234 2013-07-13 Leo Liu <sdl.web@gmail.com>
14235
14236 * ido.el (ido-read-file-name): Guard against non-symbol value.
14237
14238 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
14239
14240 * progmodes/python.el (python-imenu--build-tree): Fix corner case
14241 in nested defuns.
14242
14243 2013-07-13 Leo Liu <sdl.web@gmail.com>
14244
14245 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
14246 ido-set-matches call. (Bug#6852)
14247
14248 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
14249
14250 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
14251 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
14252 Ruby 2.0.
14253 (ruby-font-lock-keywords): Distinguish calls to functions with
14254 module-like names from module references. Highlight character
14255 literals.
14256
14257 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
14258
14259 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
14260 (gdb-send): Handle continued commands. (Bug#14847)
14261
14262 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
14263
14264 * desktop.el (desktop--v2s): Remove unused local variable.
14265 (desktop-save-buffer): Make defvar-local; adjust docstring.
14266 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
14267 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
14268
14269 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
14270
14271 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
14272
14273 2013-07-12 Eli Zaretskii <eliz@gnu.org>
14274
14275 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
14276 (Bug#14842)
14277
14278 2013-07-12 Glenn Morris <rgm@gnu.org>
14279
14280 * doc-view.el: Require cl-lib at runtime too.
14281 (doc-view-remove-if): Remove.
14282 (doc-view-search-next-match, doc-view-search-previous-match):
14283 Use cl-remove-if.
14284
14285 * edmacro.el: Require cl-lib at runtime too.
14286 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
14287 (edmacro-mismatch, edmacro-subseq): Remove.
14288
14289 * shadowfile.el: Require cl-lib.
14290 (shadow-remove-if): Remove.
14291 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
14292 Use cl-remove-if.
14293
14294 * wid-edit.el: Require cl-lib.
14295 (widget-choose): Use cl-remove-if.
14296 (widget-remove-if): Remove.
14297
14298 * progmodes/ebrowse.el: Require cl-lib at runtime too.
14299 (ebrowse-delete-if-not): Remove.
14300 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
14301 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
14302 Use cl-delete-if-not.
14303
14304 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
14305
14306 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
14307 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
14308
14309 2013-07-12 Leo Liu <sdl.web@gmail.com>
14310
14311 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
14312
14313 2013-07-11 Glenn Morris <rgm@gnu.org>
14314
14315 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
14316 (edebug-gensym-index, edebug-gensym):
14317 Remove reimplementation of cl-gensym.
14318 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
14319
14320 * thumbs.el: Require cl-lib at run-time too.
14321 (thumbs-gensym-counter, thumbs-gensym):
14322 Remove reimplementation of cl-gensym.
14323 (thumbs-temp-file): Use cl-gensym.
14324
14325 * emacs-lisp/ert.el: Require cl-lib at runtime too.
14326 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
14327 (ert--intersection, ert--set-difference, ert--set-difference-eq)
14328 (ert--union, ert--gensym-counter, ert--gensym-counter)
14329 (ert--coerce-to-vector, ert--remove*, ert--string-position)
14330 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
14331 (ert-make-test-unbound, ert--expand-should-1)
14332 (ert--expand-should, ert--should-error-handle-error)
14333 (should-error, ert--explain-equal-rec)
14334 (ert--plist-difference-explanation, ert-select-tests)
14335 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
14336 Use cl-lib functions rather than reimplementations.
14337
14338 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
14339
14340 * net/tramp.el (tramp-methods): Extend docstring.
14341 (tramp-connection-timeout): New defcustom.
14342 (tramp-error-with-buffer): Reset timestamp only when appropriate.
14343 (with-tramp-progress-reporter): Simplify.
14344 (tramp-process-actions): Improve messages.
14345
14346 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
14347 * net/tramp-sh.el (tramp-maybe-open-connection):
14348 Use `tramp-connection-timeout'.
14349 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
14350 (Bug#14808)
14351
14352 2013-07-11 Leo Liu <sdl.web@gmail.com>
14353
14354 * ido.el (ido-read-file-name): Conform to the requirements of
14355 read-file-name. (Bug#11861)
14356 (ido-read-directory-name): Conform to the requirements of
14357 read-directory-name.
14358
14359 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
14360
14361 * subr.el (delay-warning): New function.
14362
14363 2013-07-10 Eli Zaretskii <eliz@gnu.org>
14364
14365 * simple.el (default-line-height): New function.
14366 (line-move-partial, line-move): Use it instead of computing the
14367 line height inline.
14368 (line-move-partial): Always compute ROWH. If the last line is
14369 partially-visible, but its text is completely visible, allow
14370 cursor to enter such a partially-visible line.
14371
14372 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
14373
14374 Improve error messages. (Bug#14808)
14375
14376 * net/tramp.el (tramp-current-connection): New defvar, moved from
14377 tramp-sh.el.
14378 (tramp-message-show-progress-reporter-message): Remove, not
14379 needed anymore.
14380 (tramp-error-with-buffer): Show message in minibuffer.
14381 Discard input before waiting. Reset connection timestamp.
14382 (with-tramp-progress-reporter): Improve messages.
14383 (tramp-process-actions): Use progress reporter. Delete process in
14384 case of error. Improve messages.
14385
14386 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
14387 Call `tramp-error-with-buffer' with vector and buffer.
14388 (tramp-current-connection): Remove.
14389 (tramp-maybe-open-connection): The car of
14390 `tramp-current-connection' are the first 3 slots of the vector.
14391
14392 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
14393
14394 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
14395 inside continued strings.
14396
14397 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
14398
14399 Timestamp fixes for undo (Bug#14824).
14400 * files.el (clear-visited-file-modtime): Move here from fileio.c.
14401
14402 2013-07-10 Leo Liu <sdl.web@gmail.com>
14403
14404 * files.el (require-final-newline): Allow safe local value.
14405 (Bug#14834)
14406
14407 2013-07-09 Leo Liu <sdl.web@gmail.com>
14408
14409 * ido.el (ido-read-directory-name): Handle fallback.
14410 (ido-read-file-name): Update DIR to ido-current-directory.
14411 (Bug#1516)
14412 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
14413
14414 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
14415
14416 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
14417 "autoload". Remove "warn lower camel case" section, previously
14418 commented out. Highlight negation char. Do not highlight the
14419 target in singleton method definitions.
14420
14421 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
14422
14423 * faces.el (tty-setup-hook): Declare the hook.
14424
14425 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
14426 and detect when a guard/pred depends on local vars (bug#14773).
14427 (pcase--u1): Adjust caller.
14428
14429 2013-07-08 Eli Zaretskii <eliz@gnu.org>
14430
14431 * simple.el (line-move-partial, line-move): Account for
14432 line-spacing.
14433 (line-move-partial): Avoid setting vscroll when the last
14434 partially-visible line in window is of default height.
14435
14436 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
14437
14438 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
14439 been used a while.
14440
14441 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
14442
14443 * subr.el (read-quoted-char): Remove unused local variable `char'.
14444
14445 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
14446
14447 * vc/ediff.el (ediff-version): Version update.
14448 (ediff-files-command, ediff3-files-command, ediff-merge-command)
14449 (ediff-merge-with-ancestor-command, ediff-directories-command)
14450 (ediff-directories3-command, ediff-merge-directories-command)
14451 (ediff-merge-directories-with-ancestor-command): New functions.
14452 All are command-line interfaces to ediff: to facilitate calling
14453 Emacs with the appropriate ediff functions invoked.
14454
14455 * emulation/viper-cmd.el (viper-del-forward-char-in-insert):
14456 New function.
14457 (viper-save-kill-buffer): Check if buffer is modified.
14458
14459 * emulation/viper.el (viper-version): Version update.
14460 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
14461
14462 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
14463
14464 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
14465 * emulation/viper-cmd.el (viper-envelop-ESC-key): Remove function.
14466 (viper-intercept-ESC-key): Simplify.
14467 * emulation/viper-keym.el (viper-ESC-key): Make it a constant,
14468 don't use kbd.
14469 * emulation/viper.el (viper--tty-ESC-filter, viper--lookup-key)
14470 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
14471 (viper-setup-ESC-to-escape): New functions.
14472 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
14473 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
14474
14475 2013-07-07 Eli Zaretskii <eliz@gnu.org>
14476
14477 * simple.el (default-font-height, window-screen-lines):
14478 New functions.
14479 (line-move, line-move-partial): Use them instead of
14480 frame-char-height and window-text-height. This makes scrolling
14481 text smoother when the buffer's default face uses a font that is
14482 different from the frame's default font.
14483
14484 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
14485
14486 * files.el (write-file): Do not display confirm dialog for NS,
14487 it does its own dialog, which can't be canceled (Bug#14578).
14488
14489 2013-07-06 Eli Zaretskii <eliz@gnu.org>
14490
14491 * simple.el (line-move-partial): Adjust the row returned by
14492 posn-at-point for the current window-vscroll. (Bug#14567)
14493
14494 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
14495
14496 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
14497 (tramp-sh-file-inotifywait-process-filter): Handle file names with
14498 spaces.
14499
14500 2013-07-06 Martin Rudalics <rudalics@gmx.at>
14501
14502 * window.el (window-state-put-stale-windows): New variable.
14503 (window--state-put-2): Save list of windows without matching buffer.
14504 (window-state-put): Remove "bufferless" windows if possible.
14505
14506 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
14507
14508 * simple.el (alternatives-define): Remove leftover :group keyword.
14509 Tweak docstring.
14510
14511 2013-07-06 Leo Liu <sdl.web@gmail.com>
14512
14513 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
14514 (ido-enable-virtual-buffers): New variable.
14515 (ido-buffer-internal, ido-toggle-virtual-buffers)
14516 (ido-make-buffer-list): Use it.
14517 (ido-exhibit): Support turning on and off virtual buffers
14518 automatically.
14519
14520 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
14521
14522 * simple.el (alternatives-define): New macro.
14523
14524 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
14525
14526 * subr.el (read-quoted-char): Use read-key.
14527 (sit-for): Let read-event decode tty input (bug#14782).
14528
14529 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
14530
14531 * calendar/todo-mode.el: Add handling of file deletion, both by
14532 mode command and externally. Fix various related bugs.
14533 Clarify Commentary and improve some documentation strings and code.
14534 (todo-delete-file): New command.
14535 (todo-check-file): New function.
14536 (todo-show): Handle external deletion of the file we're trying to
14537 show (bug#14688). Replace called-interactively-p by an optional
14538 prefix argument to avoid problematic interaction with catch form
14539 when byte compiled (bug#14702).
14540 (todo-quit): Handle external deletion of the archive's todo file.
14541 Make sure the buffer that was visiting the archive file is still
14542 live before trying to bury it.
14543 (todo-category-completions): Handle external deletion of any
14544 category completion files.
14545 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
14546 of todo files, in case of external deletion.
14547 (todo-add-file): Replace unnecessary setq by let-binding.
14548 (todo-find-archive): Check whether there are any archives.
14549 Replace unnecessary setq by let-binding.
14550 (todo-archive-done-item): Use find-file-noselect to get the
14551 archive buffer whether or not the archive already exists.
14552 Remove superfluous code. Use file size instead of buffer-file-name to
14553 check if the archive is new; if it is, update list of archives.
14554 (todo-default-todo-file): Allow nil to be a valid value for when
14555 there are no todo files.
14556 (todo-reevaluate-default-file-defcustom): Use corrected definition
14557 of todo-default-todo-file.
14558 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
14559 (todo-delete-category, todo-show-categories-table)
14560 (todo-category-number): Clarify comment.
14561 (todo-filter-items): Clarify documentation string.
14562 (todo-show-current-file, todo-display-as-todo-file)
14563 (todo-reset-and-enable-done-separator): Tweak documentation string.
14564 (todo-done-separator): Make separator length window-width, since
14565 bug#2749 is now fixed.
14566
14567 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
14568
14569 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
14570 Support both "gvfs-monitor-dir" and "inotifywait".
14571 (tramp-sh-file-inotifywait-process-filter): Rename from
14572 `tramp-sh-file-notify-process-filter'.
14573 (tramp-sh-file-gvfs-monitor-dir-process-filter)
14574 (tramp-get-remote-gvfs-monitor-dir): New defuns.
14575
14576 2013-07-05 Leo Liu <sdl.web@gmail.com>
14577
14578 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
14579
14580 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
14581
14582 * frame.el (display-pixel-height, display-pixel-width)
14583 (display-mm-height, display-mm-width): Mention behavior on
14584 multi-monitor setups in docstrings.
14585 (w32-display-monitor-attributes-list): Declare function.
14586 (display-monitor-attributes-list): Use it.
14587
14588 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
14589
14590 * filenotify.el: New package.
14591
14592 * autorevert.el (top): Require filenotify.el.
14593 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
14594 instead.
14595 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
14596 (auto-revert-notify-handler): Use `file-notify-*' functions.
14597
14598 * subr.el (file-notify-handle-event): Move function to filenotify.el.
14599
14600 * net/tramp.el (tramp-file-name-for-operation):
14601 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
14602
14603 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
14604 for `file-notify-add-watch' and `file-notify-rm-watch'.
14605 (tramp-process-sentinel): Improve trace.
14606 (tramp-sh-handle-file-notify-add-watch)
14607 (tramp-sh-file-notify-process-filter)
14608 (tramp-sh-handle-file-notify-rm-watch)
14609 (tramp-get-remote-inotifywait): New defuns.
14610
14611 2013-07-03 Juri Linkov <juri@jurta.org>
14612
14613 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
14614 call of `occur-read-primary-args' to interactive spec.
14615
14616 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
14617 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
14618
14619 2013-07-03 Matthias Meulien <orontee@gmail.com>
14620
14621 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
14622 `Buffer-menu-multi-occur'. Add it to the menu.
14623 (Buffer-menu-mode): Document it in docstring.
14624 (Buffer-menu-multi-occur): New command. (Bug#14673)
14625
14626 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
14627
14628 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
14629 keywords and built-ins.
14630
14631 2013-07-03 Glenn Morris <rgm@gnu.org>
14632
14633 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
14634
14635 Make info-xref checks case-sensitive by default
14636 * info.el (Info-find-node, Info-find-in-tag-table)
14637 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
14638 Add option for exact case matching of nodes.
14639 * info-xref.el (info-xref): New custom group.
14640 (info-xref-case-fold): New option.
14641 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
14642
14643 2013-07-03 Leo Liu <sdl.web@gmail.com>
14644
14645 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
14646
14647 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
14648
14649 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
14650 middle of block statement initially, lower the depth. Remove
14651 FIXME comment, not longer valid. Remove middle of block statement
14652 detection, no need to do that anymore since we've been using
14653 `ruby-parse-region' here.
14654
14655 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
14656
14657 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
14658
14659 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
14660
14661 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
14662
14663 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
14664
14665 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
14666 (desktop-restore-in-current-display): New customization option.
14667 (desktop--excluded-frame-parameters): Add `font'.
14668 (desktop--save-frames): Rename from desktop--save-windows.
14669 (desktop--restore-in-this-display-p): New function.
14670 (desktop--make-full-frame): Remove unwanted width/height from
14671 full(width|height) frames.
14672 (desktop--restore-frames): Rename from desktop--restore-windows.
14673 Obey desktop-restore-current-display. Do not delete old frames or
14674 select a new frame unless we were able to restore at least one frame.
14675
14676 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
14677
14678 * files.el (find-file-noselect): Simplify conditional expression.
14679
14680 * textmodes/remember.el (remember-append-to-file):
14681 Don't mix `find-buffer-visiting' and `get-file-buffer'.
14682
14683 Add `remember-notes' function to store random notes across Emacs
14684 restarts.
14685 * textmodes/remember.el (remember-data-file): Add :set callback to
14686 affect notes buffer (if any).
14687 (remember-notes): New command.
14688 (remember-notes-buffer-name, bury-remember-notes-on-kill):
14689 New defcustoms for the `remember-notes' function.
14690 (remember-notes-save-and-bury-buffer): New command.
14691 (remember-notes-mode-map): New variable.
14692 (remember-mode): New minor mode.
14693 (remember-notes--kill-buffer-query): New function.
14694 * startup.el (initial-buffer-choice): Add notes to custom type.
14695
14696 2013-06-30 Eli Zaretskii <eliz@gnu.org>
14697
14698 * bindings.el (right-char, left-char): Don't call sit-for, this is
14699 no longer needed. Use arithmetic comparison only for numerical
14700 arguments.
14701
14702 * international/mule-cmds.el (select-safe-coding-system):
14703 Handle the case of FROM being a string correctly. (Bug#14755)
14704
14705 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
14706
14707 * net/shr.el (shr-make-table-1): Add a sanity check that allows
14708 progression on degenerate tables.
14709 (shr-rescale-image): ImageMagick animated images currently don't work.
14710
14711 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
14712
14713 Some fixes and improvements for desktop frame restoration.
14714 It is still experimental and disabled by default.
14715 * desktop.el (desktop--save-windows): Put the selected frame at
14716 the head of the list.
14717 (desktop--make-full-frame): New function.
14718 (desktop--restore-windows): Try to re-select the frame that was
14719 selected upon saving. Do not abort if some frames fail to restore,
14720 just show an error message and continue. Set up maximized frames
14721 so they have default non-maximized dimensions.
14722
14723 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
14724
14725 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
14726 Don't start heredoc inside a string or comment.
14727
14728 2013-06-29 Eli Zaretskii <eliz@gnu.org>
14729
14730 * bindings.el (visual-order-cursor-movement): New defcustom.
14731 (right-char, left-char): Provide visual-order cursor motion by
14732 calling move-point-visually. Update the doc strings.
14733
14734 2013-06-28 Kenichi Handa <handa@gnu.org>
14735
14736 * international/mule.el (define-coding-system): New coding system
14737 properties :inhibit-null-byte-detection,
14738 :inhibit-iso-escape-detection, and :prefer-utf-8.
14739 (set-buffer-file-coding-system): If :charset-list property of
14740 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
14741 appropriate for setting.
14742
14743 * international/mule-cmds.el (select-safe-coding-system):
14744 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
14745 multibyte characters, return utf-8 (or one of its siblings).
14746
14747 * international/mule-conf.el (prefer-utf-8): New coding system.
14748 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
14749 files.
14750
14751 2013-06-28 Ivan Kanis <ivan@kanis.fr>
14752
14753 * net/shr.el (shr-render-region): New function.
14754
14755 * net/eww.el: Autoload `eww-browse-url'.
14756
14757 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
14758
14759 * emacs-lisp/package-x.el (package-upload-buffer-internal):
14760 Adapt to `package-desc-version' being a list.
14761 Use `package--ac-desc-version' to retrieve version from a package
14762 archive element.
14763
14764 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
14765
14766 New experimental feature to save&restore window and frame setup.
14767 * desktop.el (desktop-save-windows): New defcustom.
14768 (desktop--saved-states): New var.
14769 (desktop--excluded-frame-parameters): New defconst.
14770 (desktop--filter-frame-parms, desktop--find-frame-in-display)
14771 (desktop--restore-windows, desktop--save-windows): New functions.
14772 (desktop-save): Call `desktop--save-windows'.
14773 (desktop-read): Call `desktop--restore-windows'.
14774
14775 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
14776
14777 * net/shr.el (add-face-text-property): Remove compat definition.
14778
14779 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
14780
14781 * info.el (Info-try-follow-nearest-node): Move search for footnote
14782 above search for node name to prevent missing a footnote (bug#14717).
14783
14784 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
14785
14786 * obsolete/otodo-mode.el: Add obsolescence info to file header.
14787
14788 2013-06-27 Leo Liu <sdl.web@gmail.com>
14789
14790 * net/eww.el (eww-read-bookmarks): Check file size.
14791
14792 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
14793
14794 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
14795 advice--pending if newdef is nil or an autoload (bug#13820).
14796 (advice-mapc): New function.
14797
14798 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
14799
14800 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
14801 probably.
14802 (eww-mode-map): Add a menu bar.
14803 (eww-add-bookmark): New command.
14804 (eww-bookmark-mode): New mode and commands.
14805 (eww-add-bookmark): Remove newlines from the title.
14806 (eww-bookmark-browse): Don't bug out if it's the only window.
14807
14808 2013-06-26 Glenn Morris <rgm@gnu.org>
14809
14810 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
14811 (hfy-size): Handle ttys. (Bug#14668)
14812
14813 * info-xref.el: Update for Texinfo 5 change in *note format.
14814 (info-xref-node-re, info-xref-note-re): New constants.
14815 (info-xref-check-buffer): Use info-xref-note-re.
14816
14817 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
14818
14819 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
14820
14821 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
14822 nil terminate the loop (bug#14718).
14823
14824 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
14825
14826 * net/eww.el: Rework history traversal. When going forward/back,
14827 put these actions into the history, too, so that they can be
14828 replayed.
14829 (eww-render): Move the history reset to the correct buffer.
14830
14831 2013-06-25 Juri Linkov <juri@jurta.org>
14832
14833 * files-x.el (modify-dir-local-variable): Change the header comment
14834 in the file with directory local variables. (Bug#14692)
14835
14836 * files-x.el (read-file-local-variable-value): Add `default'.
14837 (Bug#14710)
14838
14839 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
14840
14841 * net/eww.el (eww-make-unique-file-name): Create a unique file
14842 name before saving to entering `y' accidentally asynchronously.
14843
14844 2013-06-25 Ivan Kanis <ivan@kanis.fr>
14845
14846 * net/eww.el (eww-download): New command and keystroke.
14847
14848 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
14849
14850 * net/eww.el (eww-copy-page-url): Change name of command.
14851
14852 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
14853 be more consistent with Info and dired.
14854
14855 * net/eww.el (eww-mode-map): Ditto.
14856
14857 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
14858
14859 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
14860 packages from archives.
14861 (package-archive-contents): Change format; include obsolete packages.
14862 (package-desc): Use `dir' to mark builtin packages.
14863 (package--from-builtin): Set the `dir' field to `builtin'.
14864 (generated-autoload-file, version-control): Declare.
14865 (package-compute-transaction): Change first arg and return value to be
14866 lists of package-descs. Adjust to new package-archive-contents format.
14867 (package--add-to-archive-contents): Adjust to new
14868 package-archive-contents format.
14869 (package-download-transaction): Arg is now a list of package-descs.
14870 (package-install): If `pkg' is a package name, pass it as
14871 a requirement, so it is subject to the usual (e.g. disabled) checks.
14872 (describe-package): Accept package-desc as well.
14873 (describe-package-1): Describe a specific package-desc. Add links to
14874 other package-descs for the same package name.
14875 (package-menu-describe-package): Pass the actual package-desc.
14876 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
14877 works correctly.
14878 (package-desc-status): New function.
14879 (package-menu--refresh): New function, extracted
14880 from package-menu--generate.
14881 (package-menu--generate): Use it.
14882 (package-delete): Update package-alist.
14883 (package-menu-execute): Don't call package-initialize.
14884
14885 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
14886 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
14887 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
14888 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
14889 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
14890 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
14891
14892 2013-06-25 Martin Rudalics <rudalics@gmx.at>
14893
14894 * window.el (window--state-get-1): Workaround for bug#14527.
14895 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
14896
14897 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
14898
14899 * net/eww.el (eww-back-url): Implement the history by stashing all
14900 the data into a list.
14901 (eww-forward-url): Allow going forward in the history, too.
14902
14903 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
14904
14905 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
14906 for values and use read--expression for expressions (bug#14710).
14907 (read-file-local-variable): Avoid setq.
14908 (read-file-local-variable-mode): Use minor-mode-list.
14909
14910 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14911
14912 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
14913 for DOI URLs.
14914
14915 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14916
14917 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
14918 Update imenu-support when dialect changes.
14919
14920 2013-06-25 Leo Liu <sdl.web@gmail.com>
14921
14922 * ido.el (ido-read-internal): Allow forward slash on windows.
14923
14924 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
14925
14926 * net/eww.el (eww): Start of strings is \\`, not ^.
14927
14928 2013-06-24 Ivan Kanis <ivan@kanis.fr>
14929
14930 * net/shr.el (shr-browse-url): Fix interactive spec.
14931
14932 * net/eww.el (eww): Add a trailing slash to domain names.
14933
14934 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
14935
14936 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
14937
14938 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
14939
14940 * net/shr.el (shr-browse-url): Use an external browser if given a
14941 prefix.
14942
14943 * net/eww.el (eww-external-browser): Move to shr.
14944
14945 2013-06-24 Ivan Kanis <ivan@kanis.fr>
14946
14947 * net/eww.el (eww): Work more correctly for file: URLs.
14948 (eww-detect-charset): Allow quoted charsets.
14949 (eww-yank-page-url): New command and keystroke.
14950
14951 2013-06-24 Daiki Ueno <ueno@gnu.org>
14952
14953 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
14954 file name of gpg executable.
14955 (epg-context-program): New function.
14956 (epg-context-home-directory): New function.
14957 (epg-context-set-program): New function.
14958 (epg-context-set-home-directory): New function.
14959 (epg--start): Use `epg-context-program' instead of
14960 'epg-gpg-program'.
14961 (epg--list-keys-1): Likewise.
14962
14963 2013-06-24 Leo Liu <sdl.web@gmail.com>
14964
14965 * ido.el (ido-read-internal): Fix bug#14620.
14966
14967 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
14968
14969 * faces.el (face-documentation): Simplify.
14970 (read-face-attribute, tty-find-type, x-resolve-font-name):
14971 Use `string-match-p'.
14972 (list-faces-display): Use `string-match-p'. Simplify.
14973 (face-spec-recalc): Check face to avoid face alias loops.
14974 (read-color): Use `string-match-p' and non-capturing parenthesis.
14975
14976 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
14977
14978 * net/shr.el (shr-rescale-image): Use the new
14979 :max-width/:max-height functionality.
14980
14981 2013-06-23 Ivan Kanis <ivan@kanis.fr>
14982
14983 * net/eww.el (eww-search-prefix): New variable.
14984 (eww): Use it.
14985 (eww-external-browser): New variable.
14986 (eww-mode-map): New keystroke.
14987 (eww-browse-with-external-browser): New command.
14988
14989 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
14990
14991 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
14992
14993 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
14994 Don't skip aligning the next header field when padding is 0;
14995 otherwise, field width is not respected unless the title is as
14996 wide as the field.
14997
14998 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
14999
15000 * emacs-lisp/package.el (package-el-version): Remove.
15001 (package-process-define-package): Fix inf-loop.
15002 (package-install): Allow symbols as arguments again.
15003
15004 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
15005
15006 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
15007 add some more keyword-like methods.
15008 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
15009
15010 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
15011
15012 * bs.el (bs-buffer-show-mark): Make defvar-local.
15013 (bs-mode): Use setq-local.
15014
15015 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
15016 (emacs-lock--try-unlocking): Make defvar-local.
15017
15018 2013-06-22 Glenn Morris <rgm@gnu.org>
15019
15020 * play/cookie1.el (cookie-apropos): Minor simplification.
15021
15022 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
15023
15024 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
15025
15026 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
15027 `regexp-opt', it breaks the build during dumping.
15028
15029 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
15030
15031 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
15032 Highlight keyword-like methods on Kernel and Module with
15033 font-lock-builtin-face.
15034 (auto-mode-alist): Consolidate different entries into one regexp
15035 and add more *file-s.
15036
15037 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
15038
15039 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
15040
15041 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
15042 (diary-entry): Use it in the action of this button type instead of
15043 diary-goto-entry.
15044
15045 * calendar/todo-mode.el: New version.
15046 (todo-add-category): Append new category to end of file and give
15047 it the highest number, instead of putting it at the beginning and
15048 giving it 0. Incorporate noninteractive functionality.
15049 (todo-forward-category): Adapt to 1-based category numbering.
15050 Allow skipping over archived categories.
15051 (todo-backward-category): Derive from todo-forward-category.
15052 (todo-backward-item, todo-forward-item): Make noninteractive and
15053 delegate interactive part to new commands. Make sensitive to done items.
15054 (todo-categories): Make value an alist of category names and
15055 vectors of item counts.
15056 (todo-category-beg): Make a defconst.
15057 (todo-category-number): Use 1 instead of 0 as initial value.
15058 (todo-category-select): Make sensitive to overlays, optional item
15059 highlighting and done items.
15060 (todo-delete-item): Make sensitive to overlays and marked and done items.
15061 (todo-edit-item): Make sensitive to overlays and editing of
15062 date/time header optional. Add format checks.
15063 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
15064 no-op if point is not on an item. Advertise using todo-edit-quit.
15065 (todo-edit-mode): Make sensitive to new format, font-locking, and
15066 multiple todo files.
15067 (todo-insert-item, todo-insert-item-here): Derive from
15068 todo-basic-insert-item and extend functionality.
15069 (todo-item-end, todo-item-start): Make sensitive to done items.
15070 (todo-item-string): Don't return text properties. Restore point.
15071 (todo-jump-to-category): Make sensitive to multiple todo files and
15072 todo archives. Use extended category completion.
15073 (todo-lower-item, todo-raise-item): Rename to *-priority and
15074 derive from todo-set-item-priority.
15075 (todo-mode): Derive from special-mode. Make sensitive to new
15076 format, font-locking and multiple todo files. Make read-only.
15077 (todo-mode-map): Don't suppress digit keys, so they can supply
15078 prefix arguments. Add many new key bindings.
15079 (todo-prefix): Insert as an overlay instead of file text.
15080 Change semantics from diary date expression to purely visual mark.
15081 (todo-print): Rename to todo-print-buffer. Make buffer display
15082 features printable. Remove option to restrict number of items
15083 printed. Add option to print to file.
15084 (todo-print-function): Rename to todo-print-buffer-function.
15085 (todo-quit): Extend to handle exiting new todo modes.
15086 (todo-remove-item): Make sensitive to overlays.
15087 (todo-save): Extend to buffers of filtered items.
15088 (todo-show): Make sensitive to done items, multiple todo files and
15089 new todo modes. Offer to convert legacy todo file before creating
15090 first new todo file.
15091 (todo-show-priorities): Rename to todo-top-priorities.
15092 Change semantics of value 0.
15093 (todo-top-priorities): Rename to todo-filter-top-priorities,
15094 derive from todo-filter-items and extend functionality.
15095 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
15096 and extend functionality to other types of filtered items.
15097 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
15098 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
15099 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
15100 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
15101 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
15102 (todo-edit-mode-hook, todo-entry-prefix-function)
15103 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
15104 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
15105 (todo-initials, todo-insert-threshold, todo-item-string-start)
15106 (todo-line-string, todo-menu, todo-mode-hook)
15107 (todo-more-important-p, todo-previous-answer, todo-previous-line)
15108 (todo-print-priorities, todo-remove-separator)
15109 (todo-save-top-priorities-too, todo-string-count-lines)
15110 (todo-string-multiline-p, todo-time-string-format)
15111 (todo-tmp-buffer-name): Remove.
15112 (todo-add-file, todo-archive-done-item, todo-choose-archive)
15113 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
15114 (todo-edit-category-diary-inclusion)
15115 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
15116 (todo-edit-file, todo-edit-item-date-day)
15117 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
15118 (todo-edit-item-date-month, todo-edit-item-date-to-today)
15119 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
15120 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
15121 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
15122 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
15123 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
15124 (todo-filter-top-priorities-multifile, todo-find-archive)
15125 (todo-find-filtered-items-file, todo-go-to-source-item)
15126 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
15127 (todo-jump-to-archive-category, todo-lower-category)
15128 (todo-mark-category, todo-marked-item-p, todo-merge-category)
15129 (todo-move-category, todo-move-item, todo-next-button)
15130 (todo-next-item, todo-padded-string, todo-powerset)
15131 (todo-previous-button, todo-previous-item)
15132 (todo-print-buffer-to-file, todo-raise-category)
15133 (todo-rename-category, todo-repair-categories-sexp, todo-search)
15134 (todo-set-category-number, todo-set-item-priority)
15135 (todo-set-top-priorities-in-category)
15136 (todo-set-top-priorities-in-file, todo-show-categories-table)
15137 (todo-sort-categories-alphabetically-or-numerically)
15138 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
15139 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
15140 (todo-toggle-item-header, todo-toggle-item-highlighting)
15141 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
15142 (todo-toggle-view-done-items, todo-toggle-view-done-only)
15143 (todo-unarchive-items, todo-unmark-category): New commands.
15144 (todo-absolute-file-name, todo-add-to-buffer-list)
15145 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
15146 (todo-basic-insert-item, todo-category-completions)
15147 (todo-category-number, todo-category-string-matcher-1)
15148 (todo-category-string-matcher-2, todo-check-filtered-items-file)
15149 (todo-check-format, todo-clear-matches)
15150 (todo-comment-string-matcher, todo-convert-legacy-date-time)
15151 (todo-current-category, todo-date-string-matcher)
15152 (todo-define-insertion-command, todo-diary-expired-matcher)
15153 (todo-diary-goto-entry, todo-diary-item-p)
15154 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
15155 (todo-display-categories, todo-display-sorted, todo-done-item-p)
15156 (todo-done-item-section-p, todo-done-separator)
15157 (todo-done-string-matcher, todo-files, todo-filter-items)
15158 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
15159 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
15160 (todo-insert-category-line, todo-insert-item-from-calendar)
15161 (todo-insert-sort-button, todo-insert-with-overlays)
15162 (todo-insertion-command-name, todo-insertion-key-bindings)
15163 (todo-label-to-key, todo-longest-category-name-length)
15164 (todo-make-categories-list, todo-mode-external-set)
15165 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
15166 (todo-modes-set-3, todo-multiple-filter-files)
15167 (todo-nondiary-marker-matcher, todo-prefix-overlays)
15168 (todo-read-category, todo-read-date, todo-read-dayname)
15169 (todo-read-file-name, todo-read-time)
15170 (todo-reevaluate-category-completions-files-defcustom)
15171 (todo-reevaluate-default-file-defcustom)
15172 (todo-reevaluate-filelist-defcustoms)
15173 (todo-reevaluate-filter-files-defcustom)
15174 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
15175 (todo-reset-done-separator, todo-reset-done-separator-string)
15176 (todo-reset-done-string, todo-reset-global-current-todo-file)
15177 (todo-reset-highlight-item, todo-reset-nondiary-marker)
15178 (todo-reset-prefix, todo-set-categories)
15179 (todo-set-date-from-calendar, todo-set-show-current-file)
15180 (todo-set-top-priorities, todo-short-file-name)
15181 (todo-show-current-file, todo-sort, todo-time-string-matcher)
15182 (todo-total-item-counts, todo-update-buffer-list)
15183 (todo-update-categories-display, todo-update-categories-sexp)
15184 (todo-update-count, todo-validate-name, todo-y-or-n-p):
15185 New functions.
15186 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
15187 New major modes.
15188 (todo-categories, todo-display, todo-edit, todo-faces)
15189 (todo-filtered): New defgroups.
15190 (todo-archived-only, todo-button, todo-category-string, todo-date)
15191 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
15192 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
15193 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
15194 (todo-add-item-if-new-category, todo-always-add-time-string)
15195 (todo-categories-align, todo-categories-archived-label)
15196 (todo-categories-category-label, todo-categories-diary-label)
15197 (todo-categories-done-label, todo-categories-number-separator)
15198 (todo-categories-todo-label, todo-categories-totals-label)
15199 (todo-category-completions-files, todo-completion-ignore-case)
15200 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
15201 (todo-done-separator-string, todo-done-string)
15202 (todo-files-function, todo-filter-done-items, todo-filter-files)
15203 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
15204 (todo-initial-category, todo-initial-file, todo-item-mark)
15205 (todo-legacy-date-time-regexp, todo-mode-line-function)
15206 (todo-nondiary-marker, todo-number-prefix)
15207 (todo-print-buffer-function, todo-show-current-file)
15208 (todo-show-done-only, todo-show-first, todo-show-with-done)
15209 (todo-skip-archived-categories, todo-top-priorities-overrides)
15210 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
15211 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
15212 New defcustoms.
15213 (todo-category-done, todo-date-pattern, todo-date-string-start)
15214 (todo-diary-items-buffer, todo-done-string-start)
15215 (todo-filtered-items-buffer, todo-item-start)
15216 (todo-month-abbrev-array, todo-month-name-array)
15217 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
15218 (todo-top-priorities-buffer): New defconsts.
15219 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
15220 (todo-categories-with-marks, todo-category-string-face)
15221 (todo-comment-face, todo-comment-string, todo-current-todo-file)
15222 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
15223 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
15224 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
15225 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
15226 (todo-font-lock-keywords, todo-global-current-todo-file)
15227 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
15228 (todo-insertion-commands-args)
15229 (todo-insertion-commands-args-genlist)
15230 (todo-insertion-commands-names, todo-insertion-map)
15231 (todo-key-bindings-t, todo-key-bindings-t+a)
15232 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
15233 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
15234 (todo-nondiary-face, todo-print-buffer, todo-time-face)
15235 (todo-visited): New variables.
15236
15237 2013-06-21 Glenn Morris <rgm@gnu.org>
15238
15239 * play/cookie1.el (cookie-apropos): Add optional display argument.
15240 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
15241 (psychoanalyze-pinhead): Use cookie-doctor.
15242
15243 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
15244
15245 * emacs-lisp/package.el (tar-get-file-descriptor)
15246 (tar--extract): Declare.
15247
15248 2013-06-21 Eduard Wiebe <usenet@pusto.de>
15249
15250 Extend flymake's warning predicate to be a function (bug#14217).
15251 * progmodes/flymake.el (flymake-warning-predicate): New.
15252 (flymake-parse-line): Use it.
15253 (flymake-warning-re): Make obsolete alias to
15254 `flymake-warning-predicate'.
15255
15256 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
15257
15258 * emacs-lisp/package.el (package-alist): Include obsolete packages.
15259 (package-obsolete-list): Remove.
15260 (package-activate): Remove min-version argument. Add `force' argument.
15261 Adjust to new package-alist format.
15262 (package-mark-obsolete): Remove.
15263 (package-unpack): Force reload of the package's autoloads.
15264 (package-installed-p): Check builtins if the installed package is not
15265 recent enough.
15266 (package-initialize): Don't reset package-obsolete-list.
15267 Don't specify which package version to activate.
15268 (package-process-define-package, describe-package-1)
15269 (package-menu--generate): Adjust to new package-alist format.
15270
15271 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
15272
15273 * allout-widgets.el (allout-widgets-mode-off)
15274 (allout-widgets-mode-on, allout-widgets-pre-command-business)
15275 (allout-widgets-post-command-business)
15276 (allout-widgets-after-copy-or-kill-function)
15277 (allout-widgets-after-undo-function, allout-test-range-overlaps)
15278 (allout-decorate-item-and-context)
15279 (allout-graphics-modification-handler): Fix typos in docstrings.
15280 (allout-get-or-create-parent-widget): Use `looking-at-p'.
15281
15282 * cmuscheme.el (scheme-start-file): Doc fix.
15283 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
15284 (scheme-input-filter): Use `string-match-p'.
15285
15286 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
15287
15288 * dired-x.el: Use Dired consistently in docstrings.
15289
15290 * dired.el: Use Dired consistently in docstrings.
15291 (dired-readin, dired-mode): Use `setq-local'.
15292 (dired-switches-alist): Make defvar-local.
15293 (dired-buffers-for-dir): Use `zerop'.
15294 (dired-safe-switches-p, dired-switches-escape-p)
15295 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
15296 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
15297 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
15298 (dired-goto-next-nontrivial-file): Use `string-match-p'.
15299 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
15300 (dired-toggle-marks, dired-mark-files-containing-regexp)
15301 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
15302 (dired-flag-auto-save-files, dired-flag-backup-files):
15303 Use `looking-at-p'.
15304 (dired-mark-files-regexp, dired-build-subdir-alist):
15305 Use `string-match-p', `looking-at-p'.
15306
15307 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
15308 (direct-print-region-helper): Use `string-match-p'.
15309
15310 2013-06-21 Leo Liu <sdl.web@gmail.com>
15311
15312 * comint.el (comint-redirect-results-list-from-process):
15313 Fix infinite loop.
15314
15315 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
15316
15317 * net/eww.el (eww-update-header-line-format): Quote % characters.
15318
15319 2013-06-21 Glenn Morris <rgm@gnu.org>
15320
15321 * play/cookie1.el (cookie): New custom group.
15322 (cookie-file): New option.
15323 (cookie-check-file): New function.
15324 (cookie): Make it interactive. Make start and end messages optional.
15325 Interactively, display the result. Default to cookie-file.
15326 (cookie-insert): Default to cookie-file.
15327 (cookie-snarf): Make start and end messages optional.
15328 Default to cookie-file. Use with-temp-buffer.
15329 (cookie-read): Rename from read-cookie.
15330 Make start and end messages optional. Default to cookie-file.
15331 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
15332 Do not autoload it.
15333 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
15334 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
15335
15336 2013-06-21 Leo Liu <sdl.web@gmail.com>
15337
15338 * progmodes/octave.el (octave-mode): Backward compatibility fix.
15339
15340 2013-06-21 Glenn Morris <rgm@gnu.org>
15341
15342 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
15343
15344 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
15345 Daniel Hackney <dan@haxney.org>
15346
15347 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
15348 Consolidate the single-file vs tarball code.
15349 (package-desc-suffix): New function.
15350 (package-desc-full-name): Don't bother inlining it.
15351 (package-load-descriptor): Return the new package-desc.
15352 (package-mark-obsolete): Remove unused arg `package'.
15353 (package-unpack): Make it work for single files as well.
15354 Make it update package-alist.
15355 (package--make-autoloads-and-stuff): Rename from
15356 package--make-autoloads-and-compile. Don't compile any more.
15357 (package--compile): New function.
15358 (package-generate-description-file): New function, extracted from
15359 package-unpack-single.
15360 (package-unpack-single): Remove.
15361 (package--with-work-buffer): Add indentation and debugging info.
15362 (package-download-single): Remove.
15363 (package-install-from-archive): Rename from package-download-tar, make
15364 it take a pkg-desc, and make it work for single files as well.
15365 (package-download-transaction): Simplify.
15366 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
15367 external tar program.
15368 (package-install-from-buffer): Remove `pkg-desc' argument.
15369 Use package-tar-file-info for tar-mode buffers.
15370 (package-install-file): Simplify accordingly.
15371 (package-archive-base): Change to take a pkg-desc.
15372 * tar-mode.el (tar--check-descriptor): New function, extracted from
15373 tar-get-descriptor.
15374 (tar-get-descriptor): Use it.
15375 (tar-get-file-descriptor): New function.
15376 (tar--extract): New function, extracted from tar-extract.
15377 (tar--extract): Use it.
15378 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
15379 case the summary uses non-ascii. Adjust to new calling convention of
15380 package-tar-file-info.
15381
15382 2013-06-21 Leo Liu <sdl.web@gmail.com>
15383
15384 * comint.el (comint-redirect-results-list-from-process):
15385 Fix random delay. (Bug#14681)
15386
15387 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
15388
15389 * profiler.el (profiler-format-number): Use log, not log10.
15390
15391 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
15392
15393 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
15394
15395 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
15396
15397 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
15398 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
15399 yet available.
15400 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
15401 (AUTOGENEL): ... here.
15402 * emacs-lisp/cl-macs.el (cl--sublis): New function.
15403 (cl--defsubst-expand): Use it.
15404
15405 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
15406
15407 * subr.el (log10): Move here from C code, and declare as obsolete.
15408 All uses of (log10 X) replaced with (log X 10).
15409
15410 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
15411
15412 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
15413 Declare with `defvar-local'.
15414 (tabulated-list-use-header-line, tabulated-list-entries)
15415 (tabulated-list-padding, tabulated-list-printer)
15416 (tabulated-list-sort-key): Declare with `defvar-local'.
15417 (tabulated-list-init-header, tabulated-list-print-fake-header):
15418 Use `setq-local'.
15419
15420 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
15421
15422 * arc-mode.el (archive-mode): Add `archive-write-file' to
15423 `write-contents-functions' also for remote files. (Bug#14652)
15424
15425 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
15426
15427 * cus-edit.el (custom-commands): Fix typos.
15428 (custom-display): Fix tooltip text.
15429 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
15430 Fix typos in docstrings.
15431 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
15432 (custom-unlispify-menu-entry, custom-magic-value-create)
15433 (custom-add-see-also, custom-group-value-create): Use ?\s.
15434 (custom-guess-type, customize-apropos, editable-field)
15435 (custom-face-value-create): Use `string-match-p'.
15436 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
15437
15438 * custom.el (custom-load-symbol): Use `string-match-p'.
15439
15440 * ansi-color.el: Convert to lexical binding.
15441 (ansi-colors): Fix URL.
15442 (ansi-color-context, ansi-color-context-region): Use defvar-local.
15443 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
15444 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
15445
15446 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
15447
15448 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
15449
15450 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
15451
15452 2013-06-19 Tom Tromey <tromey@redhat.com>
15453
15454 * net/eww.el (eww-top-url): Remove.
15455 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
15456 (eww-render): Set new variables. Don't set eww-top-url.
15457 (eww-handle-link): Handle "prev", "home", and "contents".
15458 Downcase the rel text.
15459 (eww-top-url): Choose best top URL.
15460
15461 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
15462
15463 * net/eww.el: Rewrite to implement form elements "by hand" instead of
15464 relying in widget.el. Using widget.el leads to too many
15465 user interface inconsistencies.
15466 (eww-self-insert): Implement entering commands in text fields.
15467 (eww-process-text-input): New function to make text input field editing
15468 work.
15469 (eww-submit): Rewrite to use the new-style form methods.
15470 (eww-select-display): Display the correct selected item.
15471 (eww-change-select): Implement changing the select value.
15472 (eww-toggle-checkbox): Implement radio/checkboxes.
15473 (eww-update-field): Fix compilation error.
15474 (eww-tag-textarea): Implement <textarea>.
15475
15476 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
15477 we don't shadow mode-specific bindings.
15478
15479 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
15480 nothing to push.
15481
15482 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
15483
15484 2013-06-19 Glenn Morris <rgm@gnu.org>
15485
15486 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
15487
15488 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
15489
15490 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
15491 not needed.
15492
15493 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
15494
15495 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
15496
15497 * net/browse-url.el (browse-url-browser-function):
15498 `eww-browse-url' has the right calling signature, `eww' does not.
15499
15500 2013-06-19 Glenn Morris <rgm@gnu.org>
15501
15502 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
15503 Only eval autoloaded macros.
15504 (byte-compile-autoload): Only give the macro warning for macros.
15505
15506 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
15507 (ps-underlined-faces): Declare.
15508
15509 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
15510 (speedbar-add-supported-extension): Declare.
15511
15512 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
15513 Don't include a date stamp in the header of the generated file;
15514 it leads to needless differences between output files.
15515
15516 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
15517
15518 * net/secrets.el (secrets-struct-secret-content-type):
15519 Replace check of introspection data by a test call of "CreateItem".
15520 Some servers do not offer introspection.
15521
15522 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
15523
15524 * electric.el (electric-pair-mode): Improve interaction with
15525 electric-layout-mode.
15526 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
15527 (electric-pair-syntax): Use text-mode-syntax-table in comments
15528 and strings.
15529 (electric-pair--insert): New function.
15530 (electric-pair-post-self-insert-function): Use it and
15531 electric--after-char-pos.
15532
15533 2013-06-19 Leo Liu <sdl.web@gmail.com>
15534
15535 * progmodes/octave.el (octave-help): Fix regexp.
15536
15537 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
15538
15539 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
15540 (shr-table-horizontal-line): Allow nil as a value, and change the
15541 default.
15542 (shr-insert-table-ruler): Respect the nil value.
15543
15544 2013-06-18 Tom Tromey <tromey@barimba>
15545
15546 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
15547 New defvars.
15548 (eww-open-file): New defun.
15549 (eww-render): Initialize new variables.
15550 (eww-display-html): Handle "link" and "a".
15551 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
15552 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
15553 (eww-back-url): Rename from eww-previous-url.
15554 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
15555 New defuns.
15556
15557 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
15558
15559 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
15560 Distinguish ternary operator tokens from slash symbol and slash
15561 char literal.
15562
15563 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
15564
15565 Convert symbol prettification into minor mode and global minor mode.
15566
15567 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
15568 `prog-prettify-symbols', and make a local defvar instead of defcustom.
15569 (prettify-symbols--keywords): Rename from
15570 `prog-prettify-symbols-alist' and make a local defvar.
15571 (prettify-symbols--compose-symbol): Rename from
15572 `prog--prettify-font-lock-compose-symbol'.
15573 (prettify-symbols--make-keywords): Rename from
15574 `prog-prettify-font-lock-symbols-keywords' and simplify.
15575 (prog-prettify-install): Remove.
15576 (prettify-symbols-mode): New minor mode, based on
15577 `prog-prettify-install'.
15578 (turn-on-prettify-symbols-mode): New function.
15579 (global-prettify-symbols-mode): New globalized minor mode.
15580
15581 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
15582 * progmodes/cfengine.el (cfengine3-mode):
15583 * progmodes/perl-mode.el (perl-mode): Don't call
15584 `prog-prettify-install'; set `prettify-symbols-alist' instead.
15585
15586 2013-06-18 Juri Linkov <juri@jurta.org>
15587
15588 * files-x.el (modify-file-local-variable-message): New function.
15589 (modify-file-local-variable)
15590 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
15591 and call `modify-file-local-variable-message' when it's non-nil.
15592 (add-file-local-variable, delete-file-local-variable)
15593 (add-file-local-variable-prop-line)
15594 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
15595 and use it. (Bug#9820)
15596
15597 2013-06-18 Juri Linkov <juri@jurta.org>
15598
15599 * emulation/vi.el (vi-shell-op):
15600 * emulation/vip.el (vip-execute-com, ex-command):
15601 * emulation/viper-cmd.el (viper-exec-bang):
15602 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
15603 the call of `shell-command-on-region'. (Bug#14637)
15604
15605 * simple.el (shell-command-on-region): Doc fix.
15606
15607 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
15608
15609 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
15610 (bug#14633).
15611
15612 2013-06-18 Glenn Morris <rgm@gnu.org>
15613
15614 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
15615
15616 * newcomment.el (comment-search-forward, comment-search-backward):
15617 Doc fix. (Bug#14376)
15618
15619 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
15620
15621 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
15622 (buffer-face-mode-invoke): Doc fix.
15623
15624 2013-06-18 Matthias Meulien <orontee@gmail.com>
15625
15626 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
15627 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
15628
15629 2013-06-18 Glenn Morris <rgm@gnu.org>
15630
15631 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
15632 Replace obsolete function generic-make-keywords with its expansion.
15633
15634 * progmodes/python.el (ffap-alist): Declare.
15635
15636 * textmodes/reftex.el (bibtex-mode-map): Declare.
15637
15638 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
15639
15640 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
15641 (package-unpack, package-unpack-single): Return the pkg-dir.
15642 (package-download-transaction): Use it to update package-alist.
15643
15644 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
15645
15646 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
15647 possible choice.
15648
15649 2013-06-17 Juri Linkov <juri@jurta.org>
15650
15651 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
15652
15653 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
15654
15655 * emacs-lisp/package.el (package-load-descriptor):
15656 Remove `with-syntax-table' call, `read' doesn't need it.
15657 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
15658
15659 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
15660
15661 * startup.el (command-line): Expand package name returned by
15662 `package--description-file' (bug#14639).
15663
15664 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
15665
15666 * emacs-lisp/package.el (package-load-descriptor): Do not call
15667 `emacs-lisp-mode', just use its syntax table.
15668
15669 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
15670
15671 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
15672 `font-lock-extra-managed-props' if any prettifying keyword is added.
15673 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
15674 (prog-mode): Use `setq-local'.
15675
15676 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
15677
15678 * international/characters.el (standard-case-table): Set syntax of ?»
15679 and ?« to punctuation.
15680
15681 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
15682
15683 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
15684 Save relevant match data before calling `syntax-ppss' (bug#14595).
15685
15686 2013-06-15 Juri Linkov <juri@jurta.org>
15687
15688 * files-x.el (modify-file-local-variable-prop-line): Add local
15689 variables to the end of the existing comment on the first line.
15690 Use `file-auto-mode-skip' to skip interpreter magic line,
15691 and also skip XML declaration.
15692
15693 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
15694
15695 * startup.el (package--builtin-versions): New var.
15696 (package-subdirectory-regexp): Remove.
15697 (package--description-file): Hard code its value instead.
15698
15699 * emacs-lisp/package.el: Don't activate packages older than builtin.
15700 (package-obsolete-list): Rename from package-obsolete-alist, and make
15701 it into a simple list of package-desc.
15702 (package-strip-version): Remove.
15703 (package-built-in-p): Use package--builtin-versions.
15704 (package-mark-obsolete): Simplify.
15705 (package-process-define-package): Mark it obsolete if older than the
15706 builtin version.
15707 (package-handle-response): Use line-end-position.
15708 (package-read-archive-contents, package--download-one-archive):
15709 Simplify.
15710 (package--add-to-archive-contents): Skip if older than the builtin or
15711 installed version.
15712 (package-menu-describe-package): Fix last change.
15713 (package-list-unversioned): New var.
15714 (package-menu--generate): Use it.
15715
15716 * emacs-lisp/autoload.el: Manage package--builtin-versions.
15717 (autoload--insert-text, autoload--insert-cookie-text): New functions.
15718 (autoload-builtin-package-versions): New variable.
15719 (autoload-generate-file-autoloads): Use them.
15720 Remove the list of autoloaded functions/macros from the
15721 (autoload...) comments.
15722
15723 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
15724
15725 2013-06-15 Eli Zaretskii <eliz@gnu.org>
15726
15727 * simple.el (line-move-partial): Don't jump to the next screen
15728 line as soon as it becomes visible. Instead, continue enlarging
15729 the vscroll until the portion of a tall screen line that's left on
15730 display is about the height of the frame's default font.
15731 (Bug#14567)
15732
15733 2013-06-15 Glenn Morris <rgm@gnu.org>
15734
15735 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
15736 compilation-error-regexp-alist void, or local while let-bound.
15737
15738 * progmodes/make-mode.el (makefile-mode-syntax-table):
15739 Treat "=" as punctuation. (Bug#14614)
15740
15741 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
15742
15743 * help-fns.el (describe-variable):
15744 Add extra line for permanent-local variables.
15745
15746 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
15747
15748 * progmodes/scheme.el (scheme-font-lock-keywords-2):
15749 Add export, import, library. (Bug#9164)
15750 (library): Set indent function.
15751
15752 2013-06-14 Glenn Morris <rgm@gnu.org>
15753
15754 * term/xterm.el (xterm--query):
15755 Stop after first matching handler. (Bug#14615)
15756
15757 2013-06-14 Ivan Kanis <ivan@kanis.fr>
15758
15759 Add support for dired in saveplace.
15760 * dired.el (dired-initial-position-hook): New variable.
15761 (dired-initial-position): Call hook to place cursor position.
15762 * saveplace.el (save-place-to-alist): Add dired position.
15763 (save-place-dired-hook): New function.
15764
15765 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
15766
15767 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
15768 through a symbol rather than letrec.
15769
15770 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
15771 (package-desc): Add `dir' field.
15772 (package-desc-full-name): New function.
15773 (package-load-descriptor): Combine the two arguments. Don't use `load'.
15774 (package-maybe-load-descriptor): Remove.
15775 (package-load-all-descriptors): Just call package-load-descriptor.
15776 (package--disabled-p): New function.
15777 (package-desc-vers, package-desc-doc): Remove aliases.
15778 (package--dir): Remove function.
15779 (package-activate): Check if a package is disabled.
15780 (package-process-define-package): New function, extracted from
15781 define-package.
15782 (define-package): Turn into a place holder.
15783 (package-unpack-single, package-tar-file-info):
15784 Use package--description-file.
15785 (package-compute-transaction): Use package--disabled-p.
15786 (package-download-transaction): Don't call
15787 package-maybe-load-descriptor since they're all loaded anyway.
15788 (package-install): Change argument to be a pkg-desc.
15789 (package-delete): Use a single pkg-desc argument.
15790 (describe-package-1): Use package-desc-dir instead of package--dir.
15791 Use package-desc property instead of package-symbol.
15792 (package-install-button-action): Adjust accordingly.
15793 (package--push): Rewrite.
15794 (package-menu--print-info): Adjust accordingly. Change the ID format
15795 to be a pkg-desc.
15796 (package-menu-describe-package, package-menu-get-status)
15797 (package-menu--find-upgrades, package-menu-mark-upgrades)
15798 (package-menu-execute, package-menu--name-predicate):
15799 Adjust accordingly.
15800 * startup.el (package--description-file): New function.
15801 (command-line): Use it.
15802 * emacs-lisp/package-x.el (package-upload-buffer-internal):
15803 Use package-desc-version.
15804
15805 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
15806 (byte-compile-preprocess): Use it.
15807 (byte-compile-file-form-defalias): Try a bit harder to use macros we
15808 can't quite recognize.
15809 (byte-compile-add-to-list): Remove.
15810 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
15811 (cconv-closure-convert): Add assertion.
15812
15813 * emacs-lisp/map-ynp.el: Use lexical-binding.
15814 (map-y-or-n-p): Remove unused vars `tail' and `object'.
15815 Factor out some repeated code.
15816
15817 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
15818
15819 * subr.el (with-eval-after-load): New macro.
15820 (eval-after-load): Allow form to be a function.
15821 take advantage of lexical-binding.
15822 (do-after-load-evaluation): Use dolist and adjust to new format.
15823 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
15824
15825 2013-06-13 Juri Linkov <juri@jurta.org>
15826
15827 * replace.el (perform-replace): Display "symbol " and other search
15828 modes from `isearch-message-prefix' in the *Help* buffer.
15829
15830 * isearch.el (isearch-query-replace): Add " symbol" and other
15831 possible search modes from `isearch-message-prefix' to the prompt.
15832 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
15833 when reading a regexp to collect.
15834
15835 2013-06-13 Juri Linkov <juri@jurta.org>
15836
15837 * isearch.el (word-search-regexp): Match whitespace if the search
15838 string begins or ends in whitespace. The LAX arg is applied to
15839 both ends of the search string. Use `regexp-quote' and explicit
15840 \< and \> instead of \b. Use \` and \' instead of ^ and $.
15841 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
15842 boundaries are replaced with symbol boundaries, and characters
15843 between symbols match non-word non-symbol syntax. (Bug#14602)
15844
15845 2013-06-13 Juri Linkov <juri@jurta.org>
15846
15847 * isearch.el (isearch-del-char): Don't exceed the length of
15848 `isearch-string' by the prefix arg. (Bug#14563)
15849
15850 2013-06-13 Juri Linkov <juri@jurta.org>
15851
15852 * isearch.el (isearch-yank-word, isearch-yank-line)
15853 (isearch-char-by-name, isearch-quote-char)
15854 (isearch-printing-char, isearch-process-search-char):
15855 Add optional count prefix arg. (Bug#14563)
15856
15857 * international/isearch-x.el
15858 (isearch-process-search-multibyte-characters):
15859 Add optional count prefix arg.
15860
15861 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
15862
15863 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
15864 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
15865 lexical-binding.
15866
15867 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
15868
15869 * subr.el (set-temporary-overlay-map): Add on-exit argument.
15870
15871 2013-06-13 Glenn Morris <rgm@gnu.org>
15872
15873 * startup.el (tty-handle-args):
15874 Don't just discard "--" and anything after. (Bug#14608)
15875
15876 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
15877
15878 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
15879
15880 Implement changes in Secret Service API. Make it backward compatible.
15881 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
15882 (secrets-create-item): Use it. Prefix properties with interface.
15883
15884 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
15885
15886 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
15887 (term-emulate-terminal): Respect term-suppress-hard-newline.
15888
15889 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
15890
15891 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
15892 Only remove a `thumb-file' overlay. (Bug#14548)
15893
15894 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
15895
15896 * mail/reporter.el (reporter-submit-bug-report):
15897 Handle missing package-name. (Bug#14600)
15898
15899 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
15900
15901 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
15902 (reftex-citation-prompt, reftex-default-bibliography)
15903 (reftex-bib-or-thebib, reftex-get-bibfile-list)
15904 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
15905 (reftex-bib-sort-author, reftex-bib-sort-year)
15906 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
15907 (reftex-extract-bib-entries-from-thebibliography)
15908 (reftex-get-bibkey-default, reftex-get-bib-names)
15909 (reftex-parse-bibtex-entry, reftex-get-bib-field)
15910 (reftex-format-bib-entry, reftex-parse-bibitem)
15911 (reftex-format-bibitem, reftex-do-citation)
15912 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
15913 (reftex-restrict-bib-matches, reftex-extract-bib-file)
15914 (reftex-insert-bib-matches, reftex-format-citation)
15915 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
15916 (reftex-create-bibtex-file): Add docstrings, mostly by converting
15917 existing comments into docstrings.
15918
15919 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
15920
15921 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
15922
15923 2013-06-12 Andreas Schwab <schwab@suse.de>
15924
15925 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
15926 for auto-save files.
15927
15928 2013-06-12 Glenn Morris <rgm@gnu.org>
15929
15930 * ido.el (ido-delete-ignored-files): Remove.
15931 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
15932 Go back to calling ido-ignore-item-p directly.
15933
15934 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
15935
15936 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
15937
15938 * ido.el (ido-delete-ignored-files): New function,
15939 split from ido-make-file-list-1.
15940 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
15941 (ido-make-file-list-1): Use ido-delete-ignored-files.
15942
15943 2013-06-12 Leo Liu <sdl.web@gmail.com>
15944
15945 * progmodes/octave.el (inferior-octave-startup)
15946 (inferior-octave-completion-table)
15947 (inferior-octave-track-window-width-change)
15948 (octave-eldoc-function-signatures, octave-help)
15949 (octave-find-definition): Use single quoted strings.
15950 (inferior-octave-startup-args): Change default value.
15951 (inferior-octave-startup): Do not hard code "-i" and
15952 "--no-line-editing".
15953 (inferior-octave-resync-dirs): Add optional arg NOERROR.
15954 (inferior-octave-directory-tracker): Use it.
15955 (octave-goto-function-definition): Robustify.
15956 (octave-help): Support highlighting operators in 'See also'.
15957 (octave-find-definition): Find subfunctions only in Octave mode.
15958
15959 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
15960
15961 * help-fns.el (help-fns--compiler-macro): If the handler function is
15962 named, then put a link to it.
15963 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
15964 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
15965 (cl-typep): Use it.
15966 (cl-eval-when): Simplify debug spec.
15967 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
15968 compiler-macro function instead of setting `compiler-macro-file'.
15969
15970 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
15971
15972 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
15973 * vc/vc-hooks.el (vc-stay-local): Doc fix.
15974
15975 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
15976 Daniel Hackney <dan@haxney.org>
15977
15978 First part of Daniel Hackney's patch to package.el.
15979 * emacs-lisp/package.el: Use defstruct.
15980 (package-desc): New, main struct.
15981 (package--bi-desc, package--ac-desc): New structs, used to describe the
15982 format in external files.
15983 (package-desc-vers): Replace with package-desc-version accessor.
15984 (package-desc-doc): Replace with package-desc-summary accessor.
15985 (package-activate-1): Remove `package' arg since the pkg-vec now
15986 includes the name.
15987 (define-package): Use package-desc-from-define.
15988 (package-unpack-single): Change file-name arg to be a symbol.
15989 (package--add-to-archive-contents): Use package-desc-create and new
15990 accessor functions to package--ac-desc.
15991 (package-buffer-info, package-tar-file-info): Return a package-desc.
15992 (package-install-from-buffer): Remove `type' argument. Change pkg-info
15993 arg to be a package-desc.
15994 (package-install-file): Adjust accordingly. Use \' to match EOS.
15995 (package--from-builtin): New function.
15996 (describe-package-1, package-menu--generate): Use it.
15997 (package--make-autoloads-and-compile): Change name arg to be a symbol.
15998 (package-generate-autoloads): Idem and return the name of the file.
15999 * emacs-lisp/package-x.el (package-upload-buffer-internal):
16000 Change pkg-info arg to be a package-desc.
16001 Use package-make-ac-desc.
16002 (package-upload-file): Use \' to match EOS.
16003 * finder.el (finder-compile-keywords): Use package-make-builtin.
16004
16005 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
16006
16007 * vc/vc.el (vc-deduce-fileset): Change error message.
16008 (vc-read-backend): New function.
16009 (vc-next-action): Use it.
16010
16011 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
16012
16013 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
16014 (prolog-font-lock-keywords): Use regexp-opt instead.
16015 Don't manually highlight strings.
16016 (prolog-mode-variables): Simplify comment-start-skip.
16017 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
16018
16019 * emacs-lisp/generic.el (generic--normalise-comments)
16020 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
16021 (generic-mode-set-comments): Use them.
16022 (generic-bracket-support): Use setq-local.
16023 (generic-make-keywords-list): Declare obsolete.
16024
16025 2013-06-11 Glenn Morris <rgm@gnu.org>
16026
16027 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
16028 Prettify after setting font-lock-defaults. (Bug#14574)
16029
16030 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
16031
16032 * replace.el (query-replace, occur-read-regexp-defaults-function)
16033 (replace-search):
16034 * subr.el (declare-function, number-sequence, local-set-key)
16035 (substitute-key-definition, locate-user-emacs-file)
16036 (with-silent-modifications, split-string, eval-after-load):
16037 Fix typos, remove unneeded backslashes and reflow some docstrings.
16038
16039 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
16040
16041 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
16042 default for Elisp files.
16043
16044 2013-06-11 Glenn Morris <rgm@gnu.org>
16045
16046 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
16047 although define-derived-mode was doing this anyway. (Bug#14583)
16048
16049 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
16050
16051 * allout.el (allout-encryption-plaintext-sanitization-regexps):
16052 Fix make-variable-buffer-local call to refer to the correct variable.
16053
16054 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
16055
16056 * eshell/em-term.el (eshell-visual-commands)
16057 (eshell-visual-subcommands, eshell-visual-options):
16058 Add summary line to docstrings. Add cross-references.
16059
16060 2013-06-10 Glenn Morris <rgm@gnu.org>
16061
16062 * epa.el (epa-read-file-name): New function. (Bug#14510)
16063 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
16064
16065 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
16066
16067 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
16068 output redirection to be ignored with visual commands.
16069
16070 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
16071
16072 * eshell/em-term.el (eshell-visual-command-p): New function.
16073 (eshell-term-initialize): Move long lambda to separate function
16074 eshell-visual-command-p.
16075 * eshell/em-dirs.el (eshell-dirs-initialize):
16076 * eshell/em-script.el (eshell-script-initialize):
16077 Add missing #' to lambda.
16078
16079 2013-06-08 Leo Liu <sdl.web@gmail.com>
16080
16081 * progmodes/octave.el (octave-add-log-current-defun): New function.
16082 (octave-mode): Set add-log-current-defun-function.
16083 (octave-goto-function-definition): Do not move point if not found.
16084 (octave-find-definition): Enhance to try subfunctions first.
16085
16086 2013-06-08 Glenn Morris <rgm@gnu.org>
16087
16088 * emacs-lisp/bytecomp.el (byte-compile-char-before)
16089 (byte-compile-backward-char, byte-compile-backward-word):
16090 Improve previous change, to handle non-explicit nil.
16091
16092 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
16093
16094 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
16095 (smie--opener/closer-at-point): New function.
16096 (smie--matching-block-data): Use it. Don't match from right after an
16097 opener or right before a closer. Obey smie-blink-matching-inners.
16098 Don't signal a mismatch for repeated inners like "switch..case..case".
16099
16100 2013-06-07 Leo Liu <sdl.web@gmail.com>
16101
16102 * progmodes/octave.el (octave-mode): Set comment-use-global-state
16103 to t. (Bug#14303)
16104 (octave-function-header-regexp): Fix. (Bug#14570)
16105 (octave-help-mode-finish-hook, octave-help-mode-finish):
16106 Remove. Just use temp-buffer-show-hook.
16107
16108 * newcomment.el (comment-search-backward): Revert last change.
16109 (Bug#14434)
16110
16111 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
16112
16113 2013-06-07 Eli Zaretskii <eliz@gnu.org>
16114
16115 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
16116 through xargs, to avoid failure due to MS-Windows limitations on
16117 command-line length.
16118
16119 2013-06-06 Glenn Morris <rgm@gnu.org>
16120
16121 * font-lock.el (lisp-font-lock-keywords-2):
16122 Treat user-error like error.
16123
16124 * emacs-lisp/bytecomp.el (byte-compile-char-before)
16125 (byte-compile-backward-char, byte-compile-backward-word):
16126 Handle explicit nil arguments. (Bug#14565)
16127
16128 2013-06-05 Alan Mackenzie <acm@muc.de>
16129
16130 * isearch.el (isearch-allow-prefix): New user option.
16131 (isearch-other-meta-char): Don't exit isearch when a prefix
16132 argument is typed whilst `isearch-allow-prefix' is non-nil.
16133 (Bug#9706)
16134
16135 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
16136
16137 * autorevert.el (auto-revert-notify-handler): Use memq.
16138 Hide assertion failure.
16139
16140 * skeleton.el: Use cl-lib.
16141 (skeleton-further-elements): Use defvar-local.
16142 (skeleton-insert): Use cl-progv.
16143
16144 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
16145
16146 * progmodes/prog-mode.el (prog-prettify-symbols)
16147 (prog-prettify-install): Update docstrings.
16148
16149 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
16150
16151 * simple.el: Move all the prog-mode code to prog-mode.el.
16152 * progmodes/prog-mode.el: New file.
16153 * loadup.el: Add prog-mode.el.
16154
16155 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
16156
16157 * simple.el (prog-prettify-symbols): Add version.
16158 (prog-prettify-install): Add convenience function to prettify symbols.
16159
16160 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
16161 (perl--augmented-font-lock-keywords-1)
16162 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
16163 variables and use it.
16164
16165 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
16166 (cfengine3-mode): Remove unneeded variable and use it.
16167
16168 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
16169 (lisp--augmented-font-lock-keywords-1)
16170 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
16171 Remove unneeded variables and use it.
16172
16173 2013-06-05 João Távora <joaotavora@gmail.com>
16174
16175 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
16176 to point when opening the connection. (Bug#14380)
16177
16178 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
16179
16180 * subr.el (load-history-regexp, load-history-filename-element)
16181 (eval-after-load, after-load-functions, do-after-load-evaluation)
16182 (eval-next-after-load, display-delayed-warnings)
16183 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
16184 definition of save-match-data.
16185 (overriding-local-map): Remove accidental obsolescence declaration.
16186
16187 * emacs-lisp/edebug.el (edebug-result): Move before first use.
16188
16189 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
16190
16191 Generalize symbol prettify support to prog-mode and implement it
16192 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
16193 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
16194 (prog--prettify-font-lock-compose-symbol)
16195 (prog-prettify-font-lock-symbols-keywords): New variables and
16196 functions to support symbol prettification.
16197 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
16198 (lisp--augmented-font-lock-keywords-1)
16199 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
16200 (lisp--prettify-symbols-alist): Implement prettify of lambda.
16201 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
16202 (cfengine3--prettify-symbols-alist, cfengine3-mode):
16203 Implement prettify of -> => :: strings.
16204 * progmodes/perl-mode.el (perl-prettify-symbols)
16205 (perl--font-lock-compose-symbol)
16206 (perl--font-lock-symbols-keywords): Move to prog-mode.
16207 (perl--prettify-symbols-alist): Prettify -> => :: strings.
16208 (perl-font-lock-keywords-1)
16209 (perl-font-lock-keywords-2): Remove explicit prettify support.
16210 (perl--augmented-font-lock-keywords)
16211 (perl--augmented-font-lock-keywords-1)
16212 (perl--augmented-font-lock-keywords-2, perl-mode):
16213 Implement prettify support.
16214
16215 2013-06-05 Leo Liu <sdl.web@gmail.com>
16216
16217 Re-implement SMIE matching block highlight using
16218 show-paren-data-function. (Bug#14395)
16219 * emacs-lisp/smie.el (smie-matching-block-highlight)
16220 (smie--highlight-matching-block-overlay)
16221 (smie--highlight-matching-block-lastpos)
16222 (smie-highlight-matching-block)
16223 (smie-highlight-matching-block-mode): Remove.
16224 (smie--matching-block-data-cache): New variable.
16225 (smie--matching-block-data): New function.
16226 (smie-setup): Use smie--matching-block-data for
16227 show-paren-data-function.
16228
16229 * progmodes/octave.el (octave-mode-menu): Fix.
16230 (octave-find-definition): Skip garbage lines.
16231
16232 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
16233
16234 Fix compilation error with simultaneous dynamic+lexical scoping.
16235 Add warning when a defvar appears after the first let-binding.
16236 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
16237 (byte-compile-close-variables): Initialize it.
16238 (byte-compile--declare-var): New function.
16239 (byte-compile-file-form-defvar)
16240 (byte-compile-file-form-define-abbrev-table)
16241 (byte-compile-file-form-custom-declare-variable): Use it.
16242 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
16243 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
16244 (byte-compile-bind): Handle dynamic bindings that shadow
16245 lexical bindings.
16246 (byte-compile-unbind): Make arg non-optional.
16247 (byte-compile-let): Simplify.
16248 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
16249 (cconv--analyse-function, cconv-analyse-form): Populate it.
16250 Protect byte-compile-bound-variables to limit the scope of defvars.
16251 (cconv-analyse-form): Add missing rule for (defvar <foo>).
16252 Remove unneeded rule for `declare'.
16253
16254 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
16255 so as to avoid depending on cl-adjoin at run-time.
16256 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
16257
16258 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
16259 (macroexp--warn-and-return): Use it.
16260
16261 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
16262
16263 * subr.el: Convert to lexical binding.
16264 (overriding-local-map): Make obsolete.
16265 (add-to-list): Doc fix. Add compiler macro.
16266 (read-key): Swap values of local maps.
16267
16268 2013-06-05 Leo Liu <sdl.web@gmail.com>
16269
16270 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
16271
16272 2013-06-04 Leo Liu <sdl.web@gmail.com>
16273
16274 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
16275 (compilation-auto-jump): Suppress the "Mark set" message to give
16276 way to exit message.
16277
16278 2013-06-04 Alan Mackenzie <acm@muc.de>
16279
16280 Remove faulty optimisation from indentation calculation.
16281 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
16282 search limit based on 2000 characters back from indent-point.
16283
16284 2013-06-03 Tassilo Horn <tsdh@gnu.org>
16285
16286 * eshell/em-term.el (cl-lib): Require `cl-lib'.
16287
16288 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
16289
16290 * emacs-lisp/lisp.el: Use lexical-binding.
16291 (lisp--local-variables-1, lisp--local-variables): New functions.
16292 (lisp--local-variables-completion-table): New var.
16293 (lisp-completion-at-point): Use it complete let-bound vars.
16294
16295 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
16296 eagerly (bug#14422).
16297
16298 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
16299
16300 * autorevert.el (auto-revert-notify-enabled)
16301 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
16302 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
16303 (auto-revert-notify-handler): Handle also gfilenotify.
16304
16305 * subr.el (file-notify-handle-event): New defun. Replacing ...
16306 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
16307 Remove.
16308
16309 2013-06-03 Juri Linkov <juri@jurta.org>
16310
16311 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
16312 `M-s h .'. (Bug#14427)
16313
16314 * hi-lock.el (highlight-symbol-at-point): New alias for the new
16315 command `hi-lock-face-symbol-at-point'.
16316 (hi-lock-face-symbol-at-point): New command.
16317 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
16318 (hi-lock-menu): Add `highlight-symbol-at-point'.
16319 (hi-lock-mode): Doc fix.
16320
16321 * isearch.el (isearch-forward-symbol-at-point): New command.
16322 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
16323 (isearch-highlight-regexp): Add a regexp which matches
16324 words/symbols for word/symbol mode.
16325
16326 * subr.el (find-tag-default-bounds): New function with the body
16327 mostly moved from `find-tag-default'.
16328 (find-tag-default): Move most code to `find-tag-default-bounds',
16329 call it and apply `buffer-substring-no-properties' afterwards.
16330
16331 2013-06-03 Tassilo Horn <tsdh@gnu.org>
16332
16333 * eshell/em-term.el (eshell-term-initialize):
16334 Use `cl-intersection' rather than `intersection'.
16335
16336 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
16337
16338 * vc/log-view.el: Doc fix.
16339 (log-view-mode-map): Copy keymap from `special-mode-map'.
16340
16341 2013-06-02 Eric Ludlam <zappo@gnu.org>
16342
16343 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
16344 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
16345 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
16346 (eieio-unbound, eieio-default-superclass)
16347 (eieio--define-field-accessors, method-static, method-before)
16348 (method-primary, method-after, method-num-lists)
16349 (method-generic-before, method-generic-primary)
16350 (method-generic-after, method-num-slots)
16351 (eieio-specialized-key-to-generic-key)
16352 (eieio--check-type, class-v, class-p)
16353 (eieio-class-name, define-obsolete-function-alias)
16354 (eieio-class-parents-fast, eieio-class-children-fast)
16355 (same-class-fast-p, class-constructor, generic-p)
16356 (generic-primary-only-p, generic-primary-only-one-p)
16357 (class-option-assoc, class-option, eieio-object-p)
16358 (class-abstract-p, class-method-invocation-order)
16359 (eieio-defclass-autoload-map, eieio-defclass-autoload)
16360 (eieio-class-un-autoload, eieio-defclass)
16361 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
16362 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
16363 (eieio--defgeneric-init-form, eieio-defgeneric-form)
16364 (eieio-defgeneric-reset-generic-form)
16365 (eieio-defgeneric-form-primary-only)
16366 (eieio-defgeneric-reset-generic-form-primary-only)
16367 (eieio-defgeneric-form-primary-only-one)
16368 (eieio-defgeneric-reset-generic-form-primary-only-one)
16369 (eieio-unbind-method-implementations)
16370 (eieio--defmethod, eieio--typep)
16371 (eieio-perform-slot-validation, eieio-validate-slot-value)
16372 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
16373 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
16374 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
16375 (eieio-slot-name-index, eieio-class-slot-name-index)
16376 (eieio-set-defaults, eieio-initarg-to-attribute)
16377 (eieio-attribute-to-initarg, eieio-c3-candidate)
16378 (eieio-c3-merge-lists, eieio-class-precedence-c3)
16379 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
16380 (eieio-class-precedence-list, eieio-generic-call-methodname)
16381 (eieio-generic-call-arglst, eieio-generic-call-key)
16382 (eieio-generic-call-next-method-list)
16383 (eieio-pre-method-execution-functions, eieio-generic-call)
16384 (eieio-generic-call-primary-only, eieiomt-method-list)
16385 (eieiomt-optimizing-obarray, eieiomt-install)
16386 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
16387 (eieio-generic-form, eieio-defmethod, make-obsolete)
16388 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
16389 (defclass): Remove `eval-and-compile' from macro.
16390 (call-next-method, shared-initialize): Instead of using
16391 `scoped-class' variable, use new eieio--scoped-class, and
16392 eieio--with-scoped-class.
16393 (initialize-instance): Rename local variable 'scoped-class' to
16394 'this-class' to remove ambiguitity from old global.
16395
16396 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
16397 eieio.el.
16398 (eieio--scoped-class-stack): New variable.
16399 (eieio--scoped-class): New fcn.
16400 (eieio--with-scoped-class): New scoping macro.
16401 (eieio-defclass): Use pushnew instead of add-to-list.
16402 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
16403 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
16404 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
16405 `scoped-class' variable, use new eieio--scoped-class, and
16406 eieio--with-scoped-class.
16407
16408 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
16409
16410 2013-06-02 Tassilo Horn <tsdh@gnu.org>
16411
16412 * eshell/esh-ext.el (eshell-external-command): Pass args to
16413 `eshell-find-interpreter'.
16414 (eshell-find-interpreter): Add new second parameter ARGS.
16415
16416 * eshell/em-script.el (eshell-script-initialize): Add second arg
16417 to the function added as MATCH to `eshell-interpreter-alist'.
16418
16419 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
16420 the function added as MATCH to `eshell-interpreter-alist'.
16421
16422 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
16423 (eshell-visual-options): New defcustom.
16424 (eshell-escape-control-x): Adapt docstring.
16425 (eshell-term-initialize): Test `eshell-visual-subcommands' and
16426 `eshell-visual-options' in addition to `eshell-visual-commands'.
16427 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
16428
16429 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
16430
16431 * progmodes/python.el (python-indent-block-enders): Add break,
16432 continue and raise keywords.
16433
16434 2013-06-01 Glenn Morris <rgm@gnu.org>
16435
16436 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
16437
16438 Plain (f)boundp silences compilation warnings since Emacs 22.1.
16439 * progmodes/cc-cmds.el (delete-forward-p):
16440 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
16441 * progmodes/cc-engine.el (buffer-syntactic-context):
16442 * progmodes/cc-fonts.el (face-property-instance):
16443 * progmodes/cc-mode.el (set-keymap-parents):
16444 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
16445 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
16446 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
16447 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
16448 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
16449
16450 * progmodes/cc-vars.el (other): Emacs has this widget since
16451 at least 21.1, so don't (re)define it.
16452
16453 * eshell/em-cmpl.el (eshell-cmpl-initialize):
16454 Replace the obsolete alias pcomplete-arg-quote-list.
16455
16456 2013-06-01 Leo Liu <sdl.web@gmail.com>
16457
16458 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
16459 punctuation syntax.
16460 (inferior-octave-minimal-columns)
16461 (inferior-octave-last-column-width): New variables.
16462 (inferior-octave-track-window-width-change): New function.
16463 (inferior-octave-mode): Adjust column width so that Octave output,
16464 for example from 'ls', can fit into the window nicely.
16465
16466 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
16467
16468 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
16469 Highlight expansions inside regexp literals.
16470
16471 2013-05-31 Glenn Morris <rgm@gnu.org>
16472
16473 * obsolete/sym-comp.el (symbol-complete):
16474 Replace obsolete completion-annotate-function.
16475
16476 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
16477
16478 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
16479
16480 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
16481 New function, checks if point is inside a literal that allows
16482 expression expansion.
16483 (ruby-syntax-propertize-expansion): Use it.
16484 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
16485 around the body.
16486
16487 2013-05-30 Juri Linkov <juri@jurta.org>
16488
16489 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
16490 to "\M-si".
16491 (isearch-invisible): New variable.
16492 (isearch-forward): Doc fix.
16493 (isearch-mode): Set `isearch-invisible'
16494 to the value of `search-invisible'.
16495 (isearch-toggle-case-fold): Doc fix.
16496 (isearch-toggle-invisible): New command.
16497 (isearch-query-replace): Let-bind `search-invisible'
16498 to the value of `isearch-invisible'.
16499 (isearch-search): Use `isearch-invisible' instead of
16500 `search-invisible'. Let-bind `search-invisible'
16501 to the value of `isearch-invisible'. (Bug#11378)
16502
16503 2013-05-30 Juri Linkov <juri@jurta.org>
16504
16505 * replace.el (perform-replace): Avoid `isearch-range-invisible'
16506 call when `query-flag' is nil and `search-invisible' is non-nil.
16507 (Bug#11746)
16508
16509 2013-05-30 Glenn Morris <rgm@gnu.org>
16510
16511 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
16512
16513 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
16514 (cc-require): Suppress spurious "noruntime" warnings.
16515 (cc-require-when-compile): Use fboundp, for sake of compiler.
16516
16517 * progmodes/cc-mode.el: Move load of cc-vars before that of
16518 cc-langs (which in turn loads cc-vars), to quieten compiler.
16519
16520 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
16521
16522 * paren.el: Simplify the code.
16523 (show-paren-mode): Always start the timer.
16524 (show-paren--idle-timer): Rename from show-paren-idle-timer.
16525 (show-paren--overlay, show-paren--overlay-1): Rename from
16526 show-paren-overlay and show-paren-overlay-1, and initialize to an
16527 overlay rather than to nil.
16528 (show-paren-function): Misc cleanup and simplifications.
16529
16530 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
16531
16532 * paren.el (show-paren-data-function): New hook.
16533 (show-paren--default): New function, extracted from show-paren-function.
16534 (show-paren-function): Use show-paren-data-function.
16535
16536 2013-05-30 Glenn Morris <rgm@gnu.org>
16537
16538 * ielm.el (ielm-map, ielm-complete-symbol):
16539 Use completion-at-point rather than obsolete functions.
16540 (inferior-emacs-lisp-mode): Doc fix.
16541 Set completion-at-point-functions, rather than
16542 comint-dynamic-complete-functions.
16543
16544 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
16545 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
16546 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
16547
16548 * image.el (image-animated-p): Tweak definition.
16549
16550 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
16551 (rlogin-process-connection-type): Tweak default. Add set-after.
16552 (rlogin-host): Doc fix.
16553 (rlogin): Tweak prompt.
16554 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
16555
16556 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
16557 * progmodes/tcl.el (inferior-tcl-mode-map):
16558 Use completion-at-point rather than obsolete alias.
16559
16560 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
16561
16562 * minibuffer.el (read-file-name-completion-ignore-case):
16563 Move before completion--in-region, for eager macro expansion.
16564
16565 2013-05-29 Juri Linkov <juri@jurta.org>
16566
16567 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
16568 for total count of matching lines. Add `global-matches' for total
16569 count of matches. Rename `matches' to `lines' for count of
16570 matching lines. Add `matches' for count of matches.
16571 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
16572 to `prev-line' for line number of prev match endpt.
16573 Increment `matches' for every match. Print the number of
16574 matching lines in the header.
16575 (occur-context-lines): Rename `lines' to `curr-line'.
16576 Rename `prev-lines' to `prev-line'. (Bug#14017)
16577
16578 2013-05-29 Juri Linkov <juri@jurta.org>
16579
16580 * replace.el (perform-replace): Add `skip-read-only-count',
16581 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
16582 Increment them for corresponding conditions and report the number
16583 of skipped occurrences in the final message. (Bug#11746)
16584 (query-replace, query-replace-regexp, query-replace-regexp-eval)
16585 (replace-string, replace-regexp): Doc fix.
16586
16587 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
16588
16589 * emacs-lisp/trace.el (trace--read-args): Provide a default.
16590
16591 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
16592 prog-mode-map (bug#14504).
16593
16594 2013-05-29 Leo Liu <sdl.web@gmail.com>
16595
16596 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
16597 (octave-help): Small simplification.
16598
16599 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
16600 off the highlight first.
16601
16602 2013-05-29 Glenn Morris <rgm@gnu.org>
16603
16604 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
16605 Handle idlwave-last-system-routine-info-cons-cell being nil.
16606
16607 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
16608 (idlwave-write-paths): Simplify via with-temp-buffer.
16609
16610 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
16611 * emulation/cua-rect.el: Also load cua-base at run time.
16612
16613 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
16614 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
16615 (cperl-imenu-on-info): Require imenu.
16616
16617 2013-05-28 Alan Mackenzie <acm@muc.de>
16618
16619 Handle "capitalised keywords" correctly.
16620 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
16621
16622 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
16623
16624 * eshell/em-unix.el: Add -r option to cp.
16625
16626 2013-05-28 Glenn Morris <rgm@gnu.org>
16627
16628 * vc/vc-arch.el (vc-exec-after): Declare.
16629 (vc-switches): Autoload.
16630 * vc/vc-bzr.el: No need to require vc when compiling.
16631 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
16632 (vc-resynch-buffer, vc-dir-refresh): Declare.
16633 (vc-setup-buffer, vc-switches): Autoload.
16634 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
16635 (vc-resynch-buffer): Declare.
16636 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
16637 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
16638 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
16639 (grep-read-regexp, grep-read-files, grep-expand-template)
16640 (vc-dir-refresh): Declare.
16641 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
16642 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
16643 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
16644 * vc/vc-mtn.el (vc-exec-after): Declare.
16645 (vc-switches): Autoload.
16646 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
16647 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
16648 (vc-file-tree-walk): Declare.
16649 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
16650 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
16651 (vc-tag-precondition, vc-rename-master): Autoload.
16652 * vc/vc-svn.el (vc-exec-after): Declare.
16653 (vc-switches, vc-setup-buffer): Autoload.
16654 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
16655 Autoload.
16656 (vc-resynch-buffer): Declare.
16657
16658 * obsolete/fast-lock.el (byte-compile-warnings):
16659 Don't warn about obsolete features in this obsolete file.
16660
16661 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
16662 Move definition before use.
16663
16664 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
16665 (dun-unix-verbs): Remove dun-zippy.
16666 (dun-zippy): Remove function.
16667
16668 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
16669
16670 2013-05-27 Juri Linkov <juri@jurta.org>
16671
16672 * replace.el (replace-search): New function with code moved out
16673 from `perform-replace'.
16674 (replace-highlight, replace-dehighlight): Move function definitions
16675 up closer to `replace-search'. (Bug#11746)
16676
16677 2013-05-27 Juri Linkov <juri@jurta.org>
16678
16679 * replace.el (perform-replace): Ignore invisible matches.
16680 In addition to checking `query-replace-skip-read-only', also
16681 filter out matches by calling `run-hook-with-args-until-failure'
16682 on `isearch-filter-predicates', and also check `search-invisible'
16683 for t or call `isearch-range-invisible'.
16684 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
16685
16686 2013-05-27 Juri Linkov <juri@jurta.org>
16687
16688 * isearch.el (isearch-filter-predicates): Rename from
16689 `isearch-filter-predicate'. Doc fix. (Bug#11378)
16690 (isearch-message-prefix): Display text from the property
16691 `isearch-message-prefix' of the currently active filters.
16692 (isearch-search): Don't compare `isearch-filter-predicate' with
16693 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
16694 on `isearch-filter-predicates'. Also check `search-invisible' for t
16695 or call `isearch-range-invisible'.
16696 (isearch-filter-visible): Make obsolete.
16697 (isearch-lazy-highlight-search):
16698 Call `run-hook-with-args-until-failure' on
16699 `isearch-filter-predicates' and use `isearch-range-invisible'.
16700
16701 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
16702 `isearch-filter-predicates' instead of `funcall'ing
16703 `isearch-filter-predicate'.
16704 (Info-mode): Set `Info-isearch-filter' to
16705 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
16706
16707 * dired-aux.el (dired-isearch-filter-predicate-orig):
16708 Remove variable.
16709 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
16710 (dired-isearch-filenames-end): Add and remove
16711 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
16712 instead of changing the value of `isearch-filter-predicate'.
16713 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
16714 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
16715 Put property `isearch-message-prefix' to "filename " on
16716 `dired-isearch-filter-filenames'.
16717
16718 * wdired.el (wdired-change-to-wdired-mode):
16719 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
16720 locally instead of changing `isearch-filter-predicate'.
16721 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
16722
16723 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
16724
16725 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
16726 return the commit hash (Bug#14459). Also set the
16727 `vc-git-detached' property.
16728 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
16729 (vc-git-mode-line-string): Use the same help-echo format whether
16730 in detached mode or not, because we know the actual revision now.
16731 When in detached mode, shorten the revision to 7 chars.
16732
16733 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
16734
16735 * emacs-lisp/easy-mmode.el (define-minor-mode):
16736 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
16737 mode hook and provide a docstring.
16738
16739 2013-05-27 Alan Mackenzie <acm@muc.de>
16740
16741 Remove spurious syntax-table text properties inserted by C-y.
16742 * progmodes/cc-mode.el (c-after-change): Also clear hard
16743 syntax-table property with value nil.
16744
16745 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
16746
16747 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
16748 when reading the events; the buffer layout shall not be changed.
16749
16750 2013-05-27 Leo Liu <sdl.web@gmail.com>
16751
16752 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
16753 New variable.
16754 (inferior-octave-directory-tracker): Automatically re-sync
16755 default-directory.
16756 (octave-help): Improve handling of 'See also'.
16757
16758 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
16759
16760 * doc-view.el: Minor naming convention tweaks.
16761 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
16762
16763 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
16764 even if there's no `display' property yet (bug#14435).
16765
16766 2013-05-25 Eli Zaretskii <eliz@gnu.org>
16767
16768 * subr.el (unmsys--file-name): Rename from reveal-filename.
16769
16770 * Makefile.in (custom-deps, finder-data, autoloads)
16771 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
16772 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
16773 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
16774
16775 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
16776
16777 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
16778 error-completion on the first 2 args of condition-case (bug#14446).
16779 Don't burp at EOB.
16780
16781 2013-05-25 Leo Liu <sdl.web@gmail.com>
16782
16783 * comint.el (comint-previous-matching-input): Do not flood the
16784 *Messages* buffer with trivial messages.
16785
16786 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
16787
16788 * progmodes/flymake.el (flymake-nop): Don't return a string.
16789 (flymake-set-at): Fix typo.
16790
16791 * simple.el (read--expression): New function, extracted from
16792 eval-expression. Set completion-at-point-functions (bug#14465).
16793 (eval-expression, eval-minibuffer): Use it.
16794
16795 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
16796
16797 * progmodes/flymake.el (flymake-save-buffer-in-file)
16798 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
16799 (flymake-selected-frame, flymake-log, flymake-ins-after)
16800 (flymake-set-at, flymake-get-buildfile-from-cache)
16801 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
16802 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
16803 Refine the doc string.
16804 (flymake-get-file-name-mode-and-masks): Reformat.
16805 (flymake-get-real-file-name-function): Fix a minor bug.
16806
16807 2013-05-24 Juri Linkov <juri@jurta.org>
16808
16809 * progmodes/grep.el (grep-mode-font-lock-keywords):
16810 Support =linenumber= format used by git-grep for lines with
16811 function names. (Bug#13549)
16812
16813 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
16814
16815 * progmodes/octave.el (octave-smie-rules): Return nil rather than
16816 0 after a semi-colon; it works better for smie-auto-fill.
16817 (octave--indent-new-comment-line): New function.
16818 (octave-indent-new-comment-line): Use it (indirectly).
16819 (octave-mode): Don't disable smie-auto-fill. Use add-function to
16820 modify comment-line-break-function.
16821
16822 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
16823 (smie-setup): Use add-function to set it.
16824
16825 2013-05-24 Sam Steingold <sds@gnu.org>
16826
16827 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
16828 argument (before the `interactive' argument).
16829
16830 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
16831
16832 * image-mode.el (image-mode-winprops): Add winprops to
16833 image-mode-winprops-alist before running
16834 image-mode-new-window-functions.
16835 * doc-view.el (doc-view-new-window-function): Don't delay
16836 doc-view-goto-page via timers (bug#14435).
16837
16838 2013-05-24 Tassilo Horn <tsdh@gnu.org>
16839
16840 * doc-view.el: Integrate with desktop.el. (Bug#14435)
16841 (doc-view-desktop-save-buffer): New function.
16842 (doc-view-restore-desktop-buffer): New function.
16843 (desktop-buffer-mode-handlers):
16844 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
16845 handler.
16846 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
16847 `desktop-save-buffer' function.
16848
16849 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
16850
16851 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
16852 (tramp-gvfs-file-name-handler): Raise a user error when
16853 `tramp-gvfs-enabled' is nil.
16854 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
16855 Do not raise a user error when loading package. (Bug#14447)
16856
16857 * net/xesam.el: Move to obsolete/.
16858
16859 2013-05-24 Glenn Morris <rgm@gnu.org>
16860
16861 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
16862
16863 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
16864
16865 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
16866 (Info-find-node, Man-getpage-in-background): Declare.
16867
16868 * mail/unrmail.el (unrmail):
16869 Replace obsolete detect-coding-with-priority.
16870
16871 * net/socks.el (socks-split-string): Use this rather than split-string.
16872 (socks-nslookup-host): Update for above change.
16873 (dynamic-choice, s5-dynamic-choice-match)
16874 (s5-dynamic-choice-match-inline, s5-widget-value-create):
16875 Comment out unused code.
16876
16877 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
16878 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
16879 (gud-tooltip-echo-area): Make obsolete.
16880 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
16881
16882 * progmodes/js.el (js--optimize-arglist): Declare.
16883
16884 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
16885
16886 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
16887 (ediff-window-C): Declare.
16888
16889 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
16890 Tweak requires to silence compiler.
16891
16892 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
16893 (he-search-string, he-tried-table, he-expand-list)
16894 (he-init-string, he-string-member, he-substitute-string)
16895 (he-reset-string): Declare.
16896
16897 * obsolete/options.el (list-options): Use custom-variable-p,
16898 rather than obsolete alias.
16899
16900 2013-05-23 Sam Steingold <sds@gnu.org>
16901
16902 * simple.el (shell-command-on-region): Pass the `replace' argument
16903 down to `call-process-region' to comply with the doc as reported on
16904 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
16905
16906 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
16907
16908 * emacs-lisp/smie.el (smie-indent-forward-token)
16909 (smie-indent-backward-token): Handle string tokens (bug#14381).
16910
16911 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
16912
16913 * ielm.el (ielm-menu): New menu.
16914 (inferior-emacs-lisp-mode): Set comment-start.
16915
16916 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
16917
16918 * textmodes/reftex.el (reftex-ref-style-toggle):
16919 Fix deactivate action.
16920
16921 * textmodes/reftex-vars.el (reftex-ref-style-alist):
16922 Add cleveref macros.
16923
16924 * textmodes/reftex-parse.el (reftex-locate-bibliography-files):
16925 Accept options for bibliography commands.
16926 * textmodes/reftex-vars.el (reftex-bibliography-commands):
16927 Add addbibresource. Basic Biblatex support.
16928
16929 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
16930
16931 * net/tramp-gvfs.el (top):
16932 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
16933 when loading package. (Bug#14447)
16934
16935 2013-05-23 Glenn Morris <rgm@gnu.org>
16936
16937 * progmodes/js.el: No need to load comint when compiling.
16938 (ring-insert, comint-send-string, comint-send-input)
16939 (comint-last-input-end, ido-chop): Declare.
16940
16941 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
16942 * vc/ediff-mult.el: Adjust requires.
16943 (ediff-directories-internal, ediff-directory-revisions-internal)
16944 (ediff-patch-file-internal): Declare.
16945 * vc/ediff-ptch.el: Adjust requires.
16946 (ediff-use-last-dir, ediff-buffers-internal): Declare.
16947 (ediff-find-file): Autoload.
16948 * vc/ediff-util.el: No need to load ediff when compiling.
16949 (ediff-regions-internal): Declare.
16950 * vc/ediff-wind.el: Adjust requires.
16951 (ediff-compute-toolbar-width): Define when compiling.
16952 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
16953 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
16954 (dired-get-filename, dired-get-marked-files)
16955 (ediff-last-dir-patch, ediff-patch-default-directory)
16956 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
16957 (ediff-patch-buffer-internal): Declare.
16958
16959 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
16960 (ispell-process, ispell-buffer-local-words, lm-summary)
16961 (lm-section-start, lm-section-end): Declare.
16962 (checkdoc-ispell-init): Simplify.
16963
16964 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
16965 (he-string-member, he-reset-string, he-substitute-string): Declare.
16966
16967 * eshell/em-ls.el: Adjust requires.
16968 (eshell-glob-regexp): Declare.
16969 * eshell/em-tramp.el: Adjust requires.
16970 (eshell-parse-command): Autoload.
16971 * eshell/em-xtra.el: Adjust requires.
16972 (eshell-parse-command): Autoload.
16973 * eshell/esh-ext.el: Adjust requires.
16974 (eshell-parse-command, eshell-close-handles): Autoload.
16975 * eshell/esh-io.el: Adjust requires.
16976 (eshell-output-filter): Autoload.
16977 * eshell/esh-util.el: No need to load tramp when compiling.
16978 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
16979 Declare.
16980 (eshell-parse-ange-ls): Require ange-ftp and tramp.
16981 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
16982 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
16983 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
16984 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
16985 * eshell/esh-opt.el, eshell/esh-proc.el:
16986 * eshell/esh-var.el: Adjust requires.
16987 * eshell/eshell.el: Do not require esh-util twice.
16988 (eshell-add-input-to-history): Declare.
16989 (eshell-command): Check history module is active before using it.
16990
16991 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
16992
16993 2013-05-22 Leo Liu <sdl.web@gmail.com>
16994
16995 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
16996
16997 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
16998
16999 * autorevert.el (auto-revert-notify-add-watch)
17000 (auto-revert-notify-handler): Add `attrib' for the inotify case,
17001 it indicates changes in file modification time.
17002
17003 2013-05-22 Glenn Morris <rgm@gnu.org>
17004
17005 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
17006 Always delete the autoloaded function from the noruntime and
17007 unresolved functions lists.
17008
17009 * allout.el: No need to load epa, epg, overlay when compiling.
17010 (epg-context-set-passphrase-callback, epg-list-keys)
17011 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
17012 (epg-key-user-id-list): Declare.
17013
17014 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
17015 (viper-set-parsing-style-toggling-macro)
17016 (viper-set-emacs-state-searchstyle-macros):
17017 Use called-interactively-p on Emacs.
17018 (viper-looking-back): Make it an obsolete alias. Update callers.
17019 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
17020 Use looking-back rather than viper-looking-back.
17021 (viper-tmp-insert-at-eob, viper-enlarge-region)
17022 (viper-read-string-with-history, viper-register-to-point)
17023 (viper-append-to-register, viper-change-state-to-vi)
17024 (viper-backward-char-carefully, viper-forward-char-carefully)
17025 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
17026 (viper-change-state-to-emacs): Declare.
17027 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
17028 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
17029 * emulation/viper-mous.el: Do not load viper-cmd.
17030 (viper-backward-char-carefully, viper-forward-char-carefully)
17031 (viper-forward-word, viper-adjust-window): Declare.
17032
17033 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
17034
17035 * progmodes/idlw-help.el (idlwave-help-fontify):
17036 Use called-interactively-p.
17037
17038 * term/w32console.el (w32-get-console-codepage)
17039 (w32-get-console-output-codepage): Declare.
17040
17041 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
17042 Remove unnecessary declarations.
17043 (dframe-message): Doc fix.
17044
17045 * info.el (dframe-select-attached-frame, dframe-current-frame):
17046 Declare.
17047
17048 * speedbar.el (speedbar-message): Make it an obsolete alias.
17049 Update all callers.
17050 (speedbar-with-attached-buffer)
17051 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
17052 (speedbar-with-writable): Use backquote.
17053 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
17054 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
17055 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
17056 rather than speedbar- aliases.
17057 * mail/rmail.el: Load dframe rather than speedbar when compiling.
17058 (speedbar-make-specialized-keymap, speedbar-insert-button)
17059 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
17060 (speedbar-do-function-pointer): Declare.
17061 (rmail-speedbar-button, rmail-speedbar-find-file)
17062 (rmail-speedbar-move-message):
17063 Use dframe-with-attached-buffer rather than speedbar- alias.
17064 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
17065 (dframe-message, speedbar-make-specialized-keymap)
17066 (speedbar-add-expansion-list, speedbar-mode-functions-list)
17067 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
17068 (speedbar-insert-button, dframe-select-attached-frame)
17069 (dframe-maybee-jump-to-attached-frame)
17070 (speedbar-change-initial-expansion-list)
17071 (speedbar-previously-used-expansion-list-name): Declare.
17072 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
17073 Use dframe-message, dframe-with-attached-buffer rather than
17074 speedbar- aliases.
17075 (gud-sentinel): Silence compiler.
17076 * progmodes/vhdl-mode.el (speedbar-refresh)
17077 (speedbar-do-function-pointer, speedbar-add-supported-extension)
17078 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
17079 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
17080 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
17081 (speedbar-file-lists, speedbar-make-tag-line)
17082 (speedbar-line-directory, speedbar-goto-this-file)
17083 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
17084 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
17085 (speedbar-make-button, speedbar-reset-scanners)
17086 (speedbar-files-item-info, speedbar-line-text)
17087 (speedbar-find-file-in-frame, speedbar-set-timer)
17088 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
17089 (speedbar-with-writable): Do not (re)define it.
17090 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
17091 rather than speedbar- alias.
17092
17093 2013-05-21 Leo Liu <sdl.web@gmail.com>
17094
17095 * progmodes/octave.el (octave-mode-menu): Update and re-organize
17096 menu items.
17097 (octave-mode): Tweak fill-nobreak-predicate.
17098 (inferior-octave-startup): Check process to avoid infinite loop.
17099 (inferior-octave): Pop to buffer first to show abornmal process
17100 exit information.
17101
17102 2013-05-21 Glenn Morris <rgm@gnu.org>
17103
17104 * printing.el (pr-menu-bar): Define when compiling.
17105
17106 2013-05-21 Leo Liu <sdl.web@gmail.com>
17107
17108 * progmodes/octave.el (octave-auto-fill): Remove.
17109 (octave-indent-new-comment-line): Improve.
17110 (octave-mode): Use auto fill mode through
17111 comment-line-break-function and fill-nobreak-predicate.
17112 (octave-goto-function-definition): Support DEFUN_DLD.
17113 (octave-beginning-of-defun): Small tweak.
17114 (octave-help): Show parent directory.
17115
17116 2013-05-21 Glenn Morris <rgm@gnu.org>
17117
17118 * files.el (dired-unmark):
17119 * progmodes/gud.el (gdb-input): Update declarations.
17120
17121 * calculator.el (electric, ehelp): No need to load when compiling.
17122 (Electric-command-loop, electric-describe-mode): Declare.
17123
17124 * doc-view.el (doc-view-current-converter-processes): Move before use.
17125
17126 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
17127 Move MODE-set-explicitly definition before use.
17128
17129 * international/mule-diag.el (mule-diag):
17130 Don't use obsolete window-system-version.
17131
17132 * mail/feedmail.el (smtpmail): No need to load when compiling.
17133 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
17134
17135 * mail/mail-utils.el (rfc822): No need to load when compiling.
17136 (rfc822-addresses): Autoload it.
17137 (mail-strip-quoted-names): Trivial simplification.
17138
17139 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
17140 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
17141
17142 * net/snmp-mode.el (tempo): Don't duplicate requires.
17143
17144 * progmodes/prolog.el (info): No need to load when compiling.
17145 (comint): Require before shell requires it.
17146 (Info-goto-node): Autoload it.
17147 (Info-follow-nearest-node): Declare.
17148 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
17149
17150 * textmodes/artist.el (picture-mode-exit): Declare.
17151
17152 * textmodes/reftex-parse.el (reftex-parse-from-file):
17153 Trivial rewrite so the compiler can parse it better.
17154
17155 2013-05-20 Leo Liu <sdl.web@gmail.com>
17156
17157 * progmodes/octave.el (octave-help-mode-map)
17158 (octave-help-mode-finish-hook): New variables.
17159 (octave-help-mode, octave-help-mode-finish): New functions.
17160 (octave-help): Use octave-help-mode.
17161
17162 2013-05-20 Glenn Morris <rgm@gnu.org>
17163
17164 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
17165
17166 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
17167
17168 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
17169 start at point, so that expansion starting right after opening
17170 slash in a regexp is recognized.
17171 (ruby-syntax-before-regexp-re): New defvar, extracted from
17172 ruby-syntax-propertize-function. Since the value of this regexp
17173 is looked up at runtime now, we should be able to turn
17174 `ruby-syntax-methods-before-regexp' into a defcustom later.
17175 (ruby-syntax-propertize-function): Split regexp matching into two
17176 parts, for opening and closing slashes. That allows us to skip
17177 over string interpolations and support multiline regexps.
17178 Don't call `ruby-syntax-propertize-expansions', instead use another rule
17179 for them, which calls `ruby-syntax-propertize-expansion'.
17180 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
17181 call to `ruby-syntax-propertize-function'.
17182 (ruby-syntax-propertize-expansion): Extracted from
17183 `ruby-syntax-propertize-expansions'. Handles one expansion.
17184 (ruby-syntax-propertize-percent-literal): Leave point right after
17185 the percent symbol, so that the expression expansion rule can
17186 propertize the contents.
17187 (ruby-syntax-propertize-heredoc): Leave point at bol following the
17188 heredoc openers.
17189 (ruby-syntax-propertize-expansions): Remove.
17190
17191 2013-05-18 Juri Linkov <juri@jurta.org>
17192
17193 * man.el (Man-default-man-entry): Remove `-' from the end
17194 of the default value. (Bug#14400)
17195
17196 2013-05-18 Glenn Morris <rgm@gnu.org>
17197
17198 * comint.el (comint-password-prompt-regexp):
17199 Allow "password for XXX" where XXX contains colons (eg https://...).
17200
17201 2013-05-18 Leo Liu <sdl.web@gmail.com>
17202
17203 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
17204 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
17205 (octave-source-directories): Don't check process.
17206 (octave-source-directories, octave-find-definition): Doc fix.
17207
17208 2013-05-18 Glenn Morris <rgm@gnu.org>
17209
17210 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
17211 Remove backspace/delete bindings. (Bug#14392)
17212
17213 * cus-dep.el (custom-make-dependencies): Sort the output.
17214 (custom-versions-load-alist): Convert comment to doc.
17215
17216 2013-05-17 Leo Liu <sdl.web@gmail.com>
17217
17218 * newcomment.el (comment-search-backward): Stricter in finding
17219 comment start. (Bug#14303)
17220
17221 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
17222 (octave-comment-start-skip): Properly anchored.
17223
17224 2013-05-17 Leo Liu <sdl.web@gmail.com>
17225
17226 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
17227 Clean up when turned off. (Bug#14395)
17228 (smie--highlight-matching-block-overlay): No longer buffer-local.
17229 (smie-highlight-matching-block): Adjust.
17230
17231 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
17232
17233 Doc string fix for "nanoseconds" (Bug#14406).
17234 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
17235 Fix doc string typo that had "nanoseconds" instead of "microseconds".
17236
17237 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
17238
17239 * calc/calc-units.el (math-extract-units): Preserve powers
17240 of units.
17241
17242 2013-05-17 Leo Liu <sdl.web@gmail.com>
17243
17244 * subr.el (delete-consecutive-dups): New function.
17245 * ido.el (ido-set-matches-1): Use it.
17246 * progmodes/octave.el (inferior-octave-completion-table): Use it.
17247 * ido.el (ido-remove-consecutive-dups): Remove.
17248
17249 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
17250
17251 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
17252 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
17253 regexp-opt's `words'.
17254
17255 2013-05-16 Leo Liu <sdl.web@gmail.com>
17256
17257 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
17258 (smie--highlight-matching-block-overlay)
17259 (smie--highlight-matching-block-lastpos)
17260 (smie--highlight-matching-block-timer): New variables.
17261 (smie-highlight-matching-block): New function.
17262 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
17263 (smie-setup): Conditionally enable smie-blink-matching-open.
17264
17265 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
17266
17267 Sync with upstream verilog-mode r840.
17268 * progmodes/verilog-mode.el (verilog-mode-version)
17269 (verilog-mode-release-date): Update.
17270 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
17271 (verilog-sig-tieoff): Fix string error on
17272 AUTORESET with colon define, bug594. Reported by Andrew Hou.
17273 (verilog-read-decls): Fix parameters confusing
17274 AUTOINST interfaces, bug565. Reported by Leith Johnson.
17275
17276 2013-05-16 Eli Zaretskii <eliz@gnu.org>
17277
17278 * subr.el (reveal-filename): New function.
17279
17280 * loadup.el: Compute Emacs executable versions on MS-Windows,
17281 where executables have the .exe extension. Add a hard link
17282 emacs-XX.YY.ZZ.exe on MS-Windows.
17283
17284 * Makefile.in (XARGS_LIMIT): New variable.
17285 (custom-deps, finder-data, autoloads)
17286 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
17287 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
17288 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
17289 (compile-main): Limit xargs according to $(XARGS_LIMIT).
17290
17291 2013-05-16 Leo Liu <sdl.web@gmail.com>
17292
17293 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
17294 (octave-mode-menu, octave-mode-map): Remove its uses.
17295
17296 2013-05-16 Reto Zimmermann <reto@gnu.org>
17297
17298 Sync with upstream vhdl mode v3.34.2.
17299 * progmodes/vhdl-mode.el: Use `push' throughout.
17300 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
17301 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
17302 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
17303 (vhdl-actual-generic-name): New option to derive actual generic name.
17304 (vhdl-port-paste-signals): Replace formal by actual generics.
17305 (vhdl-beautify): New name for old group vhdl-align. Update users.
17306 (vhdl-beautify-options): New option.
17307 (vhdl-last-input-event): New compat alias. Use throughout.
17308 (vhdl-goto-line): Replace user level function `goto-line'.
17309 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
17310 vhdl-fix-statement-buffer.
17311 (vhdl-create-mode-menu): Add some entries.
17312 (vhdl-align-region-groups): Respect vhdl-beautify-options.
17313 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
17314 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
17315 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
17316 to force statements on one line.
17317 (vhdl-remove-trailing-spaces-region):
17318 New, split from vhdl-remove-trailing-spaces.
17319 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
17320 Respect vhdl-beautify-options.
17321 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
17322 (vhdl-update-sensitivity-list): Not add with index if exists without.
17323 Not include array index with signal. Ignore keywords in comments.
17324 (vhdl-get-visible-signals): Regexp tweaks.
17325 (vhdl-template-component-inst): Handle empty library.
17326 (vhdl-template-type): Add template for 'enum' type.
17327 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
17328 Use vhdl-replace-string.
17329 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
17330 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
17331 (vhdl-speedbar-initialize): Update for above name change.
17332 (vhdl-compose-wire-components): Fix in handling of constants.
17333 (vhdl-error-regexp-emacs-alist): New variable.
17334 (vhdl-error-regexp-add-emacs): New function;
17335 adds support for new compile.el (Emacs 22+)
17336 (vhdl-generate-makefile-1): Change target order for single lib. units.
17337 Allow use of absolute file names.
17338
17339 2013-05-16 Leo Liu <sdl.web@gmail.com>
17340
17341 * simple.el (prog-indent-sexp): Indent enclosing defun.
17342
17343 2013-05-15 Glenn Morris <rgm@gnu.org>
17344
17345 * cus-start.el (show-trailing-whitespace): Move to editing basics.
17346 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
17347 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
17348 (whitespace-highlight): Move to whitespace group.
17349
17350 * comint.el (comint-source):
17351 * pcmpl-linux.el (pcmpl-linux):
17352 * shell.el (shell-faces):
17353 * eshell/esh-opt.el (eshell-opt):
17354 * international/ccl.el (ccl): Remove empty custom groups.
17355
17356 * completion.el (dynamic-completion-mode):
17357 * jit-lock.el (jit-lock-debug-mode):
17358 * minibuffer.el (completion-in-region-mode):
17359 * type-break.el (type-break-mode-line-message-mode)
17360 (type-break-query-mode):
17361 * emulation/tpu-edt.el (tpu-edt-mode):
17362 * progmodes/subword.el (global-subword-mode, global-superword-mode):
17363 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
17364 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
17365
17366 * term/xterm.el (xterm): Change parent group to terminals.
17367
17368 * master.el (master): Remove empty custom group.
17369 (master-mode): Remove unused :group argument.
17370 * textmodes/refill.el (refill): Remove empty custom group.
17371 (refill-mode): Remove unused :group argument.
17372
17373 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
17374
17375 * cus-dep.el: Provide a feature.
17376 (custom-make-dependencies): Ignore dotfiles (dir-locals).
17377 Don't mistakenly ignore files whose basenames match a basename
17378 from preloaded-file-list (eg cedet/ede/simple.el).
17379 Add a fallback method for getting :group.
17380
17381 2013-05-15 Juri Linkov <juri@jurta.org>
17382
17383 * isearch.el (isearch-char-by-name): Rename from
17384 `isearch-insert-char-by-name'. Doc fix.
17385 (isearch-forward): Mention `isearch-char-by-name' in
17386 the docstring. (Bug#13348)
17387
17388 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
17389 `exit-minibuffer' instead of
17390 `isearch-nonincremental-exit-minibuffer'.
17391 (isearch-edit-string): Remove mention of
17392 `isearch-nonincremental-exit-minibuffer' from docstring.
17393 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
17394 (isearch-forward-exit-minibuffer)
17395 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
17396
17397 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
17398
17399 * loadup.el: Just use unversioned DOC.
17400
17401 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
17402 literals as extending to EOB.
17403 (nxml-last-fontify-end): Remove unused variable.
17404 (nxml-after-change1): Use with-silent-modifications.
17405 (nxml-extend-after-change-region): Simplify.
17406 (nxml-extend-after-change-region1): Remove function.
17407 (nxml-after-change1): Don't adjust for dependent regions.
17408 (nxml-fontify-matcher): Simplify.
17409 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
17410 (xmltok-add-dependent): Remove function.
17411 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
17412 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
17413 (xmltok-scan-prolog-after-processing-instruction-open): Treat
17414 unclosed <[[, <?, comment, and other literals as extending to EOB.
17415 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
17416 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
17417 Remove functions.
17418 (rng-do-some-validation-1): Don't mark dependent regions.
17419 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
17420 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
17421 (nxml-clear-dependent-regions): Remove functions.
17422 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
17423 (nxml-ensure-scan-up-to-date):
17424 Don't clear&mark dependent regions.
17425
17426 2013-05-15 Leo Liu <sdl.web@gmail.com>
17427
17428 * progmodes/octave.el (octave-goto-function-definition):
17429 Improve and fix callers.
17430
17431 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
17432
17433 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
17434 the setter (bug#14387).
17435
17436 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
17437 surrounding group (bug#14402).
17438
17439 2013-05-14 Juri Linkov <juri@jurta.org>
17440
17441 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
17442 (Bug#14390)
17443
17444 2013-05-14 Glenn Morris <rgm@gnu.org>
17445
17446 * progmodes/f90.el (f90-imenu-generic-expression):
17447 Fix typo in 2013-05-08 change. (Bug#14402)
17448
17449 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
17450
17451 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
17452 Remove signals for which replies are never received.
17453
17454 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
17455
17456 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
17457 (gdb-handler-alist, gdb-handler-number): Remove variables.
17458 (gdb-handler-list): New variable.
17459 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
17460 (gdb-pending-handler-p, gdb-handle-reply)
17461 (gdb-remove-all-pending-triggers): New functions.
17462 (gdb-discard-unordered-replies): New defcustom.
17463 (gdb-handler): New defstruct.
17464 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
17465 instead of gdb-pending-triggers. Update docstring.
17466 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
17467 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
17468 (gdb-var-update-handler, def-gdb-auto-update-trigger)
17469 (def-gdb-auto-update-handler, gdb-get-changed-registers)
17470 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
17471 (gdb-frame-handler): Pending triggers are now automatically managed.
17472 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
17473 Remove argument.
17474 (gdb-input): Automatically handles pending triggers. Update docstring.
17475 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
17476 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
17477 Update comments.
17478 (gdb-done-or-error): Now use gdb-handle-reply.
17479
17480 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
17481
17482 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
17483 gdb-debug-log.
17484
17485 2013-05-14 Glenn Morris <rgm@gnu.org>
17486
17487 * subr.el (user-emacs-directory-warning): New option.
17488 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
17489
17490 2013-05-14 Leo Liu <sdl.web@gmail.com>
17491
17492 * progmodes/octave.el (octave-font-lock-keywords): Fix error
17493 during redisplay.
17494 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
17495 (octave-font-lock-texinfo-comment): Fix invalid search bound
17496 error: wrong side of point.
17497
17498 2013-05-14 Glenn Morris <rgm@gnu.org>
17499
17500 * progmodes/flymake.el (flymake-xml-program): New option.
17501 (flymake-xml-init): Use it.
17502
17503 * term/xterm.el: Provide a feature.
17504
17505 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
17506
17507 2013-05-13 Glenn Morris <rgm@gnu.org>
17508
17509 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
17510 Add compat aliases as a hack workaround. (Bug#14384)
17511
17512 2013-05-13 Leo Liu <sdl.web@gmail.com>
17513
17514 * progmodes/octave.el (octave-indent-comment): Fix indentation for
17515 ###, and %!.
17516 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
17517 C-M-q.
17518 (octave-comment-start-skip): Include %!.
17519 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
17520
17521 2013-05-12 Leo Liu <sdl.web@gmail.com>
17522
17523 * progmodes/octave.el (inferior-octave-startup): Store the value
17524 of __octave_srcdir__ for octave-source-directories.
17525 (inferior-octave-check-process): New function refactored out of
17526 inferior-octave-send-list-and-digest.
17527 (octave-source-directories)
17528 (octave-find-definition-filename-function): New variables.
17529 (octave-source-directories)
17530 (octave-find-definition-default-filename): New functions.
17531 (octave-find-definition): Improve to find functions implemented in C++.
17532
17533 2013-05-12 Glenn Morris <rgm@gnu.org>
17534
17535 * calendar/diary-lib.el (diary-outlook-format-1):
17536 Don't include dayname in the output. (Bug#14349)
17537
17538 2013-05-11 Glenn Morris <rgm@gnu.org>
17539
17540 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
17541
17542 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
17543 Treat cc-provide like provide.
17544
17545 2013-05-11 Kevin Ryde <user42@zip.com.au>
17546
17547 * cus-dep.el (custom-make-dependencies):
17548 Use generated-autoload-load-name for the sake of files such
17549 such cedet/semantic/bovine/c.el, where the base file name
17550 is not in load-path. (Bug#5277)
17551
17552 2013-05-11 Glenn Morris <rgm@gnu.org>
17553
17554 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
17555 Provide features.
17556
17557 2013-05-11 Leo Liu <sdl.web@gmail.com>
17558
17559 * progmodes/octave.el (octave-indent-comment): Improve.
17560 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
17561 (octave-eldoc-function-signatures, octave-eldoc-function):
17562 New functions.
17563 (octave-mode, inferior-octave-mode): Add eldoc support.
17564
17565 2013-05-11 Richard Stallman <rms@gnu.org>
17566
17567 * epa.el (epa-decrypt-file): Take output file name as argument
17568 and read it using `interactive'.
17569
17570 2013-05-11 Leo Liu <sdl.web@gmail.com>
17571
17572 * progmodes/octave.el (octave-beginning-of-line)
17573 (octave-end-of-line): Check before using up-list because it jumps
17574 out of more syntactic contructs since moving to smie.
17575 (octave-indent-comment): New function.
17576 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
17577 (octave-begin-keywords, octave-end-keywords)
17578 (octave-reserved-words, octave-smie-bnf-table)
17579 (octave-smie-rules): Add new keywords from Octave 3.6.4.
17580
17581 2013-05-11 Glenn Morris <rgm@gnu.org>
17582
17583 * faces.el (internal-face-x-get-resource):
17584 * frame.el (ns-display-monitor-attributes-list):
17585 * calc/calc-aent.el (math-to-radians-2):
17586 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
17587 Fix declarations.
17588
17589 * calc/calc-menu.el: Make it loadable in isolation.
17590
17591 * net/eudcb-bbdb.el: Make it loadable without bbdb.
17592 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
17593 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
17594 (eudc-bbdb-query-internal): Require 'bbdb.
17595
17596 * lpr.el (lpr-headers-switches):
17597 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
17598
17599 * progmodes/sql.el (sql-login-params): Fix and improve :type.
17600
17601 * emulation/edt-mapper.el: In batch mode, error rather than hang.
17602
17603 * term.el (term-set-escape-char): Make it idempotent.
17604
17605 2013-05-10 Leo Liu <sdl.web@gmail.com>
17606
17607 * progmodes/octave.el (inferior-octave-completion-table):
17608 No longer a function and all uses changed. Use cache to speed up
17609 completion due to bug#11906.
17610 (octave-beginning-of-defun): Re-write to be more general.
17611
17612 2013-05-10 Glenn Morris <rgm@gnu.org>
17613
17614 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
17615
17616 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
17617
17618 * comint.el (comint-redirect-send-command-to-process): Use :around
17619 rather than :override for comint-redirect-filter.
17620 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
17621 Call it instead of comint-redirect-original-filter-function (which
17622 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
17623
17624 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
17625
17626 * frame.el (display-monitor-attributes-list): Add NS case.
17627 (ns-display-monitor-attributes-list): Declare.
17628
17629 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
17630
17631 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
17632
17633 2013-05-09 Glenn Morris <rgm@gnu.org>
17634
17635 * international/fontset.el (vertical-centering-font-regexp):
17636 Set standard-value.
17637
17638 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
17639
17640 * bookmark.el (bookmark-search-delay):
17641 * cus-start.el (vertical-centering-font-regexp):
17642 * ps-mule.el (ps-mule-font-info-database-default):
17643 * ps-print.el (ps-default-fg, ps-default-bg):
17644 * type-break.el (type-break-good-break-interval):
17645 * whitespace.el (whitespace-indentation-regexp)
17646 (whitespace-space-after-tab-regexp):
17647 * emacs-lisp/testcover.el (testcover-1value-functions)
17648 (testcover-noreturn-functions, testcover-progn-functions)
17649 (testcover-prog1-functions):
17650 * emulation/viper-init.el (viper-emacs-state-cursor-color):
17651 * eshell/em-glob.el (eshell-glob-translate-alist):
17652 * play/tetris.el (tetris-tty-colors):
17653 * progmodes/cpp.el (cpp-face-default-list):
17654 * progmodes/flymake.el (flymake-allowed-file-name-masks):
17655 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
17656 (idlwave-help-browser-generic-args):
17657 * progmodes/make-mode.el (makefile-special-targets-list):
17658 * progmodes/python.el (python-shell-virtualenv-path):
17659 * progmodes/verilog-mode.el (verilog-active-low-regexp)
17660 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
17661 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
17662 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
17663 * textmodes/reftex-vars.el (reftex-format-label-function):
17664 * textmodes/remember.el (remember-diary-file): Fix custom types.
17665
17666 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
17667 Add :version.
17668
17669 2013-05-09 Leo Liu <sdl.web@gmail.com>
17670
17671 * progmodes/octave.el (inferior-octave-completion-at-point):
17672 Restore file completion. (Bug#14300)
17673 (inferior-octave-startup): Fix incorrect highlighting for the
17674 first prompt.
17675
17676 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
17677
17678 * progmodes/ruby-mode.el: First cut at SMIE support.
17679 (ruby-use-smie): New var.
17680 (ruby-smie-grammar): New constant.
17681 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
17682 (ruby-smie--forward-token, ruby-smie--backward-token)
17683 (ruby-smie-rules): New functions.
17684 (ruby-mode-variables): Setup SMIE if applicable.
17685
17686 2013-05-08 Eli Zaretskii <eliz@gnu.org>
17687
17688 * simple.el (line-move-visual): Signal beginning/end of buffer
17689 only if vertical-motion moved less than it was requested. Avoids
17690 silly incorrect error messages when there are display strings with
17691 multiple newlines at EOL.
17692
17693 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
17694
17695 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
17696 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
17697 (prolog-char-quote-workaround):
17698 * progmodes/cperl-mode.el (cperl-under-as-char):
17699 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
17700 Mark as obsolete.
17701 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
17702 their declaration.
17703 (vhdl-mode-syntax-table-init): Remove.
17704
17705 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
17706 last change.
17707
17708 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
17709 syntax for "_".
17710 (ld-script-font-lock-keywords):
17711 Change regexps to use things like \_< and \_>.
17712
17713 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
17714 Change all regexps to use things like \_< and \_>.
17715
17716 * progmodes/autoconf.el (autoconf-definition-regexp)
17717 (autoconf-font-lock-keywords, autoconf-current-defun-function):
17718 Handle a _ with symbol syntax.
17719 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
17720
17721 * progmodes/ada-mode.el (ada-mode-abbrev-table):
17722 Consolidate declaration.
17723 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
17724 the declaration.
17725 (ada-create-syntax-table): Remove.
17726 (ada-capitalize-word): Don't mess with the syntax of "_" since it
17727 already has the right syntax nowadays.
17728 (ada-goto-next-word): Don't change the syntax of "_".
17729
17730 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
17731 with-wrapper-hook.
17732
17733 2013-05-08 Sam Steingold <sds@gnu.org>
17734
17735 * thingatpt.el (thing-at-point): Accept optional second argument
17736 NO-PROPERTIES to strip the text properties from the return value.
17737 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
17738 to `thing-at-point' instead of stripping the properties ourselves.
17739 Also, when `thing-at-point' fails to find a url, prepend "http://"
17740 to the filename at point on the assumption that the user is
17741 pointing at something like gnu.org/gnu.
17742
17743 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
17744
17745 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
17746 * faces.el (crm-separator):
17747 Silence byte-compiler.
17748
17749 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
17750 (tool-bar-map): Remove unneeded defvars.
17751
17752 2013-05-08 Leo Liu <sdl.web@gmail.com>
17753
17754 Re-work a fix for bug#10994 based on Le Wang's patch.
17755 * ido.el (ido-remove-consecutive-dups): New helper.
17756 (ido-completing-read): Use it.
17757 (ido-chop): Revert fix for bug#10994.
17758
17759 2013-05-08 Adam Spiers <emacs@adamspiers.org>
17760
17761 * cus-edit.el (custom-save-variables):
17762 Pretty-print long values. (Bug#14187)
17763
17764 2013-05-08 Glenn Morris <rgm@gnu.org>
17765
17766 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
17767 (m4-mode-syntax-table): Init in the defvar.
17768 (m4-mode-abbrev-table): Let define-derived-mode define it.
17769
17770 2013-05-08 Tom Tromey <tromey@redhat.com>
17771
17772 * progmodes/m4-mode.el (m4-mode-syntax-table):
17773 Do not treat "_" as word constituent. (Bug#14167)
17774
17775 2013-05-07 Glenn Morris <rgm@gnu.org>
17776
17777 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
17778 Remove explicit eshell-isearch-cancel-map.
17779
17780 * progmodes/f90.el (f90-smart-end-names): New option.
17781 (f90-smart-end): Doc fix.
17782 (f90-end-block-optional-name): New constant.
17783 (f90-block-match): Respect f90-smart-end-names.
17784
17785 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
17786
17787 * progmodes/octave.el (octave-smie-forward-token): Be more careful
17788 about implicit semi-colons (bug#14218).
17789
17790 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
17791
17792 * frame.el (display-monitor-attributes-list)
17793 (frame-monitor-attributes): New functions.
17794
17795 2013-05-06 Leo Liu <sdl.web@gmail.com>
17796
17797 * progmodes/octave.el (octave-syntax-propertize-function): Change
17798 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
17799 (octave-font-lock-keywords): Use octave-operator-regexp.
17800 (octave-completion-at-point): Rename from
17801 octave-completion-at-point-function.
17802 (inferior-octave-directory-tracker): Robustify.
17803 (octave-text-functions): Remove and fix its uses. No such things
17804 any more.
17805
17806 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
17807
17808 * emacs-lisp/trace.el (trace--display-buffer): New function.
17809 (trace-make-advice): Use it.
17810
17811 2013-05-06 Juri Linkov <juri@jurta.org>
17812
17813 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
17814 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
17815 Doc fix.
17816 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
17817 in the help string. (Bug#12985)
17818
17819 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
17820
17821 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
17822
17823 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
17824
17825 * progmodes/perl-mode.el: Add support for here documents.
17826 (perl-syntax-propertize-function): Match here-doc markers.
17827 (perl-syntax-propertize-special-constructs): Find their end.
17828 (perl-imenu-generic-expression): Use [:alnum:].
17829
17830 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
17831 (advice--add-function): Refresh the advice if already present
17832 (bug#14317).
17833
17834 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
17835
17836 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
17837
17838 2013-05-06 Glenn Morris <rgm@gnu.org>
17839
17840 * w32-fns.el (w32-charset-info-alist): Declare.
17841
17842 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
17843 of its defcustom properties.
17844 (eshell-cmpl-initialize): No need to load pcomplete.
17845
17846 * generic-x.el: No need to require comint when compiling.
17847
17848 * net/eudc-export.el: Make it loadable without bbdb.
17849 (top-level): Use require rather than load-library.
17850 (eudc-create-bbdb-record, eudc-bbdbify-phone)
17851 (eudc-batch-export-records-to-bbdb)
17852 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
17853 Require bbdb.
17854
17855 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
17856
17857 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
17858 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
17859 some tweaks, instead.
17860
17861 2013-05-05 Leo Liu <sdl.web@gmail.com>
17862
17863 * progmodes/octave.el (octave-font-lock-keywords)
17864 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
17865 (inferior-octave-send-list-and-digest): Improve error message.
17866 (octave-mode, inferior-octave-mode): Use setq-local.
17867 (octave-help): Set info-lookup-mode.
17868
17869 2013-05-05 Richard Stallman <rms@gnu.org>
17870
17871 * vc/compare-w.el (compare-windows-whitespace):
17872 Treat no-break space as whitespace.
17873
17874 * mail/rmailsum.el (rmail-summary-rmail-update):
17875 Detect empty summary and don't change selected message.
17876 (rmail-summary-goto-msg): Likewise.
17877
17878 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
17879 Doc fixes, rename args.
17880
17881 2013-05-05 Alan Mackenzie <acm@muc.de>
17882
17883 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
17884
17885 2013-05-05 Juri Linkov <juri@jurta.org>
17886
17887 * info.el (Info-read-subfile): Use (point-min) instead of (point)
17888 to not add the length of the summary segment to the return value.
17889 (Bug#14125)
17890
17891 2013-05-05 Leo Liu <sdl.web@gmail.com>
17892
17893 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
17894 (inferior-octave-output-filter): Remove.
17895 (octave-send-region, inferior-octave-startup): Fix callers.
17896 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
17897 (octave-binary-file-extensions): New user variable.
17898 (octave-find-definition): Confirm if opening binary files.
17899 (octave-help-file): Use octave-find-definition to get the binary
17900 confirmation.
17901 (octave-help): Adjust for octave-help-file change.
17902
17903 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
17904
17905 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
17906 Merge the two entries that handle function definitions.
17907 (pascal--syntax-propertize): New const.
17908 (pascal-mode): Use it. Use setq-local.
17909
17910 2013-05-04 Glenn Morris <rgm@gnu.org>
17911
17912 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
17913 (diary-from-outlook): Respect diary-from-outlook-function.
17914
17915 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
17916
17917 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
17918 Move the declaration from C.
17919 (read-minibuffer, eval-minibuffer): Move from C.
17920 (completion-setup-function): Avoid minibuffer-completion-contents.
17921
17922 2013-05-03 Leo Liu <sdl.web@gmail.com>
17923
17924 * progmodes/octave.el (octave-font-lock-keywords): Do not
17925 dehighlight 'end' in comments or strings.
17926 (octave-completing-read, octave-goto-function-definition):
17927 New helpers.
17928 (octave-help-buffer): New user variable.
17929 (octave-help-file, octave-help-function): New button types.
17930 (octave-help): New command and bind it to C-h ;.
17931 (octave-find-definition): New command and bind it to M-.
17932 (user-error): Alias to error if not defined.
17933
17934 2013-05-02 Leo Liu <sdl.web@gmail.com>
17935
17936 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
17937 for \. (bug#14332)
17938 (octave-font-lock-keywords): Include [ and {.
17939
17940 2013-05-02 Leo Liu <sdl.web@gmail.com>
17941
17942 * progmodes/octave.el (inferior-octave-startup-file): Change default.
17943 (inferior-octave): Remove calling comint-mode and return the buffer.
17944 (inferior-octave-startup): Cosmetic changes.
17945
17946 2013-05-02 Leo Liu <sdl.web@gmail.com>
17947
17948 * progmodes/octave.el (octave-syntax-propertize-function):
17949 Include the case when ' is at line beginning. (Bug#14336)
17950
17951 2013-05-02 Glenn Morris <rgm@gnu.org>
17952
17953 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
17954 * desktop.el (vc-dir-mode): Just autoload it here.
17955
17956 2013-05-02 Alan Mackenzie <acm@muc.de>
17957
17958 Eliminate variable c-standard-font-lock-fontify-region-function.
17959 * progmodes/cc-mode.el
17960 (c-standard-font-lock-fontify-region-function): Remove.
17961 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
17962
17963 2013-05-01 Leo Liu <sdl.web@gmail.com>
17964
17965 * progmodes/octave.el: Compatible with older emacs-24 releases.
17966 (inferior-octave-has-built-in-variables): Remove. Built-in
17967 variables were removed from Octave in 2007.
17968 (inferior-octave-startup): Fix uses.
17969 (comint-line-beginning-position): Remove compatibility code for
17970 emacs 21.
17971
17972 2013-05-01 Juri Linkov <juri@jurta.org>
17973
17974 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
17975
17976 2013-05-01 Juri Linkov <juri@jurta.org>
17977
17978 * comint.el (comint-previous-matching-input): Don't print message
17979 "History item: %d" when `isearch-mode' is active.
17980 (comint-history-isearch-message): Print message "History item: %d"
17981 when `comint-input-ring-index' is not empty and this function is
17982 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
17983
17984 2013-05-01 Leo Liu <sdl.web@gmail.com>
17985
17986 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
17987 definitions. Use completion-at-point to insert keywords.
17988 (octave-abbrev-start): Remove.
17989 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
17990
17991 2013-04-30 Leo Liu <sdl.web@gmail.com>
17992
17993 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
17994 change.
17995
17996 2013-04-30 Alan Mackenzie <acm@muc.de>
17997
17998 Handle arbitrarily long C++ member initialisation lists.
17999 * progmodes/cc-engine.el (c-back-over-member-initializers):
18000 new function.
18001 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
18002 (most) member init lists.
18003
18004 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
18005
18006 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
18007 variable.
18008
18009 2013-04-30 Leo Liu <sdl.web@gmail.com>
18010
18011 * progmodes/octave.el (octave-variables): Remove. No builtin
18012 variables any more. All converted to functions.
18013 (octave-font-lock-keywords, octave-completion-at-point-function):
18014 Fix uses.
18015 (octave-font-lock-texinfo-comment): New user variable.
18016 (octave-texinfo-font-lock-keywords): New variable for texinfo
18017 comment block.
18018 (octave-function-comment-block): New face.
18019 (octave-font-lock-texinfo-comment): New function.
18020 (octave-mode): Font lock texinfo comment block.
18021
18022 2013-04-29 Leo Liu <sdl.web@gmail.com>
18023
18024 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
18025 indexing expression.
18026 (octave-continuation-string): Do not use \.
18027 (inferior-octave-complete-impossible): Remove.
18028 (inferior-octave-completion-table)
18029 (inferior-octave-completion-at-point): Remove its uses.
18030 (inferior-octave-startup): completion_matches was introduced to
18031 Octave in 1996 so safe to assume it.
18032 (octave-function-file-comment): Improve to follow how Octave does it.
18033 (octave-update-function-file-comment): Tweak.
18034
18035 2013-04-29 Leo Liu <sdl.web@gmail.com>
18036
18037 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
18038 (inferior-octave-startup): Remove inferior-octave-startup-hook.
18039 (octave-function-file-comment): Fix typo.
18040 (octave-sync-function-file-names): Use read-char-choice.
18041
18042 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
18043
18044 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
18045 to t for the less important warnings.
18046
18047 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
18048
18049 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
18050
18051 2013-04-27 Glenn Morris <rgm@gnu.org>
18052
18053 * vc/log-view.el (log-view-current-entry):
18054 Treat "---" separator lines as part of the following rev. (Bug#14169)
18055
18056 2013-04-27 Juri Linkov <juri@jurta.org>
18057
18058 * subr.el (read-number): Doc fix about using it by interactive
18059 code letter `n'. (Bug#14254)
18060
18061 2013-04-27 Juri Linkov <juri@jurta.org>
18062
18063 * desktop.el (desktop-auto-save-timeout): New option.
18064 (desktop-file-checksum): New variable.
18065 (desktop-save): Add optional arg `auto-save' and don't auto-save
18066 if nothing changed.
18067 (desktop-auto-save-timer): New variable.
18068 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
18069 (after-init-hook): Call `desktop-auto-save-set-timer'.
18070 Suggested by Reuben Thomas <rrt@sc3d.org> in
18071 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
18072
18073 2013-04-27 Leo Liu <sdl.web@gmail.com>
18074
18075 * progmodes/octave.el (octave-function-file-p)
18076 (octave-skip-comment-forward, octave-function-file-comment)
18077 (octave-update-function-file-comment): New functions.
18078 (octave-mode-map): Bind C-c ; to
18079 octave-update-function-file-comment.
18080 (octave-mode-menu): Add octave-update-function-file-comment.
18081 (octave-mode, inferior-octave-mode): Fix doc-string.
18082 (octave-insert-defun): Conform to Octave's coding convention.
18083 (Bug#14285)
18084
18085 * files.el (basic-save-buffer): Don't let errors in
18086 before-save-hook prevent saving buffer.
18087
18088 2013-04-20 Roland Winkler <winkler@gnu.org>
18089
18090 * faces.el (read-face-name): Use completing-read if arg multiple
18091 is nil.
18092
18093 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
18094
18095 * ls-lisp.el (ls-lisp-insert-directory): If no files are
18096 displayed, move point to after the totals line.
18097 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
18098 for the details.
18099
18100 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
18101
18102 * emacs-lisp/package.el (package-autoload-ensure-default-file):
18103 Add current dir to the load-path.
18104 (package-generate-autoloads): Don't rely on
18105 autoload-ensure-default-file.
18106
18107 2013-04-26 Reuben Thomas <rrt@sc3d.org>
18108
18109 * textmodes/remember.el (remember-store-in-files): Document that
18110 the file name format is passed to `format-time-string'.
18111
18112 2013-04-26 Leo Liu <sdl.web@gmail.com>
18113
18114 * progmodes/octave.el (octave-sync-function-file-names): New function.
18115 (octave-mode): Use it in before-save-hook.
18116
18117 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
18118
18119 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
18120 (bug#14274).
18121
18122 * progmodes/octave.el (octave-smie-forward-token): Properly skip
18123 \n and comment, even if it's not an implicit ; (bug#14218).
18124
18125 2013-04-26 Glenn Morris <rgm@gnu.org>
18126
18127 * subr.el (read-number): Once more use `read' rather than
18128 `string-to-number', to trap non-numeric input. (Bug#14254)
18129
18130 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
18131
18132 * emacs-lisp/syntax.el (syntax-propertize-multiline):
18133 Use `syntax-multiline' text property consistently instead of
18134 `font-lock-multiline'. (Bug#14237)
18135
18136 2013-04-26 Glenn Morris <rgm@gnu.org>
18137
18138 * emacs-lisp/shadow.el (list-load-path-shadows):
18139 No longer necessary to check for duplicate simple.el, since
18140 2012-07-07 change to init_lread to not include installation lisp
18141 directories in load-path when running uninstalled. (Bug#14270)
18142
18143 2013-04-26 Leo Liu <sdl.web@gmail.com>
18144
18145 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
18146 (octave-mode, inferior-octave-mode): Use setq-local.
18147 (octave-not-in-string-or-comment-p): Rename to
18148 octave-in-string-or-comment-p.
18149 (octave-in-comment-p, octave-in-string-p)
18150 (octave-in-string-or-comment-p): Replace defsubst with defun.
18151
18152 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
18153
18154 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
18155
18156 2013-04-25 Bastien Guerry <bzg@gnu.org>
18157
18158 * textmodes/remember.el (remember-data-directory)
18159 (remember-directory-file-name-format): Fix custom types.
18160
18161 2013-04-25 Leo Liu <sdl.web@gmail.com>
18162
18163 * progmodes/octave.el (octave-completion-at-point-function):
18164 Make use of inferior octave process.
18165 (octave-initialize-completions): Remove.
18166 (inferior-octave-completion-table): New function.
18167 (inferior-octave-completion-at-point): Use it.
18168 (octave-completion-alist): Remove.
18169
18170 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
18171
18172 * progmodes/opascal.el: Use font-lock and syntax-propertize.
18173 (opascal-mode-syntax-table): New var.
18174 (opascal-literal-kind, opascal-is-literal-end)
18175 (opascal-literal-token-at): Rewrite.
18176 (opascal--literal-start-re, opascal-font-lock-keywords)
18177 (opascal--syntax-propertize): New constants.
18178 (opascal-font-lock-defaults): Adjust.
18179 (opascal-mode): Use them. Set comment-<foo> variables as well.
18180 (delphi-comment-face, opascal-comment-face, delphi-string-face)
18181 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
18182 (delphi-other-face, opascal-other-face): Remove face variables.
18183 (opascal-save-state): Remove macro.
18184 (opascal-fontifying-progress-step): Remove constant.
18185 (opascal--ignore-changes): Remove var.
18186 (opascal-set-token-property, opascal-parse-next-literal)
18187 (opascal-is-stable-literal, opascal-complete-literal)
18188 (opascal-is-literal-start, opascal-face-of)
18189 (opascal-parse-region, opascal-parse-region-until-stable)
18190 (opascal-fontify-region, opascal-after-change)
18191 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
18192 (opascal-debug-parse-region, opascal-debug-parse-window)
18193 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
18194 (opascal-debug-fontify-buffer): Remove.
18195 (opascal-debug-mode-map): Adjust accordingly.
18196
18197 2013-04-25 Leo Liu <sdl.web@gmail.com>
18198
18199 Merge octave-mod.el and octave-inf.el into octave.el with some
18200 cleanups.
18201 * progmodes/octave.el: New file renamed from octave-mod.el.
18202 * progmodes/octave-inf.el: Merged into octave.el.
18203 * progmodes/octave-mod.el: Renamed to octave.el.
18204
18205 2013-04-25 Tassilo Horn <tsdh@gnu.org>
18206
18207 * textmodes/reftex-vars.el
18208 (reftex-label-ignored-macros-and-environments): New defcustom.
18209
18210 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
18211
18212 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
18213
18214 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
18215 (smie-indent-keyword): Improve the check to ensure that the next
18216 comment is really on the same line.
18217 (smie-indent-comment): Don't align with a subsequent closer (or eob).
18218
18219 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
18220 semi-colons if the line is not otherwise empty (bug#14218).
18221
18222 2013-04-25 Glenn Morris <rgm@gnu.org>
18223
18224 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
18225
18226 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
18227
18228 * progmodes/opascal.el (opascal-set-token-property): Rename from
18229 opascal-set-text-properties and only set `token' (bug#14134).
18230 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
18231 (opascal-literal-text-properties): Remove.
18232 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
18233 Adjust callers.
18234
18235 2013-04-24 Reuben Thomas <rrt@sc3d.org>
18236
18237 * textmodes/remember.el (remember-handler-functions): Add an
18238 option for a new handler `remember-store-in-files'.
18239 (remember-data-directory, remember-directory-file-name-format):
18240 New options.
18241 (remember-store-in-files): New function to store remember notes
18242 as separate files within a directory.
18243
18244 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
18245
18246 * progmodes/compile.el (compilation-next-error-function):
18247 Pass "formats" to compilation-find-file (bug#11777).
18248
18249 2013-04-24 Glenn Morris <rgm@gnu.org>
18250
18251 * vc/vc-bzr.el (vc-bzr-print-log):
18252 * vc/vc-hg.el (vc-hg-print-log):
18253 * vc/vc-svn.el (vc-svn-print-log):
18254 Fix START-REVISION with LIMIT != 1. (Bug#14168)
18255
18256 * vc/vc-bzr.el (vc-bzr-print-log):
18257 * vc/vc-cvs.el (vc-cvs-print-log):
18258 * vc/vc-git.el (vc-git-print-log):
18259 * vc/vc-hg.el (vc-hg-print-log):
18260 * vc/vc-mtn.el (vc-mtn-print-log):
18261 * vc/vc-rcs.el (vc-rcs-print-log):
18262 * vc/vc-sccs.el (vc-sccs-print-log):
18263 * vc/vc-svn.el (vc-svn-print-log):
18264 * vc/vc.el (vc-print-log-internal): Doc fixes.
18265
18266 2013-04-23 Glenn Morris <rgm@gnu.org>
18267
18268 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
18269 Remove venerable code attempting to avoid substitute-command-keys.
18270
18271 2013-04-23 Tassilo Horn <tsdh@gnu.org>
18272
18273 * textmodes/reftex-vars.el (reftex-label-regexps):
18274 Call `reftex-compile-variables' after changes to this variable.
18275
18276 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
18277
18278 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
18279 Use lexical-binding.
18280 (jit-lock-force-redisplay): Use markers, check buffer's continued
18281 existence and beware narrowed buffers.
18282 (jit-lock-fontify-now): Adjust call accordingly.
18283
18284 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
18285
18286 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
18287 to avoid misleading the user.
18288
18289 2013-04-22 Leo Liu <sdl.web@gmail.com>
18290
18291 * info-look.el: Prefer latex2e.info. (Bug#14240)
18292
18293 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
18294
18295 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
18296
18297 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
18298 * net/tramp.el (tramp-call-process): ... here.
18299 (tramp-set-completion-function, tramp-parse-putty):
18300 * net/tramp-adb.el (tramp-adb-execute-adb-command):
18301 * net/tramp-gvfs.el (tramp-gvfs-send-command):
18302 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
18303 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
18304 (tramp-call-local-coding-command): Use `tramp-call-process'
18305 instead of `tramp-compat-call-process'.
18306
18307 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
18308 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
18309 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
18310 (tramp-find-inline-compress): Improve traces.
18311 (tramp-maybe-send-script): Check for Perl binary.
18312 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
18313
18314 2013-04-22 Daiki Ueno <ueno@gnu.org>
18315
18316 * epg.el (epg-context-pinentry-mode): New function.
18317 (epg-context-set-pinentry-mode): New function.
18318 (epg--start): Pass --pinentry-mode option to gpg command.
18319
18320 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
18321
18322 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
18323 `comint-dynamic-complete' is obsolete since 24.1, replaced by
18324 `completion-at-point'. (Bug#13774)
18325
18326 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
18327 default key binding for `describe-distribution' has been moved to
18328 `C-h C-o'. (Bug#13970)
18329
18330 2013-04-21 Glenn Morris <rgm@gnu.org>
18331
18332 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
18333 Add doc strings.
18334 (vc-print-log): Clarify interactive prompt.
18335
18336 2013-04-20 Glenn Morris <rgm@gnu.org>
18337
18338 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
18339 No longer include timestamp etc information.
18340
18341 2013-04-20 Roland Winkler <winkler@gnu.org>
18342
18343 * faces.el (read-face-name): Bug fix, return just one face if arg
18344 multiple is nil. (Bug#14209)
18345
18346 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
18347
18348 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
18349 (remove-function): Autoload.
18350
18351 * comint.el (comint-redirect-original-filter-function): Remove.
18352 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
18353 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
18354 (vc-cvs-annotate-command):
18355 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
18356 * progmodes/prolog.el (prolog-consult-compile):
18357 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
18358 Use add/remove-function instead.
18359 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
18360 (gud-tooltip-process-output, gud-tooltip-tips):
18361 Use add/remove-function instead.
18362 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
18363 (scheme-interaction-mode, exit-scheme-interaction-mode):
18364 Use add/remove-function instead.
18365
18366 * vc/vc-dispatcher.el: Use lexical-binding.
18367 (vc--process-sentinel): Rename from vc-process-sentinel.
18368 Change last arg to be the code to run. Don't use vc-previous-sentinel
18369 and vc-sentinel-commands any more.
18370 (vc-exec-after): Allow code to be a function. Use add/remove-function.
18371 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
18372
18373 2013-04-19 Masatake YAMATO <yamato@redhat.com>
18374
18375 * progmodes/sh-script.el (sh-imenu-generic-expression):
18376 Handle function names with a single character. (Bug#14111)
18377
18378 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
18379
18380 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
18381 for subroutines defined in an eval (bug#14182).
18382
18383 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
18384
18385 * bookmark.el (bookmark-completing-read): Improve handling of empty
18386 string (bug#14176).
18387
18388 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
18389
18390 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
18391
18392 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
18393
18394 New faster Imenu implementation (bug#14058).
18395 * progmodes/python.el (python-imenu-prev-index-position)
18396 (python-imenu-format-item-label-function)
18397 (python-imenu-format-parent-item-label-function)
18398 (python-imenu-format-parent-item-jump-label-function):
18399 New vars.
18400 (python-imenu-format-item-label)
18401 (python-imenu-format-parent-item-label)
18402 (python-imenu-format-parent-item-jump-label)
18403 (python-imenu--put-parent, python-imenu--build-tree)
18404 (python-imenu-create-index, python-imenu-create-flat-index)
18405 (python-util-popn): New functions.
18406 (python-mode): Set imenu-create-index-function to
18407 python-imenu-create-index.
18408
18409 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
18410
18411 * winner.el (winner-active-region): Use region-active-p, activate-mark
18412 and deactivate-mark (bug#14225).
18413
18414 * simple.el (deactivate-mark): Don't inline it.
18415
18416 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
18417
18418 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
18419
18420 2013-04-18 Tassilo Horn <tsdh@gnu.org>
18421
18422 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
18423 file extensions from the archive-mode entry in order to prefer
18424 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
18425
18426 2013-04-18 Leo Liu <sdl.web@gmail.com>
18427
18428 * bindings.el (help-event-list): Add ?\?.
18429
18430 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
18431
18432 * subr.el (with-wrapper-hook): Declare obsolete.
18433 * simple.el (filter-buffer-substring-function): New hook.
18434 (filter-buffer-substring): Use it.
18435 (filter-buffer-substring-functions): Mark obsolete.
18436 * minibuffer.el (completion-in-region-function): New hook.
18437 (completion-in-region): Use it.
18438 (completion-in-region-functions): Mark obsolete.
18439 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
18440 * abbrev.el (abbrev-expand-function): New hook.
18441 (expand-abbrev): Use it.
18442 (abbrev-expand-functions): Mark obsolete.
18443 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
18444 and :filter-return.
18445
18446 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
18447
18448 * progmodes/python.el (python-nav--syntactically): Fix cornercases
18449 and do not care about match data.
18450
18451 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
18452
18453 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
18454 completion tables when completing error conditions and
18455 `declare' arguments.
18456 (lisp-complete-symbol, field-complete): Mark as obsolete.
18457 (check-parens): Unmatched parens are user errors.
18458 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
18459
18460 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
18461
18462 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
18463 command changed buffer (ie. `flyspell-pre-buffer' is not current
18464 buffer), which prevents making decisions based on invalid value of
18465 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
18466 cause an error when `flyspell-pre-point' was nil after switching
18467 buffers.
18468 (flyspell-post-command-hook): No longer needs to change buffers when
18469 checking pre-word. While at it remove unnecessary progn.
18470
18471 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
18472
18473 * textmodes/ispell.el (ispell-add-per-file-word-list):
18474 Fix `flyspell-correct-word-before-point' error when accepting
18475 words and `coment-padding' is an integer by using
18476 `comment-normalize-vars' (Bug #14214).
18477
18478 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
18479
18480 New defun movement commands.
18481 * progmodes/python.el (python-nav--syntactically)
18482 (python-nav--forward-defun, python-nav-backward-defun)
18483 (python-nav-forward-defun): New functions.
18484
18485 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
18486
18487 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
18488 (python-syntax-context): Use named compiler-macro for backwards
18489 compatibility with Emacs 24.x.
18490
18491 2013-04-17 Leo Liu <sdl.web@gmail.com>
18492
18493 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
18494 octave-hide-process-buffer.
18495
18496 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
18497
18498 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
18499 (bug#14216).
18500
18501 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
18502
18503 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
18504 Fix adjustment of offset when receiving incomplete responses from GDB
18505 (bug#14129).
18506
18507 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
18508
18509 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
18510 python-mode-abbrev-table.
18511 (python-skeleton-define): Adjust accordingly.
18512 (python-mode-abbrev-table): New table that inherits from it so that
18513 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
18514
18515 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
18516 (abbrev-symbol): Use it.
18517 (abbrev--before-point): Use it since we already handle inheritance.
18518
18519 2013-04-16 Leo Liu <sdl.web@gmail.com>
18520
18521 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
18522 binding to info-lookup-symbol.
18523
18524 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
18525
18526 * minibuffer.el (completion--twq-all):
18527 * term/ns-win.el (ns-initialize-window-system):
18528 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
18529
18530 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
18531
18532 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
18533 global bindings.
18534
18535 * doc-view.el (doc-view-start-process): Handle url-handler directories.
18536
18537 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
18538
18539 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
18540 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
18541 to nil.
18542 (ruby-end-of-defun): Remove the unused arg, change the docstring
18543 to reflect that this function is only used as the value of
18544 `end-of-defun-function'.
18545 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
18546 to reflect an earlier change that beginning/end-of-defun functions
18547 jump between methods in a class definition, as well as top-level
18548 functions.
18549
18550 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
18551
18552 * minibuffer.el (minibuffer-complete): Don't just scroll
18553 a *Completions* that's been iconified.
18554 (minibuffer-force-complete): Make sure repetitions do cycle when going
18555 through completion-in-region -> minibuffer-complete.
18556
18557 2013-04-15 Alan Mackenzie <acm@muc.de>
18558
18559 Correct the placement of c-cpp-delimiters when there're #s not at
18560 col 0.
18561
18562 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
18563 place a submatch around the #.
18564 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
18565 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
18566 on the #, not BOL.
18567
18568 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
18569
18570 * emacs-lisp/nadvice.el: Properly test names when adding advice.
18571 (advice--member-p): New arg `name'.
18572 (advice--add-function, advice-member-p): Use it (bug#14202).
18573
18574 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
18575
18576 Reformulate java imenu-generic-expression.
18577 The old expression contained ill formed regexps.
18578
18579 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
18580 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
18581 (cc-imenu-java-method-arg-regexp): New defconsts.
18582 (cc-imenu-java-build-type-args-regex): New defun.
18583 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
18584 handling of spaces in the regexp.
18585
18586 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
18587
18588 * textmodes/ispell.el (ispell-command-loop): Remove
18589 flyspell highlight of a word when ispell accepts it (bug #14178).
18590
18591 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
18592
18593 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
18594 uses code from the previous `ange-ftp-run-real-handler'.
18595 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
18596 only in case that function exist. This is needed for proper
18597 unloading of Tramp.
18598
18599 2013-04-15 Tassilo Horn <tsdh@gnu.org>
18600
18601 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
18602
18603 * textmodes/reftex.el (reftex-compile-variables): Use it.
18604
18605 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
18606
18607 * files.el (normal-mode): Only use default major-mode if no other mode
18608 was specified.
18609
18610 * emacs-lisp/trace.el (trace-values): New function.
18611
18612 * files.el: Allow : in local variables (bug#14089).
18613 (hack-local-variable-regexp): New var.
18614 (hack-local-variables-prop-line, hack-local-variables): Use it.
18615
18616 2013-04-13 Roland Winkler <winkler@gnu.org>
18617
18618 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
18619 data before it gets modified by bibtex-beginning-of-entry.
18620
18621 2013-04-13 Roland Winkler <winkler@gnu.org>
18622
18623 * textmodes/bibtex.el (bibtex-url): Doc fix.
18624
18625 2013-04-13 Roland Winkler <winkler@gnu.org>
18626
18627 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
18628 does not visit a BibTeX file, exclude it from the list of buffers
18629 returned by bibtex-initialize.
18630
18631 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
18632
18633 * window.el (split-window): Remove interactive form, since as a
18634 command this function is a special case of split-window-below.
18635 Correct doc string.
18636
18637 2013-04-12 Roland Winkler <winkler@gnu.org>
18638
18639 * faces.el (read-face-name): Do not override value of arg default.
18640 Allow single faces and strings as default values. Remove those
18641 elements from return value that are not faces.
18642 (describe-face): Simplify.
18643 (face-at-point): New optional args thing and multiple so that this
18644 function can provide the same functionality previously provided by
18645 read-face-name.
18646 (make-face-bold, make-face-unbold, make-face-italic)
18647 (make-face-unitalic, make-face-bold-italic, invert-face)
18648 (modify-face, read-face-and-attribute): Use face-at-point.
18649
18650 * cus-edit.el (customize-face, customize-face-other-window)
18651 * cus-theme.el (custom-theme-add-face)
18652 * face-remap.el (buffer-face-set)
18653 * facemenu.el (facemenu-set-face): Use face-at-point.
18654
18655 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
18656
18657 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
18658
18659 2013-04-10 Tassilo Horn <tsdh@gnu.org>
18660
18661 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
18662 off leading { and trailing } from field values.
18663
18664 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
18665
18666 * emacs-lisp/timer.el (timer--check): New function.
18667 (timer--time, timer-set-function, timer-event-handler): Use it.
18668 (timer-set-idle-time): Simplify.
18669 (timer--activate): CSE.
18670 (timer-event-handler): Give more info in error message.
18671 (internal-timer-start-idle): New function, moved from C.
18672
18673 * mpc.el (mpc-proc): Add `restart' argument.
18674 (mpc-proc-cmd): Use it.
18675 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
18676 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
18677 less often.
18678
18679 2013-04-10 Masatake YAMATO <yamato@redhat.com>
18680
18681 * progmodes/sh-script.el: Implement `sh-mode' own
18682 `add-log-current-defun-function' (bug#14112).
18683 (sh-current-defun-name): New function.
18684 (sh-mode): Use the function.
18685
18686 2013-04-09 Bastien Guerry <bzg@gnu.org>
18687
18688 * simple.el (choose-completion-string): Fix docstring (bug#14163).
18689
18690 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
18691
18692 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
18693
18694 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
18695 timer (bug#14156).
18696
18697 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
18698
18699 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
18700 declaration.
18701
18702 2013-04-07 Leo Liu <sdl.web@gmail.com>
18703
18704 * pcmpl-x.el: New file.
18705
18706 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
18707
18708 Do not set x-display-name until X connection is established.
18709 This is needed to prevent from weird situation described at
18710 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
18711 * frame.el (make-frame): Set x-display-name after call to
18712 window system initialization function, not before.
18713 * term/x-win.el (x-initialize-window-system): Add optional
18714 display argument and use it.
18715 * term/w32-win.el (w32-initialize-window-system):
18716 * term/ns-win.el (ns-initialize-window-system):
18717 * term/pc-win.el (msdos-initialize-window-system):
18718 Add compatible optional display argument.
18719
18720 2013-04-06 Eli Zaretskii <eliz@gnu.org>
18721
18722 * files.el (normal-backup-enable-predicate): On MS-Windows and
18723 MS-DOS compare truenames of temporary-file-directory and of the
18724 file, so that 8+3 aliases (usually found in $TEMP on Windows)
18725 don't fail comparison by compare-strings. Also, compare file
18726 names case-insensitively on MS-Windows and MS-DOS.
18727
18728 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
18729
18730 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
18731 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
18732
18733 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
18734
18735 * whitespace.el (whitespace-color-on, whitespace-color-off):
18736 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
18737
18738 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
18739
18740 * ispell.el (ispell-set-spellchecker-params):
18741 Really set `ispell-args' for all equivs.
18742
18743 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
18744
18745 * ido.el (ido-completions): Use extra elements of ido-decorations
18746 (bug#14143).
18747 (ido-decorations): Update docstring.
18748
18749 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
18750
18751 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
18752 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
18753 nil during initialization, in order not to miss changes since the
18754 file was opened. (Bug#14140)
18755
18756 2013-04-05 Leo Liu <sdl.web@gmail.com>
18757
18758 * kmacro.el (kmacro-call-macro): Fix bug#14135.
18759
18760 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
18761
18762 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
18763
18764 2013-04-04 Glenn Morris <rgm@gnu.org>
18765
18766 * electric.el (electric-pair-inhibit-predicate): Add :version.
18767
18768 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
18769
18770 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
18771 when a package is required several times (bug#14082).
18772
18773 2013-04-04 Roland Winkler <winkler@gnu.org>
18774
18775 * faces.el (read-face-name): Behave as promised by the docstring.
18776 Assume that arg default is a list of faces.
18777 (describe-face): Call read-face-name with list of default faces.
18778
18779 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
18780
18781 * bookmark.el: Fix deletion of bookmarks (bug#13972).
18782 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
18783 (bookmark-bmenu-execute-deletions): Only skip first line if it's
18784 the header.
18785 (bookmark-exit-hook-internal): Save even if list is empty.
18786
18787 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
18788
18789 * emacs-lisp/package.el (package-pinned-packages): New var.
18790 (package--add-to-archive-contents): Obey it (bug#14118).
18791
18792 2013-04-03 Alan Mackenzie <acm@muc.de>
18793
18794 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
18795 Also adapt to the new values of element 7 of a parse state.
18796
18797 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
18798 parameter `not-in-delimiter'. Handle being inside comment opener.
18799 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
18800 character in case we're typing a '*' after a '/'.
18801 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
18802 instead by passing the parameter to c-state-pp-to-literal.
18803
18804 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
18805 for elt. 7 of a parse state.
18806
18807 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
18808
18809 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
18810 * international/latin1-disp.el, international/mule-util.el:
18811 * language/cyril-util.el, language/european.el, language/ind-util.el:
18812 * language/lao-util.el, language/thai.el, language/tibet-util.el:
18813 * language/tibetan.el, language/viet-util.el:
18814 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
18815
18816 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
18817
18818 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
18819 (electric-pair-post-self-insert-function): Use it.
18820 (electric-pair-default-inhibit): New function, extracted from
18821 electric-pair-post-self-insert-function.
18822
18823 2013-03-31 Roland Winkler <winkler@gnu.org>
18824
18825 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
18826
18827 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
18828
18829 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
18830
18831 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
18832
18833 Un-indent after "pass" and "return" statements (Bug#13888)
18834 * progmodes/python.el (python-indent-block-enders): New var.
18835 (python-indent-calculate-indentation): Use it.
18836
18837 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
18838
18839 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
18840 defun. Defining it as defalias could introduce too eager
18841 byte-compiler optimization. (Bug#14030)
18842
18843 2013-03-30 Chong Yidong <cyd@gnu.org>
18844
18845 * iswitchb.el (iswitchb-read-buffer): Fix typo.
18846
18847 2013-03-30 Leo Liu <sdl.web@gmail.com>
18848
18849 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
18850 (kmacro-execute-from-register): Pass the keyboard macro to
18851 kmacro-call-macro or repeating won't work correctly.
18852
18853 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
18854
18855 * progmodes/subword.el: Back to using `forward-symbol'.
18856
18857 * subr.el (forward-whitespace, forward-symbol)
18858 (forward-same-syntax): Move from thingatpt.el.
18859
18860 2013-03-29 Leo Liu <sdl.web@gmail.com>
18861
18862 * kmacro.el (kmacro-to-register): New command.
18863 (kmacro-execute-from-register): New function.
18864 (kmacro-keymap): Bind to 'x'. (Bug#14071)
18865
18866 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
18867
18868 * mpc.el: Use defvar-local and setq-local.
18869 (mpc--proc-connect): Connection failures are not bugs.
18870 (mpc-mode-map): `follow-link' only applies to the buffer's content.
18871 (mpc-volume-map): Bind to the up-events.
18872
18873 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
18874
18875 * progmodes/subword.el (superword-mode): Use `forward-sexp'
18876 instead of `forward-symbol'.
18877
18878 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
18879
18880 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
18881 (edebug--recursive-edit): Use it.
18882 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
18883 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
18884
18885 2013-03-28 Leo Liu <sdl.web@gmail.com>
18886
18887 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
18888
18889 2013-03-27 Eli Zaretskii <eliz@gnu.org>
18890
18891 * facemenu.el (list-colors-callback): New defvar.
18892 (list-colors-redisplay): New function.
18893 (list-colors-display): Install list-colors-redisplay as the
18894 revert-buffer-function. (Bug#14063)
18895
18896 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
18897
18898 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
18899 and suffixes don't overlap (bug#14061).
18900
18901 * case-table.el: Use lexical-binding.
18902 (case-table-get-table): New function.
18903 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
18904
18905 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
18906
18907 * progmodes/subword.el: Add `superword-mode' to do word motion
18908 over symbol_words (parallels and leverages `subword-mode' which
18909 does word motion inside MixedCaseWords).
18910
18911 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
18912
18913 * eshell/em-unix.el: Move su and sudo to...
18914 * eshell/em-tramp.el: ...Eshell tramp module.
18915
18916 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
18917
18918 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
18919 Change return value to be a sexp. Delay `get-buffer' to after
18920 restoring the desktop (bug#13951).
18921
18922 2013-03-26 Leo Liu <sdl.web@gmail.com>
18923
18924 * register.el: Move semantic tag handling back to
18925 cedet/semantic/senator.el. (Bug#14052)
18926
18927 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
18928
18929 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
18930 into the prompt either (bug#13963).
18931
18932 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
18933
18934 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
18935 part of "(error-foo)".
18936
18937 2013-03-24 Juri Linkov <juri@jurta.org>
18938
18939 * replace.el (list-matching-lines-prefix-face): New defcustom.
18940 (occur-1): Pass `list-matching-lines-prefix-face' to the function
18941 `occur-engine' if `face-differs-from-default-p' returns t.
18942 (occur-engine): Add `,' inside backquote construct to evaluate
18943 `prefix-face'. Propertize the prefix with the `prefix-face' face.
18944 Pass `prefix-face' to the functions `occur-context-lines' and
18945 `occur-engine-add-prefix'.
18946 (occur-engine-add-prefix, occur-context-lines): Add optional arg
18947 `prefix-face' and propertize the prefix with `prefix-face'.
18948 (Bug#14017)
18949
18950 2013-03-24 Leo Liu <sdl.web@gmail.com>
18951
18952 * nxml/rng-valid.el (rng-validate-while-idle)
18953 (rng-validate-quick-while-idle): Guard against deleted buffer.
18954 (Bug#13999)
18955
18956 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
18957 is the last entry in kill-buffer-hook.
18958
18959 * files.el (kill-buffer-hook): Doc fix.
18960
18961 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
18962
18963 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
18964 Make it safe-local.
18965
18966 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
18967
18968 2013-03-23 Leo Liu <sdl.web@gmail.com>
18969
18970 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
18971 Remove.
18972
18973 * nxml/rng-valid.el (rng-validate-mode)
18974 (rng-after-change-function, rng-do-some-validation):
18975 * nxml/rng-maint.el (rng-validate-buffer):
18976 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
18977 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
18978 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
18979 (nxml-extend-after-change-region): Use with-silent-modifications.
18980
18981 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
18982 timer-idle-list.
18983
18984 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
18985 (rng-next-error-1, rng-previous-error-1): Do not let-bind
18986 timer-idle-list. (Bug#13999)
18987
18988 2013-03-23 Juri Linkov <juri@jurta.org>
18989
18990 * info.el (info-index-match): New face.
18991 (Info-index, Info-apropos-matches): Add a nested subgroup to the
18992 main pattern and add text properties with the new face to matches
18993 in index entries relative to the beginning of the index entry.
18994 (Bug#14015)
18995
18996 2013-03-21 Eric Ludlam <zappo@gnu.org>
18997
18998 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
18999 Inhibit read only while inserting objects.
19000
19001 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
19002
19003 * progmodes/cfengine.el: Update docs to mention
19004 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
19005 symbol motion. Remove "_" from the word syntax.
19006
19007 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
19008
19009 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
19010 syntax for both `cfengine2-mode' and `cfengine3-mode'.
19011
19012 2013-03-20 Juri Linkov <juri@jurta.org>
19013
19014 * info.el (Info-next-reference-or-link)
19015 (Info-prev-reference-or-link): New functions.
19016 (Info-next-reference, Info-prev-reference): Use them.
19017 (Info-try-follow-nearest-node): Handle footnote navigation.
19018 (Info-fontify-node): Fontify footnotes. (Bug#13989)
19019
19020 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
19021
19022 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
19023 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
19024
19025 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
19026
19027 Suppress unnecessary non-ASCII chatter during build process.
19028 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
19029 (batch-skkdic-convert): Suppress most of the chatter.
19030 It's not needed so much now that machines are faster,
19031 and its non-ASCII component was confusing; see Dmitry Gutov in
19032 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
19033
19034 2013-03-20 Leo Liu <sdl.web@gmail.com>
19035
19036 * ido.el (ido-chop): Fix bug#10994.
19037
19038 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
19039
19040 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
19041 Remove vars.
19042 (whitespace-color-on, whitespace-color-off):
19043 Use `font-lock-fontify-buffer' (Bug#13817).
19044
19045 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
19046
19047 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
19048 remapping in mode-line.
19049 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
19050
19051 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
19052
19053 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
19054 value for `whitespace-line' face (Bug#13875).
19055 (whitespace-font-lock-keywords): Change description.
19056 (whitespace-color-on): Don't save `font-lock-keywords' value, save
19057 the constructed keywords instead.
19058 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
19059
19060 2013-03-19 Leo Liu <sdl.web@gmail.com>
19061
19062 * progmodes/compile.el (compilation-display-error): New command.
19063 (compilation-mode-map, compilation-minor-mode-map): Bind it to
19064 C-o. (Bug#13992)
19065
19066 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
19067
19068 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
19069
19070 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
19071
19072 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
19073
19074 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
19075
19076 * net/tramp-compat.el (tramp-compat-user-error): New defun.
19077
19078 * net/tramp-adb.el (tramp-adb-handle-shell-command):
19079 * net/tramp-gvfs.el (top):
19080 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
19081 (tramp-handle-shell-command): Use it.
19082 (tramp-dissect-file-name): Raise an error when hostname is a
19083 method name, and neither method nor user is specified.
19084
19085 * net/trampver.el: Update release number.
19086
19087 2013-03-18 Leo Liu <sdl.web@gmail.com>
19088
19089 Make sure eldoc can be turned off properly.
19090 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
19091 eldoc-mode.
19092 (eldoc-display-message-p): Revert last change.
19093 (eldoc-display-message-no-interference-p)
19094 (eldoc-print-current-symbol-info): Tweak.
19095
19096 2013-03-18 Tassilo Horn <tsdh@gnu.org>
19097
19098 * doc-view.el (doc-view-new-window-function): Check the new window
19099 overlay's display property instead the char property of the
19100 buffer's first char. Use `with-selected-window' instead of
19101 `save-window-excursion' with `select-window'.
19102 (doc-view-document->bitmap): Check the current doc-view overlay's
19103 display property instead the char property of the buffer's first char.
19104
19105 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
19106
19107 Automate the build of ja-dic.el (Bug#13984).
19108 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
19109 from the input, rather than assume that it's been done for us by the
19110 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
19111 the current date into a ja-dic.el comment, as that complicates
19112 regression testing.
19113
19114 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
19115
19116 * whitespace.el: Fix double evaluation.
19117 (whitespace-space, whitespace-hspace, whitespace-tab)
19118 (whitespace-newline, whitespace-trailing, whitespace-line)
19119 (whitespace-space-before-tab, whitespace-indentation)
19120 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
19121 obsolete defvars.
19122 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
19123 (whitespace-color-on): Use a single font-lock-add-keywords call.
19124 Fix double-evaluation of face variables.
19125
19126 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
19127
19128 * net/tramp-adb.el (tramp-adb-parse-device-names):
19129 Use `start-process' instead of `call-process'. Otherwise, the
19130 function might be blocked under MS Windows. (Bug#13299)
19131
19132 2013-03-17 Leo Liu <sdl.web@gmail.com>
19133
19134 Extend eldoc to display info in the mode-line. (Bug#13978)
19135 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
19136 (eldoc-mode-line-string): New variable.
19137 (eldoc-minibuffer-message): New function.
19138 (eldoc-message-function): New variable.
19139 (eldoc-message): Use it.
19140 (eldoc-display-message-p)
19141 (eldoc-display-message-no-interference-p):
19142 Support eldoc-post-insert-mode.
19143
19144 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
19145 (eval-expression): Run it.
19146
19147 2013-03-17 Roland Winkler <winkler@gnu.org>
19148
19149 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
19150 strings in the list of return values.
19151
19152 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
19153
19154 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
19155 radix before checking for HMS forms.
19156
19157 2013-03-16 Leo Liu <sdl.web@gmail.com>
19158
19159 * progmodes/scheme.el: Add indentation and font-locking for λ.
19160 (Bug#13975)
19161
19162 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
19163
19164 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
19165 token before point (bug#13942).
19166
19167 2013-03-16 Leo Liu <sdl.web@gmail.com>
19168
19169 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
19170
19171 2013-03-16 Eli Zaretskii <eliz@gnu.org>
19172
19173 * startup.el (command-line-normalize-file-name): Fix handling of
19174 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
19175 <xfq.free@gmail.com> in
19176 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
19177
19178 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
19179
19180 Sync with Tramp 2.2.7.
19181
19182 * net/trampver.el: Update release number.
19183
19184 2013-03-14 Tassilo Horn <tsdh@gnu.org>
19185
19186 * doc-view.el: Fix bug#13887.
19187 (doc-view-insert-image): Don't modify overlay associated to
19188 non-live windows, and implement horizontal centering of image in
19189 case it's smaller than the window.
19190 (doc-view-new-window-function): Force redisplay of new windows on
19191 doc-view buffers.
19192
19193 2013-03-13 Karl Fogel <kfogel@red-bean.com>
19194
19195 * saveplace.el (save-place-alist-to-file): Don't sort
19196 `save-place-alist', just pretty-print it (bug#13882).
19197
19198 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
19199
19200 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
19201 Check whether `default-file-name-coding-system' is bound.
19202 It isn't in XEmacs.
19203
19204 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
19205
19206 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
19207 backquotes for `obsolete' (bug#13929).
19208
19209 * international/mule.el (find-auto-coding): Include file name in
19210 obsolescence warning (bug#13922).
19211
19212 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
19213
19214 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
19215 for CFEngine 3-specific indentation.
19216 (cfengine3-indent-line): Use it. Fix up category regex.
19217 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
19218
19219 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
19220
19221 * type-break.el (type-break-file-name):
19222 * textmodes/remember.el (remember-data-file):
19223 * strokes.el (strokes-file):
19224 * shadowfile.el (shadow-initialize):
19225 * saveplace.el (save-place-file):
19226 * ps-bdf.el (bdf-cache-file):
19227 * progmodes/idlwave.el (idlwave-config-directory):
19228 * net/quickurl.el (quickurl-url-file):
19229 * international/kkc.el (kkc-init-file-name):
19230 * ido.el (ido-save-directory-list-file):
19231 * emulation/viper.el (viper-custom-file-name):
19232 * emulation/vip.el (vip-startup-file):
19233 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
19234 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
19235
19236 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
19237
19238 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
19239 * language/thai-word.el: Switch to UTF-8.
19240
19241 See ChangeLog.16 for earlier changes.
19242
19243 ;; Local Variables:
19244 ;; coding: utf-8
19245 ;; End:
19246
19247 Copyright (C) 2011-2014 Free Software Foundation, Inc.
19248
19249 This file is part of GNU Emacs.
19250
19251 GNU Emacs is free software: you can redistribute it and/or modify
19252 it under the terms of the GNU General Public License as published by
19253 the Free Software Foundation, either version 3 of the License, or
19254 (at your option) any later version.
19255
19256 GNU Emacs is distributed in the hope that it will be useful,
19257 but WITHOUT ANY WARRANTY; without even the implied warranty of
19258 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19259 GNU General Public License for more details.
19260
19261 You should have received a copy of the GNU General Public License
19262 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.