]> code.delx.au - gnu-emacs/blob - lisp/ChangeLog
Fix calculation of total window sizes after font size changes (Bug#19972).
[gnu-emacs] / lisp / ChangeLog
1 2015-03-03 Martin Rudalics <rudalics@gmx.at>
2
3 * window.el (window--dump-frame): For pixel height return total
4 number of frame's lines.
5
6 2015-03-03 Daniel Colascione <dancol@dancol.org>
7
8 * emacs-lisp/cl-macs.el (cl-iter-defun): Add cl-iter-defun.
9
10 * emacs-lisp/generator.el (iter-defun): Correctly propagate
11 docstrings and declarations to underlying function.
12
13 2015-03-02 Daniel Colascione <dancol@dancol.org>
14
15 * emacs-lisp/generator.el: New file.
16
17 * vc/vc.el (vc-responsible-backend): Add autoload cookie for
18 `vc-responsible-backend'.
19
20 2015-03-01 Michael Albinus <michael.albinus@gmx.de>
21
22 * vc/vc-hooks.el (vc-state, vc-working-revision):
23 Use `vc-responsible-backend' in order to support unregistered files.
24
25 * vc/vc-rcs.el (vc-rcs-unregister): Support unregistered files.
26
27 * vc/vc-rcs.el (vc-rcs-fetch-master-state):
28 * vc/vc-sccs.el (vc-sccs-working-revision): Handle undefined
29 master name.
30
31 * vc/vc-src.el (vc-src-working-revision): Do not return an empty string.
32
33 2015-03-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
34
35 * net/shr.el (shr-insert): Remove soft hyphens.
36 (shr-insert): Also remove soft hypens from non-folded text.
37
38 2015-02-28 Eli Zaretskii <eliz@gnu.org>
39
40 * mail/rmailmm.el (rmail-mime-insert-html): Decode HTML payload
41 when the charset is only given by the HTML <head>, and allow to
42 specify the encoding with "C-x RET c".
43
44 2015-02-27 Mark Laws <mdl@60hz.org>
45
46 Support daemon mode on MS-Windows (bug#19688)
47 * server.el (server-process-filter): Force GUI frames on
48 MS-Windows in daemon mode, even if a TTY frame was requested.
49
50 * frameset.el (frameset-keep-original-display-p): Don't assume
51 windows-nt cannot be in daemon mode.
52
53 * frame.el (window-system-for-display): Don't assume windows-nt
54 cannot be in daemon mode.
55
56 2015-02-26 Ivan Shmakov <ivan@siamics.net>
57
58 * faces.el (face-list-p): Split from face-at-point.
59 (face-at-point): Use it.
60 * facemenu.el (facemenu-add-face): Likewise. (Bug#19912)
61
62 2015-02-26 Oscar Fuentes <ofv@wanadoo.es>
63
64 * vc/vc.el (vc-annotate-switches): New defcustom.
65 * vc/vc-bzr.el (vc-bzr-annotate-switches): New defcustom.
66 (vc-bzr-annotate-command): Use vc-switches.
67 * vc/vc-cvs.el (vc-cvs-annotate-switches): New defcustom.
68 (vc-cvs-annotate-command): Use vc-switches.
69 * vc/vc-git.el (vc-git-annotate-switches): New defcustom.
70 (vc-git-annotate-command): Use vc-switches.
71 * vc/vc-hg.el (vc-hg-annotate-switches): New defcustom.
72 (vc-hg-annotate-command): Use vc-switches.
73 * vc/vc-mtn.el (vc-mtn-annotate-switches): New defcustom.
74 (vc-mtn-annotate-command): Use vc-switches.
75 * vc/vc-svn.el (vc-svn-annotate-switches): New defcustom.
76 (vc-svn-annotate-command): Use vc-switches.
77
78 2015-02-26 Alan Mackenzie <acm@muc.de>
79
80 Handle "#" operator properly inside macro. Fix coding bug.
81
82 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP): On
83 finding a "#" which looks like the start of a macro, check it
84 isn't already inside a macro.
85
86 * progmodes/cc-engine.el (c-state-safe-place): Don't record a new
87 "safe" position into the list of them when this is beyond our
88 current position.
89
90 2015-02-26 Martin Rudalics <rudalics@gmx.at>
91
92 * menu-bar.el (menu-bar-non-minibuffer-window-p): Return nil when
93 the menu frame is dead. (Bug#19728)
94
95 2015-02-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
96
97 python.el: Handle tabs in python-indent-dedent-line.
98
99 * progmodes/python.el (python-indent-dedent-line): Fixes for
100 indentation with tabs. Thanks to <dale@codefu.org> (Bug#19730).
101
102 2015-02-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
103
104 * progmodes/python.el (python-indent-context): Respect user
105 indentation after comment.
106
107 2015-02-26 Tassilo Horn <tsdh@gnu.org>
108
109 * textmodes/reftex-vars.el (featurep): Conditionalize value of
110 reftex-label-regexps in order to stay compatible with XEmacs 21.5
111 which has no explicitly numbered groups in regexps (bug#19714).
112
113 2015-02-26 Daiki Ueno <ueno@gnu.org>
114
115 * net/dbus.el (dbus-register-signal): Convert "N" of ":argN" to
116 integer before comparison.
117
118 2015-02-25 Nicolas Richard <theonewiththeevillook@yahoo.fr>
119
120 * progmodes/elisp-mode.el (elisp--eval-last-sexp): Document argument.
121
122 2015-02-25 Oleh Krehel <ohwoeowho@gmail.com>
123
124 * emacs-lisp/check-declare.el (check-declare-warn): Use
125 compilation-style warnings.
126 (check-declare-files): Make sure that
127 `check-declare-warning-buffer' is in `compilation-mode'.
128
129 2015-02-25 Oleh Krehel <ohwoeowho@gmail.com>
130
131 * emacs-lisp/check-declare.el (check-declare-ext-errors): New
132 defcustom.
133 (check-declare): New defgroup.
134 (check-declare-verify): When `check-declare-ext-errors' is
135 non-nil, warn about an unfound function, instead of saying
136 "skipping external file".
137
138 2015-02-25 Tassilo Horn <tsdh@gnu.org>
139
140 * textmodes/reftex-vars.el (reftex-include-file-commands): Call
141 reftex-set-dirty on changes.
142
143 2015-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
144
145 * emacs-lisp/edebug.el (edebug--display): Save-excursion (bug#19611).
146 * emacs-lisp/debug.el (debugger-env-macro): Remove redundant
147 save-excursion.
148
149 2015-02-24 Glenn Morris <rgm@gnu.org>
150
151 * mail/rmailsum.el (rmail-summary-previous-all)
152 (rmail-summary-previous-msg): Simplify.
153
154 2015-02-25 Artur Malabarba <bruce.connor.am@gmail.com>
155
156 * simple.el (region-active-p): Fix doc to say non-nil.
157
158 2015-02-24 Samer Masterson <nosefrog@gmail.com>
159
160 * eshell/em-hist.el (eshell-hist-parse-word-designator):
161 Return args joined with " ".
162 * eshell/em-pred.el (eshell-parse-modifiers): Correct docstring.
163 (eshell-hist-parse-modifier): Pass mod a list instead of a string
164 (bug#18960).
165
166 2015-02-24 Karl Fogel <kfogel@red-bean.com> (tiny change)
167
168 * comint.el (comint-mode-map): Fix obvious typo.
169
170 2015-02-24 Johan Claesson <johanclaesson@bredband.net> (tiny change)
171
172 * filecache.el (file-cache-filter-regexps):
173 Add lock files. (Bug#19516)
174
175 2015-02-24 Glenn Morris <rgm@gnu.org>
176
177 * mail/rmailsum.el (rmail-summary-next-all)
178 (rmail-summary-previous-all, rmail-summary-next-msg):
179 Fix handling of optional argument. (Bug#19916)
180
181 * progmodes/f90.el (f90-beginning-of-subprogram)
182 (f90-end-of-subprogram, f90-match-end):
183 Handle continued strings where the continuation does not start
184 with "&" and happens to match our regexp. (Bug#19809)
185
186 2015-02-24 Bozhidar Batsov <bozhidar@batsov.com>
187
188 * comint.el (comint-clear-buffer): New command.
189 (comint-mode-map): Bind `comint-clear-buffer' to 'C-c M-o'.
190
191 2015-02-23 Pete Williamson <petewil0@googlemail.com> (tiny change)
192
193 Use ${EXEEXT} more uniformly in makefiles
194 * Makefile.in (EMACS): Append ${EXEEXT}.
195
196 2015-02-23 Sam Steingold <sds@gnu.org>
197
198 * files.el (recover-session): Handle `auto-save-list-file-prefix'
199 being a directory (empty non-directory part).
200
201 2015-02-23 Magnus Henoch <magnus.henoch@gmail.com>
202
203 * net/sasl.el (sasl-mechanism-alist): Refer to sasl-scram-rfc
204 instead of sasl-scram-sha-1, as the former is the name that can be
205 required.
206
207 * net/sasl-scram-rfc.el (sasl-scram-sha-1-steps)
208 (sasl-scram-sha-1-client-final-message)
209 (sasl-scram-sha-1-authenticate-server): Move to end of file.
210
211 2015-02-23 Paul Eggert <eggert@cs.ucla.edu>
212
213 Fix the desired binding for comment-line
214 * bindings.el (ctl-x-map): Use [?\C-\;] to get the desired binding.
215 Fixes: bug#19826
216
217 2015-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
218
219 * emacs-lisp/macroexp.el (macroexp-parse-body): Handle cl-declare
220 and :documentation. Change return value format accordingly.
221 * emacs-lisp/cl-generic.el (cl--generic-lambda):
222 * emacs-lisp/pcase.el (pcase-lambda): Adjust accordingly.
223 * emacs-lisp/cl-macs.el (cl--transform-lambda): Use macroexp-parse-body.
224
225 2015-02-23 Dmitry Gutov <dgutov@yandex.ru>
226
227 Introduce `xref-etags-mode'.
228 * progmodes/xref.el (xref-etags-mode--saved): New variable.
229 (xref-etags-mode): New minor mode. (Bug#19466)
230
231 2015-02-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
232
233 * dom.el (dom-previous-sibling): New function.
234
235 2015-02-21 Paul Eggert <eggert@cs.ucla.edu>
236
237 * bindings.el (ctl-x-map): There is no 'C-;'.
238 For now, make do with 'M-;'; this allows 'make bootstrap' to work.
239 Perhaps some other binding should be chosen.
240 Fixes: bug#19826
241
242 2015-02-21 Artur Malabarba <bruce.connor.am@gmail.com>
243
244 * bindings.el (ctl-x-map): Fix `comment-line' binding. (Bug#19826)
245
246 2015-02-21 Michael Albinus <michael.albinus@gmx.de>
247
248 * autorevert.el (auto-revert-notify-add-watch)
249 (auto-revert-notify-handler, auto-revert-buffers): Handle also
250 buffers without an associated file, like dired buffers. (Bug#16112)
251
252 2015-02-21 Dima Kogan <dima@secretsauce.net>
253
254 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
255 (global-auto-revert-mode): Remove (let (auto-revert-use-notify) ... )
256 wrappers. Call (auto-revert-buffers) consequently in order to
257 install handlers.
258
259 2015-02-21 Wilson Snyder <wsnyder@wsnyder.org>
260
261 Sync with upstream verilog-mode revision 0d6420b.
262 * progmodes/verilog-mode.el (verilog-mode-version): Update.
263 (vector-skip-list): Remove.
264 (verilog-auto-inst-port, verilog-auto-inst-port-list)
265 (verilog-auto-inst, verilog-auto-inst-param):
266 Use arguments rather than vector-skip.
267 (verilog-auto-inst-port): Fix AUTOINST interfaces to not show
268 modport if signal attachment is itself a modport.
269 Reported by Matthew Lovell.
270
271 2015-02-21 Reto Zimmermann <reto@gnu.org>
272
273 Sync with upstream vhdl mode v3.37.1. Add VHDL'08 support.
274 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp)
275 (vhdl-doc-release-notes): Update.
276 (vhdl-standard): Add VHDL'08 option.
277 (vhdl-sensitivity-list-all): New option.
278 (vhdl-directive-keywords): Add psl.
279 (vhdl-offsets-alist-default, vhdl-mode-abbrev-table-init)
280 (vhdl-template-construct-alist-init, vhdl-create-mode-menu):
281 (vhdl-imenu-generic-expression): Add context, directive.
282 (vhdl-offsets-alist, vhdl-mode, vhdl-doc-keywords): Doc fixes.
283 (vhdl-template-map-init): Add vhdl-template-context.
284 (vhdl-mode-syntax-table): Support VHDL'08 block comments.
285 (vhdl-create-mode-menu): Add some entries.
286 (vhdl-08-keywords, vhdl-08-types, vhdl-08-attributes)
287 (vhdl-08-functions, vhdl-08-packages, vhdl-08-directives):
288 New constants.
289 (vhdl-directives): New variable.
290 (vhdl-words-init, vhdl-template-process)
291 (vhdl-template-replace-header-keywords): Support VHDL'08.
292 (vhdl-abbrev-list-init): Add vhdl-directives.
293 (vhdl-in-comment-p, vhdl-in-literal, vhdl-win-il)
294 (vhdl-forward-syntactic-ws, vhdl-get-syntactic-context)
295 (vhdl-lineup-comment): Handle block comments and directives.
296 (vhdl-beginning-of-directive, vhdl-template-context)
297 (vhdl-template-context-hook): New functions.
298 (vhdl-libunit-re, vhdl-defun-re, vhdl-begin-p)
299 (vhdl-corresponding-begin, vhdl-get-library-unit, vhdl-regress-line)
300 (vhdl-align-declarations, vhdl-beginning-of-block, vhdl-end-of-block)
301 (vhdl-font-lock-keywords-2, vhdl-get-end-of-unit)
302 (vhdl-scan-context-clause): Add context.
303
304 2015-02-20 Glenn Morris <rgm@gnu.org>
305
306 * calendar/solar.el (solar-sunrise-sunset-string):
307 Shorten message a little.
308 (sunrise-sunset): Use message rather than a window. (Bug#19859)
309
310 * progmodes/f90.el (f90-keywords-re, f90-procedures-re)
311 (f90-font-lock-keywords-2): Some F2008 additions.
312
313 2015-02-19 Dima Kogan <dima@secretsauce.net>
314
315 * autorevert.el (auto-revert-buffers-counter)
316 (auto-revert-buffers-counter-lockedout): New variables.
317 (auto-revert-buffers): Increase `auto-revert-buffers-counter'.
318 (auto-revert-notify-handler): Apply `auto-revert-handler' if not
319 suppressed by lockout. (Bug#18958)
320
321 2015-02-19 Stefan Monnier <monnier@iro.umontreal.ca>
322
323 * emacs-lisp/eieio-opt.el (eieio-help-class): `eieio-class-parents'
324 returns classes, not class names (bug#19891).
325
326 * emacs-lisp/cl-macs.el (cl-struct-slot-value): Handle a nil type.
327
328 * emacs-lisp/smie.el (smie-prec2->grammar): Fix corner case problem.
329
330 2015-02-18 Kelly Dean <kelly@prtime.org>
331
332 * register.el (jump-to-register):
333 * emacs-lisp/lisp.el (check-parens):
334 Push mark before goto-char so user doesn't lose his previous place.
335
336 2015-02-18 Kelly Dean <kelly@prtime.org>
337
338 * rect.el (rectangle-mark-mode):
339 Suppress superfluous "Mark set" message from push-mark.
340
341 2015-02-18 Kelly Dean <kelly@prtime.org>
342
343 * help-mode.el (help-go-back, help-go-forward, help-follow):
344 * simple.el (yank-pop, pop-to-mark-command, exchange-point-and-mark):
345 * winner.el (winner-redo):
346 * windmove.el (windmove-do-window-select):
347 * register.el (jump-to-register, increment-register, insert-register)
348 (append-to-register, prepend-to-register):
349 * files.el (find-alternate-file, abort-if-file-too-large, write-file)
350 (set-visited-file-name):
351 * emacs-lisp/lisp.el (kill-backward-up-list):
352 Use user-error instead of error. (Bug#14480)
353
354 2015-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
355
356 * emacs-lisp/checkdoc.el (checkdoc-show-diagnostics): Don't make bogus
357 assumptions about window ordering.
358
359 2015-02-16 Kelly Dean <kelly@prtime.org>
360
361 * files.el (insert-file-contents-literally): Fix docstring typo.
362
363 2015-02-16 Kelly Dean <kelly@prtime.org>
364
365 * emacs-lisp/easy-mmode.el (define-minor-mode): Process macro
366 arguments correctly. (Bug#19685)
367 (define-minor-mode): Clarify docstring.
368 Clarify mode switch messages for minor modes. (Bug#19690)
369
370 2015-02-16 Kelly Dean <kelly@prtime.org>
371
372 * emacs-lisp/package-x.el (package-upload-buffer-internal):
373 Create valid tar files. (Bug#19536)
374
375 2015-02-16 Kelly Dean <kelly@prtime.org>
376
377 * desktop.el (desktop-read): Conditionally re-enable desktop autosave.
378 (Bug#19059)
379
380 2015-02-16 Kelly Dean <kelly@prtime.org>
381
382 * help-mode.el (help-do-xref): Prevent duplicated display of Info
383 buffer, and prevent interference with existing buffer. (Bug#13190)
384
385 2015-02-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
386
387 python.el: Do not deactivate mark on shell fontification. (Bug#19871)
388
389 * progmodes/python.el (python-shell-font-lock-post-command-hook):
390 Do not deactivate mark on fontification.
391
392 2015-02-16 Ivan Shmakov <ivan@siamics.net>
393
394 * net/eww.el: Fix desktop support. (Bug#19226)
395 (eww-mode): Add autoload cookie.
396 (eww-restore-desktop): Use inhibit-read-only.
397
398 * net/eww.el (eww-suggest-uris): Add autoload cookie, so that
399 add-hook works correctly even if the file is not yet loaded.
400
401 2015-02-16 Stefan Monnier <monnier@iro.umontreal.ca>
402
403 * emacs-lisp/eieio.el (defclass): Use make-instance rather than
404 eieio-constructor.
405 (set-slot-value): Mark as obsolete.
406 (eieio-object-class-name): Improve call to eieio-class-name.
407 (eieio-slot-descriptor-name, eieio-class-slots): New functions.
408 (object-slots): Use it. Declare obsolete.
409 (eieio-constructor): Merge it with `make-instance'.
410 (initialize-instance): Use `dolist'.
411 (eieio-override-prin1, eieio-edebug-prin1-to-string):
412 Use eieio--class-print-name.
413
414 * emacs-lisp/eieio-core.el (eieio--class-print-name): New function.
415 (eieio-class-name): Make it do what the docstring claims.
416 (eieio-defclass-internal): Simplify since `prots' isn't used any more.
417 (eieio--slot-name-index): Simplify accordingly.
418 (eieio-barf-if-slot-unbound): Pass the class object rather than its
419 name to `slot-unbound'.
420
421 * emacs-lisp/eieio-base.el (make-instance): Add a method here rather
422 than on eieio-constructor.
423
424 2015-02-16 Stefan Monnier <monnier@iro.umontreal.ca>
425
426 * emacs-lisp/cl-macs.el (cl-defstruct): Keep type=nil by default.
427 * emacs-lisp/cl-preloaded.el (cl-struct-define): Add sanity checks
428 about relationship between `type', `named', and `slots'.
429 * emacs-lisp/cl-generic.el (cl--generic-struct-tagcode): Adjust to new
430 value of `cl-struct-type' property.
431
432 2015-02-15 Jérémy Compostella <jeremy.compostella@gmail.com>
433
434 * net/tramp-sh.el (tramp-remote-process-environment): Disable paging
435 with PAGER=cat. (Bug#19870)
436
437 2015-02-14 Artur Malabarba <bruce.connor.am@gmail.com>
438
439 * emacs-lisp/package.el (package-read-all-archive-contents):
440 Don't build the compatibility table.
441 (package-refresh-contents, package-initialize): Do build the
442 compatibility table.
443 (package--build-compatibility-table): New function.
444 (describe-package-1): Describe why a package is incompatible.
445
446 2015-02-14 Stefan Monnier <monnier@iro.umontreal.ca>
447
448 * emacs-lisp/cl-preloaded.el (cl-struct-define): Register as children
449 of the parent.
450 (cl--assertion-failed): New function.
451 (cl-assertion-failed): Move in from cl-lib.el.
452
453 * emacs-lisp/cl-macs.el (cl-defstruct): Don't generate code to register
454 as children of its parents.
455 (cl--make-type-test, cl--compiler-macro-typep): Remove functions.
456 (cl-typep): Reimplement using define-inline.
457 (cl-assert): Use cl--assertion-failed.
458 (cl-struct-slot-value): Use define-inline.
459
460 * emacs-lisp/cl-lib.el: Move autoloaded code to cl-preload.
461
462 * textmodes/flyspell.el (flyspell-word): Defvar (bug#19844).
463 (flyspell-generic-check-word-p): Mark as obsolete.
464
465 2015-02-13 Artur Malabarba <bruce.connor.am@gmail.com>
466
467 * emacs-lisp/package.el (package--compatibility-table): New var.
468 (package--add-to-compatibility-table): New function.
469 (package-read-all-archive-contents): Populate compatibility table.
470 (package--incompatible-p): Also look in dependencies.
471 (describe-package-1): Fix "incompat" handling.
472
473 2015-02-13 Lars Ingebrigtsen <larsi@gnus.org>
474
475 * net/rfc2104.el: Moved here from lisp/gnus.
476
477 2015-02-13 Magnus Henoch <magnus.henoch@gmail.com>
478
479 * net/sasl-scram-rfc.el: New file.
480
481 * net/sasl.el (sasl-mechanisms): Remove SCRAM-MD5.
482 Add SCRAM-SHA-1 first.
483 (sasl-mechanism-alist): Remove SCRAM-MD5 entry. Add SCRAM-SHA-1
484 entry (bug#17636).
485
486 2015-02-13 Lars Ingebrigtsen <larsi@gnus.org>
487
488 * net/shr.el (shr-tag-li): Speed up rendering pages with lots of
489 <ul>.
490
491 2015-02-12 Oleh Krehel <ohwoeowho@gmail.com>
492
493 * progmodes/gdb-mi.el (gdb-display-io-nopopup): New defcustom.
494 (gdb-inferior-filter): Don't pop up the buried output buffer when
495 `gdb-display-io-nopopup' is non-nil.
496
497 2015-02-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
498
499 python.el: Allow killing shell buffer if process is dead. (Bug#19823)
500
501 * progmodes/python.el (python-shell-font-lock-kill-buffer):
502 Don't require a running process.
503 (python-shell-font-lock-post-command-hook): Fontify only if the
504 shell process is running.
505
506 2015-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
507
508 * hi-lock.el (hi-lock-unface-buffer): Don't call
509 font-lock-remove-keywords if not needed (bug#19796).
510
511 2015-02-11 Artur Malabarba <bruce.connor.am@gmail.com>
512
513 * emacs-lisp/package.el (package-install): Invert the second
514 argument, for better backwards compatibility.
515 (package-install-button-action, package-reinstall)
516 (package-menu-execute): Account for the change.
517
518 2015-02-11 Nicolas Petton <nicolas@petton.fr>
519
520 * emacs-lisp/seq.el (seq-reverse): Add a backward-compatible
521 version of seq-reverse that works on sequences in Emacs 24.
522 Bump seq.el version to 1.2.
523
524 2015-02-11 Artur Malabarba <bruce.connor.am@gmail.com>
525
526 * emacs-lisp/package.el (package--incompatible-p): New function.
527 Return non-nil if PKG has no chance of being installable.
528 (package--emacs-version-list): New variable.
529 (describe-package-1, package-desc-status)
530 (package-menu--print-info, package-menu--status-predicate):
531 Account for the "incompat" status.
532
533 2015-02-11 Martin Rudalics <rudalics@gmx.at>
534
535 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
536 Rename frame parameter `maximized' to `fullscreen-restore'.
537 Restore fullwidth/-height after fullboth state. Update doc-strings.
538
539 2015-02-11 Lars Ingebrigtsen <larsi@gnus.org>
540
541 * net/shr.el (shr-insert): Make sure the space inserted has the
542 right font (for width).
543 (shr-fill-line): Preserve background colours when indenting/folding.
544 (shr-ensure-paragraph): Don't insert a new paragraph as the first
545 item in a <li>.
546
547 2015-02-10 Lars Ingebrigtsen <larsi@gnus.org>
548
549 * net/shr.el (shr-use-fonts): New variable.
550 (shr-fill-text): Rename from "fold".
551 (shr-pixel-column, shr-pixel-region, shr-string-pixel-width):
552 New functions.
553 (shr-insert): Just insert, don't fill the text. Filling is now
554 done afterwards per display unit.
555 (shr-fill-lines, shr-fill-line): New functions to fill text on a
556 per-unit base.
557 (shr-find-fill-point): Take a "beginning" parameter.
558 (shr-indent): Indent using the :width display parameter when using
559 fonts.
560 (shr-parse-style): Ignore "inherit" values, since we already do that.
561 (shr-tag-img): Remove the insertion states.
562 (shr-tag-blockquote): New-style filling.
563 (shr-tag-dd): Ditto.
564 (shr-tag-li): Ditto.
565 (shr-mark-fill): New function to mark lines that need filling.
566 (shr-tag-h1): Use a larger font.
567 (shr-tag-table-1): Get the natural and suggested widths in one
568 rendering.
569 (shr-tag-table): Create the "fixed" version of the table only once
570 so that we can cache data in the table.
571 (shr-insert-table): Get colspan calculations right by having
572 zero-width columns after colspan ones.
573 (shr-expand-alignments): New function to make :align-to specs work
574 right when rendered in one buffer and displayed in another one.
575 (shr-insert-table-ruler): Use :align-to to get the widths right.
576 (shr-make-table): Cache more.
577 (shr-make-table-1): Use the new <td> data layout.
578 (shr-pixel-buffer-width): New function.
579 (shr-render-td): Add a caching layer.
580 (shr-dom-max-natural-width): New function.
581 (shr-tag-h1): Don't use variable-pitch fonts on fontless rendering.
582 (shr-tag-tt): New function.
583 (shr-tag-hr): Compute the right length when using fonts.
584 (shr-table-widths): Off-by-one error in width computation.
585 (shr-expand-newlines): Remove dead code.
586 (shr-insert-table): Extend background colors to the end of the column.
587 (shr-insert-table): Only copy the background, not underline and
588 the like.
589 (shr-face-background): New function.
590
591 2015-02-10 Fabián Ezequiel Gallina <fgallina@gnu.org>
592
593 python.el: Improved shell font lock respecting markers. (Bug#19650)
594
595 * progmodes/python.el
596 (python-shell-font-lock-get-or-create-buffer): Use special buffer name.
597 (python-shell-font-lock-with-font-lock-buffer): Enable font lock.
598 (python-shell-font-lock-post-command-hook): Fontify by copying text
599 properties from fontified buffer to shell, keeping markers unchanged.
600 (python-shell-font-lock-turn-off): Fix typo.
601 (python-util-text-properties-replace-name): Delete function.
602
603 2015-02-09 Nicolas Petton <nicolas@petton.fr>
604
605 * emacs-lisp/seq.el (seq-group-by): Improves seq-group-by to
606 return sequence elements in correct order.
607
608 2015-02-09 Simen Heggestøyl <simenheg@gmail.com> (tiny change)
609
610 * textmodes/css-mode.el (css-smie-rules): Fix paren indent (bug#19815).
611
612 2015-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
613
614 * emacs-lisp/cl-generic.el (cl--generic-lambda): Use macroexp-parse-body.
615
616 * emacs-lisp/eieio-core.el (eieio-oset-default): Catch the unexpected
617 case where the default value would be re-interpreted as a form!
618
619 2015-02-09 Christopher Genovese <genovese@cmu.edu> (tiny change)
620
621 * help-fns.el (help-fns--signature): Keep doc for keymap.
622
623 2015-02-09 Kelly Dean <kelly@prtime.org>
624
625 * desktop.el: Save mark-ring less verbosely.
626 (desktop-var-serdes-funs): New var.
627 (desktop-buffer-info, desktop-create-buffer): Use it.
628 (desktop-file-version): Update to 208.
629
630 2015-02-09 Leo Liu <sdl.web@gmail.com>
631
632 * emacs-lisp/pcase.el (pcase-lambda): New Macro. (Bug#19814)
633
634 * emacs-lisp/lisp-mode.el (el-kws-re): Include `pcase-lambda'.
635
636 * emacs-lisp/macroexp.el (macroexp-parse-body): New function.
637
638 2015-02-08 Paul Eggert <eggert@cs.ucla.edu>
639
640 Port to platforms lacking test -a and -o
641 * Makefile.in (compile-clean):
642 * net/tramp-sh.el (tramp-find-executable):
643 Prefer '&&' and '||' to 'test -a' and 'test -o'.
644
645 2015-02-08 Artur Malabarba <bruce.connor.am@gmail.com>
646
647 * newcomment.el (comment-line): Fix missing paren.
648
649 2015-02-08 Ulrich Müller <ulm@gentoo.org>
650
651 * play/gamegrid.el: Update comment to reflect that the
652 'update-game-score' helper program is now setgid by default.
653
654 2015-02-08 David Kastrup <dak@gnu.org>
655
656 * subr.el (apply-partially): Use lexical binding here.
657
658 2015-02-08 Artur Malabarba <bruce.connor.am@gmail.com>
659
660 * newcomment.el (comment-line): New command.
661
662 * bindings.el (ctl-x-map): Bind to `C-x C-;'.
663
664 2015-02-08 Oleh Krehel <ohwoeowho@gmail.com>
665
666 * outline.el (outline-show-entry): Fix one invisible char for the
667 file's last outline. Fixes Bug#19493.
668
669 2015-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
670
671 * subr.el (indirect-function): Change advertised calling convention.
672
673 2015-02-08 Fabián Ezequiel Gallina <fgallina@gnu.org>
674
675 python.el: Fix completion-at-point. (Bug#19667)
676
677 * progmodes/python.el
678 (python-shell-completion-native-get-completions): Force process buffer.
679 (python-shell-completion-at-point): Handle case where call is not
680 in a shell buffer.
681
682 2015-02-08 Fabián Ezequiel Gallina <fgallina@gnu.org>
683
684 python.el: Fix shell font-lock multiline input. (Bug#19744)
685
686 * progmodes/python.el
687 (python-shell-font-lock-post-command-hook): Handle multiline input.
688
689 2015-02-08 Fabián Ezequiel Gallina <fgallina@gnu.org>
690
691 python.el: Make shell font-lock respect markers. (Bug#19650)
692
693 * progmodes/python.el (python-shell-font-lock-cleanup-buffer):
694 Use `erase-buffer`.
695 (python-shell-font-lock-comint-output-filter-function):
696 Handle newlines.
697 (python-shell-font-lock-post-command-hook): Respect markers on
698 text fontification.
699
700 2015-02-07 Fabián Ezequiel Gallina <fgallina@gnu.org>
701
702 python.el: Keep eldoc visible while typing args. (Bug#19637)
703
704 * progmodes/python.el (python-eldoc--get-symbol-at-point):
705 New function based on Carlos Pita <carlosjosepita@gmail.com> patch.
706 (python-eldoc--get-doc-at-point, python-eldoc-at-point): Use it.
707
708 2015-02-07 Fabián Ezequiel Gallina <fgallina@gnu.org>
709
710 Fix hideshow integration. (Bug#19761)
711
712 * progmodes/python.el
713 (python-hideshow-forward-sexp-function): New function based on
714 Carlos Pita <carlosjosepita@gmail.com> patch.
715 (python-mode): Make `hs-special-modes-alist` use it and initialize
716 the end regexp with the empty string to avoid skipping parens.
717
718 2015-02-07 Fabián Ezequiel Gallina <fgallina@gnu.org>
719
720 * progmodes/python.el (python-check-custom-command): Do not use
721 defvar-local for compat with Emacs<24.3.
722
723 2015-02-07 Martin Rudalics <rudalics@gmx.at>
724
725 * frame.el (frame-notice-user-settings):
726 Update `frame-size-history'.
727 (make-frame): Update `frame-size-history'.
728 Call `frame-after-make-frame'.
729 * faces.el (face-set-after-frame-default): Remove call to
730 frame-can-run-window-configuration-change-hook.
731
732 2015-02-06 Dmitry Gutov <dgutov@yandex.ru>
733
734 * vc/vc-cvs.el (vc-cvs-dir-status-files): Don't pass DIR to
735 `vc-cvs-command' (bug#19732).
736
737 2015-02-06 Nicolas Petton <nicolas@petton.fr>
738
739 * emacs-lisp/seq.el (seq-mapcat, seq-partition, seq-group-by): New functions.
740 * emacs-lisp/seq.el (seq-drop-while, seq-take-while, seq-count)
741 (seq--drop-list, seq--take-list, seq--take-while-list): Better docstring.
742
743 2015-02-06 Artur Malabarba <bruce.connor.am@gmail.com>
744
745 * doc-view.el (doc-view-kill-proc-and-buffer): Obsolete. Use
746 `image-kill-buffer' instead.
747
748 2015-02-06 Thomas Fitzsimmons <fitzsim@fitzsim.org>
749
750 * net/ldap.el (ldap-search-internal): Fix docstring.
751
752 2015-02-06 Lars Ingebrigtsen <larsi@gnus.org>
753
754 * subr.el (define-error): The error conditions may be constant
755 lists, so use `append' to concatenate them.
756
757 2015-02-06 Wolfgang Jenkner <wjenkner@inode.at>
758
759 * net/network-stream.el (network-stream-open-tls): Respect the
760 :end-of-capability setting.
761
762 2015-02-05 Artur Malabarba <bruce.connor.am@gmail.com>
763
764 * emacs-lisp/package.el (package--sort-by-dependence):
765 New function. Return PACKAGE-LIST sorted by dependencies.
766 (package-menu-execute): Use it to delete packages in order.
767 (package--sort-deps-in-alist): New function.
768 (package-menu-mark-install): Can mark dependencies.
769 (package--newest-p): New function.
770 (package-delete): Don't deselect when deleting an older version of
771 an upgraded package.
772
773 * emacs-lisp/package.el: Add missing (require 'subr-x)
774
775 2015-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
776
777 * textmodes/css-mode.el (scss-smie--not-interpolation-p): Vars can be
778 hyphenated (bug#19263).
779
780 * textmodes/css-mode.el (css-fill-paragraph): Fix filling in presence
781 of variable interpolation (bug#19751).
782
783 2015-02-05 Era Eriksson <era+emacs@iki.fi>
784
785 * json.el (json-end-of-file): New error (bug#19768).
786 (json-pop, json-read): Use it.
787
788 2015-02-05 Kelly Dean <kelly@prtime.org>
789
790 * help-mode.el (help-xref-interned): Pass BUFFER and FRAME to
791 `describe-variable'.
792
793 * help-fns.el (describe-function-or-variable): New function.
794
795 * help.el (help-map): Bind `describe-function-or-variable' to o.
796 (help-for-help-internal): Document o key.
797
798 2015-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
799
800 * emacs-lisp/eieio-compat.el (eieio--defmethod): Use new
801 special (:documentation ...) feature.
802 * emacs-lisp/eieio-core.el (eieio-make-class-predicate)
803 (eieio-make-child-predicate): Same.
804 (eieio-copy-parents-into-subclass): Remove unused arg.
805 (eieio-defclass-internal): Adjust call accordingly and remove redundant
806 `pname' var.
807 (eieio--slot-name-index): Remove unused arg `obj' and adjust all
808 callers accordingly.
809
810 * emacs-lisp/cconv.el (cconv--convert-function):
811 Add `docstring' argument.
812 (cconv-convert): Use it to handle the new (:documentation ...) form.
813 (cconv-analyze-form): Handle the new (:documentation ...) form.
814
815 * emacs-lisp/bytecomp.el:
816 (byte-compile-initial-macro-environment): Use macroexp-progn.
817 (byte-compile-cl-warn): Don't silence use of cl-macroexpand-all.
818 (byte-compile-file-form-defvar-function): Rename from
819 byte-compile-file-form-define-abbrev-table.
820 (defvaralias, byte-compile-file-form-custom-declare-variable): Use it.
821 (byte-compile): Use byte-compile-top-level rather than
822 byte-compile-lambda so we can compile non-values.
823 (byte-compile-form): Add warnings for failed uses of lexical vars via
824 quoted symbols.
825 (byte-compile-unfold-bcf): Improve message for failed inlining.
826 (byte-compile-make-closure): Handle new format of internal-make-closure
827 for dynamically-generated docstrings.
828
829 * delsel.el: Deprecate the `kill' option. Use lexical-binding.
830 (open-line): Delete like all other commands, instead of killing.
831 (delete-active-region): Don't define any return any value.
832
833 * progmodes/python.el: Try to preserve compatibility with Emacs-24.
834 (python-mode): Don't assume eldoc-documentation-function has a non-nil
835 default.
836
837 2015-02-04 Sam Steingold <sds@gnu.org>
838
839 * progmodes/python.el (python-indent-calculate-indentation):
840 Avoid the error when computing top-level indentation.
841
842 2015-02-04 Stefan Monnier <monnier@iro.umontreal.ca>
843
844 * emacs-lisp/cl-generic.el (cl--generic-member-method): Fix paren typo.
845
846 * textmodes/flyspell.el: Use lexical-binding and cl-lib.
847 (mail-mode-flyspell-verify): Fix last change.
848 (flyspell-external-point-words, flyspell-large-region):
849 Avoid add-to-list on local vars.
850
851 2015-02-04 Tassilo Horn <tsdh@gnu.org>
852
853 * emacs-lisp/package.el (package-installed-p): Fix typo causing
854 void-variable error.
855
856 2015-02-04 Artur Malabarba <bruce.connor.am@gmail.com>
857
858 * image-mode.el (image-kill-buffer): New command.
859 (image-mode-map): Bind it to k.
860
861 * emacs-lisp/package.el (package-delete): Remove package from
862 `package-selected-packages' even if it can't be deleted.
863 (package-installed-p): Accept package-desc objects.
864 (package-install): Can be used to mark dependencies as
865 selected. When given a package-desc object which is already
866 installed, the package is not downloaded again, but it is marked
867 as selected (if it wasn't already).
868 (package-reinstall): Accept package-desc objects.
869
870 2015-02-03 Artur Malabarba <bruce.connor.am@gmail.com>
871
872 * emacs-lisp/package.el (package-delete): Document NOSAVE.
873 (package--get-deps): delete-dups when ONLY is nil.
874 (package-autoremove): Warn the user if `package-selected-packages'
875 is empty.
876
877 (package--user-selected-p): New function.
878 (package-delete, package-install, package-install-from-buffer):
879 Use it
880 (package-selected-packages): Mention it.
881
882 (package-initialize): Don't populate `package-selected-packages'.
883 (package-install-user-selected-packages, package-autoremove):
884 Special handling for empty `package-selected-packages'.
885 (package-install): Fix when PKG is a package-desc.
886
887 (package-desc-status): Add "dependency" status to the Package
888 Menu.
889 (package-menu--status-predicate, package-menu--print-info)
890 (package-menu-mark-delete, package-menu--find-upgrades)
891 (package-menu--status-predicate, describe-package-1): Use it
892
893 (package--removable-packages): New function.
894 (package-autoremove): Use it.
895 (package-menu-execute): Offer to remove unneeded packages.
896
897 (package--read-pkg-desc, package-tar-file-info): Fix reference to
898 tar-desc.
899
900 2015-02-03 Thierry Volpiatto <thierry.volpiatto@gmail.com>
901
902 * emacs-lisp/package.el (package-reinstall): Don't change package's selected status.
903 (package-delete): New NOSAVE argument.
904
905 2015-02-03 Michael Albinus <michael.albinus@gmx.de>
906
907 * net/tramp-sh.el (tramp-histfile-override): Fix docstring.
908 (tramp-open-shell, tramp-maybe-open-connection): Set also
909 HISTFILESIZE and HISTSIZE when needed. (Bug#19731)
910
911 2015-02-02 Artur Malabarba <bruce.connor.am@gmail.com>
912
913 * emacs-lisp/package.el (package--find-non-dependencies):
914 New function.
915 (package-initialize): Use it to populate `package-selected-packages'.
916 (package-menu-execute): Clean unnecessary `and'.
917 (package--get-deps): Fix returning duplicates.
918
919 2015-02-02 Michael Albinus <michael.albinus@gmx.de>
920
921 * net/tramp-sh.el (tramp-histfile-override): Add another choice t.
922 Use it as default.
923 (tramp-open-shell, tramp-maybe-open-connection): Support it.
924 (Bug#19731)
925
926 2015-02-02 Thierry Volpiatto <thierry.volpiatto@gmail.com>
927
928 * emacs-lisp/package.el (package-delete): Remove package from
929 package-selected-packages.
930 (package-autoremove): Remove unneeded variable.
931
932 2015-02-01 Artur Malabarba <bruce.connor.am@gmail.com>
933
934 * emacs-lisp/package.el (package-selected-packages): Fix :type
935 (package-install): Rename ARG to MARK-SELECTED.
936 (package--get-deps): Fix for indirect dependencies.
937 (package-used-elsewhere-p): Rename to
938 (package--used-elsewhere-p): New function.
939 (package-reinstall, package-user-selected-packages-install)
940 (package-autoremove): Use sharp-quote.
941 (package-user-selected-packages-install): Reindent and rename to
942 (package-install-user-selected-packages): New function.
943
944 2015-02-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
945
946 * emacs-lisp/package.el: Don't allow deleting dependencies.
947
948 (package-used-elsewhere-p): New function.
949 (package-delete): Use it, return now an error when trying to
950 delete a package used as dependency by another package.
951
952 Add a reinstall package command.
953 (package-reinstall): New function.
954
955 Add a package-autoremove command.
956 (package-selected-packages): New user var.
957 (package-install): Add an optional arg to notify interactive use.
958 Fix docstring. Save installed package to
959 packages-installed-directly.
960 (package-install-from-buffer): Same.
961 (package-user-selected-packages-install): Allow installing all
962 packages in packages-installed-directly at once.
963 (package--get-deps): New function.
964 (package-autoremove): New function.
965 (package-install-button-action): Call package-install with
966 interactive arg.
967 (package-menu-execute): Same but only for only for not installed
968 packages.
969
970 2015-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
971
972 * emacs-lisp/eieio.el (defclass): Use new eieio-make-class-predicate
973 and eieio-make-child-predicate.
974 (eieio-class-parents): Use eieio--class-object.
975 (slot-boundp, find-class, eieio-override-prin1): Avoid class-p.
976 (slot-exists-p): Use find-class.
977
978 * emacs-lisp/eieio-opt.el (eieio-help-class, eieio-help-constructor):
979 Use find-lisp-object-file-name, help-fns-short-filename and new calling
980 convention for eieio-class-def.
981 (eieio-build-class-list): Remove function, unused.
982 (eieio-method-def): Remove button type, unused.
983 (eieio-class-def): Inherit from help-function-def.
984 (eieio--defclass-regexp): New constant.
985 (find-function-regexp-alist): Use it.
986 (eieio--specializers-apply-to-class-p): Handle eieio--static as well.
987 (eieio-help-find-method-definition, eieio-help-find-class-definition):
988 Remove functions.
989
990 * emacs-lisp/eieio-core.el (eieio--check-type): Remove.
991 Use cl-check-type everywhere instead.
992 (eieio-class-object): Remove, use find-class instead when needed.
993 (class-p): Don't inline.
994 (eieio-object-p): Check more thoroughly, so we don't treat cl-structs,
995 such as eieio classes, as objects. Don't inline.
996 (object-p): Mark as obsolete.
997 (eieio-defclass-autoload, eieio-defclass-internal, eieio-oref)
998 (eieio--generic-tagcode): Avoid `class-p'.
999 (eieio-make-class-predicate, eieio-make-child-predicate): New functions.
1000 (eieio-defclass-internal): Use current-load-list rather than
1001 `class-location'.
1002
1003 * emacs-lisp/cl-generic.el (cl--generic-search-method): Fix regexp.
1004
1005 2015-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
1006
1007 * emacs-lisp/backquote.el (backquote-delay-process): Don't reuse `s'
1008 since it may be "equivalent" in some sense, yet different (bug#19734).
1009
1010 2015-01-30 Oleh Krehel <ohwoeowho@gmail.com>
1011
1012 * outline.el (outline-font-lock-face): Add docstring.
1013 (outline-invisible-p): Improve docstring.
1014 (outline-invent-heading): Add docstring.
1015 (outline-promote): Improve docstring.
1016 (outline-demote): Improve docstring.
1017 (outline-head-from-level): Improve docstring.
1018 (outline-end-of-heading): Add docstring.
1019 (outline-next-visible-heading): Improve docstring.
1020 (outline-previous-visible-heading): Improve docstring.
1021 (outline-hide-region-body): Improve docstring.
1022 (outline-flag-subtree): Add docstring.
1023 (outline-end-of-subtree): Add docstring.
1024 (outline-headers-as-kill): Improve docstring.
1025
1026 2015-01-30 Oleh Krehel <ohwoeowho@gmail.com>
1027
1028 * outline.el (outline-hide-entry): Rename from `hide-entry'.
1029 (hide-entry): Declare as obsolete.
1030 (outline-show-entry): Rename from `show-entry'.
1031 (show-entry): Declare as obsolete.
1032 (outline-hide-body): Rename from `hide-body'.
1033 (hide-body): Declare as obsolete.
1034 (outline-hide-region-body): Rename from `hide-region-body'.
1035 (hide-region-body): Declare as obsolete.
1036 (outline-show-all): Rename from `show-all'.
1037 (show-all): Declare as obsolete.
1038 (outline-hide-subtree): Rename from `hide-subtree'.
1039 (hide-subtree): Declare as obsolete.
1040 (outline-hide-leaves): Rename from `hide-leaves'.
1041 (hide-leaves): Declare as obsolete.
1042 (outline-show-subtree): Rename from `show-subtree'.
1043 (show-subtree): Declare as obsolete.
1044 (outline-hide-sublevels): Rename from `hide-sublevels'.
1045 (hide-sublevels): Declare as obsolete.
1046 (outline-hide-other): Rename from `hide-other'.
1047 (hide-other): Declare as obsolete.
1048 (outline-show-children): Rename from `show-children'.
1049 (show-children): Declare as obsolete.
1050 (outline-show-branches): Rename from `show-branches'.
1051 (show-branches): Declare as obsolete.
1052
1053 2015-01-30 Oleh Krehel <ohwoeowho@gmail.com>
1054
1055 * outline.el (outline-mode): Clean up docstring.
1056 (font-lock-warning-face): Remove obsolete declaration.
1057 (outline-font-lock-face): Remove obsolete comment.
1058
1059 2015-01-30 Oleh Krehel <ohwoeowho@gmail.com>
1060
1061 * lisp/custom.el (defface): Set `indent' to 1.
1062
1063 2015-01-30 Oleh Krehel <ohwoeowho@gmail.com>
1064
1065 * emacs-lisp/easy-mmode.el (define-minor-mode): Set `indent' to 1.
1066
1067 2015-01-30 Michal Nazarewicz <mina86@mina86.com>
1068
1069 * lisp/files.el (save-buffers-kill-emacs): If `confirm-kill-emacs'
1070 is set, but user has just been asked whether they really want to
1071 kill Emacs (for example with a ‘Modified buffers exist; exit
1072 anyway?’ prompt), do not ask them for another confirmation.
1073
1074 2015-01-29 Jay Belanger <jay.p.belanger@gmail.com>
1075
1076 * lisp/calc/calc-units.el (calc-convert-exact-units): New function.
1077 (calc-convert-units): Check for missing units.
1078 (math-consistent-units-p): Strengthen the test for consistent units.
1079
1080 * lisp/calc/calc-ext.el (calc-init-extensions): Autoload
1081 `calc-convert-exact-units' and assign it a keybinding.
1082
1083 * lisp/calc/calc-help (calc-u-prefix-help): Add help for the
1084 "un" keybinding.
1085
1086 2015-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
1087
1088 * emacs-lisp/cl.el (cl--function-convert): Simplify.
1089
1090 2015-01-28 Tassilo Horn <tsdh@gnu.org>
1091
1092 * textmodes/reftex.el (reftex-syntax-table-for-bib): Give ( and )
1093 punctuation syntax since to allow bibtex fields with values such
1094 as {Test 1) and 2)} (bug#19205, bug#19707).
1095 (reftex--prepare-syntax-tables): New function.
1096 (reftex-mode): Use it.
1097
1098 2015-01-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
1099
1100 python.el: New non-global state dependent indentation engine.
1101 (Bug#18319, Bug#19595)
1102 * progmodes/python.el (python-syntax-comment-or-string-p):
1103 Accept PPSS as argument.
1104 (python-syntax-closing-paren-p): New function.
1105 (python-indent-current-level)
1106 (python-indent-levels): Mark obsolete.
1107 (python-indent-context): Return more context cases.
1108 (python-indent--calculate-indentation)
1109 (python-indent--calculate-levels): New functions.
1110 (python-indent-calculate-levels): Use them.
1111 (python-indent-calculate-indentation, python-indent-line):
1112 (python-indent-line-function): Rewritten to use new API.
1113 (python-indent-dedent-line): Simplify logic.
1114 (python-indent-dedent-line-backspace): Use `unless`.
1115 (python-indent-toggle-levels): Delete function.
1116
1117 2015-01-28 Daniel Koning <dk@danielkoning.com> (tiny change)
1118
1119 * subr.el (posnp): Correct docstring of `posnp'.
1120 (posn-col-row): Make it work with all mouse position objects.
1121 * textmodes/artist.el (artist-mouse-draw-continously):
1122 Cancel timers if an error occurs during continuous drawing. (Bug#6130)
1123
1124 2015-01-28 Eli Zaretskii <eliz@gnu.org>
1125
1126 * button.el (button-activate, push-button): Doc fix. (Bug#19628)
1127
1128 2015-01-28 Michael Albinus <michael.albinus@gmx.de>
1129
1130 * filenotify.el (file-notify-descriptors, file-notify-handle-event):
1131 Adapt docstring.
1132 (file-notify--descriptor): New defun.
1133 (file-notify-callback, file-notify-add-watch, file-notify-rm-watch):
1134 Adapt docstring. Handle multiple values for
1135 `file-notify-descriptors' entries. (Bug#18880)
1136
1137 * net/tramp.el (tramp-handle-file-notify-rm-watch): Do not check
1138 `file-notify-descriptors', the implementation has been changed.
1139
1140 2015-01-28 Eli Zaretskii <eliz@gnu.org>
1141
1142 * net/net-utils.el (net-utils-run-program, net-utils-run-simple):
1143 On MS-Windows, bind coding-system-for-read to the console output
1144 codepage. (Bug#19458)
1145
1146 2015-01-28 Dmitry Gutov <dgutov@yandex.ru>
1147
1148 Unbreak `mouse-action' property in text buttons.
1149 * button.el (push-button): Fix regression from 2012-12-06.
1150
1151 2015-01-28 Glenn Morris <rgm@gnu.org>
1152
1153 * progmodes/sh-script.el (sh-mode): Doc fix.
1154 (sh-basic-indent-line): Handle electric newline. (Bug#18756)
1155
1156 2015-01-28 Paul Eggert <eggert@cs.ucla.edu>
1157
1158 Fix dired quoting bug with "Hit`N`Hide". Fixes Bug#19498.
1159 * files.el (shell-quote-wildcard-pattern): Also quote "`".
1160
1161 2015-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
1162
1163 Tighten up the tagcode used for eieio and cl-struct objects.
1164 * loadup.el: Load cl-preloaded.
1165 * emacs-lisp/eieio-core.el (eieio-defclass-internal): Set the function
1166 slot of the tag symbol to :quick-object-witness-check.
1167 (eieio-object-p): Use :quick-object-witness-check.
1168 (eieio--generic-tagcode): Use cl--generic-struct-tag.
1169 * emacs-lisp/cl-preloaded.el: New file.
1170 * emacs-lisp/cl-macs.el (cl--bind-inits): Remove, unused.
1171 (cl--transform-lambda, cl-destructuring-bind): Remove cl--bind-inits.
1172 (cl--make-usage-args): Strip away &aux args.
1173 (cl-case, cl-typecase, cl--parse-loop-clause): Use macroexp-let2.
1174 (cl-the, cl-check-type): Use macroexp-let2 and cl-typep.
1175 (cl-defstruct): Use `declare' and cl-struct-define.
1176 * emacs-lisp/cl-generic.el (cl--generic-struct-tag): New function.
1177 (cl--generic-struct-tagcode): Use it to tighten the tagcode.
1178
1179 2015-01-27 Katsumi Yamaoka <yamaoka@jpl.org>
1180
1181 * emacs-lisp/cl.el (cl--function-convert):
1182 Merge cache that cl--labels-convert adds (bug#19699).
1183
1184 2015-01-27 Ivan Shmakov <ivan@siamics.net>
1185
1186 * tar-mode.el: Allow for adding new archive members. (Bug#19274)
1187 (tar-new-regular-file-header, tar--pad-to, tar--put-at)
1188 (tar-header-serialize): New functions.
1189 (tar-current-position): Split from tar-current-descriptor.
1190 (tar-current-descriptor): Use it.
1191 (tar-new-entry): New command.
1192 (tar-mode-map): Bind it.
1193
1194 2015-01-27 Sam Steingold <sds@gnu.org>
1195
1196 * progmodes/python.el (python-check-custom-command): Buffer local
1197 because it usually includes the buffer name.
1198 (python-check-command): Set to epylint when pyflakes is not available.
1199
1200 2015-01-27 Artur Malabarba <bruce.connor.am@gmail.com>
1201
1202 * isearch.el (isearch-process-search-char): Add docstring.
1203
1204 2015-01-27 Oleh Krehel <ohwoeowho@gmail.com>
1205
1206 * emacs-lisp/derived.el (define-derived-mode): Declare indent 3.
1207
1208 2015-01-27 Katsumi Yamaoka <yamaoka@jpl.org>
1209
1210 * emacs-lisp/cl.el (cl--function-convert): Run cl--labels-convert
1211 for the case cl-flet or cl-labels form is wrapped with lexical-let
1212 (bug#19613).
1213
1214 2015-01-26 Stefan Monnier <monnier@iro.umontreal.ca>
1215
1216 * emacs-lisp/cl-generic.el (cl--generic-method): New struct.
1217 (cl--generic): The method-table is now a (list-of cl--generic-method).
1218 (cl--generic-member-method): New function.
1219 (cl-generic-define-method): Use it.
1220 (cl--generic-build-combined-method, cl--generic-cache-miss):
1221 Adapt to new method-table.
1222 (cl--generic-no-next-method-function): Add `method' argument.
1223 (cl-generic-call-method): Adapt to new method representation.
1224 (cl--generic-cnm-sample, cl--generic-nnm-sample): Adjust.
1225 (cl-find-method, cl-method-qualifiers): New functions.
1226 (cl--generic-method-info): Adapt to new method representation.
1227 Return a string for the qualifiers.
1228 (cl--generic-describe):
1229 * emacs-lisp/eieio-opt.el (eieio-help-class): Adjust accordingly.
1230 (eieio-all-generic-functions, eieio-method-documentation):
1231 Adjust to new method representation.
1232
1233 * emacs-lisp/eieio-compat.el (eieio--defmethod): Use cl-find-method.
1234
1235 2015-01-26 Stefan Monnier <monnier@iro.umontreal.ca>
1236
1237 * emacs-lisp/cl-generic.el: Add a method-combination hook.
1238 (cl-generic-method-combination-function): New var.
1239 (cl--generic-lambda): Remove `with-cnm' arg.
1240 (cl-defmethod): Change accordingly.
1241 (cl-generic-define-method): Don't check qualifiers validity.
1242 Preserve all qualifiers in `method-table'.
1243 (cl-generic-call-method): New function.
1244 (cl--generic-nest): Remove (morph into cl-generic-call-method).
1245 (cl--generic-build-combined-method): Adjust to new format of method-table
1246 and use cl-generic-method-combination-function.
1247 (cl--generic-standard-method-combination): New function, extracted from
1248 cl--generic-build-combined-method.
1249 (cl--generic-cnm-sample): Adjust to new format of method-table.
1250
1251 * emacs-lisp/eieio-compat.el (eieio--defmethod): Use () qualifiers
1252 instead of :primary.
1253
1254 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
1255 Remove obsolete function.
1256
1257 2015-01-26 Lars Ingebrigtsen <larsi@gnus.org>
1258
1259 * net/shr.el (shr-make-table-1): Fix colspan typo.
1260 (shr-make-table-1): Add comments.
1261 (shr-make-table-1): Make colspan display more sensibly.
1262
1263 * net/eww.el (eww-add-bookmark): Fix prompt and clean up the code
1264 slightly.
1265
1266 2015-01-25 Stefan Monnier <monnier@iro.umontreal.ca>
1267
1268 * emacs-lisp/cl-generic.el (cl--generic-no-next-method-function): New fun.
1269 (cl--generic-build-combined-method, cl--generic-nnm-sample): Use it
1270 (bug#19672).
1271 (cl--generic-typeof-types): Add support for `sequence'.
1272 (cl-defmethod): Add non-keywords in the qualifiers.
1273
1274 2015-01-25 Dmitry Gutov <dgutov@yandex.ru>
1275
1276 * emacs-lisp/find-func.el (find-function-regexp): Don't match
1277 `defgroup' (regression from the previous change here).
1278
1279 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
1280
1281 * net/ldap.el (ldap-search-internal): Mention binddn in invalid
1282 credentials error message.
1283
1284 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
1285
1286 * net/ldap.el (ldap-password-read): Validate password before
1287 caching it.
1288 (ldap-search-internal): Handle ldapsearch error conditions.
1289
1290 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
1291
1292 * net/ldap.el (ldap-password-read): Handle password-cache being nil.
1293
1294 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
1295
1296 * net/eudc.el (eudc-expand-inline): Always restore former server
1297 and protocol.
1298
1299 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
1300
1301 * net/eudcb-ldap.el: Don't nag the user in case a default base is
1302 provided by the LDAP system configuration file.
1303
1304 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
1305
1306 * net/eudc.el (eudc-format-query): Preserve the
1307 eudc-inline-query-format ordering of attributes in the returned list.
1308 * net/eudcb-ldap.el (eudc-ldap-format-query-as-rfc1558):
1309 Append the LDAP wildcard character to the last attribute value.
1310
1311 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
1312
1313 * net/eudcb-ldap.el (eudc-ldap-cleanup-record-simple):
1314 Downcase field names of LDAP results.
1315 (eudc-ldap-cleanup-record-filtering-addresses): Likewise.
1316
1317 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
1318
1319 * net/ldap.el (ldap-ldapsearch-password-prompt): New defcustom.
1320 (ldap-search-internal): Send password to ldapsearch through a pipe
1321 instead of via the command line.
1322
1323 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
1324
1325 * net/ldap.el: Require password-cache.
1326 (ldap-password-read): New function.
1327 (ldap-search-internal): Call ldap-password-read when it is
1328 configured to be called.
1329
1330 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
1331
1332 * net/eudc-vars.el (eudc-expansion-overwrites-query):
1333 Change default to nil.
1334
1335 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
1336
1337 * net/eudc.el (eudc-expand-inline): Ignore text properties of
1338 string-to-expand.
1339
1340 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
1341
1342 * net/eudc-vars.el (eudc-inline-expansion-format): Default to a
1343 format that includes first name and surname.
1344
1345 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
1346
1347 * net/eudc-vars.el (eudc-inline-query-format): Change default to
1348 query email and first name instead of surname.
1349
1350 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
1351
1352 * net/ldap.el (ldap-search-internal): Support new-style LDAP URIs.
1353
1354 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
1355
1356 * net/eudc-vars.el (eudc-server): Adjust docstring to mention
1357 eudc-server-hotlist.
1358 (eudc-server-hotlist): Move from eudc.el and make defcustom.
1359 * net/eudc.el (eudc-server-hotlist): Move to eudc-vars.el.
1360 (eudc-set-server): Allow setting protocol to nil.
1361 (eudc-expand-inline): Support hotlist-only expansions when server
1362 is not set.
1363
1364 2015-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
1365
1366 * emacs-lisp/cl-generic.el (cl-no-primary-method): New fun and error.
1367 (cl--generic-build-combined-method): Use it.
1368
1369 2015-01-22 Paul Eggert <eggert@cs.ucla.edu>
1370
1371 Don't downcase system diagnostics' first letters
1372 * emacs-lisp/bytecomp.el (byte-compile-file):
1373 * ffap.el (find-file-at-point):
1374 * files.el (insert-file-1):
1375 * net/ange-ftp.el (ange-ftp-barf-if-not-directory)
1376 (ange-ftp-copy-file-internal):
1377 * progmodes/etags.el (visit-tags-table):
1378 Keep diagnostics consistent with system's.
1379 * ffap.el (ffap-machine-p):
1380 Ignore case while comparing diagnostics.
1381
1382 2015-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
1383
1384 * help.el (help-make-usage): Don't turn a "_" arg into an empty-string
1385 arg (bug#19645).
1386 * emacs-lisp/cl-generic.el (cl--generic-lambda): Don't confuse a string
1387 body with a docstring.
1388
1389 2015-01-22 Dmitry Gutov <dgutov@yandex.ru>
1390
1391 * progmodes/xref.el (xref-location-marker, xref-location-group):
1392 Use `cl-defgeneric' and `cl-defmethod' instead of the EIEIO
1393 counterparts.
1394
1395 * progmodes/etags.el (xref-location-marker): Same.
1396
1397 * progmodes/xref.el (xref--current): Rename from `xref--selected'.
1398 (xref--inhibit-mark-current): Rename from
1399 `xref--inhibit-mark-selected'. Update the usages.
1400 (xref-quit): Reword the docstring. Kill buffers after quitting
1401 windows instead of before.
1402 (xref--insert-xrefs): Tweak help-echo.
1403 (xref--read-identifier-history, xref--read-pattern-history):
1404 New variables.
1405 (xref--read-identifier, xref-find-apropos): Use them.
1406
1407 2015-01-21 Ulrich Müller <ulm@gentoo.org>
1408
1409 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
1410 Allow the 'update-game-score' helper program to run suid or sgid.
1411
1412 2015-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
1413
1414 * emacs-lisp/eieio.el: Use cl-defmethod.
1415 (defclass): Generate cl-defmethod calls; use setf methods for :accessor.
1416 (eieio-object-name-string): Declare as obsolete.
1417
1418 * emacs-lisp/eieio-opt.el: Adapt to cl-generic.
1419 (eieio--specializers-apply-to-class-p): New function.
1420 (eieio-all-generic-functions): Use it.
1421 (eieio-method-documentation): Use it as well as cl--generic-method-info.
1422 Change format of return value.
1423 (eieio-help-class): Adapt accordingly.
1424
1425 * emacs-lisp/eieio-compat.el (eieio--defmethod): Avoid no-next-method
1426 errors when there's a `before' but no `primary' (bug#19645).
1427 (next-method-p): Return nil rather than signal an error.
1428 (eieio-defgeneric): Remove bogus (fboundp 'method).
1429
1430 * emacs-lisp/eieio-speedbar.el:
1431 * emacs-lisp/eieio-datadebug.el:
1432 * emacs-lisp/eieio-custom.el:
1433 * emacs-lisp/eieio-base.el: Use cl-defmethod.
1434
1435 * emacs-lisp/cl-generic.el (cl-defgeneric): Add support for `declare'.
1436 (cl--generic-setf-rewrite): Setup the setf expander right away.
1437 (cl-defmethod): Make sure the setf expander is setup before we expand
1438 the body.
1439 (cl-defmethod): Silence byte-compiler warnings.
1440 (cl-generic-define-method): Shuffle code to change return value.
1441 (cl--generic-method-info): New function, extracted from
1442 cl--generic-describe.
1443 (cl--generic-describe): Use it.
1444
1445 2015-01-21 Dmitry Gutov <dgutov@yandex.ru>
1446
1447 * progmodes/xref.el (xref--xref-buffer-mode-map): Define before
1448 the major mode. Remap `quit-window' to `xref-quit'.
1449 (xref--xref-buffer-mode): Inherit from special-mode.
1450
1451 xref: Keep track of temporary buffers (bug#19466).
1452 * progmodes/xref.el (xref--temporary-buffers, xref--selected)
1453 (xref--inhibit-mark-selected): New variables.
1454 (xref--mark-selected): New function.
1455 (xref--show-location): Maybe add the buffer to
1456 `xref--temporary-buffers', add `xref--mark-selected' to
1457 `buffer-list-update-hook' there.
1458 (xref--window): Add docstring.
1459 (xref-quit): Rename from `xref--quit'. Update both references.
1460 Add KILL argument. When it's non-nil, kill the temporary buffers
1461 that haven't been selected by the user.
1462 (xref--show-xref-buffer): Change the second argument to alist,
1463 extract the values for `xref--window' and
1464 `xref--temporary-buffers' from it. Add `xref--mark-selected' to
1465 `buffer-list-update-hook' to each buffer in the list.
1466 (xref--show-xrefs): Move the logic of calling `xref-find-function'
1467 here. Save the difference between buffer lists before and after
1468 it's called as "temporary buffers", and `pass it to
1469 `xref-show-xrefs-function'.
1470 (xref--find-definitions, xref-find-references)
1471 (xref-find-apropos): Update accordingly.
1472
1473 2015-01-20 Artur Malabarba <bruce.connor.am@gmail.com>
1474
1475 * emacs-lisp/package.el (package-dir-info): Fix `while' logic.
1476
1477 2015-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
1478
1479 * emacs-lisp/eieio-generic.el: Remove.
1480 (defgeneric, defmethod): Move to eieio-compat.el. Mark obsolete.
1481 * emacs-lisp/eieio-compat.el: New file.
1482 * emacs-lisp/eieio.el: Don't require eieio-generic any more.
1483 * emacs-lisp/eieio-core.el (eieio--slot-originating-class-p):
1484 Remove unused function.
1485 (eieio-defclass): Move to eieio-compat.el.
1486 * emacs-lisp/macroexp.el (macroexp-macroexpand): New function.
1487 (macroexp--expand-all): Use it.
1488 * emacs-lisp/bytecomp.el (byte-compile-recurse-toplevel): Here too.
1489
1490 2015-01-20 Michal Nazarewicz <mina86@mina86.com>
1491
1492 * emacs-lisp/eldoc.el (eldoc-documentation-function): Describe how
1493 major modes should use `add-function' to alter value of the variable.
1494 * hexl.el (hexl-mode):
1495 * ielm.el (inferior-emacs-lisp-mode):
1496 * progmodes/cfengine.el (cfengine3-mode):
1497 * progmodes/elisp-mode (emacs-lisp-mode):
1498 * progmodes/octave.el (octave-mode):
1499 * progmodes/python.el (python-mode):
1500 * simple.el (read--expression): Set `eldoc-documentation-function'
1501 using `add-function' so the default value is always used.
1502
1503 * descr-text.el (describe-char-eldoc): New function returning
1504 basic Unicode codepoint information (e.g. name) about character
1505 at point. It is meant to be used as a default value of the
1506 `eldoc-documentation-function' variable.
1507 (describe-char-eldoc--format, describe-char-eldoc--truncate):
1508 New helper functions for `describe-char-eldoc' function.
1509
1510 2015-01-20 Michal Nazarewicz <mina86@mina86.com>
1511
1512 * textmodes/paragraphs.el (sentence-end-base): Include an
1513 ellipsis (…) and interrobang (‽) characters as end of a sentence,
1514 and a closing single quote (’) as an end of a quote.
1515
1516 2015-01-20 Michal Nazarewicz <mina86@mina86.com>
1517
1518 * textmodes/tildify.el (tildify-double-space-undos): A new
1519 variable specifying whether pressing space in `tildify-mode' after
1520 a space has been replaced with hard space undos the substitution.
1521 (tildify-space): Add code branch for handling `tildify-doule-space'.
1522
1523 * textmodes/tildify.el (tildify-space): A new function
1524 which can be used as a `post-self-insert-hook' to automatically
1525 convert spaces into hard spaces.
1526 (tildify-space-pattern): A new variable specifying pattern where
1527 `tildify-space' should take effect.
1528 (tildify-space-predicates): A new variable specifying list of
1529 predicate functions that all must return non-nil for
1530 `tildify-space' to take effect.
1531 (tildify-space-region-predicate): A new functions meant to be
1532 used as a predicate in `tildify-space-predicates' list.
1533 (tildify-mode): A new minor mode enabling `tildify-space' as a
1534 `post-self-insert-hook'
1535
1536 2015-01-20 Daniel Colascione <dancol@dancol.org>
1537
1538 * vc/vc-dir.el (vc-dir): Default to repository root, not
1539 default-directory.
1540
1541 2015-01-20 Dmitry Gutov <dgutov@yandex.ru>
1542
1543 * progmodes/etags.el (xref-etags-location): New class.
1544 (xref-make-etags-location): New function.
1545 (etags--xref-find-definitions): Use it.
1546 (xref-location-marker): New method implementation.
1547
1548 * progmodes/xref.el: Mention that xref-location is an EIEIO class.
1549 (xref--insert-xrefs): Expand help-echo string.
1550
1551 2015-01-19 Dmitry Gutov <dgutov@yandex.ru>
1552
1553 * ido.el: Update Customization instructions.
1554
1555 2015-01-19 Jonas Bernoulli <jonas@bernoul.li>
1556
1557 Define Ido keymaps once (bug#17000).
1558 * ido.el (ido-common-completion-map)
1559 (ido-file-dir-completion-map)
1560 (ido-file-completion-map, ido-buffer-completion-map): Set up key
1561 bindings when each variable is defined.
1562 (ido-completion-map): Move definition.
1563 (ido-init-completion-maps): Noop.
1564 (ido-common-initialization): Don't call it.
1565 (ido-setup-completion-map): Improve doc-string, cleanup.
1566
1567 2015-01-19 Ivan Shmakov <ivan@siamics.net>
1568
1569 * cus-dep.el (custom-make-dependencies): Ensure that
1570 default-directory is interpreted as a directory (see bug#19140.)
1571
1572 2015-01-19 Dmitry Gutov <dgutov@yandex.ru>
1573
1574 * progmodes/xref.el (xref--display-position):
1575 Set `other-window-scroll-buffer'.
1576 (xref-goto-xref): Use `user-error'.
1577
1578 2015-01-19 Dmitry Gutov <dgutov@yandex.ru>
1579
1580 * progmodes/xref.el (xref--display-history): New variable.
1581 (xref--window-configuration): Remove.
1582 (xref--save-to-history): New function.
1583 (xref--display-position): Use it. Add new argument.
1584 (xref--restore-window-configuration): Remove.
1585 (xref--show-location, xref-show-location-at-point):
1586 Update accordingly.
1587 (xref--xref-buffer-mode): Don't use `pre-command-hook'.
1588 (xref--quit): New command.
1589 (xref-goto-xref): Use it.
1590 (xref--xref-buffer-mode-map): Bind `q' to it.
1591
1592 2015-01-18 Dmitry Gutov <dgutov@yandex.ru>
1593
1594 * progmodes/xref.el (xref-goto-xref): Perform the jump even inside
1595 indentation or at eol.
1596
1597 2015-01-18 Stefan Monnier <monnier@iro.umontreal.ca>
1598
1599 * emacs-lisp/eieio-core.el: Add `subclass' specializer for cl-generic.
1600 (eieio--generic-subclass-tagcode, eieio--generic-subclass-tag-types):
1601 New functions.
1602 (cl-generic-tagcode-function, cl-generic-tag-types-function): Use them.
1603
1604 * emacs-lisp/eieio.el (defclass): Add obsolescence warning for the
1605 `newname' argument.
1606
1607 * emacs-lisp/cl-generic.el (cl-generic-define-method): Correctly handle
1608 introduction of a new dispatch argument.
1609 (cl--generic-cache-miss): Handle dispatch on an argument which was not
1610 considered as dispatchable for this method.
1611 (cl-defmethod): Warn when adding a method to an obsolete generic function.
1612 (cl--generic-lambda): Make sure it works if cl-lib is not yet loaded.
1613
1614 * emacs-lisp/eieio-generic.el (eieio--defgeneric-init-form): Use autoloadp.
1615
1616 2015-01-18 Artur Malabarba <bruce.connor.am@gmail.com>
1617
1618 * emacs-lisp/package.el (package--append-to-alist): Rename from
1619 `package--add-to-alist'
1620 Updated docstring due to new name.
1621
1622 2015-01-18 Leo Liu <sdl.web@gmail.com>
1623
1624 * emacs-lisp/cl-extra.el (cl-subseq): Use seq-subseq and fix
1625 multiple evaluation. (Bug#19519)
1626
1627 * emacs-lisp/seq.el (seq-subseq): Throw bad bounding indices
1628 error. (Bug#19434)
1629
1630 2015-01-18 Stefan Monnier <monnier@iro.umontreal.ca>
1631
1632 * emacs-lisp/eieio-core.el: Add `subclass' specializer for cl-generic.
1633 (eieio--generic-subclass-tagcode, eieio--generic-subclass-tag-types):
1634 New functions.
1635 (cl-generic-tagcode-function, cl-generic-tag-types-function): Use them.
1636
1637 * emacs-lisp/cl-macs.el (cl-defstruct): Minor optimization when include
1638 or print is nil.
1639 (cl-struct-type-p): New function.
1640
1641 * emacs-lisp/cl-generic.el: Add support for cl-next-method-p.
1642 (cl-defmethod): Add edebug spec.
1643 (cl--generic-build-combined-method): Fix call to
1644 cl-no-applicable-method.
1645 (cl--generic-nnm-sample, cl--generic-cnm-sample): New constant.
1646 (cl--generic-isnot-nnm-p): New function.
1647 (cl--generic-lambda): Use it to add support for cl-next-method-p.
1648 (cl-no-next-method, cl-no-applicable-method): Simplify arg list.
1649 (cl-next-method-p): New function.
1650
1651 2015-01-17 Ulrich Müller <ulm@gentoo.org>
1652
1653 * version.el (emacs-repository-get-version): Update docstring.
1654
1655 2015-01-17 Ivan Shmakov <ivan@siamics.net>
1656
1657 * files.el (find-file-other-window, find-file-other-frame):
1658 Use mapc instead of mapcar. (Bug#18175)
1659
1660 * files.el (dir-locals-collect-variables): Use default-directory
1661 in place of the file name while working on non-file buffers, just
1662 like hack-dir-local-variables already does. (Bug#19140)
1663
1664 * textmodes/enriched.el (enriched-encode):
1665 Use inhibit-point-motion-hooks in addition to inhibit-read-only.
1666 (Bug#18246)
1667
1668 * desktop.el (desktop-read): Do not call desktop-clear when no
1669 desktop file is found. (Bug#18371)
1670
1671 * misearch.el (multi-isearch-unload-function): New function.
1672 (misearch-unload-function): New alias. (Bug#19566)
1673
1674 2015-01-17 Stefan Monnier <monnier@iro.umontreal.ca>
1675
1676 * emacs-lisp/eieio-core.el (eieio--class-constructor): Rename from
1677 class-constructor, and make it an alias for `identity'.
1678 Update all callers.
1679
1680 * emacs-lisp/eieio.el (eieio-constructor): Handle obsolete object name
1681 argument here (bug#19620)...
1682 (defclass): ...instead of in the constructor here.
1683
1684 2015-01-16 Jorgen Schaefer <contact@jorgenschaefer.de>
1685
1686 * emacs-lisp/package.el (package-archive-priorities):
1687 Specify correct type.
1688
1689 2015-01-17 Ulrich Müller <ulm@gentoo.org>
1690
1691 * version.el (emacs-bzr-version-dirstate, emacs-bzr-version-bzr):
1692 Remove.
1693 (emacs-repository-get-version): Discard the Bazaar case.
1694 * vc/vc-bzr.el (vc-bzr-version-dirstate): Rename from
1695 emacs-bzr-version-dirstate and move from version.el to here.
1696 (vc-bzr-working-revision): Use it.
1697
1698 2015-01-17 Stefan Monnier <monnier@iro.umontreal.ca>
1699
1700 * emacs-lisp/eieio-generic.el (call-next-method): Don't bother checking
1701 eieio--scoped-class any more.
1702
1703 * emacs-lisp/eieio-core.el (eieio--scoped-class-stack): Remove var.
1704 (eieio--scoped-class): Remove function.
1705 (eieio--with-scoped-class): Remove macro. Replace uses with `progn'.
1706 (eieio--slot-name-index): Don't check the :protection anymore.
1707 (eieio-initializing-object): Remove var.
1708 (eieio-set-defaults): Don't let-bind eieio-initializing-object.
1709
1710 2015-01-17 Stefan Monnier <monnier@iro.umontreal.ca>
1711
1712 Improve handling of doc-strings and describe-function for cl-generic.
1713
1714 * help-mode.el (help-function-def): Add optional arg `type'.
1715
1716 * help-fns.el (find-lisp-object-file-name): Accept any `type' as long
1717 as it's a symbol.
1718 (help-fns-short-filename): New function.
1719 (describe-function-1): Use it. Use autoload-do-load.
1720
1721 * emacs-lisp/find-func.el: Use lexical-binding.
1722 (find-function-regexp): Don't rule out `defgeneric'.
1723 (find-function-regexp-alist): Document new possibility of including
1724 a function instead of a regexp.
1725 (find-function-search-for-symbol): Implement that new possibility.
1726 (find-function-library): Don't assume that `function' is a symbol.
1727 (find-function-do-it): Remove unused var `orig-buf'.
1728
1729 * emacs-lisp/eieio-generic.el (eieio--defalias): Move from eieio-core.
1730 (eieio--defgeneric-init-form): Don't throw away a previous docstring.
1731 (eieio--method-optimize-primary): Don't mess with the docstring.
1732 (defgeneric): Keep the `args' in the docstring.
1733 (defmethod): Don't use the method's docstring for the generic
1734 function's docstring.
1735
1736 * emacs-lisp/eieio-core.el (eieio--defalias): Move to eieio-generic.el.
1737 (eieio-defclass-autoload): Don't record the superclasses any more.
1738 (eieio-defclass-internal): Reuse the old class object if it was just an
1739 autoload stub.
1740 (eieio--class-precedence-list): Load the class if it's autoloaded.
1741
1742 * emacs-lisp/cl-generic.el (cl-generic-ensure-function): It's OK to
1743 override an autoload.
1744 (cl-generic-current-method-specializers): Replace dyn-bind variable
1745 with a lexically-scoped macro.
1746 (cl--generic-lambda): Update accordingly.
1747 (cl-generic-define-method): Record manually in the load-history with
1748 type `cl-defmethod'.
1749 (cl--generic-get-dispatcher): Minor optimization.
1750 (cl--generic-search-method): New function.
1751 (find-function-regexp-alist): Add entry for `cl-defmethod' type.
1752 (cl--generic-search-method): Add hyperlinks for methods. Merge the
1753 specializers and the function's arguments.
1754
1755 2015-01-16 Artur Malabarba <bruce.connor.am@gmail.com>
1756
1757 * emacs-lisp/package.el (package--read-pkg-desc):
1758 New function. Read a `define-package' form in current buffer.
1759 Return the pkg-desc, with desc-kind set to KIND.
1760 (package-dir-info): New function. Find package information for a
1761 directory. The return result is a `package-desc'.
1762 (package-install-from-buffer): Install packages from dired buffer.
1763 (package-install-file): Install packages from directory.
1764 (package-desc-suffix)
1765 (package-install-from-archive)
1766 * emacs-lisp/package-x.el (package-upload-buffer-internal):
1767 Ensure all remaining instances of `package-desc-kind' handle the 'dir
1768 value.
1769
1770 2015-01-16 Jorgen Schaefer <contact@jorgenschaefer.de>
1771
1772 * emacs-lisp/package.el: Provide repository priorities.
1773 (package-archive-priorities): New variable.
1774 (package--add-to-alist): New function.
1775 (package--add-to-archive-contents): Use it.
1776 (package-menu--find-upgrades): Use it as well. Small clean up to
1777 make the use of the package name here explicit.
1778 (package-archive-priority): New function.
1779 (package-desc-priority-version): New function.
1780
1781 2015-01-16 Daniel Colascione <dancol@dancol.org>
1782
1783 * cus-start.el (all): Make `ring-bell-function' customizable.
1784
1785 2015-01-16 Dmitry Gutov <dgutov@yandex.ru>
1786
1787 * vc/vc-svn.el (vc-svn-dir-status-files): Pass t as
1788 vc-svn-after-dir-status's second argument. (Bug#19429)
1789
1790 2015-01-16 Samer Masterson <samer@samertm.com>
1791
1792 * pcomplete.el (pcomplete-parse-arguments): Parse arguments
1793 regardless of pcomplete-cycle-completions's value. (Bug#18950)
1794
1795 2015-01-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
1796
1797 * dom.el (dom-strings): New function.
1798
1799 * files.el (directory-files-recursively): Don't use the word
1800 "path" for a file name.
1801
1802 2015-01-15 Wolfgang Jenkner <wjenkner@inode.at>
1803
1804 * calc/calc-units.el (math-units-in-expr-p)
1805 (math-single-units-in-expr-p, math-find-compatible-unit-rec)
1806 (math-extract-units): Handle the `neg' operator. (Bug#19582)
1807
1808 2015-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
1809
1810 * emacs-lisp/cl-macs.el (cl--labels-magic): New constant.
1811 (cl--labels-convert): Use it to ask the macro what is its replacement
1812 in the #'f case.
1813
1814 * emacs-lisp/cl-generic.el (cl--generic-build-combined-method):
1815 Return the value of the primary rather than the after method.
1816
1817 * emacs-lisp/eieio-core.el: Provide support for cl-generic.
1818 (eieio--generic-tagcode): New function.
1819 (cl-generic-tagcode-function): Use it.
1820 (eieio--generic-tag-types): New function.
1821 (cl-generic-tag-types-function): Use it.
1822 (eieio-object-p): Tighten up the test.
1823
1824 * emacs-lisp/cl-generic.el (cl-generic-define-method): Fix paren typo.
1825
1826 2015-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
1827
1828 * emacs-lisp/cl-generic.el: New file.
1829
1830 * emacs-lisp/cl-macs.el (cl-flet): Allow (FUN EXP) forms.
1831 (cl-load-time-value, cl-labels): Use closures rather than
1832 backquoted lambdas.
1833 (cl-macrolet): Use `eval' to create the function value, and support CL
1834 style arguments in for the defined macros.
1835
1836 2015-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
1837
1838 * net/eww.el: Use lexical-binding.
1839 (eww-links-at-point): Remove unused arg.
1840 (eww-mode-map): Inherit from special-mode-map.
1841 (eww-mode): Derive from special-mode. Don't use `setq' on a hook.
1842
1843 2015-01-13 Alan Mackenzie <acm@muc.de>
1844
1845 Allow compilation during loading of CC Mode-derived modes (bug#19206).
1846 * progmodes/cc-bytecomp.el (cc-bytecomp-compiling-or-loading):
1847 New function which walks the stack to discover whether we're compiling
1848 or loading.
1849 (cc-bytecomp-is-compiling): Reformulate, and move towards beginning.
1850 (cc-bytecomp-is-loading): New defsubst.
1851 (cc-bytecomp-setup-environment, cc-bytecomp-restore-environment):
1852 Use the above defsubsts.
1853 (cc-require-when-compile, cc-bytecomp-defvar)
1854 (cc-bytecomp-defun): Simplify conditionals.
1855 * progmodes/cc-defs.el (cc-bytecomp-compiling-or-loading):
1856 "Borrow" this function from cc-bytecomp.el.
1857 (c-get-current-file): Reformulate using the above.
1858 (c-lang-defconst): Prevent duplicate entries of file names in a
1859 symbol's 'source property.
1860 (c-lang-const): Use cc-bytecomp-is-compiling.
1861 * progmodes/cc-langs.el (c-make-init-lang-vars-fun):
1862 Use cc-bytecomp-is-compiling.
1863
1864 2015-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
1865
1866 * emacs-lisp/eieio-core.el (eieio-defclass): Fix call to `defclass'
1867 (bug#19552).
1868
1869 2015-01-13 Dmitry Gutov <dgutov@yandex.ru>
1870
1871 * menu-bar.el (menu-bar-goto-menu): Before calling
1872 `xref-marker-stack-empty-p', first check that `xref' is loaded.
1873 (Bug#19554)
1874
1875 2015-01-12 Martin Rudalics <rudalics@gmx.at>
1876
1877 * progmodes/xref.el (xref-marker-stack-empty-p): Add autoload
1878 cookie (Bug#19554).
1879
1880 * frame.el (frame-notice-user-settings): Remove code dealing with
1881 frame-initial-frame-tool-bar-height. Turn off `tool-bar-mode'
1882 only if `window-system-frame-alist' or `default-frame-alist' ask
1883 for it.
1884 (make-frame): Update frame-adjust-size-history if needed.
1885
1886 2015-01-12 Paul Eggert <eggert@cs.ucla.edu>
1887
1888 Have 'make' output better GEN names
1889 * Makefile.in (PHONY_EXTRAS): New macro.
1890 (.PHONY): Depend on it, and on $(lisp)/loaddefs.el, so that the
1891 relevant files' time stamps are ignored.
1892 (custom-deps, $(lisp)/cus-load.el, finder-data)
1893 ($(lisp)/finder-inf.el): Use PHONY_EXTRAS.
1894 (custom-deps, $(lisp)/cus-load.el, finder-data)
1895 ($(lisp)/finder-inf.el, autoloads, $(lisp)/loaddefs.el)
1896 ($(lisp)/subdirs.el, update-subdirs):
1897 Output more-accurate destination names with GEN.
1898
1899 Say "ELC foo.elc" instead of "GEN foo.elc"
1900 * Makefile.in (AM_V_ELC, am__v_ELC_, am__v_ELC_0, am__v_ELC_1):
1901 New macros.
1902 ($(THEFILE)c, .el.elc): Use them.
1903
1904 2015-01-11 Michael Albinus <michael.albinus@gmx.de>
1905
1906 * files.el (directory-files-recursively): Do not include
1907 superfluous remote file names.
1908
1909 2015-01-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
1910
1911 * net/eww.el (eww): Interpret anything that looks like a protocol
1912 designator as a full URL.
1913
1914 2015-01-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
1915
1916 * net/shr.el (shr-urlify): Don't bother the user about
1917 invalidly-encoded display strings.
1918
1919 2015-01-10 Ivan Shmakov <ivan@siamics.net>
1920
1921 * net/shr.el (shr-urlify): Decode URLs before using them as titles
1922 (bug#19555).
1923
1924 2015-01-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
1925
1926 * net/eww.el (eww): Always interpret URLs that start with https?:
1927 as plain URLs, even if they have spaces in them (bug#19556).
1928 (eww): Also interpret things like "en.wikipedia.org/wiki/Free
1929 software" as an URL.
1930 (eww): Don't interpret "org/foo" as an URL.
1931 (eww): Clear the title when loading so that we don't display
1932 misleading information.
1933
1934 2015-01-10 Daniel Colascione <dancol@dancol.org>
1935
1936 * vc/vc-hooks.el (vc-prefix-map): Bind vc-delete-file to C-x v x,
1937 by analogy with dired.
1938
1939 2015-01-09 Daniel Colascione <dancol@dancol.org>
1940
1941 * progmodes/js.el (js--function-heading-1-re)
1942 (js--function-prologue-beginning): Parse ES6 generator function
1943 declarations. (That is, "function* name()").
1944
1945 2015-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
1946
1947 * emacs-lisp/eieio.el (defclass): Move from eieio-defclass all the code
1948 that creates functions, and most of the sanity checks.
1949 Mark as obsolete the <class>-child-p function.
1950 * emacs-lisp/eieio-core.el (eieio--define-field-accessors): Remove.
1951 (eieio--class, eieio--object): Use cl-defstruct.
1952 (eieio--object-num-slots): Define manually.
1953 (eieio-defclass-autoload): Use eieio--class-make.
1954 (eieio-defclass-internal): Rename from eieio-defclass. Move all the
1955 `(lambda...) definitions and most of the sanity checks to `defclass'.
1956 Mark as obsolete the <class>-list-p function, the <class> variable and
1957 the <initarg> variables. Use pcase-dolist.
1958 (eieio-defclass): New compatibility function.
1959 * emacs-lisp/eieio-opt.el (eieio-build-class-alist)
1960 (eieio-class-speedbar): Don't use eieio-default-superclass var.
1961
1962 2015-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
1963
1964 * emacs-lisp/eieio-generic.el: New file.
1965 * emacs-lisp/eieio-core.el: Move all generic function code to
1966 eieio-generic.el.
1967 (eieio--defmethod): Declare.
1968
1969 * emacs-lisp/eieio.el: Require eieio-generic. Move all generic
1970 function code to eieio-generic.el.
1971 * emacs-lisp/eieio-opt.el (eieio-help-generic): Move to
1972 eieio-generic.el.
1973 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke): Update call
1974 to eieio--generic-call.
1975 * emacs-lisp/eieio-base.el (eieio-instance-inheritor): Don't use
1976 <class>-child type.
1977
1978 2015-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
1979
1980 * emacs-lisp/chart.el (chart-add-sequence, chart-bar-quickie):
1981 Don't use <class> as a variable.
1982
1983 * emacs-lisp/eieio.el (same-class-p): Accept class object as well.
1984 (call-next-method): Simplify.
1985 (clone): Obey eieio-backward-compatibility.
1986
1987 * emacs-lisp/eieio-opt.el (eieio-read-generic-p): Remove.
1988 (eieio-read-generic): Use `generic-p' instead.
1989
1990 * emacs-lisp/eieio-core.el (eieio-backward-compatibility): New var.
1991 (eieio-defclass-autoload): Obey it.
1992 (eieio--class-object): Improve error behavior.
1993 (eieio-class-children-fast, same-class-fast-p): Remove. Inline at
1994 every use site.
1995 (eieio--defgeneric-form-primary-only): Rename from
1996 eieio-defgeneric-form-primary-only; update all callers.
1997 (eieio--defgeneric-form-primary-only-one): Rename from
1998 eieio-defgeneric-form-primary-only-one; update all callers.
1999 (eieio-defgeneric-reset-generic-form)
2000 (eieio-defgeneric-reset-generic-form-primary-only)
2001 (eieio-defgeneric-reset-generic-form-primary-only-one): Remove.
2002 (eieio--method-optimize-primary): New function to replace them.
2003 (eieio--defmethod, eieio-defmethod): Use it.
2004 (eieio--perform-slot-validation): Rename from
2005 eieio-perform-slot-validation; update all callers.
2006 (eieio--validate-slot-value): Rename from eieio-validate-slot-value.
2007 Change `class' to be a class object. Update all callers.
2008 (eieio--validate-class-slot-value): Rename from
2009 eieio-validate-class-slot-value. Change `class' to be a class object.
2010 Update all callers.
2011 (eieio-oset-default): Accept class object as well.
2012 (eieio--generic-call-primary-only): Rename from
2013 eieio-generic-call-primary-only. Update all callers.
2014
2015 * emacs-lisp/eieio-base.el (eieio-persistent-validate/fix-slot-value):
2016 Improve error messages.
2017 (eieio-persistent-slot-type-is-class-p): Handle `list-of' types, as
2018 well as user-defined types. Emit errors for legacy types like
2019 <class>-child and <class>-list, if not eieio-backward-compatibility.
2020
2021 2015-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
2022
2023 * emacs-lisp/eieio.el (eieio-class-parents): Accept class objects.
2024 (eieio--class-slot-initarg): Rename from class-slot-initarg.
2025 Change `class' arg to be a class object. Update all callers.
2026 (call-next-method): Adjust to new return value of `eieio-generic-form'.
2027 (eieio-default-superclass): Set var to the class object.
2028 (eieio-edebug-prin1-to-string): Fix recursive call for lists.
2029 Change print behavior to affect class objects rather than
2030 class symbols.
2031
2032 * emacs-lisp/eieio-core.el (eieio-class-object): New function.
2033 (eieio-class-parents-fast): Remove macro.
2034 (eieio--class-option-assoc): Rename from class-option-assoc.
2035 Update all callers.
2036 (eieio--class-option): Rename from class-option. Change `class' arg to
2037 be a class object. Update all callers.
2038 (eieio--class-method-invocation-order): Rename from
2039 class-method-invocation-order. Change `class' arg to be a class
2040 object. Update all callers.
2041 (eieio-defclass-autoload, eieio-defclass): Set the `parent' field to
2042 a list of class objects rather than names.
2043 (eieio-defclass): Remove redundant quotes. Use `eieio-oref-default'
2044 for accessors to class allocated slots.
2045 (eieio--perform-slot-validation-for-default): Rename from
2046 eieio-perform-slot-validation-for-default. Update all callers.
2047 (eieio--add-new-slot): Rename from eieio-add-new-slot.
2048 Update all callers. Use push.
2049 (eieio-copy-parents-into-subclass): Adjust to new content of
2050 `parent' field. Use dolist.
2051 (eieio-oref): Remove support for providing a class rather than
2052 an object.
2053 (eieio-oref-default): Prefer class objects over class names.
2054 (eieio--slot-originating-class-p): Rename from
2055 eieio-slot-originating-class-p. Update all callers. Use `or'.
2056 (eieio--slot-name-index): Turn check into assertion.
2057 (eieio--class-slot-name-index): Rename from
2058 eieio-class-slot-name-index. Change `class' arg to be a class object.
2059 Update all callers.
2060 (eieio-attribute-to-initarg): Move to eieio-test-persist.el.
2061 (eieio--c3-candidate): Rename from eieio-c3-candidate.
2062 Update all callers.
2063 (eieio--c3-merge-lists): Rename from eieio-c3-merge-lists.
2064 Update all callers.
2065 (eieio--class-precedence-c3): Rename from eieio-class-precedence-c3.
2066 Update all callers.
2067 (eieio--class-precedence-dfs): Rename from eieio-class-precedence-dfs.
2068 Update all callers.
2069 (eieio--class-precedence-bfs): Rename from eieio-class-precedence-bfs.
2070 Update all callers. Adjust to new `parent' content.
2071 (eieio--class-precedence-list): Rename from -class-precedence-list.
2072 Update all callers.
2073 (eieio-generic-call): Use autoloadp and autoload-do-load.
2074 Slight simplification.
2075 (eieio-generic-call, eieio-generic-call-primary-only): Adjust to new
2076 return value of `eieio-generic-form'.
2077 (eieiomt-add): Index the hashtable with class objects rather than
2078 class names.
2079 (eieio-generic-form): Accept class objects as well.
2080
2081 * emacs-lisp/eieio-base.el (eieio-persistent-convert-list-to-object):
2082 Adjust to new convention for eieio-persistent-validate/fix-slot-value.
2083 (eieio-persistent-validate/fix-slot-value):
2084 Change `class' arg to be a class object. Update all callers.
2085
2086 2015-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
2087
2088 * emacs-lisp/eieio.el (child-of-class-p): Make it accept class objects
2089 additionally to class names.
2090
2091 * emacs-lisp/eieio-core.el (eieio--with-scoped-class): Use let-binding.
2092 (object): Remove first (constant) slot; rename second to `class-tag'.
2093 (eieio--object-class-object, eieio--object-class-name): New funs
2094 to replace eieio--object-class.
2095 (eieio--class-object, eieio--class-p): New functions.
2096 (same-class-fast-p): Make it a defsubst, change its implementation
2097 to check the class objects rather than their names.
2098 (eieio-object-p): Rewrite.
2099 (eieio-defclass): Adjust the object initialization according to the new
2100 object layout.
2101 (eieio--scoped-class): Declare it returns a class object (not a class
2102 name any more). Adjust calls accordingly (along with calls to
2103 eieio--with-scoped-class).
2104 (eieio--slot-name-index): Rename from eieio-slot-name-index and change
2105 its class arg to be a class object. Adjust callers accordingly.
2106 (eieio-slot-originating-class-p): Make its start-class arg a class
2107 object. Adjust all callers.
2108 (eieio--initarg-to-attribute): Rename from eieio-initarg-to-attribute.
2109 Make its `class' arg a class object. Adjust all callers.
2110
2111 * emacs-lisp/eieio-base.el (eieio-persistent-validate/fix-slot-value):
2112 Use eieio--slot-name-index rather than eieio-slot-name-index.
2113
2114 2015-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
2115
2116 * emacs-lisp/eieio.el (make-instance): Simplify by not adding an object
2117 name argument.
2118 (eieio-object-name): Use eieio-object-name-string.
2119 (eieio--object-names): New const.
2120 (eieio-object-name-string, eieio-object-set-name-string): Re-implement
2121 using a hashtable rather than a built-in slot.
2122 (eieio-constructor): Rename from `constructor'. Remove `newname' arg.
2123 (clone): Don't mess with the object's "name".
2124
2125 * emacs-lisp/eieio-custom.el (eieio-widget-test): Remove dummy arg.
2126 (eieio-object-value-get): Use eieio-object-set-name-string.
2127
2128 * emacs-lisp/eieio-core.el (eieio--defalias): Follow aliases.
2129 (eieio--object): Remove `name' field.
2130 (eieio-defclass): Adjust to new convention where constructors don't
2131 take an "object name" any more.
2132 (eieio--defgeneric-init-form, eieio--defmethod): Follow aliases.
2133 (eieio-validate-slot-value, eieio-oset-default)
2134 (eieio-slot-name-index): Don't hardcode eieio--object-num-slots.
2135 (eieio-generic-call-primary-only): Simplify.
2136
2137 * emacs-lisp/eieio-base.el (clone) <eieio-instance-inheritor>:
2138 Use call-next-method.
2139 (eieio-constructor): Rename from `constructor'.
2140 (eieio-persistent-convert-list-to-object): Drop objname.
2141 (eieio-persistent-validate/fix-slot-value): Don't hardcode
2142 eieio--object-num-slots.
2143 (eieio-named): Use a normal slot.
2144 (slot-missing) <eieio-named>: Remove.
2145 (eieio-object-name-string, eieio-object-set-name-string, clone)
2146 <eieio-named>: New methods.
2147
2148 2015-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
2149
2150 * emacs-lisp/eieio-core.el (eieio--class-v): Rename from class-v.
2151 (method-*): Add a "eieio--" prefix to those constants.
2152
2153 * emacs-lisp/eieio.el: Move edebug specs to the corresponding macro.
2154
2155 * emacs-lisp/eieio-speedbar.el: Use lexical-binding.
2156
2157 2015-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
2158
2159 * emacs-lisp/eieio.el (child-of-class-p): Fix case where `class' is
2160 `eieio-default-superclass'.
2161
2162 * emacs-lisp/eieio-datadebug.el: Use lexical-binding.
2163
2164 * emacs-lisp/eieio-custom.el: Use lexical-binding.
2165 (eieio-object-value-to-abstract): Simplify.
2166
2167 * emacs-lisp/eieio-opt.el (eieio-build-class-list): Use cl-mapcan.
2168 (eieio-build-class-alist): Use dolist.
2169 (eieio-all-generic-functions): Adjust to use of hashtables.
2170
2171 * emacs-lisp/eieio-core.el (class): Rename field symbol-obarray to
2172 symbol-hashtable. It contains a hashtable instead of an obarray.
2173 (generic-p): Use symbol property `eieio-method-hashtable' instead of
2174 `eieio-method-obarray'.
2175 (generic-primary-only-p, generic-primary-only-one-p):
2176 Slight optimization.
2177 (eieio-defclass-autoload-map): Use a hashtable instead of an obarray.
2178 (eieio-defclass-autoload, eieio-defclass): Adjust/simplify accordingly.
2179 (eieio-class-un-autoload): Use autoload-do-load.
2180 (eieio-defclass): Use dolist, cl-pushnew, cl-callf.
2181 Use new cl-deftype-satisfies. Adjust to use of hashtables.
2182 Don't hardcode the value of eieio--object-num-slots.
2183 (eieio-defgeneric-form-primary-only-one): Remove `doc-string' arg.
2184 Use a closure rather than a backquoted lambda.
2185 (eieio--defmethod): Adjust call accordingly. Set doc-string via the
2186 function-documentation property.
2187 (eieio-slot-originating-class-p, eieio-slot-name-index)
2188 (eieiomt--optimizing-hashtable, eieiomt-install, eieiomt-add)
2189 (eieio-generic-form): Adjust to use of hashtables.
2190 (eieiomt--sym-optimize): Rename from eieiomt-sym-optimize; take
2191 additional class argument.
2192 (eieio-generic-call-methodname): Remove, unused.
2193
2194 * emacs-lisp/eieio-base.el (eieio-persistent-slot-type-is-class-p):
2195 Prefer \' to $.
2196
2197 2015-01-08 Eli Zaretskii <eliz@gnu.org>
2198
2199 * simple.el (line-move-visual): When converting X pixel coordinate
2200 to temporary-goal-column, adjust the value for right-to-left
2201 screen lines. This fixes vertical-motion, next/prev-line, etc.
2202
2203 2015-01-08 Glenn Morris <rgm@gnu.org>
2204
2205 * files.el (file-tree-walk): Remove; of unknown authorship. (Bug#19325)
2206
2207 2015-01-07 K. Handa <handa@gnu.org>
2208
2209 * international/ccl.el (define-ccl-program): Improve the docstring.
2210
2211 2015-01-06 Sam Steingold <sds@gnu.org>
2212
2213 * shell.el (shell-display-buffer-actions): Remove,
2214 use `display-buffer-alist' instead.
2215
2216 2015-01-05 Dmitry Gutov <dgutov@yandex.ru>
2217
2218 * progmodes/xref.el (xref--insert-xrefs): Add `help-echo' property
2219 to the references.
2220
2221 2015-01-05 Stefan Monnier <monnier@iro.umontreal.ca>
2222
2223 * minibuffer.el (completion-category-defaults): New var.
2224 Set unicode-name to use substring completion.
2225 (completion-category-defaults): Set it to nil.
2226
2227 2015-01-04 Dmitry Gutov <dgutov@yandex.ru>
2228
2229 Add mouse interaction to xref.
2230 * progmodes/xref.el (xref--button-map): New variable.
2231 (xref--mouse-2): New command.
2232 (xref--insert-xrefs): Add `mouse-face' and `keymap' properties to
2233 the inserted references.
2234
2235 2015-01-04 Paul Eggert <eggert@cs.ucla.edu>
2236
2237 Less 'make' chatter for lisp dir
2238 * Makefile.in (THEFILE): Define to be 'no-such-file' by default,
2239 to make it clearer that the caller must specify it.
2240 (compile-onefile): Remove, replacing by ...
2241 ($(THEFILE)c): ... new rule. This lets us use AM_V_GEN here.
2242 ($(THEFILE)c, .el.elc, $(MH_E_DIR)/mh-loaddefs.el)
2243 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
2244 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
2245 Use AM_V_GEN to lessen 'make' chatter.
2246 (.el.elc): Omit duplicate comment.
2247
2248 Less 'make' chatter in batch mode
2249 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
2250 * emacs-lisp/bytecomp.el (byte-compile-file):
2251 * files.el (save-buffer, basic-save-buffer):
2252 * international/quail.el (quail-update-leim-list-file):
2253 Don't output messages like "Generating ..." in batch mode.
2254
2255 2015-01-04 Dmitry Gutov <dgutov@yandex.ru>
2256
2257 Unbreak `mouse-action' property in text buttons.
2258 * button.el (push-button): Fix regression from 2012-12-06.
2259
2260 2015-01-03 Dmitry Gutov <dgutov@yandex.ru>
2261
2262 * progmodes/xref.el (xref-marker-stack-empty-p): New function.
2263
2264 * menu-bar.el (menu-bar-goto-menu): Use it.
2265
2266 2015-01-03 Dmitry Gutov <dgutov@yandex.ru>
2267
2268 * progmodes/xref.el (xref--window-configuration): New variable.
2269 (xref-show-location-at-point): New command.
2270 (xref--restore-window-configuration): New function.
2271 (xref-next-line, xref-prev-line): Delegate to
2272 `xref-show-location-at-point'.
2273 (xref--location-at-point): Don't signal the error.
2274 (xref-goto-xref): Do that here instead.
2275 (xref--xref-buffer-mode): Add `xref--restore-window-configuration'
2276 to `pre-command-hook'.
2277 (xref--xref-buffer-mode-map): Don't remap `next-line' and
2278 `previous-line'. Additionally bind `xref-next-line' and
2279 `xref-prev-line' to `n' and `p' respectively.
2280 Bind `xref-show-location-at-point' to `C-o'.
2281
2282 2015-01-01 Eli Zaretskii <eliz@gnu.org>
2283
2284 * tool-bar.el (tool-bar-local-item)
2285 (tool-bar-local-item-from-menu): Call force-mode-line-update to
2286 make sure the tool-bar changes show on display.
2287
2288 2015-01-01 Michael Albinus <michael.albinus@gmx.de>
2289
2290 Sync with Tramp 2.2.11.
2291
2292 * net/tramp-compat.el (top): Require cl-macs for Emacs 22.
2293 Make an alias for `default-toplevel-value' if it doesn't exist.
2294
2295 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
2296 Use `tramp-compat-delete-directory'.
2297
2298 * net/trampver.el: Update release number.
2299
2300 2015-01-01 Filipp Gunbin <fgunbin@fastmail.fm>
2301
2302 * autorevert.el (auto-revert-handler): Fix auto-revert-tail-mode
2303 for remote files. (Bug#19449)
2304
2305 2015-01-01 Simen Heggestøyl <simenheg@gmail.com> (tiny change)
2306
2307 * textmodes/css-mode.el (scss-mode): Fix typo (bug#19446).
2308
2309 2014-12-31 Paul Eggert <eggert@cs.ucla.edu>
2310
2311 Less 'make' chatter in lisp directory
2312 * Makefile.in (AM_DEFAULT_VERBOSITY, AM_V_GEN, am__v_GEN_)
2313 (am__v_GEN_0, am__v_GEN_1): New macros, from ../src/Makefile.in.
2314 (custom-deps, finder-data, autoloads, update-subdirs): Use them.
2315
2316 2014-12-31 Filipp Gunbin <fgunbin@fastmail.fm>
2317
2318 * info.el (info-display-manual): Limit the completion alternatives
2319 to currently visited manuals if prefix argument is non-nil.
2320
2321 2014-12-30 Paul Eggert <eggert@cs.ucla.edu>
2322
2323 * Makefile.in (semantic): Simplify.
2324
2325 2014-12-30 Juri Linkov <juri@linkov.net>
2326
2327 * net/eww.el (eww-isearch-next-buffer): New function.
2328 (eww-mode): Set multi-isearch-next-buffer-function to it.
2329
2330 2014-12-30 Dmitry Gutov <dgutov@yandex.ru>
2331
2332 * progmodes/xref.el (xref-find-definitions): Mention "no
2333 identifier at point" case in the docstring.
2334
2335 * menu-bar.el (menu-bar-goto-uses-etags-p): New function.
2336 (menu-bar-goto-menu): Use it to show or hide the `set-tags-name'
2337 and `separator-tag-file' items.
2338
2339 2014-12-29 Paul Eggert <eggert@cs.ucla.edu>
2340
2341 * obsolete/pc-select.el (pc-selection-mode): Use system-type.
2342 This is instead of system-name, which is both wrong here and obsolete.
2343 * desktop.el (desktop-save-frameset):
2344 * dnd.el (dnd-get-local-file-uri):
2345 * nxml/rng-uri.el (rng-uri-file-name-1):
2346 Prefer (system-name) to system-name, and avoid naming
2347 locals 'system-name'.
2348 * startup.el (system-name): Now an obsolete variable. (Bug#19438)
2349
2350 2014-12-29 Dmitry Gutov <dgutov@yandex.ru>
2351
2352 * menu-bar.el (menu-bar-next-tag-other-window)
2353 (menu-bar-next-tag): Remove.
2354
2355 2014-12-29 K. Handa <handa@gnu.org>
2356
2357 * international/mule.el (make-translation-table-from-alist):
2358 Accept nil or zero-length vector for FROM and TO.
2359
2360 2014-12-29 Lars Ingebrigtsen <larsi@gnus.org>
2361
2362 * net/eww.el (eww-mode): Truncate overlong lines for prettier
2363 display when resizing.
2364
2365 * net/shr.el (shr-width): Default to using the window width when
2366 rendering.
2367
2368 2014-12-29 Dmitry Gutov <dgutov@yandex.ru>
2369
2370 Unbreak jumping to an alias's definition.
2371 * emacs-lisp/find-func.el (find-function-library): Return a pair
2372 (ORIG-FUNCTION . LIBRARY) instead of just its second element.
2373 (find-function-noselect): Use it.
2374 * progmodes/elisp-mode.el (elisp--xref-identifier-file): Rename to
2375 `elisp--xref-identifier-location', incorporate logic from
2376 `elisp--xref-find-definitions', use the changed
2377 `find-function-library' return value.
2378
2379 2014-12-29 Juri Linkov <juri@linkov.net>
2380
2381 * comint.el (comint-history-isearch-message): Use field-beginning
2382 instead of comint-line-beginning-position - that's more fixes for
2383 http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00305.html
2384 (comint-history-isearch-message): Fix args of isearch-message-prefix.
2385
2386 2014-12-29 Juri Linkov <juri@linkov.net>
2387
2388 * vc/vc-dir.el (vc-dir-display-file): New command (bug#19450).
2389 (vc-dir-mode-map): Bind it to "\C-o".
2390 (vc-dir-menu-map): Add it to menu.
2391
2392 2014-12-29 Dmitry Gutov <dgutov@yandex.ru>
2393
2394 * progmodes/etags.el (find-tag-other-window)
2395 (find-tag-other-frame, find-tag-regexp, tags-loop-continue)
2396 (tags-apropos): Declare obsolete.
2397
2398 * menu-bar.el (menu-bar-goto-menu): Replace all but one etags item
2399 with xref ones.
2400
2401 2014-12-28 Eli Zaretskii <eliz@gnu.org>
2402
2403 * international/mule.el (define-coding-system): Fix typos in the
2404 doc string.
2405
2406 2014-12-28 Kenichi Handa <handa@gnu.org>
2407
2408 * international/mule.el (define-coding-system): Improve the doc
2409 string.
2410
2411 2014-12-28 Ivan Shmakov <ivan@siamics.net>
2412
2413 * net/shr.el (shr-tag-table): Fix handling of tbody/header/footer
2414 elements in tables (bug#19444).
2415
2416 * net/eww.el (eww-handle-link): Fix typo in "up" rel handling
2417 (bug#19445).
2418
2419 2014-12-28 Juri Linkov <juri@linkov.net>
2420
2421 * vc/compare-w.el: Require diff-mode for diff faces.
2422 (compare-windows-removed, compare-windows-added): New faces
2423 inheriting from diff faces.
2424 (compare-windows): Define obsolete face alias.
2425 (compare-windows-highlight): Replace face `compare-windows' with
2426 new faces `compare-windows-added' and `compare-windows-removed'
2427 (bug#19451).
2428 (compare-windows-get-recent-window): Signal an error when
2429 no other window is found (bug#19170).
2430
2431 2014-12-27 Dmitry Gutov <dgutov@yandex.ru>
2432
2433 * progmodes/elisp-mode.el (elisp--xref-identifier-file):
2434 Skip features that have no sources.
2435
2436 * simple.el (execute-extended-command):
2437 When `suggest-key-bindings' is nil, don't.
2438
2439 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
2440
2441 python.el: Native readline completion.
2442 * progmodes/python.el (python-shell-completion-native-disabled-interpreters)
2443 (python-shell-completion-native-enable)
2444 (python-shell-completion-native-output-timeout): New defcustoms.
2445 (python-shell-completion-native-interpreter-disabled-p)
2446 (python-shell-completion-native-try)
2447 (python-shell-completion-native-setup)
2448 (python-shell-completion-native-turn-off)
2449 (python-shell-completion-native-turn-on)
2450 (python-shell-completion-native-turn-on-maybe)
2451 (python-shell-completion-native-turn-on-maybe-with-msg)
2452 (python-shell-completion-native-toggle): New functions.
2453 (python-shell-completion-native-get-completions): New function.
2454 (python-shell-completion-at-point): Use it.
2455
2456 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
2457
2458 python.el: Enhance shell user interaction and deprecate
2459 python-shell-get-or-create-process.
2460 * progmodes/python.el (python-shell-get-process-or-error):
2461 New function.
2462 (python-shell-with-shell-buffer): Use it.
2463 (python-shell-send-string, python-shell-send-region)
2464 (python-shell-send-buffer, python-shell-send-defun)
2465 (python-shell-send-file, python-shell-switch-to-shell): Use it.
2466 Add argument MSG to display user-friendly message when no process
2467 is running.
2468 (python-shell-switch-to-shell): Call pop-to-buffer with NORECORD.
2469 (python-shell-make-comint): Rename argument SHOW from POP.
2470 Use display-buffer instead of pop-to-buffer.
2471 (run-python): Doc fix. Return process.
2472 (python-shell-get-or-create-process): Make obsolete.
2473
2474 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
2475
2476 * progmodes/python.el (python-shell-buffer-substring):
2477 Handle cornercase when region sent starts at point-min.
2478
2479 2014-12-27 Eli Zaretskii <eliz@gnu.org>
2480
2481 * language/misc-lang.el (composition-function-table): Add Syriac
2482 characters and also ZWJ/ZWNJ.
2483 See http://lists.gnu.org/archive/html/help-gnu-emacs/2014-12/msg00248.html
2484 for the details.
2485
2486 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
2487
2488 python.el: Fix message when sending region.
2489 * progmodes/python.el (python-shell-send-region): Rename argument
2490 send-main from nomain. Fix message.
2491 (python-shell-send-buffer): Rename argument send-main from arg.
2492
2493 python.el: Cleanup temp files even with eval errors.
2494 * progmodes/python.el (python-shell-send-file): Make file-name
2495 mandatory. Fix temp file removal in the majority of cases.
2496
2497 python.el: Handle file encoding for shell.
2498 * progmodes/python.el (python-rx-constituents): Add coding-cookie.
2499 (python-shell--save-temp-file): Write file with proper encoding.
2500 (python-shell-buffer-substring): Add coding cookie for detected
2501 encoding to generated content. Fix blank lines when removing
2502 if-name-main block.
2503 (python-shell-send-file): Handle file encoding.
2504 (python-info-encoding-from-cookie)
2505 (python-info-encoding): New functions.
2506
2507 2014-12-27 Michael Albinus <michael.albinus@gmx.de>
2508
2509 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
2510 Use `tramp-rsh-end-of-line', it ought to be more robust.
2511
2512 2014-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
2513
2514 * progmodes/js.el (js-syntax-propertize): "return" can't be divided
2515 (bug#19397).
2516
2517 2014-12-27 Michael Albinus <michael.albinus@gmx.de>
2518
2519 * net/tramp.el (tramp-read-passwd): Ignore errors from `auth-source-*'.
2520
2521 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band): Use "\n"
2522 as end-of-line delimeter for passwords, when running on MS Windows.
2523
2524 2014-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
2525
2526 * progmodes/sh-script.el (sh-set-shell): Don't change the global value
2527 of indent-line-function (bug#19433).
2528
2529 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
2530
2531 Fix line numbers on Python shell.
2532 * progmodes/python.el (python-shell--save-temp-file): Do not
2533 append coding cookie.
2534 (python-shell-send-string): Generalize for
2535 python-shell-send-region.
2536 (python--use-fake-loc): Delete var.
2537 (python-shell-buffer-substring): Cleanup fake-loc logic.
2538 (python-shell-send-region): Remove fake-loc logic, simplify.
2539
2540 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
2541
2542 * progmodes/python.el (python-indent-post-self-insert-function):
2543 Make colon to re-indent only for dedenters, handling
2544 multiline-statements gracefully.
2545
2546 2014-12-27 Michael Albinus <michael.albinus@gmx.de>
2547
2548 * net/tramp.el (tramp-handle-insert-file-contents):
2549 Set `find-file-not-found-functions' in case of errors. (Bug#18623)
2550
2551 2014-12-27 Michael Albinus <michael.albinus@gmx.de>
2552
2553 * net/tramp-sh.el (tramp-send-command-and-read): New optional
2554 arg MARKER.
2555 (tramp-get-remote-path): Use it.
2556
2557 2014-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
2558
2559 * subr.el (redisplay-dont-pause): Mark as obsolete.
2560
2561 2014-12-27 Michael Albinus <michael.albinus@gmx.de>
2562
2563 * net/tramp.el (tramp-error-with-buffer): Call `message' properly.
2564 (tramp-accept-process-output): Use nil as argument for
2565 `accept-process-output', when there is a gateway prepended.
2566
2567 * net/tramp-gw.el (tramp-gw-open-connection): Suppress traces in
2568 wrong debug buffer.
2569 (tramp-gw-open-connection): Set process coding system 'binary.
2570 (tramp-gw-open-network-stream): Handle HTTP error 403.
2571
2572 * net/tramp-sh.el (tramp-compute-multi-hops): Suppress traces in
2573 wrong debug buffer.
2574 (tramp-maybe-open-connection): Set connection property "gateway".
2575
2576 2014-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
2577
2578 * subr.el (sit-for): Tweak docstring (bug#19381).
2579
2580 2014-12-27 Dmitry Gutov <dgutov@yandex.ru>
2581
2582 * vc/vc-git.el (vc-git-after-dir-status-stage): Move `up-to-date'
2583 stage to after `diff-index' (bug#19386).
2584
2585 2014-12-27 João Távora <joaotavora@gmail.com>
2586
2587 * textmodes/tex-mode.el (tex-insert-quote): Consider and respect
2588 `electric-pair-mode' (bug#19356).
2589
2590 2014-12-27 Dmitry Gutov <dgutov@yandex.ru>
2591
2592 elisp-xref-find: Don't create buffers eagerly.
2593
2594 * progmodes/elisp-mode.el (elisp--identifier-location): Fold back
2595 into `elisp--company-location'.
2596 (elisp--identifier-completion-table): Rename to
2597 `elisp--identifier-completion-table', and do not include just any
2598 symbols with a property list.
2599 (elisp-completion-at-point): Revert the 2014-12-25 change.
2600 (elisp--xref-identifier-file): New function.
2601 (elisp--xref-find-definitions): Use it.
2602
2603 * emacs-lisp/find-func.el (find-function-library): New function,
2604 extracted from `find-function-noselect'.
2605
2606 * progmodes/xref.el (xref-elisp-location): New class.
2607 (xref-make-elisp-location): New function.
2608 (xref-location-marker): New implementation.
2609
2610 2014-12-27 Juri Linkov <juri@linkov.net>
2611
2612 * minibuffer.el (minibuffer-completion-help):
2613 Use shrink-window-if-larger-than-buffer in window-height
2614 when temp-buffer-resize-mode is nil.
2615
2616 * window.el (with-displayed-buffer-window): Remove window-height
2617 from the action alist in the temp-buffer-window-show call
2618 when window-height is handled explicitly afterwards (bug#19355).
2619
2620 2014-12-27 Juri Linkov <juri@linkov.net>
2621
2622 Support subdirectories when saving places in dired.
2623 * saveplace.el (toggle-save-place, save-place-to-alist)
2624 (save-places-to-alist, save-place-dired-hook):
2625 Use dired-current-directory instead of dired-directory (bug#19436).
2626 (save-place-dired-hook): Add check for alist to make the new
2627 format future-proof to allow other possible formats.
2628
2629 2014-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
2630
2631 python.el: Generate clearer shell buffer names.
2632 * progmodes/python.el (python-shell-get-process-name)
2633 (python-shell-internal-get-process-name): Use `buffer-name`.
2634 (python-shell-internal-get-or-create-process): Simplify.
2635
2636 2014-12-26 Dmitry Gutov <dgutov@yandex.ru>
2637
2638 Add basic xref apropos implementation to elisp-mode.
2639
2640 * progmodes/elisp-mode.el (elisp--xref-find-definitions):
2641 Filter out nil results.
2642 (elisp--xref-find-apropos): New function.
2643 (elisp-xref-find): Use it.
2644
2645 * progmodes/xref.el (xref--show-xrefs): Use `user-error'.
2646
2647 2014-12-25 Filipp Gunbin <fgunbin@fastmail.fm>
2648
2649 * dired-aux.el (dired-maybe-insert-subdir):
2650 Make dired-maybe-insert-subdir always skip trivial files.
2651
2652 2014-12-25 Helmut Eller <eller.helmut@gmail.com>
2653 Dmitry Gutov <dgutov@yandex.ru>
2654
2655 Consolidate cross-referencing commands.
2656
2657 Move autoloaded bindings for `M-.', `M-,', `C-x 4 .' and
2658 `C-x 5 .' from etags.el to xref.el.
2659
2660 * progmodes/xref.el: New file.
2661
2662 * progmodes/elisp-mode.el (elisp--identifier-types): New variable.
2663 (elisp--identifier-location): New function, extracted from
2664 `elisp--company-location'.
2665 (elisp--company-location): Use it.
2666 (elisp--identifier-completion-table): New variable.
2667 (elisp-completion-at-point): Use it.
2668 (emacs-lisp-mode): Set the local values of `xref-find-function'
2669 and `xref-identifier-completion-table-function'.
2670 (elisp-xref-find, elisp--xref-find-definitions)
2671 (elisp--xref-identifier-completion-table): New functions.
2672
2673 * progmodes/etags.el (find-tag-marker-ring): Mark obsolete in
2674 favor of `xref--marker-ring'.
2675 (tags-lazy-completion-table): Autoload.
2676 (tags-reset-tags-tables): Use `xref-clear-marker-stack'.
2677 (find-tag-noselect): Use `xref-push-marker-stack'.
2678 (pop-tag-mark): Make an alias for `xref-pop-marker-stack'.
2679 (etags--xref-limit): New constant.
2680 (etags-xref-find, etags--xref-find-definitions): New functions.
2681
2682 2014-12-25 Martin Rudalics <rudalics@gmx.at>
2683
2684 * cus-start.el (resize-mini-windows): Make it customizable.
2685
2686 2014-12-24 Stephen Leake <stephen_leake@stephe-leake.org>
2687
2688 * startup.el (fancy-about-text): Change buttons for etc/CONTRIBUTE
2689 to (info "(emacs)Contributing"). (Bug#19299)
2690
2691 2014-12-24 Martin Rudalics <rudalics@gmx.at>
2692
2693 * window.el (mouse-autoselect-window-position-1): New variable.
2694 (mouse-autoselect-window-cancel)
2695 (mouse-autoselect-window-select, handle-select-window):
2696 With delayed autoselection select window only if mouse moves after
2697 selecting its frame.
2698
2699 2014-12-24 Michael Albinus <michael.albinus@gmx.de>
2700
2701 * eshell/esh-ext.el (eshell-find-interpreter): Expand relative
2702 remote file names. (Bug#18782)
2703
2704 2014-12-23 Sam Steingold <sds@gnu.org>
2705
2706 * shell.el (shell-display-buffer-actions): New user option.
2707 (shell): Pass it to `pop-to-buffer' instead of hard-coding
2708 `pop-to-buffer-same-window'.
2709
2710 2014-12-23 Stefan Monnier <monnier@iro.umontreal.ca>
2711
2712 * progmodes/js.el (js--syntax-propertize-regexp-syntax-table): New var.
2713 (js-syntax-propertize-regexp): Use it to recognize "slash in
2714 a character class" (bug#19397).
2715
2716 2014-12-22 Stefan Monnier <monnier@iro.umontreal.ca>
2717
2718 * completion.el: Use post-self-insert-hook (bug#19400).
2719 (completion-separator-self-insert-command)
2720 (completion-separator-self-insert-autofilling): Remove.
2721 (completion-separator-chars): New var.
2722 (completion-c-mode-hook, completion-setup-fortran-mode): Use it instead
2723 of changing the keymap.
2724 (completion--post-self-insert): New function.
2725 (dynamic-completion-mode): Use it instead of rebinding keys.
2726 (cmpl--completion-string): Rename from completion-string.
2727 (add-completion-to-head, delete-completion): Let-bind it explicitly.
2728
2729 2014-12-22 Bozhidar Batsov <bozhidar@batsov.com>
2730
2731 * progmodes/ruby-mode.el (ruby--string-region): Simplify code
2732 by leveraging `syntax-ppss'.
2733
2734 2014-12-22 Artur Malabarba <bruce.connor.am@gmail.com>
2735
2736 * let-alist.el (let-alist): Use `make-symbol' instead of `gensym'.
2737
2738 2014-12-20 Michael Albinus <michael.albinus@gmx.de>
2739
2740 * net/tramp-sh.el (tramp-histfile-override): Add :version.
2741
2742 2014-12-20 Teodor Zlatanov <tzz@lifelogs.com>
2743
2744 * net/tramp-sh.el (tramp-histfile-override): Clarify docstring.
2745
2746 2014-12-19 Artur Malabarba <bruce.connor.am@gmail.com>
2747
2748 * let-alist.el (let-alist): Enable access to deeper alists by
2749 using dots inside the dotted symbols.
2750
2751 2014-12-19 Alan Mackenzie <acm@muc.de>
2752
2753 Make C++11 uniform init syntax work.
2754 New keywords "final" and "override".
2755 * progmodes/cc-engine.el (c-back-over-member-initializer-braces):
2756 New function.
2757 (c-guess-basic-syntax): Set `containing-sex' and `lim' using the
2758 new function.
2759 * progmodes/cc-fonts.el (c-font-lock-declarations): Check more
2760 carefully for "are we at a declarator?" using
2761 c-back-over-member-initializers.
2762 * progmodes/cc-langs.el (c-type-modifier-kwds): Include "final"
2763 and "override" in the C++ value.
2764
2765 2014-12-19 Martin Rudalics <rudalics@gmx.at>
2766
2767 * textmodes/ispell.el (ispell-command-loop): Don't use `next-window'.
2768
2769 2014-12-21 Lars Ingebrigtsen <larsi@gnus.org>
2770
2771 * net/nsm.el (nsm-save-host): Don't save the host name twice
2772 (bug#19269).
2773
2774 2014-12-18 Sam Steingold <sds@gnu.org>
2775
2776 Keyboard interface (C-f10) to `mouse-buffer-menu' (C-down-mouse-1).
2777 * mouse.el (mouse-buffer-menu-map): Extract from `mouse-buffer-menu'.
2778 (mouse-buffer-menu): Use `mouse-buffer-menu-map'.
2779 * menu-bar.el (menu-bar-buffer-vector): Extract from
2780 `menu-bar-update-buffers'.
2781 (menu-bar-update-buffers): Use `menu-bar-buffer-vector'.
2782 (buffer-menu-open): New user command, bound globally to C-f10,
2783 provides a keyboard interface to `mouse-buffer-menu' (C-down-mouse-1).
2784 (mouse-buffer-menu-keymap): Use `menu-bar-buffer-vector' to
2785 convert the value returned by `mouse-buffer-menu-map' to a list
2786 acceptable to `popup-menu' for `buffer-menu-open'.
2787
2788 2014-12-18 Artur Malabarba <bruce.connor.am@gmail.com>
2789
2790 * let-alist.el (let-alist): Evaluate the `alist' argument only once.
2791
2792 2014-12-18 Sam Steingold <sds@gnu.org>
2793
2794 * emacs-lisp/package.el: Avoid compilation warning by declaring
2795 the `find-library-name' function.
2796 (package-activate-1): Fix the `with-demoted-errors' calls:
2797 the first argument must be a string literal.
2798
2799 2014-12-18 Martin Rudalics <rudalics@gmx.at>
2800
2801 Add code for "preserving" window sizes.
2802 * dired.el (dired-pop-to-buffer): Call fit-window-to-buffer with
2803 `preserve-size' t.
2804 (dired-mark-pop-up): Preserve size of window showing marked files.
2805 * electric.el (Electric-pop-up-window):
2806 * help.el (resize-temp-buffer-window): Call fit-window-to-buffer
2807 with `preserve-size' t.
2808 * minibuffer.el (minibuffer-completion-help):
2809 Use `resize-temp-buffer-window' instead of `fit-window-to-buffer'
2810 (Bug#19355). Preserve size of completions window.
2811 * register.el (register-preview): Preserve size of register
2812 preview window.
2813 * tmm.el (tmm-add-prompt): Call fit-window-to-buffer
2814 with `preserve-size' t (Bug#1291).
2815 * window.el (with-displayed-buffer-window): Add calls to
2816 `window-preserve-size'.
2817 (window-min-pixel-size, window--preservable-size)
2818 (window-preserve-size, window-preserved-size)
2819 (window--preserve-size, window--min-size-ignore-p): New functions.
2820 (window-min-size, window-min-delta, window--resizable)
2821 (window--resize-this-window, split-window-below)
2822 (split-window-right): Amend doc-string.
2823 (window--min-size-1, window-sizable, window--size-fixed-1)
2824 (window-size-fixed-p, window--min-delta-1)
2825 (frame-windows-min-size, window--max-delta-1, window-resize)
2826 (window--resize-child-windows, window--resize-siblings)
2827 (enlarge-window, shrink-window, split-window): Handle preserving
2828 window sizes.
2829 (adjust-window-trailing-edge): Handle preserving window
2830 sizes. Signal user-error instead of an error when there's no
2831 window above or below.
2832 (window--state-put-2): Handle horizontal scroll bars.
2833 (window--display-buffer): Call `preserve-size' if asked for.
2834 (display-buffer): Mention `preserve-size' alist member in doc-string.
2835 (fit-window-to-buffer): New argument PRESERVE-SIZE.
2836 * textmodes/ispell.el (ispell-command-loop): Suppress horizontal
2837 scroll bar on ispell's windows. Don't count window lines and
2838 don't deal with dedicated windows.
2839 (ispell-show-choices, ispell-help): Let `ispell-display-buffer'
2840 do the window handling.
2841 (ispell-adjusted-window-height, ispell-overlay-window): Remove.
2842 (ispell-display-buffer): New function to reuse, create and fit
2843 window to ispell's buffers. (Bug#3413)
2844
2845 2014-12-18 Dmitry Gutov <dgutov@yandex.ru>
2846
2847 * emacs-lisp/package.el (package-activate): Do not re-activate or
2848 reload the dependencies (bug#19390).
2849
2850 2014-12-18 Stefan Monnier <monnier@iro.umontreal.ca>
2851
2852 * progmodes/cc-cmds.el (c-subword-mode): Alias to subword-mode.
2853 (c-update-modeline):
2854 * progmodes/cc-langs.el (c-mode-menu): Use c-subword-mode.
2855 * progmodes/cc-mode.el (subword-mode): Move autoload to cc-cmds.el.
2856 (c-mode-base-map): Use c-subword-mode.
2857
2858 2014-12-18 Eli Zaretskii <eliz@gnu.org>
2859
2860 * international/mule-diag.el (describe-font-internal):
2861 Display additional info returned by font-info.
2862
2863 * linum.el (linum--face-width): Rename from linum--face-height,
2864 and use the new functionality of font-info.
2865 (linum-update-window): Use linum--face-width and frame-char-width,
2866 instead of approximating with height.
2867
2868 2014-12-18 Dmitry Gutov <dgutov@yandex.ru>
2869
2870 * vc/vc-svn.el (vc-svn-dir-status-files): Revert the 2014-12-02
2871 change (bug#19387). Use `apply' on `vc-dir-command' (bug#19405).
2872
2873 * emacs-lisp/package.el (package-activate-1): Add RELOAD argument
2874 and a docstring.
2875 (package-activate): Call itself on dependencies on PACKAGE with
2876 the same FORCE argument. Pass FORCE as RELOAD into
2877 `package-activate-1' (bug#19390).
2878
2879 2014-12-17 Sam Steingold <sds@gnu.org>
2880
2881 * emacs-lisp/package.el (package--list-loaded-files):
2882 Handle `(nil ...)' elements in `load-history'.
2883
2884 2014-12-17 Teodor Zlatanov <tzz@lifelogs.com>
2885
2886 * net/tramp-sh.el (tramp-histfile-override): New variable.
2887 (tramp-open-shell, tramp-maybe-open-connection): Use it.
2888
2889 2014-12-17 Dmitry Gutov <dgutov@yandex.ru>
2890
2891 * vc/vc.el: Improve `dir-status-files' description.
2892
2893 * emacs-lisp/package.el (package--list-loaded-files): Don't call
2894 file-truename on load-history elements (bug#19390).
2895
2896 2014-12-16 Nicolas Petton <petton.nicolas@gmail.com>
2897
2898 * emacs-lisp/seq.el: New file.
2899
2900 2014-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
2901
2902 * jit-lock.el (jit-lock-function): Don't defer if jit-lock-defer-time
2903 is 0 and there is no input pending.
2904
2905 2014-12-15 Juri Linkov <juri@linkov.net>
2906
2907 * replace.el (query-replace-read-from): Use query-replace-compile-replacement
2908 only on the return value (bug#19383).
2909
2910 2014-12-15 Juri Linkov <juri@linkov.net>
2911
2912 * isearch.el (isearch-lazy-highlight-search): Extend the bound of
2913 the wrapped search by the length of the search string to be able
2914 to lazy-highlight the whole search string at point (bug#19353).
2915
2916 2014-12-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
2917
2918 * net/shr.el (shr-fold-text): Don't bug out on zero-length text.
2919
2920 2014-12-14 Alan Mackenzie <acm@muc.de>
2921
2922 * cus-start.el (all): Add fast-but-imprecise-scrolling.
2923
2924 2014-12-14 Artur Malabarba <bruce.connor.am@gmail.com>
2925
2926 * let-alist.el: Add lexical binding.
2927
2928 2014-12-14 Steve Purcell <steve@sanityinc.com> (tiny change)
2929
2930 * emacs-lisp/package.el (package-menu-mode): Use an extra column
2931 for the "Version" column, to accomodate date-and-time-based versions.
2932
2933 2014-12-14 Cameron Desautels <camdez@gmail.com>
2934
2935 * cus-edit.el (custom-unsaved-options): New function, extracted
2936 from `customize-unsaved'.
2937 (custom-unsaved): Use it.
2938 (custom-prompt-customize-unsaved-options): New function.
2939 (Bug#19328)
2940
2941 2014-12-14 Dmitry Gutov <dgutov@yandex.ru>
2942
2943 * fringe.el (fringe-bitmap-p): Fix 2014-12-05 breakage.
2944
2945 2014-12-14 Dmitry Gutov <dgutov@yandex.ru>
2946
2947 Move ASYNC argument to the `diff' VC command to the fifth
2948 position, for better compatibility with existing third-party code,
2949 and document it.
2950
2951 * vc/vc.el (vc-diff-internal): Pass `async' argument to the
2952 backend `diff' command in the last position.
2953
2954 * vc/vc-svn.el (vc-svn-diff):
2955 * vc/vc-src.el (vc-src-diff):
2956 * vc/vc-sccs.el (vc-sccs-diff):
2957 * vc/vc-rcs.el (vc-rcs-diff):
2958 * vc/vc-mtn.el (vc-mtn-diff):
2959 * vc/vc-hg.el (vc-hg-diff):
2960 * vc/vc-git.el (vc-git-diff):
2961 * vc/vc-dav.el (vc-dav-diff):
2962 * vc/vc-cvs.el (vc-cvs-diff):
2963 * vc/vc-bzr.el (vc-bzr-diff):
2964 * obsolete/vc-arch.el (vc-arch-diff): Move ASYNC argument to the end.
2965
2966 2014-12-14 Paul Eggert <eggert@cs.ucla.edu>
2967
2968 * emacs-lisp/cconv.el (cconv--analyze-use):
2969 Rename from cconv--analyse-use.
2970 (cconv--analyze-function): Rename from cconv--analyse-function.
2971 (cconv-analyze-form): Rename from cconv-analyse-form.
2972
2973 2014-12-13 Andreas Schwab <schwab@linux-m68k.org>
2974
2975 * net/shr.el (shr-next-link): Don't error out at eob.
2976
2977 2014-12-05 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2978
2979 * isearch.el (isearch-open-necessary-overlays): Open overlay
2980 ending at point (bug#19333).
2981
2982 2014-12-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
2983
2984 * net/shr.el (shr-fold-text): New function.
2985 (shr-show-alt-text, shr-urlify, shr-tag-img): Use it to fold long
2986 alt/title texts.
2987 (shr-fold-text): Inhibit state from being altered.
2988
2989 * files.el (directory-files-recursively): Really check whether
2990 files are symlinks.
2991 (directory-name-p): New function.
2992 (directory-files-recursively): Use it.
2993
2994 2014-12-13 Artur Malabarba <bruce.connor.am@gmail.com>
2995
2996 * emacs-lisp/package.el (package--list-loaded-files): New function
2997 to list files in a given directory which correspond to already
2998 loaded files.
2999 (package-activate-1): Reload files given by `package--list-loaded-files'.
3000 Fix bug#10125, bug#18443, and bug#18448.
3001
3002 2014-12-13 Eric S. Raymond <esr@snark.thyrsus.com>
3003
3004 * vc/vc-svn.el (vc-svn-diff): Fix bug #19312.
3005
3006 2014-12-13 Michael Albinus <michael.albinus@gmx.de>
3007
3008 * simple.el (password-word-equivalents): Add "passcode", used for
3009 numeric secrets like PINs or RSA tokens.
3010
3011 2014-12-13 Michael Albinus <michael.albinus@gmx.de>
3012
3013 * net/tramp-sh.el (tramp-get-remote-path): Use a login shell in
3014 order to determine `tramp-own-remote-path'.
3015
3016 2014-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
3017
3018 * progmodes/python.el (python-shell-parse-command):
3019 Quote `python-shell-interpreter`. (Bug#19289)
3020
3021 2014-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
3022
3023 * progmodes/python.el (python-indent-line): Use `noindent' in strings.
3024 (python-indent-levels): Document extra value.
3025 (python-indent-calculate-indentation): Return `noindent' in strings.
3026 (python-indent-post-self-insert-function)
3027 (python-indent-calculate-levels): Handle new value.
3028
3029 2014-12-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
3030
3031 * net/network-stream.el (network-stream-open-starttls): No need to
3032 check for the availability of `gnutls-available-p'.
3033
3034 * files.el (directory-files-recursively): Don't follow symlinks to
3035 other directories.
3036
3037 2014-12-12 Eric S. Raymond <esr@snark.thyrsus.com>
3038
3039 * vc/vc-dav.el, vc/vc-git.el, vc/vc-hg.el, vc/vc-src.el:
3040 * vc/vc.el: latest-on-branch-p is no longer a public method.
3041
3042 * vc/vc.el, vc/vc-hg.el, vc/vc-git.el, vc/vc-hooks.el:
3043 * vc/vc-mtn.el, vc/vc-rcs.el, vc/vc-sccs.el, vc/vc-src.el:
3044 Remove `rollback' method, to be replaced in the future by uncommit.
3045
3046 2014-12-11 Michael Albinus <michael.albinus@gmx.de>
3047
3048 * vc/vc-hg.el (vc-hg-state): Make FILE absolute. Handle the case
3049 that there is empty output.
3050
3051 2014-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
3052
3053 * emacs-lisp/eldoc.el (eldoc-documentation-function): Change default.
3054 (eldoc-mode, eldoc-schedule-timer): Adjust to new default.
3055
3056 2014-12-10 Artur Malabarba <bruce.connor.am@gmail.com>
3057
3058 * let-alist.el: Add new package and macro.
3059
3060 2014-12-10 Eric S. Raymond <esr@snark.thyrsus.com>
3061
3062 * vc/vc-dispatcher.el, vc/vc-hooks.el, vc/vc-rcs.el:
3063 * vc/vc-sccs.el, vc/vc.el: Righteous featurectomy of vc-keep-workfiles,
3064 it's a shoot-self-in-foot archaism. Workfiles are always kept.
3065
3066 2014-12-10 Rasmus Pank Roulund <emacs@pank.eu>
3067
3068 * net/ange-ftp.el (ange-ftp-switches-ok): Disallow flags causing
3069 trouble with ls over ftp. These flags result in ls returning no
3070 output, causing Tramp-breakage. (bug#19192)
3071
3072 2014-12-10 Andreas Schwab <schwab@suse.de>
3073
3074 * files.el (file-tree-walk): Use file-name-as-directory unconditionally.
3075
3076 2014-12-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
3077
3078 * files.el (directory-files-recursively):
3079 Use `file-name-all-completions' instead of `directory-files' for
3080 greater speed.
3081
3082 * net/shr.el (shr-tag-object): Don't bug out on text elements in
3083 <object>.
3084
3085 2014-12-09 Bozhidar Batsov <bozhidar@batsov.com>
3086
3087 * progmodes/ruby-mode.el (auto-mode-alist): Add .rabl, Berksfile
3088 and Puppetfile.
3089 (ruby-toggle-string-quotes): New command that allows you to quickly
3090 toggle between single-quoted and double-quoted string literals.
3091
3092 2014-12-09 Eric S. Raymond <esr@snark.thyrsus.com>
3093
3094 * vc/vc-src.el (vc-src-do-comand): Prepend -- to file argument
3095 list, avoids problems witt names containing hyphens.
3096
3097 2014-12-09 Wilson Snyder <wsnyder@wsnyder.org>
3098
3099 Sync with upstream verilog-mode revision aa4b777.
3100 * progmodes/verilog-mode.el (verilog-mode-version): Update.
3101 (verilog-auto-end-comment-lines-re, verilog-end-block-ordered-re)
3102 (verilog-set-auto-endcomments): Automatically comment property/
3103 endproperty blocks to match other similar blocks like sequence/
3104 endsequence, function/endfunction, etc. Reported by Alex Reed.
3105 (verilog-set-auto-endcomments): Fix end comments for functions of
3106 type void, etc. Detect the function- or task-name when
3107 auto-commenting blocks that lack an explicit portlist.
3108 Reported by Alex Reed.
3109 (verilog-nameable-item-re): Fix nameable items that can have an
3110 end-identifier to include endchecker, endgroup, endprogram,
3111 endproperty, and endsequence. Reported by Alex Reed.
3112 (verilog-preprocessor-re, verilog-beg-of-statement):
3113 Fix indentation of property/endproperty around pre-processor
3114 directives. Reported by Alex Reed.
3115 (verilog-label-be): When auto-commenting a buffer, consider
3116 auto-comments on all known keywords (not just a subset thereof).
3117 Reported by Alex Reed.
3118 (verilog-beg-of-statement): Fix labeling do-while blocks, bug842.
3119 Reported by Alex Reed.
3120 (verilog-beg-of-statement-1, verilog-at-constraint-p):
3121 Fix hanging with many curly-bracket pairs, bug663.
3122 (verilog-do-indent): Fix electric tab deleting form-feeds.
3123 Note caused by indent-line-to deleting tabls pre 24.5.
3124 (verilog-auto-output, verilog-auto-input, verilog-auto-inout)
3125 (verilog-auto-inout-module, verilog-auto-inout-in): Doc fixes.
3126 (verilog-read-always-signals, verilog-auto-sense-sigs)
3127 (verilog-auto-reset): Fix AUTORESET with always_comb and always_latch,
3128 bug844. Reported by Greg Hilton.
3129
3130 2014-12-09 Alex Reed <acreed4@gmail.com> (tiny change)
3131
3132 * progmodes/verilog-mode.el (verilog-no-indent-begin-re):
3133 Fix `verilog-indent-begin-after-if' nil not honoring 'forever',
3134 'foreach', and 'do' keywords.
3135 (verilog-endcomment-reason-re, verilog-beg-of-statement):
3136 Fix labeling do-while blocks, bug842.
3137 (verilog-backward-token): Fix indenting sensitivity lists with
3138 named events, bug840.
3139
3140 2014-12-09 Reto Zimmermann <reto@gnu.org>
3141
3142 Sync with upstream vhdl mode v3.36.1.
3143 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
3144 (vhdl-compiler-alist): Anchor all error regexps.
3145 (vhdl-compile-use-local-error-regexp): Change default to nil.
3146 (vhdl-asort, vhdl-anot-head-p): Remove.
3147 (vhdl-aput, vhdl-adelete, vhdl-aget): Simplify.
3148 Remove optional argument of vhdl-aget and update all callers.
3149 (vhdl-import-project): Also set `vhdl-compiler'.
3150
3151 2014-12-09 Lars Magne Ingebrigtsen <larsi@gnus.org>
3152
3153 * files.el (find-files): New function.
3154
3155 * net/shr.el (shr-dom-print): Don't print comments.
3156 (shr-tag-svg): Give inline SVG images the right type.
3157
3158 * net/eww.el (eww-update-header-line-format): Mark valid/invalid
3159 certificates in the header line.
3160 (eww-invalid-certificate, eww-valid-certificate): New faces.
3161
3162 2014-12-09 Fabián Ezequiel Gallina <fgallina@gnu.org>
3163
3164 * progmodes/python.el (inferior-python-mode):
3165 Set `comint-prompt-read-only` to `t` only locally.
3166
3167 2014-12-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
3168
3169 * net/nsm.el (nsm-check-protocol): Test for RC4 on `high'.
3170 (nsm-format-certificate): Include more data about the connection.
3171 (nsm-query): Fill the text to that it looks nicer.
3172 (nsm-check-protocol): Also warn if using SSL3 or older.
3173
3174 2014-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
3175
3176 * progmodes/gud.el (gud-gdb-completions): Remove unused var `start'.
3177
3178 * obsolete/gulp.el (gulp-create-m-p-alist): Remove unused var `mnt-tm'.
3179
3180 * net/tramp.el (tramp-handle-make-symbolic-link): Mark unused arg.
3181
3182 * info.el (Info-mode-map): Remove left-over binding.
3183
3184 * emacs-lisp/avl-tree.el: Use lexical-binding and cl-lib.
3185 (avl-tree--root): Remove redundant defsetf.
3186
3187 2014-12-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
3188
3189 * net/nsm.el (network-security-level): Remove the detailed
3190 description, which was already outdated, and refer the users to
3191 the manual.
3192 (nsm-check-protocol): Check for weak Diffie-Hellman prime bits
3193 (bug#19153).
3194
3195 2014-12-06 Andrey Kotlarski <m00naticus@gmail.com>
3196
3197 * net/eww.el (eww-buffers-mode): New major mode.
3198 (eww-list-buffers, eww-buffer-select, eww-buffer-show-next)
3199 (eww-buffer-show-previous, eww-buffer-kill, eww-buffer-show):
3200 New commands/functions (bug#19131).
3201
3202 2014-12-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
3203
3204 * net/gnutls.el (gnutls-negotiate): Ignore files found via
3205 'file-name-handler-alist' since the gnutls library can't use those
3206 (bug#15866).
3207
3208 2014-12-08 Dmitry Gutov <dgutov@yandex.ru>
3209
3210 * vc/vc-hg.el (vc-hg-dir-status-files): Only include ignores files
3211 when FILES is non-nil (bug#19304).
3212
3213 2014-12-08 Eric S. Raymond <esr@snark.thyrsus.com>
3214
3215 * vc/vc-arch.el: Move to obsolete directory so a test framework
3216 won't trip over bit-rot in it. There has been no Arch snapshot
3217 for nine years.
3218
3219 2014-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
3220
3221 * net/eww.el (eww-follow-link): Revert prefix behaviour to
3222 previous behavior.
3223 (eww-copy-page-url): Add doc string.
3224
3225 2014-12-07 Ivan Shmakov <ivan@siamics.net>
3226
3227 * net/eww.el (eww): Move history recording here...
3228 (eww-browse-url): ... from here (bug#19253).
3229
3230 * net/eww.el (eww-browse-url): Use generate-new-buffer (was:
3231 iterating over possible buffer names.)
3232
3233 2014-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
3234
3235 * net/eww.el (eww-reload): Take a prefix to work locally (bug#19086).
3236 (eww-current-buffer): Compilation fix for bug#18550 patch.
3237
3238 2014-12-07 Ivan Shmakov <ivan@siamics.net>
3239
3240 * net/eww.el (eww-list-histories): Restore the history in the
3241 correct buffer (bug#18550).
3242
3243 2014-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
3244
3245 * net/eww.el (eww-bookmark-prepare): Display URLs in first by
3246 displaying shortened titles first (bug#16398).
3247
3248 2014-12-07 Tom Willemse <tom@ryuslash.org> (tiny change)
3249
3250 * progmodes/python.el: Recognize docstrings.
3251 (python-docstring-at-p, python-font-lock-syntactic-face-function):
3252 New functions.
3253 (python-mode): Use them.
3254
3255 2014-12-06 Ulf Jasper <ulf.jasper@web.de>
3256
3257 * net/newst-treeview.el (newsticker--treeview-list-add-item)
3258 (newsticker--treeview-propertize-tag): Bind tree menu to mouse-3.
3259 (newsticker--treeview-create-groups-menu)
3260 (newsticker--treeview-create-tree-menu): Remove.
3261 (newsticker--treeview-tree-open-menu): New.
3262 (newsticker-treeview-tree-click): Pass event to
3263 `newsticker-treeview-tree-do-click'.
3264 (newsticker-treeview-tree-do-click): Open treemenu on mouse-3.
3265
3266 2014-12-05 Juri Linkov <juri@linkov.net>
3267
3268 * comint.el (comint-history-isearch-search)
3269 (comint-history-isearch-wrap): Use field-beginning instead of
3270 comint-line-beginning-position.
3271 (comint-send-input): Go to the end of the field instead of the end
3272 of the line to accept whole multi-line input.
3273 http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00305.html
3274
3275 2014-12-05 Juri Linkov <juri@linkov.net>
3276
3277 * minibuffer.el (minibuffer-completion-help):
3278 Compare selected-window with minibuffer-window to check whether
3279 completions should be displayed near the minibuffer. (Bug#17809)
3280 http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00311.html
3281
3282 2014-12-05 Michael Albinus <michael.albinus@gmx.de>
3283
3284 * vc/vc-mtn.el (vc-mtn-root):
3285 * vc/vc-svn.el (vc-svn-registered): Make FILE absolute.
3286
3287 2014-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
3288
3289 * progmodes/sh-script.el (sh-smie-sh-rules): Go back to the beginning
3290 of the whole pipe when indenting an opening keyword after a |.
3291 Generalize this treatment to opening keywords like "while" (bug#18031).
3292
3293 2014-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
3294
3295 * simple.el (newline): Place the hook buffer-locally,
3296 to make sure it's first.
3297
3298 * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
3299 Fix handling of symbols with different syntax at beginning/end or with
3300 symbol rather than word syntax.
3301
3302 2014-12-05 Eli Zaretskii <eliz@gnu.org>
3303
3304 * simple.el (line-move): If noninteractive, call line-move-1, not
3305 forward-line, since the former is compatible with line-move-visual
3306 both in terms of the column to which it moves and the return
3307 value. (Bug#19211)
3308
3309 2014-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
3310
3311 * vc/ediff-init.el (ediff-odd-p): Remove.
3312 (ediff-background-face): Use cl-oddp instead.
3313 (ediff-buffer-live-p): Make it a defsubst.
3314
3315 * tooltip.el (tooltip-region-active-p): Remove.
3316
3317 * net/shr.el (shr-char-breakable-p, shr-char-kinsoku-bol-p)
3318 (shr-char-kinsoku-eol-p, shr-char-nospace-p): Use define-inline.
3319
3320 * fringe.el (fringe-bitmap-p): Make it a plain function.
3321
3322 * emacs-lisp/eieio-core.el: Prefer inlinable functions over macros.
3323 (class-p, generic-p, eieio-object-p, class-abstract-p):
3324 Make them defsubst, so as to avoid corner case problems where
3325 the arg might be evaluated in the condition-case, or it can't be passed
3326 to higher-order functions like `cl-some'.
3327
3328 2014-12-05 Nicolas Richard <theonewiththeevillook@yahoo.fr>
3329
3330 * wid-edit.el (widget-choose): Let numeric keypad work (bug#19268)
3331 and remove old menu-related code.
3332
3333 2014-12-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
3334
3335 * net/eww.el (eww-display-pdf): Let mailcap determine how to
3336 display PDF files (bug#19270).
3337
3338 2014-12-05 Juri Linkov <juri@linkov.net>
3339
3340 Compare with the most recent window by default.
3341 * vc/compare-w.el (compare-windows-get-window-function): New defcustom.
3342 (compare-windows-get-recent-window)
3343 (compare-windows-get-next-window): New functions.
3344 (compare-windows, compare-windows-sync-default-function):
3345 Use `compare-windows-get-window-function' instead of `next-window'.
3346 (compare-windows): Add diff/match messages with region boundaries.
3347 (Bug#19170)
3348
3349 2014-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
3350
3351 * subr.el (filter): Remove. Use `cl-remove-if-not' or `seq-filter'.
3352
3353 2014-12-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
3354
3355 * net/shr.el (shr--extract-best-source): Ignore non-text children.
3356
3357 2014-12-04 Eli Zaretskii <eliz@gnu.org>
3358
3359 Implement copying of a buffer portion while preserving visual order.
3360 * simple.el (bidi-directional-controls-chars)
3361 (bidi-directional-non-controls-chars): New variables.
3362 (squeeze-bidi-context-1, squeeze-bidi-context)
3363 (line-substring-with-bidi-context)
3364 (buffer-substring-with-bidi-context): New functions.
3365
3366 * files.el (file-tree-walk): Doc fix.
3367
3368 2014-12-04 Rupert Swarbrick <ruperts@broadcom.com> (tiny change)
3369 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
3370
3371 * autoinsert.el (auto-insert-alist): Update C/C++ header and
3372 program support to match more extensions. Replace non-alnum
3373 characters when generating include guards (headers) and check for
3374 more extensions when generating includes (programs)
3375 (bug#19254).
3376
3377 2014-12-03 Eric S. Raymond <esr@snark.thyrsus.com>
3378
3379 * files.el (file-tree-walk): Fix docstring.
3380
3381 2014-12-03 Karl Fogel <kfogel@red-bean.com>
3382
3383 Fix bug whereby saving files hung in VC hook.
3384
3385 Saving a buffer visiting a file under SVN control would hang if
3386 the remote repository were unreachable, because the VC hooks tried
3387 to run "svn status -u" on the file, where the "-u" tells svn to
3388 get update information from the remote repository.
3389 http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00174.html
3390
3391 * vc/vc-svn.el (vc-svn-state): Remove optional `localp'
3392 argument and always pass "-v" to "svn status", never "-u".
3393
3394 2014-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
3395
3396 * emacs-lisp/inline.el: Fix up copyright header.
3397 (inline-quote, inline-const-p, inline-const-val, inline-error):
3398 Silence compiler warnings.
3399 (inline-letevals): Fix edebug spec.
3400 (inline--testconst-p): Consider lambda expressions as const-p.
3401 (inline--getconst-val): Use inline--testconst-p.
3402
3403 * minibuffer.el (completion-table-dynamic): Add arg `switch-buffer'
3404 and change default to stay in the minibuffer when called from
3405 the minibuffer (bug#19250).
3406 (lazy-completion-table): Use this new argument to preserve the
3407 old behavior.
3408
3409 * progmodes/elisp-mode.el (elisp--local-variables): Don't burp on
3410 incorrect lexical elements (bug#19250).
3411
3412 2014-12-03 A. N. Other <none@example.com>
3413
3414 * files.el (file-tree-walk): Lisp translation of ANSI ftw(3).
3415
3416 2014-12-02 Glenn Morris <rgm@gnu.org>
3417
3418 * whitespace.el (whitespace-big-indent-regexp): Add :version.
3419
3420 2014-12-02 Eric S. Raymond <esr@snark.thyrsus.com>
3421
3422 * subr.el (filter): New macro. Because it's just silly for a Lisp
3423 not to have this in 2014. And VC needs it.
3424
3425 * vc.el: All backends: API simplification: Abolish dir-status.
3426 It's replaced by dir-status-files.
3427
3428 * vc.el: All backends: API simplification: Remove 4th
3429 'default-state' argument from vc-dir-status files and its backend
3430 methods - no backend method ever set it. It was used only in the
3431 fallback method to to set a default of 'up-to-date, though a
3432 convoluted call chain obscured this.
3433
3434 * vc-hooks.el: Bind vc-delete-file to Ctrl-x v delete.
3435
3436 * vc.el (vc-expand-dirs): Now takes a second BACKEND argument,
3437 improving behavior on directories using multiple file-oriented VCSes.
3438
3439 * vc/vc.el: All backends: API simplification; clear-headers
3440 is no longer a public method. It is now local to the one place
3441 it's used, in the RCS steal-lock method.
3442
3443 2014-12-01 Eric S. Raymond <esr@snark.thyrsus.com>
3444
3445 * vc/vc.el: In all backends: API simplification; could-register
3446 is no longer a public method. (vc-cvs.el still has a private
3447 implementation.)
3448
3449 * vc/vc.el: In all backends: API cleanup; the backend diff method
3450 takes an explicit async flag. This eliminates a particularly ugly
3451 global.
3452
3453 * vc-bzr.el: Restore vc-bzr-state-heuristic as a private method.
3454 VC randomly/unpredictably fails without it; cause not yet established.
3455
3456 2014-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
3457
3458 Merge some of the differences from the standalone CC-mode.
3459 The main change is to only use the `category' text-property only when
3460 available. For that many calls are changed to use c-get-char-property,
3461 c-next-single-property-change, c-sc-scan-lists,
3462 c-sc-parse-partial-sexp, c-unmark-<->-as-paren.
3463
3464 * progmodes/cc-mode.el (c-just-done-before-change): New var.
3465 (c-basic-common-init): Initialize it.
3466 (c-common-init): Only use mode-require-final-newline when available.
3467 (c-before-change): Check and set c-just-done-before-change.
3468 (c-after-change): Re-set c-just-done-before-change.
3469 (c-advise-fl-for-region): New macro.
3470 (lazy-lock-defer-rest-after-change, lazy-lock-defer-line-after-change)
3471 (font-lock-after-change-function, jit-lock-after-change):
3472 Advise if needed.
3473
3474 * progmodes/cc-langs.el (c-modified-constant): New lang var.
3475 (c-known-type-key): Don't make a list just to throw it away.
3476
3477 * progmodes/cc-engine.el (c-invalidate-state-cache, c-parse-state):
3478 Handle the case where categories are not available.
3479 (c-record-parse-state-state, c-replay-parse-state-state):
3480 Handle marker values.
3481 (c-before-change-check-<>-operators): Look for the `syntax-table'
3482 property rather than for the corresponding `category'.
3483 (c-looking-at-decl-block): Remove unused var
3484 `c-disallow-comma-in-<>-arglists'.
3485 (c-forward-<>-arglist-recur): Remove unused var
3486 `orig-record-found-types'.
3487
3488 * progmodes/cc-defs.el (c-version): Bump up to 5.33.
3489 (c-use-category): New const.
3490 (c-next-single-property-change): New macro.
3491 (c-region-is-active-p): Prefer region-active-p when available.
3492 (c-search-backward-char-property): Fix old min/max typo; probably
3493 a copy/paste error.
3494 (c-mark-<-as-paren, c-mark->-as-paren, c-unmark-<->-as-paren):
3495 Turn them into macros that obey c-use-category.
3496 (c-sc-scan-lists-no-category+1+1, c-sc-scan-lists-no-category+1-1)
3497 (c-sc-scan-lists-no-category-1+1, c-sc-scan-lists-no-category-1-1)
3498 (c-sc-scan-lists, c-sc-parse-partial-sexp)
3499 (c-looking-at-non-alphnumspace): New macros.
3500 (c-sc-parse-partial-sexp-no-category): New function.
3501 (c-emacs-features): Add `category-properties' element.
3502
3503 * progmodes/cc-cmds.el (c-forward-into-nomenclature)
3504 (c-backward-into-nomenclature): Use cc-subword if subword-mode is
3505 not available.
3506 (c-beginning-of-defun, c-end-of-defun, c-mark-function)
3507 (c-indent-line-or-region): Use c-region-is-active-p.
3508
3509 * progmodes/cc-bytecomp.el (cc-bytecomp-unbound-variables)
3510 (cc-bytecomp-original-functions, cc-bytecomp-original-properties)
3511 (cc-bytecomp-loaded-files): Re-set each time the file is loaded.
3512 (cc-bytecomp-obsolete-var, cc-bytecomp-ignore-obsolete)
3513 (cc-bytecomp-obsolete-fun): Delete unused functions.
3514
3515 * progmodes/cc-align.el (c-lineup-respect-col-0): New function.
3516
3517 2014-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3518
3519 * net/shr.el (shr-dom-print): Fix up `shr-dom-print' after the
3520 dom.el changes.
3521
3522 2014-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
3523
3524 * vc/vc.el (vc-find-conflicted-file): Look for conflicted files in the
3525 current "project" rather than just the current directory.
3526 * vc/vc-git.el (vc-git-conflicted-files): Clarify in which directory
3527 the file names make sense.
3528
3529 * vc/smerge-mode.el (smerge-swap): New command.
3530
3531 * vc/diff-mode.el (diff-kill-applied-hunks): New command.
3532
3533 2014-12-01 Ulf Jasper <ulf.jasper@web.de>
3534
3535 * net/newst-treeview.el (newsticker--treeview-item-show):
3536 Check window liveliness before measuring its width.
3537
3538 * net/newst-backend.el (newsticker--get-news-by-url-callback):
3539 Pass correct status to `newsticker--sentinel-work'.
3540 (newsticker--sentinel-work): Use "newsticker--download-error" as
3541 guid in order to prevent multiple "Could not download..."
3542 messages. Fixes bug#19166.
3543
3544 2014-12-01 Ivan Shmakov <ivan@siamics.net>
3545
3546 * net/eww.el (eww-render): Call `eww-after-render-hook' in the
3547 correct buffer (bug#19225).
3548
3549 2014-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3550
3551 * net/nsm.el (network-security-level): Change the default to `medium'.
3552
3553 * net/eww.el (eww): Leave point in a place that doesn't cause
3554 scrolling when displaying "Loading...".
3555
3556 2014-12-01 Eric S. Raymond <esr@snark.thyrsus.com>
3557
3558 * vc/vc.el, vc/vc-cvs.el, vc/vc-rcs.el, vc/vc-svn.el: The 'merge'
3559 backend method of RCS/CVS/SVN is now 'merge-file', to contrast with
3560 'merge-branch'. Prompting for merge revisions is pushed down to
3561 the back ends; this fixes a layering violation that caused bad
3562 behavior with SVN.
3563
3564 * vc/vc.el, vc-hooks.el: All backends: API simplification;
3565 vc-stay-local-p and repository-hostname are no longer public
3566 methods. Only the CVS and SVN backends used these, and the SVN
3567 support was conditioned out because svn status -v is too slow.
3568 The CVS back end retains this machinery and the vc-stay-local
3569 configuration variable now only affects it.
3570
3571 2014-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
3572
3573 * emacs-lisp/inline.el: New file.
3574
3575 2014-12-01 Eric S. Raymond <esr@snark.thyrsus.com>
3576
3577 * vc/vc.el, vc-hooks.el: All backends: API simplification;
3578 vc-state-heuristic is no longer a public method, having been
3579 removed where it is redundant, unnecessary, or known buggy.
3580 This eliminated all backends except CVS. Eliminates bug#7850.
3581
3582 * vc/vc-cvs.el, vc/vc-hooks.el, vc/vc-rcs.el, vc/vc-sccs.el:
3583 Eliminate vc-mistrust-permissions. It was only relevant to the
3584 RCS and SCCS back ends and defaulted to t. Code now always
3585 mistrusts permissions - by actual measurement the effect on
3586 performance is negligible. As a side effect bug#11490 is now
3587 irrelevant.
3588
3589 * vc/vc.el, vc-hooks.el: All backends: API simplification;
3590 vc-workfile-unchanged-p is no longer a public method (but the RCS
3591 and SCCS back ends retain it as a private method used in state
3592 computation). This method was redundant with vc-state and usually
3593 implemented as a trivial call to same. Fixes the failure mode
3594 described in bug#694.
3595
3596 * vc/vc.el: All backends: API simplification; init-revision is
3597 gone, and vc-registered functions no longer take an
3598 initial-revision argument.
3599
3600 2014-11-29 Glenn Morris <rgm@gnu.org>
3601
3602 * vc/vc-src.el (vc-src, vc-src-diff-switches)
3603 (vc-src-master-templates): Fix :version tags.
3604
3605 2014-11-29 Paul Rankin <paul@tilk.co> (tiny change)
3606
3607 * outline.el (outline-move-subtree-down): Refactor and improve code.
3608
3609 2014-11-29 Stephen Berman <stephen.berman@gmx.net>
3610 Stefan Monnier <monnier@iro.umontreal.ca>
3611
3612 * outline.el (outline-move-subtree-down): Make sure we can move
3613 forward to find the end of the subtree and the insertion point
3614 (bug#19102).
3615
3616 2014-11-29 Fabián Ezequiel Gallina <fgallina@gnu.org>
3617
3618 * progmodes/python.el (python-shell-completion-setup-code):
3619 Use __builtin__ module (or builtins in Python 3) and catch all errors
3620 when importing readline and rlcompleter.
3621
3622 2014-11-29 Stephen Berman <stephen.berman@gmx.net>
3623
3624 * calendar/todo-mode.el: Handle calling revert-buffer (bug#19187).
3625 (todo-revert-buffer): New function.
3626 (todo-modes-set-1): Use it as the buffer-local value of
3627 revert-buffer-function.
3628
3629 2014-11-29 Stephen Berman <stephen.berman@gmx.net>
3630
3631 * calendar/todo-mode.el (todo-mode): If called interactively, just
3632 display a message saying to call todo-show to enter Todo mode
3633 (Bug#19112).
3634
3635 2014-11-29 Dmitry Gutov <dgutov@yandex.ru>
3636
3637 * vc/vc-hg.el (vc-hg-dir-status-files): Include ignored files.
3638 (Bug#18579)
3639
3640 * vc/vc-bzr.el (vc-bzr-after-dir-status): Don't skip ignored
3641 files. (Bug#18579)
3642
3643 2014-11-29 Michael Albinus <michael.albinus@gmx.de>
3644
3645 * textmodes/makeinfo.el (makeinfo-buffer): Make it work also for
3646 remote `buffer-file-name'.
3647
3648 2014-11-29 Leo Liu <sdl.web@gmail.com>
3649
3650 * calendar/diary-lib.el (calendar-mark-1): Fix thinko.
3651
3652 2014-11-29 Fabián Ezequiel Gallina <fgallina@gnu.org>
3653
3654 Set PYTHONUNBUFFERED on shell startup.
3655
3656 * progmodes/python.el (python-shell-unbuffered): New var.
3657 (python-shell-calculate-process-environment): Use it.
3658
3659 2014-11-29 Michael Albinus <michael.albinus@gmx.de>
3660
3661 * net/tramp.el (tramp-action-password): Clean password on subsequent
3662 attempts even if there was no wrong password indication. (Bug#19047)
3663
3664 * net/tramp-sh.el (tramp-get-remote-locale): Return "LC_ALL=C" as
3665 fallback.
3666 (tramp-open-connection-setup-interactive-shell): No need to check
3667 for nil as `tramp-get-remote-locale' return value.
3668
3669 2014-11-29 Eli Zaretskii <eliz@gnu.org>
3670
3671 * vc/vc-git.el (vc-git-command, vc-git--call):
3672 Bind coding-system-for-read and coding-system-for-write to
3673 vc-git-commits-coding-system.
3674 (vc-git-previous-revision): Use "~1" instead of "^", since the
3675 latter is a special character for MS-Windows system shells.
3676
3677 2014-11-29 Michael Albinus <michael.albinus@gmx.de>
3678
3679 Improve XEmacs compatibility.
3680
3681 * net/tramp.el (tramp-autoload-file-name-handler):
3682 Wrap `temporary-file-directory' by `symbol-value', it doesn't
3683 exist in XEmacs.
3684 (tramp-read-passwd): Don't use `with-timeout-suspend' and
3685 `with-timeout-unsuspend' if they don't exist, like in XEmacs.
3686 (tramp-time-less-p, tramp-time-subtract): Remove functions.
3687 (tramp-handle-file-newer-than-file-p, tramp-time-diff):
3688 * net/tramp-adb.el (tramp-adb-ls-output-time-less-p):
3689 * net/tramp-cache.el (tramp-get-file-property):
3690 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
3691 Use `time-less-p' and `time-subtract, respectively.
3692
3693 * net/tramp-adb.el (top): Do not require time-date.el.
3694
3695 * net/tramp-compat.el (top): Require time-date.el for XEmacs.
3696
3697 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
3698 Check, whether `utf-8' is a valid coding system.
3699
3700 2014-11-29 Eli Zaretskii <eliz@gnu.org>
3701
3702 * vc/vc.el (vc-retrieve-tag): Doc fix.
3703
3704 2014-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
3705
3706 * simple.el (execute-extended-command--shorter): Fix the "M-p" case
3707 (bug#19152).
3708
3709 2014-11-28 Martin Rudalics <rudalics@gmx.at>
3710
3711 Fix two issues around help-window-select. (Bug#11039) (Bug#19012)
3712 * help.el (help-window-old-frame): New variable.
3713 (help-window-select): Default to nil (Bug#11039).
3714 Rewrite doc-string.
3715 (help-window-setup): When the help window appears on another
3716 frame and `help-window-select' is non-nil, give that frame input
3717 focus too (Bug#19012).
3718 (with-help-window): Store selected frame in
3719 help-window-old-frame.
3720
3721 2014-11-28 Ulf Jasper <ulf.jasper@web.de>
3722
3723 * net/newst-treeview.el (newsticker--treeview-load): Take care of
3724 nil value for `newsticker-groups-filename'.
3725
3726 2014-11-28 Daiki Ueno <ueno@gnu.org>
3727
3728 * epa.el (epa-sign-file, epa-encrypt-file, epa-decrypt-region)
3729 (epa-sign-region, epa-encrypt-region):
3730 Use `epg-context-set-{passphrase,progress}-callback', instead of
3731 `setf'. This partially reverts commit 9e48a95c (bug#19150).
3732 Reported by José A. Romero L.
3733
3734 2014-11-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
3735
3736 * net/eww.el (eww-restore-history):
3737 Bind `inhibit-modification-hooks' instead of `after-change-functions'.
3738
3739 2014-11-27 Ulf Jasper <ulf.jasper@web.de>
3740
3741 * net/newst-backend.el (newsticker--parse-atom-1.0):
3742 Handle embedded (x)html in summary node.
3743
3744 2014-11-27 Sam Steingold <sds@gnu.org>
3745
3746 * menu-bar.el (menu-bar-open): When everything else fails,
3747 use (mouse-menu-bar-map).
3748
3749 2014-11-27 Ulf Jasper <ulf.jasper@web.de>
3750
3751 * net/newst-treeview.el (newsticker-groups-filename):
3752 Change default value to nil. Point out that variable is obsolete in doc
3753 string.
3754 (newsticker--treeview-load): Change wording of the questions the
3755 user is asked when `newsticker-groups-filename' is found to be
3756 used and we offer to read and remove the groups file. (Bug#19165)
3757
3758 2014-11-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
3759
3760 * net/eww.el (eww): Record the new URL immediately, so that if the
3761 HTTP fetch fails, we have the right URL in the buffer.
3762 (eww-process-text-input): Don't shorten the input field if
3763 deleting at the last character (bug#19085).
3764 (eww-restore-history): Inhibit change functions while restoring
3765 the history.
3766 (eww-process-text-input): Fix deletion at the start of the field, too.
3767 (eww-mode): Revert mistanken removal of `buffer-disable-undo'.
3768 (eww-process-text-input): Try to keep track of the size more reliably.
3769
3770 * dom.el (dom-pp): New function.
3771
3772 2014-11-27 Eli Zaretskii <eliz@gnu.org>
3773
3774 * vc/vc-bzr.el (vc-bzr-print-log, vc-bzr-expanded-log-entry):
3775 Don't assume --long is the default for "bzr log", always specify
3776 it explicitly, in case the user defined an alias for 'log' that
3777 uses some other format.
3778
3779 2014-11-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
3780
3781 * progmodes/python.el (python-eldoc--get-doc-at-point):
3782 Strip shell output before returning. (bug#18794)
3783
3784 2014-11-27 Dmitry Gutov <dgutov@yandex.ru>
3785
3786 Fix indentation before `!=' and after `+='. Originally reported
3787 in https://github.com/mooz/js2-mode/issues/174.
3788 * progmodes/js.el (js--indent-operator-re): Make assignments and
3789 (in)equality operator a separate case.
3790 (js--continued-expression-p): Escape the second `+' in the regexp.
3791
3792 2014-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
3793
3794 * window.el (handle-select-window): Deactivate shift-region (bug#19003).
3795
3796 2014-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
3797
3798 * net/nsm.el (nsm-new-fingerprint-ok-p): Display the certificate
3799 when querying about new certificates.
3800
3801 * net/shr.el (shr-make-table-1): dom.el changes for table rendering.
3802
3803 * dom.el (dom-by-tag): Use `equal' for comparisons so that tags
3804 can be strings.
3805 (dom-elements): Protect against non-text nodes.
3806 (dom-non-text-children): New function.
3807
3808 * net/eww.el (eww-tag-title): Use `dom-text'.
3809
3810 2014-11-26 Sam Steingold <sds@gnu.org>
3811
3812 * textmodes/sgml-mode.el (sgml-validate-command): Pass -utf8 to tidy.
3813
3814 2014-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
3815
3816 * net/eww.el (eww-highest-readability): More dom.el fixes.
3817
3818 2014-11-26 Ulf Jasper <ulf.jasper@web.de>
3819
3820 * net/newst-backend.el (newsticker--parse-generic-items):
3821 Take care of UIDs when adding elements to cache.
3822
3823 2014-11-26 Alan Mackenzie <acm@muc.de>
3824
3825 Remove spurious reference to symbol category_properties.
3826 * progmodes/cc-engine.el (c-state-pp-to-literal): Fix here.
3827
3828 2014-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
3829
3830 * net/eww.el: Use the new dom.el accessors throughout.
3831
3832 * net/shr.el: Ditto.
3833
3834 * dom.el: New file.
3835
3836 2014-11-26 Glenn Morris <rgm@gnu.org>
3837
3838 * arc-mode.el (archive-visit-single-files): Add :version.
3839
3840 2014-11-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
3841
3842 * net/nsm.el (nsm-format-certificate): Don't bug out on missing
3843 elements.
3844 (nsm-warnings-ok-p): The new version of this function always
3845 returned nil when everything was OK.
3846
3847 2014-11-25 Teodor Zlatanov <tzz@lifelogs.com>
3848
3849 * net/gnutls.el (gnutls): Set :group to 'comm so it's near NSM.
3850
3851 * net/nsm.el (nsm-check-tls-connection, nsm-save-host)
3852 (nsm-warnings-ok-p): Use `gnutls-peer-status-warning-describe'.
3853
3854 2014-11-20 Nicolas Richard <theonewiththeevillook@yahoo.fr>
3855
3856 * emacs-lisp/byte-run.el (function-put): Match argument names to
3857 docstring.
3858
3859 2014-11-24 Sam Steingold <sds@gnu.org>
3860
3861 * vc/vc-hooks.el (vc-directory-exclusion-list):
3862 Fix a trivial typo (bug#19171).
3863
3864 2014-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
3865
3866 * vc/vc-hooks.el (vc-state-base-face): Don't override
3867 mode-line-inactive.
3868
3869 2014-11-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
3870
3871 * net/eww.el (eww-set-character-encoding): Use `read-coding-system'.
3872 (eww-process-text-input): Inhibit read only so that input fields
3873 don't get shortened (bug#19085).
3874
3875 2014-11-24 Leo Liu <sdl.web@gmail.com>
3876
3877 * emacs-lisp/macroexp.el (macroexp-let2*): New macro.
3878
3879 * window.el (with-temp-buffer-window)
3880 (with-current-buffer-window, with-displayed-buffer-window):
3881 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin):
3882 * emacs-lisp/cl-lib.el (substring):
3883 * emacs-lisp/cl-extra.el (cl-getf): Use it.
3884
3885 2014-11-24 Eli Zaretskii <eliz@gnu.org>
3886
3887 * isearch.el (isearch-update): Don't assume
3888 pos-visible-in-window-p will return nil when point is hscrolled
3889 out of view. (Bug#19157)
3890
3891 2014-11-20 Andrey Kotlarski <m00naticus@gmail.com>
3892
3893 * net/eww.el (eww-browse-url): Optionally create new eww buffer.
3894 (eww-follow-link): Follow in new buffer in case of prefix
3895 argument, open externally with double prefix (bug#19130).
3896
3897 2014-11-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
3898
3899 * net/eww.el (eww-display-html): Decode the document-defined charset.
3900 (eww): Pop to the *eww* buffer immediately after executing the
3901 `M-x eww' command to avoid having buffers pop up later.
3902 (eww-display-html): Don't pop the *eww* buffer.
3903 (eww-display-raw): Ditto.
3904 (eww-display-image): Ditto.
3905 (eww-follow-link): Make going to #targets in the page work again.
3906
3907 2014-11-23 Ivan Shmakov <ivan@siamics.net>
3908
3909 * net/eww.el (eww-suggest-uris): New variable.
3910 (eww-suggested-uris): New function.
3911 (eww): Default to URL under point.
3912 (eww-links-at-point): New function.
3913
3914 2014-11-20 Mark Oteiza <mvoteiza@udel.edu> (tiny change)
3915
3916 * net/eww.el (eww-add-bookmark): Fix bookmark titles.
3917
3918 2014-11-17 Mark Oteiza <mvoteiza@udel.edu> (tiny change)
3919
3920 * net/eww.el (eww-mode-map): Bind backtab to shr-previous-link.
3921
3922 2014-11-23 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
3923
3924 * net/eww.el (eww-set-character-encoding): New command and keystroke.
3925 (eww-display-raw): Use it (bug#16225).
3926
3927 2014-11-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
3928
3929 * net/nsm.el (network-security-level): Rename from
3930 `nsm-security-level' and documented.
3931
3932 * mail/smtpmail.el (smtpmail-via-smtp): Warn unless encrypted and
3933 we're sending a password.
3934
3935 * net/nsm.el: New file that implements a Network Security Manager.
3936
3937 * net/network-stream.el (open-network-stream): Add a new
3938 :warn-unless-encrypted parameter.
3939 (network-stream-open-plain): Allow warning unless encrypted.
3940 (network-stream-open-starttls): Call the Network Security Manager.
3941 (network-stream-open-tls): Ditto.
3942
3943 2014-11-23 Leo Liu <sdl.web@gmail.com>
3944
3945 * calendar/cal-china.el (calendar-chinese-from-absolute-for-diary)
3946 (calendar-chinese-to-absolute-for-diary)
3947 (calendar-chinese-mark-date-pattern, diary-chinese-anniversary):
3948 Handle leap months in Chinese calendar. (Bug#18953)
3949
3950 2014-11-22 Alan Mackenzie <acm@muc.de>
3951
3952 Fix error with `mark-defun' and "protected:" in C++ Mode.
3953 Fixes: debbugs:19134.
3954
3955 * progmodes/cc-cmds.el (c-where-wrt-brace-construct): Handle a
3956 return code of (label) from c-beginning-of-decl-1.
3957
3958 2014-11-22 Ulf Jasper <ulf.jasper@web.de>
3959
3960 * net/newst-backend.el (newsticker--sentinel-work):
3961 Tell `libxml-parse-xml-region' to discard comments. Fixes bug#18787.
3962
3963 2014-11-22 Michael Albinus <michael.albinus@gmx.de>
3964
3965 * net/tramp-sh.el (tramp-sh-handle-start-file-process)
3966 (tramp-sh-handle-process-file): Propagate `process-environment'.
3967
3968 * vc/vc-hg.el (vc-hg-state): No special handling for remote files;
3969 Tramp propagates environment variables now.
3970
3971 2014-11-22 Eric S. Raymond <esr@snark>
3972
3973 * vc/vc-filewise.el: New file to isolate code used only by the
3974 file-oriented back ends (SCCS/RCS/CVS/SRC) which should not
3975 live in vc.el and certainly not in vc-hooks.el.
3976
3977 * vc/vc-hooks.el, vc-rcs.el, vc-sccs.el: vc-name -> vc-master-name.
3978 This is preparatory to isolating all the 'master' functions
3979 used only by the file-oriented back ends. With this done first,
3980 the substantive diffs will be easier to read.
3981
3982 2014-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
3983
3984 * play/morse.el (nato-alphabet): Mark URL in docstring in a way
3985 that is recognized by `help-mode'.
3986
3987 2014-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
3988
3989 * desktop.el (desktop-create-buffer): Use activate-mark to set
3990 `mark-active' (bug#19058).
3991
3992 2014-11-21 Eric S. Raymond <esr@snark>
3993
3994 * vc/vc-src.el (vc-src-state): Fix bug that produced spurious
3995 nil state.
3996
3997 2014-11-21 Eli Zaretskii <eliz@gnu.org>
3998
3999 * vc/vc.el (vc-deduce-fileset): Support invocation from
4000 *vc-change-log* buffer. (Bug#19084)
4001
4002 2014-11-13 Matthew Leach <matthew@mattleach.net>
4003
4004 * arc-mode.el (archive-visit-single-files): New.
4005 (archive-mode): Visit file if archive contains a single file.
4006 (Bug#1702)
4007
4008 2014-11-21 Ulrich Müller <ulm@gentoo.org>
4009
4010 * vc/vc.el: Fix a typo in the commentary.
4011
4012 2014-11-20 Eric S. Raymond <esr@snark.thyrsus.com>
4013
4014 * vc/vc-src.el, vc/vc.el: Added support for SRC. Needs more
4015 testing and a real log-view mode.
4016
4017 * vc/vc-bzr.el, vc/vc-cvs.el, vc/vc-dav.el, vc/vc-git.el:
4018 * vc/vc-hg.el, vc/vc-mtn.el, vc/vc-rcs.el, vc/vc-sccs.el:
4019 * vc/vc-svn.el, vc/vc.el: Remove editable argument from the backend
4020 checkout methods; where it matters (which is only in SCCS and RCS)
4021 files are always checked out editable. This may actually have
4022 been dynamically true already - it looks like the vc-next-action
4023 code evolved past visiting the other case. Tested with RCS.
4024
4025 * vc/vc-arch.el, vc/vc-bzr.el, vc/vc-cvs.el, vc/vc-dav.el:
4026 * vc/vc-git.el, vc/vc-hg.el, vc/vc-mtn.el, vc/vc-rcs.el:
4027 * vc/vc-sccs.el, vc/vc-svn.el, vc/vc.el: Remove never-used rev
4028 argument from the backend checkin methods. Only the RCS, SCCS,
4029 and CVS back ends tried to do anything with it, and that code was
4030 never exercised. Chiseling away the cruft of decades...
4031
4032 2014-11-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
4033
4034 * net/eww.el (eww-render): Remove a no-op :title setting.
4035
4036 2014-11-19 Ivan Shmakov <ivan@siamics.net>
4037
4038 * net/eww.el (eww-history-limit): New variable.
4039 (eww-save-history): Use it (bug#19105).
4040 (eww-reload): Reload the page in the right buffer.
4041
4042 2014-11-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
4043
4044 * net/eww.el (eww-desktop-misc-data): Use `cl-remove-duplicates'.
4045
4046 2014-11-19 Ivan Shmakov <ivan@siamics.net>
4047
4048 * net/eww.el (eww-desktop-remove-duplicates)
4049 (eww-restore-desktop, eww-restore-reload-prompt): New variables.
4050 (eww-mode): Set up desktop mode (bug#18010).
4051 (eww-desktop-data-save, eww-desktop-data-1)
4052 (eww-desktop-history-duplicate, eww-desktop-misc-data)
4053 (eww-restore-desktop): New functions.
4054
4055 2014-11-19 Eli Zaretskii <eliz@gnu.org>
4056
4057 * vc/vc.el (vc-log-internal-common): Turn on log-view-mode in the
4058 correct buffer. (Bug#19101)
4059
4060 2014-11-19 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
4061
4062 * vc/vc-git.el (vc-git-diff): Use "difftool -x diff" with
4063 `diff-switches' if `vc-git-diff-switches' is nil. (Bug#19099)
4064
4065 2014-11-19 Artur Malabarba <bruce.connor.am@gmail.com>
4066
4067 * ido.el (ido-bury-buffer-at-head): New command.
4068 (ido-buffer-completion-map): Bind it to C-S-b.
4069
4070 2014-11-18 Juri Linkov <juri@linkov.net>
4071
4072 * simple.el (next-line-or-history-element): Wrap next-line
4073 in with-no-warnings.
4074 (previous-line-or-history-element): Wrap previous-line
4075 in with-no-warnings.
4076
4077 2014-11-18 Juri Linkov <juri@linkov.net>
4078
4079 * progmodes/grep.el (grep-compute-defaults):
4080 Compute grep-highlight-matches before its use.
4081
4082 2014-11-18 Juri Linkov <juri@linkov.net>
4083
4084 * replace.el (query-replace-from-to-separator): Turn defvar into
4085 defcustom. Wrap char-displayable-p in ignore-errors because an
4086 attempt to autoload char-displayable-p fails during pre-loading.
4087 Move (propertize "\0" ... 'separator t) out of customizable part
4088 to query-replace-read-from.
4089 (query-replace-read-from): Call custom-reevaluate-setting on
4090 query-replace-from-to-separator to reevaluate the separator
4091 depending on the return value of char-displayable-p.
4092 http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg00466.html
4093
4094 2014-11-18 Juri Linkov <juri@linkov.net>
4095
4096 * bindings.el (minibuffer-local-map): Rebind [down] from
4097 next-history-element to next-line-or-history-element, and [up]
4098 from previous-history-element to previous-line-or-history-element.
4099
4100 * simple.el (next-line-or-history-element)
4101 (previous-line-or-history-element): New commands.
4102 http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg00822.html
4103
4104 2014-11-18 Leo Liu <sdl.web@gmail.com>
4105
4106 * emacs-lisp/nadvice.el (define-advice): New macro.
4107 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
4108 Add define-advice.
4109 (lisp-font-lock-keywords-1): Add define-advice.
4110
4111 2014-11-18 Daiki Ueno <ueno@gnu.org>
4112
4113 * epg.el (epg-context): New slot EDIT-CALLBACK.
4114 (epg--process-filter): Call EDIT-CALLBACK when editing a key.
4115 (epg-reset): Reset EDIT-CALLBACK of the context.
4116 (epg-start-edit-key): New function.
4117 (epg-edit-key): New function.
4118
4119 2014-11-18 Paul Eggert <eggert@cs.ucla.edu>
4120
4121 Port new time stamp handling to Emacs 23.2.
4122 This fix is for Gnus. Reported by Katsumi Yamaoka.
4123 * calendar/time-date.el (time-add, time-subtract, time-less-p):
4124 Use eval-and-compile, not eval-when-compile.
4125
4126 2014-11-18 Daiki Ueno <ueno@gnu.org>
4127
4128 * epg.el (epg-context-set-passphrase-callback)
4129 (epg-context-set-progress-callback): Check if the CALLBACK
4130 argument is a function, instead of a cons.
4131
4132 2014-11-18 Daiki Ueno <ueno@gnu.org>
4133
4134 * epa-file.el (epa-file-insert-file-contents)
4135 (epa-file-write-region): Remove redundant check of
4136 epa-pinentry-mode.
4137 * epa.el (epa-sign-file, epa-encrypt-file, epa-decrypt-region)
4138 (epa-sign-region, epa-encrypt-region): Remove redundant check of
4139 epa-pinentry-mode.
4140
4141 2014-11-18 Daiki Ueno <ueno@gnu.org>
4142
4143 * epa-file.el (epa-file-insert-file-contents): Don't show
4144 "*Error*" buffer if input file does not exist.
4145 Reported by Herbert J. Skuhra.
4146
4147 2014-11-18 Paul Pogonyshev <pogonyshev@gmail.com>
4148 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
4149
4150 * progmodes/cc-langs.el: Support some of the new keywords in C++11.
4151 An alternative version of the patch from bug#13871.
4152 (c-operators): Add "alignof".
4153 (c-primitive-type-kwds): Add "char16_t", "char32_t".
4154 (c-type-modifier-kwds): Add "constexpr", "noexcept".
4155 (c-modifier-kwds): Add "thread_local".
4156 (c-constant-kwds): Add "nullptr".
4157
4158 2014-11-17 Michal Nazarewicz <mina86@mina86.com>
4159
4160 * textmodes/tildify.el (tildify-pattern, tildify-space-string):
4161 New variables for specifying tildify pattern and representation of
4162 a hard space -- a no-break space by default -- respectively.
4163 Being buffer-local they are much easier to handle than
4164 `tildify-string-alist' and `tildify-pattern-alist' respectively
4165 that have been used so far. They also works better with derived
4166 modes.
4167 (tildify-foreach-region-function): New variable specifying
4168 a function determining portions of buffer that should be
4169 tildified. It allows major modes to create a filtering function
4170 more elaborate than a set of regular expressions. Initialised to
4171 `tildify--deprecated-ignore-evironments' by default to handle now
4172 deprecated `tildify-ignored-environments-alist' variable.
4173 (tildify--foreach-region): A new function that takes
4174 `tildify-foreach-region-function' into account and calls callback
4175 for regions of the buffer that should be tildified.
4176 (tildify-foreach-ignore-environments): A new function which can be
4177 partially applied and used as `tildify-foreach-region-function'.
4178 (tildify-ignored-environments-alist, tildify-pattern)
4179 (tildify-string-alist, tildify--pick-alist-entry): Mark as obsolete.
4180 (tildify--find-env): Rename from `tildify-find-env' and mark as
4181 obsolete.
4182 (tildify--deprecated-ignore-evironments): New function,
4183 immediately marked as obsolete, used to handle deprecated
4184 `tildify-ignored-environments-alist'.
4185
4186 * textmodes/tex-mode.el (tex-common-initialization):
4187 Set `tildify-space-string' and `tildify-foreach-region-function'
4188 variables in all variants of TeX mode since `tildify-string-alist'
4189 and `tildify-ignored-environments-alist' are now empty by default.
4190
4191 * nxml/nxml-mode.el (nxml-mode): Ditto in `nxml-mode'.
4192 If encoding supports it use no-break space instead of character
4193 entity; this changes previous default which used a numeric
4194 reference.
4195
4196 * textmodes/sgml-mode.el (sgml-mode): ditto in `sgml-mode'.
4197 If encoding does not support no-break space, use numeric reference;
4198 this changes previous default which used named entity (“&nbsp;”)
4199 in HTML mode.
4200
4201 2014-11-17 Ulf Jasper <ulf.jasper@web.de>
4202
4203 * calendar/icalendar.el (icalendar-export-alarms):
4204 New customizable variable. (Bug#5433)
4205 (icalendar-export-region): Export alarms as specified in
4206 `icalendar-export-alarms'.
4207 (icalendar--create-ical-alarm, icalendar--do-create-ical-alarm):
4208 New functions for exporting alarms.
4209
4210 2014-11-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
4211
4212 * bindings.el (search-map): Move `eww-search-words' to `M-s M-w'.
4213
4214 2014-11-17 Paul Eggert <eggert@cs.ucla.edu>
4215
4216 Port new time stamp handling to old Emacs and to XEmacs.
4217 This is needed for Gnus, which copies time-date.el and which
4218 runs on older Emacs implementations.
4219 * calendar/time-date.el (with-decoded-time-value):
4220 Handle 'nil' and floating-point arg more compatibly with new Emacs.
4221 (encode-time-value, with-decoded-time-value):
4222 Obsolete only if new Emacs.
4223 (time-add, time-subtract, time-less-p): Define if not new Emacs.
4224
4225 Improve time stamp handling, and be more consistent about it.
4226 This implements a suggestion made in:
4227 http://lists.gnu.org/archive/html/emacs-devel/2014-10/msg00587.html
4228 Among other things, this means timer.el no longer needs to
4229 autoload the time-date module.
4230 * allout-widgets.el (allout-elapsed-time-seconds): Doc fix.
4231 * arc-mode.el (archive-ar-summarize):
4232 * calendar/time-date.el (seconds-to-time, days-to-time, time-since):
4233 * emacs-lisp/timer.el (timer-relative-time, timer-event-handler)
4234 (run-at-time, with-timeout-suspend, with-timeout-unsuspend):
4235 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
4236 * proced.el (proced-time-lessp):
4237 * timezone.el (timezone-time-from-absolute):
4238 * type-break.el (type-break-schedule, type-break-time-sum):
4239 Simplify by using new functionality.
4240 * calendar/cal-dst.el (calendar-next-time-zone-transition):
4241 Do not return time values in obsolete and undocumented (HI . LO)
4242 format; use (HI LO) instead.
4243 * calendar/time-date.el (with-decoded-time-value):
4244 Treat 'nil' as current time. This is mostly for XEmacs.
4245 (encode-time-value, with-decoded-time-value): Obsolete.
4246 (time-add, time-subtract, time-less-p): Use no-op autoloads, for
4247 XEmacs. Define only if XEmacs, as they're now C builtins in Emacs.
4248 * ldefs-boot.el: Update to match new time-date.el
4249 * proced.el: Do not require time-date.
4250
4251 2014-11-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
4252
4253 * net/eww.el (eww-mode): Make the buffer read-only.
4254 (eww-form-text): Inhibit read-only-ness in text input fields
4255 (bug#16476).
4256
4257 2014-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
4258
4259 * simple.el (execute-extended-command--shorter): Cut search here.
4260 (execute-extended-command): Instead of here.
4261
4262 2014-11-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
4263
4264 * progmodes/python.el (python-mode): Avoid use of set-local to
4265 keep Emacs 24.x compatibility.
4266
4267 2014-11-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
4268
4269 * net/shr.el (shr): Move to the new defgroup `web'.
4270
4271 * net/eww.el (eww): Ditto.
4272
4273 * simple.el (execute-extended-command): Don't show the help
4274 message if the binding isn't significantly shorter than the
4275 M-x command the user typed (bug#19013).
4276
4277 2014-11-16 Ulf Jasper <ulf.jasper@web.de>
4278
4279 * calendar/icalendar.el (icalendar--convert-tz-offset):
4280 Return complete cons when offsets of standard time and daylight saving
4281 time are equal.
4282 (icalendar-export-region): Fix unbound variable warning.
4283
4284 2014-11-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
4285
4286 * progmodes/python.el (run-python): Allow CMD to be optional and
4287 default it to a safe command, even for Windows. (bug#18596)
4288
4289 2014-11-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
4290
4291 * progmodes/python.el (python-shell-calculate-command):
4292 Rename from python-shell-parse-command. Cleanup.
4293 (run-python, run-python-internal): Use it.
4294 (python-shell-calculate-pythonpath): Rename from
4295 python-new-pythonpath.
4296 (python-shell-calculate-process-environment): Use it.
4297 (python-shell-calculate-exec-path): Add comment.
4298
4299 2014-11-16 Thierry Banel <tbanelwebmin@free.fr> (tiny change)
4300
4301 * calc/calc-arith.el (math-max-list, math-min-list): Fix bug
4302 for date handling.
4303
4304 2014-11-16 Andreas Schwab <schwab@linux-m68k.org>
4305
4306 * version.el (emacs-repository-get-version): Use git rev-parse
4307 instead of git log.
4308
4309 2014-11-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
4310
4311 * progmodes/python.el (python-indent-calculate-levels):
4312 Fix indentation behavior multiline dedenter statement. (Bug#18432)
4313
4314 2014-11-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
4315
4316 * progmodes/python.el (python-indent-region):
4317 Use python-indent-line and skip special cases. (Bug#18843)
4318
4319 2014-11-16 Peder O. Klingenberg <peder@klingenberg.no>
4320
4321 * mail/emacsbug.el (report-emacs-bug): Make a better guess at
4322 envelope-from when reporting through sendmail (bug#19054).
4323
4324 2014-11-16 Oscar Fuentes <ofv@wanadoo.es>
4325
4326 Add faces for the VC modeline state indicator.
4327 * vc/vc-hooks.el:
4328 (vc-state-faces, vc-state-base-face)
4329 (vc-up-to-date-state, vc-needs-update-state)
4330 (vc-locked-state, vc-locally-added-state)
4331 (vc-conflict-state, vc-removed-state)
4332 (vc-missing-state, vc-edited-state):
4333 New faces.
4334 (vc-default-mode-line-string): Use them
4335
4336 2014-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
4337
4338 * emacs-lisp/backquote.el (backquote-process): Optimize away ",'".
4339
4340 2014-11-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
4341
4342 * net/eww.el (eww-search-words): Mention `eww-search-prefix'.
4343
4344 2014-11-15 Fabián Ezequiel Gallina <fgallina@gnu.org>
4345
4346 * progmodes/python.el (python-eldoc-setup-code): Enhance string
4347 type checks, simplify printing. (Bug#18962)
4348
4349 2014-11-14 Ivan Andrus <darthandrus@gmail.com>
4350
4351 * progmodes/python.el (python-shell-font-lock-kill-buffer):
4352 (python-shell-font-lock-with-font-lock-buffer)
4353 (python-shell-get-buffer, python-ffap-module-path):
4354 Use `derived-mode-p' instead of equality test on `major-mode'.
4355
4356 2014-11-14 Fabián Ezequiel Gallina <fgallina@gnu.org>
4357
4358 * progmodes/python.el (python-shell-virtualenv-root): Rename from
4359 python-shell-virtualenv-path.
4360 (python-shell-internal-get-process-name)
4361 (python-shell-calculate-process-environment)
4362 (python-shell-calculate-exec-path): Use it.
4363
4364 2014-11-14 Eli Zaretskii <eliz@gnu.org>
4365
4366 * bindings.el (search-map): Fix last change: don't use 'kbd' in
4367 bindings.el, since it is not yet loaded when bindings.el is
4368 preloaded.
4369
4370 2014-11-14 Fabián Ezequiel Gallina <fgallina@gnu.org>
4371
4372 * progmodes/python.el (python-shell-completion-get-completions):
4373 Fix previous merge.
4374
4375 2014-11-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
4376
4377 * net/eww.el (eww-render): Don't set the title to the URL.
4378
4379 2014-11-13 Ulrich Müller <ulm@gentoo.org>
4380
4381 * version.el (emacs-repository-get-version): Call `git log'
4382 command with proper format argument (bug#19049).
4383
4384 2014-11-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
4385
4386 * bindings.el (search-map): Bind M-s M-s to `eww-search-words'.
4387
4388 2014-11-14 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4389
4390 * net/eww.el (eww-search-words): New command (bug#16258).
4391
4392 2014-11-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4393
4394 * net/shr.el (shr-inhibit-images): Add a doc string.
4395
4396 * net/eww.el (eww-after-render-hook): New variable.
4397 (eww-render): Use it.
4398
4399 * net/shr.el (shr-descend): Don't descend further than
4400 `max-specpdl-size' allows (bug#16587).
4401 (shr-depth): New variable.
4402 (shr-warning): New variable.
4403
4404 2014-11-13 Ivan Shmakov <ivan@siamics.net>
4405
4406 * net/shr.el (shr-parse-base): Handle <base href=""> correctly.
4407 (shr-expand-url): Expand absolute URLs correctly (bug#17958).
4408
4409 2014-11-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4410
4411 * net/eww.el (eww): Add comment to clarify.
4412
4413 * net/shr.el (shr-parse-image-data): Remove blocked bits from
4414 external SVG images.
4415 (shr-tag-object): Display images in <object> forms (bug#16244).
4416 (shr-tag-table): Also insert <objects> after the tables.
4417
4418 2014-11-13 Michael Albinus <michael.albinus@gmx.de>
4419
4420 * vc/vc-hg.el (vc-hg-state): Disable pager. (Bug#18940)
4421
4422 2014-11-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4423
4424 * net/eww.el (eww-form-file): Fix version number.
4425
4426 2014-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
4427
4428 * net/eww.el (eww-form-file): :type isn't a valid `defface' keyword.
4429
4430 2014-11-10 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4431
4432 * net/eww.el(eww-form-file(defface)): New defface of file upload form.
4433 (eww-submit-file): New key map of file upload.
4434 (eww-form-file): New file upload button and file name context.
4435 (eww-select-file): Select file and display selected file name.
4436 (eww-tag-input): Handle input tag of file type.
4437 (eww-update-field): Add point offset.
4438 (eww-submit): Add submit with multipart/form-data.
4439
4440 2014-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
4441
4442 * net/eww.el (eww-render, eww-display-html, eww-setup-buffer):
4443 Allow taking a buffer to render data in. This allows using several
4444 eww buffers (bug#16211).
4445
4446 2014-11-10 Charles Rendleman <carendle@gmail.com> (tiny change)
4447
4448 * net/eww.el (eww-download-callback): Save only the file contents,
4449 not the headers.
4450
4451 2014-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
4452
4453 * net/eww.el (eww-data): New plist to store all the data relevant
4454 to a single page, used throughout the file instead of the
4455 variables `eww-current-url', `eww-current-dom',
4456 `eww-current-source', and `eww-current-title'.
4457 (eww-readable): Copy over pertinent data from the parent page.
4458 (eww-save-history): Don't let the history grow infinitely.
4459
4460 * net/eww.el: Remove `eww-next-url', `eww-previous-url',
4461 `eww-up-url', `eww-home-url', `eww-start-url' and
4462 `eww-contents-url' and put the data into the `eww-data' plist.
4463 This allow restoring these values after going back in the history.
4464
4465 2014-11-10 Sylvain Chouleur <sylvain.chouleur@gmail.com> (tiny change)
4466
4467 Allow VTIMEZONE where daylight and standard time zones are equal.
4468 See: http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg00494.html
4469 * calendar/icalendar.el (icalendar--convert-tz-offset):
4470 Support timezone without daylight saving time.
4471
4472 2014-11-10 Glenn Morris <rgm@gnu.org>
4473
4474 * startup.el (command-line): Handle nil elements in load-path.
4475
4476 2014-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
4477
4478 * help.el (view-lossage): Include the actual commands run.
4479
4480 2014-11-10 Dmitry Gutov <dgutov@yandex.ru>
4481
4482 * vc/vc-dir.el (vc-dir-hide-state): Also hide `ignored' items when
4483 no state is specified. (Bug#18964)
4484
4485 2014-11-09 Eric Ludlam <zappo@gnu.org>
4486
4487 * emacs-lisp/eieio-custom.el (eieio-customize-object):
4488 Set eieio-cog (current group) to g, which is an improved form of input
4489 group.
4490
4491 2014-11-09 Juri Linkov <juri@jurta.org>
4492
4493 * isearch.el (isearch-message-prefix): Show "Multi-file" and
4494 "Multi-buffer" instead of "Multi". (Bug#13592)
4495
4496 * misearch.el (multi-isearch-file-list):
4497 Autoload multi-isearch-buffer-list and multi-isearch-file-list.
4498 (multi-isearch-end): Reset multi-isearch-buffer-list and
4499 multi-isearch-file-list to nil.
4500
4501 2014-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4502
4503 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
4504 Don't call byte-compile-preprocess since the result will go through
4505 cconv.
4506 (byte-compile-output-docform): Handle uninterned `name' correctly.
4507 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Use interned name
4508 to circumvent byte-compiler bug.
4509
4510 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix typo.
4511 (macroexp--compiler-macro): Remove left-over debug code.
4512
4513 * emacs-lisp/cl-extra.el (cl-get): Silence compiler warning.
4514
4515 2014-11-08 Juri Linkov <juri@jurta.org>
4516
4517 * simple.el (shell-command): Use buffer-name when output-buffer is
4518 a buffer. (Bug#18096)
4519
4520 2014-11-08 Juri Linkov <juri@jurta.org>
4521
4522 * minibuffer.el (minibuffer-completion-help): Compare this-command
4523 with completion-at-point. (Bug#17809)
4524
4525 2014-11-08 Glenn Morris <rgm@gnu.org>
4526
4527 * emacs-lisp/bytecomp.el (byte-compile-report-error):
4528 Allow the argument to be a string. Due to the vague doc,
4529 it was already being used this way.
4530
4531 2014-11-08 Michael Albinus <michael.albinus@gmx.de>
4532
4533 * net/tramp.el (tramp-check-cached-permissions): Include hop in
4534 the constructed Tramp file name. (Bug#18943)
4535
4536 2014-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4537
4538 * emulation/cua-base.el (cua--select-keymaps): Use region-active-p
4539 (bug#18952).
4540 (cua-set-mark, cua--post-command-handler-1):
4541 * emulation/cua-gmrk.el (cua-cancel-global-mark): Same.
4542
4543 2014-11-08 Michael Albinus <michael.albinus@gmx.de>
4544
4545 * files.el (file-name-non-special): Wrap the call of
4546 `insert-file-contents' by `unwind-protect', in order to set the
4547 buffer's file name anyway. (Bug#18891)
4548
4549 2014-11-08 Alan Mackenzie <acm@muc.de>
4550
4551 Fix wrong bound to c-font-lock-declarators. Fixes bug #18948.
4552 * progmodes/cc-fonts.el (c-font-lock-declarations):
4553 Pass "(point-max)" as bound to c-font-lock-declarators, not "limit", as
4554 the buffer is sometimes narrowed to less than "limit" (e.g., in
4555 the presence of macros).
4556
4557 2014-11-08 Michael Albinus <michael.albinus@gmx.de>
4558
4559 * net/tramp.el (tramp-error-with-buffer): Show connection buffer
4560 only when message appeared in minibuffer. (Bug#18891)
4561
4562 * net/tramp-adb.el (tramp-adb-handle-file-attributes):
4563 * net/tramp-gvfs.el (tramp-gvfs-handle-file-attributes):
4564 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Return nil in
4565 case of errors.
4566
4567 2014-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4568
4569 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
4570 Don't compile before eval in `eval-and-compile'.
4571 (byte-compile-arglist-warn): Add check for defining macros after their
4572 first use. Check call use even if the function is fboundp.
4573
4574 2014-11-08 Richard Stallman <rms@gnu.org>
4575
4576 * mail/rmail.el (rmail-epa-decrypt): Detect armor with line prefixes.
4577 Check more carefully for mime-part specified character set.
4578 Check for mime-part Content Transfer Encoding.
4579 Notify if no armor found.
4580
4581 2014-11-08 Martin Rudalics <rudalics@gmx.at>
4582
4583 * faces.el (face-set-after-frame-default): Enable running
4584 `window-configuration-change-hook'.
4585
4586 2014-11-07 Juri Linkov <juri@jurta.org>
4587
4588 * replace.el: History for query replace pairs.
4589 (query-replace-defaults): Promote to a list of cons cell. Doc fix.
4590 (query-replace-from-to-separator): New variable.
4591 (query-replace-read-from): Let-bind query-replace-from-to-history
4592 to a list of FROM-TO strings created from query-replace-defaults
4593 and separated by query-replace-from-to-separator. Use it as
4594 the history while reading from the minibuffer. Split the returned
4595 string by the separator to get FROM and TO parts, and add them
4596 to the history variables.
4597 (query-replace-read-to): Add FROM-TO pairs to query-replace-defaults.
4598 (query-replace-regexp-eval): Let-bind query-replace-defaults to nil.
4599 http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg00253.html
4600
4601 * isearch.el (isearch-text-char-description): Keep characters
4602 intact and put formatted strings with the `display' property.
4603
4604 2014-11-07 Martin Rudalics <rudalics@gmx.at>
4605
4606 * cus-start.el (frame-resize-pixelwise): Fix group.
4607 (frame-inhibit-implied-resize): Add entry.
4608
4609 2014-11-07 Daiki Ueno <ueno@gnu.org>
4610
4611 * epa.el (epa-pinentry-mode): New user option.
4612 (epa-sign-file, epa-encrypt-file, epa-decrypt-region)
4613 (epa-sign-region, epa-encrypt-region): Respect epa-pinentry-mode.
4614 * epa-file.el (epa-file-insert-file-contents)
4615 (epa-file-write-region): Respect epa-pinentry-mode.
4616
4617 2014-11-07 Daiki Ueno <ueno@gnu.org>
4618
4619 * epg.el (epg--list-keys-1): Ignore fields after the 15th field
4620 (bug#18979). Reported by Hideki Saito.
4621
4622 2014-11-06 Daiki Ueno <ueno@gnu.org>
4623
4624 * emacs-lisp/package.el (package--display-verify-error): New function.
4625 (package--check-signature): Use it to display output sent to stderr.
4626
4627 2014-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
4628
4629 * subr.el (pop): Don't call the getter twice (bug#18968).
4630
4631 * emacs-lisp/macroexp.el (macroexp--expand-all): Optimize away trivial
4632 uses of `funcall'.
4633
4634 2014-11-06 Daiki Ueno <ueno@gnu.org>
4635
4636 * epa.el (epa-error-buffer): New variable.
4637 (epa-display-error): New function.
4638 (epa-decrypt-file, epa-verify-file, epa-verify-region)
4639 (epa-delete-keys, epa-import-keys): Display output sent to stderr.
4640 (epa-sign-file, epa-sign-region, epa-encrypt-region)
4641 (epa-export-keys, epa-insert-keys): Display output sent to stderr.
4642 Use setf instead of epg-context-set-*.
4643 * epa-file.el (epa-file-insert-file-contents):
4644 Use epa-display-error instead of epa-display-info. Mimic the behavior
4645 of jka-compr when decryption program is not found.
4646 (epa-file-write-region): Use epa-display-error instead of
4647 epa-display-info.
4648
4649 2014-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
4650
4651 * vc/vc.el (vc-region-history): New command.
4652 (vc-print-log-internal): Use cl-some.
4653
4654 * vc/vc-git.el (vc-git-region-history): New function.
4655 (vc-git-region-history-mode-map)
4656 (vc-git--log-view-long-font-lock-keywords)
4657 (vc-git-region-history-font-lock-keywords): New vars.
4658 (vc-git-region-history-font-lock): New function.
4659 (vc-git-region-history-mode): New major mode.
4660
4661 2014-11-05 Tassilo Horn <tsdh@gnu.org>
4662
4663 * net/eww.el (subr-x): Require subr-x at compile-time because eww
4664 uses string-trim.
4665
4666 2014-11-05 Daiki Ueno <ueno@gnu.org>
4667
4668 * epg.el (epg-context): Add new slot ERROR-OUTPUT.
4669 (epg-error-output): New buffer-local variable.
4670 (epg--start): Initialize epg-error-output.
4671 (epg--process-filter): Record output lines sent to stderr, in
4672 epg-error-output.
4673 (epg-wait-for-completion): Copy epg-error-output to ERROR-OUTPUT
4674 slot of context.
4675 * epa-file.el (epa-file-insert-file-contents): On error, display
4676 output sent to stderr.
4677 (epa-file-write-region): Likewise.
4678
4679 2014-11-05 Eli Zaretskii <eliz@gnu.org>
4680
4681 * jit-lock.el (jit-lock-stealth-fontify): Be tolerant to nil being
4682 returned by load-average.
4683
4684 2014-11-05 Michael Albinus <michael.albinus@gmx.de>
4685
4686 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer): Don't use
4687 a local copy; setting `inhibit-file-name-handlers' proper might be
4688 more performant. (Bug#18751)
4689
4690 2014-11-05 Glenn Morris <rgm@gnu.org>
4691
4692 * mail/emacsbug.el (report-emacs-bug): No longer include
4693 recent-keys in the report. (Bug#18900)
4694
4695 2014-11-04 Paul Eggert <eggert@cs.ucla.edu>
4696
4697 * mouse.el (mouse-drag-line): Fix misspelling of "right-fringe".
4698
4699 2014-11-04 Teodor Zlatanov <tzz@lifelogs.com>
4700
4701 * net/eww.el (eww): Trim URL with `string-trim'.
4702 Suggested by Vibhav Pant <vibhavp@gmail.com>.
4703
4704 2014-11-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
4705
4706 * net/eww.el (eww-score-readability): Don't count comments positively.
4707
4708 * net/shr.el (shr-retransform-dom): Typo fix.
4709
4710 * net/eww.el (eww-score-readability): Parse SVC images correctly.
4711 (eww-display-html): Don't leave point inside forms.
4712
4713 * net/shr.el: Ditto.
4714
4715 2014-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
4716
4717 * emacs-lisp/edebug.el (edebug-safe-prin1-to-string): Assume that
4718 edebug-prin1-to-string already handles circularity.
4719
4720 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix compiler-macro
4721 autoloading when specified as a lambda.
4722
4723 * simple.el (execute-extended-command--last-typed): New var.
4724 (read-extended-command): Set it.
4725 Don't complete obsolete commands.
4726 (execute-extended-command--shorter-1)
4727 (execute-extended-command--shorter): New functions.
4728 (execute-extended-command): Use them to suggest shorter names.
4729 (indicate-copied-region, deactivate-mark): Use region-active-p.
4730
4731 2014-11-03 Michael Albinus <michael.albinus@gmx.de>
4732
4733 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer): Use a
4734 local copy of FILENAME, when it is remote. (Bug#18751)
4735
4736 * net/tramp-adb.el (tramp-adb-handle-process-file): Do not raise
4737 an error when the command fails; the return code must indicate.
4738 (tramp-adb-send-command-and-check): Fix docstring.
4739
4740 2014-11-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
4741
4742 * net/shr.el (shr-retransform-dom): Don't ignore elements that
4743 have no children like <br />.
4744
4745 * net/eww.el (eww-display-html): Clear `url-queue'.
4746 (eww-display-pdf): New function.
4747 (eww-render): Display PDFs with `doc-view'.
4748 (url-queue): Require `url-queue' to avoid compilation warning.
4749 (eww-colorize-region): Remove duplicate function.
4750 (eww-tag-body): Use `shr-colorize-region'.
4751
4752 2014-11-03 Yoni Rabkin <yrk@gnu.org>
4753
4754 * net/eww.el (eww-list-bookmarks): Autoload.
4755
4756 2014-11-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
4757
4758 * net/shr.el (shr-retransform-dom): Allow several text sub-nodes.
4759
4760 * net/eww.el (eww-display-html): The charset is called `utf-8',
4761 not `utf8'.
4762 (eww-readable): Decode the saved text correctly.
4763 (eww-readable): Save the history before displaying so that we can
4764 go back to the non-readable version.
4765 (eww-display-html): Don't try to decode the text if we've been
4766 passed in a pre-parsed DOM.
4767 (eww-tag-title): Remove newlines and extra whitespace from the
4768 displayed title.
4769
4770 2014-11-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
4771
4772 * net/eww.el (eww-readable): New command and keystroke.
4773
4774 * net/shr.el (shr-retransform-dom): New function.
4775
4776 * net/eww.el (eww-display-html): Set `eww-current-source' in the
4777 correct buffer.
4778 (eww-view-source): Use it.
4779
4780 2014-11-02 Ivan Shmakov <ivan@siamics.net>
4781
4782 * net/eww.el (eww): Recognize colon-delimited IPv6 addresses.
4783 (Bug#18603).
4784
4785 2014-11-02 Brian McKenna <brian@brianmckenna.org> (tiny change)
4786
4787 * net/eww.el (eww-submit): Encode empty form values as "". (Bug#17785).
4788
4789 2014-11-02 Ivan Shmakov <ivan@siamics.net>
4790
4791 * net/eww.el (eww): Allow "file:/file/name" URLs. (Bug#18825).
4792
4793 2014-11-02 Ivan Shmakov <ivan@siamics.net>
4794
4795 * net/eww.el (eww-mode-map): Remove mentions of `eww-quit'.
4796 (Bug#18834).
4797
4798 2014-11-02 Eric Abrahamsen <eric@ericabrahamsen.net>
4799
4800 * emacs-lisp/eieio.el (eieio-edebug-prin1-to-string): Adjust for
4801 use as advice.
4802 (edebug-setup-hook): Advise `edebug-prin1-to-string'. (Bug#18897)
4803
4804 2014-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
4805
4806 * emacs-lisp/pp.el (pp-macroexpand-expression): Use macroexpand-1
4807 (bug#18821).
4808 * progmodes/elisp-mode.el (emacs-lisp-macroexpand): Idem.
4809
4810 2014-11-01 Michael R. Mauger <michael@mauger.com>
4811
4812 * sql.el (sql-mode-oracle-font-lock-keywords): Correct regexp
4813 syntax, add new keywords, and parse longer keywords first.
4814 (sql-redirect-one): Protect against empty command.
4815 (sql-mode, sql-interactive-mode): Set `custom-mode-group' property
4816 to SQL. (Bug#14759)
4817
4818 2014-11-01 Michael R. Mauger <michael@mauger.com>
4819
4820 * sql.el (sql-interactive-mode, sql-stop): Correct fix for
4821 Bug#16814 with let-bind of comint-input-ring variables around read
4822 and save functions.
4823
4824 2014-11-01 Michael Albinus <michael.albinus@gmx.de>
4825
4826 * net/tramp-cache.el (tramp-get-file-property)
4827 (tramp-set-file-property): Check that `tramp-cache-get-count-*'
4828 and `tramp-cache-set-count-*' are bound. Otherwise, there might
4829 be compiler warnings.
4830
4831 * net/tramp-sh.el (tramp-get-remote-uid, tramp-get-remote-gid):
4832 Return -1 respective "UNKNOWN", if uid or gid cannot be determined.
4833
4834 2014-11-01 Eli Zaretskii <eliz@gnu.org>
4835
4836 * progmodes/compile.el (compilation-mode): Turn off deferred
4837 fontifications locally. (Bug#18856)
4838
4839 2014-11-01 Wolfgang Jenkner <wjenkner@inode.at>
4840
4841 * net/tramp-sh.el (tramp-send-command): Fix the case where the
4842 remote-echo connection property is non-nil (bug#18858).
4843
4844 2014-11-01 Stefan Monnier <monnier@iro.umontreal.ca>
4845
4846 * simple.el (newline): Add assertions to try and help catch bug#18913.
4847
4848 * emulation/cua-base.el (cua-delete-region): Use delete-active-region
4849 (bug#18886).
4850 (cua--last-deleted-region-pos, cua--last-deleted-region-text): Remove.
4851
4852 2014-11-01 Kim F. Storm <storm@cua.dk>
4853
4854 Restore cua-delete-copy-to-register-0 and M-v command (bug#18886).
4855 * delsel.el (delete-selection-save-to-register)
4856 (delsel--replace-text-or-position): New vars.
4857 (delete-active-region): Use them.
4858 (delete-selection-repeat-replace-region): New command, moved from
4859 cua-base.el.
4860 * emulation/cua-base.el (cua--repeat-replace-text): Remove var.
4861 (cua-repeat-replace-region): Move command to delsel.el.
4862 (cua--init-keymaps): Update binding accordingly.
4863 (cua-mode): Set delete-selection-save-to-register.
4864
4865 2014-11-01 Alan Mackenzie <acm@muc.de>
4866
4867 Make blink-parens work with a closing template delimiter.
4868 * progmodes/cc-cmds.el (c-electric-lt-gt): Cause a redisplay
4869 before calling blink-paren-function, so as to apply syntax-table
4870 properties to the ">".
4871
4872 2014-11-01 Jan Djärv <jan.h.d@swipnet.se>
4873
4874 * select.el (gui-get-selection): Comment: data-type ignored on NS.
4875
4876 2014-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
4877
4878 * emacs-lisp/macroexp.el (macroexpand-1): New function (bug#18821).
4879 (macroexp--expand-all): Unrelated tweaks.
4880
4881 * emacs-lisp/gv.el (gv-get): Use macroexpand-1.
4882
4883 2014-10-30 Glenn Morris <rgm@gnu.org>
4884
4885 * startup.el (command-line): Remove pointless attempt to avoid
4886 statting the file-system (which expand-file-name doesn't do).
4887
4888 2014-10-30 Daniel Colascione <dancol@dancol.org>
4889
4890 Add "enum class" support to C++ mode.
4891 * progmodes/cc-langs.el (c-after-brace-list-decl-kwds)
4892 (c-after-brace-list-key): New language consts/variables.
4893 * progmodes/cc-engine.el (c-looking-at-decl-block):
4894 Exclude spurious match of "enum struct" from decl-block recognition.
4895 (c-backward-colon-prefixed-type): New function.
4896 (c-backward-over-enum-header): Call above function to extend
4897 recognition of enum structure.
4898
4899 2014-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
4900
4901 * progmodes/cc-defs.el (c--macroexpand-all): New function (bug#18845).
4902 (c-lang-defconst):
4903 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Use it.
4904
4905 2014-10-30 Eli Zaretskii <eliz@gnu.org>
4906
4907 * progmodes/compile.el (compilation-start):
4908 If compilation-scroll-output is non-nil, don't force window-start of
4909 the compilation buffer to be at beginning of buffer. (Bug#18874)
4910
4911 * startup.el (fancy-about-text): Read the entire tutorial, not
4912 just its first 256 bytes. (Bug#18760)
4913
4914 2014-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
4915
4916 * emacs-lisp/bytecomp.el: Require cl-extra (bug#18804).
4917 * emacs-lisp/cl-extra.el: Add missing provide.
4918
4919 * emacs-lisp/bytecomp.el (byte-compile-and-folded): Optimize case where
4920 all args are copyable (bug#18767).
4921 (=, <, >, <=, >=): Re-enable the optimization.
4922
4923 2014-10-29 Glenn Morris <rgm@gnu.org>
4924
4925 * net/rcirc.el (rcirc-fill-column): Unbump :version. Mark :risky.
4926
4927 * version.el (emacs-bzr-version, emacs-bzr-get-version):
4928 Revert 2014-10-26 change.
4929
4930 2014-10-29 Paul Eggert <eggert@cs.ucla.edu>
4931
4932 Simplify use of current-time and friends.
4933 * allout-widgets.el (allout-widgets-hook-error-handler):
4934 * calendar/appt.el (appt-display-message):
4935 * calendar/icalendar.el (icalendar--convert-float-to-ical):
4936 * calendar/timeclock.el (timeclock-in, timeclock-when-to-leave)
4937 (timeclock-last-period, timeclock-day-base):
4938 * eshell/em-ls.el (eshell-ls-file):
4939 * eshell/esh-util.el (eshell-parse-ange-ls):
4940 * generic-x.el (named-database-print-serial):
4941 * net/newst-backend.el (newsticker--get-news-by-url-callback)
4942 (newsticker-get-news, newsticker--sentinel-work)
4943 (newsticker--image-get, newsticker--image-sentinel):
4944 * net/tramp-sh.el (tramp-get-remote-touch):
4945 * progmodes/opascal.el (opascal-debug-log):
4946 * textmodes/remember.el (remember-mail-date)
4947 (remember-store-in-files):
4948 * vc/vc-annotate.el (vc-annotate-display-autoscale)
4949 (vc-default-annotate-current-time):
4950 * vc/vc-bzr.el (vc-bzr-shelve-snapshot):
4951 * vc/vc-cvs.el (vc-cvs-annotate-current-time):
4952 * vc/vc-rcs.el (vc-rcs-annotate-current-time):
4953 Omit unnecessary call to current-time.
4954 * calendar/time-date.el (time-to-seconds) [!float-time]:
4955 * vc/vc-annotate.el (vc-annotate-convert-time):
4956 Use current time if arg is nil, to be compatible with float-time.
4957 (time-date--day-in-year): New function, with most of the guts of
4958 the old time-to-day-in-year.
4959 (time-to-day-in-year): Use it.
4960 (time-to-days): Use it, to avoid decoding the same time stamp twice.
4961 * calendar/timeclock.el (timeclock-time-to-date):
4962 Arg is now optional, like current-time-string.
4963 (timeclock-update-mode-line):
4964 Don't call current-time twice to get the current time stamp,
4965 as this can lead to inconsistent results.
4966 * completion.el (cmpl-hours-since-origin):
4967 * ido.el (ido-time-stamp):
4968 * vc/vc-annotate.el (vc-annotate-convert-time):
4969 Simplify by using float-time.
4970 * completion.el (save-completions-to-file):
4971 Rename local var to avoid confusion.
4972 * net/rcirc.el (rcirc-float-time): Simplify to an alias because
4973 time-to-seconds now behaves like float-time with respect to nil arg.
4974 * subr.el (progress-reporter-do-update):
4975 Don't call float-time unless needed.
4976
4977 2014-10-29 Leo Liu <sdl.web@gmail.com>
4978
4979 * net/rcirc.el (rcirc-fill-column): Use function.
4980 (rcirc-markup-fill): Remove adjustment.
4981
4982 2014-10-28 Christopher Schmidt <ch@ristopher.com>
4983
4984 * calc/calc.el (quick-calc):
4985 * calc/calc-aent.el (calc-do-quick-calc): New argument INSERT.
4986
4987 2014-10-28 Sam Steingold <sds@gnu.org>
4988
4989 * net/rcirc.el (rcirc-fill-column): Allow any symbolic value for
4990 the sake of `window-body-width' (in addition to `frame-width').
4991
4992 2014-10-26 Eric S. Raymond <esr@thyrsus.com>
4993
4994 * version.el: Fix some fallback values to conform to the actual
4995 release number.
4996
4997 2014-10-25 Eric S. Raymond <esr@thyrsus.com>
4998
4999 * Makefile.in: Change some production names so they're neutral
5000 about the repository type.
5001
5002 2014-10-25 Michael Albinus <michael.albinus@gmx.de>
5003
5004 * net/tramp-gvfs.el (tramp-gvfs-methods-mounttracker)
5005 (tramp-gvfs-mountlocation-signature): Check `tramp-gvfs-enabled'
5006 during initialization. (Bug#18774)
5007
5008 2014-10-25 Vincent Belaïche <vincentb1@users.sourceforge.net>
5009
5010 * ses.el (macroexp): Add require for this package, so that
5011 function `ses--cell' gets macroexp-quote --- this change was
5012 supposed to be in my previous commit, but left out by mistake.
5013 (ses--cell): Do not make formula a macroexp-quote of value when
5014 value, not formula, is *skip*.
5015
5016 2014-10-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
5017
5018 * ses.el (macroexp): Add require for this package, so that function
5019 `ses--cell gets macroexp-quote.
5020 (ses--cell): Makes formula a macroexp-quote of value when formula
5021 is nil. The rationale of this changr is to allow in the future
5022 shorter SES files, e.g. we could have only `(ses-cell A1 1.0)'
5023 instead of `(ses-cell A1 1.0 1.0 nil REFLIST)'. In such a case
5024 reference list REFLIST would be re-computed after load --- thus
5025 trading off load time against file size.
5026
5027 * emacs-lisp/package.el (package--alist-to-plist-args):
5028 Use macroexp-quote instead of a lambda expression which has the same
5029 content as macroexp-quote.
5030 (macroexp): Add require for this package, so that function
5031 `package--alist-to-plist-args' gets macroexp-quote.
5032
5033 * emacs-lisp/macroexp.el (macroexp-quote): New defun.
5034
5035 2014-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
5036
5037 * term/ns-win.el (ns-store-cut-buffer-internal)
5038 (ns-copy-including-secondary): Use gui-set-selection (bug#18816).
5039
5040 2014-10-24 Martin Rudalics <rudalics@gmx.at>
5041
5042 * mouse.el (mouse-drag-line): Don't use mouse-pixel-position.
5043 Calculate increment from last position instead of window edge.
5044 Add right- and bottom-divider bindings to transient map.
5045
5046 2014-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
5047
5048 * emacs-lisp/cl-macs.el (cl-defstruct): Define an internal predicate
5049 even if :predicate was nil, for the benefit of typep.
5050 Record the name of the predicate for typep's use.
5051 (cl--make-type-test): Use pcase. Obey new
5052 cl-deftype-satisfies property.
5053
5054 * epg.el: Use cl-defstruct.
5055 (epg-make-data-from-file, epg-make-data-from-string, epg-data-file)
5056 (epg-data-string): Define via cl-defstruct.
5057 (epg--gv-nreverse): New macro.
5058 (epg-context--make): New constructor (provided vi cl-defstruct).
5059 (epg-make-context): Rewrite using it.
5060 (epg-context-protocol, epg-context-program)
5061 (epg-context-home-directory, epg-context-armor, epg-context-textmode)
5062 (epg-context-include-certs, epg-context-cipher-algorithm)
5063 (epg-context-digest-algorithm, epg-context-compress-algorithm)
5064 (epg-context-passphrase-callback, epg-context-progress-callback)
5065 (epg-context-signers, epg-context-sig-notations, epg-context-process)
5066 (epg-context-output-file, epg-context-result, epg-context-operation)
5067 (epg-context-pinentry-mode): Define using cl-defstruct.
5068 (epg-context-set-protocol, epg-context-set-program)
5069 (epg-context-set-include-certs, epg-context-set-cipher-algorithm)
5070 (epg-context-set-digest-algorithm)
5071 (epg-context-set-sig-notations, epg-context-set-process)
5072 (epg-context-set-output-file, epg-context-set-result)
5073 (epg-context-set-operation, epg-context-set-pinentry-mode)
5074 (epg-context-set-compress-algorithm): Remove. Use setf instead.
5075 (epg-context-set-armor, epg-context-set-textmode)
5076 (epg-context-set-signers): Redefine using setf
5077 and declare as obsolete.
5078 (epg-context-set-passphrase-callback)
5079 (epg-context-set-progress-callback): Use setf.
5080 (epg-signature-notations): Rename from epg-sig-notations.
5081 (epg-make-signature, epg-signature-status, epg-signature-key-id)
5082 (epg-signature-validity, epg-signature-fingerprint)
5083 (epg-signature-creation-time, epg-signature-expiration-time)
5084 (epg-signature-pubkey-algorithm, epg-signature-digest-algorithm)
5085 (epg-signature-class, epg-signature-version): Define vi cl-defstruct.
5086 (epg-signature-set-status, epg-signature-set-key-id)
5087 (epg-signature-set-validity, epg-signature-set-fingerprint)
5088 (epg-signature-set-creation-time, epg-signature-set-expiration-time)
5089 (epg-signature-set-pubkey-algorithm)
5090 (epg-signature-set-digest-algorithm, epg-signature-set-class)
5091 (epg-signature-set-version, epg-signature-set-notations): Remove.
5092 Use setf instead.
5093 (epg-make-new-signature, epg-new-signature-type)
5094 (epg-new-signature-pubkey-algorithm)
5095 (epg-new-signature-digest-algorithm, epg-new-signature-class)
5096 (epg-new-signature-creation-time, epg-new-signature-fingerprint):
5097 Define using cl-defstruct.
5098 (epg-make-key, epg-key-owner-trust, epg-key-sub-key-list)
5099 (epg-key-user-id-list): Define using cl-defstruct.
5100 (epg-key-set-sub-key-list, epg-key-set-user-id-list): Remove.
5101 Use setf instead.
5102 (epg-make-sub-key, epg-sub-key-validity, epg-sub-key-capability)
5103 (epg-sub-key-secret-p, epg-sub-key-algorithm, epg-sub-key-length)
5104 (epg-sub-key-id, epg-sub-key-creation-time)
5105 (epg-sub-key-expiration-time, epg-sub-key-fingerprint): Define using
5106 cl-defstruct.
5107 (epg-sub-key-set-fingerprint): Remove. Use setf instead.
5108 (epg-make-user-id, epg-user-id-validity, epg-user-id-string)
5109 (epg-user-id-signature-list): Define using cl-defstruct.
5110 (epg-user-id-set-signature-list): Remove. Use setf instead.
5111 (epg-make-key-signature, epg-key-signature-validity)
5112 (epg-key-signature-pubkey-algorithm, epg-key-signature-key-id)
5113 (epg-key-signature-creation-time, epg-key-signature-expiration-time)
5114 (epg-key-signature-user-id, epg-key-signature-class)
5115 (epg-key-signature-exportable-p): Define using cl-defstruct.
5116 (epg-make-sig-notation, epg-sig-notation-name)
5117 (epg-sig-notation-value, epg-sig-notation-human-readable)
5118 (epg-sig-notation-critical): Define using cl-defstruct.
5119 (epg-sig-notation-set-value): Remove. Use setf instead.
5120 (epg-make-import-status, epg-import-status-fingerprint)
5121 (epg-import-status-reason, epg-import-status-new)
5122 (epg-import-status-user-id, epg-import-status-signature)
5123 (epg-import-status-sub-key, epg-import-status-secret): Define using
5124 cl-defstruct.
5125 (epg-make-import-result, epg-import-result-considered)
5126 (epg-import-result-no-user-id, epg-import-result-imported)
5127 (epg-import-result-imported-rsa, epg-import-result-unchanged)
5128 (epg-import-result-new-user-ids, epg-import-result-new-sub-keys)
5129 (epg-import-result-new-signatures, epg-import-result-new-revocations)
5130 (epg-import-result-secret-read, epg-import-result-secret-imported)
5131 (epg-import-result-secret-unchanged, epg-import-result-not-imported)
5132 (epg-import-result-imports): Define using cl-defstruct.
5133
5134 * emacs-lisp/package.el: Require EPG during macroexpansion.
5135 (package--check-signature, package-import-keyring): Use setf instead of
5136 epg-context-set-home-directory.
5137
5138 2014-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
5139
5140 * emacs-lisp/bytecomp.el (byte-compile--use-old-handlers): Change default.
5141
5142 2014-10-23 Leo Liu <sdl.web@gmail.com>
5143
5144 * progmodes/cfengine.el (cfengine3-defun-full-re): New var.
5145 (cfengine3-create-imenu-index): Use it and use ` ' for separation.
5146 (cfengine3-current-defun): New function.
5147 (cfengine3-mode): Set add-log-current-defun-function.
5148
5149 2014-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
5150
5151 * select.el: Use lexical-binding.
5152 (gui-set-selection): Provide an implementation for non-GUI frames
5153 (bug#18791).
5154 * term/x-win.el: Use lexical-binding.
5155 (x-clipboard-yank): Fix up missed renamings.
5156 * term/w32-win.el (libgif-version, libjpeg-version): Silence compiler.
5157 (w32--set-selection): Fix up var names.
5158 * term/pc-win.el: Use lexical-binding.
5159 (w16-selection-exists-p): Silence compiler warning.
5160 (w16-selection-owner-p): Fix up missed renamings.
5161
5162 * emacs-lisp/bytecomp.el (byte-compile-form): Remove left-over debug.
5163
5164 * frame.el (frame-notice-user-settings): Fix excessive quoting.
5165
5166 2014-10-22 Tassilo Horn <tsdh@gnu.org>
5167
5168 * doc-view.el (doc-view-open-text): View the document's plain text
5169 in the current buffer instead of a new one.
5170 (doc-view-toggle-display): Handle the case where the current
5171 buffer contains the plain text contents of the document.
5172 (doc-view-initiate-display): Don't switch to fallback mode if the
5173 user wants to view the doc's plain text.
5174 (doc-view-set-doc-type): Use assoc-string instead of
5175 assoc-ignore-case.
5176
5177 2014-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
5178
5179 * subr.el (read-key): Fix clicks on the mode-line.
5180 (set-transient-map): Return exit function.
5181
5182 * mouse.el (mouse-drag-line): Use set-transient-map (bug#18015).
5183 (mouse--down-1-maybe-follows-link): Remove unused var `this-event'.
5184 (mouse-yank-secondary): Use gui-get-selection.
5185 (mouse--down-1-maybe-follows-link): Use read-key.
5186
5187 * xt-mouse.el: Add `event-kind' property on the fly from
5188 xterm-mouse-translate-1 rather than statically at the outset.
5189
5190 2014-10-21 Daniel Colascione <dancol@dancol.org>
5191
5192 * vc/vc-dispatcher.el (vc-resynch-window): Tell view-mode not to
5193 change window configuration when we turn it off.
5194
5195 2014-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
5196
5197 Get rid of backend-dependent selection-handling functions for kill/yank
5198 and make it generic instead by relying on the lower-level selection
5199 management functions.
5200
5201 * select.el (select-enable-clipboard): Rename from
5202 gui-select-enable-clipboard.
5203 (select-enable-primary): Move from x-win.el and rename from
5204 x-select-enable-primary.
5205 (gui-last-selected-text): Remove.
5206 (gui--last-selected-text-clipboard, gui--last-selected-text-primary):
5207 New vars.
5208 (gui-select-text): Rewrite, based on x-win.el's old x-select-text.
5209 (gui-select-text-alist, gui-selection-value-alist): Remove.
5210 (x-select-request-type): Move from x-win.el.
5211 (gui--selection-value-internal): New function, taken from x-win's
5212 x-selection-value-internal.
5213 (gui-selection-value): Rewrite, based on x-win.el's old x-selection-value.
5214 (gui-set-selection-alist): Rename from gui-own-selection-alist and
5215 extend it to handle a nil value as a "disown" request.
5216 (gui-disown-selection-alist): Remove.
5217 (xselect-convert-to-delete): Adjust accordingly.
5218 (gui-set-selection): Simplify accordingly as well. Use dotimes.
5219
5220 * term/x-win.el (x-last-selected-text-primary)
5221 (x-select-enable-primary): Remove (moved to select.el).
5222 (x-select-request-type): Move to select.el.
5223 (x-selection-value-internal, x--selection-value): Remove functions.
5224 (gui-selection-value, gui-select-text): Remove moethods.
5225 (gui-set-selection): Merge own and disown methods.
5226
5227 * term/w32-win.el (w32--select-text, w32--get-selection-value):
5228 Delete function (move functionality into w32--set-selection and
5229 w32--get-selection).
5230 (gui-select-text, gui-selection-value): Don't define methods.
5231 (w32--set-selection, w32--get-selection, w32--selection-owner-p):
5232 New functions.
5233 (gui-get-selection, gui-selection-owner-p, gui-selection-exists-p):
5234 Use them.
5235 (gui-selection-exists-p): Adjust to new name of C primitive.
5236
5237 * term/pc-win.el (w16-get-selection-value): Add dummy argument and drop
5238 test of gui-select-enable-clipboard, to make it usable as
5239 a gui-get-selection method.
5240 (gui-selection-exists-p): Adjust to new name of C primitive.
5241 (gui-set-selection): Merge own and disown methods.
5242 (gui-select-text, gui-selection-value): Delete methods.
5243 (w16--select-text): Delete function.
5244
5245 * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard)
5246 (ns-selection-value): Remove functions.
5247 (gui-select-text, gui-selection-value): Don't define method any more.
5248 (gui-set-selection): Merge the old own and disown methods.
5249 (gui-selection-exists-p, gui-get-selection): Adjust to new name of
5250 underlying C primitive.
5251
5252 * startup.el (command-line): Adjust now that `gui-method' expects nil
5253 for ttys.
5254
5255 * frame.el (gui-method): Use window-system rather than framep.
5256 (gui-method-declare): The tty case is now nil rather than t.
5257 (make-frame): Adjust accordingly.
5258
5259 2014-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
5260
5261 * net/newst-reader.el (newsticker--image-read): Simplify.
5262 (newsticker--icon-read): Use dolist and fix free var error.
5263
5264 * imenu.el (imenu--menubar-keymap): New var.
5265 (imenu-add-to-menubar): Set it to remember the keymap we used.
5266 (imenu-update-menubar): Use it instead of asking lookup-key.
5267
5268 * obsolete/cc-compat.el: Make obsolete (bug#18561).
5269
5270 * epg-config.el (epg-gpg-program): Don't use absolute names by default.
5271
5272 * emacs-lisp/bytecomp.el (=, <, >, <=, >=): Don't optimize multi-arg
5273 case (bug#18767).
5274
5275 2014-10-21 Glenn Morris <rgm@gnu.org>
5276
5277 * Merge in all changes up to version 24.4 release.
5278
5279 2014-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
5280
5281 * emacs-lisp/bytecomp.el (=, <, >, <=, >=): Don't optimize multi-arg
5282 case (bug#18767).
5283
5284 2014-10-20 Glenn Morris <rgm@gnu.org>
5285
5286 * Merge in all changes up to 24.4 release.
5287
5288 2014-10-20 Ulf Jasper <ulf.jasper@web.de>
5289
5290 * net/newst-backend.el
5291 (newsticker--image-download-by-url-callback): Make this function
5292 actually work: Check status properly, then save image.
5293
5294 2014-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
5295
5296 * mouse.el (mouse--down-1-maybe-follows-link): Remove unused var
5297 `this-event'.
5298 (mouse-drag-line): Unless there's no actual mouse, use the event's
5299 position info.
5300
5301 2014-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
5302
5303 * textmodes/css-mode.el (scss-mode): New major-mode.
5304 (css-mode-syntax-table): Use d style comment, to ease the scss case.
5305 (css-ident-re): Allow things like @-moz-keyframes.
5306 (scss--hash-re): New const.
5307 (css--font-lock-keywords): New function, extracted from
5308 css-font-lock-keywords.
5309
5310 2014-10-19 Ulf Jasper <ulf.jasper@web.de>
5311
5312 * net/newst-backend.el: Require url-parse.
5313 (newsticker--get-news-by-wget): Store feed name as process property.
5314 (newsticker--sentinel): Read feed name from process property.
5315 (newsticker--sentinel-work): Rename argument name to feed-name.
5316 Rename variable imageurl to image-url. Pick icon url from Atom
5317 1.0 data. Launch download of feed icon.
5318 (newsticker--get-icon-url-atom-1.0): New.
5319 (newsticker--unxml)
5320 (newsticker--unxml-node)
5321 (newsticker--unxml-attribute): Documentation.
5322 (newsticker--icons-dir): New.
5323 (newsticker--image-get): New arguments FILENAME and DIRECTORY.
5324 Use `url-retrieve' if `newsticker-retrieval-method' is 'intern.
5325 (newsticker--image-download-by-wget): New. Use process properties
5326 for storing informations.
5327 (newsticker--image-sentinel): Read informations from process properties.
5328 (newsticker--image-save)
5329 (newsticker--image-remove)
5330 (newsticker--image-download-by-url)
5331 (newsticker--image-download-by-url-callback): New.
5332 (newsticker-opml-export): Handle url list entries containing a
5333 function instead of an url string.
5334
5335 * net/newst-reader.el (newsticker-html-renderer): Whitespace.
5336 (newsticker--print-extra-elements)
5337 (newsticker--do-print-extra-element):
5338 Documentation (newsticker--image-read): Optionally limit image height.
5339 Use imagemagick if possible.
5340 (newsticker--icon-read): New.
5341
5342 * net/newst-treeview.el (newsticker--treeview-item-show): Limit height of feed logo.
5343 (newsticker--treeview-tree-expand): Use feed icons in treeview.
5344 (newsticker--tree-widget-icon-create): New. Set the tree widget icon.
5345 (newsticker--tree-widget-leaf-icon): Use feed icon.
5346
5347 2014-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
5348
5349 * emacs-lisp/eieio-opt.el (eieio-lambda-arglist): Remove.
5350 Use help-function-arglist instead.
5351
5352 * emacs-lisp/eieio-core.el (eieio-compiled-function-arglist): Remove.
5353 (eieio--with-scoped-class): Use `declare'.
5354 (eieio-defclass): Remove compatibility code.
5355 (no-method-definition, no-next-method, inconsistent-class-hierarchy)
5356 (invalid-slot-type, unbound-slot, invalid-slot-name): Use define-error.
5357
5358 2014-10-18 Jan Djärv <jan.h.d@swipnet.se>
5359
5360 * cus-start.el (x-gtk-whole-detached-tool-bar): Remove.
5361
5362 * term/x-win.el (x-gtk-stock-map): Add icon names suggested as
5363 replacements to stock names before stock names in a list.
5364 Cdr may be a list, each name is tried in turn until one is found.
5365
5366 2014-10-18 Alan Mackenzie <acm@muc.de>
5367
5368 Check that a "macro" found near point-min isn't a ## operator.
5369 Fixes bug #18749.
5370 * progmodes/cc-engine.el (c-macro-is-genuine-p): New function.
5371 (c-beginning-of-macro): Use the above new function.
5372
5373 2014-10-18 Teodor Zlatanov <tzz@lifelogs.com>
5374
5375 * net/gnutls.el (gnutls-negotiate): Don't use cl-mapcan; pass
5376 correct data to `gnutls-boot' (Bug#18664).
5377 Reported by Toke Høiland-Jørgensen <toke@toke.dk>.
5378
5379 2014-10-18 Michal Nazarewicz <mina86@mina86.com>
5380
5381 * whitespace.el (whitespace-style, whitespace-big-indent)
5382 (whitespace-big-indent-regexp, whitespace-style-value-list)
5383 (whitespace-toggle-option-alist, whitespace-interactive-char)
5384 (whitespace-toggle-options)
5385 (global-whitespace-toggle-options, whitespace-help-text)
5386 (whitespace-style-face-p, whitespace-color-on): Add a 'big-indent
5387 style to `whitespace-mode' to indicate that the line indentation
5388 is too deep. By default, 32 SPACEs or four TABs are considered
5389 too many but `whitespace-big-indent-regexp' can be configured.
5390
5391 2014-10-17 Michal Nazarewicz <mina86@mina86.com>
5392
5393 * textmodes/tildify.el (tildify--pick-alist-entry): Rename from
5394 tildify-mode-alist.
5395
5396 2014-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
5397
5398 * emacs-lisp/eieio.el: Use lexical-binding drop non-GV fallback.
5399 (defclass, defgeneric, defmethod): Add doc-string position.
5400 (with-slots): Require cl-lib.
5401
5402 * emacs-lisp/eieio-core.el: Use lexical-binding and cl-lib.
5403 (list-of): New type.
5404 (eieio--typep): Remove.
5405 (eieio-perform-slot-validation): Use cl-typep instead.
5406
5407 * emacs-lisp/eieio-base.el: Use lexical-binding and cl-lib.
5408
5409 * emacs-lisp/cl-macs.el (cl--make-type-test): Avoid ((lambda ..) ..).
5410
5411 2014-10-16 Alan Mackenzie <acm@muc.de>
5412
5413 Trigger showing when point is in the "periphery" of a line or just
5414 inside a paren.
5415 * paren.el (show-paren-style, show-paren-delay)
5416 (show-paren-priority, show-paren-ring-bell-on-mismatch):
5417 Remove superfluous :group specifications.
5418 (show-paren-when-point-inside-paren)
5419 (show-paren-when-point-in-periphery): New customizable variables.
5420 (show-paren-highlight-openparen): Make into a defcustom.
5421 (show-paren--unescaped-p, show-paren--categorize-paren)
5422 (show-paren--locate-near-paren): New defuns.
5423 (show-paren--default): Refaactor and trigger on more paren
5424 positions.
5425 (show-paren-function): Small consequential changes.
5426
5427 2014-10-16 Tom Tromey <tom@tromey.com>
5428
5429 * files.el (auto-mode-alist): Use javascript-mode for .jsm
5430 (bug #18719).
5431
5432 2014-10-16 Eli Zaretskii <eliz@gnu.org>
5433
5434 * international/characters.el (bracket-type): Force pre-loading of
5435 uni-brackets.el.
5436
5437 2014-10-16 Alan Mackenzie <acm@muc.de>
5438
5439 * cus-edit.el (custom-command-apply): Specify the return value in
5440 the doc string.
5441 (Custom-reset-standard): Save custom-file (e.g. .emacs) only when
5442 custom-command-apply has returned non-nil.
5443
5444 2014-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
5445
5446 * emacs-lisp/eldoc.el (global-eldoc-mode): Enable by default.
5447 Remove incorrect handling of eldoc-print-after-edit.
5448 (eldoc-message-commands, eldoc-last-data): Use defvar.
5449 * loadup.el (emacs-lisp/eldoc): Load it.
5450
5451 * progmodes/m4-mode.el (m4-syntax-propertize): New var.
5452 (m4-mode): Use it.
5453 (m4--quoted-p): New function.
5454 (m4-font-lock-keywords): Don't handle #..\n comments any more.
5455 (m4-mode-syntax-table): Use punctuation syntax (according to m4 manual)
5456 for most special characters.
5457
5458 * progmodes/compile.el (compilation--previous-directory): Simplify.
5459 (compilation-next-error): Ensure the parse before we look at
5460 compilation-message property.
5461
5462 2014-10-15 Eli Zaretskii <eliz@gnu.org>
5463
5464 * simple.el (what-cursor-position):
5465 * descr-text.el (describe-char): Update to support the new bidi
5466 characters.
5467
5468 * emacs-lisp/tabulated-list.el (tabulated-list-mode):
5469 Force bidi-paragraph-direction to 'left-to-right'. This fixes
5470 buffer-menu display when the first buffer happens to start with
5471 R2L letter.
5472
5473 2014-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
5474
5475 * progmodes/elisp-mode.el (elisp--local-variables-1):
5476 Handle quoted expressions (bug#18688).
5477
5478 2014-10-14 Jérémy Compostella <jeremy.compostella@intel.com>
5479 Michael Albinus <michael.albinus@gmx.de>
5480
5481 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
5482 Reduce the amount of set environment variable commands.
5483
5484 2014-10-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
5485
5486 Fix import completion. (Bug#18582)
5487 * progmodes/python.el (python-shell-completion-get-completions):
5488 Fix import case regexp.
5489
5490 2014-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
5491
5492 * progmodes/bat-mode.el (bat-font-lock-keywords): Fix \\<_ typo
5493 (bug#18622). Reported by Arni Magnusson <arnima@hafro.is>.
5494 * progmodes/prolog.el (prolog-electric--underscore): Same.
5495
5496 2014-10-12 Michael Albinus <michael.albinus@gmx.de>
5497
5498 * net/tramp-sh.el (tramp-get-remote-id): Check also for "gid".
5499
5500 2014-10-11 Jan Djärv <jan.h.d@swipnet.se>
5501
5502 * cus-start.el (all): Add missing ns and boolean to
5503 ns-use-fullscreen-animation.
5504
5505 2014-10-11 Leo Liu <sdl.web@gmail.com>
5506
5507 * progmodes/cfengine.el (cfengine3-defuns, cfengine3-vartypes):
5508 Use strings.
5509 (cfengine3-create-imenu-index): New function.
5510 (cfengine3-mode): Use it for `imenu-create-index-function'.
5511 (cfengine-auto-mode): Improve and prefer cfengine3-mode when
5512 buffer is empty.
5513
5514 2014-10-11 Jan Djärv <jan.h.d@swipnet.se>
5515
5516 * cus-start.el (all): Add ns-use-fullscreen-animation.
5517
5518 2014-10-11 Glenn Morris <rgm@gnu.org>
5519
5520 * calendar/diary-lib.el (diary-display-function):
5521 Drop support for deprecated nil and list forms.
5522 (diary-list-entries): Update for the above.
5523 * calendar/cal-x.el (calendar-dedicate-diary): Simplify accordingly.
5524
5525 2014-10-10 Leo Liu <sdl.web@gmail.com>
5526
5527 * window.el (temp-buffer-window-show): Make BUFFER a required arg.
5528 (Bug#18656)
5529
5530 2014-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
5531
5532 * select.el (gui-selection-exists-p-alist): New method.
5533 * menu-bar.el (menu-bar-edit-menu, clipboard-yank):
5534 * simple.el (deactivate-mark): Use it.
5535 * term/x-win.el (gui-selection-exists-p):
5536 * term/w32-win.el (gui-selection-exists-p):
5537 * term/pc-win.el (gui-selection-exists-p):
5538 * term/ns-win.el (gui-selection-exists-p): Provide a backend instance.
5539
5540 2014-10-10 Glenn Morris <rgm@gnu.org>
5541
5542 * info.el (Info-fontify-maximum-menu-size): Bump to 400k. (Bug#16227)
5543 Fix :type. Allow t to mean no limit.
5544 (Info-fontify-node): Handle Info-fontify-maximum-menu-size = t.
5545
5546 2014-10-09 Glenn Morris <rgm@gnu.org>
5547
5548 * frame.el (display-monitor-attributes-list): Doc tweaks.
5549
5550 2014-10-09 Eli Zaretskii <eliz@gnu.org>
5551
5552 * faces.el (display-grayscale-p): Mention in the doc string that
5553 the argument can be either a display name or a frame.
5554
5555 * frame.el (display-pixel-height, display-pixel-width)
5556 (display-mm-height, display-mm-width, display-backing-store)
5557 (display-save-under, display-planes, display-color-cells)
5558 (display-visual-class, display-monitor-attributes-list)
5559 (display-screens): Mention in the doc string that the argument can
5560 be either a display name or a frame. Improve the docs of the
5561 monitor attributes. (Bug#18636)
5562
5563 2014-10-09 Martin Rudalics <rudalics@gmx.at>
5564
5565 * term.el (term-window-width): Subtract 1 from the width when
5566 any fringe has zero width, not just the right fringe. (Bug#18601)
5567
5568 2014-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
5569
5570 * frame.el (make-frame): Use t rather than nil for `w' (bug#18653).
5571
5572 2014-10-08 Leo Liu <sdl.web@gmail.com>
5573
5574 * emacs-lisp/cl-extra.el (cl-fresh-line): New function.
5575
5576 2014-10-08 Glenn Morris <rgm@gnu.org>
5577
5578 * calendar/cal-x.el (calendar-dedicate-diary):
5579 Drop support for recently deleted aliases.
5580
5581 2014-10-08 Leo Liu <sdl.web@gmail.com>
5582
5583 * progmodes/cfengine.el (cfengine3-make-syntax-cache):
5584 Always return a syntax. Replace call-process-shell-command with
5585 process-file. Ensure cfengine-mode-syntax-functions-regex is
5586 always set. Ensure cache when cfengine-cf-promises fails.
5587 (Bug#18620)
5588
5589 2014-10-07 Glenn Morris <rgm@gnu.org>
5590
5591 * font-lock.el (font-lock-fontify-buffer): Fix interactive-only markup.
5592
5593 2014-10-07 Wilson Snyder <wsnyder@wsnyder.org>
5594
5595 Sync with upstream verilog-mode revision c075a492.
5596 * progmodes/verilog-mode.el (verilog-mode-version): Bump.
5597 (verilog-menu): Add AUTOINSERTLAST.
5598 (verilog-no-indent-begin-re): When `verilog-indent-begin-after-if'
5599 is nil, fix indenting initial/final to match always statements, bug825.
5600 Reported by Tim Clapp.
5601 (verilog-extended-complete-re): Fix indentation of DPI-C imports,
5602 bug557. Reported by ZeDong Mao and Jason Forkey.
5603 (verilog-read-decls): Fix parsing typed interfaces.
5604 Fix AUTOINOUTMODPORT missing types. Reported by Stephan Bourduas.
5605 (verilog-auto-arg-ports): Fix verilog-auto-arg-format single.
5606 (verilog-auto-output-every): Add regexp to AUTOOUTPUTEVERY, bug793.
5607 Reported by Pierre-David Pfister.
5608 (verilog-auto-insert-lisp): Doc fix.
5609 (verilog-auto-insert-last, verilog-auto): Add AUTOINSERTLAST to
5610 allow post-AUTO user fixups, bug826. Reported by Dennis Muhlestein.
5611 (verilog-sk-ovm-class, verilog-sk-uvm-object)
5612 (verilog-sk-uvm-component): Fix missing string keyword in class
5613 skeletons, bug824. Reported by eldad faruhi.
5614
5615 2014-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
5616
5617 * term/w32-win.el: Move all code from 32-common-fns.el here.
5618 (gui-select-text, gui-selection-value): Use w32 handlers in the w32
5619 console as well (bug#18629).
5620 * w32-common-fns.el: Remove.
5621 * loadup.el: Don't load w32-common-fns.el.
5622 * w32-fns.elc: Don't require w32-common-fns.
5623
5624 * icomplete.el: Move Iswitchb autoload here. Much simpler.
5625 * obsolete/iswitchb.el (iswitchb-mode): Use normal autoload cookie.
5626 Remove redundant obsolescence thingy.
5627 * loadup.el: Don't load obsolete/loaddefs.el.
5628 * Makefile.in (obsolete-autoloads): Remove.
5629 (AUTOGENEL): Remove obsolete/loaddefs.el.
5630
5631 2014-10-06 Glenn Morris <rgm@gnu.org>
5632
5633 * Makefile.in (obsolete-autoloads): Write to a separate file,
5634 to workaround autoloads bug. (Bug#17407)
5635 (AUTOGENEL): Add obsolete/loaddefs.el.
5636 * loadup.el: Load obsolete/loaddefs.el if present.
5637 * subr.el (do-after-load-evaluation):
5638 Don't warn about obsolete/loaddefs.el.
5639
5640 * menu-bar.el (menu-bar-games-menu): Remove landmark.
5641 It has zero relationship to a game.
5642
5643 2014-10-06 Leo Liu <sdl.web@gmail.com>
5644
5645 * imenu.el (imenu): Re-write for clarity.
5646
5647 2014-10-06 Glenn Morris <rgm@gnu.org>
5648
5649 Remove calendar code obsolete since at least version 23.1.
5650 * calendar/cal-bahai.el (calendar-absolute-from-bahai)
5651 (calendar-print-bahai-date, calendar-bahai-prompt-for-date)
5652 (calendar-goto-bahai-date, list-bahai-diary-entries)
5653 (mark-bahai-calendar-date-pattern, mark-bahai-diary-entries)
5654 (insert-bahai-diary-entry, insert-monthly-bahai-diary-entry)
5655 (insert-yearly-bahai-diary-entry):
5656 * calendar/cal-china.el (chinese-calendar-time-zone)
5657 (chinese-calendar-location-name)
5658 (chinese-calendar-daylight-time-offset)
5659 (chinese-calendar-standard-time-zone-name)
5660 (chinese-calendar-daylight-time-zone-name)
5661 (chinese-calendar-daylight-savings-starts)
5662 (chinese-calendar-daylight-savings-ends)
5663 (chinese-calendar-daylight-savings-starts-time)
5664 (chinese-calendar-daylight-savings-ends-time)
5665 (chinese-calendar-celestial-stem)
5666 (chinese-calendar-terrestrial-branch)
5667 (calendar-absolute-from-chinese, calendar-print-chinese-date)
5668 (calendar-goto-chinese-date):
5669 * calendar/cal-coptic.el (calendar-absolute-from-coptic)
5670 (calendar-print-coptic-date, coptic-prompt-for-date)
5671 (calendar-goto-coptic-date, calendar-absolute-from-ethiopic)
5672 (calendar-print-ethiopic-date, calendar-goto-ethiopic-date):
5673 * calendar/cal-french.el (calendar-absolute-from-french)
5674 (calendar-print-french-date, calendar-goto-french-date):
5675 * calendar/cal-hebrew.el (diary-sabbath-candles-minutes)
5676 (calendar-absolute-from-hebrew, calendar-print-hebrew-date)
5677 (hebrew-calendar-yahrzeit, calendar-goto-hebrew-date)
5678 (holiday-rosh-hashanah-etc, holiday-hanukkah)
5679 (holiday-passover-etc, holiday-tisha-b-av-etc)
5680 (list-hebrew-diary-entries, mark-hebrew-calendar-date-pattern)
5681 (mark-hebrew-diary-entries, insert-hebrew-diary-entry)
5682 (insert-monthly-hebrew-diary-entry)
5683 (insert-yearly-hebrew-diary-entry, list-yahrzeit-dates)
5684 (diary-omer, diary-yahrzeit, diary-rosh-hodesh, diary-parasha)
5685 (diary-sabbath-candles):
5686 * calendar/cal-islam.el (calendar-absolute-from-islamic)
5687 (calendar-print-islamic-date, calendar-goto-islamic-date)
5688 (list-islamic-diary-entries, mark-islamic-calendar-date-pattern)
5689 (mark-islamic-diary-entries, insert-islamic-diary-entry)
5690 (insert-monthly-islamic-diary-entry)
5691 (insert-yearly-islamic-diary-entry):
5692 * calendar/cal-iso.el (calendar-absolute-from-iso)
5693 (calendar-print-iso-date, calendar-iso-read-args)
5694 (calendar-goto-iso-date, calendar-goto-iso-week):
5695 * calendar/cal-julian.el (calendar-absolute-from-julian)
5696 (calendar-print-julian-date, calendar-goto-julian-date)
5697 (calendar-absolute-from-astro, calendar-print-astro-day-number)
5698 (calendar-goto-astro-day-number):
5699 * calendar/cal-mayan.el (calendar-print-mayan-date)
5700 (calendar-next-haab-date, calendar-previous-haab-date)
5701 (calendar-next-tzolkin-date, calendar-previous-tzolkin-date)
5702 (calendar-next-calendar-round-date)
5703 (calendar-previous-calendar-round-date)
5704 (calendar-absolute-from-mayan-long-count)
5705 (calendar-goto-mayan-long-count-date):
5706 * calendar/cal-move.el (scroll-calendar-left)
5707 (scroll-calendar-right, scroll-calendar-left-three-months)
5708 (scroll-calendar-right-three-months):
5709 * calendar/cal-persia.el (calendar-absolute-from-persian)
5710 (calendar-print-persian-date, persian-prompt-for-date)
5711 (calendar-goto-persian-date):
5712 * calendar/cal-x.el (calendar-after-frame-setup-hooks):
5713 * calendar/calendar.el (view-diary-entries-initially)
5714 (mark-diary-entries-in-calendar, calendar-today-face)
5715 (diary-face, holiday-face, view-calendar-holidays-initially)
5716 (mark-holidays-in-calendar, initial-calendar-window-hook)
5717 (today-visible-calendar-hook, today-invisible-calendar-hook)
5718 (hebrew-diary-entry-symbol, islamic-diary-entry-symbol)
5719 (bahai-diary-entry-symbol, american-date-diary-pattern)
5720 (european-date-diary-pattern, european-calendar-display-form)
5721 (american-calendar-display-form, holidays-in-diary-buffer)
5722 (all-hebrew-calendar-holidays, all-christian-calendar-holidays)
5723 (all-islamic-calendar-holidays, all-bahai-calendar-holidays)
5724 (fancy-diary-buffer, increment-calendar-month)
5725 (extract-calendar-month, extract-calendar-day)
5726 (extract-calendar-year, exit-calendar, calendar-date-is-legal-p)
5727 (mark-visible-calendar-date, calendar-version):
5728 * calendar/diary-lib.el (diary-button-face, sexp-diary-entry-symbol)
5729 (diary-display-hook, list-diary-entries-hook)
5730 (mark-diary-entries-hook, nongregorian-diary-listing-hook)
5731 (nongregorian-diary-marking-hook, print-diary-entries-hook)
5732 (abbreviated-calendar-year, number-of-diary-entries)
5733 (view-other-diary-entries, add-to-diary-list)
5734 (include-other-diary-files, simple-diary-display)
5735 (fancy-diary-display, print-diary-entries, mark-diary-entries)
5736 (mark-sexp-diary-entries, mark-included-diary-files)
5737 (mark-calendar-days-named, mark-calendar-month)
5738 (mark-calendar-date-pattern, sort-diary-entries)
5739 (list-sexp-diary-entries, make-diary-entry, insert-diary-entry)
5740 (insert-weekly-diary-entry, insert-monthly-diary-entry)
5741 (insert-yearly-diary-entry, insert-anniversary-diary-entry)
5742 (insert-block-diary-entry, insert-cyclic-diary-entry)
5743 (fancy-diary-font-lock-keywords, fancy-diary-display-mode):
5744 * calendar/holidays.el (general-holidays, oriental-holidays)
5745 (local-holidays, other-holidays, hebrew-holidays)
5746 (christian-holidays, islamic-holidays, bahai-holidays)
5747 (solar-holidays, list-calendar-holidays)
5748 (check-calendar-holidays, mark-calendar-holidays)
5749 (filter-visible-calendar-holidays):
5750 * calendar/lunar.el (calendar-phases-of-moon, phases-of-moon)
5751 (diary-phases-of-moon): Remove obsolete aliases.
5752 * calendar/cal-menu.el (cal-menu-load-hook): Remove obsolete hook.
5753 * calendar/cal-x.el (calendar-one-frame-setup)
5754 (calendar-only-one-frame-setup, calendar-two-frame-setup):
5755 Remove obsolete functions.
5756 (cal-x-load-hook): Remove obsolete hook.
5757 * calendar/calendar.el (european-calendar-style):
5758 Remove obsolete variable.
5759 (calendar-date-style): No longer consult european-calendar-style.
5760 * calendar/calendar.el (european-calendar, american-calendar):
5761 Remove obsolete commands.
5762 * calendar/calendar.el (calendar-for-loop): Remove obsolete macro.
5763 * calendar/diary-lib.el (diary-face): Remove obsolete variable.
5764 (diary-font-lock-date-forms, diary-fancy-font-lock-keywords):
5765 Use the face `diary' instead of the variable `diary-face'.
5766 * calendar/holidays.el (hebrew-holidays-1, hebrew-holidays-2)
5767 (hebrew-holidays-3, hebrew-holidays-4): Remove obsolete variables.
5768 * calendar/icalendar.el (icalendar--date-style): Remove function.
5769 Replace all uses with calendar-date-style.
5770 * textmodes/remember.el (calendar-date-style): Declare.
5771 (remember-diary-convert-entry):
5772 No longer consult european-calendar-style.
5773
5774 2014-10-05 Leo Liu <sdl.web@gmail.com>
5775
5776 * imenu.el (imenu-default-goto-function): Fix typo.
5777
5778 2014-10-04 Thomas Fitzsimmons <fitzsim@fitzsim.org>
5779
5780 * net/ntlm.el (ntlm-build-auth-request):
5781 Add NTLM2 Session support. (Bug#15603)
5782
5783 2014-10-04 Glenn Morris <rgm@gnu.org>
5784
5785 * apropos.el (apropos-symbols-internal):
5786 Avoid error with non-symbol properties. (Bug#18337#16)
5787
5788 * startup.el (command-line):
5789 Handle altered user-emacs-directory in load-path warning. (Bug#18512)
5790
5791 2014-10-04 Martin Rudalics <rudalics@gmx.at>
5792
5793 * window.el (window-full-height-p): Make it behave correctly for
5794 minibuffer window.
5795 (window-current-scroll-bars): Fix code.
5796 (fit-frame-to-buffer): Use window-scroll-bar-height instead of
5797 window-scroll-bars.
5798 * frame.el (frame-current-scroll-bars): Fix doc-string.
5799 * scroll-bar.el (toggle-horizontal-scroll-bar): New command.
5800
5801 2014-10-04 Mark Oteiza <mvoteiza@udel.edu> (tiny change)
5802
5803 * files.el (auto-mode-alist): Use sh-mode for .zsh files. (Bug#18488)
5804
5805 2014-10-04 Glenn Morris <rgm@gnu.org>
5806
5807 * frame.el (frame-monitor-attributes)
5808 (display-monitor-attributes-list): Doc fixes.
5809
5810 2014-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
5811
5812 Merge trivially safe differences from standalone CC-mode.
5813 * progmodes/cc-mode.el (c-initialize-cc-mode): Don't quote a symbol
5814 just to then pass it to `symbol-value'.
5815 (prog-mode): Provide fallback definition, if needed.
5816 * progmodes/cc-langs.el: Always load `cl'. Don't load `cl-lib'.
5817 Remove "cl-" prefix accordingly.
5818 * progmodes/cc-fonts.el (c-font-lock-invalid-string): Use integerp or
5819 characterp depending on the type of characters.
5820 (c-font-lock-enum-tail): Remove unused var `start'.
5821 * progmodes/cc-engine.el: Load CL at compile-time.
5822 (c-declare-lang-variables): Use mapcan.
5823 (c-append-to-state-cache): Remove unused var `ce+1'.
5824 (c-parse-state-state): Make buffer-local.
5825 (c-ssb-lit-begin): Remove unused var `pps-end-pos'.
5826 (c-just-after-func-arglist-p): Remove unused var `end'.
5827 * progmodes/cc-defs.el: Load cc-fix if delete-dups is undefined.
5828 (c-<-as-paren-syntax, c->-as-paren-syntax): Move definition earlier.
5829 (c-make-keywords-re): Use delete-dups.
5830 (c-get-current-file): Avoid file-name-base.
5831 * progmodes/cc-cmds.el (c-electric-lt-gt): Remove unused var
5832 `close-paren-inserted'.
5833 * progmodes/cc-awk.el (c-forward-sws): Remove unused declaration.
5834
5835 * progmodes/python.el: Avoid building unneeded markers.
5836 (python-font-lock-keywords, python-indent-dedent-line)
5837 (python-fill-paren, python-shell-completion-complete-or-indent):
5838 Prefer point over point-marker.
5839 (inferior-python-mode): Remove redundant completion settings.
5840
5841 2014-10-03 Dmitry Gutov <dgutov@yandex.ru>
5842
5843 * vc/vc-svn.el (vc-svn-ignore-completion-table): Implement.
5844 (vc-svn-ignore): Use it. (Bug#18619)
5845
5846 2014-10-03 Martin Rudalics <rudalics@gmx.at>
5847
5848 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
5849 In doc-string mention need to set `frame-resize-pixelwise'.
5850
5851 2014-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
5852
5853 * vc/vc-svn.el (vc-svn-after-dir-status): Fix the non-remote regexp,
5854 similarly to Rogers's 2010-06-16 change for the remote case
5855 (bug#18605).
5856
5857 2014-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
5858
5859 New gui-selection-value consolidating x-selection-value.
5860 * select.el (gui-selection-value-alist): New method.
5861 (gui-selection-value): New function.
5862 (x-selection-value): Make it an obsolete alias.
5863 * simple.el (interprogram-paste-function): Default to
5864 gui-selection-value.
5865 * w32-common-fns.el (w32-get-selection-value): Simplify.
5866 (x-selection-value): Remove alias.
5867 (interprogram-paste-function): Don't set.
5868 (gui-selection-value): Define for w32.
5869 * term/x-win.el (gui-selection-value): Define for x.
5870 (x--selection-value): Rename from x--selection-value.
5871 (interprogram-paste-function): Don't set.
5872 * term/pc-win.el (w16-get-selection-value): Simplify.
5873 (msdos-initialize-window-system): Don't set
5874 interprogram-paste-function.
5875 (gui-selection-value): Define for pc.
5876 * term/ns-win.el (x-selection-value): Remove.
5877 (gui-selection-value): Define for ns, instead.
5878 * term/common-win.el (x-setup-function-keys): Don't set
5879 interprogram-paste-function.
5880 * obsolete/mouse-sel.el (mouse-sel-get-selection-function):
5881 Use gui-selection-value.
5882
5883 2014-10-02 David Raynes <rayners@gmail.com> (tiny change)
5884
5885 * term/ns-win.el: Add functions to ns frame, not x frame (bug#18614).
5886
5887 2014-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
5888
5889 * obsolete/lucid.el (read-number): Remove, redundant.
5890 * obsolete/cl-compat.el (cl-floor, cl-ceiling, cl-round, cl-truncate):
5891 Remove, broken.
5892
5893 2014-10-02 Glenn Morris <rgm@gnu.org>
5894
5895 * emacs-lisp/package.el (package-import-keyring):
5896 Create gnupg directory private. (Bug#17625#155)
5897
5898 2014-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
5899
5900 * progmodes/python.el (python-shell-completion-get-completions):
5901 Use python-shell--prompt-calculated-input-regexp from the
5902 process buffer (bug#18582).
5903 Don't assume that `line' comes from the process buffer.
5904
5905 2014-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
5906
5907 * frame.el: Use lexical-binding (bug#18598).
5908 (make-frame): Use t rather than nil for tty's window-system.
5909 * startup.el (command-line): Use gui-method.
5910
5911 Consolidate management/ownership of selections.
5912 * select.el (gui-get-selection-alist): New method.
5913 (gui-get-selection): Use it. Rename from x-get-selection.
5914 (x-get-selection): Define as obsolete alias.
5915 (x-get-clipboard): Mark obsolete.
5916 (gui-get-primary-selection): New function.
5917 (x-get-selection-value): Mark obsolete.
5918 (gui-own-selection-alist, gui-disown-selection-alist)
5919 (gui-selection-owner-p-alist): New methods.
5920 (gui-set-selection): Use them. Rename from x-set-selection.
5921 (x-set-selection): Define as obsolete alias.
5922 (gui--valid-simple-selection-p): Rename from
5923 x-valid-simple-selection-p.
5924 * w32-common-fns.el (gui-own-selection, gui-disown-selection)
5925 (gui-selection-owner-p, gui-get-selection): Define for w32.
5926 (w32-get-selection-value): Rename from x-get-selection-value.
5927 Use the new gui-last-selected-text.
5928 * term/x-win.el (x-get-selection-value): Remove.
5929 (x-clipboard-yank): Declare obsolete.
5930 (gui-own-selection, gui-disown-selection, gui-get-selection)
5931 (gui-selection-owner-p): Define for x.
5932 * term/w32-win.el (w32-win-suspend-error): Rename from
5933 x-win-suspend-error.
5934 * term/pc-win.el (w16-get-selection-value): Rename from
5935 x-get-selection-value.
5936 (w16-selection-owner-p): Rename from x-selection-owner-p.
5937 (gui-own-selection, gui-disown-selection, gui-get-selection)
5938 (gui-selection-owner-p): Define for pc.
5939 (w16--select-text): New function.
5940 * term/ns-win.el (gui-own-selection, gui-disown-selection)
5941 (gui-get-selection, gui-selection-owner-p): Define for ns.
5942 * term.el (term-mouse-paste):
5943 * mouse.el (mouse-yank-primary): Use gui-get-primary-selection.
5944
5945 2014-10-02 H. Dieter Wilhelm <dieter@duenenhof-wilhelm.de>
5946
5947 * calc/calc-help.el (calc-describe-thing): Quote strings
5948 which could look like regexps.
5949
5950 2014-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
5951
5952 Consolidate x-select-text.
5953 * frame.el (gui-method, gui-method-define, gui-method-declare)
5954 (gui-call): New macros.
5955 (gui-method--name): New function.
5956 (frame-creation-function-alist): Use gui-method-declare.
5957 (make-frame): Use gui-method.
5958 * select.el (gui-select-enable-clipboard): Rename from
5959 x-select-enable-clipboard and move here.
5960 (x-select-enable-clipboard): Define as obsolete alias.
5961 (gui-last-selected-text): New var, to replace x-last-selected-text.
5962 (gui-select-text): New GUI method.
5963 (gui-select-text): New function.
5964 (x-select-text): Define as obsolete alias.
5965 * term/common-win.el (x-select-enable-clipboard, x-select-text):
5966 Move to select.el.
5967 * simple.el (interprogram-cut-function): Change default to
5968 x-select-text.
5969 (interprogram-paste-function): Change default to `ignore'.
5970 * w32-common-fns.el (interprogram-cut-function): Don't modify.
5971 * term/x-win.el (interprogram-cut-function): Don't modify.
5972 (gui-select-text): Add method for x.
5973 * term/w32-win.el (gui-select-text): Add method for w32.
5974 * term/pc-win.el (x-last-selected-text): Remove, use
5975 gui-last-selected-text instead.
5976 (msdos-initialize-window-system): Don't set interprogram-cut-function.
5977 (gui-select-text): Add method for pc.
5978 * term/ns-win.el (ns-last-selected-text): Remove, use
5979 gui-last-selected-text instead.
5980 (gui-select-text): Add method for ns.
5981 (x-setup-function-keys): Don't change interprogram-cut-function.
5982 * loadup.el ("startup"): Load after "frame".
5983 * subr.el (package--builtin-versions, package--description-file):
5984 Move from startup.el.
5985 * startup.el (package--builtin-versions, package--description-file):
5986 Move to subr.el.
5987 (handle-args-function-alist, window-system-initialization-alist):
5988 Use gui-method-declare.
5989 (command-line): Use gui-method.
5990
5991 2014-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
5992
5993 * subr.el (alist-get): New accessor.
5994 * emacs-lisp/gv.el (alist-get): Provide expander.
5995 * winner.el (winner-remember):
5996 * tempo.el (tempo-use-tag-list):
5997 * progmodes/gud.el (minor-mode-map-alist):
5998 * international/mule-cmds.el (define-char-code-property):
5999 * frameset.el (frameset-filter-params):
6000 * files.el (dir-locals-set-class-variables):
6001 * register.el (get-register, set-register):
6002 * calc/calc-yank.el (calc-set-register): Use it.
6003 * ps-print.el (ps-get, ps-put, ps-del): Mark as obsolete.
6004 * tooltip.el (tooltip-set-param): Mark as obsolete.
6005 (tooltip-show): Use alist-get instead.
6006 * ses.el (ses--alist-get): Remove. Use alist-get instead.
6007
6008 2014-10-01 Ulf Jasper <ulf.jasper@web.de>
6009
6010 * net/newst-backend.el: Remove Time-stamp. Rename variable
6011 `newsticker--download-logos' to `newsticker-download-logos' and
6012 make it customizable.
6013 (newsticker--sentinel-work): Move xml-workarounds to function
6014 `newsticker--do-xml-workarounds', call unless libxml-parser is
6015 used. Allow single quote in regexp for encoding.
6016 Use libxml-parser if available, else fall back to `xml-parse-region'.
6017 Take care of possibly missing namespace prefixes (like "RDF"
6018 instead of "rdf:RDF") when checking xml nodes and attributes (as
6019 libxml correctly removes the prefixes). Always use Atom 1.0 as
6020 fallback feed type. Rename `newsticker--download-logos' to
6021 `newsticker-download-logos'
6022 (newsticker--unxml, newsticker--unxml-node)
6023 (newsticker--unxml-attribute): New.
6024 (newsticker--parse-atom-1.0): Call `unxml' in case that embedded
6025 HTML code has become part of the xml parse tree.
6026 (newsticker--parse-rss-1.0, newsticker--parse-rss-2.0): Take care
6027 of possibly missing namespace prefixes.
6028 (newsticker--parse-generic-items): Code formatting. Typo.
6029 (newsticker--images-dir): Add trailing slash.
6030 (newsticker--image-get): Fix error message.
6031
6032 * net/newst-plainview.el: Remove Time-stamp.
6033
6034 * net/newst-reader.el: Remove Time-stamp.
6035 (newsticker-download-logos): Rename variable
6036 `newsticker--download-logos' to `newsticker-download-logos' and
6037 make it customizable.
6038 (newsticker--print-extra-elements): Add optional parameter
6039 'htmlish for using html markup. Amend list of ignored elements.
6040 (newsticker--do-print-extra-element): Add parameter 'htmlish for
6041 using html markup.
6042
6043 * net/newst-ticker.el: Remove Time-stamp.
6044
6045 * net/newst-treeview.el (newsticker--treeview-item-show): Use html
6046 for formatting extra elements.
6047
6048 * net/newsticker.el: Remove Time-stamp, Version.
6049 (newsticker-version): Make obsolete.
6050
6051 2014-09-30 Leonardo Nobrega <leonobr@gmail.com> (tiny change)
6052
6053 * progmodes/python.el (python-fill-paren): Don't inf-loop at EOB
6054 (bug#18462).
6055
6056 2014-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
6057
6058 * emacs-lisp/package.el (package-check-signature): Default to nil if
6059 GPG is not available.
6060 (package-refresh-contents): Don't mess with the keyring if we won't
6061 check the signatures anyway.
6062
6063 2014-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
6064
6065 * ses.el (ses--row, ses--col): New dyn-scoped vars, to replace row&col.
6066 (ses-center, ses-center-span): Use them.
6067 (ses-print-cell): Bind them while calling the printer.
6068 (row, col, maxrow, maxcol): Don't declare as dynamically scoped.
6069 (ses-dorange): Revert last change.
6070 (ses-calculate-cell): Don't bind row&col dynamically while evaluating
6071 the formula.
6072 (ses-set-cell): Avoid `eval'.
6073 (ses--time-check): Rename it from ses-time-check and turn it into
6074 a macro.
6075
6076 * ses.el (ses-setup): Don't assume modifying the iteration var of
6077 dotimes affects the iteration (bug#18191).
6078
6079 2014-09-30 Vincent Belaïche <vincentb1@users.sourceforge.net>
6080
6081 * ses.el (ses-calculate-cell): Bind row and col dynamically to
6082 their values with 'cl-progv'.
6083 (ses-dorange): Bind row, col, maxrow and maxcol dynamically to
6084 their values with 'cl-progv', also use non-interned symbols for
6085 row, minrow, maxrow, mincol and maxcol.
6086 (maxrow maxcol): New defvar, to make the compiler happy.
6087
6088 2014-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
6089
6090 * minibuffer.el (completion-at-point): Emit warning for ill-behaved
6091 completion functions.
6092
6093 2014-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
6094
6095 * ses.el (ses--letref): Quote value before it gets re-evaluated.
6096
6097 2014-09-28 Thien-Thi Nguyen <ttn@gnu.org>
6098
6099 Font-lock `cl-flet*', too.
6100 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2):
6101 Add "flet*" to intermediate var `cl-lib-kw'.
6102
6103 2014-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
6104
6105 * epg-config.el (epg-gpg-program): Use the plain program names rather
6106 than their absolute file name.
6107
6108 * subr.el (track-mouse): New macro.
6109 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
6110 Remove track-mouse case.
6111 * emacs-lisp/bytecomp.el (byte-compile-track-mouse): Remove.
6112
6113 2014-09-27 Leo Liu <sdl.web@gmail.com>
6114
6115 * progmodes/elisp-mode.el (elisp--eldoc-last-data): Use defvar.
6116
6117 * emacs-lisp/eldoc.el (eldoc-mode): Fix thinko.
6118
6119 2014-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
6120
6121 * emacs-lisp/pcase.el (pcase--split-match, pcase--app-subst-match):
6122 Handle the case where `match' is :pcase--succeed or :pcase--fail
6123 (bug#18554).
6124
6125 Introduce global-eldoc-mode. Move Elisp-specific code to elisp-mode.el.
6126 * emacs-lisp/eldoc.el (global-eldoc-mode): New minor mode.
6127 (eldoc-schedule-timer): Obey it.
6128 (eldoc-documentation-function): Default to nil.
6129 (eldoc-mode): Don't enable if eldoc-documentation-function is not set.
6130 (eldoc-documentation-function-default, eldoc-get-fnsym-args-string)
6131 (eldoc-highlight-function-argument, eldoc-get-var-docstring)
6132 (eldoc-last-data-store, eldoc-docstring-first-line)
6133 (eldoc-docstring-format-sym-doc, eldoc-fnsym-in-current-sexp)
6134 (eldoc-beginning-of-sexp, eldoc-current-symbol)
6135 (eldoc-function-argstring): Move to elisp-mode.el.
6136 (eldoc-symbol-function): Remove, unused.
6137 * progmodes/elisp-mode.el: New file. Rename all "eldoc-*" to "elisp--*".
6138 (elisp-completion-at-point): Rename from lisp-completion-at-point.
6139 (elisp--preceding-sexp): Rename from preceding-sexp.
6140 * loadup.el: Load new file progmodes/elisp-mode.
6141 * ielm.el (inferior-emacs-lisp-mode): Set eldoc-documentation-function.
6142 * emacs-lisp/lisp.el (lisp--local-variables-1, lisp--local-variables)
6143 (lisp--local-variables-completion-table, lisp--expect-function-p)
6144 (lisp--form-quoted-p, lisp--company-doc-buffer)
6145 (lisp--company-doc-string, lisp--company-location)
6146 (lisp-completion-at-point): Move to elisp-mode.el.
6147 * emacs-lisp/lisp-mode.el (lisp--mode-syntax-table): New syntax-table,
6148 extracted from emacs-lisp-mode-syntax-table.
6149 (emacs-lisp-mode-abbrev-table, emacs-lisp-mode-syntax-table): Move to
6150 elisp-mode.el.
6151 (lisp-imenu-generic-expression): Add comments to document what comes
6152 from which Lisp dialect.
6153 (emacs-lisp-mode-map, emacs-lisp-byte-compile)
6154 (emacs-lisp-byte-compile-and-load, emacs-lisp-mode-hook)
6155 (emacs-lisp-mode, emacs-list-byte-code-comment-re)
6156 (emacs-lisp-byte-code-comment)
6157 (emacs-lisp-byte-code-syntax-propertize, emacs-lisp-byte-code-mode)
6158 (lisp-interaction-mode-map, lisp-interaction-mode)
6159 (eval-print-last-sexp, last-sexp-setup-props)
6160 (last-sexp-toggle-display, prin1-char, preceding-sexp)
6161 (eval-last-sexp-1, eval-last-sexp-print-value)
6162 (eval-last-sexp-fake-value, eval-sexp-add-defvars, eval-last-sexp)
6163 (eval-defun-1, eval-defun-2, eval-defun): Move to elisp-mode.el.
6164
6165 2014-09-26 Paul Eggert <eggert@cs.ucla.edu>
6166
6167 * progmodes/grep.el (grep-regexp-alist): Use more-accurate regexp.
6168 Do not match file names that end in '/', as they cannot be 'grep'
6169 hits nowadays. This prevents confusion when 'grep -r' reports a
6170 match in a file whose basename is ':12345:'. Conversely, do not
6171 require exactly the same sequence of spaces and tabs after both
6172 colons, and allow spaces or tabs before the second colon, as per
6173 the POSIX spec for 'grep' output.
6174
6175 2014-09-26 Leo Liu <sdl.web@gmail.com>
6176
6177 Add cl-parse-integer based on parse-integer (Bug#18557)
6178 * calendar/parse-time.el (parse-time-digits): Remove.
6179 (digit-char-p, parse-integer) Moved to cl-lib.el.
6180 (parse-time-tokenize, parse-time-rules, parse-time-string):
6181 Use cl-parse-integer.
6182
6183 * emacs-lisp/cl-extra.el (cl-parse-integer): New function.
6184
6185 * emacs-lisp/cl-lib.el (cl-digit-char-table): New var.
6186 (cl-digit-char-p): New function.
6187
6188 2014-09-25 Juri Linkov <juri@jurta.org>
6189
6190 * vc/add-log.el (change-log-next-buffer): Don't create an empty
6191 buffer "ChangeLog" when the current buffer doesn't match ChangeLog.[0-9].
6192 Return the current buffer if no files match the default pattern
6193 ChangeLog.[0-9]. Signal "end of multi" when file is nil. (Bug#18547)
6194
6195 2014-09-25 Stefan Monnier <monnier@iro.umontreal.ca>
6196
6197 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Don't modify
6198 the global vc-handled-backends (bug#18535).
6199
6200 2014-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
6201
6202 * find-cmd.el (find-cmd): Use grep's `find-program' (bug#18518).
6203 Suggested by <lompik@voila.fr>.
6204
6205 2014-09-24 Ulf Jasper <ulf.jasper@web.de>
6206
6207 * net/newst-treeview.el (newsticker--treeview-do-get-node-by-id):
6208 Rename from `newsticker--treeview-do-get-node'.
6209 (newsticker--treeview-get-node-by-id):
6210 Rename from `newsticker--treeview-get-node'.
6211 (newsticker--treeview-buffer-init)
6212 (newsticker--treeview-buffer-init): Disable buffer undo.
6213 (newsticker--treeview-unfold-node): Adapt to modified
6214 `newsticker--group-find-parent-group'.
6215 (newsticker--group-do-find-group):
6216 Rename from `newsticker--group-do-find-group-for-feed'.
6217 Now works for both, groups and feeds.
6218 (newsticker--group-find-parent-group):
6219 Rename from `newsticker--group-find-group-for-feed'.
6220 Now works for both, groups and feeds.
6221 (newsticker--group-do-get-parent-group)
6222 (newsticker--group-get-parent-group): Remove.
6223 (newsticker-group-add-group): Change interactive prompts.
6224 (newsticker-group-add-group): Finally jump to added group.
6225 (newsticker-group-delete-group): Finally jump to current feed.
6226 (newsticker--group-do-rename-group, newsticker-group-rename-group)
6227 (newsticker--get-group-names, newsticker--group-names): New.
6228 (newsticker-group-move-feed): Finally jump to moved feed.
6229 (newsticker-group-shift-feed-down, newsticker-group-shift-feed-up)
6230 (newsticker-group-shift-group-down)
6231 (newsticker-group-shift-group-up, newsticker--group-shift): New.
6232 (newsticker-treeview-mode-map): New keybindings for new shift commands.
6233
6234 * net/newst-backend.el (newsticker--item-list)
6235 (newsticker--item-position, newsticker--prev-message)
6236 (newsticker--scrollable-text): Move to newst-ticker.el.
6237
6238 * net/newst-ticker.el (newsticker--item-list)
6239 (newsticker--item-position, newsticker--prev-message)
6240 (newsticker--scrollable-text): Move from newst-backend.el.
6241
6242 2014-09-22 Kan-Ru Chen <kanru@kanru.info>
6243
6244 * window.el (fit-window-to-buffer): When counting buffer width,
6245 count the whole visible buffer. Correctly convert the body-height
6246 to pixel size for window-text-pixel-size (Bug#18498).
6247
6248 2014-09-22 Sam Steingold <sds@gnu.org>
6249
6250 * progmodes/sql.el (sql-product-alist): Improve the Vertica entry.
6251 (sql-execute): Use `special-mode'.
6252
6253 2014-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
6254
6255 Add pcase-defmacro, as well as `quote' and `app' patterns.
6256 * loadup.el: Increase max-lisp-eval-depth when macroexpanding macroexp.
6257 * emacs-lisp/pcase.el: Allow (F . ARGS) in `app' patterns.
6258 (pcase--funcall, pcase--eval): New functions.
6259 (pcase--u1): Use them for guard, pred, let, and app.
6260 (\`): Use the new feature to generate better code for vector patterns.
6261 * emacs-lisp/pcase.el: Use pcase-defmacro to handle backquote.
6262 (pcase--upat): Remove.
6263 (pcase--macroexpand): Don't hardcode handling of `.
6264 (pcase--split-consp, pcase--split-vector): Remove.
6265 (pcase--split-equal): Disregard ` since it's expanded away.
6266 (pcase--split-member): Optimize for quote rather than for `.
6267 (pcase--split-pred): Optimize for quote rather than for `.
6268 (pcase--u1): Remove handling of ` (and of `or' and `and').
6269 Quote non-selfquoting values when passing them to `eq'.
6270 Drop `app's let-binding if the variable is not used.
6271 (pcase--q1): Remove.
6272 (`): Define as a pattern macro.
6273 * emacs-lisp/pcase.el (pcase--match): New smart-constructor function.
6274 (pcase--expand pcase--q1, pcase--app-subst-match): Use it.
6275 (pcase--macroexpand): Handle self-quoting patterns here, expand them to
6276 quote patterns.
6277 (pcase--split-match): Don't hoist or/and here any more.
6278 (pcase--split-equal): Optimize quote patterns as well as ` patterns.
6279 (pcase--flip): New helper macro.
6280 (pcase--u1): Optimize the memq case directly.
6281 Don't handle neither self-quoting nor and/or patterns any more.
6282 * emacs-lisp/pcase.el (pcase-defmacro): New macro.
6283 (pcase--macroexpand): New function.
6284 (pcase--expand): Use it.
6285 * emacs-lisp/pcase.el (pcase--app-subst-match, pcase--app-subst-rest):
6286 New optimization functions.
6287 (pcase--u1): Add support for `quote' and `app'.
6288 (pcase): Document them in the docstring.
6289
6290 2014-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
6291
6292 Use lexical-bindin in Ibuffer.
6293 * ibuffer.el (ibuffer-do-toggle-read-only): `arg' is unused.
6294 (ibuffer-compile-format): Simplify.
6295 (ibuffer-clear-summary-columns): Simplify.
6296 * ibuf-ext.el (ibuffer-generate-filter-groups): Don't use the third
6297 elem of dotimes when we don't refer to the iteration var from it.
6298 (ibuffer-toggle-sorting-mode): Avoid add-to-list.
6299 * ibuf-macs.el (define-ibuffer-column, define-ibuffer-op):
6300 Silence byte-compiler.
6301
6302 2014-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
6303
6304 * font-lock.el (font-lock-compile-keyword): Don't confuse a lambda
6305 expression for a list.
6306
6307 * emacs-lisp/bytecomp.el (byte-compile-lambda): Don't add fundoc usage
6308 for functions with no arguments.
6309
6310 * mpc.el (mpc-data-directory): Use locate-user-emacs-file.
6311 (mpc-volume-refresh): Make sure the corresponding header-line is updated.
6312
6313 2014-09-17 Tom Willemse <tom@ryuslash.org> (tiny change)
6314
6315 * simple.el (clone-indirect-buffer): Mention the return value
6316 (bug#18478).
6317
6318 * progmodes/prog-mode.el (prog-mode-hook): Replace reference to
6319 Text mode in docstring (bug#18464).
6320
6321 2014-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
6322
6323 * progmodes/perl-mode.el (perl-syntax-propertize-function):
6324 Accept underscores in identifiers after "sub" (bug#18502).
6325
6326 2014-09-21 Tassilo Horn <tsdh@gnu.org>
6327
6328 * textmodes/reftex-sel.el (reftex-select-label-mode)
6329 (reftex-select-bib-mode, reftex-insert-docstruct): Derive modes
6330 from special-mode (instead of fundamental-mode) and propertize
6331 with font-lock-face instead of just face. (Bug#18496)
6332
6333 * textmodes/reftex-toc.el (reftex-toc-mode, reftex-toc): Ditto.
6334
6335 2014-09-19 Dmitry Gutov <dgutov@yandex.ru>
6336
6337 * emacs-lisp/lisp.el (lisp-completion-at-point): Only calculate
6338 `table-etc' when `end' is non-nil.
6339 (lisp-completion-at-point): Move `end' back if it's after quote.
6340 If in comment or string, only complete when after backquote.
6341 (Bug#18265)
6342 (lisp-completion-at-point): Don't use
6343 `lisp--local-variables-completion-table' in the
6344 `lisp--form-quoted-p' case.
6345
6346 2014-09-19 Dmitry Gutov <dgutov@yandex.ru>
6347
6348 * emacs-lisp/lisp.el (lisp--expect-function-p)
6349 (lisp--form-quoted-p): New functions.
6350 (lisp-completion-at-point): Use them to see if we're completing a
6351 variable reference, a function name, or just any symbol.
6352 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00229.html
6353
6354 2014-09-18 Ivan Kanis <ivan@kanis.fr>
6355
6356 * net/shr.el, net/eww.el: Don't override `shr-width', but
6357 introduce a new variable `shr-internal-width'. This allows users
6358 to specify a width themselves.
6359
6360 2014-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
6361
6362 * image-mode.el (image-toggle-display-image): If we have a
6363 `fit-width' or a `fit-height', don't limit the size of the image
6364 to the window size, because that doesn't preserve the aspect ratio.
6365 * image-mode.el: Move defvars earlier to avoid a byte-compilation
6366 warning.
6367
6368 2014-09-17 Reuben Thomas <rrt@sc3d.org>
6369
6370 * progmodes/js.el: Add interpreter-mode-alist support for various
6371 JavaScript interpreters.
6372
6373 2014-09-17 Paul Eggert <eggert@cs.ucla.edu>
6374
6375 Don't assume 'grep' supports GREP_OPTIONS.
6376 The GREP_OPTIONS environment variable is planned to be marked
6377 obsolescent in GNU grep, due to problems in its use, so stop
6378 relying on it.
6379 * progmodes/grep.el (grep-highlight-matches): Document this.
6380 (grep-process-setup): Do not set GREP_OPTIONS.
6381 (grep-compute-defaults): Use an explicit --color option if supported.
6382
6383 2014-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
6384
6385 * msb.el (msb--make-keymap-menu, msb-menu-bar-update-buffers):
6386 Don't add outdated key-shortcut cache (bug#18482).
6387
6388 2014-09-15 Glenn Morris <rgm@gnu.org>
6389
6390 * image.el (image-multi-frame-p): Fix thinko - do not force
6391 a delay if none was specified. (Bug#18334)
6392
6393 2014-09-15 Kan-Ru Chen <kanru@kanru.info>
6394
6395 * window.el (fit-window-to-buffer): Doc fix.
6396
6397 2014-09-15 Ivan Shmakov <ivan@siamics.net>
6398
6399 * desktop.el (desktop-create-buffer): Check that buffers are still live
6400 before burying them (bug#18373).
6401
6402 2014-09-15 Glenn Morris <rgm@gnu.org>
6403
6404 * calendar/diary-lib.el (diary-list-entries):
6405 Restore 24.3 display behavior. (Bug#18381)
6406
6407 2014-09-15 Eli Zaretskii <eliz@gnu.org>
6408
6409 * mouse.el (mouse-drag-line): On text-mode frames, count the mode
6410 line and header line as 1 pixel. This fixes the 1-"pixel" (row)
6411 discrepancy between window-pixel-edges and mouse events, and
6412 avoids moving mode line up when the mouse click is on the modeline
6413 and no drag is attempted.
6414
6415 2014-09-14 Daniel Colascione <dancol@dancol.org>
6416
6417 * register.el (insert-register): Change default interactive
6418 insertion mode.
6419
6420 2014-09-14 Michael Albinus <michael.albinus@gmx.de>
6421
6422 * net/tramp-cache.el (tramp-flush-file-function): Simplify check.
6423 Suppress debug messages.
6424
6425 * net/tramp.el (tramp-file-name-handler):
6426 * net/tramp-gvfs.el (tramp-gvfs-url-file-name): Apply `cons' where
6427 appropriate.
6428
6429 2014-09-13 Christopher Schmidt <ch@ristopher.com>
6430
6431 * calendar/calendar.el (calendar-update-mode-line):
6432 Do not overwrite mode-line-format if calendar-mode-line-format is
6433 nil. (Bug#18467)
6434
6435 2014-09-13 Leo Liu <sdl.web@gmail.com>
6436
6437 * emacs-lisp/pcase.el (pcase--dontwarn-upats): New var.
6438 (pcase--expand): Use it.
6439 (pcase-exhaustive): New macro. (Bug#16567)
6440
6441 * emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2):
6442 Add pcase-exhaustive.
6443
6444 2014-09-13 Eli Zaretskii <eliz@gnu.org>
6445
6446 * mail/rmailmm.el (rmail-mime-insert-html): Decode the HTML part
6447 using the specified transfer-encoding, if any, or 'undecided'.
6448 (rmail-mime-render-html-shr): Bind shr-width to nil, so lines are
6449 broken at the window margin.
6450
6451 2013-12-27 Ken Olum <kdo@cosmos.phy.tufts.edu>
6452
6453 Support rendering of HTML parts in Rmail (bug#4258).
6454 * mail/rmailmm.el (rmail-mime-process): Handle text/html
6455 separately from other text/ types. Suppress tagline for
6456 multipart body.
6457 (rmail-mime-parse): Don't change visibility of tagline here.
6458 (rmail-mime-set-bulk-data, rmail-mime-insert-bulk):
6459 Handle text/html specially.
6460 (rmail-mime-render-html-function,rmail-mime-prefer-html): New variables.
6461 (rmail-mime-insert-html, rmail-mime-render-html-shr)
6462 (rmail-mime-render-html-lynx): New functions.
6463 (rmail-mime-fix-inserted-faces): New function.
6464 (rmail-mime-process-multipart): Find the best part to show
6465 following rmail-mime-prefer-html if set.
6466 (rmail-mime-searching): New variable.
6467 (rmail-search-mime-message): Bind rmail-mime-searching to
6468 suppress rendering while searching.
6469
6470 2014-09-12 Sam Steingold <sds@gnu.org>
6471
6472 * progmodes/sql.el (sql-product-alist): Add vertica.
6473 (sql-vertica-program, sql-vertica-options)
6474 (sql-vertica-login-params, sql-comint-vertica, sql-vertica):
6475 New functions and variables to support Vertica.
6476 Inspired by code by Roman Scherer <roman@burningswell.com>.
6477
6478 2014-09-11 Paul Eggert <eggert@cs.ucla.edu>
6479
6480 * ses.el (ses-file-format-extend-parameter-list): Rename from
6481 ses-file-format-extend-paramter-list, to correct a misspelling.
6482 All uses changed.
6483
6484 2014-09-10 Alan Mackenzie <acm@muc.de>
6485
6486 CC Mode: revert recent changes and fix bug 17463 (cc-langs.elc
6487 gets loaded at run-time).
6488 * progmodes/cc-langs.el (c-no-parens-syntax-table): Rename the
6489 c-lang-const to c-make-no-parens-syntax-table and correct the
6490 logic.
6491 (c-no-parens-syntax-table): Correct the logic of the
6492 c-lang-defvar.
6493
6494 2014-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
6495
6496 CC-mode: Set open-paren-in-column-0-is-defun-start to nil;
6497 plus misc cleanup.
6498 * progmodes/cc-mode.el (c-basic-common-init):
6499 Set open-paren-in-column-0-is-defun-start.
6500 (adaptive-fill-first-line-regexp, font-lock-syntactic-keywords):
6501 Remove declarations, unused.
6502 (run-mode-hooks): Remove declaration.
6503 (font-lock-defaults): Use plain `defvar' to declare.
6504 (c-run-mode-hooks): Test existence of run-mode-hooks with fboundp.
6505 * progmodes/cc-langs.el (c-filter-ops): Avoid `setq'.
6506 (c-make-mode-syntax-table): Don't micro-optimize.
6507 (c-keywords, c-keyword-member-alist): Simplify.
6508 (c-kwds-lang-consts): Don't eval at compile-time.
6509 (c-primary-expr-regexp): Comment out unused vars.
6510 * progmodes/cc-fonts.el (c-font-lock-context): Declare at top-level.
6511 (c-font-byte-compile): New var.
6512 (c--compile): New function. Use it instead of `byte-compile'.
6513 (c-cpp-matchers): Quote the value returned by
6514 `c-make-syntactic-matcher' in case it's not self-evaluating.
6515 (c-basic-matchers-before): Avoid a plain MATCHER as keyword, wrap it in
6516 parentheses instead (in case MATCHER happens to be a list).
6517 (c-font-lock-enum-tail): Remove unused var `start'.
6518 (c-font-lock-objc-methods): Silence byte-compiler warnings.
6519 * progmodes/cc-engine.el (c-syntactic-re-search-forward): Sink an `if'
6520 test into an argument.
6521 * progmodes/cc-defs.el (c-point, c-major-mode-is, c-put-char-property)
6522 (c-get-char-property): Don't use `eval' just to unquote a constant.
6523 (c-use-extents): Remove. Use (featurep 'xemacs), compiled
6524 more efficiently.
6525 (c-put-char-property-fun): Don't call `byte-compile' by hand.
6526 (c-clear-char-property, c-clear-char-properties): Check that `property'
6527 is a quoted constant.
6528 (c-emacs-features): Remove `infodock', `syntax-properties', and
6529 `pps-extended-state' (never used), `8-bit' and `1-bit' (use (featurep
6530 'xemacs) instead). Use `with-temp-buffer' and let-bind vars after
6531 changing buffer, so we don't have to setq them again afterwards.
6532 (c-lang-const): Remove redundant symbolp assertions.
6533 (c-find-assignment-for-mode): Use `or'.
6534 * Makefile.in (compile-one-process): Remove cc-mode dependency.
6535
6536 2014-09-09 Sam Steingold <sds@gnu.org>
6537
6538 * progmodes/sql.el (sql-default-directory): Fix type annotation.
6539
6540 2014-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
6541
6542 * progmodes/cc-awk.el: Remove unneeded cc-bytecomp use.
6543 Change doc comments into docstrings.
6544 * Makefile.in: Remove cc-awk dependency.
6545
6546 2014-09-08 Sam Steingold <sds@gnu.org>
6547
6548 * progmodes/sql.el (sql-send-line-and-next): New command,
6549 bound to C-c C-n.
6550 (sql-show-sqli-buffer): Display the buffer instead of its name and
6551 bind the command to C-c C-z.
6552 (sql-default-directory): New user option.
6553 (sql-product-interactive): Bind `default-directory' to it to
6554 enable remote connections using Tramp.
6555 (sql-set-sqli-buffer): Call `sql-product-interactive' when no
6556 suitable buffer is available.
6557
6558 2014-09-08 Glenn Morris <rgm@gnu.org>
6559
6560 * calendar/calendar.el (calendar-basic-setup):
6561 Fix calendar-view-holidays-initially-flag and fancy display.
6562 * calendar/diary-lib.el (diary-live-p): Doc fix.
6563
6564 * calendar/calendar.el (calendar-basic-setup):
6565 Avoid clobbering calendar with diary. (Bug#18381)
6566
6567 2014-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
6568
6569 * vc/vc-dir.el (vc-dir-update): Don't burp in corner case.
6570
6571 2014-09-08 Lars Ljung <lars@matholka.se> (tiny change)
6572
6573 * isearch.el (isearch-yank-word-or-char): Obey superword-mode
6574 as well (bug#18400).
6575
6576 2014-09-08 Eli Zaretskii <eliz@gnu.org>
6577
6578 * subr.el (posn-actual-col-row): Doc fix. (Bug#18385)
6579
6580 2014-09-06 Leo Liu <sdl.web@gmail.com>
6581
6582 * emacs-lisp/pcase.el (pcase): Doc fix.
6583 (pcase--split-vector): New function.
6584 (pcase--q1): Support vector qpattern. (Bug#18327)
6585
6586 2014-09-05 Sam Steingold <sds@gnu.org>
6587
6588 * textmodes/tex-mode.el (tex-print-file-extension): New user
6589 option.
6590 (tex-print): Use it instead of the hard-coded string.
6591
6592 2014-09-05 Michael Albinus <michael.albinus@gmx.de>
6593
6594 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
6595 Expand `default-directory'.
6596
6597 2014-09-05 Martin Rudalics <rudalics@gmx.at>
6598
6599 * scroll-bar.el (horizontal-scroll-bars-available-p):
6600 New function.
6601 (horizontal-scroll-bar-mode): Rewrite using
6602 horizontal-scroll-bars-available-p.
6603 * menu-bar.el (menu-bar-showhide-scroll-bar-menu): Rewrite using
6604 horizontal-scroll-bars-available-p.
6605
6606 2014-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
6607
6608 * subr.el (call-process-shell-command, process-file-shell-command):
6609 Make the `args' obsolete (bug#18409).
6610 (start-process-shell-command, start-file-process-shell-command):
6611 Use `declare'.
6612
6613 2014-09-05 Jay Belanger <jay.p.belanger@gmail.com>
6614
6615 * calc/calc-forms.el (math-normalize-hms): Do a better check for
6616 "negative" hms forms.
6617
6618 2014-09-04 Rasmus Pank Roulund <emacs@pank.eu>
6619
6620 * vc/vc-git.el (vc-git-conflicted-files): Fix bug when git status
6621 returns nil (bug#18391).
6622
6623 2014-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
6624
6625 * emacs-lisp/eldoc.el (eldoc-function-argstring): Don't strip
6626 terminating paren (bug#18352).
6627 (eldoc-last-data-store): Return cached data.
6628 (eldoc-get-var-docstring): Avoid setq.
6629 (eldoc-get-fnsym-args-string): Clarify data flow.
6630
6631 2014-09-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6632
6633 * emacs-lisp/eldoc.el (eldoc-highlight-function-argument): Handle the
6634 case where we're currently providing part of the &rest arg after some
6635 &key args, as in define-ibuffer-op (bug#18048).
6636
6637 2014-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
6638
6639 * progmodes/which-func.el (which-func-ff-hook): Obey pre-existing
6640 buffer-local setting of which-func-mode.
6641 (which-func-mode): Use defvar-local.
6642 (which-function-mode): Don't reset which-func-mode in each buffer since
6643 it might have been set by someone else.
6644 (which-func-update-ediff-windows): Check which-function-mode.
6645
6646 2014-09-03 Martin Rudalics <rudalics@gmx.at>
6647
6648 * frame.el (frame-initialize): Remove horizontal-scroll-bars
6649 from frame-initial-frame-alist.
6650 * scroll-bar.el (previous-horizontal-scroll-bar-mode)
6651 (horizontal-scroll-bar-mode-explicit)
6652 (set-horizontal-scroll-bar-mode, get-horizontal-scroll-bar-mode)
6653 (toggle-horizontal-scroll-bar): Remove.
6654 (horizontal-scroll-bar-mode): Remove defcustom.
6655 (horizontal-scroll-bar-mode): Fix doc-string.
6656 (scroll-bar-toolkit-scroll)
6657 (scroll-bar-toolkit-horizontal-scroll): Add doc-strings stubs.
6658
6659 2014-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
6660
6661 * emacs-lisp/package.el (package-generate-description-file):
6662 Properly quote the arguments (bug#18332). Change second arg.
6663 (package--alist-to-plist-args): Rename from package--alist-to-plist and
6664 quote the elements.
6665 (package--make-autoloads-and-stuff): Fix the test for pre-existence of
6666 the *-pkg.el file. Adjust to new calling convention of
6667 package-generate-description-file.
6668
6669 * progmodes/gud.el (gud-gdb-completion-at-point): Add hack (bug#18282).
6670 (gud-gdb-completions): Remove obsolete workaround.
6671
6672 2014-09-03 Eli Zaretskii <eliz@gnu.org>
6673
6674 * subr.el (posn-col-row): Revert the change from commit
6675 2010-11-13T21:07:58Z!eliz@gnu.org, which
6676 was inadvertently merged from emacs-23 release branch in 2010-11-18T03:54:14Z!monnier@iro.umontreal.ca
6677 monnier@iro.umontreal.ca-20101118035414-yvlg7k7dk4k4l3q, and
6678 introduced an off-by-one error in the reported row when there is a
6679 header line. (Bug#18384)
6680
6681 2014-09-03 Fabián Ezequiel Gallina <fgallina@gnu.org>
6682
6683 * progmodes/python.el (python-indent-post-self-insert-function):
6684 Avoid electric colon at beginning-of-defun. (Bug#18228)
6685
6686 2014-09-03 Glenn Morris <rgm@gnu.org>
6687
6688 * tutorial.el (tutorial--display-changes):
6689 Fix 2014-08-01 change. (Bug#18382)
6690
6691 2014-09-03 Ken Brown <kbrown@cornell.edu>
6692
6693 * startup.el (fancy-splash-frame): Extend the fix for Bug#16014 to
6694 the Cygwin-w32 build. (Bug#18347)
6695
6696 2014-09-03 Glenn Morris <rgm@gnu.org>
6697
6698 * tar-mode.el (tar--extract, tar-extract):
6699 Avoid permanently disabling undo in extracted buffers. (Bug#18344)
6700
6701 2014-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
6702
6703 * progmodes/sh-script.el (sh-font-lock-quoted-subshell): Try to better
6704 handle multiline elements (bug#18380).
6705
6706 2014-09-01 Eli Zaretskii <eliz@gnu.org>
6707
6708 * ls-lisp.el (ls-lisp-use-string-collate)
6709 (ls-lisp-UCA-like-collation): New defcustoms.
6710 (ls-lisp-string-lessp): Use them to control sorting by file
6711 names. (Bug#18051)
6712 (ls-lisp-version-lessp): New function.
6713 (ls-lisp-handle-switches): Use it to implement the -v switch of
6714 GNU ls.
6715 (ls-lisp--insert-directory): Mention the -v switch in the doc string.
6716
6717 2014-08-31 Christoph Scholtes <cschol2112@gmail.com>
6718
6719 * ibuffer.el: Replace mode-specific quit function with
6720 `quit-window' via `special-mode'.
6721 (ibuffer-mode-map): Use keybindings from special-mode-map instead
6722 of local overrides.
6723 (ibuffer): Don't store previous windows configuration.
6724 Let `quit-window' handle restoring.
6725 (ibuffer-quit): Remove function. Use `quit-window' instead.
6726 (ibuffer-restore-window-config-on-quit): Remove variable.
6727 (ibuffer-prev-window-config): Remove variable.
6728
6729 2014-08-29 Michael Heerdegen <michael_heerdegen@web.de>
6730
6731 * emacs-lisp/easy-mmode.el (define-minor-mode): Use mode function
6732 name instead of variable name in hook docstring. (Bug#18349)
6733
6734 2014-08-29 Martin Rudalics <rudalics@gmx.at>
6735
6736 * window.el (display-buffer-at-bottom): Prefer bottom-left
6737 window to other bottom windows. Reuse a bottom window if it
6738 shows the buffer already. Suggested by Juri Linkov
6739 <juri@jurta.org> in discussion of (Bug#18181).
6740
6741 2014-08-29 Leo Liu <sdl.web@gmail.com>
6742
6743 * files.el (minibuffer-with-setup-hook): Allow (:append FUN) to
6744 append to minibuffer-setup-hook. (Bug#18341)
6745
6746 2014-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6747
6748 * progmodes/cc-defs.el: Expose c-lanf-defconst's expressions to the
6749 byte-compiler.
6750 (lookup-syntax-properties): Silence byte-compiler.
6751 (c-lang-defconst): Quote the code with `lambda' rather than with
6752 `quote'.
6753 (c-lang-const): Avoid unneeded setq.
6754 (c-lang-constants-under-evaluation): Add docstring.
6755 (c-lang--novalue): New constant.
6756 (c-find-assignment-for-mode): Use it instead of c-lang-constants.
6757 (c-get-lang-constant): Same here.
6758 Get the mode's value using `funcall' now that the code is quoted
6759 with `lambda'.
6760
6761 2014-08-28 Michael Albinus <michael.albinus@gmx.de>
6762
6763 * net/tramp.el (tramp-handle-shell-command): Use `display-buffer'.
6764 (Bug#18326)
6765
6766 2014-08-28 Martin Rudalics <rudalics@gmx.at>
6767
6768 * scroll-bar.el (scroll-bar-horizontal-drag-1): Handle new
6769 interpretation of `portion-whole'.
6770
6771 2014-08-28 Michael Albinus <michael.albinus@gmx.de>
6772
6773 * net/tramp-adb.el: Spell author name correctly.
6774
6775 2014-08-28 João Távora <joaotavora@gmail.com>
6776
6777 * net/shr.el (shr-expand-url): Plain expand-file-name is not enough;
6778 use url-expand-file-name. (Bug#18310)
6779
6780 2014-08-28 Glenn Morris <rgm@gnu.org>
6781
6782 * emulation/cua-rect.el (cua--highlight-rectangle):
6783 Avoid error at point-min. (Bug#18309)
6784
6785 2014-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6786
6787 * progmodes/python.el (python-shell-prompt-detect): Remove redundant
6788 executable-find (bug#18244).
6789
6790 * simple.el (self-insert-uses-region-functions): Defvar.
6791
6792 2014-08-28 Glenn Morris <rgm@gnu.org>
6793
6794 * subr.el (remq): Revert 2014-08-25 doc change (not always true).
6795
6796 2014-08-27 Dmitry Antipov <dmantipov@yandex.ru>
6797
6798 * startup.el (normal-top-level): Now use internal--top-level-message.
6799
6800 2014-08-26 Dmitry Antipov <dmantipov@yandex.ru>
6801
6802 * startup.el (normal-top-level): Use top-level-message.
6803
6804 2014-08-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6805
6806 * net/shr.el (shr-copy-url): Encode copied URL to avoid getting
6807 URLs containing spaces and the like.
6808
6809 2014-08-25 Christoph Scholtes <cschol2112@gmail.com>
6810
6811 * subr.el (remq): Fix docstring (Bug#18253).
6812
6813 2014-08-25 Christoph Scholtes <cschol2112@gmail.com>
6814
6815 * replace.el (query-replace): Fix typo in docstring (Bug#18320).
6816
6817 2014-08-24 Alan Mackenzie <acm@muc.de>
6818
6819 Handle C++11's "auto" and "decltype" constructions.
6820 * progmodes/cc-engine.el (c-forward-type): Enhance to recognise
6821 and return 'decltype.
6822 (c-forward-decl-or-cast-1): New let variables backup-kwd-sym,
6823 prev-kwd-sym, new-style-auto. Enhance to handle the new "auto"
6824 keyword.
6825 * progmodes/cc-fonts.el (c-font-lock-declarations): Handle the
6826 "decltype" keyword.
6827 (c-font-lock-c++-new): Handle "decltype" constructions.
6828 * progmodes/cc-langs.el (c-auto-ops, c-auto-ops-re):
6829 New c-lang-defconsts/defvars.
6830 (c-haskell-op, c-haskell-op-re): New c-lang-defconsts/defvars.
6831 (c-typeof-kwds, c-typeof-key): New c-lang-defconsts/defvars.
6832 (c-typeless-decl-kwds): Append "auto" onto the C++ value.
6833 (c-not-decl-init-keywords): Also exclude c-typeof-kwds from value.
6834
6835 Make ">>" act as double template ender in C++ Mode. (Bug#11386)
6836 * progmodes/cc-langs.el (c->-op-cont-tokens): New lang-const split
6837 off from c->-op-cont-re.
6838 (c->-op-cont-tokens): Change to use the above.
6839 (c->-op-without->-cont-regexp): New lang-const.
6840 * progmodes/cc-engine.el (c-forward-<>-arglist-recur):
6841 Use c->-op-without->-cont-regexp in place of c->-op-cont-tokens.
6842
6843
6844 2014-08-23 Alan Mackenzie <acm@muc.de>
6845
6846 * progmodes/cc-fonts.el (c-font-lock-declarators): Fix infinite
6847 loop, bug #18306. The bug was introduced on 2014-08-02.
6848
6849 2014-08-21 Eli Zaretskii <eliz@gnu.org>
6850
6851 * textmodes/texnfo-upd.el (texinfo-specific-section-type):
6852 Don't recognize a Top node if there are other sectioning commands
6853 earlier in the Texinfo file. This fixes a bug in
6854 texinfo-make-menu and avoids inflooping in
6855 texinfo-all-menus-update when they are invoked on texinfo.texi.
6856
6857 2014-08-21 Martin Rudalics <rudalics@gmx.at>
6858
6859 * window.el (window--side-window-p): New function.
6860 (split-window, window-splittable-p): Use window--side-window-p to
6861 determine whether WINDOW can be split (Bug#18304).
6862 * calendar/calendar.el (calendar-basic-setup): Fix one call of
6863 `window-splittable-p' and add another (Bug#18304).
6864
6865 2014-08-20 Sam Steingold <sds@gnu.org>
6866
6867 * progmodes/python.el (python-new-pythonpath): Extract from
6868 `python-shell-calculate-process-environment'.
6869
6870 2014-08-18 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6871
6872 * emacs-lisp/eldoc.el (eldoc-highlight-function-argument): Add support
6873 for &key args (bug#18048).
6874
6875 2014-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
6876
6877 * emacs-lisp/eldoc.el (eldoc-argument-case): Obsolete and change default.
6878 (eldoc-function-argstring-format): Remove.
6879 (eldoc-function-argstring): Always return upcase args.
6880 Use help-make-usage. Don't add parens.
6881 (eldoc-get-fnsym-args-string): Don't obey eldoc-argument-case since
6882 it's too late to do it right (bug#18048).
6883
6884 2014-08-18 Eli Zaretskii <eliz@gnu.org>
6885
6886 * scroll-bar.el (scroll-bar-horizontal-drag-1)
6887 (scroll-bar-toolkit-horizontal-scroll): When determining the
6888 paragraph direction, use the buffer of the window designated in
6889 the event.
6890
6891 2014-08-16 Andreas Schwab <schwab@linux-m68k.org>
6892
6893 * vc/diff-mode.el (diff-fixup-modifs): Handle empty line in
6894 context of unified diff.
6895
6896 2014-08-16 Paul Eggert <eggert@cs.ucla.edu>
6897
6898 Add dependencies to fix loaddefs race during parallel builds.
6899 Without this, for example, 'make -j bootstrap' can fail and report
6900 "Opening input file: no such file or directory,
6901 .../lisp/calendar/diary-loaddefs.el ... recipe for target
6902 'calendar/hol-loaddefs.el' failed", where the hol-loaddefs.el rule
6903 got confused because diary-loaddefs.el was being built in parallel.
6904 * Makefile.in ($(CAL_DIR)/diary-loaddefs.el):
6905 Depend on $(CAL_DIR)/cal-loaddefs.el.
6906 ($(CAL_DIR)/hol-loaddefs.el): Depend on $(CAL_DIR)/diary-loaddefs.el.
6907
6908 2014-08-16 Martin Rudalics <rudalics@gmx.at>
6909
6910 * scroll-bar.el (scroll-bar-horizontal-drag-1): Use cdr of
6911 portion-whole for scrolling right-to-left text.
6912
6913 2014-08-15 Leo Liu <sdl.web@gmail.com>
6914
6915 * speedbar.el (speedbar-generic-list-tag-p): Allow special
6916 elements from imenu.
6917
6918 2014-08-15 Glenn Morris <rgm@gnu.org>
6919
6920 * subr.el (with-output-to-temp-buffer): Doc fix; from elisp manual.
6921
6922 2014-08-13 Jan Nieuwenhuizen <janneke@gnu.org>
6923
6924 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6925 Add Guile regexpses.
6926
6927 2014-08-13 Jan Nieuwenhuizen <janneke@gnu.org>
6928
6929 * progmodes/gud.el (guiler): New function. Starts the Guile REPL;
6930 add Guile debugger support for GUD.
6931
6932 2014-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
6933
6934 * obsolete/mouse-sel.el (mouse-sel-mode): Use add/remove-function.
6935 (mouse-sel--ignore): New function.
6936 (mouse-sel-has-been-enabled, mouse-sel-original-bindings)
6937 (mouse-sel-original-interprogram-cut-function)
6938 (mouse-sel-original-interprogram-paste-function): Remove.
6939
6940 2014-08-13 Eric S. Raymond <esr@thyrsus.com>
6941
6942 * vc/vc-git.el (vc-git-resolve-when-done): New function.
6943 Call "git add" when there are no longer conflict markers.
6944
6945 2014-08-13 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6946
6947 * vc/vc-git.el (vc-git-find-file-hook): New function.
6948 Adds support for calling smerge (and resolve) on a conflicted file.
6949 (vc-git-conflicted-files): New function.
6950 Useful in itself and a step towards better smerge support.
6951
6952 2014-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
6953
6954 * mpc.el (mpc-reorder): Don't bother splitting the "active" elements
6955 to the first part if they're the same as the selection.
6956
6957 2014-08-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
6958
6959 * image-mode.el (image-transform-reset): New command and menu item.
6960 (image-mode-map): Rearrange the menu items to put presumably more
6961 obscure items at the end.
6962
6963 2014-08-12 Juri Linkov <juri@jurta.org>
6964
6965 * vc/vc-annotate.el (vc-annotate-background-mode):
6966 Use `with-demoted-errors' instead of `ignore-errors'. (Bug#18189)
6967
6968 2014-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
6969
6970 * files.el (out-of-memory-warning-percentage): Turn it off by default.
6971
6972 2014-08-11 Sam Steingold <sds@gnu.org>
6973
6974 * textmodes/sgml-mode.el (sgml-validate-command): Set depending on
6975 the presence of known validators (tidy, (o)nsgmls).
6976
6977 2014-08-11 Ulf Jasper <ulf.jasper@web.de>
6978
6979 Newsticker: introduce `newsticker-treeview-date-format'. (Bug#17227)
6980 * net/newst-treeview.el (newsticker-treeview-date-format): New.
6981 (newsticker--treeview-list-add-item):
6982 Use `newsticker-treeview-date-format'.
6983
6984 2014-08-11 Glenn Morris <rgm@gnu.org>
6985
6986 * files.el (basic-save-buffer-2): Revert 2013-01-31 change, which
6987 chose coding system for writing before backing up, since it causes
6988 a more serious problem than the one it solves. (Closes Bug#18141,
6989 reopens Bug#13522.)
6990
6991 2014-08-11 Martin Rudalics <rudalics@gmx.at>
6992
6993 * window.el (window-total-size): Make doc-string more self-contained.
6994
6995 * window.el (display-buffer-below-selected): Restore original
6996 behavior if buffer is already displayed in the window below the
6997 selected one (Bug#18181).
6998
6999 2014-08-11 Stefan Monnier <monnier@iro.umontreal.ca>
7000
7001 * mouse.el (mouse--down-1-maybe-follows-link): Don't convert the down
7002 event (bug#18212).
7003
7004 2014-08-11 Eli Zaretskii <eliz@gnu.org>
7005
7006 * info.el (info): Doc fix.
7007
7008 2014-08-11 Stefan Monnier <monnier@iro.umontreal.ca>
7009
7010 * info.el (Info-mode-map): Override a global down-mouse-2 binding
7011 (bug#18212).
7012
7013 2014-08-11 Eli Zaretskii <eliz@gnu.org>
7014
7015 * simple.el (default-line-height): A floating-point value of
7016 line-spacing means a fraction of the default frame font's height,
7017 not of the font currently used by the 'default' face.
7018 Truncate the pixel value, like the display engine does.
7019 (window-screen-lines): Use window-inside-pixel-edges for
7020 determining the window height in pixels. (Bug#18195)
7021
7022 2014-08-11 Grégoire Jadi <daimrod@gmail.com>
7023
7024 * leim/quail/latin-post.el: Transform " __" into " _". (Bug#18023)
7025
7026 2014-08-10 Ulf Jasper <ulf.jasper@web.de>
7027
7028 Enumerate evaluated sexp diary entries (Bug#7911).
7029 * calendar/icalendar.el (icalendar-export-sexp-enumerate-all)
7030 (icalendar-export-sexp-enumeration-days): New.
7031 (icalendar-export-region): Now `icalendar--convert-to-ical'
7032 returns a cons cell or a list of cons cells.
7033 (icalendar--convert-to-ical): Take care of
7034 `icalendar-export-sexp-enumerate-all'. Return (a list of) cons cells.
7035 (icalendar--convert-ordinary-to-ical)
7036 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
7037 (icalendar--convert-block-to-ical, icalendar--convert-block-to-ical)
7038 (icalendar--convert-float-to-ical, icalendar--convert-cyclic-to-ical)
7039 (icalendar--convert-anniversary-to-ical): Return cons cell.
7040 (icalendar--convert-sexp-to-ical): Enumerate evaluated sexp
7041 entries. Return (list of) cons cells.
7042
7043 2014-08-09 Juri Linkov <juri@jurta.org>
7044
7045 * vc/vc-annotate.el (vc-annotate-background-mode): Add :set
7046 to reevaluate `vc-annotate-color-map'. (Bug#18189)
7047
7048 2014-08-09 Alan Mackenzie <acm@muc.de>
7049
7050 * progmodes/cc-fonts.el (c-font-lock-declarators): Remove check
7051 for top-level that can cause unacceptable slow-down in scrolling.
7052 See email Subject: Huge {...} blocks in C/C++ again, from Dmitry
7053 Antipov from 2013-10-14 in emacs-devel.
7054
7055 2014-08-08 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7056
7057 * ibuffer.el (ibuffer-mode-map): Use toggle button for
7058 `ibuffer-auto-mode' menu entry.
7059 (ibuffer-mode-hook): Add `ibuffer-auto-mode' customization option.
7060
7061 2014-08-08 Matthias Meulien <orontee@gmail.com>
7062
7063 * progmodes/prog-mode.el (prog-mode-hook): Make customizable.
7064 (Bug#16394)
7065
7066 2014-08-07 Martin Rudalics <rudalics@gmx.at>
7067
7068 * window.el (window--min-size-1): Explicitly set WINDOW arg in
7069 calls of window-min-pixel-height and window-min-pixel-width.
7070
7071 2014-08-07 Reuben Thomas <rrt@sc3d.org>
7072
7073 * progmodes/ada-mode.el:
7074 * net/tramp.el (tramp-handle-file-symlink-p):
7075 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Remove a comment
7076 about VMS, which we no longer support.
7077 * progmodes/ada-xref.el (ada-xref-current): Remove mention of VMS,
7078 and fix a FIXME, using convert-standard-filename in place of
7079 removed ada-convert-file-name.
7080
7081 2014-08-07 Eli Zaretskii <eliz@gnu.org>
7082
7083 * files.el (auto-mode-alist): Remove support for VMS from a pattern.
7084
7085 2014-08-07 Reuben Thomas <rrt@sc3d.org>
7086
7087 Refer to MS-DOS using the same name everywhere.
7088 * arc-mode.el, files.el, frame.el: ``MS-DOG'', ``MSDOG'' and
7089 ``msdog'' become ``MS-DOS''.
7090
7091 2014-08-07 Michael Albinus <michael.albinus@gmx.de>
7092
7093 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
7094 Use cached "remote-copy-args" value, if available. (Bug#18199)
7095
7096 2014-08-07 Leo Liu <sdl.web@gmail.com>
7097
7098 * help.el (temp-buffer-setup-hook,temp-buffer-show-hook):
7099 Revert change on 2014-03-22.
7100
7101 2014-08-06 Ulf Jasper <ulf.jasper@web.de>
7102
7103 * calendar/icalendar.el (icalendar--diarytime-to-isotime)
7104 (icalendar--convert-ordinary-to-ical): Allow for missing minutes
7105 (Bug#13750).
7106
7107
7108 2014-08-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
7109
7110 * image-mode.el (image-toggle-display-image): Always rescale images
7111 to not be bigger than the current window.
7112
7113 2014-08-05 Eric Brown <brown@fastmail.fm> (tiny change)
7114
7115 * net/eww.el (eww-bookmarks-directory): New variable.
7116 (eww-write-bookmarks): Use it.
7117 (eww-read-bookmarks): Ditto.
7118
7119 2014-08-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
7120
7121 * net/shr.el (shr-copy-url): Also copy the image URL.
7122
7123 2014-08-05 Michael Albinus <michael.albinus@gmx.de>
7124
7125 * net/tramp-cache.el (tramp-flush-file-function): Suppress function
7126 also for Tramp working buffers.
7127
7128 2014-08-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
7129
7130 * progmodes/python.el: Fix completions inside (i)pdb.
7131 (python-shell-completion-pdb-string-code): Make obsolete.
7132 (python-shell-completion-get-completions):
7133 Use python-shell-completion-string-code resending setup code
7134 continuously for (i)pdb.
7135
7136 2014-08-04 Paul Eggert <eggert@cs.ucla.edu>
7137
7138 * rect.el (rectangle--default-line-number-format): Rename
7139 from misspelled rectange--default-line-number-format (Bug#18045).
7140 All uses changed.
7141
7142 2014-08-03 Paul Eggert <eggert@cs.ucla.edu>
7143
7144 Don't mishandle year-9999 dates (Bug#18176).
7145 * calendar/parse-time.el (parse-time-rules):
7146 Allow years up to most-positive-fixnum.
7147 * calendar/time-date.el (date-to-time):
7148 Pass "Specified time is not representable" errors through.
7149
7150 2014-08-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
7151
7152 * progmodes/python.el: Completion code cleanups.
7153 (python-shell-completion-get-completions): Detect and send import
7154 statements directly to completion function.
7155 (python-shell-completion-at-point): Simplify prompt calculation
7156 and import vs input completion logic.
7157
7158 2014-08-02 Alan Mackenzie <acm@muc.de>
7159
7160 Fix confusion in C++ file caused by comma in "= {1,2},".
7161 Bug #17756.
7162 * progmodes/cc-engine.el (c-beginning-of-statement-1): In checking
7163 for a statement boundary marked by "}", check there's no "="
7164 before the "{".
7165 (c-guess-basic-syntax CASE 9B): Call c-beginning-of-statement with
7166 non-nil `comma-delim' argument.
7167 * progmodes/cc-fonts.el (c-font-lock-declarators): Parse an
7168 initializer expression more accurately.
7169
7170 Correct loop termination condition in c-syntactic-skip-backward.
7171 * progmodes/cc-engine.el (c-syntactic-skip-backward): Correct for
7172 the situation where, after moving back out of a literal,
7173 skip-chars-backward doesn't move further, yet checks have still to
7174 be done.
7175
7176 2014-08-01 Eli Zaretskii <eliz@gnu.org>
7177
7178 * tutorial.el (tutorial--display-changes): Accept punctuation
7179 characters before the key binding. (Bug#18146)
7180
7181 2014-07-31 Fabián Ezequiel Gallina <fgallina@gnu.org>
7182
7183 * progmodes/python.el: Shell output capture enhancements.
7184 (python-shell-accept-process-output): New function.
7185 (inferior-python-mode)
7186 (python-shell-send-setup-code): Use it.
7187
7188 2014-07-30 Christophe Deleuze <christophe.deleuze@free.fr> (tiny change)
7189
7190 * calendar/icalendar.el (icalendar--decode-isodatetime):
7191 Use actual current-time-zone when converting to local time. (Bug#15408)
7192
7193 2014-07-29 Martin Rudalics <rudalics@gmx.at>
7194
7195 * window.el (window--state-put-2): Handle horizontal scroll
7196 bars, if present.
7197
7198 2014-07-29 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7199
7200 * menu-bar.el (menu-bar-update-buffers): Update item list format
7201 in `buffers-menu' to confirm with changes to `get_keyelt'
7202 (r117463). (Bug#18016)
7203
7204 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
7205
7206 * progmodes/python.el (inferior-python-mode): Make input prompts
7207 read-only.
7208
7209 2014-07-28 Emilio C. Lopes <eclig@gmx.net>
7210
7211 * net/tramp-sh.el (tramp-get-remote-python): Also search for
7212 executables named "python2" or "python3".
7213 (tramp-get-remote-uid-with-python): Use parentheses around
7214 arguments to `print' to make it compatible with Python 3.
7215 (tramp-get-remote-gid-with-python): Ditto. (Bug#18118)
7216
7217 2014-07-28 Eli Zaretskii <eliz@gnu.org>
7218
7219 * window.el (window--pixel-to-total): Use FRAME's root window, not
7220 that of the selected frame. (Bug#18112, Bug#16674)
7221
7222 2014-07-28 Andreas Schwab <schwab@linux-m68k.org>
7223
7224 * textmodes/tex-mode.el (tex-font-lock-verb): Doc fix.
7225 (Bug#18117)
7226
7227 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
7228
7229 * progmodes/python.el (inferior-python-mode): Doc fix.
7230
7231 2014-07-28 Stephen Berman <stephen.berman@gmx.net>
7232
7233 * calendar/todo-mode.el (todo-edit-item--next-key): If next key is
7234 not a character, ignore it instead of raising an error.
7235
7236 * calendar/todo-mode.el: Fix handling of marked items and make
7237 minor code improvements.
7238 (todo-edit-item): If there are marked items, ensure user can only
7239 invoke editing commands that work with marked items.
7240 (todo-edit-item--text): When there are marked items, make it a
7241 noop if invoked with point not on an item; otherwise, ensure it
7242 applies only to item at point.
7243 (todo-item-undone): If there are marked not-done items, return
7244 point to its original position before signaling user error.
7245 (todo--user-error-if-marked-done-item): New function.
7246 (todo-edit-item--header, todo-edit-item--diary-inclusion)
7247 (todo-item-done): Use it.
7248
7249 2014-07-28 Glenn Morris <rgm@gnu.org>
7250
7251 * files.el (toggle-read-only): Re-add basic doc-string.
7252 * vc/vc-hooks.el (vc-toggle-read-only): Tweak obsolescence mesage.
7253
7254 * progmodes/prolog.el (prolog-mode-keybindings-edit):
7255 Replace missing `switch-to-prolog' with `run-prolog'.
7256 (switch-to-prolog): Define as (obsolete) alias, as in 23.4.
7257
7258 2014-07-28 Stephen Berman <stephen.berman@gmx.net>
7259
7260 * calendar/todo-mode.el (todo-set-top-priorities): Fix overwriting
7261 of file-wide setting when changing category-wide setting.
7262
7263 2014-07-28 Stephen Berman <stephen.berman@gmx.net>
7264
7265 * doc-view.el (doc-view-open-text): Don't require that the
7266 document is saved in a file (e.g., email attachment).
7267
7268 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
7269
7270 Parse completion input in a iPython friendly way. (Bug#18084)
7271 * progmodes/python.el
7272 (python-shell-completion-at-point): Rename from
7273 python-shell-completion-complete-at-point.
7274 (inferior-python-mode): Use it.
7275 (python-completion-at-point): Rename from
7276 python-completion-complete-at-point. Parse input up to first
7277 backward occurrence of whitespace, open-paren, close-paren or
7278 string delimiter.
7279 (python-mode): Use it.
7280
7281 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
7282
7283 * progmodes/python.el
7284 (python-shell-with-shell-buffer): New macro.
7285 (python-shell-font-lock-get-or-create-buffer)
7286 (python-shell-font-lock-kill-buffer)
7287 (python-shell-font-lock-with-font-lock-buffer)
7288 (python-shell-font-lock-cleanup-buffer)
7289 (python-shell-font-lock-toggle): Use it.
7290 (python-shell-font-lock-turn-on)
7291 (python-shell-font-lock-turn-off): Use it. Make command.
7292
7293 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
7294
7295 Grab all Python process output before inferior-python-mode hooks.
7296 * progmodes/python.el (inferior-python-mode):
7297 Call accept-process-output and sit-for to ensure all output for process
7298 has been received before running hooks.
7299 (python-shell-internal-get-or-create-process):
7300 Cleanup accept-process-output and sit-for calls.
7301
7302 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
7303
7304 More robust shell startup and code setup.
7305 * progmodes/python.el (python-shell-make-comint):
7306 Remove accept-process-output call.
7307 (python-shell-get-buffer): Return current buffer if major-mode is
7308 inferior-python-mode.
7309 (python-shell-get-or-create-process): Use it.
7310 (python-shell-send-setup-code): Send all setup code in one string,
7311 output success message and accept-process-output.
7312
7313 2014-07-27 Eli Zaretskii <eliz@gnu.org>
7314
7315 * scroll-bar.el (scroll-bar-toolkit-horizontal-scroll):
7316 Add rudimentary support for bidirectional text.
7317
7318 2014-07-27 Martin Rudalics <rudalics@gmx.at>
7319
7320 * frame.el (frame-notice-user-settings): Rewrite using
7321 frame-initial-frame-tool-bar-height.
7322 * menu-bar.el (menu-bar-horizontal-scroll-bar)
7323 (menu-bar-no-horizontal-scroll-bar): New functions.
7324 (menu-bar-showhide-scroll-bar-menu): Add bindings for horizontal
7325 scroll bars.
7326 * scroll-bar.el (scroll-bar-lines)
7327 (set-horizontal-scroll-bar-mode)
7328 (get-horizontal-scroll-bar-mode, horizontal-scroll-bar-mode)
7329 (scroll-bar-horizontal-drag-1, scroll-bar-horizontal-drag)
7330 (scroll-bar-toolkit-horizontal-scroll): New functions.
7331 (horizontal-scroll-bar-mode)
7332 (previous-horizontal-scroll-bar-mode)
7333 (horizontal-scroll-bar-mode-explicit): New variables.
7334 (horizontal-scroll-bar-mode): New option.
7335 (toggle-horizontal-scroll-bar): Do something.
7336 (top-level): Bind horizontal-scroll-bar mouse-1.
7337 * startup.el (tool-bar-originally-present): Remove variable.
7338 (command-line): Don't set tool-bar-originally-present.
7339 * window.el (window-min-height): Update doc-string.
7340 (window--dump-frame): Dump horizontal scroll bar values.
7341 (window--min-size-1): Handle minibuffer window separately.
7342 Count in margins and horizontal scroll bar. Return safe value
7343 iff IGNORE equals 'safe.
7344 (frame-windows-min-size): New function (used by frame resizing
7345 routines).
7346 (fit-frame-to-buffer, fit-window-to-buffer): Count in horizontal
7347 scroll bars.
7348 (window--sanitize-window-sizes): New function.
7349 (window-split-min-size): Remove.
7350 (split-window): Count divider-width. Don't use
7351 `window-split-min-size' any more. Reword error messages.
7352 Sanitize windows sizes after splitting.
7353
7354 2014-07-27 Thien-Thi Nguyen <ttn@gnu.org>
7355
7356 Use `defvar-local' more.
7357 * progmodes/hideshow.el
7358 (hs-c-start-regexp, hs-block-start-regexp)
7359 (hs-block-start-mdata-select, hs-block-end-regexp)
7360 (hs-forward-sexp-func, hs-adjust-block-beginning): ...here;
7361 remove corresponding `make-variable-buffer-local' top-level calls.
7362
7363 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
7364
7365 Cleanup error signals. (Bug#18067)
7366 * progmodes/python.el
7367 (python-indent-shift-left): Use user-error instead.
7368 (python-shell-prompt-detect): Use lwarn with python group.
7369 (python-completion-complete-at-point)
7370 (python-eldoc--get-doc-at-point): Don't signal error.
7371
7372 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
7373
7374 Support for packages in Python shell. (Bug#13570)
7375 * progmodes/python.el (python-shell--package-depth): New var.
7376 (python-shell-package-enable): New command.
7377 (python-util-list-directories, python-util-list-files)
7378 (python-util-list-packages): New functions.
7379
7380 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
7381
7382 Faster comint output. (Bug#16875)
7383 * progmodes/python.el:
7384 (python-comint-output-filter-function): Make obsolete.
7385 (python-comint-postoutput-scroll-to-bottom): New function.
7386 (inferior-python-mode): Set comint-output-filter-functions to a
7387 minimum.
7388
7389 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
7390
7391 * progmodes/python.el (python-shell-font-lock-post-command-hook):
7392 Safeguard current point and undo history.
7393
7394 2014-07-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
7395
7396 Robust shell syntax highlighting. (Bug#18084, Bug#16875)
7397 * progmodes/python.el:
7398 (python-shell-prompt-input-regexps): Add iPython block prompt.
7399 (python-shell-output-syntax-table): Delete var.
7400 (python-shell-font-lock-with-font-lock-buffer): New macro.
7401 (python-shell-font-lock-get-or-create-buffer)
7402 (python-shell-font-lock-kill-buffer)
7403 (python-shell-font-lock-cleanup-buffer)
7404 (python-shell-font-lock-post-command-hook)
7405 (python-shell-font-lock-turn-off): New functions.
7406 (python-shell-font-lock-turn-on): New function.
7407 (inferior-python-mode): Use it.
7408 (python-shell-font-lock-toggle): New command.
7409 (python-shell-font-lock-enable): Rename from
7410 python-shell-enable-font-lock.
7411 (run-python-internal): Use it.
7412 (python-shell-font-lock-comint-output-filter-function): New function.
7413 (python-shell-comint-end-of-output-p): New function.
7414 (python-shell-output-filter): Use it.
7415 (python-util-comint-last-prompt): New function.
7416 (python-util-text-properties-replace-name): New function.
7417
7418 2014-07-25 Glenn Morris <rgm@gnu.org>
7419
7420 * vc/ediff-init.el (ediff-toggle-read-only-function):
7421 * vc/ediff-util.el (ediff-toggle-read-only):
7422 Replace obsolete toggle-read-only with read-only-mode.
7423
7424 2014-07-24 Michael Albinus <michael.albinus@gmx.de>
7425
7426 * net/tramp-cache.el (tramp-flush-file-function): Wrap the code
7427 with `save-match-data'. (Bug#18095)
7428
7429 2014-07-21 Vincent Belaïche <vincentb1@users.sourceforge.net>
7430
7431 * ses.el (ses-truncate-cell): Use cl-progv instead of eval in
7432 order to ensure that row and col are lexically bound inside the
7433 evaluated sexp.
7434
7435 2014-07-21 Glenn Morris <rgm@gnu.org>
7436
7437 * progmodes/hideif.el (hide-ifdef-mode-submap):
7438 Also substitute read-only-mode.
7439 * bindings.el (mode-line-toggle-read-only):
7440 * bs.el (bs-toggle-readonly):
7441 * buff-menu.el (Buffer-menu-toggle-read-only):
7442 * dired.el (dired-toggle-read-only):
7443 * files.el (view-read-only, find-file-read-only)
7444 (find-file-read-only-other-window)
7445 (find-file-read-only-other-frame):
7446 * progmodes/hideif.el (hide-ifdef-toggle-outside-read-only):
7447 Doc fixes re toggle-read-only.
7448
7449 2014-07-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
7450
7451 * progmodes/python.el: Add comment about pipe buffering and
7452 solutions for missing/delayed output in inferior Python shells.
7453 (Bug#17304)
7454
7455 * progmodes/python.el (python-mode): Don't set
7456 mode-require-final-newline. (Bug#17990)
7457
7458 Make python.el work with IPython automatically. (Bug#15510)
7459 * progmodes/python.el:
7460 (python-shell-completion-setup-code): New value supporting iPython.
7461 (python-shell-completion-string-code): New value supporting iPython.
7462 (python-shell-completion-get-completions): Use them.
7463 (python-shell-completion-module-string-code): Make obsolete.
7464 (python-shell-prompt-input-regexps)
7465 (python-shell-prompt-output-regexps): Add safeguard for ipdb.
7466 (python-shell-output-filter): Fix comment typo.
7467
7468 Fix Python shell prompts detection for remote hosts.
7469 * progmodes/python.el (python-shell-prompt-detect):
7470 Replace call-process with process-file and make it more robust.
7471
7472 Autodetect Python shell prompts. (Bug#17370)
7473 * progmodes/python.el:
7474 (python-shell-interpreter-interactive-arg)
7475 (python-shell-prompt-detect-enabled)
7476 (python-shell-prompt-detect-failure-warning)
7477 (python-shell-prompt-input-regexps)
7478 (python-shell-prompt-output-regexps): New vars.
7479 (python-shell-prompt-calculated-input-regexp)
7480 (python-shell-prompt-calculated-output-regexp): New vars.
7481 (python-shell-get-process-name)
7482 (python-shell-internal-get-process-name)
7483 (python-shell-output-filter)
7484 (python-shell-completion-get-completions): Use them.
7485 (python-shell-prompt-detect)
7486 (python-shell-prompt-validate-regexps): New functions.
7487 (python-shell-prompt-set-calculated-regexps): New function.
7488 (inferior-python-mode): Use it. Also honor overriden
7489 python-shell-interpreter and python-shell-interpreter-args.
7490 (python-shell-make-comint): Honor overriden
7491 python-shell-interpreter and python-shell-interpreter-args.
7492 (python-shell-get-or-create-process): Make it testable by allowing
7493 to call run-python non-interactively.
7494 (python-util-valid-regexp-p): New function.
7495 (python-shell-prompt-regexp, python-shell-prompt-block-regexp)
7496 (python-shell-prompt-output-regexp)
7497 (python-shell-prompt-pdb-regexp): Use it as defcustom :safe.
7498
7499 2014-07-21 Stefan Monnier <monnier@iro.umontreal.ca>
7500
7501 * emacs-lisp/smie.el (smie-config--guess-1): Split from
7502 smie-config--guess.
7503 (smie-config--guess): Use it.
7504
7505 * emacs-lisp/edebug.el: Use nadvice.
7506 (edebug-original-read): Remove.
7507 (edebug--read): Rename from edebug-read and add `orig' arg.
7508 (edebug-uninstall-read-eval-functions)
7509 (edebug-install-read-eval-functions): Use nadvice.
7510 (edebug-read-sexp, edebug-read-storing-offsets, edebug-read-symbol)
7511 (edebug-read-and-maybe-wrap-form1, edebug-instrument-callee)
7512 (edebug-read-string, edebug-read-function): Use just `read'.
7513 (edebug-original-debug-on-entry): Remove.
7514 (edebug--debug-on-entry): Rename from edebug-debug-on-entry and add
7515 `orig' arg.
7516 (debug-on-entry): Override with nadvice.
7517
7518 * mouse.el (tear-off-window): Rename from mouse-tear-off-window since
7519 it also makes sense to bind it to a non-mouse event.
7520
7521 * vc/vc-bzr.el (vc-bzr-shelve): Make it operate on fileset.
7522
7523 2014-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
7524
7525 * xt-mouse.el (xterm-mouse-event): Don't assume last-click is non-nil
7526 (bug#18015).
7527
7528 * rect.el (rectangle--string-preview): Don't assume there
7529 a non-nil default (bug#17984).
7530
7531 2014-07-16 Glenn Morris <rgm@gnu.org>
7532
7533 * desktop.el (after-init-hook): Disable startup frame restoration
7534 in non-graphical situations. (Bug#17693)
7535
7536 * vc/vc-dispatcher.el (vc-log-edit): Do set up the log buffer
7537 if it was "empty", or used for a different set of files. (Bug#17884)
7538
7539 2014-07-16 Eli Zaretskii <eliz@gnu.org>
7540
7541 * bindings.el (mode-line-remote): If default-directory is not a
7542 string, don't call file-remote-p on it; instead state in the
7543 help-echo that it is nil. (Bug#17986)
7544
7545 2014-07-14 Daniel Colascione <dancol@dancol.org>
7546
7547 * progmodes/cc-langs.el: Change comments from `cl-macroexpand-all'
7548 to `macroexpand-all'
7549
7550 * progmodes/cc-defs.el (c-lang-defconst-eval-immediately):
7551 Use `macroexpand-all' instead of `cl-macroexpand-all'.
7552
7553 2014-07-12 Paul Eggert <eggert@cs.ucla.edu>
7554
7555 Fix bug: C-x v v discarded existing log message (Bug#17884).
7556 * vc/vc-dispatcher.el (vc-log-edit):
7557 Don't clobber an already-existing log message.
7558
7559 2014-07-12 Glenn Morris <rgm@gnu.org>
7560
7561 * vc/log-edit.el (log-edit-changelog-entries):
7562 Check for a visited-but-never-saved ChangeLog.
7563
7564 2014-07-12 Stefan Monnier <monnier@iro.umontreal.ca>
7565
7566 * vc/log-edit.el (log-edit-changelog-entries): Don't both visiting
7567 a non-existing file (bug#17970).
7568
7569 * faces.el (face-name): Undo last change.
7570 (x-resolve-font-name): Don't call face-name (bug#17956).
7571
7572 2014-07-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
7573
7574 Fix dedenters and electric colon handling. (Bug#15163)
7575 * progmodes/python.el
7576 (python-rx-constituents): Add dedenter and block-ender.
7577 (python-indent-dedenters, python-indent-block-enders): Delete.
7578 (python-indent-context): Return new case for dedenter-statement.
7579 (python-indent-calculate-indentation): Handle new case.
7580 (python-indent-calculate-levels): Fix levels calculation for
7581 dedenter statements.
7582 (python-indent-post-self-insert-function): Fix colon handling.
7583 (python-info-dedenter-opening-block-message): New function.
7584 (python-indent-line): Use it.
7585 (python-info-closing-block)
7586 (python-info-closing-block-message): Remove.
7587 (python-info-dedenter-opening-block-position)
7588 (python-info-dedenter-opening-block-positions)
7589 (python-info-dedenter-statement-p): New functions.
7590
7591 2014-07-11 Dmitry Antipov <dmantipov@yandex.ru>
7592
7593 * files.el (out-of-memory-warning-percentage): New defcustom.
7594 (warn-maybe-out-of-memory): Use it.
7595
7596 2014-07-11 Michael Albinus <michael.albinus@gmx.de>
7597
7598 * subr.el (read-passwd): Use `read-hide-char' if non-nil. Bind it
7599 when calling `read-string'. (Bug#17839)
7600
7601 2014-07-10 Eli Zaretskii <eliz@gnu.org>
7602
7603 * files.el (warn-maybe-out-of-memory): Fix the wording of the
7604 warning.
7605
7606 2014-07-10 Dmitry Antipov <dmantipov@yandex.ru>
7607
7608 * files.el (warn-maybe-out-of-memory): New function.
7609 (find-file-noselect): Use it.
7610
7611 2014-07-09 Sam Steingold <sds@gnu.org>
7612
7613 * progmodes/cperl-mode.el (cperl-block-p): Treat the perl keyword
7614 `constant' like `bless', `return' &c
7615
7616 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
7617
7618 * rect.el (apply-on-rectangle): Check forward-line really moved to the
7619 next line.
7620
7621 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
7622
7623 * progmodes/sh-script.el (sh-smie-sh-rules): Don't align with a && in
7624 the middle of a line (bug#17896).
7625
7626 2014-07-09 Juri Linkov <juri@jurta.org>
7627
7628 * startup.el (command-line): Append displaying the warning about
7629 the errors in the init file to the end of `after-init-hook'.
7630 (Bug#17927)
7631
7632 * faces.el (face-name): Return input arg `face' as-is
7633 when it's not a symbol.
7634 (x-resolve-font-name): Don't check if the face is a symbol.
7635 (Bug#17956)
7636
7637 * facemenu.el (list-colors-print): In help-echo format use %.2f
7638 instead of %d because now HSV values are floating-point components
7639 between 0.0 and 1.0.
7640
7641 2014-07-09 Glenn Morris <rgm@gnu.org>
7642
7643 * emulation/cua-rect.el (cua--activate-rectangle):
7644 Avoid setting cua--rectangle to nil. (Bug#17877)
7645
7646 2014-07-09 Stephen Berman <stephen.berman@gmx.net>
7647
7648 * calendar/todo-mode.el: Fix wrong-type-argument error when
7649 marking multiple consecutive items.
7650 (todo-toggle-mark-item): Don't try to mark the empty lines at the
7651 end of the todo and done items sections. Note in doc string that
7652 items marked by passing a numeric prefix argument can include the
7653 last todo and first done items.
7654 (todo-mark-category): Don't try to mark the empty line between the
7655 todo and done items sections.
7656
7657 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
7658
7659 * emacs-lisp/edebug.el (edebug-eval-defun): Print result using
7660 proper Lisp quoting (bug#17934).
7661
7662 * progmodes/ruby-mode.el (ruby-mode-variables): Don't meddle with
7663 require-final-newline since prog-mode already took care of it (bug#17947).
7664
7665 2014-07-09 Stephen Berman <stephen.berman@gmx.net>
7666
7667 * calendar/todo-mode.el: Fix two bugs. Shorten Commentary and
7668 refer to the Todo mode Info manual. Update the comment on
7669 requiring cl-lib.
7670 (todo-find-filtered-items-file): Add todo-prefix overlays.
7671 (todo-filter-items): Reorder a let-bound variable to avoid a
7672 wrong-type-argument error on canceling the file choice dialog.
7673
7674 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
7675
7676 * progmodes/octave.el (inferior-octave-mode):
7677 Set comint-input-ring-size to a number (bug#17912).
7678
7679 2014-07-09 Juri Linkov <juri@jurta.org>
7680
7681 * desktop.el (desktop-minor-mode-table): Add `defining-kbd-macro'
7682 and `isearch-mode' associated with nil. (Bug#17849)
7683
7684 2014-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
7685
7686 * linum.el (linum--face-height): New function (bug#17813).
7687 (linum-update-window): Use it to adjust margin to linum's width.
7688
7689 * leim/quail/sisheng.el (sisheng-list): Don't bother with-case-table.
7690 * eshell/em-smart.el (eshell-smart-scroll-window):
7691 Use with-selected-window.
7692
7693 * xt-mouse.el (xterm-mouse-translate-1): Intern drag event (bug#17894).
7694 Remove also pointless window&mark manipulation.
7695
7696 * progmodes/perl-mode.el: Use syntax-ppss; fix one indentation case.
7697 (perl-indent-line): Use syntax-ppss to detect we're in a doc-section.
7698 (perl-continuation-line-p): Don't skip over anything else than labels.
7699 Return the previous char.
7700 (perl-calculate-indent): Use syntax-ppss instead of parse-start
7701 and update callers accordingly. For continuation lines, check the
7702 the case of array hashes.
7703 (perl-backward-to-noncomment): Make it non-interactive.
7704 (perl-backward-to-start-of-continued-exp): Rewrite.
7705
7706 2014-07-08 Sam Steingold <sds@gnu.org>
7707
7708 * progmodes/inf-lisp.el (lisp-eval-paragraph, lisp-eval-form-and-next):
7709 New user commands.
7710
7711 2014-07-08 Juri Linkov <juri@jurta.org>
7712
7713 * vc/vc-annotate.el (vc-annotate-background-mode): New defcustom.
7714 (vc-annotate-color-map): Use less saturated colors (20%) for
7715 background-mode.
7716 (vc-annotate-very-old-color): Add default value for background-mode.
7717 (vc-annotate-background): Set default value to nil since now text on
7718 the default backgrounds should be legible in light and dark modes.
7719 (vc-annotate-lines): Use `vc-annotate-background-mode'. Doc fix.
7720 (Bug#17808)
7721
7722 2014-07-08 Juri Linkov <juri@jurta.org>
7723
7724 * simple.el (transpose-chars): Don't move point into read-only area.
7725 (Bug#17829)
7726
7727 2014-07-08 Juri Linkov <juri@jurta.org>
7728
7729 * window.el (with-displayed-buffer-window): New macro.
7730 (with-temp-buffer-window, with-current-buffer-window):
7731 Use `macroexp-let2' to evaluate and bind variables
7732 in the same order as macro arguments.
7733 (display-buffer--action-function-custom-type):
7734 Add `display-buffer-below-selected' and `display-buffer-at-bottom'.
7735
7736 * minibuffer.el (minibuffer-completion-help): Replace
7737 `with-output-to-temp-buffer' with `with-displayed-buffer-window'
7738 with actions that display *Completions* at-bottom when called
7739 from the minibuffer, or below-selected in a normal buffer.
7740 Associate `window-height' with `fit-window-to-buffer'.
7741 Let-bind `pop-up-windows' to nil.
7742
7743 * dired.el (dired-mark-pop-up): Use `with-displayed-buffer-window'
7744 instead of `with-current-buffer-window'. (Bug#17809)
7745
7746 2014-07-07 Luke Lee <luke.yx.lee@gmail.com>
7747
7748 * progmodes/hideif.el (hide-ifdef-env): Change to global.
7749 (hide-ifdef-env-backup): New variable.
7750 (hide-ifdef-expand-reinclusion-protection, hide-ifdef-header-regexp):
7751 New customizable variables.
7752 (hif-clear-all-ifdef-defined): New defun.
7753 (hif-merge-ifdef-region, hide-ifdef-region-internal, hide-ifdef-region)
7754 (hif-show-ifdef-region): Merge hidden regions to prevent continuous "...".
7755 (hif-tokenize): Fix for MS-DOS/Win EOL style.
7756 (hif-endif-to-ifdef, hif-make-range, hif-find-range, hif-possibly-hide):
7757 Fix bug to hide the correct #elif region(s).
7758 (hif-range-elif): New defun.
7759 (hif-recurse-level): New var.
7760 (hif-evaluate-region, hif-evaluate-macro): New defun.
7761 (hide-ifdef-guts): Prevent reinclusion protected C/C++ headers from
7762 fully hidden.
7763 (hide-ifdef-define, hide-ifdefs, hide-ifdef-block, show-ifdef-block):
7764 Better interaction.
7765
7766 2014-07-04 Michael Albinus <michael.albinus@gmx.de>
7767
7768 * net/dbus.el (dbus-peer-handler): New defun.
7769 (dbus-register-service): Register it. (Bug#17858)
7770 (dbus-managed-objects-handler): Fix docstring.
7771
7772 2014-07-04 Phil Sainty <psainty@orcon.net.nz>
7773
7774 * emacs-lisp/lisp.el (narrow-to-defun-include-comments): New var.
7775 (narrow-to-defun): New arg include-comments, defaulting to it
7776 (bug#16328).
7777
7778 2014-07-03 Stefan Monnier <monnier@iro.umontreal.ca>
7779
7780 * rect.el (rectangle--highlight-for-redisplay): Don't pass `orig' with
7781 different calling convention to rectangle--unhighlight-for-redisplay.
7782
7783 2014-07-03 Michael Albinus <michael.albinus@gmx.de>
7784
7785 * net/tramp.el (tramp-call-process): Handle error strings.
7786
7787 * net/tramp-adb.el (tramp-adb-sh-fix-ls-output): Use `bolp'.
7788
7789 * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime)
7790 (tramp-sh-handle-verify-visited-file-modtime): Use `point-at-eol'.
7791
7792 * net/trampver.el: Update release number.
7793
7794 2014-07-03 Juri Linkov <juri@jurta.org>
7795
7796 * desktop.el (desktop-save): Rename arg `auto-save' to
7797 `only-if-changed'. Doc fix. (Bug#17873)
7798
7799 2014-07-03 Stefan Monnier <monnier@iro.umontreal.ca>
7800
7801 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
7802 Use insert-for-yank (bug#17271).
7803
7804 2014-07-03 Leo Liu <sdl.web@gmail.com>
7805
7806 * emacs-lisp/pp.el (pp-eval-expression, pp-eval-last-sexp):
7807 Support lexical-binding.
7808
7809 2014-07-03 Stefan Monnier <monnier@iro.umontreal.ca>
7810
7811 * vc/log-edit.el (log-edit-goto-eoh): New function.
7812 (log-edit--match-first-line): Use it (bug#17861).
7813
7814 2014-07-03 Glenn Morris <rgm@gnu.org>
7815
7816 * vc/log-edit.el (log-edit-hook): Add missing :version.
7817
7818 2014-07-03 Fabián Ezequiel Gallina <fgallina@gnu.org>
7819
7820 * progmodes/python.el (python-indent-post-self-insert-function):
7821 Enhancements to electric indentation behavior inside
7822 parens. (Bug#17658)
7823
7824 2014-07-03 Stefan Monnier <monnier@iro.umontreal.ca>
7825
7826 * ps-def.el (ps-generate-postscript-with-faces1): Don't mess with
7827 buffer-invisibility-spec (bug#17867).
7828
7829 2014-07-03 Andreas Schwab <schwab@linux-m68k.org>
7830
7831 * vc/vc-git.el (vc-git-checkin): When operating on the whole tree
7832 pass "-a".
7833
7834 2014-07-03 Glenn Morris <rgm@gnu.org>
7835
7836 * cus-edit.el (help):
7837 * finder.el (finder-known-keywords):
7838 * help.el (help-for-help-internal):
7839 * vc/ediff-mult.el (ediff-meta-buffer-verbose-message)
7840 (ediff-redraw-registry-buffer):
7841 * vc/ediff-ptch.el (ediff-patch-file-internal):
7842 Doc fixes re "online" help. (Bug#17803)
7843
7844 * progmodes/idlwave.el (idlwave): Update url-link for custom group.
7845 (idlwave-mode): Doc URL update.
7846
7847 2014-07-01 Juri Linkov <juri@jurta.org>
7848
7849 * man.el: Display man pages immediately and use process-filter
7850 to format them asynchronously.
7851 (Man-width): Doc fix.
7852 (man): Doc fix.
7853 (Man-start-calling): Use `with-selected-window' to get
7854 `frame-width' and `window-width'.
7855 (Man-getpage-in-background): Call `Man-notify-when-ready'
7856 immediately after creating a new buffer. Call `Man-mode' and set
7857 `mode-line-process' in the created buffer. Set process-filter to
7858 `Man-bgproc-filter' in start-process branch. In call-process branch
7859 call either `Man-fontify-manpage' or `Man-cleanup-manpage'.
7860 Use `Man-start-calling' inside `with-current-buffer'.
7861 (Man-fontify-manpage): Don't print messages. Fix boundary condition.
7862 (Man-cleanup-manpage): Don't print messages.
7863 (Man-bgproc-filter): New function.
7864 (Man-bgproc-sentinel): Add `save-excursion' to keep point when
7865 user moved it during asynchronous formatting. Move calls of
7866 `Man-fontify-manpage' and `Man-cleanup-manpage' to
7867 `Man-bgproc-filter'. Move the call of `Man-mode' to
7868 `Man-getpage-in-background'. Use `quit-restore-window'
7869 instead of `kill-buffer'. Use `message' instead of `error'
7870 because errors are caught by process sentinel.
7871 (Man-mode): Move calls of `Man-build-page-list',
7872 `Man-strip-page-headers', `Man-unindent', `Man-goto-page' to
7873 `Man-bgproc-sentinel'. Doc fix. (Bug#2588, bug#5054, bug#9084, bug#17831)
7874
7875 * man.el (Man-bgproc-sentinel): Use `Man-page-from-arguments'
7876 for the message about the man page cleaned up.
7877
7878 2014-07-01 Mario Lang <mlang@delysid.org>
7879
7880 * net/gnutls.el (gnutls-negotiate): Prevent destructive modification of
7881 cosutomization option `gnutls-verify-error'.
7882
7883 2014-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
7884
7885 * simple.el (deactivate-mark, set-mark-command, handle-shift-selection):
7886 Don't keep transient-mark-mode buffer-local when not needed (bug#6316).
7887
7888 * xt-mouse.el (turn-on-xterm-mouse-tracking-on-terminal)
7889 (turn-off-xterm-mouse-tracking-on-terminal): Don't burp if the terminal
7890 is suspended (bug#17857).
7891
7892 2014-07-01 Michael Albinus <michael.albinus@gmx.de>
7893
7894 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
7895 Prefer utf-8 coding. (Bug#17859)
7896
7897 2014-06-30 Fabián Ezequiel Gallina <fgallina@gnu.org>
7898
7899 * emacs-lisp/subr-x.el (string-reverse): Define as obsolete alias
7900 for `reverse'.
7901
7902 2014-06-30 Glenn Morris <rgm@gnu.org>
7903
7904 * emacs-lisp/autoload.el (autoload-ensure-writable): New variable.
7905 (autoload-ensure-default-file): Maybe make existing output writable.
7906 * Makefile.in (AUTOGEN_VCS): Remove.
7907 (autoloads): Use autoload-ensure-writable rather than AUTOGEN_VCS.
7908
7909 2014-06-30 Fabián Ezequiel Gallina <fgallina@gnu.org>
7910
7911 * emacs-lisp/subr-x.el (string-reverse): Use `reverse'.
7912
7913 2014-06-30 Fabián Ezequiel Gallina <fgallina@gnu.org>
7914
7915 New if-let, when-let, thread-first and thread-last macros.
7916
7917 * emacs-lisp/subr-x.el
7918 (internal--listify, internal--check-binding)
7919 (internal--build-binding-value-form, internal--build-binding)
7920 (internal--build-bindings): New functions.
7921 (internal--thread-argument, thread-first, thread-last)
7922 (if-let, when-let): New macros.
7923
7924 2014-06-30 Grégoire Jadi <daimrod@gmail.com>
7925
7926 * net/rcirc.el (rcirc-buffer-process): Restore previous
7927 behaviour. (Bug#17772)
7928
7929 2014-06-29 Alan Mackenzie <acm@muc.de>
7930
7931 Don't call c-parse-state when c++-template-syntax-table is active.
7932 * progmodes/cc-engine.el (c-guess-continued-construct CASE G)
7933 (c-guess-basic-syntax CASE 5D.3): Rearrange so that
7934 c-syntactic-skip-backwards isn't called with the pertinent syntax table.
7935
7936 2014-06-28 Stephen Berman <stephen.berman@gmx.net>
7937
7938 * calendar/todo-mode.el (todo-set-top-priorities): Fix logic to
7939 account for file-wide setting of todo-top-priorities-overrides.
7940 Make code a bit cleaner.
7941
7942 2014-06-28 Glenn Morris <rgm@gnu.org>
7943
7944 * net/eww.el (eww-mode) <eww-current-title>: Make local. (Bug#17860)
7945
7946 2014-06-28 Stephen Berman <stephen.berman@gmx.net>
7947
7948 * calendar/todo-mode.el (todo-prefix-overlays): If there is no
7949 category-wide setting of todo-top-priorities-overrides, check for
7950 a file-wide setting and fontify accordingly.
7951
7952 2014-06-28 Glenn Morris <rgm@gnu.org>
7953
7954 * subr.el (read-passwd): Warn about batch mode. (Bug#17839)
7955
7956 2014-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
7957
7958 * progmodes/hideif.el: Use lexical-binding. Fix up cl-lib usage.
7959
7960 2014-06-28 K. Handa <handa@gnu.org>
7961
7962 Fix Bug#17739.
7963
7964 * composite.el: Setup composition-function-table for dotted circle.
7965 (compose-gstring-for-dotted-circle): New function.
7966
7967 * international/characters.el: Add category "^" to all
7968 non-spacing characters.
7969
7970 2014-06-28 Glenn Morris <rgm@gnu.org>
7971
7972 * Makefile.in (doit): Remove force rule.
7973 (custom-deps, finder-data, autoloads, update-subdirs)
7974 (compile-one-process): PHONY targets do not need force rules.
7975
7976 * Makefile.in (compile-main, compile, compile-always):
7977 No need to explicitly pass variables to ourself in recursive calls.
7978
7979 2014-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
7980
7981 * files.el (minibuffer-with-setup-hook): Evaluate the first arg eagerly.
7982
7983 2014-06-26 Glenn Morris <rgm@gnu.org>
7984
7985 * Makefile.in (update-authors): Update for moved authors.el.
7986
7987 2014-06-26 Leo Liu <sdl.web@gmail.com>
7988
7989 * skeleton.el (skeleton-end-hook): Default to nil and move the
7990 work to skeleton-insert. (Bug#17850)
7991
7992 2014-06-26 Dmitry Antipov <dmantipov@yandex.ru>
7993
7994 * calc/calc-alg.el (math-beforep):
7995 * progmodes/cc-guess.el (c-guess-view-reorder-offsets-alist-in-style):
7996 Simplify because string-lessp can accept symbols as args.
7997
7998 2014-06-26 Daiki Ueno <ueno@gnu.org>
7999
8000 * emacs-lisp/package.el (package--check-signature):
8001 If package-check-signature is allow-unsigned, don't signal error when
8002 we can't verify signature because of missing public key
8003 (bug#17625).
8004
8005 2014-06-26 Glenn Morris <rgm@gnu.org>
8006
8007 * emacs-lisp/cl-macs.el (help-add-fundoc-usage):
8008 Remove outdated declaration.
8009
8010 * emacs-lisp/authors.el (authors-valid-file-names)
8011 (authors-renamed-files-alist): Additions.
8012
8013 2014-06-26 Leo Liu <sdl.web@gmail.com>
8014
8015 * textmodes/picture.el (picture-set-tab-stops):
8016 * ruler-mode.el (ruler-mode-mouse-add-tab-stop)
8017 (ruler-mode-ruler): Fix to work with nil tab-stop-list.
8018
8019 * progmodes/asm-mode.el (asm-calculate-indentation):
8020 Use indent-next-tab-stop.
8021
8022 * indent.el (indent-accumulate-tab-stops): New function.
8023
8024 2014-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
8025
8026 * emacs-lisp/package.el (package-list-unsigned): New var (bug#17625).
8027 (package-desc-status): Obey it.
8028
8029 2014-06-26 Stephen Berman <stephen.berman@gmx.net>
8030
8031 * calendar/todo-mode.el: Fix two bugs.
8032 (todo-insert-item--basic): If user cancels item insertion to
8033 another category before setting priority, show original category
8034 whether it is in the same or a different file.
8035 (todo-set-item-priority): After selecting category, instead of
8036 moving point to top, which extends an active region, restore it.
8037
8038 2014-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
8039
8040 * help-fns.el (describe-function-1): Check file-name is a string before
8041 calling help-fns--autoloaded-p (bug#17564).
8042
8043 2014-06-26 Juri Linkov <juri@jurta.org>
8044
8045 * desktop.el (desktop-auto-save-enable)
8046 (desktop-auto-save-disable): New functions.
8047 (desktop-save-mode, desktop-auto-save-timeout): Use them.
8048 (desktop-read): Disable the autosave before loading the desktop,
8049 and enable afterwards. (Bug#17351)
8050
8051 2014-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
8052
8053 Fix some indentation problem with \; and pipes (bug#17842).
8054 * progmodes/sh-script.el (sh-mode-syntax-table): Set syntax of ;|&.
8055 (sh-smie--default-forward-token, sh-smie--default-backward-token):
8056 New functions.
8057 (sh-smie-sh-forward-token, sh-smie-sh-backward-token)
8058 (sh-smie-rc-forward-token, sh-smie-rc-backward-token): Use them.
8059 (sh-smie-sh-rules): Fix indentation of a pipe at BOL.
8060
8061 2014-06-26 Glenn Morris <rgm@gnu.org>
8062
8063 * emacs-lisp/find-func.el (find-function-C-source-directory):
8064 Use file-accessible-directory-p.
8065
8066 * ps-samp.el: Make it slightly less awful.
8067 (ps-rmail-mode-hook, ps-gnus-article-prepare-hook, ps-vm-mode-hook):
8068 (ps-gnus-summary-setup, ps-info-mode-hook): Use [print] key.
8069 Only set local values.
8070 (ps-article-subject, ps-article-author): Use standard functions
8071 like mail-fetch-field.
8072 (ps-info-file, ps-info-node): Use match-string.
8073 (ps-jts-ps-setup, ps-jack-setup): Remove, merging into...
8074 (ps-samp-ps-setup): ... new function.
8075
8076 * progmodes/idlw-shell.el (idlwave-shell-make-temp-file):
8077 Optimize away code unneeded on any modern Emacs.
8078
8079 * emacs-lisp/authors.el: Move to ../admin.
8080
8081 * emacs-lisp/ert.el (ert-summarize-tests-batch-and-exit): New.
8082
8083 2014-06-26 Luke Lee <luke.yx.lee@gmail.com>
8084
8085 * progmodes/hideif.el (hif-string-to-number): Fix return value bug.
8086 (hif-simple-token-only, hif-tokenize): Comment in detail mainly for
8087 performance enhancements.
8088 (hif-parse-if-exp): Rename to `hif-parse-exp'. Enhance for macro
8089 expansion.
8090 (hif-factor, hif-string-concatenation, intern-safe): Support string
8091 concatenation and argumented macro expansion.
8092 (hif-if-valid-identifier-p, hif-define-operator, hif-flatten)
8093 (hif-expand-token-list, hif-get-argument-list, hif-define-macro)
8094 (hif-delimit, hif-macro-supply-arguments, hif-invoke, hif-canonicalize)
8095 (hif-canonicalize-tokens, hif-place-macro-invocation)
8096 (hif-parse-macro-arglist): Mostly new functions for supporting
8097 argumented macro expansion.
8098 (hif-string-concatenation, hif-stringify, hif-token-concat)
8099 (hif-token-stringification, hif-token-concatenation):
8100 Stringification and concatenation.
8101 (hif-find-next-relevant): Fix comments.
8102 (hif-ifdef-to-endif, hif-looking-at-elif, hif-hide-line): Bug fix for
8103 some cases involving #elif.
8104 (hif-find-define, hif-add-new-defines): New functions for automatically
8105 scanning of defined symbols.
8106 (hide-ifdef-guts): Fix for defined symbol auto scanning.
8107 (hide-ifdef-undef): Fix behavior to match CPP.
8108
8109 2014-06-25 Glenn Morris <rgm@gnu.org>
8110
8111 * Makefile.in ($(lisp)/progmodes/cc-defs.elc)
8112 ($(lisp)/progmodes/cc-fonts.elc, $(lisp)/progmodes/cc-langs.elc)
8113 ($(lisp)/progmodes/cc-vars.elc): Drop hand-written deps on non-cc
8114 files. They are not relevant to the original issue (bug#1004),
8115 and cause unnecessary recompilation (bug#2151).
8116
8117 2014-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
8118
8119 * play/landmark.el: Use lexical-binding and avoid `intangible'.
8120 (landmark--last-pos): New var.
8121 (landmark--intangible-chars): New const.
8122 (landmark--intangible): New function.
8123 (landmark-mode, landmark-move): Use it.
8124 (landmark-mode): Remove properties.
8125 (landmark-plot-square, landmark-point-square, landmark-goto-xy)
8126 (landmark-cross-qtuple):
8127 Don't worry about `intangible' any more.
8128 (landmark-click, landmark-point-y): Same; and don't assume point-min==1.
8129 (landmark-init-display): Don't set `intangible' and `point-entered'.
8130 (square): Remove. Inline it instead.
8131 (landmark--distance): Rename from `distance'.
8132 (landmark-calc-distance-of-robot-from): Rename from
8133 calc-distance-of-robot-from.
8134 (landmark-calc-smell-internal): Rename from calc-smell-internal.
8135
8136 2014-06-25 Dmitry Antipov <dmantipov@yandex.ru>
8137
8138 * files.el (dir-locals-find-file, file-relative-name):
8139 * info.el (Info-complete-menu-item):
8140 * minibuffer.el (completion-table-subvert): Prefer string-prefix-p
8141 to compare-strings to avoid out-of-range errors.
8142 * subr.el (string-prefix-p): Adjust to match strict range
8143 checking in compare-strings.
8144
8145 2014-06-24 Leonard Randall <leonard.a.randall@gmail.com> (tiny change)
8146
8147 * textmodes/reftex-parse.el (reftex-using-biblatex-p): Make search
8148 for comment lines non-greedy and stopping at newlines to fix stack
8149 overflows with large files.
8150
8151 2014-06-24 Eli Barzilay <eli@barzilay.org>
8152
8153 * calculator.el (calculator-last-input): Drop 'ascii-character property
8154 lookup.
8155
8156 2014-06-24 Leo Liu <sdl.web@gmail.com>
8157
8158 * align.el (align-adjust-col-for-rule): Unbreak due to defaulting
8159 tab-stop-list to nil. (Bug#16381)
8160
8161 * indent.el (indent-next-tab-stop): Rename from indent--next-tab-stop.
8162 (indent-rigidly-left-to-tab-stop)
8163 (indent-rigidly-right-to-tab-stop, tab-to-tab-stop)
8164 (move-to-tab-stop): Change callers.
8165
8166 2014-06-24 Eli Zaretskii <eliz@gnu.org>
8167
8168 * skeleton.el (skeleton-insert): Yet another fix of the doc string
8169 wrt behavior of \n as the first/last element of a skeleton.
8170
8171 2014-06-24 Michael Albinus <michael.albinus@gmx.de>
8172
8173 * net/tramp-adb.el (tramp-adb-handle-process-file):
8174 * net/tramp-sh.el (tramp-sh-handle-process-file):
8175 * net/tramp-smb.el (tramp-smb-handle-process-file): Do not raise
8176 the output buffer when DISPLAY is non-nil. (Bug#17815)
8177
8178 2014-06-24 Glenn Morris <rgm@gnu.org>
8179
8180 * play/landmark.el (landmark-move-down, landmark-move-up):
8181 Fix 2007-10-20 change - preserve horizontal position.
8182
8183 2014-06-23 Sam Steingold <sds@gnu.org>
8184
8185 * simple.el (kill-append): Remove undo boundary depending on ...
8186 (kill-append-merge-undo): New user option.
8187
8188 2014-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
8189
8190 * simple.el (handle-shift-selection, exchange-point-and-mark)
8191 (activate-mark): Set transient-mark-mode buffer-locally (bug#6316).
8192 (transient-mark-mode): Use&set the global value.
8193 * mouse.el (mouse-set-region-1, mouse-drag-track): Idem.
8194 * emulation/edt.el (edt-emulation-off): Save&restore the global
8195 transient-mark-mode setting.
8196 * obsolete/pc-select.el (pc-selection-mode): Use the
8197 transient-mark-mode function.
8198
8199 2014-06-23 Eli Zaretskii <eliz@gnu.org>
8200
8201 * international/fontset.el (script-representative-chars):
8202 Add representative characters for scripts added in Unicode 7.0.
8203 (otf-script-alist): Synchronize with the latest registry of OTF
8204 script tags.
8205
8206 * international/characters.el (char-script-table): Update for
8207 scripts added and codepoint ranges changed in Unicode 7.0.
8208
8209 2014-06-23 Eli Barzilay <eli@barzilay.org>
8210
8211 * calculator.el (calculator-standard-displayer): Fix bug in use of
8212 `calculator-groupize-number'.
8213 (calculator-funcall): Fix broken `cl-flet' use by moving it into the
8214 `eval' code, so it works in v24.3.1 too.
8215 (calculator-last-input): Comment to clarify purpose.
8216
8217 2014-06-22 Mario Lang <mlang@delysid.org>
8218
8219 * textmodes/rst.el (rst-comment-region): From from -> from.
8220
8221 * net/tramp-adb.el (tramp-adb-send-command-and-check): And and -> and.
8222
8223 2013-06-22 Dmitry Antipov <dmantipov@yandex.ru>
8224
8225 * electric.el (electric-layout-post-self-insert-function):
8226 * emacs-lisp/ert.el (ert--insert-infos):
8227 * obsolete/vi.el (vi-set-mark):
8228 * term.el (term-handle-scroll):
8229 * textmodes/bibtex.el (bibtex-fill-field, bibtex-fill-entry):
8230 * wid-edit.el (widget-editable-list-value-create):
8231 Prefer point-marker to copy-marker of point.
8232
8233 2014-06-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
8234
8235 Fix completion retrieval parsing (bug#17209).
8236 * progmodes/python.el (python-mode):
8237 (python-util-strip-string): New function.
8238 (python-shell-completion-get-completions): Use it.
8239
8240 2014-06-21 Eli Zaretskii <eliz@gnu.org>
8241
8242 * skeleton.el (skeleton-insert): Fix last change.
8243
8244 2014-06-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
8245
8246 Enhancements for outline integration (bug#17796).
8247 * progmodes/python.el (python-mode): Properly set
8248 outline-heading-end-regexp so that comments after colons for
8249 defuns are supported.
8250
8251 2014-06-21 Eli Zaretskii <eliz@gnu.org>
8252
8253 * skeleton.el (skeleton-insert): Doc fix.
8254
8255 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8256
8257 * emacs-lisp/smie.el (smie-config--guess): Fix typo.
8258 (smie-config-guess): Use smie-config-local so the rules are obeyed
8259 (bug#17818).
8260
8261 * mouse.el (mouse-drag-line): Don't re-add to unread-comment-events,
8262 since it's already done inside the loop (bug#17819).
8263
8264 2014-06-21 Martin Rudalics <rudalics@gmx.at>
8265
8266 * mouse.el (mouse-drag-line): Re-remove code initially removed
8267 on 2013-03-09 and inadvertently reintroduced on 2013-11-30
8268 (Bug#17819).
8269
8270 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8271
8272 * progmodes/sh-script.el (sh-smie-sh-rules): For { after &&, don't
8273 align with the surrounding parent (bug#17721).
8274
8275 2014-06-21 Eli Zaretskii <eliz@gnu.org>
8276
8277 * textmodes/texinfo.el (texinfo-mode): Set skeleton-end-newline
8278 locally to nil.
8279 (texinfo-insert-block, texinfo-insert-@end)
8280 (texinfo-insert-@example, texinfo-insert-@quotation): Adjust to
8281 local setting of skeleton-end-newline by adding an explicit \n to
8282 the skeletons where appropriate. (Bug#17801)
8283
8284 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8285
8286 * emacs-lisp/smie.el (smie--hanging-eolp-function): New var.
8287 (smie-indent--hanging-p): Use it.
8288 * progmodes/sh-script.el (sh-set-shell): Set it (bug#17621).
8289
8290 2014-06-21 Leo Liu <sdl.web@gmail.com>
8291
8292 * simple.el (read-quoted-char): Don't let help chars pop up help
8293 buffer. (Bug#16617)
8294
8295 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8296
8297 * progmodes/sh-script.el (sh-smie-sh-rules): Use same rule for && as
8298 for | (bug#17621).
8299
8300 * xt-mouse.el (xterm-mouse--read-event-sequence-1000):
8301 Drop unknown events instead of burping.
8302
8303 2014-06-21 Eli Zaretskii <eliz@gnu.org>
8304
8305 * term/w32-win.el (dynamic-library-alist): Support giflib 5.1.0
8306 and later. (Bug#17790)
8307
8308 2014-06-21 Juri Linkov <juri@jurta.org>
8309
8310 * dired.el (dired-mark-pop-up): Let-bind display-buffer-mark-dedicated
8311 to `soft'. (Bug#17554)
8312
8313 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8314
8315 * delsel.el (electric-newline-and-maybe-indent): Mark it as well
8316 (bug#17737).
8317
8318 2014-06-21 Dmitry Gutov <dgutov@yandex.ru>
8319
8320 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Don't fontify
8321 `!' in `!~' with `font-lock-negation-char-face'. (Bug#17732)
8322
8323 2014-06-21 Michael Albinus <michael.albinus@gmx.de>
8324
8325 * net/dbus.el (dbus-call-method): Push only non D-Bus events into
8326 `unread-command-events'.
8327
8328 2014-06-19 William Xu <william.xwl@gmail.com>
8329
8330 * progmodes/hideif.el (hif-string-to-number): Don't return float for
8331 hex integer constants (bug#17807).
8332
8333 2014-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
8334
8335 * international/mule-util.el (truncate-string-ellipsis): New var.
8336 (truncate-string-to-width): Use it.
8337
8338 2014-06-19 Robert Brown <robert.brown@gmail.com> (tiny change)
8339
8340 * emacs-lisp/lisp-mode.el (lisp-string-after-doc-keyword-p): New fun.
8341 (lisp-string-in-doc-position-p): New function, extracted from
8342 lisp-font-lock-syntactic-face-function.
8343 (lisp-font-lock-syntactic-face-function): Use them (bug#9130).
8344
8345 2014-06-19 Grégoire Jadi <daimrod@gmail.com>
8346
8347 * net/rcirc.el (rcirc-omit-mode): Fix recenter error. (Bug#17769)
8348
8349 2014-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8350
8351 * play/bubbles.el (bubbles--initialize, bubbles--show-scores)
8352 (bubbles--game-over): Don't add `intangible' properties since they
8353 didn't work anyway.
8354
8355 2014-06-18 Juri Linkov <juri@jurta.org>
8356
8357 * vc/ediff-init.el (ediff-current-diff-Ancestor)
8358 (ediff-fine-diff-Ancestor, ediff-even-diff-A, ediff-even-diff-B)
8359 (ediff-even-diff-C, ediff-even-diff-Ancestor, ediff-odd-diff-A)
8360 (ediff-odd-diff-B, ediff-odd-diff-C, ediff-odd-diff-Ancestor):
8361 Add `min-colors 88' version with removed black/white foregrounds.
8362 (Bug#10181)
8363
8364 2014-06-18 Juri Linkov <juri@jurta.org>
8365
8366 * vc/diff-mode.el (diff-changed): Empty face definition to use
8367 `diff-removed' and `diff-added' on tty as well. (Bug#10181)
8368 (diff-context): Use darker color on light background and
8369 lighter color on dark background.
8370
8371 2014-06-18 Juri Linkov <juri@jurta.org>
8372
8373 * vc/diff-mode.el (diff-refine-changed): Rename from
8374 `diff-refine-change' for consistency with `diff-changed'.
8375 (diff-refine-change): Add obsolete face alias. (Bug#10181)
8376
8377 * vc/smerge-mode.el (smerge-refined-changed): Rename from
8378 `smerge-refined-change'.
8379 (smerge-refined-change): Add obsolete face alias.
8380
8381 2014-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
8382
8383 * rect.el (rectangle-preview): New custom.
8384 (rectangle): New group.
8385 (rectangle--pos-cols): Add `window' argument.
8386 (rectangle--string-preview-state, rectangle--string-preview-window):
8387 New vars.
8388 (rectangle--string-flush-preview, rectangle--string-erase-preview)
8389 (rectangle--space-to, rectangle--string-preview): New functions.
8390 (string-rectangle): Use them.
8391 (rectangle--inhibit-region-highlight): New var.
8392 (rectangle--highlight-for-redisplay): Obey it. Make sure
8393 `apply-on-region' uses the point-crutches of the right window.
8394 Use :align-to rather than multiple spaces.
8395
8396 2014-06-16 Andrea Rossetti <andrea.rossetti@gmail.com> (tiny change)
8397
8398 * ruler-mode.el (ruler-mode-window-col)
8399 (ruler-mode-mouse-set-left-margin)
8400 (ruler-mode-mouse-set-right-margin): Fix calculation of column
8401 from mouse position (Bug#17768).
8402
8403 2014-06-16 Ron Schnell <ronnie@driver-aces.com>
8404
8405 * play/dunnet.el (dun-doassign): Fix bug where UNIX variable assignment
8406 without varname or rhs causes crash.
8407 (dun-ftp): Fix bug where blank ftp password is allowed, making it
8408 impossible to win endgame.
8409 (dun-unix-verbs): Add ssh as alias to rlogin, because nobody knows what
8410 rlogin is anymore.
8411 (dun-help): Bump version number; update contact info.
8412
8413 2014-06-15 Eli Barzilay <eli@barzilay.org>
8414
8415 * calculator.el (calculator-prompt, calculator-remove-zeros)
8416 (calculator-mode-hook, calculator-operators, calculator-stack)
8417 (calculator-mode): Tweak docstring.
8418 (calculator-user-operators): Tweak docstring, fix a bug in the last
8419 example.
8420 (calculator-displayer): `std' case has an optional boolean.
8421 (calculator-displayers): Use the new boolean to group in decimal mode.
8422 (calculator-mode-map, calculator, calculator-message)
8423 (calculator-op-arity, calculator-add-operators)
8424 (calculator-string-to-number, calculator-displayer-prev)
8425 (calculator-displayer-next, calculator-remove-zeros)
8426 (calculator-eng-display, calculator-number-to-string)
8427 (calculator-update-display, calculator-last-input)
8428 (calculator-clear-fragile, calculator-digit, calculator-decimal)
8429 (calculator-exp, calculator-saved-move, calculator-clear)
8430 (calculator-copy, calculator-put-value, calculator-help)
8431 (calculator-expt, calculator-truncate): Minor code improvements.
8432 (calculator-need-3-lines): New function pulling out code from
8433 `calculator'.
8434 (calculator-get-display): Rename from `calculator-get-prompt', and
8435 improved.
8436 (calculator-push-curnum): Rename from `calculator-curnum-value', and
8437 extended for all uses of it. All callers changed.
8438 (calculator-groupize-number): New utility for splitting a number into
8439 groups.
8440 (calculator-standard-displayer): Improve code, new optional argument to
8441 use comma-split groups, make second argument optional too to use with
8442 'left/'right inputs. All callers changed.
8443 (calculator-reduce-stack-once): New utility, doing the meat of what
8444 `calculator-reduce-stack' used to do, much improved (mostly using
8445 `pcase' for conciseness and clarity).
8446 (calculator-reduce-stack): Now doing just the reduction loop using
8447 `calculator-reduce-stack-once'.
8448 (calculator-funcall): Improve code, make it work in v24.3.1 too.
8449 (calculator-last-input): Improve code, remove some old cruft.
8450 (calculator-quit): Kill `calculator-buffer' in electric mode too.
8451 (calculator-integer-p): Remove.
8452 (calculator-fact): Improve code, make it work on non-integer values
8453 too (using truncated numbers).
8454
8455 2014-06-15 Michael Albinus <michael.albinus@gmx.de>
8456
8457 Sync with Tramp 2.2.10.
8458
8459 * net/tramp.el (tramp-methods): Tweak docstring.
8460 (tramp-handle-file-accessible-directory-p): Check for
8461 `file-readable-p' instead of `file-executable-p'.
8462 (tramp-check-cached-permissions):
8463 Use `tramp-compat-file-attributes'.
8464 (tramp-call-process): Add new argument VEC. Adapt callees in all
8465 tramp*.el files.
8466
8467 * net/tramp-adb.el (tramp-adb-handle-write-region): Improve messages.
8468 (tramp-adb-maybe-open-connection): Don't set
8469 `tramp-current-*' variables.
8470
8471 * net/tramp-cache.el (tramp-flush-file-function): Do not flush
8472 file properties of temporary buffers.
8473
8474 * net/tramp-ftp.el (top): Remove special handling for URL syntax.
8475
8476 * net/tramp-gvfs.el (tramp-gvfs-methods) <sftp>: Add.
8477 (tramp-gvfs-handle-delete-file): Flush file
8478 properties, not directory properties.
8479 (tramp-gvfs-handle-file-attributes): Use `string-to-number' when
8480 reading "unix::mode".
8481 (tramp-gvfs-handle-file-name-all-completions):
8482 Use "-h" option for "gvfs-ls".
8483 (tramp-gvfs-url-file-name): `user' and `localname' could be nil.
8484 (tramp-gvfs-send-command): Simplify traces.
8485
8486 * net/tramp-sh.el (vc-handled-backends, vc-bzr-program)
8487 (vc-git-program, vc-hg-program): Declare.
8488 (tramp-methods) <sftp>: Remove. It has never worked satisfactorily.
8489 (tramp-methods) <nc>: Add new method.
8490 (tramp-methods) <telnet>: Redirect stderr to "/dev/null".
8491 (tramp-methods) <plink, plinkx, pscp, psftp>: Improve
8492 `tramp-login-args'.
8493 (tramp-default-user-alist): Add "nc".
8494 (top): Remove completion function for "sftp". Add completion
8495 functions for "nc" and "psftp".
8496 (tramp-do-copy-or-rename-file-out-of-band): Tweak docstring.
8497 Implement support for "nc" method.
8498 (tramp-sh-handle-expand-file-name, tramp-local-coding-commands)
8499 (tramp-remote-coding-commands, tramp-call-local-coding-command):
8500 Tweak docstring.
8501 (tramp-sh-handle-write-region): Tweak error message.
8502 (tramp-sh-handle-vc-registered): Remove backends when the remote
8503 binary does not exist.
8504 (tramp-find-inline-encoding): Do not raise an error.
8505 (tramp-make-copy-program-file-name): Tweak docstring. Handle also
8506 the "nc" case. Quote result also locally.
8507
8508 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
8509 (tramp-smb-handle-set-file-acl): Use `start-process'.
8510 (tramp-smb-handle-insert-directory): Use progress reporter.
8511 (tramp-smb-handle-rename-file): Flush also file properties of
8512 FILENAME.
8513
8514 * net/trampver.el: Update release number.
8515
8516 2014-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
8517
8518 * ses.el: Miscellaneous cleanups; use lexical-binding; avoid
8519 add-to-list.
8520 (ses-localvars): Remove ses--local-printer-list, unused.
8521 (ses--metaprogramming): New macro. Use it to defvar variables.
8522 (ses-set-localvars): Simplify.
8523 (ses--locprn, ses-cell): Use defstruct. Change ses-cell's
8524 property-list into an alist.
8525 (ses-locprn-get-compiled, ses-locprn-compiled-aset)
8526 (ses-locprn-get-def, ses-locprn-def-aset, ses-locprn-get-number):
8527 Remove; use defstruct accessors/setters instead.
8528 (ses-cell-formula-aset, ses-cell-printer-aset)
8529 (ses-cell-references-aset): Remove, use setf instead.
8530 (ses--alist-get): New function.
8531 (ses-cell-property): Rename from ses-cell-property-get and rewrite.
8532 Use an alist instead of a plist and don't do move-to-front since the
8533 list is always short.
8534 (ses-cell-property-get-fun, ses-cell-property-delq-fun)
8535 (ses-cell-property-set-fun, ses-cell-property-set)
8536 (ses-cell-property-pop-fun, ses-cell-property-get-handle)
8537 (ses-cell-property-handle-car, ses-cell-property-handle-setcar): Remove.
8538 (ses--letref): New macro.
8539 (ses-cell-property-pop): Rewrite.
8540 (ses--cell): Rename from ses-cell and make it into a function.
8541 Make `formula' fallback on `value' if nil.
8542 (ses--local-printer): Rename from ses-local-printer and make it into
8543 a function.
8544 (ses-set-cell): Turn it into a macro so finding the accessor from the
8545 field name is done at compile time.
8546 (ses-repair-cell-reference-all): Test presence of `sym' rather than
8547 `ref' before adding `sym' to :ses-repair-reference.
8548 (ses-calculate-cell): Use ses--letref rather than
8549 ses-cell-property-get-handle.
8550 (ses-write-cells): Use a single prin1-to-string.
8551 (ses-setter-with-undo): New function.
8552 (ses-aset-with-undo, ses-set-with-undo): Rewrite using it.
8553 (ses-unset-with-undo): Remove.
8554 (ses-load): Prefer apply' over `eval'.
8555 (ses-read-printer, ses-set-column-width): Use standard "(default
8556 foo)" format.
8557
8558 2014-06-15 Glenn Morris <rgm@gnu.org>
8559
8560 * Makefile.in (leim, semantic): Use `make -C' rather than `cd && make'.
8561
8562 * progmodes/cc-langs.el: Require cl-lib. (Bug#17463)
8563 Replace delete-duplicates and mapcan by cl- versions throughout.
8564 And cl-macroexpand-all by macroexpand-all.
8565 (delete-duplicates, mapcan, cl-macroexpand-all): No need to declare.
8566
8567 2014-06-15 Eli Zaretskii <eliz@gnu.org>
8568
8569 * subr.el (posn-col-row): Doc fix. (Bug#17768)
8570
8571 2014-06-15 Juri Linkov <juri@jurta.org>
8572
8573 * bindings.el: Put `ascii-character' property on keypad keys
8574 mapped to characters. (Bug#17759)
8575
8576 2014-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
8577
8578 * emacs-lisp/smie.el (smie-next-sexp): Fix up "other-end" info when
8579 bumping forward into a closing paren (bug#17761).
8580
8581 * term/xterm.el (xterm--version-handler): Work around for OSX
8582 Terminal.app (bug#17607).
8583
8584 2014-06-14 Ron Schnell <ronnie@driver-aces.com>
8585
8586 * play/dunnet.el (dun-describe-room, dun-mode):
8587 If a lamp is in the room, you won't be eaten by a grue.
8588
8589 2014-06-13 Glenn Morris <rgm@gnu.org>
8590
8591 * Makefile.in ($(lisp)/cus-load.el, $(lisp)/finder-inf.el)
8592 (autoloads, $(lisp)/subdirs.el, compile-main, leim, semantic, compile)
8593 (compile-always): GNU make automatically passes
8594 command-line arguments to sub-makes.
8595
8596 * calendar/calendar.el (calendar-generate-window):
8597 Remove pointless call to font-lock-fontify-buffer.
8598
8599 2014-06-13 Matthias Meulien <orontee@gmail.com>
8600
8601 * simple.el (completion-list-mode-map): Navigate with tab and backtab
8602 (bug#17767).
8603
8604 2014-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
8605
8606 * simple.el (set-mark-command): Simplify a bit.
8607
8608 2014-06-12 Nicolas Richard <theonewiththeevillook@yahoo.fr>
8609
8610 * help.el (help--key-binding-keymap): New function.
8611 (help--binding-locus): New function.
8612 (describe-key): Mention the keymap in which the binding was
8613 found. (bug#13948)
8614
8615 2014-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
8616
8617 * hippie-exp.el (he--all-buffers): New function.
8618 (try-expand-line-all-buffers, try-expand-list-all-buffers)
8619 (try-expand-dabbrev-all-buffers): Use it.
8620
8621 2014-06-12 Emilio C. Lopes <eclig@gmx.net>
8622
8623 * hippie-exp.el (try-expand-line-all-buffers)
8624 (try-expand-list-all-buffers, try-expand-dabbrev-all-buffers):
8625 Read hippie-expand-only-buffers and hippie-expand-ignore-buffers in the
8626 original buffer, in case they're buffer-local.
8627
8628 2014-06-12 Vincent Belaïche <vincentb1@users.sourceforge.net>
8629
8630 * ses.el (ses-initial-global-parameters-re): New defconst, a
8631 specific regexp is needed now that ses.el can handle both
8632 file-format 2 --- ie. no local printers --- and 3 --- i.e. may have
8633 local printers.
8634 (ses-localvars): Add local variables needed for local printer handling.
8635 (ses-set-localvars): Handle hashmap initialisation.
8636 (ses-paramlines-plist): Add param-line for number of local printers.
8637 (ses-paramfmt-plist): New defconst, needed for code factorization
8638 between functions `ses-set-parameter' and
8639 `ses-file-format-extend-paramter-list'
8640 (ses-make-local-printer-info): New defsubst.
8641 (ses-locprn-get-compiled, ses-locprn-compiled-aset)
8642 (ses-locprn-get-def, ses-locprn-def-aset, ses-locprn-get-number)
8643 (ses-cell-printer-aset): New defmacro.
8644 (ses-local-printer-compile): New defun.
8645 (ses-local-printer): New defmacro.
8646 (ses-printer-validate, ses-call-printer): Add support for local
8647 printer functions.
8648 (ses-file-format-extend-paramter-list): New defun.
8649 (ses-set-parameter): Use const `ses-paramfmt-plist' for code
8650 factorization.
8651 (ses-load): Add support for local printer functions.
8652 (ses-read-printer): Update docstring and add support for local printer
8653 functions.
8654 (ses-refresh-local-printer, ses-define-local-printer): New defun.
8655 (ses-safe-printer): Add support for local printer functions.
8656
8657 2014-06-12 Ivan Andrus <darthandrus@gmail.com>
8658
8659 * ffap.el (ffap-lax-url): New var (bug#17723).
8660 (ffap-url-at-point): Use it.
8661 (ffap-file-at-point): Avoid returning just "/".
8662
8663 2014-06-12 Matthias Meulien <orontee@gmail.com>
8664
8665 * progmodes/python.el (import skeleton): New skeleton (bug#17672).
8666 (python-mode-map): Bind it.
8667
8668 * progmodes/python.el (class skeleton): Don't erase last char of class
8669 name (bug#17683).
8670
8671 2014-06-12 Cameron Desautels <camdez@gmail.com> (tiny change)
8672
8673 * help.el (where-is): Use `default' arg of completing-read (bug#17705).
8674
8675 2014-06-12 Kevin Ryde <user42_kevin@yahoo.com.au>
8676
8677 * files.el (auto-mode-alist): Map .ad files to xdefaults-mode
8678 (bug#17745).
8679
8680 2014-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
8681
8682 * international/mule-cmds.el: Use lexical-binding.
8683 (ucs-names): Simplify.
8684
8685 2014-05-18 Eric Hanchrow <eric.hanchrow@gmail.com>
8686
8687 * progmodes/python.el (run-python): Use read-shell-command.
8688
8689 2014-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8690
8691 * rect.el: Make it possible to move bounds past EOL or into TABs.
8692 (operate-on-rectangle): Use apply-on-rectangle.
8693 (rectangle--mark-crutches): New var.
8694 (rectangle--pos-cols, rectangle--col-pos, rectangle--point-col)
8695 (rectangle--crutches, rectangle--reset-crutches): New functions.
8696 (apply-on-rectangle): Obey crutches. Avoid setq.
8697 Fix missing final iteration if end is at EOB&BOL.
8698 (rectangle-mark-mode-map): Add remap bindings for
8699 exchange-point-and-mark and char/line movements.
8700 (rectangle--*-char): New function.
8701 (rectangle-exchange-point-and-mark, rectangle-right-char)
8702 (rectangle-left-char, rectangle-forward-char)
8703 (rectangle-backward-char, rectangle-next-line)
8704 (rectangle-previous-line): New commands.
8705 (rectangle--place-cursor): New function.
8706 (rectangle--highlight-for-redisplay): Use it. Use apply-on-rectangle.
8707
8708 2014-06-08 Glenn Morris <rgm@gnu.org>
8709
8710 * startup.el (initial-buffer-choice): Doc fix.
8711 Reset :version (adding an option does not merit a :version bump).
8712
8713 * bookmark.el (bookmark-load):
8714 * uniquify.el (uniquify-buffer-name-style): Doc fixes.
8715
8716 2014-06-08 Juri Linkov <juri@jurta.org>
8717
8718 * desktop.el: Activate auto-saving on window configuration changes.
8719 (desktop-save-mode, desktop-auto-save-timeout): Add/remove
8720 `desktop-auto-save-set-timer' to/from
8721 `window-configuration-change-hook'.
8722 (desktop-auto-save-set-timer): Change REPEAT arg of
8723 `run-with-idle-timer' from t to nil.
8724 http://lists.gnu.org/archive/html/emacs-devel/2014-06/msg00147.html
8725
8726 2014-06-08 Santiago Payà i Miralta <santiagopim@gmail.com>
8727
8728 * vc/vc-hg.el (vc-hg-working-revision): Use "hg parent" and
8729 vc-hg-command (bug#17570).
8730
8731 2014-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
8732
8733 * international/mule-cmds.el (ucs-names): Add special entry for BEL
8734 (bug#17702).
8735
8736 2014-06-08 Glenn Morris <rgm@gnu.org>
8737
8738 * startup.el (window-setup-hook): Doc fix.
8739
8740 * emacs-lisp/package.el (package-check-signature)
8741 (package-unsigned-archives): Doc fixes.
8742
8743 2014-06-08 Martin Rudalics <rudalics@gmx.at>
8744
8745 * window.el (display-buffer-use-some-window): Don't make window
8746 used smaller than it was before (Bug#17671).
8747
8748 2014-06-08 Eli Zaretskii <eliz@gnu.org>
8749
8750 * menu-bar.el (menu-bar-open): Fix last change: use the PC
8751 'redisplay' instead of '(sit-for 0)'.
8752
8753 2014-06-08 Michael Albinus <michael.albinus@gmx.de>
8754
8755 * net/tramp.el (tramp-ssh-controlmaster-options):
8756 Improve search regexp. (Bug#17653)
8757
8758 2014-06-08 Glenn Morris <rgm@gnu.org>
8759
8760 * emacs-lisp/package.el (package-pinned-packages): Doc fix.
8761
8762 2014-06-08 Eli Zaretskii <eliz@gnu.org>
8763
8764 * menu-bar.el (menu-bar-open): Fix invocation via M-x.
8765
8766 2014-06-06 Santiago Payà i Miralta <santiagopim@gmail.com>
8767
8768 * vc/vc-hg.el (vc-hg-create-tag, vc-hg-retrieve-tag): New functions
8769 (bug#17586).
8770
8771 * vc/vc-hg.el (vc-hg-log-graph): New var.
8772 (vc-hg-print-log): Use it.
8773 (vc-hg-root-log-format): Include branch name and bookmarks; ignore
8774 graph output (bug#17515).
8775
8776 2014-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
8777
8778 * mouse.el (mouse-posn-property): Ignore buffer position info when the
8779 even happened elsewhere.
8780
8781 2014-06-06 Mario Lang <mlang@delysid.org>
8782
8783 * emacs-lisp/tabulated-list.el (tabulated-list-print): Only call
8784 `recenter' if `current-buffer' is equal to `window-buffer'.
8785
8786 2014-06-05 Leo Liu <sdl.web@gmail.com>
8787
8788 * emacs-lisp/cl-macs.el (cl-macrolet): Avoid excessive progn's.
8789
8790 2014-06-05 Michal Nazarewicz <mina86@mina86.com>
8791
8792 * textmodes/tildify.el (tildify-foreach-region-outside-env):
8793 New function which calls a callback on portions of the buffer that are
8794 outside of ignored environments.
8795 (tildify-build-regexp): Remove function since it is now
8796 incorporated in `tildify-foreach-region-outside-env' where it is
8797 optimized and simplified by the use of `mapconcat'.
8798 (tildify-tildify): Return number of substitutions made so that…
8799 (tildify-count): …can be removed.
8800 (tildify-find-env): Accept a new PAIRS argument which was
8801 previously looked up in `tildify-ignored-environments-alist' each
8802 time the function was called. With this change, the lookup is
8803 performed only once in `tildify-foreach-region-outside-env'.
8804 (tildify-region): Greatly simplify the function since now most of
8805 the work is done by `tildify-foreach-region-outside-env'.
8806 (tildify-mode-alist): Simplify slightly by avoiding if and setq
8807 and instead using or.
8808
8809 * textmodes/tildify.el (tildify-ignored-environments-alist):
8810 Optimize environments regexes
8811
8812 Each time beginning of an environment to ignore is found,
8813 `tildify-find-env' needs to identify regexp for the ending
8814 of the environment. This is done by trying all the opening
8815 regexes on matched text in a loop, so to speed that up, this
8816 loop should have fewer things to match, which can be done by
8817 using alternatives in the opening regexes.
8818
8819 Coincidentally, this should make matching of the opening
8820 regexp faster as well thanks to the use of `regexp-opt' and
8821 having common prefix pulled from many regexes.
8822
8823 * textmodes/tildify.el (tildify-string-alist)
8824 (tildify-ignored-environments-alist): Add `nxml-mode' to the list
8825 of supported modes since `xml-mode' is no longer a thing but just
8826 an alias to the former. Also include comments and insides of tags
8827 in `tildify-ignored-environments-alist' for XML modes. Finally,
8828 since XML does not define “&nbsp;”[1], use a numeric reference for
8829 a no-break space (namely “&#160;”)
8830
8831 [1] XML specification defines only a handful of predefined entities.
8832 The list is at <http://www.w3.org/TR/REC-xml/#sec-predefined-ent>
8833 and includes only &lt;, &gt;, &amp;, &apos; and &quot; (meaning <,
8834 >, &, ' and " respectively). This is in contrast to HTML and even
8835 XHTML which defined a whole bunch of entities including “&nbsp;”.
8836
8837 * textmodes/tildify.el (tildify-pattern-alist)
8838 (tildify-string-alist, tildify-ignored-environments-alist):
8839 Improve defcustom's types by adding more tags explaining what each
8840 value means and replace “sexp” used in
8841 `tildify-ignored-environments-alist' with a full type declaration.
8842
8843 * textmodes/tildify.el (tildify-find-env): Fix matched group
8844 indexes in end-regex building
8845
8846 When looking for a start of an ignore-environment, the regex is built
8847 by concatenating regexes of all the environments configured in
8848 `tildify-ignored-environments-alist'. So for example, the following
8849 list could be used to match TeX's \verb and \verb* commands:
8850
8851 (("\\\\verb\\(.\\)" . (1))
8852 ("\\\\verb\\*\\(.\\)" . (1)))
8853
8854 This would result in the following regex being used to find the start
8855 of any of the variants of the \verb command:
8856
8857 \\\\verb\\(.\\)\\|\\\\verb\\*\\(.\\)
8858
8859 But now, if “\\\\verb\\*\\(.\\)” matches, the first capture group
8860 won't match anything, and thus (match-string 1) will be nil, which
8861 will cause building of the end-matching regex to fail.
8862
8863 Fix this by using capture groups from the time when the opening
8864 regexes are matched individually.
8865
8866 * textmodes/tildify.el (tildify-find-env): Fix end-regex building
8867 in `tildify-find-env'
8868
8869 The `tildify-ignored-environments-alist' allows the end-regex to
8870 be provided not as a static string but mix of strings and indexes
8871 of groups matched the begin-regex. For example, the “\verb!…!”
8872 TeX-command (where “!” is an arbitrary character) is handled
8873 using:
8874
8875 ("\\\\verb\\*?\\(.\\)" . (1))
8876
8877 In the same way, the following should be supported as well:
8878
8879 ("open-\\(.\\)" . ("end-" 1))
8880
8881 However the tildify-find-env function fails at
8882
8883 (concat result
8884 (if (stringp (setq aux (car expression)))
8885 expression ; BUG: expression is a list
8886 (regexp-quote (match-string aux))))
8887
8888 where the string part is handled incorrectly.
8889
8890 The most trivial fix would be to replace `expression' in the
8891 true-part of the if-statement with `aux', but instead, this commit
8892 optimizes `tildify-find-env' by changing it to use `mapconcat'
8893 rather than open-coded while-loop.
8894
8895 2014-06-05 Mario Lang <mlang@delysid.org>
8896
8897 * woman.el (woman-mapcan): Remove.
8898 (woman-parse-colon-path): Use cl-mapcan instead.
8899
8900 2014-06-03 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8901
8902 * register.el: Add link to Emacs manual in Commentary.
8903
8904 2014-06-02 Sam Steingold <sds@gnu.org>
8905
8906 * menu-bar.el (lookup-key-ignore-too-long): Extract from...
8907 (popup-menu): ...here.
8908 (menu-bar-open): Use it to avoid an error when `lookup-key'
8909 returns a number.
8910
8911 2014-06-02 Michael Albinus <michael.albinus@gmx.de>
8912
8913 * net/tramp.el (tramp-call-process): Add traces.
8914 (tramp-handle-unhandled-file-name-directory): Return "/".
8915
8916 2014-06-02 Wilson Snyder <wsnyder@wsnyder.org>
8917
8918 Sync with upstream verilog-mode revision 3cd8144.
8919 * progmodes/verilog-mode.el (verilog-mode-version): Bump.
8920 (verilog-auto-arg-format): New option, to support newlines in AUTOARG.
8921 (verilog-type-font-keywords): Add nor.
8922 (verilog-batch-execute-func): Force reading of Local Variables.
8923 Fix printing "no changes to be saved" with verilog-batch.
8924 (verilog-auto-arg-ports): Doc fix.
8925 Add verilog-auto-arg-format to support newlines in AUTOARG.
8926 (verilog-auto-arg): Doc fix.
8927
8928 2014-06-02 Glenn Morris <rgm@gnu.org>
8929
8930 * emulation/crisp.el, emulation/tpu-edt.el, emulation/tpu-extras.el:
8931 * emulation/tpu-mapper.el, emulation/vi.el, emulation/vip.el:
8932 * emulation/ws-mode.el: Move to obsolete/.
8933 * Makefile.in (AUTOGEN_VCS): Update for moved tpu-edu.el.
8934
8935 2014-06-02 Eli Zaretskii <eliz@gnu.org>
8936
8937 * simple.el (keyboard-quit): Force update of mode lines, to remove
8938 the "Def" indicator, if we were defining a macro. (Bug#17615)
8939
8940 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
8941
8942 * minibuffer.el (minibuffer-force-complete-and-exit):
8943 Obey minibuffer-default (bug#17545).
8944
8945 * progmodes/js.el (js-indent-line): Don't mix columns and chars
8946 (bug#17619).
8947
8948 * subr.el (set-transient-map): Don't wait for some "nested"
8949 transient-map to finish if we're only supposed to be active for
8950 the next command (bug#17642).
8951
8952 2014-06-02 Leo Liu <sdl.web@gmail.com>
8953
8954 * emacs-lisp/gv.el (window-buffer, window-display-table)
8955 (window-dedicated-p, window-hscroll, window-point, window-start):
8956 Fix gv-expander. (Bug#17630)
8957
8958 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
8959
8960 * mouse.el (mouse-posn-property): Ignore posn-point for mode-line
8961 clicks (bug#17633).
8962
8963 * leim/quail/latin-pre.el ("latin-2-prefix"): Use ",," rather than ", "
8964 for the single comma, since ", " is *very* common in normal French text
8965 (bug#17643).
8966
8967 2014-06-02 Glenn Morris <rgm@gnu.org>
8968
8969 * emacs-lisp/package.el (package-check-signature)
8970 (package-unsigned-archives): Fix :version.
8971
8972 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
8973
8974 * subr.el (sit-for): Don't run input-methods (bug#15614).
8975
8976 2014-06-02 Glenn Morris <rgm@gnu.org>
8977
8978 * cus-start.el: Fix some :version numbers.
8979
8980 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
8981
8982 * simple.el (deactivate-mark): Set mark-active to nil even if
8983 deactivation is done via setting transient-mark-mode to nil,
8984 since one is buffer-local and the other is global.
8985
8986 * emacs-lisp/byte-opt.el (byte-optimize-binary-predicate): Don't assume
8987 there can't be more than 2 arguments (bug#17584).
8988
8989 2014-06-02 Glenn Morris <rgm@gnu.org>
8990
8991 * simple.el (filter-buffer-substring-functions)
8992 (filter-buffer-substring-function, buffer-substring-filters)
8993 (filter-buffer-substring, buffer-substring--filter): Doc fixes.
8994
8995 * minibuffer.el (completion-in-region-functions, completion-in-region)
8996 (completion--in-region): Doc fixes.
8997
8998 * abbrev.el (abbrev-expand-functions, abbrev-expand-function)
8999 (expand-abbrev, abbrev--default-expand): Doc fixes.
9000
9001 2014-06-02 Paul Eggert <eggert@cs.ucla.edu>
9002
9003 Include sources used to create macuvs.h.
9004 * international/README: Refer to the Unicode Terms of Use rather
9005 than copying it bodily here, as that simplifies maintenance.
9006
9007 2014-06-01 Glenn Morris <rgm@gnu.org>
9008
9009 * loadup.el (load-prefer-newer): Set non-nil when dumping. (Bug#17629)
9010
9011 2014-05-31 Glenn Morris <rgm@gnu.org>
9012
9013 * files.el (locate-dominating-file): Expand file argument. (Bug#17641)
9014
9015 2014-05-30 Glenn Morris <rgm@gnu.org>
9016
9017 * loadup.el: Treat `command-line-args' more flexibly.
9018
9019 2014-05-30 Alan Mackenzie <acm@muc.de>
9020
9021 Guard (looking-at "\\s!") from XEmacs.
9022 * progmodes/cc-engine.el (c-state-pp-to-literal): Add guard form.
9023
9024 2014-05-30 Ken Olum <kdo@cosmos.phy.tufts.edu>
9025
9026 * mail/rmail.el (rmail-delete-forward, rmail-delete-backward):
9027 The argument COUNT is now optional, to be more backward-compatible.
9028 Doc fix. (Bug#17560)
9029
9030 2014-05-29 Reuben Thomas <rrt@sc3d.org>
9031
9032 * whitespace.el (whitespace-report-region):
9033 Simplify documentation.
9034 (whitespace-report-region): Allow report-if-bogus to take the
9035 value `never', for non-interactive use.
9036 (whitespace-report): Refer to whitespace-report-region's
9037 documentation.
9038
9039 2014-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
9040
9041 * whitespace.el: Use font-lock-flush. Minimize refontifications.
9042 Side benefit: it works without jit-lock.
9043 (whitespace-point--used): New buffer-local var.
9044 (whitespace-color-on): Initialize it and flush it. Use font-lock-flush.
9045 (whitespace-color-off): Use font-lock-flush.
9046 (whitespace-point--used, whitespace-point--flush-used): New functions.
9047 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
9048 (whitespace-empty-at-eob-regexp): Use them.
9049 (whitespace-post-command-hook): Rewrite.
9050
9051 * font-lock.el (font-lock-flush, font-lock-ensure): New functions.
9052 (font-lock-fontify-buffer): Mark interactive-only.
9053 (font-lock-multiline, font-lock-fontified, font-lock-set-defaults):
9054 Make buffer-local.
9055 (font-lock-specified-p): Remove redundant boundp check.
9056 (font-lock-flush-function, font-lock-ensure-function): New vars.
9057 (font-lock-turn-on-thing-lock): Set them.
9058 (font-lock-default-fontify-buffer): Obey font-lock-dont-widen.
9059 (font-lock-after-change-function): Make `old-len' optional.
9060 (font-lock-set-defaults): Remove redundant `set' of font-lock-defaults.
9061 Call font-lock-flush, just in case.
9062 * progmodes/verilog-mode.el (verilog-preprocess): Disable workaround in
9063 recent Emacsen.
9064 * progmodes/vera-mode.el (vera-fontify-buffer): Declare obsolete.
9065 (vera-mode-map, vera-mode-menu): Remove bindings to it.
9066 * progmodes/idlw-help.el (idlwave-help-fontify): Use font-lock-ensure
9067 and with-syntax-table.
9068 * textmodes/conf-mode.el (conf-quote-normal):
9069 * progmodes/sh-script.el (sh-set-shell):
9070 * progmodes/prog-mode.el (prettify-symbols-mode):
9071 * progmodes/f90.el (f90-font-lock-n):
9072 * progmodes/cwarn.el (cwarn-mode):
9073 * nxml/nxml-mode.el (nxml-toggle-char-ref-extra-display):
9074 * progmodes/compile.el (compilation-setup, compilation--unsetup):
9075 * hi-lock.el (hi-lock-mode, hi-lock-unface-buffer)
9076 (hi-lock-set-pattern, hi-lock-set-file-patterns): Use font-lock-flush.
9077 * mail/rmail.el (rmail-variables): Set font-lock-dont-widen instead of
9078 font-lock-fontify-buffer-function and
9079 font-lock-unfontify-buffer-function.
9080 (rmail-unfontify-buffer-function, rmail-fontify-message):
9081 Use with-silent-modifications.
9082 * htmlfontify.el (hfy-force-fontification): Use jit-lock-fontify-now
9083 and font-lock-ensure.
9084 * bs.el (bs-show-in-buffer): Use font-lock-ensure.
9085
9086 2014-05-28 Thien-Thi Nguyen <ttn@gnu.org>
9087
9088 * emacs-lisp/package.el (package-generate-autoloads):
9089 Inhibit backup files.
9090
9091 2014-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
9092
9093 * progmodes/hideshow.el (hs-hide-all): Call syntax-propertize
9094 (bug#17608).
9095
9096 2014-05-21 Michal Nazarewicz <mina86@mina86.com>
9097
9098 * textmodes/tildify.el (tildify-buffer, tildify-region):
9099 Add dont-ask option.
9100
9101 2014-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
9102
9103 * subr.el (zerop): Move from C. Add compiler-macro (bug#17475).
9104 * emacs-lisp/byte-opt.el (byte-optimize-zerop): Remove.
9105
9106 * subr.el (internal--funcall-interactively): New.
9107 (internal--call-interactively): Remove.
9108 (called-interactively-p): Detect funcall-interactively instead of
9109 call-interactively.
9110 * simple.el (repeat-complex-command): Use funcall-interactively.
9111 (repeat-complex-command--called-interactively-skip): Remove.
9112
9113 2014-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
9114
9115 * register.el (register-read-with-preview): Don't burp on
9116 frame switches (e.g. due to the frame we just popped).
9117
9118 * mouse.el (mouse-set-region): Handle spurious drag events (bug#17562).
9119 (mouse-drag-track): Annotate `mouse-drag-start' so we know we moved.
9120
9121 2014-05-26 Andreas Schwab <schwab@linux-m68k.org>
9122
9123 * cus-face.el (custom-face-attributes): Add :distant-foreground.
9124
9125 2014-05-26 Martin Rudalics <rudalics@gmx.at>
9126
9127 * window.el (window--dump-frame): Remove interactive specification.
9128
9129 2014-05-26 Glenn Morris <rgm@gnu.org>
9130
9131 * hippie-exp.el (he-line-search-regexp):
9132 Handle comint-prompt-regexp containing subgroups. (Bug#17529)
9133
9134 2014-05-26 Stephen Berman <stephen.berman@gmx.net>
9135
9136 * calendar/todo-mode.el: Remove dependence on auto-mode-alist,
9137 to avoid errors when trying to create or visit a file foo.todo
9138 located outside to todo-directory, and to allow having such files
9139 without them being tied to Todo mode (bug#17482).
9140 (todo-show, todo-move-category, todo-merge-category, todo-find-archive)
9141 (todo-archive-done-item, todo-find-filtered-items-file)
9142 (todo-filter-items, todo-find-item, todo-diary-goto-entry)
9143 (todo-category-completions, todo-read-category): When visiting a
9144 Todo file, make sure we're in the right mode and the buffer local
9145 variables are set.
9146 (todo-make-categories-list, todo-reset-nondiary-marker)
9147 (todo-reset-done-string, todo-reset-comment-string):
9148 After processing all Todo files, kill the buffers of those files that
9149 weren't being visited before the processing.
9150 (todo-display-as-todo-file, todo-add-to-buffer-list)
9151 (todo-visit-files-commands): Comment out.
9152 (todo-modes-set-3, todo-mode): Comment out additions to find-file-hook.
9153 (auto-mode-alist): Remove add-to-list calls making Todo file
9154 extensions unrestrictedly tied to Todo modes.
9155
9156 2014-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
9157
9158 * emacs-lisp/nadvice.el (advice--member-p): Change second arg.
9159 (advice-function-member-p): Tell it to check both names and functions
9160 (bug#17531).
9161 (advice--add-function): Adjust call accordingly.
9162
9163 2014-05-26 Stephen Berman <stephen.berman@gmx.net>
9164
9165 * calendar/todo-mode.el: Miscellaneous bug fixes.
9166 (todo-delete-file): When deleting an archive but not its todo
9167 file, make sure to update the todo file's category sexp.
9168 (todo-move-category): Keep the moved category's name unless the
9169 file moved to already has a category with that name. If the
9170 numerically last category of the source file was moved, make the
9171 first category current to avoid selecting a nonexisting category.
9172 (todo-merge-category): Fix implementation to make merging to a
9173 category in another file work as documented. Eliminate now
9174 insufficient and unnecessary renaming of archive category, correct
9175 document string accordingly, and clarify it. If the numerically
9176 last category of the source file was merged, make the first
9177 category current to avoid selecting a nonexisting category.
9178 (todo-archive-done-item): When there are marked items and point
9179 happens to be on an unmarked item, ignore the latter. Don't leave
9180 point below last item after archiving marked items.
9181 (todo-unarchive-items): Fix logic to ensure unarchiving an item
9182 from an archive with only one category deletes the archive only
9183 when the category is empty after unarchiving. Make sure the todo
9184 file's category sexp is updated.
9185 (todo-read-file-name): Allow an existing file name even when it is
9186 not required (todo-move-category needs this to work as documented).
9187 (todo-add-file): Call todo-validate-name to reject the name of an
9188 existing todo file (needed due to fix in todo-read-file-name).
9189 (todo-reset-nondiary-marker): Also reset in filtered items files.
9190 (todo-reset-done-string, todo-reset-comment-string): Also reset in
9191 regexp filtered items files.
9192 (todo-reset-highlight-item): Also reset in filtered items files.
9193 Fix incorrect variable reference in document string.
9194
9195 2014-05-26 Glenn Morris <rgm@gnu.org>
9196
9197 * window.el (window--dump-frame): Avoid error in --without-x builds.
9198
9199 2014-05-26 Glenn Morris <rgm@gnu.org>
9200
9201 * nxml/nxml-mode.el (xml-mode): Only define this alias once.
9202
9203 2014-05-26 Eli Zaretskii <eliz@gnu.org>
9204
9205 * frame.el (set-frame-font): Doc fix.
9206
9207 * menu-bar.el (menu-set-font): Doc fix. (Bug#17532)
9208
9209 2014-05-26 Dmitry Gutov <dgutov@yandex.ru>
9210
9211 * emacs-lisp/package.el (package--download-one-archive):
9212 Use `write-region' instead of `save-buffer' to avoid running various
9213 hooks. (Bug#17155)
9214 (describe-package-1): Same. Insert newline at the end of the
9215 buffer if appropriate.
9216
9217 2014-05-26 Juri Linkov <juri@jurta.org>
9218
9219 * avoid.el (mouse-avoidance-set-mouse-position): Don't raise frame.
9220 (mouse-avoidance-ignore-p): Remove `switch-frame', add `focus-out'.
9221 Add more modifiers: meta, control, shift, hyper, super, alt.
9222 (Bug#17439)
9223
9224 * avoid.el (mouse-avoidance-banish-position): Fix defcustom :options
9225 to allow changing its value with `set-variable'.
9226
9227 2014-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
9228
9229 * progmodes/scheme.el (scheme-mode-syntax-table): Remove hack for
9230 #; comments.
9231 (scheme-syntax-propertize, scheme-syntax-propertize-sexp-comment):
9232 New functions.
9233 (scheme-mode-variables): Set syntax-propertize-function instead of
9234 font-lock-syntactic-face-function.
9235 (scheme-font-lock-syntactic-face-function): Delete.
9236
9237 * emacs-lisp/lisp.el (end-of-defun): Ensure we move (bug#17274).
9238
9239 * emacs-lisp/timer.el (timer-event-handler): Don't run if canceled
9240 (bug#17392).
9241
9242 2014-05-26 Michael Albinus <michael.albinus@gmx.de>
9243
9244 * net/tramp-sh.el (tramp-find-inline-encoding): Do not match "%%t"
9245 for a temporary file name.
9246
9247 2014-05-26 Eli Zaretskii <eliz@gnu.org>
9248
9249 * simple.el (line-move-ignore-invisible): Doc fix. (Bug#17511)
9250
9251 2014-05-26 Michael Albinus <michael.albinus@gmx.de>
9252
9253 * net/dbus.el (dbus-init-bus, dbus-call-method)
9254 (dbus-call-method-asynchronously, dbus-send-signal)
9255 (dbus-method-return-internal, dbus-method-error-internal):
9256 Check, whether Emacs has been compiled with D-Bus support. (Bug#17508)
9257
9258 2014-05-26 Nicolas Richard <theonewiththeevillook@yahoo.fr>
9259
9260 * emacs-lisp/eieio-opt.el (eieio-help-class): Correctly deal with
9261 methods which do not have a doc string. (Bug#17490)
9262
9263 2014-05-25 Tassilo Horn <tsdh@gnu.org>
9264
9265 * textmodes/reftex-ref.el (reftex-format-special): Make it work
9266 also for AMS Math's \eqref macro.
9267
9268 2014-05-25 Thien-Thi Nguyen <ttn@gnu.org>
9269
9270 Arrange to never byte-compile the generated -pkg.el file.
9271
9272 * emacs-lisp/package.el (package-generate-description-file):
9273 Output first-line comment to set buffer-local var `no-byte-compile'.
9274 Suggested by Dmitry Gutov:
9275 <http://lists.gnu.org/archive/html/emacs-devel/2014-05/msg00401.html>.
9276
9277 2014-05-25 Thien-Thi Nguyen <ttn@gnu.org>
9278
9279 Fix bug: Properly quote args to generated -pkg.el `define-package'.
9280
9281 * emacs-lisp/package.el (package-generate-description-file):
9282 Inline `package--alist-to-plist'; rewrite to selectively
9283 quote alist values that are not self-quoting.
9284 (package--alist-to-plist): Delete func.
9285
9286 2014-05-25 Andreas Schwab <schwab@linux-m68k.org>
9287
9288 * term/xterm.el (xterm-function-map): Add mapping for shifted
9289 keypad keys.
9290
9291 2014-05-24 Daniel Colascione <dancol@dancol.org>
9292
9293 * progmodes/subword.el (subword-find-word-boundary): Move point to
9294 correct spot before search. (Bug#17580)
9295
9296 * emacs-lisp/nadvice.el (defun): Write in eval-and-compile to avoid
9297 breaking the build.
9298
9299 2014-05-24 Leo Liu <sdl.web@gmail.com>
9300
9301 * calc/calc.el (math-bignum): Handle most-negative-fixnum. (Bug#17556)
9302
9303 2014-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
9304
9305 * minibuffer.el (completion--sreverse): Remove.
9306 (completion--common-suffix): Use `reverse' instead.
9307 * emacs-lisp/regexp-opt.el (regexp-opt-group): Use `reverse' on strings.
9308
9309 2014-05-22 Glenn Morris <rgm@gnu.org>
9310
9311 * shell.el (shell-mode) <shell-dirstack-query>: Bypass bash aliases.
9312
9313 2014-05-21 Daniel Colascione <dancol@dancol.org>
9314
9315 * files.el (interpreter-mode-alist): Add mksh.
9316
9317 * progmodes/sh-script.el (sh-ancestor-alist): Add mksh, a pdksh
9318 derivative.
9319 (sh-alias-alist): Alias /system/bin/sh (Android's system shell) to
9320 mksh. Improve custom spec; allow regular expressions.
9321 (sh-shell): Delegate name splitting to `sh-canonicalize-shell'.
9322 (sh-after-hack-local-variables): New function.
9323 (sh-mode): Use it; respect file-local `sh-shell' variable. (Bug#17333)
9324 (sh-set-shell): Use `sh-canonicalize-shell' instead of open-coding
9325 the normalization.
9326 (sh-canonicalize-shell): Rewrite to support regexes.
9327
9328 2014-05-21 Leo Liu <sdl.web@gmail.com>
9329
9330 * emacs-lisp/cl-lib.el (cl-endp): Fix last change.
9331
9332 2014-05-19 Leo Liu <sdl.web@gmail.com>
9333
9334 * emacs-lisp/cl-lib.el (cl-endp): Conform to CL's semantics.
9335
9336 2014-05-18 Glenn Morris <rgm@gnu.org>
9337
9338 * loadup.el:
9339 * play/gametree.el: `track-mouse' is always defined since 2012-11-24.
9340
9341 2014-05-14 Sam Steingold <sds@gnu.org>
9342
9343 * progmodes/python.el (python-shell-get-or-create-process):
9344 Do not bind `current-prefix-arg' so that C-c C-z does not talk
9345 back unless requested.
9346
9347 2014-05-14 Glenn Morris <rgm@gnu.org>
9348
9349 * subr.el (with-file-modes): New macro.
9350 * printing.el (pr-save-file-modes): Make obsolete.
9351 * eshell/esh-util.el (eshell-with-file-modes): Make obsolete.
9352 * emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2):
9353 Add with-file-modes.
9354 * doc-view.el (doc-view-make-safe-dir):
9355 * epg.el (epg--start):
9356 * files.el (locate-user-emacs-file, make-temp-file)
9357 (backup-buffer-copy, move-file-to-trash):
9358 * printing.el (pr-despool-print, pr-call-process, pr-text2ps):
9359 * eshell/esh-util.el (eshell-with-private-file-modes)
9360 (eshell-make-private-directory):
9361 * net/browse-url.el (browse-url-mosaic):
9362 * obsolete/mailpost.el (post-mail-send-it):
9363 * obsolete/pgg-pgp.el (pgg-pgp-verify-region):
9364 * obsolete/pgg-pgp5.el (pgg-pgp5-verify-region):
9365 Use with-file-modes.
9366
9367 * vc/emerge.el (emerge-make-temp-file): Simplify.
9368
9369 2014-05-14 Stephen Berman <stephen.berman@gmx.net>
9370 Stefan Monnier <monnier@iro.umontreal.ca>
9371
9372 * minibuffer.el (completion-pcm--merge-try): Merge trailing / with
9373 suffix (bug#15419).
9374
9375 2014-05-14 Glenn Morris <rgm@gnu.org>
9376
9377 * vc/emerge.el (emerge-temp-file-prefix):
9378 Make pointless option obsolete.
9379 (emerge-temp-file-mode): Make non-functional option obsolete.
9380
9381 2014-05-14 Michael Albinus <michael.albinus@gmx.de>
9382
9383 * net/browse-url.el (browse-url):
9384 Use `unhandled-file-name-directory' when setting `default-directory',
9385 in order to circumvent stalled remote connections. (Bug#17425)
9386
9387 2014-05-14 Glenn Morris <rgm@gnu.org>
9388
9389 * printing.el (subst-char-in-string, make-temp-file, pr-get-symbol):
9390 Optimize on Emacs, which has the relevant functions for ages.
9391
9392 2014-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
9393
9394 * simple.el (undo-make-selective-list): Obey undo-no-redo.
9395
9396 2014-05-12 Sam Steingold <sds@gnu.org>
9397
9398 * calendar/time-date.el (seconds-to-string): New function to
9399 pretty print time delay in seconds.
9400
9401 2014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
9402
9403 * mpc.el (mpc-format): Trim Date to the year.
9404 (mpc-songs-hashcons): Shorten the Date field.
9405
9406 * emacs-lisp/nadvice.el (advice--interactive-form): Don't get fooled
9407 into autoloading just because of a silly indirection.
9408
9409 2014-05-12 Santiago Payà i Miralta <santiagopim@gmail.com>
9410
9411 * vc/vc-hg.el (vc-hg-unregister): New function. (Bug#17454)
9412
9413 2014-05-12 Glenn Morris <rgm@gnu.org>
9414
9415 * emacs-lisp/find-gc.el: Move to ../admin.
9416
9417 * printing.el (pr-version):
9418 * ps-print.el (ps-print-version): Also mention bug-gnu-emacs.
9419
9420 * net/browse-url.el (browse-url-mosaic):
9421 Create /tmp/Mosaic.PID as a private file.
9422
9423 2014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
9424
9425 * emacs-lisp/nadvice.el: Support adding a given function multiple times.
9426 (advice--member-p): If name is given, only compare the name.
9427 (advice--remove-function): Don't stop at the first match.
9428 (advice--normalize-place): New function.
9429 (add-function, remove-function): Use it.
9430 (advice--add-function): Pass the name, if any, to
9431 advice--remove-function.
9432
9433 2014-05-12 Philipp Rumpf <prumpf@gmail.com> (tiny change)
9434
9435 * electric.el (electric-indent-post-self-insert-function): Don't use
9436 `pos' after modifying the buffer (bug#17449).
9437
9438 2014-05-12 Stephen Berman <stephen.berman@gmx.net>
9439
9440 * calendar/todo-mode.el (todo-insert-item-from-calendar):
9441 Correct argument list to conform to todo-insert-item--basic.
9442
9443 2014-05-12 Glenn Morris <rgm@gnu.org>
9444
9445 * files.el (cd-absolute): Test if directory is accessible
9446 rather than executable. (Bug#17330)
9447
9448 * progmodes/compile.el (recompile):
9449 Handle C-u M-x recompile from a non-compilation buffer. (Bug#17444)
9450
9451 * net/browse-url.el (browse-url-mosaic):
9452 Be careful when writing /tmp/Mosaic.PID. (Bug#17428)
9453 This is CVE-2014-3423.
9454
9455 2014-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
9456
9457 * mouse.el: Use the normal toplevel loop while dragging.
9458 (mouse-set-point): Handle multi-clicks.
9459 (mouse-set-region): Handle multi-clicks for drags.
9460 (mouse-drag-region): Update call accordingly.
9461 (mouse-drag-track): Remove `do-mouse-drag-region-post-process' hack.
9462 Use the normal event loop instead of a local while/read-event loop.
9463 (global-map): Remove redundant bindings for double/triple-mouse-1.
9464 * xt-mouse.el (xterm-mouse-translate-1): Only process one event at a time.
9465 Generate synthetic down events when the protocol only sends up events.
9466 (xterm-mouse-last): Remove.
9467 (xterm-mouse--read-event-sequence-1000): Use xterm-mouse-last-down
9468 terminal parameter instead.
9469 (xterm-mouse--set-click-count): New function.
9470 (xterm-mouse-event): Detect/generate double/triple clicks.
9471 * reveal.el (reveal-close-old-overlays): Don't close while dragging.
9472
9473 * info.el (Info-quoted): New face.
9474 (Info-mode-font-lock-keywords): New var.
9475 (Info-mode): Use it.
9476
9477 * emacs-lisp/lisp-mode.el (preceding-sexp): Exclude leading "," which
9478 are a hindrance for C-x C-e.
9479
9480 2014-05-11 Leo Liu <sdl.web@gmail.com>
9481
9482 * net/rcirc.el (rcirc-sentinel): Fix last change.
9483
9484 2014-05-08 Sam Steingold <sds@gnu.org>
9485
9486 * net/rcirc.el (rcirc-reconnect-delay): New user option.
9487 (rcirc-sentinel): Auto-reconnect to the server if
9488 `rcirc-reconnect-delay' is non-0 (but not more often than its
9489 value in case the host is off-line).
9490
9491 2014-05-09 Eli Zaretskii <eliz@gnu.org>
9492
9493 * progmodes/grep.el (lgrep): Fix a typo in last commit.
9494
9495 2014-05-09 Glenn Morris <rgm@gnu.org>
9496
9497 * files.el (file-expand-wildcards):
9498 * man.el (Man-support-local-filenames):
9499 * printing.el (pr-i-directory, pr-interface-directory):
9500 * progmodes/grep.el (lgrep, rgrep):
9501 * textmodes/ispell.el (ispell-call-process)
9502 (ispell-call-process-region, ispell-start-process)
9503 (ispell-init-process): Use file-accessible-directory-p.
9504
9505 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9506
9507 * xt-mouse.el: Drop spurious/oddly shaped events (bug#17378).
9508 (xterm-mouse--read-event-sequence-1000): Return nil if something
9509 looks fishy.
9510 (xterm-mouse-event): Propagate it.
9511 (xterm-mouse-translate-1): Handle it.
9512
9513 2014-05-08 Stephen Berman <stephen.berman@gmx.net>
9514
9515 * calendar/todo-mode.el (todo-insert-item--apply-args): When all
9516 four slots of the parameter list are filled, make sure to pass it
9517 to the argument list of todo-insert-item--basic.
9518
9519 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9520
9521 * emacs-lisp/package.el (package-compute-transaction): Topological sort.
9522 Add optional `seen' argument to detect and break infinite loops.
9523
9524 2014-05-08 Eli Zaretskii <eliz@gnu.org>
9525
9526 * emacs-lisp/find-gc.el (find-gc-unsafe, find-unsafe-funcs)
9527 (trace-unsafe, trace-use-tree): Make parentheses style be
9528 according to Emacs style.
9529
9530 2014-05-08 Michael Albinus <michael.albinus@gmx.de>
9531
9532 * net/tramp-sh.el (tramp-remote-process-environment):
9533 Remove HISTFILE and HISTSIZE; it's too late to set them here.
9534 Add :version entry.
9535 (tramp-open-shell): Do not let-bind `tramp-end-of-output'.
9536 Add "HISTFILE=/dev/null" to the shell's env arguments. Do not send
9537 extra "PSx=..." commands.
9538 (tramp-maybe-open-connection): Setenv HISTFILE to /dev/null.
9539 (Bug#17295)
9540
9541 (tramp-uudecode): Replace the hard-coded temporary file name by a
9542 format specifier.
9543 (tramp-remote-coding-commands): Enhance docstring.
9544 (tramp-find-inline-encoding): Replace "%t" by a temporary file
9545 name. (Bug#17415)
9546 This is CVE-2014-3424.
9547
9548 2014-05-08 Glenn Morris <rgm@gnu.org>
9549
9550 * emacs-lisp/find-gc.el (find-gc-source-directory): Give it a value.
9551 (find-gc-source-files): Update some names.
9552 (trace-call-tree): Simplify and update.
9553 Avoid predictable temp-file names. (http://bugs.debian.org/747100)
9554 This is CVE-2014-3422.
9555
9556 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9557
9558 * minibuffer.el (completion--try-word-completion): Revert fix for
9559 Bug#15980 (bug#17375).
9560
9561 * xt-mouse.el (xterm-mouse--read-event-sequence-1000): (bug#17378)
9562 Always store button numbers in the same way in xterm-mouse-last;
9563 Don't burp is xterm-mouse-last is not set as expected.
9564 Never return negative indices.
9565
9566 2014-05-08 Dmitry Gutov <dgutov@yandex.ru>
9567
9568 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
9569 Backtrack one char if the global/char-literal var matcher hits
9570 inside a string. The next char could be the beginning of an
9571 expression expansion.
9572
9573 2014-05-08 Glenn Morris <rgm@gnu.org>
9574
9575 * help-fns.el (describe-function-1): Test for an autoload before a
9576 macro, since `macrop' works on autoloads. (Bug#17410)
9577
9578 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9579
9580 * electric.el (electric-indent-functions-without-reindent): Add yaml.
9581
9582 * minibuffer.el (completion-table-with-quoting) <completion--unquote>:
9583 Make sure the new point we return is within the new string (bug#17239).
9584
9585 2014-05-05 Daniel Colascione <dancol@dancol.org>
9586
9587 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9588 Port `gnu' pattern to rx.
9589
9590 2014-05-05 Jarek Czekalski <jarekczek@poczta.onet.pl>
9591
9592 Remove unneeded prompt when closing a buffer with active
9593 emacsclient ("Buffer ... still has clients"), #16548.
9594 * server.el (server-start): Remove the only call to:
9595 (server-kill-buffer-query-function): Remove.
9596
9597 2014-05-04 Leo Liu <sdl.web@gmail.com>
9598
9599 * calendar/diary-lib.el (calendar-chinese-month-name-array):
9600 Defvar to pacify compiler.
9601
9602 2014-05-04 Eli Zaretskii <eliz@gnu.org>
9603
9604 * mail/rmailsum.el (rmail-new-summary-1): Fix a typo in a comment.
9605
9606 2014-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
9607
9608 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
9609 Use nil rather than `default' for the "default" appearance (bug#17388).
9610 * vc/ediff-util.el (ediff-inferior-compare-regions)
9611 (ediff-toggle-autorefine, ediff-unselect-difference): Don't use
9612 a misleading `default' value when it's really a boolean.
9613 * vc/ediff-init.el (ediff-set-overlay-face): Don't set help-echo if the
9614 overlay is not visible.
9615
9616 2014-05-04 Stephen Berman <stephen.berman@gmx.net>
9617
9618 * calendar/todo-mode.el (todo-edit-file): Use display-warning.
9619 (todo-menu): Uncomment and update.
9620
9621 2014-05-04 Stephen Berman <stephen.berman@gmx.net>
9622
9623 * calendar/todo-mode.el: Reimplement item editing to have the same
9624 basic user interface as item insertion, and make small UI and
9625 larger internal improvements to the latter.
9626 (todo-insert-item): Add reference to the Todo mode user manual to
9627 the documentation string.
9628 (todo-insert-item--basic): Rename from todo-basic-insert-item and
9629 adjust all callers. Change signature to combine diary and
9630 nonmarking arguments. Incorporate functionality of deleted item
9631 copying command and add error checking. Remove detailed
9632 descriptions of the arguments from the documentation string, since
9633 this is treated in the Todo mode user manual.
9634 (todo-copy-item, todo-edit-multiline-item)
9635 (todo-edit-done-item-comment, todo-edit-item-header)
9636 (todo-edit-item-time, todo-edit-item-date-from-calendar)
9637 (todo-edit-item-date-to-today, todo-edit-item-date-day-name)
9638 (todo-edit-item-date-year, todo-edit-item-date-month)
9639 (todo-edit-item-date-day, todo-edit-item-diary-nonmarking):
9640 Remove.
9641 (todo-edit-item): Reimplement as wrapper command for
9642 todo-edit-item--next-key and make it distinguish done and not done
9643 todo items.
9644 (todo-edit-item--text): New function, replacing old command
9645 todo-edit-item and incorporating deleted commands
9646 todo-edit-multiline-item and todo-edit-done-item-comment.
9647 (todo-edit-item--header): Rename from todo-basic-edit-item-header.
9648 Use only numeric value of prefix argument. Remove detailed
9649 descriptions of the arguments from the documentation string, since
9650 this is treated in the Todo mode user manual.
9651 (todo-edit-item--diary-inclusion): New function, replacing old
9652 command todo-edit-item-diary-inclusion and incorporating and fixing
9653 functionality of deleted command todo-edit-item-diary-nonmarking,
9654 making sure to remove todo-nondiary-marker when adding
9655 diary-nonmarking-symbol.
9656 (todo-edit-category-diary-inclusion): Make sure to delete
9657 diary-nonmarking-symbol when adding todo-nondiary-marker.
9658 (todo-edit-category-diary-nonmarking): Fix indentation.
9659 (todo-insert-item--parameters): Group diary and nonmarking
9660 parameters together.
9661 (todo-insert-item--apply-args): Adjust to signature of
9662 todo-insert-item--basic and incorporate copy parameter.
9663 Make small code improvements.
9664 (todo-insert-item--next-param): Improve prompt and adjust it to
9665 new parameter grouping. Remove obsolete code.
9666 (todo-edit-item--param-key-alist)
9667 (todo-edit-item--date-param-key-alist)
9668 (todo-edit-done-item--param-key-alist): New defconsts.
9669 (todo-edit-item--prompt): New variable.
9670 (todo-edit-item--next-key): New function.
9671 (todo-key-bindings-t): Bind "e" to todo-edit-item.
9672 Remove bindings of deleted commands.
9673
9674 2014-05-04 Leo Liu <sdl.web@gmail.com>
9675
9676 * emacs-lisp/cl-macs.el (cl-deftype): Fix indentation.
9677
9678 2014-05-04 Glenn Morris <rgm@gnu.org>
9679
9680 * allout-widgets.el (allout-widgets-tally)
9681 (allout-decorate-item-guides):
9682 * menu-bar.el (menu-bar-positive-p):
9683 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
9684 * progmodes/gdb-mi.el (gdbmi-same-start, gdbmi-is-number):
9685 * progmodes/js.el (js--inside-param-list-p)
9686 (js--inside-dojo-class-list-p, js--forward-destructuring-spec):
9687 * progmodes/prolog.el (region-exists-p):
9688 * progmodes/verilog-mode.el (verilog-scan-cache-ok-p):
9689 * textmodes/reftex-parse.el (reftex-using-biblatex-p):
9690 Doc fixes (replace `iff').
9691
9692 2014-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
9693
9694 * mpc.el (mpc-volume-mouse-set): Don't burp at the boundaries.
9695
9696 2014-05-04 Leo Liu <sdl.web@gmail.com>
9697
9698 Support Chinese diary entries in calendar and diary. (Bug#17393)
9699 * calendar/cal-china.el (calendar-chinese-month-name-array): New var.
9700 (calendar-chinese-from-absolute-for-diary)
9701 (calendar-chinese-to-absolute-for-diary)
9702 (calendar-chinese-mark-date-pattern, diary-chinese-mark-entries)
9703 (diary-chinese-list-entries): New functions to list and mark
9704 Chinese diary entries in the calendar window.
9705 (diary-chinese-anniversary)
9706 (diary-chinese-insert-anniversary-entry)
9707 (diary-chinese-insert-entry, diary-chinese-insert-monthly-entry)
9708 (diary-chinese-insert-yearly-entry): New commands to insert
9709 Chinese diary entries.
9710
9711 * calendar/diary-lib.el (diary-font-lock-keywords):
9712 Support font-locking Chinese dates.
9713
9714 * calendar/cal-menu.el (cal-menu-diary-menu): Add entries for
9715 inserting Chinese diary entries.
9716
9717 * calendar/calendar.el (diary-chinese-entry-symbol):
9718 New customizable variable.
9719 (calendar-mode-map): Add bindings for inserting Chinese diary
9720 entries.
9721
9722 2014-05-03 Juri Linkov <juri@jurta.org>
9723
9724 * dired.el (dired-check-switches, dired-switches-recursive-p):
9725 New functions. (Bug#17218)
9726 (dired-switches-escape-p, dired-move-to-end-of-filename):
9727 Use `dired-check-switches'.
9728 (dired-insert-old-subdirs, dired-build-subdir-alist)
9729 (dired-sort-R-check): Use `dired-switches-recursive-p'.
9730
9731 2014-05-01 Barry O'Reilly <gundaetiapo@gmail.com>
9732
9733 * simple.el (undo-make-selective-list): New algorithm fixes
9734 incorrectness of position adjustments when undoing in region.
9735 (Bug#17235)
9736 (undo-elt-crosses-region): Make obsolete.
9737 (undo-adjust-elt, undo-adjust-beg-end, undo-adjust-pos):
9738 New functions to adjust positions using undo-deltas.
9739
9740 2014-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
9741
9742 * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): Only highlight past
9743 the last consecutive closing paren (bug#17345).
9744
9745 2014-04-30 Reuben Thomas <rrt@sc3d.org>
9746
9747 * dired.el (dired-mode): make terminology for eXpunge command
9748 consistent. (Bug#17276)
9749
9750 2014-04-30 Eli Zaretskii <eliz@gnu.org>
9751
9752 * dired.el (dired-initial-position-hook, dired-initial-position):
9753 Doc string fixes.
9754
9755 2014-04-30 Glenn Morris <rgm@gnu.org>
9756
9757 * mail/rmail.el (rmail-quit): Handle killed summaries. (Bug#17283)
9758
9759 2014-04-30 Matthias Dahl <matthias.dahl@binary-island.eu>
9760
9761 * faces.el (face-spec-recalc): Apply X resources only after the
9762 defface spec has been applied. Thus, X resources are no longer
9763 overriden by the defface spec which also fixes issues on win32 where
9764 the toolbar coloring was wrong because it is set through X resources
9765 and was (wrongfully) overriden. (Bug#16694)
9766
9767 2014-04-30 Stefan Monnier <monnier@iro.umontreal.ca>
9768
9769 * textmodes/rst.el (electric-pair-pairs): Declare.
9770 (rst-mode): Set it (bug#17131).
9771
9772 2014-04-30 Juri Linkov <juri@jurta.org>
9773
9774 * desktop.el (desktop-value-to-string): Let-bind `print-length'
9775 and `print-level' to nil. (Bug#17351)
9776
9777 2014-04-30 Nicolas Richard <theonewiththeevillook@yahoo.fr>
9778
9779 * battery.el (battery-update): Handle the case where battery
9780 status is "N/A" (bug#17319).
9781
9782 2014-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
9783
9784 * progmodes/ps-mode.el: Use SMIE. Move string and comment recognition
9785 to syntax-propertize.
9786 (ps-mode-auto-indent): Mark as obsolete.
9787 (ps-mode-font-lock-keywords-1): Remove string-or-comment handling.
9788 (ps-mode-font-lock-keywords-3): Use symbol regexp operators instead of
9789 word regexp operators.
9790 (ps-mode-map): Move initialization into declaration. Remove binding
9791 for TAB, RET, >, ], and }.
9792 (ps-mode-syntax-table): Move initialization into declaration.
9793 Don't give word syntax to non-word chars.
9794 (ps-run-mode-map): Move initialization into declaration.
9795 (ps-mode-menu-main): Remove auto-indent entry.
9796 (ps-mode-smie-rules): New function.
9797 (ps-mode): Setup smie, syntax-propertize, and electric-indent-mode.
9798 (ps-mode-looking-at-nested, ps-mode-match-string-or-comment): Remove.
9799 (ps-mode--string-syntax-table): New const.
9800 (ps-mode--syntax-propertize-special, ps-mode-syntax-propertize):
9801 New functions.
9802 (ps-mode-newline, ps-mode-tabkey, ps-mode-r-brace, ps-mode-r-angle)
9803 (ps-mode-r-gt, ps-mode-r-balance): Remove functions.
9804
9805 2014-04-27 Daniel Colascione <dancol@dancol.org>
9806
9807 * term/xterm.el (xterm-paste): Use large finite timeout when
9808 reading event to avoid putting keys in this-command-keys.
9809
9810 2014-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9811
9812 * progmodes/perl-mode.el (perl--syntax-exp-intro-regexp): New var.
9813 (perl-syntax-propertize-function): Use it. Extend handling of
9814 here-docs to the unquoted case.
9815
9816 2014-04-25 Eli Zaretskii <eliz@gnu.org>
9817
9818 * tooltip.el (tooltip-show-help-non-mode, tooltip-show-help):
9819 Use equal-including-properties to compare help-echo strings (bug#17331).
9820
9821 2014-04-25 Leo Liu <sdl.web@gmail.com>
9822
9823 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
9824 Fix syntax for @. (Bug#17325)
9825
9826 2014-04-25 Daniel Colascione <dancol@dancol.org>
9827
9828 * emacs-lisp/cl.el (gv): Require gv early to break eager
9829 macro-expansion cycles.
9830
9831 2014-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9832
9833 * simple.el (region-active-p): Check there's a mark (bug#17324).
9834
9835 * simple.el (completion-list-mode-map): Use choose-completion for the
9836 mouse binding as well (bug#17302).
9837 (completion-list-mode, completion-setup-function): Adjust docstring and
9838 echo area message accordingly.
9839 * progmodes/idlwave.el (idlwave-choose-completion): Adjust to new
9840 calling convention of choose-completion.
9841 * comint.el (comint-dynamic-list-completions):
9842 * term.el (term-dynamic-list-completions): Accept choose-completion.
9843
9844 * progmodes/perl-mode.el (perl-syntax-propertize-function): Slash after
9845 &, |, +, - and * can't be a division (bug#17317).
9846
9847 * term/xterm.el (xterm--version-handler): Don't use modern xterm
9848 features on gnome-terminal (bug#16988).
9849
9850 2014-04-25 Thien-Thi Nguyen <ttn@gnu.org>
9851
9852 Improve Scheme font-locking for (define ((foo ...) ...) ...).
9853
9854 * progmodes/scheme.el (scheme-font-lock-keywords-1): To find
9855 the declared object, ignore zero or more parens, not zero or one.
9856
9857 2014-04-24 Leo Liu <sdl.web@gmail.com>
9858
9859 * progmodes/xscheme.el (xscheme-expressions-ring)
9860 (xscheme-expressions-ring-yank-pointer, xscheme-running-p)
9861 (xscheme-control-g-disabled-p, xscheme-process-filter-state)
9862 (xscheme-allow-output-p, xscheme-prompt)
9863 (xscheme-string-accumulator, xscheme-mode-string): Use defvar-local.
9864
9865 * progmodes/scheme.el (would-be-symbol, next-sexp-as-string):
9866 Comment out unused functions.
9867
9868 2014-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
9869
9870 * info.el: Use lexical-binding and cl-lib.
9871 Use defvar-local and setq-local instead of make-local-variable.
9872 (Info-apropos-matches): Avoid add-to-list.
9873 (Info-edit-mode-map): Fix obsolescence call to Info-edit-map.
9874
9875 2014-04-24 Daniel Colascione <dancol@dancol.org>
9876
9877 * progmodes/sh-script.el (sh-builtins): Add coproc to list of bash builtins.
9878
9879 2014-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
9880
9881 * emacs-lisp/cl-macs.el (cl--loop-let): Fix last merge.
9882
9883 2014-04-22 Michael Heerdegen <michael_heerdegen@web.de>
9884
9885 * dired.el (dired-insert-set-properties): Do not consider
9886 subdirectory headings and empty lines to be information that
9887 `dired-hide-details-mode' should hide. (Bug#17228)
9888
9889 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
9890
9891 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
9892 Remove test messages.
9893 (tramp-do-copy-or-rename-file-out-of-band): Do not quote `source'
9894 and `target' twice.
9895
9896 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
9897
9898 * dframe.el (dframe-get-focus): Remove `hook' argument (bug#17311).
9899 * speedbar.el (speedbar-get-focus): Run the "hook" afterwards instead.
9900
9901 * emacs-lisp/cl-macs.el (cl--loop-let): Avoid `nil' as var name.
9902
9903 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
9904
9905 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
9906 Set "IFS=" when using read builtin, in order to preserve spaces in
9907 the file name. Add test messages for hunting a bug on hydra.
9908 (tramp-get-ls-command): Undo using "-b" argument. It doesn't help.
9909
9910 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
9911
9912 * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
9913 Don't prettify a word within a symbol.
9914
9915 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
9916
9917 * net/tramp-sh.el (tramp-get-ls-command): Use "-b" argument if
9918 possible.
9919
9920 2014-04-22 Daniel Colascione <dancol@dancol.org>
9921
9922 * emacs-lisp/byte-run.el (function-put): Unbreak build: don't
9923 use defun to define `function-put'.
9924
9925 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
9926
9927 * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): New function.
9928 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords-2): Use it.
9929 (lisp-mode-variables): Set font-lock-extra-managed-props.
9930
9931 * emacs-lisp/byte-run.el (function-put): New function.
9932 (defun-declarations-alist): Use it. Add `pure' and `side-effect-free'.
9933 * emacs-lisp/cl-macs.el (cl-defstruct, cl-struct-sequence-type)
9934 (cl-struct-slot-info, cl-struct-slot-offset, cl-struct-slot-value):
9935 Use them.
9936
9937 2014-04-22 Daniel Colascione <dancol@dancol.org>
9938
9939 * emacs-lisp/macroexp.el (internal-macroexpand-for-load):
9940 Add `full-p' parameter; when nil, call `macroexpand' instead of
9941 `macroexpand-all'.
9942
9943 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
9944 Improve docstrings.
9945
9946 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
9947 Use lambda function values, not quoted lambdas.
9948 (byte-compile-recurse-toplevel): Remove extraneous &optional.
9949
9950 * emacs-lisp/cl-macs.el
9951 (cl-struct-sequence-type, cl-struct-slot-info): Declare pure.
9952 (cl-struct-slot-value): Conditionally use aref or nth so that the
9953 compiler produces optimal code.
9954
9955 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
9956
9957 * emacs-lisp/cl-macs.el (cl-struct-slot-offset): Mark as pure.
9958 (inline): Don't inline cl--set-elt.
9959 (cl-struct-slot-value): Remove explicit gv-setter and compiler-macro.
9960 Define as inlinable instead.
9961 (cl-struct-set-slot-value): Remove.
9962
9963 * emacs-lisp/cl-lib.el (cl--set-elt): Remove.
9964 * emacs-lisp/cl-seq.el (cl-replace, cl-substitute, cl-nsubstitute):
9965 Use setf instead.
9966
9967 2014-04-21 Daniel Colascione <dancol@dancol.org>
9968
9969 * emacs-lisp/cl-macs.el (cl--const-expr-val): We didn't need the
9970 last two parameters after all.
9971 (cl--expr-contains,cl--compiler-macro-typep,cl--compiler-macro-member)
9972 (cl--compiler-macro-assoc,cl-struct-slot-value)
9973 (cl-struct-set-slot-value): Stop using them.
9974
9975 (2014-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
9976
9977 * image-mode.el (image-mode-window-put): Don't assume there's a `t'
9978 entry in image-mode-winprops-alist.
9979
9980 2014-04-21 Daniel Colascione <dancol@dancol.org>
9981
9982 * emacs-lisp/bytecomp.el (byte-compile-recurse-toplevel): New function.
9983 (byte-compile-recurse-toplevel, byte-compile-initial-macro-environment)
9984 (byte-compile-toplevel-file-form): Use it.
9985
9986 * emacs-lisp/cl-macs.el:
9987 (cl--loop-let): Properly destructure `while' clauses.
9988
9989 2014-04-20 Daniel Colascione <dancol@dancol.org>
9990
9991 * vc/vc.el (vc-root-dir): New public autoloaded function for
9992 generically finding the current VC root.
9993 * vc/vc-hooks.el (vc-not-supported): New error.
9994 (vc-call-backend): Signal `vc-not-supported' instead of generic error.
9995
9996 2014-04-20 Daniel Colascione <dancol@dancol.org>
9997
9998 * emacs-lisp/cl-macs.el (cl-the): Make `cl-the' assert its type
9999 argument.
10000 (cl--const-expr-val): cl--const-expr-val should macroexpand its
10001 argument in case we're inside a symbol-macrolet.
10002 (cl--do-arglist, cl--compiler-macro-typep)
10003 (cl--compiler-macro-member, cl--compiler-macro-assoc): Pass macro
10004 environment to `cl--const-expr-val'.
10005 (cl-struct-sequence-type,cl-struct-slot-info)
10006 (cl-struct-slot-offset, cl-struct-slot-value)
10007 (cl-struct-set-slot-value): New functions.
10008
10009 2014-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
10010
10011 * progmodes/sh-script.el (sh-smie--sh-keyword-p): Handle variable
10012 assignments such as "case=hello" (bug#17297).
10013
10014 2014-04-18 Michael Albinus <michael.albinus@gmx.de>
10015
10016 * net/tramp.el (tramp-run-real-handler, tramp-file-name-handler):
10017 Do not autoload.
10018 (tramp-file-name-handler, tramp-completion-file-name-handler):
10019 Revert patch from 2014-04-10, it isn't necessary anymore.
10020 (tramp-autoload-file-name-handler)
10021 (tramp-register-autoload-file-name-handlers): New defuns.
10022 (top): Autoload call of `tramp-register-autoload-file-name-handlers'.
10023 (tramp-register-file-name-handlers): Remove also
10024 `tramp-autoload-file-name-handler' from `file-name-handler-list'.
10025 Do not autoload its invocation, but eval it after loading of 'tramp.
10026
10027 * net/tramp-adb.el (tramp-unload-hook): Unload `tramp-adb'.
10028
10029 * net/tramp-compat.el (tramp-unload-hook): Unload `tramp-loaddefs'.
10030
10031 2014-04-17 Daniel Colascione <dancol@dancol.org>
10032
10033 Add support for bracketed paste mode; add infrastructure for
10034 managing terminal mode enabling and disabling automatically.
10035
10036 * xt-mouse.el:
10037 (xterm-mouse-mode): Simplify.
10038 (xterm-mouse-tracking-enable-sequence)
10039 (xterm-mouse-tracking-disable-sequence): New constants.
10040 (turn-on-xterm-mouse-tracking-on-terminal)
10041 (turn-off-xterm-mouse-tracking-on-terminal):
10042 Use tty-mode-set-strings and tty-mode-reset-strings terminal
10043 parameters instead of random hooks.
10044 (turn-on-xterm-mouse-tracking)
10045 (turn-off-xterm-mouse-tracking): Delete.
10046
10047 * term/xterm.el (xterm-extra-capabilities): Fix bitrotted comment.
10048 (xterm-paste-ending-sequence): New constant.
10049 (xterm-paste): New command used for bracketed paste support.
10050
10051 (xterm-modify-other-keys-terminal-list): Delete obsolete variable.
10052 (terminal-init-xterm-bracketed-paste-mode): New function.
10053 (terminal-init-xterm): Call it.
10054 (terminal-init-xterm-modify-other-keys): Use tty-mode-set-strings
10055 and tty-mode-reset-strings instead of random hooks.
10056 (xterm-turn-on-modify-other-keys)
10057 (xterm-turn-off-modify-other-keys)
10058 (xterm-remove-modify-other-keys): Delete obsolete functions.
10059
10060 * term/screen.el: Rewrite to just use the xterm code.
10061 Add copyright notice. Mention tmux.
10062
10063 2014-04-17 Ian D <dunni@gnu.org> (tiny change)
10064
10065 * image-mode.el (image-mode-window-put): Also update the property of
10066 the "default window".
10067 * doc-view.el (doc-view-new-window-function): If no window
10068 exists, move to the last known page.
10069
10070 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
10071
10072 * progmodes/perl-mode.el (perl-calculate-indent): Don't auto-indent in
10073 here-documents (bug#17262).
10074
10075 2014-04-16 Eli Zaretskii <eliz@gnu.org>
10076
10077 * term/pc-win.el (x-list-fonts, x-get-selection-value):
10078 Provide doc strings, as required by snarf-documentation.
10079
10080 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
10081
10082 * ps-def.el (ps-generate-postscript-with-faces1): Use the new `sorted'
10083 arg of overlays-at. Use `invisible-p'.
10084
10085 * obsolete/lucid.el (extent-at):
10086 * htmlfontify.el (hfy-overlay-props-at): Use the new `sorted' arg of
10087 overlays-at.
10088 (hfy-fontify-buffer): Remove unused var `orig-ovls'.
10089
10090 2014-04-16 João Távora <joaotavora@gmail.com>
10091
10092 * net/shr.el (shr-expand-url): Use `expand-file-name' for relative
10093 links. (Bug#17217).
10094
10095 2014-04-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
10096
10097 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
10098 Use mapc to loop over a vector. (Bug#17257).
10099
10100 2014-04-16 Michael Albinus <michael.albinus@gmx.de>
10101
10102 * net/tramp-sh.el (tramp-sh-handle-file-truename): Revert previous
10103 patch, there are new problems with file names containing spaces.
10104 Get rid of backticks. (Bug#17238)
10105
10106 2014-04-16 João Távora <joaotavora@gmail.com>
10107
10108 * elec-pair.el (electric-pair--syntax-ppss): Simplify and fix
10109 possible bug.
10110
10111 2014-04-16 Eli Zaretskii <eliz@gnu.org>
10112
10113 * frame.el (blink-cursor-blinks, blink-cursor-blinks-done): Doc fixes.
10114 (blink-cursor-mode): Mention customization variables and the
10115 effect of 'blink-cursor-blinks'.
10116
10117 2014-04-16 Barry O'Reilly <gundaetiapo@gmail.com>
10118
10119 * simple.el (undo): Prevent insertion of identity mapping into
10120 undo-equiv-table so as undo-only does not inf loop in the presence
10121 of consecutive nils in undo list.
10122
10123 2014-04-16 Matthias Dahl <matthias.dahl@binary-island.eu>
10124
10125 * faces.el (make-face): Deprecate optional argument as it is no
10126 longer needed/used since the conditional X resources handling
10127 has been pushed down to make-face-x-resource-internal itself.
10128 (make-empty-face): Don't pass optional argument to make-face.
10129
10130 2014-04-16 Karl Fogel <kfogel@red-bean.com>
10131
10132 * savehist.el (savehist-save): Remove workaround for a read-passwd
10133 bug that was fixed before 24.3. Thanks to Juanma Barranquero for
10134 noticing that the shim was still present.
10135
10136 2014-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
10137
10138 * doc-view.el (doc-view-set-doc-type): Ignore file name case; add .pps.
10139
10140 2014-04-14 Juanma Barranquero <lekktu@gmail.com>
10141
10142 * faces.el (face-set-after-frame-default): Remove unused local variable.
10143
10144 2014-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
10145
10146 * progmodes/grep.el: Use lexical-binding.
10147 (grep-expand-template): Pass explicit lexical env to `eval'.
10148 (zrgrep): Let-bind grep-find-template explicitly.
10149
10150 * emacs-lisp/cl-lib.el (current-case-table): Remove setter.
10151 * leim/quail/sisheng.el (sisheng-list): Use with-case-table.
10152
10153 2014-04-12 Eli Zaretskii <eliz@gnu.org>
10154
10155 * international/characters.el <standard-case-table>: Add entries
10156 for letters from the Coptic block u+2C80-u+2CFF. (Bug#17243)
10157 Set category of Coptic characters be 'g' (Greek).
10158
10159 2014-04-12 Leo Liu <sdl.web@gmail.com>
10160
10161 * progmodes/octave.el (completion-table-with-cache):
10162 Define if not available.
10163 (octave-goto-function-definition, octave-sync-function-file-names)
10164 (octave-find-definition-default-filename):
10165 Backquote upattern for compatibility.
10166
10167 2014-04-12 Michael Albinus <michael.albinus@gmx.de>
10168
10169 * net/tramp-sh.el (tramp-sh-handle-file-truename): Quote the file
10170 name twice due to backticks. (Bug#17238)
10171
10172 2014-04-12 Glenn Morris <rgm@gnu.org>
10173
10174 * term/w32-win.el (x-win-suspend-error):
10175 * term/x-win.el (x-win-suspend-error): Sync docs.
10176
10177 2014-04-12 Matthias Dahl <matthias.dahl@binary-island.eu>
10178
10179 * faces.el (make-face): Remove deprecated optional argument.
10180 The conditional application of X resources is handled directly by
10181 make-face-x-resource-internal since Emacs 24.4.
10182 (make-empty-face): Don't pass optional argument to make-face.
10183
10184 2014-04-11 Glenn Morris <rgm@gnu.org>
10185
10186 * Makefile.in (EMACSDATA, EMACSDOC, EMACSPATH): Unexport. (Bug#16429)
10187
10188 2014-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
10189
10190 Ediff's overlay priorities cause more trouble than they solve.
10191 * vc/ediff-init.el (ediff-shadow-overlay-priority): Remove variable.
10192 (ediff-highest-priority): Remove function (bug#17234).
10193 * vc/ediff-util.el (ediff-highlight-diff-in-one-buffer):
10194 * vc/ediff-diff.el (ediff-set-diff-overlays-in-one-buffer)
10195 (ediff-set-fine-diff-properties-in-one-buffer): Don't mess with
10196 overlay priorities.
10197
10198 2014-04-11 Feng Li <fengli@gmail.com> (tiny change)
10199
10200 * progmodes/pascal.el (pascal-font-lock-keywords): Fix incorrect format
10201 entry; use symbol boundaries to avoid mis-matches.
10202
10203 2014-04-11 Michael Albinus <michael.albinus@gmx.de>
10204
10205 * net/tramp.el (tramp-file-name-handler)
10206 (tramp-completion-file-name-handler): Avoid recursive loading.
10207
10208 * net/tramp-sh.el (tramp-make-copy-program-file-name):
10209 Quote result also locally.
10210
10211 2014-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
10212
10213 * emulation/cua-base.el (<toplevel>, cua--pre-command-handler-1):
10214 Remove left-over code.
10215
10216 * newcomment.el (comment-indent-new-line): Sink code where it's used.
10217 Reuse the previous comment's indentation unconditionally if it's on its
10218 own line.
10219
10220 2014-04-09 Daniel Colascione <dancol@dancol.org>
10221
10222 * emacs-lisp/lisp.el (backward-up-list): Add `escape-strings',
10223 `no-syntax-crossing' arguments. Forward to `up-list'.
10224 (up-list): Add `escape-strings', `no-syntax-crossing' arguments.
10225 Implement logic for escaping from strings. Use narrowing to deal
10226 with corner cases.
10227
10228 2014-04-09 Leo Liu <sdl.web@gmail.com>
10229
10230 * net/rcirc.el (rcirc-connection-info): New variable.
10231 (rcirc-connect): Use it to store connection info.
10232 (rcirc-buffer-process): Avoid get-buffer-process which returns nil
10233 for killed process.
10234 (rcirc-cmd-reconnect): New command. (Bug#17045)
10235 (rcirc-mode, set-rcirc-encode-coding-system)
10236 (set-rcirc-decode-coding-system, rcirc-connect): Use setq-local.
10237
10238 2014-04-09 Daniel Colascione <dancol@dancol.org>
10239
10240 * emacs-lisp/cl-indent.el: Add comment claiming
10241 facility is also good for elisp.
10242 (lisp-indent-find-method): New function.
10243 (common-lisp-indent-function): Recognize cl-loop.
10244 (common-lisp-indent-function-1): Recognize cl constructs; use
10245 `lisp-indent-find-method' instead of `get' directly.
10246 (if): Use else-body style for elisp.
10247
10248 2014-04-09 Dmitry Gutov <dgutov@yandex.ru>
10249
10250 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
10251 Module methods. (Bug#17216)
10252
10253 2014-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
10254
10255 * help.el (describe-bindings): Fix buffer handling (bug#17210).
10256 (describe-bindings-internal): Mark obsolete.
10257
10258 2014-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
10259
10260 * subr.el (with-silent-modifications): Don't bind deactivate-mark,
10261 buffer-file-name, and buffer-file-truename any more.
10262
10263 2014-04-08 Leo Liu <sdl.web@gmail.com>
10264
10265 Use lexical-binding and require cl-lib.
10266 * net/rcirc.el (rcirc, rcirc-handler-ctcp-KEEPALIVE)
10267 (rcirc-handler-generic, rcirc-fill-paragraph)
10268 (rcirc-format-response-string, rcirc-target-buffer)
10269 (rcirc-last-line, rcirc-record-activity, rcirc-split-activity)
10270 (rcirc-activity-string, rcirc-make-trees, rcirc-cmd-ctcp)
10271 (rcirc-ctcp-sender-PING, rcirc-browse-url)
10272 (rcirc-markup-timestamp, rcirc-markup-attributes)
10273 (rcirc-markup-my-nick, rcirc-markup-urls)
10274 (rcirc-markup-bright-nicks, rcirc-markup-fill)
10275 (rcirc-check-auth-status, rcirc-handler-WALLOPS)
10276 (rcirc-handler-JOIN, rcirc-handler-PART-or-KICK)
10277 (rcirc-handler-PART, rcirc-handler-KICK, rcirc-handler-QUIT)
10278 (rcirc-handler-NICK, rcirc-handler-PING, rcirc-handler-PONG)
10279 (rcirc-handler-TOPIC, rcirc-handler-301, rcirc-handler-317)
10280 (rcirc-handler-332, rcirc-handler-333, rcirc-handler-477)
10281 (rcirc-handler-MODE, rcirc-handler-353, rcirc-handler-366)
10282 (rcirc-authenticate, rcirc-handler-INVITE, rcirc-handler-ERROR)
10283 (rcirc-handler-ctcp-VERSION, rcirc-handler-ctcp-TIME)
10284 (rcirc-handler-CTCP-response): Fix unused arguments warnings and
10285 use cl-lib.
10286
10287 2014-04-07 João Távora <joaotavora@gmail.com>
10288
10289 * elec-pair.el (electric-pair--syntax-ppss):
10290 When inside comments parse from comment beginning.
10291 (electric-pair--balance-info): Fix typo in comment.
10292 (electric-pair--in-unterminated-string-p): Delete.
10293 (electric-pair--unbalanced-strings-p): New function.
10294 (electric-pair-string-bound-function): New var.
10295 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
10296 according to `electric-pair--in-unterminated-string-p'
10297
10298 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
10299 Inhibit quote pairing if point-max is inside an unterminated string.
10300 (electric-pair--looking-at-unterminated-string-p): Delete.
10301 (electric-pair--in-unterminated-string-p): New function.
10302
10303 2014-04-07 Glenn Morris <rgm@gnu.org>
10304
10305 * shell.el (shell-directory-tracker):
10306 Go back to just ignoring failures. (Bug#17159)
10307
10308 2014-04-07 João Távora <joaotavora@gmail.com>
10309
10310 Fix `electric-pair-delete-adjacent-pairs' in modes binding
10311 backspace. (Bug#16981)
10312 * elec-pair.el (electric-pair-backward-delete-char): Delete.
10313 (electric-pair-backward-delete-char-untabify): Delete.
10314 (electric-pair-mode-map): Bind backspace to a menu item filtering
10315 a new `electric-pair-delete-pair' command.
10316 (electric-pair-delete-pair): New command.
10317
10318 * progmodes/python.el (python-electric-pair-string-delimiter):
10319 Fix triple-quoting electricity. (Bug#17192)
10320
10321 * elec-pair.el (electric-pair-post-self-insert-function):
10322 Don't skip whitespace when `electric-pair-text-pairs' and
10323 `electric-pair-pairs' were used. syntax to
10324 electric-pair--skip-whitespace. (Bug#17183)
10325
10326 2014-04-07 Eli Zaretskii <eliz@gnu.org>
10327
10328 * leim/quail/ipa.el (ipa-x-sampa): Fix the character produced for
10329 "<F>". (Bug#17199)
10330
10331 2014-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
10332
10333 * mpc.el (mpc--status-timer-run): Disable timer if not displayed.
10334 (mpc--status-idle-timer-run): Use mpc--status-timer-run.
10335
10336 2014-04-07 Glenn Morris <rgm@gnu.org>
10337
10338 * help.el (view-lossage): Doc tweak.
10339
10340 2014-04-07 Matthias Dahl <ml_emacs-lists@binary-island.eu>
10341
10342 * faces.el (face-spec-recalc): Call make-face-x-resource-internal
10343 only when inhibit-x-resources is nil, and do that earlier in the
10344 function. Doc fix. (Bug#16694)
10345 (face-spec-choose): Accept additional optional argument, whose
10346 value is returned if no matching attributes are found.
10347 (face-spec-recalc): Use the new optional argument when calling
10348 face-spec-choose. (Bug#16378)
10349 (make-face-x-resource-internal): Do nothing when
10350 inhibit-x-resources is non-nil. Don't touch the default face if
10351 reversed video is given--as was done in previous versions of Emacs.
10352 (face-set-after-frame-default): Don't call
10353 make-face-x-resource-internal here. (Bug#16434)
10354
10355 2014-04-07 Tassilo Horn <tsdh@gnu.org>
10356
10357 * doc-view.el (doc-view-bookmark-jump):
10358 Use `bookmark-after-jump-hook' to jump to the right page after the
10359 buffer is shown in a window. (bug#16090)
10360
10361 2014-04-07 Eli Zaretskii <eliz@gnu.org>
10362
10363 * international/characters.el (mirroring): Fix last change:
10364 instead of loading uni-mirrored.el explicitly, do that implicitly
10365 by creating the 'mirroring' uniprop table. This avoids announcing
10366 the loading of uni-mirrored.el.
10367
10368 2014-04-07 Glenn Morris <rgm@gnu.org>
10369
10370 * files.el (buffer-stale--default-function)
10371 (buffer-stale-function, revert-buffer--default):
10372 * autorevert.el (auto-revert-buffers): Doc tweaks.
10373
10374 2014-04-07 Eli Zaretskii <eliz@gnu.org>
10375
10376 * international/characters.el: Preload uni-mirrored.el. (Bug#17169)
10377
10378 2014-04-07 Glenn Morris <rgm@gnu.org>
10379
10380 * files.el (make-backup-file-name-function)
10381 (make-backup-file-name, make-backup-file-name--default-function)
10382 (make-backup-file-name-1, find-backup-file-name)
10383 (revert-buffer-function, revert-buffer-insert-file-contents-function)
10384 (buffer-stale--default-function, buffer-stale-function)
10385 (before-revert-hook, after-revert-hook, revert-buffer-in-progress-p)
10386 (revert-buffer, revert-buffer--default)
10387 (revert-buffer-insert-file-contents--default-function):
10388 Doc fixes related to defaults no longer being nil.
10389 (make-backup-file-name-function): Bump :version.
10390 Restore nil as a valid but deprecated custom type.
10391
10392 2014-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
10393
10394 * progmodes/perl-mode.el (perl-syntax-propertize-function):
10395 Handle $' used as a variable (bug#17174).
10396
10397 * progmodes/perl-mode.el (perl-indent-new-calculate):
10398 Handle forward-sexp failure (bug#16985).
10399 (perl-syntax-propertize-function): Add "foreach" and "for" statement
10400 modifiers introducing expressions (bug#17116).
10401
10402 2014-04-06 Stefan Monnier <monnier@iro.umontreal.ca>
10403
10404 * dired-aux.el (dired-file-set-difference): Use lexical-scoping.
10405
10406 2014-04-05 Leo Liu <sdl.web@gmail.com>
10407
10408 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
10409 Add define-compilation-mode.
10410
10411 2014-04-04 João Távora <joaotavora@gmail.com>
10412
10413 * elec-pair.el (electric-pair--syntax-ppss): When inside comments
10414 parse from comment beginning.
10415 (electric-pair--balance-info): Fix typo in comment.
10416 (electric-pair--in-unterminated-string-p): Delete.
10417 (electric-pair--unbalanced-strings-p): New function.
10418 (electric-pair-string-bound-function): New var.
10419 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
10420 according to `electric-pair--in-unterminated-string-p'.
10421
10422 2014-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
10423
10424 * textmodes/reftex-parse.el (reftex--index-tags): Rename `index-tags'.
10425 Move declaration before first use.
10426 (reftex-move-to-next-arg): Silence compiler warning.
10427
10428 2014-04-04 Joost Kremers <joostkremers@fastmail.fm> (tiny change)
10429
10430 * textmodes/reftex-toc.el (reftex-toc, reftex-re-enlarge):
10431 Use `window-total-width' instead of `window-width'.
10432
10433 2014-04-03 Daniel Colascione <dancol@dancol.org>
10434
10435 * subr.el (set-transient-map): Remove rms's workaround entirely;
10436 use new `suspicious-object' subr to mark our lambda for closer
10437 scrutiny during gc.
10438
10439 2014-04-02 Richard Stallman <rms@gnu.org>
10440
10441 * subr.el (set-transient-map): Comment out previous change.
10442
10443 2014-04-02 Glenn Morris <rgm@gnu.org>
10444
10445 * menu-bar.el (menu-bar-file-menu):
10446 * vc/ediff.el (ediff-current-file):
10447 Update for revert-buffer-function no longer being nil by default.
10448
10449 * simple.el (command-execute): Respect nil disabled-command-function.
10450
10451 2014-04-02 Nicolas Richard <theonewiththeevillook@yahoo.fr>
10452
10453 * simple.el (command-execute): Do not execute the command when it
10454 is disabled; fixes thinko in 2013-02-20 conversion from C. (Bug#17151)
10455
10456 2014-04-02 Juri Linkov <juri@jurta.org>
10457
10458 * dired-aux.el (dired-compress-file): Don't use string-match-p
10459 because its match data is used afterwards.
10460
10461 2014-04-02 Stefan Monnier <monnier@iro.umontreal.ca>
10462
10463 * emacs-lisp/package.el (package-built-in-p): Treat a min-version of
10464 0 like nil.
10465
10466 2014-04-02 João Távora <joaotavora@gmail.com>
10467
10468 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
10469 Inhibit quote pairing if point-max is inside an unterminated string.
10470 (electric-pair--looking-at-unterminated-string-p):
10471 Delete.
10472 (electric-pair--in-unterminated-string-p): New function.
10473
10474 2014-04-01 Daniel Colascione <dancol@dancol.org>
10475
10476 * minibuffer.el (minibuffer-complete): Prevent assertion failure
10477 when trying to complete the prompt.
10478
10479 2014-03-31 Leo Liu <sdl.web@gmail.com>
10480
10481 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
10482 Refactor out eldoc-documentation-function-default.
10483 (eldoc-documentation-function-default): New function.
10484 (eldoc-documentation-function): Change value.
10485
10486 2014-03-31 Glenn Morris <rgm@gnu.org>
10487
10488 * simple.el (cycle-spacing--context, cycle-spacing): Doc tweaks.
10489
10490 * progmodes/vhdl-mode.el (vhdl-speedbar-select-mra)
10491 (vhdl-compose-components-package, vhdl-compose-configuration):
10492 Abbreviate default-directory (missing from some previous upstream sync).
10493
10494 2014-03-31 Reto Zimmermann <reto@gnu.org>
10495
10496 Sync with upstream vhdl mode v3.35.2.
10497 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
10498 (top-level): No longer require assoc.
10499 (vhdl-asort, vhdl-anot-head-p, vhdl-aput, vhdl-adelete, vhdl-aget):
10500 New functions. Use throughout to replace aget etc.
10501 (vhdl-aput-delete-if-nil): Rename from vhdl-aput.
10502 (vhdl-update-file-contents): Update for vhdl-aput-delete-if-nil rename.
10503 (vhdl-template-replace-header-keywords): Fix bug for "<title string>".
10504 (vhdl-compile-init): Do not initialize regexps for Emacs 22+.
10505 (vhdl-error-regexp-emacs-alist): Remove regexps from all compilers
10506 except `vhdl-compiler'.
10507 (vhdl-error-regexp-add-emacs): Remove all other compilers,
10508 when appropriate.
10509
10510 2014-03-31 Glenn Morris <rgm@gnu.org>
10511
10512 * progmodes/vhdl-mode.el (vhdl-expand-abbrev, vhdl-expand-paren):
10513 Revert 2014-03-26 merge goof; go back to using defalias.
10514
10515 2014-03-30 Daniel Colascione <dancol@dancol.org>
10516
10517 * comint.el (comint-send-input):
10518 Deactivate completion-in-region-mode before we send comint input.
10519 (Bug#17139).
10520
10521 * simple.el (keyboard-quit): Deactivate completion-in-region-mode
10522 on keyboard-quit.
10523
10524 2014-03-29 Glenn Morris <rgm@gnu.org>
10525
10526 * textmodes/reftex.el: Manage most autoloads automatically.
10527 * textmodes/reftex-auc.el, textmodes/reftex-cite.el:
10528 * textmodes/reftex-dcr.el, textmodes/reftex-global.el:
10529 * textmodes/reftex-index.el, textmodes/reftex-parse.el:
10530 * textmodes/reftex-ref.el, textmodes/reftex-sel.el:
10531 * textmodes/reftex-toc.el: Set generated-autoload-file,
10532 and add autoload cookies for reftex.el.
10533 * Makefile.in (AUTOGEN_VCS): Add textmodes/reftex.el.
10534
10535 2014-03-28 Glenn Morris <rgm@gnu.org>
10536
10537 * cus-start.el (report-emacs-bug-address): Set custom properties.
10538 * mail/emacsbug.el (report-emacs-bug-address):
10539 Variable is now defined in emacs.c.
10540
10541 * mail/emacsbug.el (report-emacs-bug):
10542 Include system-configuration-features.
10543
10544 2014-03-28 Michal Nazarewicz <mina86@mina86.com>
10545
10546 * simple.el (cycle-spacing): Never delete spaces on first run by
10547 default, but do so in a new 'fast mode and if there are already
10548 N spaces (the previous behavior).
10549 Compare N with its value in previous invocation so that changing
10550 prefix argument restarts `cycle-spacing' sequence.
10551 The idea is that with this change, binding M-SPC to
10552 `cycle-spacing' should not introduce any changes in behavior of
10553 the binding so long as users do not type M-SPC twice in a raw with
10554 the same prefix argument or lack thereof.
10555
10556 2014-03-28 Glenn Morris <rgm@gnu.org>
10557
10558 * faces.el (term-file-aliases): New variable.
10559 (tty-run-terminal-initialization): Respect term-file-aliases.
10560 * term/apollo.el, term/vt102.el, term/vt125.el, term/vt201.el:
10561 * term/vt220.el, term/vt240.el, term/vt300.el, term/vt320.el:
10562 * term/vt400.el, term/vt420.el: Remove files, replaced by aliases.
10563
10564 2014-03-27 Glenn Morris <rgm@gnu.org>
10565
10566 * startup.el (inhibit-startup-hooks): Doc tweak.
10567 (normal-top-level): Simplify running of hooks.
10568 For window-setup-hook, respect inhibit-startup-hooks.
10569 (command-line-1): Don't set window-setup-hook to nil.
10570
10571 Allow selective autoloading from obsolete/ directory.
10572 * Makefile.in (obsolete-autoloads): New rule.
10573 (autoloads): Run obsolete-autoloads.
10574 * obsolete/iswitchb.el (iswitchb-mode): Use obsolete-autoload.
10575 * simple.el (iswitchb-mode): Remove hand-written autoloads.
10576
10577 2014-03-27 Dmitry Gutov <dgutov@yandex.ru>
10578
10579 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
10580 Highlight special globals with font-lock-builtin-face. (Bug#17057)
10581
10582 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
10583 Don't propertize `?' or `!' as symbol constituent when after
10584 colon. (Bug#17097)
10585
10586 2014-03-27 Juanma Barranquero <lekktu@gmail.com>
10587
10588 * frameset.el (frameset--restore-frame): Remove workaround for bug#14795
10589 which is no longer needed and causes trouble in GTK builds (bug#17046).
10590
10591 * emacs-lisp/package-x.el (package--archive-contents-from-url):
10592 Use url-insert-file-contents; package-handle-response no longer exists.
10593
10594 2014-03-26 Daniel Colascione <dancol@dancol.org>
10595
10596 * simple.el (process-menu-mode-map): New variable.
10597 (process-menu-delete-process): New command.
10598
10599 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
10600
10601 * emacs-lisp/package.el: Fix bug#16733 (again).
10602 (url-http-parse-response, url-http-end-of-headers, url-recreate-url)
10603 (url-http-target-url): Remove unused declarations.
10604 (package-handle-response): Remove.
10605 (package--with-work-buffer): Use url-insert-file-contents and simplify.
10606 (package--download-one-archive): Use current-buffer instead of
10607 dynamic binding of `buffer'.
10608 (describe-package-1): Do not decode readme-string.
10609
10610 2014-03-26 Michael Albinus <michael.albinus@gmx.de>
10611
10612 * net/tramp.el (tramp-methods, tramp-connection-timeout): Fix docstring.
10613
10614 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Revert change
10615 from 2014-03-07, it decreases performance unnecessarily. Let-bind
10616 `remote-file-name-inhibit-cache' to nil in the second pass.
10617 (tramp-find-executable): Do not call "which" on SunOS.
10618 (tramp-send-command-and-check): Fix docstring.
10619 (tramp-do-copy-or-rename-file-directly): In the `rename' case,
10620 check whether source directory has set the sticky bit.
10621
10622 2014-03-26 Barry O'Reilly <gundaetiapo@gmail.com>
10623
10624 * simple.el (primitive-undo): Only process marker adjustments
10625 validated against their corresponding (TEXT . POS). Issue warning
10626 for lone marker adjustments in undo history. (Bug#16818)
10627 (undo-make-selective-list): Add marker adjustments to selective
10628 undo list based on whether their corresponding (TEXT . POS) is in
10629 the region. Remove variable adjusted-markers, which was unused
10630 and only non nil during undo-make-selective-list.
10631 (undo-elt-in-region): Return nil when passed a marker adjustment
10632 and explain in function doc.
10633
10634 2014-03-26 Nicolas Richard <theonewiththeevillook@yahoo.fr>
10635
10636 * align.el (align-region): Do not fail when end-mark is nil (bug#17088).
10637
10638 2014-03-26 Dmitry Gutov <dgutov@yandex.ru>
10639
10640 * progmodes/ruby-mode.el (ruby-expression-expansion-re):
10641 Match special global variables without curlies, too.
10642 (ruby-font-lock-keywords): Simplify the matcher for special global
10643 variables. Don't require a non-word character after the variable.
10644 (Bug#17057)
10645
10646 2014-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
10647
10648 * simple.el (redisplay-highlight-region-function): Increase priority of
10649 overlay to make sure boundaries are visible (bug#15899).
10650
10651 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
10652
10653 * frameset.el (frameset--initial-params): Fix typo in parameter name.
10654 (frameset-restore): Compare display strings with equal.
10655
10656 * frame.el (make-frame): Don't quote display name in error message,
10657 it is already a string.
10658
10659 2014-03-26 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10660
10661 * net/tramp.el (tramp-read-passwd): Suspend the timers while reading
10662 the password.
10663
10664 2014-03-26 Dmitry Gutov <dgutov@yandex.ru>
10665
10666 * emacs-lisp/package.el (package--add-to-archive-contents):
10667 Include already installed and built-in packages in
10668 `package-archive-contents'.
10669 (package-install): Don't include already installed packages in the
10670 options during interactive invocation. (Bug#16762)
10671 (package-show-package-list): If the buffer is already displayed in
10672 another window, switch to that window.
10673
10674 2014-03-26 Reto Zimmermann <reto@gnu.org>
10675
10676 Sync with upstream vhdl mode v3.35.1.
10677 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
10678 (vhdl-compiler-alist): Doc fix.
10679 (vhdl-goto-line): Remove.
10680 (vhdl-mode-abbrev-table-init): Add XEmacs compat.
10681 (vhdl-mode) <paragraph-start>: Fix value.
10682 (vhdl-fix-statement-region): Not `for' in wait-statement.
10683 (vhdl-beautify-region): Also (un)tabify.
10684 (vhdl-get-visible-signals):
10685 Scan declarative part of generate statements.
10686 (vhdl-template-record): Fix indentation for record type declaration.
10687 (vhdl-expand-abbrev, vhdl-expand-paren):
10688 Revert to using fset again rather than defalias.
10689 (vhdl-scan-directory-contents): Tweak.
10690 (vhdl-speedbar-find-file, vhdl-speedbar-port-copy)
10691 (vhdl-compose-components-package):
10692 Replace vhdl-goto-line with forward-line.
10693 (top-level): Tweak speedbar frame selection.
10694 (vhdl-generate-makefile-1): Support for compilers with no
10695 unit-to-file name mapping (create directory with dummy files).
10696
10697 2014-03-26 Wilson Snyder <wsnyder@wsnyder.org>
10698
10699 Sync with upstream verilog-mode revision 702457d.
10700 * progmodes/verilog-mode.el (verilog-mode-version): Update.
10701 (create-lockfiles): Declare.
10702 (verilog-read-decls): Fix module header imports, bug709.
10703 Reported by Victor Lau.
10704 Fix parsing 'var' in AUTOs, msg1294. Reported by Dominique Chen.
10705 (verilog-auto-inout-module): Fix AUTOINOUTMODULE not inserting
10706 interface-only modules, bug721. Reported by Dean Hoyt.
10707
10708 2014-03-26 Glenn Morris <rgm@gnu.org>
10709
10710 * obsolete/gulp.el: Move here from emacs-lisp/.
10711
10712 * files.el (lock-buffer, unlock-buffer, file-locked-p):
10713 Remove fallback aliases, since they are always defined now.
10714
10715 2014-03-24 Daniel Colascione <dancol@dancol.org>
10716
10717 * emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member'
10718 instead of cl-loop search function.
10719
10720 2014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
10721
10722 * calendar/parse-time.el (parse-time-iso8601-regexp)
10723 (parse-iso8601-time-string): Copy from `url-dav' so that we can use
10724 it more generally.
10725
10726 2014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
10727
10728 * net/dns.el (network-interface-list): Define for XEmacs.
10729
10730 2014-03-23 Magnus Henoch <magnus.henoch@gmail.com>
10731
10732 * net/dns.el (dns-servers-up-to-date-p): New function to see whether
10733 the network interfaces changed.
10734 (dns-query): Use it to flush the data.
10735
10736 2014-03-23 Juanma Barranquero <lekktu@gmail.com>
10737
10738 * vc/vc.el (vc-rollback): Use set-buffer-modified-p.
10739
10740 2014-03-23 Daniel Colascione <dancol@dancol.org>
10741
10742 Change subword-mode to use `find-word-boundary-function-table' and
10743 replace `capitalized-words-mode'. Also, convert to lexical binding.
10744 * progmodes/cap-words.el: Delete now-obsolete file.
10745 * progmodes/subword.el: Reimplement using
10746 `find-word-boundary-function-table'.
10747 (subword-mode-map): Hollow out.
10748 (capitalized-words-mode): Define as obsolete alias for
10749 `subword-mode'.
10750 (subword-mode, superword-mode): Tweak documentation to reflect new
10751 implementation; call `subword-setup-buffer'.
10752 (subword-forward, subword-capitalize): Add underscore to indicate
10753 unused variable.
10754 (subword-find-word-boundary-function-table): New constant.
10755 (subword-empty-char-table): New constant.
10756 (subword-setup-buffer): New function.
10757 (subword-find-word-boundary): New function.
10758
10759 2014-03-23 Daniel Colascione <dancol@dancol.org>
10760
10761 * emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop'
10762 list to look for keyword arguments instead of `memq', fixing
10763 (Bug#3647) --- unfortunately, only for freshly-compiled code.
10764 Please make bootstrap.
10765
10766 2014-03-22 Glenn Morris <rgm@gnu.org>
10767
10768 * dired.el (dired-read-regexp): Make obsolete.
10769 (dired-mark-files-regexp, dired-mark-files-containing-regexp)
10770 (dired-flag-files-regexp):
10771 * dired-aux.el (dired-mark-read-regexp):
10772 * dired-x.el (dired-mark-unmarked-files): Use read-regexp directly.
10773
10774 * startup.el (fancy-startup-text):
10775 * help.el (describe-gnu-project): Visit online info about GNU project.
10776
10777 * help-fns.el (help-fns--interactive-only): New function.
10778 (help-fns-describe-function-functions): Add the above function.
10779 * simple.el (beginning-of-buffer, end-of-buffer, insert-buffer)
10780 (next-line, previous-line): Remove hand-written interactive-only
10781 information from doc strings, it is auto-generated now.
10782 * bookmark.el (bookmark-write):
10783 * epa-mail.el (epa-mail-decrypt, epa-mail-verify, epa-mail-sign)
10784 (epa-mail-import-keys): Mark interactive-only,
10785 and remove hand-written interactive-only information from doc strings.
10786 * epa.el (epa-decrypt-armor-in-region, epa-verify-region)
10787 (epa-verify-cleartext-in-region, epa-sign-region, epa-encrypt-region):
10788 * files.el (not-modified):
10789 * simple.el (mark-whole-buffer): Mark interactive-only.
10790
10791 * emacs-lisp/byte-run.el (defun-declarations-alist):
10792 Add interactive-only. Doc tweak.
10793 (macro-declarations-alist): Doc tweak.
10794 * subr.el (declare): Doc tweak (add xref to manual).
10795 * comint.el (comint-run):
10796 * files.el (insert-file-literally, insert-file):
10797 * replace.el (replace-string, replace-regexp):
10798 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
10799 (delete-forward-char, goto-line, insert-buffer, next-line)
10800 (previous-line): Set interactive-only via declare.
10801
10802 2014-03-22 Dmitry Gutov <dgutov@yandex.ru>
10803
10804 * emacs-lisp/package.el (package-desc): Use the contents of the
10805 quoted form, not its cdr. (Bug#16873)
10806
10807 2014-03-22 Juanma Barranquero <lekktu@gmail.com>
10808
10809 * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
10810 benefit of doc.c; change parameter profile to match the X function.
10811
10812 2014-03-22 Leo Liu <sdl.web@gmail.com>
10813
10814 * help.el (temp-buffer-setup-hook): Remove help-mode-setup.
10815 (temp-buffer-show-hook): Remove help-mode-finish. (Bug#16038)
10816
10817 2014-03-21 Richard Stallman <rms@gnu.org>
10818
10819 * battery.el (battery-linux-sysfs): Search for each field
10820 from the beginning of the buffer.
10821
10822 * subr.el (set-transient-map): Clear out function and value
10823 of the temporary symbol when we're done with it.
10824
10825 * mail/rmailsum.el (rmail-summary-delete-forward):
10826 Optimize case of reaching end and handling count.
10827 (rmail-summary-mark-deleted): Optimize when N is current msg.
10828 Don't create new summary line.
10829 (rmail-summary-undelete): Pass arg to rmail-undelete-previous-message.
10830 (rmail-summary-undelete-many): Rewrite for speed.
10831 (rmail-summary-msg-number): New function.
10832
10833 * mail/rmail.el (rmail-delete-message): Update summary.
10834 (rmail-undelete-previous-message): Handle repeat count arg.
10835 (rmail-delete-backward, rmail-delete-forward): Likewise.
10836
10837 2014-03-21 Daniel Colascione <dancol@dancol.org>
10838
10839 * mail/emacsbug.el (report-emacs-bug): Include memory usage
10840 information in bug reports.
10841
10842 2014-03-21 Michael Albinus <michael.albinus@gmx.de>
10843
10844 * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
10845 and `tramp-copy-env'.
10846
10847 * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
10848 (tramp-maybe-open-connection): Handle `tramp-login-env'.
10849
10850 2014-03-21 Glenn Morris <rgm@gnu.org>
10851
10852 * electric.el (electric-indent-post-self-insert-function): Add doc.
10853
10854 2014-03-21 Dmitry Gutov <dgutov@yandex.ru>
10855
10856 * emacs-lisp/package.el (package-compute-transaction):
10857 Use `version-list-<=' to compare the requirement version against
10858 the version of package already to be installed. Update the error
10859 message. (Bug#16826)
10860
10861 * progmodes/ruby-mode.el (ruby-smie-rules):
10862 Add indentation rule for ` @ '. (Bug#17050)
10863
10864 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
10865
10866 * align.el (align-regexp): Remove superfluous backslash.
10867
10868 * ffap.el (ffap-ftp-default-user, ffap-url-regexp)
10869 (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
10870 (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
10871 Fix docstring typos.
10872 (ffap-next): Use C-u in docstring.
10873 (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
10874 (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
10875 Remove superfluous backslashes.
10876 (ffap-string-at-point): Reflow docstring.
10877
10878 * server.el (server-host): Reflow docstring.
10879 (server-unload-function): Fix docstring typo.
10880 (server-eval-at): Remove superfluous backslash.
10881
10882 * skeleton.el (skeleton-insert): Remove superfluous backslash.
10883 (skeleton-insert): Doc fix.
10884 (skeleton-insert): Reflow docstring.
10885
10886 * term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
10887 (tty-color-approximate, tty-color-by-index, tty-color-values)
10888 (tty-color-desc): Remove superfluous backslashes.
10889
10890 2014-03-21 Glenn Morris <rgm@gnu.org>
10891
10892 * cus-start.el (history-length): Bump :version.
10893
10894 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
10895 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
10896 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
10897 Don't set `make-backup-files'.
10898
10899 * info.el (info--prettify-description): New function,
10900 to give info-finder descriptions consistent case, punctuation.
10901 (Info-finder-find-node): Use it. Sort packages.
10902 Refer to "description" rather than "commentary".
10903
10904 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
10905
10906 * frameset.el (frameset--print-register): New function.
10907 (frameset-to-register): Use it.
10908
10909 2014-03-20 Juanma Barranquero <lekktu@gmail.com>
10910
10911 * progmodes/hideif.el (hif-string-to-number): New function.
10912 (hif-tokenize): Use it to understand non-decimal floats.
10913
10914 * emacs-lisp/cl-extra.el (cl--map-overlays): Remove obsolete code.
10915
10916 * skeleton.el (skeleton-autowrap): Mark as obsolete. Doc fix.
10917
10918 2014-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
10919
10920 * electric.el (electric-newline-and-maybe-indent): New command.
10921 Bind it globally to C-j.
10922 (electric-indent-mode): Don't mess with the global map any more.
10923 Don't drop the post-self-insert-hook is some buffer is still using it
10924 (bug#16770).
10925
10926 * bindings.el (global-map): Remove C-j binding.
10927
10928 * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
10929 the docstring of functions advised before dumping (bug#16993).
10930
10931 2014-03-19 Stefan-W. Hahn <stefan.hahn@s-hahn.de> (tiny change)
10932
10933 * ps-print.el (ps-generate-postscript-with-faces):
10934 Explicitly deactivate the mark (bug#16866).
10935 * simple.el (deactivate-mark): Update region highlight.
10936
10937 2014-03-19 Juanma Barranquero <lekktu@gmail.com>
10938
10939 * emacs-lisp/package.el (describe-package-1):
10940 Decode commentary (bug#16733).
10941
10942 2014-03-18 Juanma Barranquero <lekktu@gmail.com>
10943
10944 * custom.el (defcustom): Doc fix: recommend avoiding destructive
10945 modification of the value argument of :set (bug#16755).
10946
10947 2014-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
10948
10949 * simple.el (newline-and-indent): Do autofill (bug#17031).
10950
10951 2014-03-18 Dmitry Gutov <dgutov@yandex.ru>
10952
10953 * newcomment.el (comment-normalize-vars): Only add escaping check
10954 to `comment-start-skip' if not `comment-use-syntax'. (Bug#16971)
10955 (comment-beginning): Use `narrow-to-region' instead of moving back
10956 one character.
10957 (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
10958 (comment-start-skip): Update the docstring.
10959
10960 2014-03-18 Richard Stallman <rms@gnu.org>
10961
10962 * dired.el (dired-display-file): Force use of other window.
10963
10964 2014-03-18 Daniel Colascione <dancol@dancol.org>
10965
10966 * startup.el (tty-handle-args): Remove debug message from 2007.
10967
10968 2014-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
10969
10970 * emacs-lisp/nadvice.el (advice--interactive-form): New function.
10971 (advice--make-interactive-form): Use it to avoid (auto)loading function.
10972 (advice--make-1, advice-add, advice-remove):
10973 Remove braindead :advice-pending hack.
10974
10975 2014-03-17 Glenn Morris <rgm@gnu.org>
10976
10977 * calendar/calendar.el (calendar-generate-month): Apply weekend
10978 face to the right days; fixes 2013-08-06 change. (Bug#17028)
10979
10980 2014-03-17 Michael Albinus <michael.albinus@gmx.de>
10981
10982 * net/tramp.el (tramp-action-out-of-band): Read pending output.
10983 (tramp-call-process): Trace also DESTINATION.
10984
10985 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
10986 Quote file names when they are local. Remove superfluous trace.
10987
10988 2014-03-17 Dmitry Gutov <dgutov@yandex.ru>
10989
10990 * newcomment.el (comment-beginning): If `comment-start-skip'
10991 doesn't match, move back one char and try again. (Bug#16971)
10992
10993 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
10994 Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
10995 Set `comment-start-skip' to a simpler value that doesn't try to
10996 check if the semicolon is escaped (this is handled by
10997 `syntax-ppss' now). (Bug#16971)
10998
10999 * progmodes/scheme.el (scheme-mode-variables): Same.
11000
11001 2014-03-16 Martin Rudalics <rudalics@gmx.at>
11002
11003 Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
11004 * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
11005 current (Bug#16816, Bug#17007).
11006 (with-current-buffer-window): New macro doing the same as
11007 `with-temp-buffer-window' but with BUFFER-OR-NAME current.
11008 * help.el (help-print-return-message): Warn in doc-string to not
11009 use this in `with-help-window'.
11010 (describe-bindings-internal): Call `describe-buffer-bindings'
11011 from within help buffer. See Juanma's scenario in (Bug#16816).
11012 (with-help-window): Update doc-string.
11013 * dired.el (dired-mark-pop-up):
11014 * files.el (save-buffers-kill-emacs):
11015 * register.el (register-preview): Use `with-current-buffer-window'
11016 instead of `with-temp-buffer-window'.
11017
11018 2014-03-16 Juanma Barranquero <lekktu@gmail.com>
11019
11020 * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
11021 Implement inserting into current buffer, documented in their docstrings.
11022 (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
11023 (rst-section-tree-point, rst-forward-section, rst-indent)
11024 (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
11025 (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
11026 (rst-font-lock-handle-adornment-pre-match-form)
11027 (rst-repeat-last-character): Reflow docstrings.
11028 (rst-preferred-adornments, rst-update-section, rst-find-title-line)
11029 (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
11030 (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
11031 (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
11032 Fix docstring typos.
11033 (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
11034 (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
11035 (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
11036
11037 2014-03-15 Juanma Barranquero <lekktu@gmail.com>
11038
11039 * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
11040 for compatibility with other ports.
11041 (ns-initialize-window-system): Use it. It is set in term/common-win.el
11042 from the -xrm command line argument, but in the Nextstep port its value
11043 is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
11044
11045 * progmodes/python.el (defconst, python-syntax-count-quotes)
11046 (python-indent-region, python-indent-shift-right)
11047 (python-indent-dedent-line-backspace, python-nav-backward-sexp)
11048 (python-nav-backward-sexp-safe, python-nav-backward-up-list)
11049 (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
11050 (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
11051 (inferior-python-mode, python-shell-make-comint, run-python-internal)
11052 (python-shell-buffer-substring, python-shell-send-buffer)
11053 (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
11054 (python-completion-complete-at-point, python-fill-docstring-style)
11055 (python-eldoc-function, python-imenu-format-item-label)
11056 (python-imenu-format-parent-item-label)
11057 (python-imenu-format-parent-item-jump-label)
11058 (python-imenu--build-tree, python-imenu-create-index)
11059 (python-imenu-create-flat-index): Fix docstring typos.
11060 (python-indent-context, python-shell-prompt-regexp, run-python):
11061 Remove superfluous backslashes.
11062 (python-indent-line, python-nav-beginning-of-defun)
11063 (python-shell-get-buffer, python-shell-get-process)
11064 (python-info-current-defun, python-info-current-line-comment-p)
11065 (python-info-current-line-empty-p, python-util-popn): Doc fixes.
11066 (python-indent-post-self-insert-function, python-shell-send-file)
11067 (python-shell-completion-get-completions)
11068 (python-shell-completion-complete-or-indent)
11069 (python-eldoc--get-doc-at-point): Reflow docstrings.
11070
11071 2014-03-14 Glenn Morris <rgm@gnu.org>
11072
11073 * emacs-lisp/package.el (package-menu-mode-map):
11074 Replace use of obsolete function alias. Tweak menu item text.
11075
11076 * info.el (Info-finder-find-node):
11077 Ignore the `emacs' metapackage. (Bug#10813)
11078
11079 * finder.el (finder-list-matches): Include unversioned packages
11080 in the result of a keyword search.
11081
11082 * finder.el (finder--builtins-descriptions): New constant.
11083 (finder-compile-keywords): Use finder--builtins-descriptions.
11084
11085 2014-03-14 Dmitry Gutov <dgutov@yandex.ru>
11086
11087 * simple.el (blink-matching-paren): Describe the new value,
11088 `jump', enabling the old behavior.
11089 (blink-matching-open): Use that value. (Bug#17008)
11090
11091 2014-03-14 Glenn Morris <rgm@gnu.org>
11092
11093 * finder.el (finder-no-scan-regexp): Add leim-list.
11094 (finder-compile-keywords):
11095 Don't skip files with same basename. (Bug#14010)
11096 * Makefile.in (setwins_finder): New, excluding leim.
11097 (finder-data): Use setwins_finder.
11098
11099 * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
11100 (help-function-arglist, help-make-usage): Move from here...
11101 * help.el (help-split-fundoc, help-add-fundoc-usage)
11102 (help-function-arglist, help-make-usage): ... to here. (Bug#17001)
11103 * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
11104
11105 2014-03-14 Juanma Barranquero <lekktu@gmail.com>
11106
11107 * net/socks.el (socks, socks-override-functions)
11108 (socks-find-services-entry):
11109 * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
11110 (hif-find-ifdef-block):
11111 * progmodes/modula2.el (m2-indent): Fix docstring typos.
11112
11113 * net/tls.el (tls-program): Reflow docstring.
11114
11115 * progmodes/pascal.el (pascal-mode-abbrev-table)
11116 (pascal-imenu-generic-expression, pascal-auto-endcomments)
11117 (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
11118 (pascal-outline-mode): Fix docstring typos.
11119 (pascal-mode): Let define-derived-mode document mode hook.
11120 (pascal-uncomment-area): Reflow.
11121 (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
11122
11123 * progmodes/opascal.el (opascal-compound-block-indent)
11124 (opascal-case-label-indent): Fix docstring typos.
11125 (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
11126
11127 2014-03-13 Dmitry Gutov <dgutov@yandex.ru>
11128
11129 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
11130 Fontify multiple adjacent negation chars. (Bug#17004)
11131
11132 2014-03-13 Tom Willemse <tom@ryuslash.org> (tiny change)
11133
11134 * emacs-lisp/package.el (package--prepare-dependencies):
11135 Accept requirements without explicit version (bug#14941).
11136
11137 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
11138
11139 * register.el (register-separator, copy-to-register): Doc fixes.
11140 (register-preview-default): Remove unnecessary call to concat.
11141
11142 * frameset.el (frameset-restore): When checking for a visible frame,
11143 use the action map instead of calling visible-frame-list.
11144
11145 2014-03-12 Jonas Bernoulli <jonas@bernoul.li>
11146
11147 * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
11148
11149 2014-03-12 Martin Rudalics <rudalics@gmx.at>
11150
11151 * window.el (fit-frame-to-buffer): Get maximum width from
11152 display's width instead of height.
11153
11154 2014-03-12 Glenn Morris <rgm@gnu.org>
11155
11156 * desktop.el (desktop-restore-frames)
11157 (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
11158 (desktop-restore-reuses-frames): Doc tweaks.
11159
11160 * electric.el (electric-indent-mode): Doc fix.
11161
11162 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
11163
11164 * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
11165 (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
11166 (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
11167 (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
11168 (cvs-dired-use-hook): Fix docstring typos.
11169 (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
11170 Doc fixes.
11171
11172 * vc/pcvs-defs.el (cvs-auto-remove-handled)
11173 (cvs-auto-remove-directories, cvs-default-ignore-marks)
11174 (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
11175 (cvs-execute-single-dir): Fix docstring typos.
11176
11177 * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
11178 (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
11179
11180 * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
11181
11182 * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
11183 Fix docstring typos.
11184
11185 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
11186
11187 * frameset.el (frameset--jump-to-register): Add autoload; it could be
11188 called from jump-to-register after unloading the frameset package.
11189
11190 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
11191
11192 * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
11193 (bug#16975). Deactivate the mark before setting it to nil.
11194 (activate-mark): Do nothing if region is already active.
11195
11196 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
11197
11198 * frameset.el (frameset--target-display): Remove definition; declare.
11199 (frameset-save, frameset-restore): Let-bind frameset--target-display.
11200
11201 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
11202
11203 * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
11204 (advice-add): Add a :advice--pending marker, so advice--make-1 knows
11205 when the advice is pending.
11206 (advice-remove): Remove this marker when not needed any more.
11207
11208 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
11209
11210 * frameset.el: Separate options for reusing frames and cleaning up.
11211 (frameset--reuse-list): Remove definition; declare.
11212 (frameset--action-map): Declare.
11213 (frameset--find-frame-if): Doc fix.
11214 (frameset--restore-frame): Cache frame action.
11215 (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
11216 how to clean up the frame list after restoring. Remove cleaning
11217 options from REUSE-FRAMES. Change all keyword values to symbols.
11218 (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
11219
11220 * desktop.el (desktop-restore-forces-onscreen)
11221 (desktop-restore-reuses-frames): Use non-keyword values.
11222 (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
11223
11224 2014-03-10 Glenn Morris <rgm@gnu.org>
11225
11226 * files.el (find-file): Doc fix: update info node name.
11227
11228 * emacs-lisp/advice.el (ad-add-advice, defadvice):
11229 Doc fix: remove references to deleted info nodes.
11230
11231 2014-03-10 Michael Albinus <michael.albinus@gmx.de>
11232
11233 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
11234 Do not add nil to the environment, when there's no remote `locale'.
11235 (tramp-find-inline-encoding): Check, that the remote host has
11236 installed perl, before sending scripts.
11237
11238 2014-03-10 Leo Liu <sdl.web@gmail.com>
11239
11240 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
11241 Clear eldoc-last-message. (Bug#16920)
11242
11243 2014-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
11244
11245 * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
11246 (bug#14430).
11247
11248 2014-03-09 Juri Linkov <juri@jurta.org>
11249
11250 * ansi-color.el (ansi-color-names-vector): Copy default colors
11251 from `xterm-standard-colors' that look well on the default white
11252 background (and also on the black background) to avoid illegible
11253 color combinations like yellow-on-white and white-on-white.
11254 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
11255
11256 2014-03-08 Juanma Barranquero <lekktu@gmail.com>
11257
11258 * frameset.el (frameset-restore): When no frame is visible, do not
11259 generate a list of frames, just make visible the selected one.
11260
11261 2014-03-08 Dmitry Gutov <dgutov@yandex.ru>
11262
11263 * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
11264 it only contains the repository root. (Bug#16897)
11265
11266 2014-03-07 Michael Albinus <michael.albinus@gmx.de>
11267
11268 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
11269 only when `remote-file-name-inhibit-cache' is nil.
11270 (tramp-sh-file-name-handler): Use `tramp-error'. Simplify code.
11271
11272 2014-03-06 Martin Rudalics <rudalics@gmx.at>
11273
11274 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
11275 Fix doc-strings.
11276 (fit-frame-to-buffer): New argument ONLY. Remove dependency on
11277 fit-frame-to-buffer variable. Fix doc-string.
11278 (fit-window-to-buffer): Set ONLY argument in call of
11279 fit-frame-to-buffer. Fix doc-string.
11280
11281 2014-03-06 Michael Albinus <michael.albinus@gmx.de>
11282
11283 * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
11284 (tramp-action-password): Clear password cache if needed.
11285 (tramp-read-passwd): Do not clear password cache.
11286
11287 * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
11288 cache unless it is the first password request.
11289
11290 2014-03-06 Glenn Morris <rgm@gnu.org>
11291
11292 * simple.el (newline): Doc tweak.
11293
11294 * emacs-lisp/shadow.el (load-path-shadows-find):
11295 Ignore dir-locals. (Bug#12357)
11296
11297 2014-03-05 Glenn Morris <rgm@gnu.org>
11298
11299 * files.el (interpreter-mode-alist):
11300 * progmodes/sh-script.el (sh-ancestor-alist): Add dash. (Bug#16938)
11301
11302 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
11303
11304 * frameset.el (frameset--initial-params): Filter out null entries.
11305
11306 2014-03-05 Martin Rudalics <rudalics@gmx.at>
11307
11308 * window.el (window-min-height, window-min-width):
11309 Rewrite doc-strings.
11310 (window-body-size): Add PIXELWISE argument to make it consistent
11311 with its callees.
11312
11313 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
11314
11315 * finder.el (finder-mode-map, finder-mode-syntax-table):
11316 Revert part of 2014-02-28 change.
11317
11318 2014-03-05 Lars Ingebrigtsen <larsi@gnus.org>
11319
11320 * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
11321 (eww-setup-buffer): Clear next/prev/etc more reliably.
11322 (eww-textarea-map): [tab] doesn't work on tty.
11323 Reported by Mario Lang.
11324
11325 * net/shr.el (shr-map): Ditto.
11326
11327 2014-03-04 Glenn Morris <rgm@gnu.org>
11328
11329 * minibuffer.el (completion-hilit-commonality):
11330 Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
11331
11332 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
11333
11334 * hilit-chg.el (hilit-chg-unload-function): New function.
11335 (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
11336 (hilit-chg-map-changes): Prefer cardinal number to digit.
11337 (hilit-chg-display-changes): Reflow docstring.
11338 (highlight-changes-rotate-faces): Remove superfluous backslash.
11339
11340 2014-03-04 Michael Albinus <michael.albinus@gmx.de>
11341
11342 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
11343 `tramp-send-command-and-check'.
11344
11345 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
11346
11347 * hexl.el (hexl-address-region, hexl-ascii-region)
11348 (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
11349 (hexl-backward-short, hexl-forward-short, hexl-backward-word)
11350 (hexl-forward-word, hexl-previous-line, hexl-next-line):
11351 Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
11352 (hexl-mode): Doc fix.
11353 (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
11354 (hexl-mode-ruler): Fix typos in docstrings.
11355
11356 * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
11357 (strokes-character, strokes-get-grid-position, strokes-list-strokes):
11358 Remove superfluous backslashes.
11359 (strokes-last-stroke, strokes-global-map, strokes-mode):
11360 Reflow docstrings.
11361 (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
11362 (strokes-xpm-for-compressed-string): Use quotes with buffer name.
11363 (strokes-distance-squared, strokes-global-set-stroke)
11364 (strokes-global-set-stroke-string): Doc fixes.
11365 (strokes-help): Fix typos; reflow docstring.
11366
11367 2014-03-04 Martin Rudalics <rudalics@gmx.at>
11368
11369 * window.el (window-in-direction): Fix doc-string.
11370
11371 2014-03-04 Glenn Morris <rgm@gnu.org>
11372
11373 * emacs-lisp/smie.el (smie-config-guess): Doc fix.
11374 Explicit error if no grammar.
11375 (smie-config-save): Doc fix. Fix quote typo.
11376
11377 2014-03-04 Stefan Monnier <monnier@iro.umontreal.ca>
11378
11379 * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
11380 electric-indent-mode-hook if we obey electric-indent-mode.
11381 (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
11382 decide whether we obey electric-indent-mode.
11383 (c-change-set-fl-decl-start, c-extend-after-change-region):
11384 Silence warnings.
11385 (c-electric-indent-mode-hook): Assume we do want to obey
11386 electric-indent-mode.
11387
11388 * electric.el (electric-indent-mode-has-been-called): Remove.
11389 (electric-indent-mode): Fix accordingly.
11390
11391 * files.el (hack-local-variables): Mention file name in warning.
11392
11393 * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
11394
11395 2014-03-04 Michal Nazarewicz <mina86@mina86.com>
11396
11397 * bindings.el: Add comment describing why C-d binds to `delete-char'.
11398 * simple.el (delete-forward-char): Mark as interactive-only.
11399
11400 2014-03-03 Juanma Barranquero <lekktu@gmail.com>
11401
11402 * icomplete.el (icomplete-completions):
11403 Follow-up to 2014-03-01 change.
11404
11405 * icomplete.el: Miscellaneous doc fixes.
11406 Use Icomplete everywhere instead of icomplete for consistency.
11407 (icomplete-max-delay-chars): Fix typo.
11408 (icomplete-mode): Use \[].
11409 (icomplete-tidy, icomplete-exhibit): Reflow.
11410 (icomplete-minibuffer-setup-hook, icomplete-completions):
11411 Remove superfluous backlashes.
11412
11413 * ido.el: Miscellaneous doc fixes.
11414 Use Ido everywhere instead of ido or `ido' for consistency.
11415 (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
11416 (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
11417 (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
11418 (ido-separator): Extract obsolescence info from docstring and declare
11419 with make-obsolete-variable.
11420 (ido-minibuffer-setup-hook): Simplify example.
11421 (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
11422 (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
11423 (ido-completion-help, ido-completing-read): Fix typos in docstrings.
11424 (ido-everywhere): Reflow docstring.
11425 (ido-toggle-vc): Doc fix.
11426 (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
11427 of long list of keybindings.
11428
11429 2014-03-03 Glenn Morris <rgm@gnu.org>
11430
11431 * frame.el (display-pixel-height, display-pixel-width)
11432 (display-mm-dimensions-alist, display-mm-height)
11433 (display-mm-width): Doc tweaks.
11434
11435 2014-03-02 Barry O'Reilly <gundaetiapo@gmail.com>
11436
11437 * simple.el (undo-elt-in-region): Fix buffer corruption for edge
11438 case of undo in region.
11439
11440 2014-03-02 Martin Rudalics <rudalics@gmx.at>
11441
11442 * window.el (fit-window-to-buffer): Fix argument in window-size
11443 call when window is horizontally combined.
11444
11445 2014-03-02 Juanma Barranquero <lekktu@gmail.com>
11446
11447 * icomplete.el (icomplete-completions): Use string-width.
11448 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
11449
11450 2014-03-01 Dmitry Gutov <dgutov@yandex.ru>
11451
11452 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
11453 Highlight regexp options. (Bug#16914)
11454
11455 2014-03-01 Martin Rudalics <rudalics@gmx.at>
11456
11457 * window.el (window--max-delta-1): Round down when calculating
11458 how many lines/columns we can get from a window.
11459
11460 2014-03-01 Glenn Morris <rgm@gnu.org>
11461
11462 * isearch.el (search-invisible): Doc fix.
11463
11464 * minibuffer.el (completion-hilit-commonality):
11465 Make `base-size' argument optional. Short-cut if `prefix-len' is 0.
11466 * comint.el (comint-dynamic-list-completions): Doc fix.
11467 * comint.el (comint-dynamic-list-completions):
11468 * filecache.el (file-cache-minibuffer-complete):
11469 * tempo.el (tempo-display-completions):
11470 * eshell/em-hist.el (eshell-list-history):
11471 Replace use of obsolete argument of display-completion-list.
11472
11473 2014-03-01 Juanma Barranquero <lekktu@gmail.com>
11474
11475 * icomplete.el (icomplete-completions):
11476 Revert back to using "..." when ?… cannot be displayed.
11477
11478 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
11479
11480 * finder.el (finder-unload-function): New function.
11481
11482 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
11483
11484 * dframe.el (dframe-detach):
11485 * find-dired.el (find-dired, find-name-dired):
11486 * finder.el (finder-mode-map, finder-mode-syntax-table)
11487 (finder-headmark, finder-select, finder-mouse-select):
11488 Fix docstring typos.
11489
11490 2014-02-28 Martin Rudalics <rudalics@gmx.at>
11491
11492 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
11493 * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
11494 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
11495 Fix doc-string based on a suggestion by Nicolas Richard
11496 <theonewiththeevillook@yahoo.fr>.
11497 * help.el (with-help-window): Fix doc-string.
11498
11499 2014-02-28 Ivan Kanis <ivan@kanis.fr>
11500
11501 * net/shr.el (shr-image-animate): New option.
11502 (shr-put-image): Respect shr-image-animate.
11503
11504 2014-02-28 Michael Albinus <michael.albinus@gmx.de>
11505
11506 * net/tramp-adb.el (tramp-adb-parse-device-names):
11507 Use `accept-process-output'.
11508 (tramp-adb-handle-file-truename): Cache the localname only.
11509 (tramp-adb-handle-make-directory)
11510 (tramp-adb-handle-delete-directory): Flush file properties correctly.
11511 (tramp-adb-handle-set-file-modes): Do not raise an error when file
11512 modes cannot be changed.
11513
11514 * net/tramp-cache.el (tramp-flush-directory-property): Remove also
11515 file properties of symlinks.
11516
11517 2014-02-28 Per Starbäck <starback@stp.lingfil.uu.se>
11518
11519 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
11520 required/optional fields to match development biblatex. (Bug#16781)
11521
11522 2014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
11523
11524 * saveplace.el (toggle-save-place):
11525 Fix argument handling. (Bug#16673)
11526
11527 2014-02-28 Glenn Morris <rgm@gnu.org>
11528
11529 * minibuffer.el (completions-first-difference)
11530 (completions-common-part, completion-hilit-commonality): Doc fixes.
11531
11532 2014-02-28 Karl Berry <karl@gnu.org>
11533
11534 * info.el (Info-mode-map): Add H for describe-mode,
11535 to synchronize with standalone Info.
11536
11537 2014-02-28 Emilio C. Lopes <eclig@gmx.net>
11538
11539 * progmodes/sql.el (sql-interactive-mode):
11540 Avoid setting global comint-input-ring-separator. (Bug#16814)
11541
11542 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
11543
11544 * net/dbus.el (dbus--init-bus): Declare function.
11545 (dbus-path-local, dbus-interface-local): New defconst.
11546 (dbus-init-bus): Use them.
11547 (dbus-return-values-table): Extend doc.
11548 (dbus-handle-bus-disconnect): Extend error message.
11549
11550 2014-02-27 Juanma Barranquero <lekktu@gmail.com>
11551
11552 * subr.el (y-or-n-p): Fix double space issue in message.
11553
11554 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
11555
11556 * net/tramp.el (tramp-call-process): Improve trace message.
11557 (tramp-handle-insert-file-contents): Trace error case.
11558
11559 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
11560 <insert-directory>: Use `tramp-handle-insert-directory'.
11561 (tramp-adb-handle-insert-directory): Remove function.
11562 (tramp-adb-send-command-and-check): New defun, replacing
11563 `tramp-adb-command-exit-status'. Change all callees.
11564 (tramp-adb-handle-file-attributes)
11565 (tramp-adb-handle-directory-files-and-attributes): Use it.
11566 (tramp-adb-ls-output-name-less-p):
11567 Use `directory-listing-before-filename-regexp'.
11568 (tramp-adb-handle-delete-directory): Flush also file properties of
11569 the truename of directory.
11570 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
11571 (tramp-adb-handle-file-local-copy): Make the local copy readable.
11572 (tramp-adb-handle-write-region): Implement APPEND.
11573 (tramp-adb-handle-rename-file): Make it more robust. Flush file
11574 properties correctly.
11575 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
11576 variables. Check for connected devices only when needed.
11577
11578 2014-02-27 Glenn Morris <rgm@gnu.org>
11579
11580 * minibuffer.el (completion-table-dynamic)
11581 (completion-table-with-cache): Doc fixes.
11582
11583 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
11584 (completing-read-multiple): Doc fixes.
11585
11586 2014-02-27 Daniel Colascione <dancol@dancol.org>
11587
11588 * minibuffer.el (completion--nth-completion): Fix indentation.
11589
11590 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
11591 explicit tramp path is empty.
11592
11593 2014-02-27 Glenn Morris <rgm@gnu.org>
11594
11595 * emacs-lisp/crm.el (completing-read-multiple):
11596 Empower help-enable-auto-load.
11597
11598 2014-02-26 Glenn Morris <rgm@gnu.org>
11599
11600 * startup.el (command-line): Don't init the tty in daemon mode.
11601
11602 Avoid calling tty-setup-hook twice, eg if a term file
11603 explicitly calls tty-run-terminal-initialization. (Bug#16859)
11604 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
11605 (tty-create-frame-with-faces): Use it.
11606 * startup.el (command-line): Pass run-hook argument
11607 to tty-run-terminal-initialization.
11608
11609 * dired.el (dired-restore-desktop-buffer): Demote errors;
11610 eg in case a glob match fails. (Bug#16884)
11611
11612 2014-02-26 Dmitry Gutov <dgutov@yandex.ru>
11613
11614 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
11615 error from `read-from-string'. (Bug#16850)
11616
11617 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
11618 result of `completing-read' in the interactive form. (Bug#16854)
11619
11620 2014-02-25 Glenn Morris <rgm@gnu.org>
11621
11622 * image.el (image-animate, image-animate-timeout):
11623 Stop animating images in dead buffers. (Bug#16878)
11624
11625 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
11626
11627 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
11628 Doc fixes.
11629 * startup.el (term-setup-hook): Doc fix. Make obsolete.
11630 * term/sun.el (sun-raw-prefix-hooks):
11631 Use tty-setup-hook instead of term-setup-hook.
11632 (terminal-init-sun): Construct message from bytecomp plist.
11633 * term/wyse50.el (enable-arrow-keys): Doc fix.
11634
11635 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
11636
11637 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
11638 Fix docstring typos.
11639
11640 2014-02-24 Michael Albinus <michael.albinus@gmx.de>
11641
11642 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
11643
11644 2014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
11645
11646 * minibuffer.el (completion--try-word-completion):
11647 Fix error when completing M-x commands (bug#16808).
11648
11649 2014-02-24 Leo Liu <sdl.web@gmail.com>
11650
11651 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
11652
11653 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
11654
11655 * apropos.el (apropos-print): Avoid formatting error when
11656 apropos-do-all and apropos-compact-layout are both t.
11657
11658 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
11659
11660 * apropos.el (apropos-property, apropos-all-words-regexp)
11661 (apropos-true-hit, apropos-variable, apropos-print):
11662 Fix docstring typos, and remove obsolete comment.
11663
11664 2014-02-23 Michael Albinus <michael.albinus@gmx.de>
11665
11666 * net/tramp-sh.el (tramp-sh-handle-file-truename):
11667 Preserve trailing "/". (Bug#16851)
11668
11669 2014-02-23 Dmitry Gutov <dgutov@yandex.ru>
11670
11671 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
11672 after `=>' (bug#16811).
11673 (ruby-smie-rules): Handle the inconsistent second element of the
11674 list returned by `smie-indent--parent'.
11675 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
11676 method call.
11677
11678 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
11679
11680 * elec-pair.el (electric-pair-text-syntax-table)
11681 (electric-pair-syntax-info, electric-pair--syntax-ppss)
11682 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
11683 (electric-pair--looking-at-unterminated-string-p): Doc fix.
11684 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
11685
11686 2014-02-22 Glenn Morris <rgm@gnu.org>
11687
11688 * imenu.el (imenu--generic-function): Doc fix.
11689
11690 * register.el (frame-configuration-to-register): Make obsolete.
11691
11692 2014-02-22 Juanma Barranquero <lekktu@gmail.com>
11693
11694 * desktop.el (desktop-save-buffer-p): Do not fail when
11695 desktop-files-not-to-save is nil. Return t for true result
11696 as the doc says.
11697
11698 2014-02-22 Daniel Colascione <dancol@dancol.org>
11699
11700 * net/secrets.el (secrets-create-item, secrets-search-items):
11701 Check that attribute values are strings, avoiding the construction
11702 of invalid dbus messages.
11703
11704 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
11705
11706 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
11707 defun-declarations-alist.
11708
11709 2014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
11710
11711 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
11712 (bug#16829).
11713
11714 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
11715
11716 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
11717 (whitespace-newline, whitespace-trailing, whitespace-line)
11718 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
11719 (whitespace-space-after-tab): Fix typo in docstrings.
11720
11721 2014-02-21 Dmitry Gutov <dgutov@yandex.ru>
11722
11723 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
11724
11725 * electric.el (electric-indent-functions-without-reindent):
11726 Add `yaml-indent-line'.
11727
11728 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
11729
11730 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
11731 It has done nothing for years; should be removed after the release.
11732
11733 * simple.el (choose-completion): Fix docstring typo.
11734 (read-quoted-char-radix): Remove unneeded * in docstring.
11735 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
11736 Don't escape parentheses unnecessarily in docstrings.
11737
11738 2014-02-21 Martin Rudalics <rudalics@gmx.at>
11739
11740 Fix handling of window-min-height/-width (Bug#16738).
11741 * window.el (window--dump-window, window--dump-frame):
11742 New functions.
11743 (window--min-size-1): Account for window dividers.
11744 When window-resize-pixelwise is nil, delay rounding till after the
11745 sum of the window components has been calculated.
11746 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
11747 nil make sure at least one text line and two text columns remain
11748 fully visible.
11749 (window-resize): Signal an error when window-resize-apply fails.
11750 (window--resize-child-windows): Fix calculation of by how many
11751 pixels a window can still be shrunk via window-new-normal.
11752 (adjust-window-trailing-edge): Call window--resizable with
11753 correct TRAIL argument.
11754
11755 (with-temp-buffer-window): Don't evaluate BODY within
11756 with-current-buffer (Bug#16816).
11757
11758 2014-02-21 Michael Albinus <michael.albinus@gmx.de>
11759
11760 * net/tramp.el (tramp-check-cached-permissions):
11761 Call `file-attributes' with `suffix' being a symbol but a string.
11762
11763 2014-02-21 Daniel Colascione <dancol@dancol.org>
11764
11765 * net/dbus.el (dbus-init-bus-1): Declare new subr.
11766 (dbus-init-bus): New function: call into dbus-init-bus-1
11767 and installs a handler for the disconnect signal.
11768 (dbus-call-method): Rewrite to look for result in cons.
11769 (dbus-call-method-handler): Store result in cons.
11770 (dbus-check-event): Recognize events with nil sender as valid.
11771 (dbus-handle-bus-disconnect): New function. React to bus
11772 disconnection signal by synthesizing dbus error for each
11773 pending synchronous or asynchronous call.
11774 (dbus-notice-synchronous-call-errors): New function.
11775 (dbus-handle-event): Raise errors directly only when `dbus-debug'
11776 is true, not all the time.
11777
11778 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
11779
11780 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
11781 Remove obsolescence declarations, these variables do not exist anymore.
11782
11783 * savehist.el (savehist-save-minibuffer-history)
11784 (savehist-additional-variables, savehist-file, savehist-mode-hook)
11785 (savehist-save-hook, savehist-coding-system, savehist-loaded)
11786 (savehist-load, savehist-install, savehist-autosave): Fix typos;
11787 mostly, refer to "Savehist mode" when talking about the mode,
11788 and not the function.
11789
11790 * saveplace.el (save-place): Remove redundant info in docstring.
11791 (save-place-forget-unreadable-files, toggle-save-place)
11792 (save-place-forget-unreadable-files, save-place-dired-hook):
11793 Fix typos and remove unneeded backslashes.
11794
11795 2014-02-20 Michael Albinus <michael.albinus@gmx.de>
11796
11797 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
11798 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
11799
11800 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
11801 <insert-directory>: Use `tramp-handle-insert-directory'.
11802 (tramp-gvfs-handle-insert-directory): Remove function.
11803
11804 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
11805 Call `tramp-handle-insert-directory'.
11806
11807 2014-02-20 Juanma Barranquero <lekktu@gmail.com>
11808
11809 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
11810 before the start of buffer/region (bug#16799).
11811
11812 2014-02-20 Glenn Morris <rgm@gnu.org>
11813
11814 * isearch.el (search-invisible): Doc fix.
11815
11816 2014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
11817
11818 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
11819 (bug#16657).
11820
11821 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
11822
11823 * frameset.el (frameset-restore): Delay removing an old frame's
11824 duplicate id until the new frame has been correctly created.
11825
11826 2014-02-19 Michael Albinus <michael.albinus@gmx.de>
11827
11828 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
11829 (tramp-check-cached-permissions): Call `file-attributes' if the
11830 cache is empty.
11831
11832 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
11833 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
11834
11835 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
11836 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
11837 (tramp-gvfs-maybe-open-connection): Set always connection
11838 properties, even if target is mounted already.
11839
11840 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
11841 Set tramp-autoload cookie.
11842 (tramp-get-remote-touch): New defun.
11843 (tramp-sh-handle-set-file-times): Use it.
11844 (tramp-sh-handle-directory-files-and-attributes):
11845 Use `tramp-handle-directory-files-and-attributes' if neither stat
11846 nor perl are available on the remote host.
11847
11848 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
11849 "/". Write long listing only when "l" belongs to the switches.
11850
11851 * net/trampver.el: Update release number.
11852
11853 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
11854
11855 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
11856
11857 2014-02-19 Martin Rudalics <rudalics@gmx.at>
11858
11859 * window.el (window-state-put): Allow WINDOW to refer to an
11860 internal window (Bug#16793).
11861
11862 2014-02-19 Glenn Morris <rgm@gnu.org>
11863
11864 * textmodes/remember.el: Move provide statement to end.
11865 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
11866 (remember-notes): Doc fixes.
11867
11868 2014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
11869
11870 * delsel.el (delete-char): Restore incorrectly erased property
11871 (bug#16795).
11872
11873 2014-02-18 Juanma Barranquero <lekktu@gmail.com>
11874
11875 * frameset.el (frameset--restore-frame): When a frame is being reused
11876 and its root window is not alive, delete all the frame's windows before
11877 restoring the window state. This works around the issue in bug#16793.
11878
11879 2014-02-18 Glenn Morris <rgm@gnu.org>
11880
11881 * textmodes/remember.el (remember-data-directory)
11882 (remember-directory-file-name-format, remember-store-in-files)
11883 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
11884 (remember-notes-save-and-bury-buffer)
11885 (remember-notes--kill-buffer-query): Doc fixes.
11886
11887 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
11888
11889 2014-02-17 Alan Mackenzie <acm@muc.de>
11890
11891 Connect electric-indent-mode up with CC Mode. Bug #15478.
11892 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
11893 to electric-indent-{,local-}-mode.
11894 (c-basic-common-init): Set electric-indent-inhibit.
11895 Initialise c-electric-flag from electric-indent-mode.
11896 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
11897 New hook functions which propagate electric-indent-mode to CC mode.
11898
11899 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
11900 hit, toggle electric-indent-local-mode.
11901
11902 * electric.el (electric-indent-mode-has-been-called):
11903 New variable.
11904
11905 2014-02-17 Juanma Barranquero <lekktu@gmail.com>
11906
11907 * frameset.el (frameset-cfg-id): New function.
11908 (frameset--reuse-frame, frameset-restore): Use it.
11909 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
11910
11911 2014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
11912
11913 * ido.el (ido-file-internal): Remove unused var `d'.
11914 Use \` for to match BoS. Fit within 80n columns.
11915
11916 2014-02-17 Daniel Colascione <dancol@dancol.org>
11917
11918 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
11919 dbus-call-method check for completion using a busy-wait loop with
11920 gradual backoff.
11921
11922 2014-02-16 Michael Albinus <michael.albinus@gmx.de>
11923
11924 Sync with Tramp 2.2.9.
11925
11926 * net/trampver.el: Update release number.
11927
11928 2014-02-16 Dmitry Gutov <dgutov@yandex.ru>
11929
11930 * ido.el (ido-file-internal): Don't add the name of an existing
11931 directory twice. (Bug#16747)
11932
11933 2014-02-16 Glenn Morris <rgm@gnu.org>
11934
11935 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
11936 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
11937
11938 2014-02-15 Michael R. Mauger <michael@mauger.com>
11939
11940 * progmodes/sql.el: Version 3.4
11941 (sql-oracle-options): New default value ("-L").
11942 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
11943 (sql-placeholders-filter): Correct placeholder pattern.
11944 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
11945 (sql-login-delay): New variable.
11946 (sql-product-interactive): Use it.
11947
11948 2014-02-15 Juanma Barranquero <lekktu@gmail.com>
11949
11950 * frameset.el (frameset--jump-to-register): Check that buffer is live
11951 (bug#16749).
11952
11953 2014-02-15 Glenn Morris <rgm@gnu.org>
11954
11955 * info.el (info-initialize): Revert 2014-01-10 change.
11956
11957 2014-02-14 Glenn Morris <rgm@gnu.org>
11958
11959 * replace.el (map-query-replace-regexp)
11960 (read-regexp-defaults-function, read-regexp): Doc fixes.
11961
11962 * dired.el (dired-read-regexp):
11963 * faces.el (list-faces-display):
11964 * misearch.el (multi-isearch-read-matching-buffers)
11965 (multi-isearch-read-matching-files):
11966 * play/cookie1.el (cookie-apropos):
11967 * progmodes/grep.el (grep-read-regexp): Doc fixes.
11968
11969 * textmodes/remember.el (remember): Use frameset-to-register
11970 rather than frame-configuration-to-register.
11971
11972 2014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
11973
11974 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
11975 incorrect keybinding.
11976
11977 2014-02-13 Daniel Colascione <dancol@dancol.org>
11978
11979 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
11980 when adding overlays so that line numbers from compiler match line
11981 numbers we use.
11982
11983 2014-02-13 Glenn Morris <rgm@gnu.org>
11984
11985 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
11986
11987 * jit-lock.el (jit-lock-mode): Doc fix.
11988
11989 2014-02-13 Juanma Barranquero <lekktu@gmail.com>
11990
11991 * apropos.el (apropos-read-pattern): When the user passes an empty
11992 string, give a more helpful error message than "Wrong type
11993 argument: stringp, nil".
11994
11995 2014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
11996
11997 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
11998
11999 2014-02-13 Glenn Morris <rgm@gnu.org>
12000
12001 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
12002
12003 2014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
12004
12005 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
12006 shift-select commands.
12007
12008 2014-02-12 Dmitry Gutov <dgutov@yandex.ru>
12009
12010 * progmodes/js.el (js-indent-line): Don't widen.
12011 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
12012
12013 2014-02-12 Glenn Morris <rgm@gnu.org>
12014
12015 * icomplete.el (icomplete): Add info-link to defgroup.
12016 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
12017 (icomplete-minibuffer-map, icomplete-mode)
12018 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
12019
12020 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
12021 (package-menu-filter): Rename from package-menu-filter-interactive.
12022 Doc fix.
12023
12024 2014-02-11 Juanma Barranquero <lekktu@gmail.com>
12025
12026 * frameset.el (frameset--jump-to-register): Select the required
12027 window and buffer before restoring position (bug#16696).
12028
12029 2014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
12030
12031 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
12032
12033 2014-02-10 Glenn Morris <rgm@gnu.org>
12034
12035 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
12036
12037 2014-02-10 Eli Zaretskii <eliz@gnu.org>
12038
12039 * w32-common-fns.el (x-get-selection): Doc fix.
12040 * select.el (x-get-selection): Doc fix. (Bug#15109)
12041
12042 * face-remap.el (face-remap-add-relative)
12043 (face-remap-remove-relative, face-remap-reset-base)
12044 (face-remap-set-base): Call force-mode-line-update to redisplay
12045 the current buffer due to potential change in faces. (Bug#16709)
12046
12047 2014-02-10 Michael Albinus <michael.albinus@gmx.de>
12048
12049 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
12050 script more robustly.
12051
12052 2014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
12053
12054 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
12055
12056 * simple.el (choose-completion): Doc fix (bug#14160).
12057
12058 * subr.el (event-start): Say what a nil EVENT value means.
12059
12060 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
12061 (bug#14197).
12062
12063 * progmodes/grep.el (find-program): Doc fix (bug#14289).
12064
12065 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
12066
12067 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
12068
12069 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
12070 predicate function (bug#15455).
12071
12072 2014-02-10 Dmitry Gutov <dgutov@yandex.ru>
12073
12074 * ielm.el (inferior-emacs-lisp-mode): Instead of
12075 `comment-use-global-state', set `comment-use-syntax'.
12076
12077 2014-02-10 Glenn Morris <rgm@gnu.org>
12078
12079 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
12080
12081 2014-02-09 Alan Mackenzie <acm@muc.de>
12082
12083 Fix c-invalidate-state-cache on narrowed buffers.
12084 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
12085 Widen when setting and clearing the CPP delimiter properties.
12086
12087 2014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
12088
12089 * help.el (describe-bindings): Doc fix (bug#9888).
12090
12091 * files.el (save-buffer): Use ARG as the parameter name for
12092 consistency (bug#10346).
12093 (save-buffer): Clarify the 0 argument (bug#10346).
12094
12095 * cus-edit.el (customize-apropos): Fix error string.
12096 (custom-buffer-create): Doc fix (bug#11122).
12097 (custom-sort-items): Doc fix (bug#11121).
12098
12099 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
12100
12101 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
12102 (icomplete-simple-completing-p): Mention the previous variable.
12103
12104 * font-lock.el (font-lock-value-in-major-mode): Clarify the
12105 meaning of the parameter (bug#12282).
12106
12107 * files.el (find-file-noselect): Clarify prompt when changing
12108 readedness (bug#13261).
12109 (locate-file): Suffixes aren't returned, so don't say that they
12110 are (bug#12674).
12111 (backup-inhibited): Doc clarification (bug#12525).
12112
12113 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
12114 before we actually start to delete things (bug#16331).
12115
12116 * subr.el (event-start): Doc fix (bug#14228).
12117 (event-end): Ditto.
12118
12119 2014-02-09 Glenn Morris <rgm@gnu.org>
12120
12121 * emacs-lisp/warnings.el (lwarn):
12122 Empower help-enable-auto-load. (Bug#15940)
12123
12124 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
12125
12126 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
12127 (Bug#16690)
12128
12129 2014-02-08 Michael Albinus <michael.albinus@gmx.de>
12130
12131 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
12132 Insert output at end of buffer. (Bug#16120)
12133
12134 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
12135
12136 * simple.el (choose-completion-string-functions): Document new
12137 calling convention (bug#14153).
12138 (execute-extended-command): Clarify doc string (bug#13373).
12139
12140 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
12141
12142 * find-dired.el (find-name-dired): Doc fix (bug#14290).
12143 (find-grep-dired): Doc fix (bug#14288).
12144
12145 2014-02-08 Juri Linkov <juri@jurta.org>
12146
12147 * isearch.el (isearch-quote-char): Check character validity
12148 like in `quoted-insert' (bug#16677).
12149
12150 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
12151
12152 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
12153
12154 * isearch.el (isearch-hide-immediately): Doc clarification
12155 (bug#14723).
12156
12157 * simple.el (line-move): Document utility function used many
12158 places in the Emacs sources (bug#14843).
12159
12160 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
12161 (dired-prev-marked-file): Doc fix (bug#14855).
12162 (dired-up-directory): Doc fix (bug#14848).
12163
12164 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
12165
12166 * files.el (file-relative-name): Doc fix (bug#15159).
12167
12168 * fringe.el (fringe-styles): Doc fix (bug#15239).
12169
12170 * isearch.el (isearch-filter-predicate): Documentation typo fix
12171 (bug#15474).
12172
12173 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
12174
12175 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
12176
12177 * replace.el (replace-match-maybe-edit): Doc clarification
12178 (bug#15632).
12179
12180 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
12181
12182 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
12183
12184 2014-02-08 Glenn Morris <rgm@gnu.org>
12185
12186 * help-fns.el (describe-variable):
12187 Check {file,dir}-local-variables-alist, and buffer-file-name,
12188 in the correct buffer.
12189
12190 2014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
12191
12192 * help-fns.el (describe-variable): Fix the case where
12193 a value is directory-local with no dir-locals file. (Bug#16635)
12194
12195 2014-02-08 Glenn Morris <rgm@gnu.org>
12196
12197 * abbrev.el (edit-abbrevs-mode):
12198 Derive from fundamental-mode. (Bug#16682)
12199
12200 2014-02-07 Juanma Barranquero <lekktu@gmail.com>
12201
12202 * simple.el (quoted-insert): Check character validity (bug#16677).
12203
12204 2014-02-07 Juri Linkov <juri@jurta.org>
12205
12206 * desktop.el (desktop-read): Claim the lock when the owner is not
12207 the current process. (Bug#16157)
12208
12209 2014-02-07 Juri Linkov <juri@jurta.org>
12210
12211 * desktop.el (desktop-buffers-not-to-save): Change default from nil
12212 to "\\` ". (Bug#16651)
12213
12214 2014-02-07 Juri Linkov <juri@jurta.org>
12215
12216 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
12217 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
12218 (desktop-auto-save-cancel-timer): New function with some code from
12219 `desktop-auto-save-set-timer'.
12220 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
12221 Instead of setting `desktop-save-mode' to nil, call
12222 `desktop-save-mode' with arg 0. (Bug#16630)
12223
12224 2014-02-07 Glenn Morris <rgm@gnu.org>
12225
12226 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
12227 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
12228 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
12229
12230 * obsolete/iswitchb.el: Move to obsolete/.
12231 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
12232 since obsolete/ is not scanned for autoloads.
12233 * emacs-lisp/authors.el (authors-valid-file-names):
12234 Add iswitchb.el.
12235
12236 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
12237 Disable now non-functional find-file-hook.
12238
12239 2014-02-06 Michael Albinus <michael.albinus@gmx.de>
12240
12241 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
12242 instead of ";" in order to avoid additional prompts. Let heredoc
12243 scripts read from tty. (Bug#16582)
12244 (tramp-send-command): No special handling of heredocs, it isn't
12245 necessary anymore.
12246
12247 2014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
12248
12249 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
12250 with a space (bug#16664). Limit the symbols considered to the ones
12251 that are bound or fbound (bug#16646).
12252
12253 2014-02-06 Glenn Morris <rgm@gnu.org>
12254
12255 * epa.el (epa-mail-aliases): Doc fix.
12256
12257 2014-02-06 Dmitry Gutov <dgutov@yandex.ru>
12258
12259 * emacs-lisp/lisp.el (lisp-completion-at-point):
12260 Use `completion-table-merge' instead of `completion-table-in-turn'
12261 (bug#16604).
12262
12263 * minibuffer.el (completion-table-merge): New function.
12264
12265 2014-02-05 Michael Albinus <michael.albinus@gmx.de>
12266
12267 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
12268 (tramp-sh-handle-set-file-acl)
12269 (tramp-sh-handle-start-file-process)
12270 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
12271 (tramp-find-executable, tramp-send-command): Use it.
12272
12273 2014-02-05 Glenn Morris <rgm@gnu.org>
12274
12275 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
12276
12277 2014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
12278
12279 * progmodes/python.el (python-shell-send-string)
12280 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
12281
12282 2014-02-04 Anders Lindgren <andlind@gmail.com>
12283
12284 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
12285 the names (bug#16620).
12286
12287 2014-02-03 Martin Rudalics <rudalics@gmx.at>
12288
12289 * faces.el (window-divider): New default value. Rewrite doc-string.
12290 (window-divider-first-pixel, window-divider-last-pixel): New faces.
12291
12292 2014-02-03 Dmitry Gutov <dgutov@yandex.ru>
12293
12294 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
12295 `protected' and `public' can also be called without arguments.
12296
12297 2014-02-03 Glenn Morris <rgm@gnu.org>
12298
12299 * register.el (window-configuration-to-register)
12300 (frame-configuration-to-register): Unadvertise unused argument.
12301 * frameset.el (frameset-to-register): Remove unused argument.
12302
12303 * frameset.el (frameset-to-register):
12304 * kmacro.el (kmacro-to-register):
12305 * register.el (increment-register):
12306 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
12307 (calc-append-to-register, calc-prepend-to-register):
12308 * play/gametree.el (gametree-layout-to-register)
12309 (gametree-apply-register-layout):
12310 * textmodes/picture.el (picture-clear-rectangle-to-register)
12311 (picture-yank-rectangle-from-register):
12312 * vc/emerge.el (emerge-combine-versions-register):
12313 Use register-read-with-preview to read registers.
12314
12315 2014-02-03 João Távora <joaotavora@gmail.com>
12316
12317 * elec-pair.el (electric-pair-backward-delete-char): Don't error
12318 when at beginning of (possibly narrowed) buffer.
12319
12320 2014-02-02 Daniel Colascione <dancol@dancol.org>
12321
12322 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
12323 Also try to display local help from just before point.
12324
12325 2014-02-02 Alan Mackenzie <acm@muc.de>
12326
12327 c-parse-state. Don't "append-lower-brace-pair" in certain
12328 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
12329 recognised as a comment.
12330
12331 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
12332 as well as normal comment starter.
12333 (c-parse-state-get-strategy): Extra return possibility
12334 'back-and-forward.
12335 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
12336 return value list to indicate replacement of a brace-pair cons
12337 with its car.
12338 (c-parse-state-1): With 'back-and-forward, only call
12339 c-append-lower-brace-pair-to state-cache when cons-separated.
12340
12341 2014-02-02 Jan Djärv <jan.h.d@swipnet.se>
12342
12343 * term/ns-win.el (ns-suspend-error): New function.
12344 (ns-initialize-window-system): Add ns-suspend-error to
12345 suspend-hook (Bug#16612).
12346
12347 2014-02-02 Daniel Colascione <dancol@dancol.org>
12348
12349 * progmodes/cc-defs.el (c-find-assignment-for-mode):
12350 Make loading cc-mode silent.
12351
12352 2014-02-02 Daniel Colascione <dancol@dancol.org>
12353
12354 * comint.el (comint-prompt-read-only): Change doc to suggest
12355 remap keybinding.
12356
12357 2014-02-02 Glenn Morris <rgm@gnu.org>
12358
12359 * register.el (register-read-with-preview, point-to-register)
12360 (window-configuration-to-register, frame-configuration-to-register)
12361 (jump-to-register, number-to-register, view-register, insert-register)
12362 (copy-to-register, append-to-register, prepend-to-register)
12363 (copy-rectangle-to-register): Doc fixes.
12364
12365 2014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
12366
12367 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
12368 * emacs-lisp/find-func.el (find-function-C-source): Idem.
12369 * emacs-lisp/nadvice.el (advice--cd*r): New function.
12370 * help-fns.el (describe-function-1): Use it.
12371
12372 2014-02-02 Glenn Morris <rgm@gnu.org>
12373
12374 * register.el (register-preview-default): New function,
12375 split from register-preview.
12376 (register-preview-function): Rename from register-preview-functions,
12377 make it not a hook.
12378 (register-preview): Use register-preview-function.
12379 (register-read-with-preview): Error on non-character event. (Bug#16595)
12380
12381 2014-02-01 Dmitry Gutov <dgutov@yandex.ru>
12382
12383 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
12384 `:' before binary operators (bug#16609). Don't check for `:'
12385 before `[' and `(', or their syntax status. A percent literal
12386 can't end with either.
12387 (ruby-font-lock-keywords): For built-ins that require arguments,
12388 check that they're followed by something that looks like argument
12389 (bug#16610).
12390
12391 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
12392
12393 * subr.el (butlast): Document what an omitted N means (bug#13437).
12394 (nbutlast): Ditto.
12395
12396 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
12397
12398 * net/shr.el (shr-generic): Make into a defsubst to make the stack
12399 depth shallower (bug#16587).
12400 (shr-tag-svg): Respect `shr-inhibit-images'.
12401 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
12402
12403 2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
12404
12405 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
12406 (ruby-smie-grammar): Make "." right-associative. Make its priority
12407 lower than the ternary and all binary operators.
12408 (ruby-smie-rules): Indent "(" relative to the first non-"."
12409 parent, or the first "." parent at indentation.
12410 Use `ruby-align-chained-calls' for indentation of "." tokens.
12411 (Bug#16593)
12412
12413 2014-01-31 Juri Linkov <juri@jurta.org>
12414
12415 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
12416 from `make-hash-table'.
12417
12418 * textmodes/ispell.el (ispell-init-process): Change message format
12419 to be consistent with other messages.
12420
12421 2014-01-31 Glenn Morris <rgm@gnu.org>
12422
12423 * delsel.el (delete-selection-mode): Doc fix.
12424
12425 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
12426 (trace-function-background): Doc fixes.
12427
12428 * ido.el (ido-use-virtual-buffers): Doc fix.
12429 Reset :version, since the default value has not changed.
12430
12431 * register.el (register-preview-delay, register-read-with-preview):
12432 Doc fixes.
12433
12434 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
12435 do not mess with mail-buffer position (fixes 2009-11-03 change).
12436 * progmodes/cc-mode.el (c-submit-bug-report):
12437 Check auto-fill-mode is bound. (Bug#16592)
12438
12439 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
12440
12441 * startup.el (fancy-splash-image-file): New function,
12442 split from fancy-splash-head.
12443 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
12444 so that we are both using the same image. (Bug#16574)
12445
12446 2014-01-30 Glenn Morris <rgm@gnu.org>
12447
12448 * simple.el (eval-expression): Doc fix.
12449
12450 * hexl.el (hexl-mode-hook):
12451 * ielm.el (ielm-mode-hook):
12452 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
12453 (lisp-interaction-mode-hook):
12454 * progmodes/cfengine.el (cfengine3-documentation-function):
12455 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
12456
12457 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
12458
12459 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
12460 is a symbol (bug#16584).
12461
12462 2014-01-30 Glenn Morris <rgm@gnu.org>
12463
12464 * help.el (help-for-help-internal): Add "P" to text.
12465
12466 2014-01-29 Glenn Morris <rgm@gnu.org>
12467
12468 * simple.el (just-one-space, cycle-spacing): Doc fixes.
12469
12470 2014-01-28 Martin Rudalics <rudalics@gmx.at>
12471
12472 * window.el (fit-frame-to-buffer): Fix calculations for margins and
12473 height constraints.
12474
12475 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
12476
12477 * progmodes/hideif.el: Extend to full CPP expression syntax.
12478 (hif-token-alist): Add missing tokens.
12479 (hif-token-regexp): Add support for float/octal/hex immediates.
12480 (hif-string-literal-regexp): New const.
12481 (hif-tokenize): Recognize strings and float/octal/hex immediates.
12482 (hif-exprlist): New function.
12483 (hif-parse-if-exp): Use it.
12484 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
12485 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
12486 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
12487 (hif-logxor, hif-comma): New functions.
12488
12489 2014-01-28 Glenn Morris <rgm@gnu.org>
12490
12491 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
12492
12493 * indent.el (tab-stop-list): Doc fix. Add :version.
12494
12495 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
12496 (cvs-append-to-ignore): Add compatibility alias.
12497
12498 2014-01-27 Glenn Morris <rgm@gnu.org>
12499
12500 * dired.el (dired-hide-details-mode): Don't autoload it,
12501 since it cannot be used outside Dired buffers anyway.
12502
12503 * emulation/cua-base.el (cua-mode): Doc fix.
12504
12505 * dired.el (dired-hide-details-hide-symlink-targets)
12506 (dired-hide-details-hide-information-lines)
12507 (dired-hide-details-mode): Doc fixes.
12508
12509 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
12510 * strokes.el (strokes-file): Doc fix. Bump :version.
12511 (strokes-help): Doc fix.
12512 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
12513 * emulation/viper.el (viper): Doc fix for custom group.
12514 (top-level): Remove oh-so-no-longer-relevant text about vip.
12515 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
12516
12517 * ido.el (ido-save-directory-list-file):
12518 * saveplace.el (save-place-file):
12519 * calendar/timeclock.el (timeclock-file):
12520 * net/quickurl.el (quickurl-url-file):
12521 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
12522 * progmodes/idlwave.el (idlwave-config-directory):
12523 * textmodes/remember.el (remember-data-file):
12524 Bump :version.
12525
12526 2014-01-26 Glenn Morris <rgm@gnu.org>
12527
12528 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
12529 Doc fix. Make obsolete.
12530 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
12531
12532 * sort.el (delete-duplicate-lines): Doc fix.
12533
12534 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12535
12536 * progmodes/ada-mode.el (ada):
12537 * woman.el (woman): Link to info manual and Commentary section.
12538
12539 * progmodes/flymake.el (flymake):
12540 * nxml/nxml-mode.el (nxml):
12541 * net/eww.el (eww):
12542 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
12543 * htmlfontify.el (htmlfontify):
12544 * ses.el (ses):
12545 * epa.el (epa):
12546 * ido.el (ido): Link to info manual.
12547
12548 2014-01-25 Leo Liu <sdl.web@gmail.com>
12549
12550 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
12551
12552 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
12553
12554 * net/shr.el (shr-tag-img): Prefer the title over the alt text
12555 (bug#16537).
12556
12557 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
12558
12559 * net/eww.el (eww-download-callback):
12560 Fix reference to eww-download-directory.
12561
12562 * emacs-lisp/bytecomp.el (byte-compile-file):
12563 Remove unused local variable `file-name'.
12564
12565 2014-01-24 Glenn Morris <rgm@gnu.org>
12566
12567 * woman.el (woman-default-faces, woman-monochrome-faces):
12568 Fix obsolescence specification.
12569
12570 * subr.el (with-demoted-errors): Doc fix.
12571
12572 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
12573
12574 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
12575 (cl--macroexp-fboundp): New function.
12576 (cl--make-type-test): Use it.
12577
12578 2014-01-23 Glenn Morris <rgm@gnu.org>
12579
12580 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
12581 * simple.el (eval-expression): Doc fixes.
12582
12583 2014-01-22 Glenn Morris <rgm@gnu.org>
12584
12585 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
12586
12587 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
12588
12589 * emacs-lisp/package.el: Write files silently.
12590 (package-autoload-ensure-default-file, package--write-file-no-coding)
12591 (package-generate-description-file, package--download-one-archive)
12592 (package-install-from-archive): Tell `write-region' to stay quiet.
12593 (package-menu-mode, package-menu--print-info): Omit the Archive column
12594 if there's only one archive.
12595 (package-all-keywords, package--has-keyword-p): Remove dead code.
12596
12597 2014-01-22 Glenn Morris <rgm@gnu.org>
12598
12599 * version.el (emacs-bzr-version-bzr): Fix typo.
12600
12601 * version.el (emacs-repository-get-version):
12602 Check either .bzr or .git, but not both.
12603 Make the git case actually use the DIR argument, and return nil
12604 rather than the empty string.
12605 Avoid error if .git exists but the git executable is not found.
12606
12607 2014-01-22 Martin Rudalics <rudalics@gmx.at>
12608
12609 Fixes in window size functions around Bug#16430 and Bug#16470.
12610 * window.el (window-total-size, window-size): New argument ROUND.
12611 (window--min-delta-1, window-min-delta, window--max-delta-1):
12612 Be more conservative when calculating the numbers of lines or
12613 columns a window can shrink (Bug#16430).
12614 (fit-window-to-buffer): Simplify code.
12615 * term.el (term-window-width): Call window-body-width again.
12616
12617 2014-01-22 Glenn Morris <rgm@gnu.org>
12618
12619 * image.el (image-format-suffixes): Doc fix.
12620
12621 * international/quail.el (quail-define-package): Doc fix.
12622
12623 * emacs-lisp/authors.el (authors-valid-file-names)
12624 (authors-renamed-files-alist): Additions.
12625
12626 * vc/vc-git.el (vc-git-print-log): Remove --follow;
12627 reverts 2014-01-09 change. (Bug#16422)
12628
12629 * calc/calc-embed.el (thing-at-point-looking-at):
12630 * emacs-lisp/map-ynp.el (x-popup-dialog):
12631 * obsolete/lmenu.el (x-popup-dialog):
12632 * emacs-lisp/package.el (url-recreate-url):
12633 * mail/mailclient.el (clipboard-kill-ring-save):
12634 * subr.el (x-popup-dialog): Update declaration.
12635 * mail/rmail.el (rmail-mime-message-p):
12636 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
12637
12638 2014-01-21 Daniel Colascione <dancol@dancol.org>
12639
12640 * progmodes/sh-script.el (sh--inside-noncommand-expression):
12641 Correctly detect when we're inside an arithmetic expansion form
12642 containing nested parenthesis.
12643 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
12644 to detect cases where we shouldn't expand "<<" to a heredoc
12645 skeleton.
12646
12647 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
12648
12649 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
12650 (eldoc--message-command-p): New function.
12651 (eldoc-display-message-p): Use it.
12652 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
12653 message is not automatically erased for us.
12654 (eldoc-print-current-symbol-info): Erase previous message, if any.
12655
12656 2014-01-21 Tassilo Horn <tsdh@gnu.org>
12657
12658 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
12659 specify it's an interactive function.
12660
12661 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
12662 Fix regex used for scanning for citation keys which failed for
12663 citations with optional arguments.
12664
12665 2014-01-21 Leo Liu <sdl.web@gmail.com>
12666
12667 * simple.el (read--expression): Don't enable eldoc-mode.
12668
12669 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
12670
12671 * simple.el (move-beginning-of-line): Make sure we don't move forward
12672 (bug#16497).
12673
12674 2014-01-20 Juri Linkov <juri@jurta.org>
12675
12676 * saveplace.el (toggle-save-place, save-place-to-alist)
12677 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
12678 'dired-mode) before checking for dired-directory. (Bug#16477)
12679
12680 2014-01-20 Juri Linkov <juri@jurta.org>
12681
12682 * indent.el (indent-line-to): Use backward-to-indentation
12683 instead of back-to-indentation. (Bug#16461)
12684
12685 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
12686
12687 Revert some of the CANNOT_DUMP fix (Bug#16494).
12688 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
12689 but fixing this can wait until after the next release.
12690 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
12691
12692 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
12693
12694 * eshell/esh-mode.el (eshell-password-prompt-regexp):
12695 Use `password-word-equivalents'.
12696 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
12697 to t. (Bug#5664, Bug#13124)
12698
12699 2014-01-19 Alan Mackenzie <acm@muc.de>
12700
12701 Bind open-paren-in-column-0-is-defun-start to nil at some entry
12702 points.
12703 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
12704 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
12705 * progmodes/cc-mode.el (c-before-change, c-after-change)
12706 (c-font-lock-fontify-region): Bind it here.
12707
12708 2014-01-19 Martin Rudalics <rudalics@gmx.at>
12709
12710 * term.el (term-window-width): Call window-text-width instead of
12711 window-width (Bug#16470).
12712
12713 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
12714
12715 * simple.el (password-word-equivalents): Remove duplicates.
12716 Sort, to make this easier next time.
12717 Downcase. Omit ": " after "jelszó".
12718
12719 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
12720
12721 * term/common-win.el (saved-region-selection): Defvar it.
12722 (x-select-text): Set saved-region-selection (Bug#16382).
12723
12724 2014-01-18 Glenn Morris <rgm@gnu.org>
12725
12726 * emacs-lisp/authors.el (authors-aliases)
12727 (authors-renamed-files-alist): Add some entries.
12728
12729 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
12730
12731 * net/tramp.el (tramp-password-prompt-regexp):
12732 Use `password-word-equivalents' if available.
12733 (tramp-action-password, tramp-process-one-action)
12734 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
12735
12736 2014-01-17 Chong Yidong <cyd@gnu.org>
12737
12738 * simple.el (password-word-equivalents): New defcustom.
12739 * comint.el (comint-password-prompt-regexp): Use it. Bump version
12740 to 24.4.
12741 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
12742 to t. (Bug#13124)
12743
12744 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
12745
12746 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
12747 (ruby-align-to-stmt-keywords): Change the default value.
12748 Use `ruby-alignable-keywords' to generate the possible customization
12749 choices.
12750 (ruby-smie-rules): Instead of using a hardcoded list of alignable
12751 keywords, check against the value of `ruby-alignable-keywords'
12752 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
12753
12754 2014-01-17 Glenn Morris <rgm@gnu.org>
12755
12756 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
12757
12758 Make M-x authors return zero *Authors Errors* from current logs.
12759 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
12760 (authors-ignored-files): Add some entries, remove others.
12761 (authors-ambiguous-files, authors-valid-file-names):
12762 Add some entries.
12763 (authors-renamed-files-alist): Add, remove, and adjust entries.
12764 (authors-renamed-files-regexps): Add some entries.
12765 Remove some very broad ones. Make some entries `lax'.
12766 (authors-lax-changelogs): New constant.
12767 (authors-disambiguate-file-name): Treat top-level specially.
12768 (authors-lax-changelog-p): New function.
12769 (authors-canonical-file-name): Check file as written against
12770 authors-valid-file-names. Do not special-case etc/.
12771 Handle `lax' logs and authors-renamed-files-regexps elements.
12772
12773 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
12774
12775 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
12776 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
12777 callers.
12778
12779 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
12780
12781 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
12782 Assume we're already in the proper buffer.
12783 Inspired by Anders Lindgren <andlind@gmail.com>.
12784 (follow-post-command-hook): Call it from the right buffer.
12785 (follow-comint-scroll-to-bottom): Adjust call.
12786 (follow-all-followers): Use get-buffer-window-list.
12787
12788 2014-01-15 Daniel Colascione <dancol@dancol.org>
12789
12790 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
12791 `buffer-file-name' in interactive-form so that we don't leave
12792 pathless file names in `file-name-history'.
12793
12794 2014-01-15 Juri Linkov <juri@jurta.org>
12795
12796 * indent.el (indent-rigidly): Set deactivate-mark to nil
12797 in transient indentation mode. (Bug#16438)
12798
12799 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
12800
12801 * emacs-lisp/package.el (package-desc-keywords): New function
12802 (Bug#16222).
12803 (describe-package-1, package-all-keywords)
12804 (package--has-keyword-p): Use it.
12805
12806 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
12807
12808 * simple.el (define-alternatives): When creating the
12809 COMMAND-alternatives variable, assign COMMAND as its definition
12810 name so that `describe-variable' can relocate it.
12811
12812 2014-01-14 Matthew Leach <matthew@mattleach.net>
12813
12814 * font-lock.el (font-lock-keywords): Fix typo in docstring
12815 (bug#16307).
12816
12817 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12818
12819 * textmodes/ispell.el (ispell-region): Reset `in-comment' for new
12820 line instead of wrongly reset `add-coment' (bug#13577).
12821
12822 2014-01-14 Daiki Ueno <ueno@gnu.org>
12823
12824 * epa-file.el (epa-file-write-region): Encode the region according
12825 to `buffer-file-format'. Problem reported at:
12826 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
12827
12828 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
12829
12830 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
12831 so it applies in the right buffer (bug#16410).
12832
12833 2014-01-13 Daniel Colascione <dancol@dancol.org>
12834
12835 * textmodes/rst.el (rst-define-key): Provide deprecated
12836 keybindings through named functions instead of anonymous ones so
12837 that "??" doesn't appear in describe-mode output.
12838
12839 2014-01-13 Bastien Guerry <bzg@gnu.org>
12840
12841 * simple.el (define-alternatives): Call the selected command
12842 interactively. When setting `COMMAND--implementation' for the
12843 first time, tell the user how to chose another implementation.
12844 Enhance the docstring.
12845
12846 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
12847
12848 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
12849 (log-edit--match-first-line): New function.
12850 (log-edit-font-lock-keywords): Use it.
12851 (log-edit-mode): Make jit-lock-defer-multiline work.
12852
12853 2014-01-13 Bastien Guerry <bzg@gnu.org>
12854
12855 * rect.el (rectangle-mark-mode): When the region is not active,
12856 display a message saying that the mark as been set and that
12857 rectangle mode is in use.
12858 (rectangle--highlight-for-redisplay): Only put an overlay with a
12859 visible vertical bar when (display-graphic-p) is non-nil.
12860 This partially fixes Bug#16403.
12861
12862 2014-01-13 Juri Linkov <juri@jurta.org>
12863
12864 * info.el (Info-find-file): Go to DIR before displaying the error
12865 about a nonexistent file if no previous Info file is visited.
12866 Use `user-error' instead of `error' for "Info file %s does not exist".
12867 (Info-find-node-2): In case of a nonexistent node in unwind forms
12868 go to the Top node if there is no previous node to revert to.
12869 (Bug#16405)
12870
12871 2014-01-13 Martin Rudalics <rudalics@gmx.at>
12872
12873 fit-frame/window-to-buffer code fixes including one for Bug#14096.
12874 * window.el (fit-frame-to-buffer): Fix doc-string.
12875 Respect window-min-height/-width. Fit pixelwise when
12876 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
12877 when avoiding that frame goes partially off-screen.
12878 (fit-window-to-buffer): Respect window-min-height/-width
12879 (Bug#14096).
12880
12881 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
12882
12883 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
12884 after an empty line.
12885
12886 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
12887
12888 * net/shr.el (shr-render-region): Autoload.
12889
12890 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
12891
12892 * net/eww.el (eww-download-directory): Rename from
12893 `eww-download-path' (Bug#16419).
12894
12895 2014-01-12 Leo Liu <sdl.web@gmail.com>
12896
12897 * dired-x.el (dired-mode-map): Fix last change.
12898
12899 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
12900
12901 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
12902
12903 Spelling fixes.
12904 * emacs-lisp/generic.el (generic--normalize-comments):
12905 Rename from generic--normalise-comments. All uses changed.
12906 * play/bubbles.el (bubbles--neighborhood-score)
12907 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
12908 (bubbles--neighborhood-available)
12909 (bubbles--update-neighborhood-score):
12910 Rename from names with 'neighbourhood'. All uses changed.
12911
12912 2014-01-12 Leo Liu <sdl.web@gmail.com>
12913
12914 Re-implement the feature of showing eldoc info after editing.
12915 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
12916 (eldoc-edit-message-commands): New function.
12917 (eldoc-print-after-edit): New variable.
12918 (eldoc-pre-command-refresh-echo-area): Emit message only by
12919 eldoc-message-commands.
12920 (eldoc-mode): Restrict eldoc-message-commands to editing commands
12921 if eldoc-print-after-edit is set. (Bug#16346)
12922 * simple.el (read--expression): Enable eldoc-mode.
12923 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
12924
12925 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
12926 Eric S. Raymond <esr@thyrsus.com>
12927
12928 * version.el (emacs-repository-get-version): Enhance so the
12929 function works correctly in either a Bazaar or Git repo.
12930
12931 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
12932
12933 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
12934 Goes with removal of the joke manpages from /etc.
12935
12936 2014-01-10 Kenichi Handa <handa@gnu.org>
12937
12938 * mail/rmail.el (rmail-get-coding-system):
12939 Check rmail-get-coding-function before "funcall"ing it.
12940
12941 2014-01-10 Glenn Morris <rgm@gnu.org>
12942
12943 * emacs-lisp/authors.el (authors-fixed-entries):
12944 Update for files that no longer exist.
12945
12946 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
12947
12948 * version.el (emacs-bzr-get-version): Restore compatibilty with
12949 24.3 (Tested).
12950
12951 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
12952
12953 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
12954 and Podfile.
12955
12956 2014-01-10 Eli Zaretskii <eliz@gnu.org>
12957
12958 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
12959
12960 2014-01-10 Chong Yidong <cyd@gnu.org>
12961
12962 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
12963
12964 2014-01-10 Anders Lindgren <andlind@gmail.com>
12965
12966 * follow.el (follow-cache-command-list): Include right-char and
12967 left-char.
12968
12969 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
12970
12971 Spelling fixes.
12972 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
12973 * woman.el (woman-mark-horizontal-position):
12974 Rename from woman-mark-horizonal-position. Use changed.
12975
12976 2014-01-10 Glenn Morris <rgm@gnu.org>
12977
12978 * info.el (info-initialize): If running uninstalled, ensure our
12979 own info files are always found first, even if INFOPATH is set.
12980
12981 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
12982
12983 2014-01-09 David Engster <deng@randomsample.de>
12984
12985 * emacs-lisp/eieio-custom.el:
12986 * emacs-lisp/eieio-opt.el: Set generated autoload file to
12987 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
12988 * emacs-lisp/eieio.el: Regenerate autoloads.
12989
12990 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
12991
12992 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
12993 following renames. (Bug#8756)
12994
12995 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
12996
12997 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
12998 (bug#16382).
12999 (activate-mark): Add `no-tmm' argument.
13000 (set-mark, push-mark-command): Use it instead of running
13001 activate-mark-hook by hand.
13002
13003 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
13004
13005 In preparation for the move to git, sanitize out some
13006 Bazaar-specific names.
13007
13008 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
13009
13010 * version.el (emacs-bzr-version): Name changed to
13011 emacs-repository-version. Obsolete-variable alias made.
13012 * loadup.el: Follow through on this name change.
13013 * mail/emacsbug.el (report-emacs-bug): Factor out any
13014 assumption about the version control system in use.
13015
13016 2014-01-08 David Engster <deng@randomsample.de>
13017
13018 * help-fns.el (help-fns-describe-function-functions):
13019 New variable to call functions for augmenting help buffers.
13020 (describe-function-1): Remove explicit calls to
13021 `help-fns--compiler-macro', `help-fns--parent-mode' and
13022 `help-fns--obsolete'. Put them in above new variable instead, and
13023 call them through `run-hook-with-args'.
13024 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
13025 `eieio-describe-class'. Not meant for interactive use anymore,
13026 but to augment existing help buffers. Remove optional second
13027 argument. Create proper button for file location.
13028 Rewrite function to use `insert' instead of `princ' and `prin1' where
13029 possible.
13030 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
13031 (eieio-method-def, eieio-class-def): Move further up.
13032 (describe-method, describe-generic, eieio-describe-method):
13033 Remove aliases.
13034 (eieio-help-constructor, eieio-help-generic): Rename from
13035 `eieio-describe-constructor' and `eieio-describe-generic', resp.
13036 Rewrite to use `insert' in the current buffer and use proper help
13037 buttons.
13038 (eieio-help-find-method-definition)
13039 (eieio-help-find-class-definition): Also accept symbols as
13040 arguments.
13041 (eieio-help-mode-augmentation-maybee): Remove.
13042 (eieio-describe-class-sb): Use `describe-function'.
13043 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
13044 Add `eieio-help-generic' and `eieio-help-constructor'.
13045
13046 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
13047
13048 Spelling fixes.
13049 * language/china-util.el (hz-ascii-designation):
13050 Rename from hz-ascii-designnation.
13051 (hz-ascii-designation): Rename from hz-ascii-designnation.
13052 All uses changed.
13053
13054 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
13055
13056 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
13057 package-alist.
13058
13059 2014-01-08 Bastien Guerry <bzg@gnu.org>
13060
13061 * emacs-lisp/package.el (package-delete):
13062 Correctly delete the package from package-alist.
13063
13064 2014-01-08 Daiki Ueno <ueno@gnu.org>
13065
13066 * emacs-lisp/package.el (url-recreate-url): Declare.
13067 (url-http-target-url): Declare.
13068 (package-handle-response): Include requested URL in the error message.
13069 (package--check-signature): Don't re-signal errors from
13070 package--with-work-buffer. Suggested by Stefan Monnier.
13071
13072 2014-01-07 Bastien Guerry <bzg@gnu.org>
13073
13074 * minibuffer.el (completion--try-word-completion): When both a
13075 hyphen and a space are possible candidates for the character
13076 following a word, display both candidates. (Bug#15980)
13077
13078 2014-01-07 Martin Rudalics <rudalics@gmx.at>
13079
13080 * window.el (balance-windows-2): While rounding don't give a
13081 window more than the remainder. Bug#16351, bug#16383.
13082
13083 2014-01-07 Glenn Morris <rgm@gnu.org>
13084
13085 * menu-bar.el (menu-bar-help-extra-packages): Remove.
13086 (menu-bar-help-menu): Use view-external-packages instead.
13087
13088 2014-01-07 Bastien Guerry <bzg@gnu.org>
13089
13090 * emacs-lisp/package.el (package-delete): Also delete the package
13091 name from `package-alist', not its description only.
13092
13093 2014-01-07 Glenn Morris <rgm@gnu.org>
13094
13095 * help.el (view-external-packages):
13096 * menu-bar.el (menu-bar-help-extra-packages):
13097 Visit efaq.info rather than etc/MORE.STUFF.
13098
13099 2014-01-07 Juri Linkov <juri@jurta.org>
13100
13101 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
13102 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
13103
13104 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
13105 that shadows RET. (Bug#16342)
13106
13107 2014-01-07 Chong Yidong <cyd@gnu.org>
13108
13109 * isearch.el (isearch-yank-char, isearch-yank-word)
13110 (isearch-yank-line): Doc fix.
13111
13112 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
13113
13114 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
13115 * emacs-lisp/elint.el (elint-find-builtins):
13116 * emacs-lisp/eldoc.el (eldoc-symbol-function):
13117 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
13118 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
13119 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
13120 * apropos.el (apropos-safe-documentation):
13121 * subr.el (symbol-file): Remove redundant fboundp.
13122 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
13123
13124 2014-01-06 Bastien Guerry <bzg@gnu.org>
13125
13126 * hl-line.el (global-hl-line-overlay): Make a local variable.
13127 (global-hl-line-overlays): New variable to store all overlays.
13128 (global-hl-line-mode): Don't delete overlays from the current
13129 buffer when `global-hl-line-sticky-flag' is non-nil.
13130 (global-hl-line-highlight): Add new overlays to
13131 `global-hl-line-overlays'.
13132 (global-hl-line-unhighlight-all): New function to delete all
13133 overlays when turning off `global-hl-line-mode'.
13134 This fixes Bug#16183.
13135
13136 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
13137
13138 * subr.el (set-transient-map): Fix nested case and docstring.
13139
13140 2014-01-06 Tassilo Horn <tsdh@gnu.org>
13141
13142 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
13143 `Texinfo' entry.
13144
13145 2014-01-06 Daniel Colascione <dancol@dancol.org>
13146
13147 Fix defun navigation in vc log view.
13148
13149 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
13150 like `beginning-of-defun'.
13151 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
13152 log-view-end-of-defun to log-view-end-of-defun-1. Replace
13153 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
13154 (log-view-extract-comment): Call `log-view-current-entry' directly
13155 instead of relying on broken `log-view-beginning-of-defun' behavior.
13156
13157 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
13158
13159 Spelling fixes.
13160 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
13161 * emacs-lisp/debug.el (cancel-debug-on-entry):
13162 * epg.el (epg-error-to-string):
13163 * files.el (recover-file):
13164 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
13165 * mail/emacsbug.el (report-emacs-bug-hook):
13166 * mail/sendmail.el (mail-recover):
13167 * ses.el (ses-yank-resize):
13168 * term/ns-win.el (ns-print-buffer):
13169 Spelling fixes in diagnostics, mostly for "canceled" with one L.
13170 * epg.el (epg-key-capability-alist): Rename from misspelled version.
13171 All uses changed.
13172 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
13173
13174 2014-01-06 Leo Liu <sdl.web@gmail.com>
13175
13176 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
13177 to avoid shadowing global key. (Bug#16354)
13178
13179 2014-01-06 Daniel Colascione <dancol@dancol.org>
13180
13181 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
13182 rst-mode.
13183
13184 2014-01-05 Martin Rudalics <rudalics@gmx.at>
13185
13186 * window.el (balance-windows): Add mising t to fix Bug#16351.
13187
13188 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
13189
13190 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
13191 (bug#16285).
13192 (shr-insert): If we have a word that's longer than `shr-width',
13193 break after it anyway. Otherwise we'll do no breaking once we get
13194 such a long word.
13195
13196 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
13197
13198 * net/eww.el (eww): Support single/double quote for search.
13199 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
13200 (eww-history-quit): Delete and use quit-window.
13201 (eww-history-kill): Delete, because it doesn't work well and
13202 not necessary.
13203 (eww-history-mode-map): Delete some keys and add easy-menu.
13204
13205 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
13206
13207 Fix misspelling of 'chinese' in rx (Bug#16237).
13208 * emacs-lisp/rx.el (rx-categories): Correct spelling of
13209 chinese-two-byte.
13210
13211 Change subword regexps back to vars (Bug#16296).
13212 * progmodes/subword.el (subword-forward-regexp)
13213 (subword-backward-regexp): Change these back to variables.
13214
13215 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
13216
13217 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
13218 syntax-begin-function (bug#16247).
13219
13220 2014-01-03 Chong Yidong <cyd@gnu.org>
13221
13222 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
13223 (advice--docstring): Delete variable.
13224 (advice--make-1): Leave the docstring empty.
13225 (advice-add): Use function-documentation for advised docstring.
13226
13227 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
13228 Ignore function-documentation property when getting documentation.
13229 (ad-activate-advised-definition): Use function-documentation
13230 generate the docstring.
13231 (ad-make-advised-definition): Don't call
13232 ad-make-advised-definition-docstring.
13233 (ad-make-advised-definition-docstring, ad-advised-definition-p):
13234 Delete functions.
13235
13236 * progmodes/sql.el (sql-help): Use function-documentation instead
13237 of dynamic-docstring-function property. No need to autoload now.
13238 (sql--help-docstring): New variable.
13239 (sql--make-help-docstring): Use it.
13240
13241 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
13242
13243 * ielm.el (ielm-tab): Retarget.
13244 (ielm-map): Use ielm-tab for tab.
13245 (ielm-complete-filename): Use comint-filename-completion.
13246 (ielm-complete-symbol): Remove.
13247 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
13248 remove ielm-tab from completion-at-point-functions (bug#16224).
13249
13250 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
13251 Beware signals raised by predicates (bug#16201).
13252
13253 2014-01-02 Richard Stallman <rms@gnu.org>
13254
13255 * dired-aux.el (dired-do-print): Handle printer-name.
13256
13257 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
13258 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
13259 (rmail-epa-decrypt): Turn off mime processing.
13260
13261 * mail/rmail.el (rmail-make-in-reply-to-field):
13262 Add parens in message-id.
13263
13264 * mail/rmail.el (rmail-get-coding-function): Variable.
13265 (rmail-get-coding-system): Use it.
13266
13267 2013-12-31 Eli Zaretskii <eliz@gnu.org>
13268
13269 * international/mule-conf.el: Unify the charset indian-is13194.
13270 (indian-is13194): Specify unify-map.
13271
13272 2013-12-31 Leo Liu <sdl.web@gmail.com>
13273
13274 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
13275
13276 2013-12-30 Daniel Colascione <dancol@dancol.org>
13277
13278 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
13279 of printing a useless when we resume from sleep.
13280
13281 * progmodes/sh-script.el
13282 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
13283 in indentation code. (Bug#16233)
13284
13285 2013-12-28 João Távora <joaotavora@gmail.com>
13286
13287 * elec-pair.el (electric-pair-post-self-insert-function):
13288 Don't open extra newlines at beginning of buffer. (Bug#16272)
13289
13290 2013-12-28 Eli Zaretskii <eliz@gnu.org>
13291
13292 * frame.el (window-system-for-display): Don't allow to create a
13293 GUI frame from a -nw session on MS-Windows. (Bug#14739)
13294
13295 2013-12-28 Glenn Morris <rgm@gnu.org>
13296
13297 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
13298 Update callers.
13299
13300 * apropos.el (apropos-match-face):
13301 * calculator.el (calculator-displayer):
13302 * dabbrev.el (dabbrev-search-these-buffers-only):
13303 * face-remap.el (buffer-face-mode-face):
13304 * simple.el (yank-handled-properties):
13305 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
13306 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
13307 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
13308 (hashcash-double-spend-database):
13309 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
13310 (ruby-deep-indent-paren-style):
13311 * textmodes/flyspell.el (flyspell-auto-correct-binding):
13312 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
13313 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
13314 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
13315 Specify custom types.
13316
13317 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
13318 * bookmark.el (bookmark-bmenu-use-header-line):
13319 * doc-view.el (doc-view-scale-internally):
13320 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
13321 * register.el (register-preview-delay):
13322 * net/shr.el (shr-bullet):
13323 * progmodes/cfengine.el (cfengine-cf-promises)
13324 (cfengine-parameters-indent):
13325 * progmodes/octave.el (inferior-octave-error-regexp-alist):
13326 * textmodes/reftex-vars.el (reftex-label-regexps):
13327 * vc/log-edit.el (log-edit-setup-add-author): Add version.
13328
13329 * net/tls.el (tls-certtool-program): Fix default value.
13330
13331 * desktop.el (desktop-restore-in-current-display):
13332 * newcomment.el (comment-empty-lines):
13333 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
13334 (idlwave-pad-keyword):
13335 * progmodes/tcl.el (tcl-tab-always-indent):
13336 * textmodes/reftex-vars.el (reftex-index-default-tag):
13337 * elec-pair.el (electric-pair-skip-whitespace):
13338 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
13339
13340 * emacs-lisp/authors.el (authors-ignored-files)
13341 (authors-valid-file-names, authors-renamed-files-alist): Additions.
13342
13343 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
13344
13345 * shell.el (shell-dynamic-complete-command): Doc fix.
13346 (shell--command-completion-data): Shell completion now matches
13347 executable filenames from the current buffer's directory, on
13348 systems in which this behavior is the default (windows-nt, ms-dos).
13349
13350 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
13351
13352 * net/shr.el (shr-insert): Don't infloop if the width is zero.
13353
13354 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
13355
13356 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
13357 (bug#16251).
13358
13359 * electric.el: Move all electric-pair-* to elec-pair.el.
13360 * elec-pair.el: New file, split from electric.el.
13361
13362 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
13363
13364 * net/shr.el (shr-find-fill-point): Don't try to fill if the
13365 indentation level is larger than the width, because that will
13366 infloop.
13367 (shr-insert): Fill repeatedly long texts, so that Japanese is
13368 formatted correctly (bug#16263).
13369 (shr-find-fill-point): Off by one error in comparison with the
13370 indentation.
13371
13372 2013-12-26 João Távora <joaotavora@gmail.com>
13373
13374 * electric.el (electric-pair-mode): More flexible engine for skip-
13375 and inhibit predicates, new options for pairing-related functionality.
13376 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
13377 if that keeps or improves their balance in buffers.
13378 (electric-pair-delete-adjacent-pairs): Delete the pair when
13379 backspacing over adjacent matched delimiters.
13380 (electric-pair-open-extra-newline): Open extra newline when
13381 inserting newlines between adjacent matched delimiters.
13382 (electric--sort-post-self-insertion-hook):
13383 Sort post-self-insert-hook according to priority values when
13384 minor-modes are activated.
13385 * simple.el (newline-and-indent): Call newline with interactive
13386 set to t.
13387 (blink-paren-post-self-insert-function): Set priority to 100.
13388 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
13389 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
13390 comments. Locally set electric-pair-skip-whitespace to 'chomp and
13391 electric-pair-open-newline-between-pairs to nil.
13392
13393 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
13394
13395 * progmodes/python.el: Use lexical-binding.
13396 (python-nav-beginning-of-defun): Stop searching ASAP.
13397
13398 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
13399
13400 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
13401 Fix interactive spec. Doc fix. (Bug#15754)
13402
13403 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
13404
13405 * emacs-lisp/byte-run.el (eval-when-compile):
13406 * progmodes/cc-defs.el (cc-eval-when-compile):
13407 Fix edebug spec (bug#16184).
13408
13409 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
13410
13411 * net/shr.el (shr-visit-file): Remove debugging function.
13412 (shr-insert): Don't infloop if we can't find a good place to break
13413 the line (bug#16256).
13414
13415 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
13416
13417 * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
13418 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
13419 python-nav-lisp-forward-sexp-safe.
13420 (python-nav--forward-sexp): New argument SAFE allows switching
13421 forward sexp movement behavior for parens.
13422 (python-nav-forward-sexp): Throw errors on unterminated parens
13423 (Bug#16191).
13424 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
13425 (python-nav-backward-sexp-safe): New functions.
13426 (python-shell-buffer-substring):
13427 Use `python-nav-forward-sexp-safe'.
13428
13429 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
13430
13431 * net/shr.el (shr-find-fill-point): Don't break lines before a
13432 quotation mark.
13433 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
13434 (shr-find-fill-point): Remove the special checks for the quotation
13435 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
13436
13437 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
13438
13439 * net/eww.el (eww-form-textarea): Use a different face for
13440 textareas than text input since they have different keymaps
13441 (bug#16142).
13442
13443 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
13444
13445 * progmodes/python.el (python-nav-beginning-of-statement):
13446 Speed up (Bug#15295).
13447
13448 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
13449
13450 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
13451 the window configuration.
13452
13453 2013-12-24 Eli Zaretskii <eliz@gnu.org>
13454
13455 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
13456 we run on MS-Windows or MS-DOS.
13457
13458 2013-12-24 Martin Rudalics <rudalics@gmx.at>
13459
13460 * window.el (balance-windows-area): Call window-size instead of
13461 window-height and window-width. Bug#16241.
13462
13463 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
13464
13465 * net/eww.el (eww-bookmark-quit): Remove.
13466 (eww-bookmark-browse): Restore the window configuration when you
13467 choose a bookmark (bug#16144).
13468
13469 2013-12-24 Daniel Colascione <dancol@dancol.org>
13470
13471 * icomplete.el: Remove redundant :group arguments to `defcustom'
13472 throughout.
13473 (icomplete-show-matches-on-no-input): New customizable variable.
13474 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
13475 we have something to show.
13476 (icomplete-exhibit): Compute completions even if we have no user input.
13477
13478 2013-12-23 Daniel Colascione <dancol@dancol.org>
13479
13480 * icomplete.el: Move `provide' to end of file.
13481
13482 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
13483
13484 * net/gnutls.el (gnutls-verify-error): Add version tag.
13485
13486 2013-12-23 Chong Yidong <cyd@gnu.org>
13487
13488 * subr.el (set-transient-map): Rename from
13489 set-temporary-overlay-map. Doc fix.
13490
13491 * face-remap.el (text-scale-adjust):
13492 * indent.el (indent-rigidly):
13493 * kmacro.el (kmacro-call-macro):
13494 * minibuffer.el (minibuffer-force-complete):
13495 * repeat.el (repeat):
13496 * simple.el (universal-argument--mode):
13497 * calendar/todo-mode.el (todo-insert-item--next-param):
13498 * progmodes/f90.el (f90-abbrev-start): Callers changed.
13499
13500 * indent.el (indent-rigidly): Use substitute-command-keys.
13501
13502 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
13503
13504 * net/eww.el (eww-tag-select): Add text-property to jump to next
13505 select field.
13506 (eww): Add non-supported ftp error.
13507
13508 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
13509
13510 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
13511 comments. Handle electric indent after typing `?' and `!'.
13512
13513 2013-12-22 Chong Yidong <cyd@gnu.org>
13514
13515 * faces.el (face-spec-recalc): If the theme specs are not
13516 applicable to a frame, fall back on the defface spec.
13517 This prevents themes from obliterating faces on low-color terminals.
13518
13519 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
13520
13521 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
13522 after `{'. We need it after block openers, and it doesn't seem
13523 to hurt after hash openers.
13524
13525 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
13526
13527 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
13528 extracted from `ruby-smie-rules'.
13529 (ruby--electric-indent-chars): New variable.
13530 (ruby--electric-indent-p): New function.
13531 (ruby-mode): Use `electric-indent-functions' instead of
13532 `electric-indent-chars'.
13533
13534 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
13535
13536 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
13537 docstring.
13538 (ruby-smie-rules): Indent plus one level after `=>'.
13539
13540 2013-12-21 Richard Stallman <rms@gnu.org>
13541
13542 * simple.el (newline): Doc fix.
13543
13544 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
13545
13546 * net/eww.el (eww-list-histories, eww-list-histories)
13547 (eww-history-browse, eww-history-quit, eww-history-kill)
13548 (eww-history-mode-map, eww-history-mode): New command and
13549 functions to list browser histories.
13550 (eww-form-text): Support text form with disabled
13551 and readonly attributes.
13552 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
13553
13554 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13555
13556 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
13557 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
13558 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
13559 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
13560 Use `user-error'.
13561 (eww-bookmark-mode-map): Add menu.
13562 (eww-render, eww-mode): Use `setq-local'.
13563 (eww-tool-bar-map): New variable.
13564 (eww-mode): Set `tool-bar-map'.
13565 (eww-view-source): Check for `html-mode' with `fboundp'.
13566
13567 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
13568
13569 * net/shr.el (shr--extract-best-source): Don't bug out on audio
13570 elements with text inside. Also remove debugging.
13571
13572 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
13573
13574 * cus-start.el (all): Add ns-use-srgb-colorspace.
13575
13576 2013-12-21 Chong Yidong <cyd@gnu.org>
13577
13578 * custom.el (custom-theme-recalc-face): Do nothing if the face is
13579 undefined. Thus, theme settings for undefined faces do not take
13580 effect until the faces are defined with defface, the same as with
13581 theme variables.
13582
13583 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
13584 (face-spec-reset-face): Don't assign extra properties in temacs.
13585 (face-spec-recalc): Apply X resources too.
13586
13587 2013-12-21 Chong Yidong <cyd@gnu.org>
13588
13589 * faces.el (face-spec-set):
13590 * cus-face.el (custom-theme-set-faces, custom-set-faces):
13591 * custom.el (defface): Doc fixes (Bug#16203).
13592
13593 * indent.el (indent-rigidly-map): Add docstring, and move commands
13594 into named functions.
13595 (indent-rigidly-left, indent-rigidly-right)
13596 (indent-rigidly-left-to-tab-stop)
13597 (indent-rigidly-right-to-tab-stop): New functions. Decide on
13598 indentation direction based on bidi direction, and accumulate
13599 sequential commands in a single undo boundary.
13600 (indent-rigidly--pop-undo): New utility function.
13601
13602 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
13603
13604 * faces.el (read-face-name): Require crm.el when using crm-separator.
13605
13606 2013-12-20 Daniel Colascione <dancol@dancol.org>
13607
13608 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
13609 so that we don't reflow comments into the shebang line.
13610
13611 2013-12-20 Juri Linkov <juri@jurta.org>
13612
13613 * saveplace.el (save-place-to-alist): Add `dired-filename' as
13614 a position when `dired-directory' is non-nil. Check integer
13615 positions with `integerp'.
13616 (toggle-save-place, save-places-to-alist): Add check for
13617 `dired-directory'.
13618 (save-place-find-file-hook): Check integer positions with
13619 `integerp'.
13620 (save-place-dired-hook): Use `dired-goto-file' when
13621 `dired-filename' is found in the assoc list. Check integer
13622 positions with `integerp'.
13623 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
13624
13625 * dired.el (dired-initial-position-hook): Rename back from
13626 `dired-initial-point-hook'.
13627 (dired-initial-position): Rename `dired-initial-point-hook' to
13628 `dired-initial-position-hook'.
13629 (dired-file-name-at-point): Doc fix. (Bug#15329)
13630
13631 2013-12-20 Juri Linkov <juri@jurta.org>
13632
13633 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
13634 (read-regexp-suggestions): New function.
13635 (read-regexp): Use `read-regexp-defaults-function' to get default values.
13636 Use `read-regexp-suggestions'. Add non-empty default to history
13637 for empty input.
13638 (occur-read-regexp-defaults-function): Remove function.
13639 (occur-read-primary-args): Use `regexp-history-last' instead of
13640 `occur-read-regexp-defaults-function'.
13641
13642 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
13643 (hi-lock-line-face-buffer, hi-lock-face-buffer)
13644 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
13645 `hi-lock-read-regexp-defaults-function'. Doc fix.
13646 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
13647 with `find-tag-default-as-symbol-regexp'. Doc fix.
13648 (hi-lock-read-regexp-defaults): Remove function.
13649 (hi-lock-regexp-okay): Add check for null.
13650
13651 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
13652 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
13653
13654 * subr.el (find-tag-default-as-symbol-regexp): New function.
13655 (find-tag-default-as-regexp): Move symbol regexp formatting to
13656 `find-tag-default-as-symbol-regexp'.
13657
13658 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
13659
13660 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
13661 (Bug#14179)
13662
13663 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
13664
13665 * calendar/todo-mode.el: New implementation of item insertion
13666 commands and key bindings.
13667 (todo-key-prompt): New face.
13668 (todo-insert-item): New command.
13669 (todo-insert-item--parameters): New defconst, replacing defvar
13670 todo-insertion-commands-args-genlist.
13671 (todo-insert-item--param-key-alist): New defconst, replacing
13672 defvar todo-insertion-commands-arg-key-list.
13673 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
13674 (todo-insert-item--argsleft, todo-insert-item--apply-args)
13675 (todo-insert-item--next-param): New functions.
13676 (todo-insert-item--args, todo-insert-item--argleft)
13677 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
13678 New variables.
13679 (todo-key-bindings-t): Change binding of "i" from
13680 todo-insertion-map to todo-insert-item.
13681 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
13682 (todo-insertion-command-name, todo-insertion-commands-names)
13683 (todo-define-insertion-command, todo-insertion-commands)
13684 (todo-insertion-key-bindings, todo-insertion-map): Remove.
13685
13686 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
13687
13688 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
13689 (todo-toggle-item-highlighting): Use eval-and-compile instead of
13690 eval-when-compile.
13691 (todo-move-category): Allow choosing a non-existing todo file to
13692 move the category to, and create that file.
13693 (todo-default-priority): New user option.
13694 (todo-set-item-priority): Use it.
13695 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
13696 (desktop-restore-file-buffer): Declare.
13697 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
13698 (todo-modes-set-2): Locally set desktop-save-buffer to
13699 todo-desktop-save-buffer.
13700 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
13701 (auto-mode-alist): Add autoload cookie.
13702
13703 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
13704
13705 * emacs-lisp/subr-x.el: Renamed from helpers.el.
13706 helpers.el was a poor choice of name.
13707 (string-remove-prefix): New function.
13708 (string-remove-suffix): New function.
13709
13710 2013-12-20 Martin Rudalics <rudalics@gmx.at>
13711
13712 Fix assignment for new window total sizes.
13713 * window.el (window--pixel-to-size): Remove function.
13714 (window--pixel-to-total-1, window--pixel-to-total):
13715 Fix calculation of new total sizes.
13716
13717 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
13718
13719 * comint.el (comint-output-filter): Fix rear-nonsticky property
13720 placement (Bug#16010).
13721
13722 2013-12-20 Chong Yidong <cyd@gnu.org>
13723
13724 * faces.el (read-color): Minor fix for completion function.
13725
13726 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
13727
13728 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
13729 New option. (Bug#16182)
13730 (ruby-smie--indent-to-stmt-p): Use it.
13731 (ruby-smie-rules): Revert the logic in the handling of `when'.
13732 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
13733 (ruby-deep-arglist, ruby-deep-indent-paren)
13734 (ruby-deep-indent-paren-style): Update docstrings to note that the
13735 vars don't have any effect with SMIE.
13736
13737 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
13738
13739 * calc/calc.el (calc-enter, calc-pop): Use the variable
13740 `calc-context-sensitive-enter'.
13741
13742 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
13743
13744 * net/shr.el (shr-insert): Protect against infloops in degenerate
13745 tables.
13746
13747 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13748
13749 * progmodes/octave.el (octave): Add link to manual and octave
13750 homepage.
13751 (octave-mode-menu): Link to octave-mode manual.
13752
13753 2013-12-20 Leo Liu <sdl.web@gmail.com>
13754
13755 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
13756 insertion using skeleton-end-newline. (Bug#16138)
13757
13758 2013-12-20 Juri Linkov <juri@jurta.org>
13759
13760 * replace.el (occur-engine): Use `add-face-text-property'
13761 to add the face property to matches and titles. (Bug#14645)
13762
13763 * hi-lock.el (hi-green): Use lighter color "light green" closer to
13764 the palette of other hi-lock colors.
13765 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
13766
13767 2013-12-19 Juri Linkov <juri@jurta.org>
13768
13769 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
13770 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
13771 (minibuffer-history-symbol): Move variable declaration closer to
13772 its usage.
13773
13774 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
13775 (Bug#14785)
13776
13777 2013-12-19 Juri Linkov <juri@jurta.org>
13778
13779 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
13780 New function.
13781 (log-edit-hook): Add it to :options. (Bug#16170)
13782
13783 2013-12-19 Juri Linkov <juri@jurta.org>
13784
13785 * simple.el (eval-expression-print-format): Don't check for
13786 command names and the last command. Always display additional
13787 formats of the integer result in the echo area, and insert them
13788 to the current buffer only with a zero prefix arg.
13789 Display character when char-displayable-p is non-nil.
13790 (eval-expression): With a zero prefix arg, set `print-length' and
13791 `print-level' to nil, and insert the integer values from
13792 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
13793
13794 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
13795 `eval-last-sexp-arg-internal'. Doc fix.
13796 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
13797 `eval-last-sexp-print-value'. Doc fix.
13798 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
13799 Set `print-length' and `print-level' to nil when arg is zero.
13800 (eval-last-sexp): Doc fix.
13801 (eval-defun-2): Print the integer values from
13802 `eval-expression-print-format' at the end.
13803
13804 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
13805 values from `eval-expression-print-format' at the end.
13806
13807 * ielm.el (ielm-eval-input): Print the integer
13808 values from `eval-expression-print-format' at the end.
13809
13810 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
13811
13812 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
13813 2013-12-11T19:01:44Z!tzz@lifelogs.com.
13814
13815 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
13816
13817 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
13818 (hl-line-highlight, global-hl-line-highlight): Use it.
13819 (hl-line-overlay): Use defvar-local.
13820
13821 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
13822
13823 * term/ns-win.el: Require dnd.
13824 (global-map): Remove drag items.
13825 (ns-insert-text, ns-set-foreground-at-mouse)
13826 (ns-set-background-at-mouse):
13827 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
13828 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
13829 New functions.
13830
13831 2013-12-19 Glenn Morris <rgm@gnu.org>
13832
13833 * emacs-lisp/ert.el (ert-select-tests):
13834 Fix string/symbol mixup. (Bug#16121)
13835
13836 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
13837
13838 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
13839 keywords to their parent.
13840
13841 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
13842
13843 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
13844 first arg to be a string (fixed dead code), or an operator symbol.
13845 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
13846 operator symbols.
13847 (ruby-smie-rules): Remove parent token check in the `.' clause, it
13848 did nothing. Don't respond to `(:after ".")', it will be called
13849 with :before anyway. Remove the ` @ ' rule, it didn't seem to
13850 change anything. Only return indentation for binary operators
13851 when they are hanging. De-dent opening paren when its parent is
13852 `.', otherwise it looks bad when the dot is not at bol or eol
13853 (bug#16182).
13854
13855 2013-12-19 Juri Linkov <juri@jurta.org>
13856
13857 * replace.el (query-replace-read-args): Split a non-negative arg
13858 and a negative arg into separate elements.
13859 (query-replace, query-replace-regexp, replace-string)
13860 (replace-regexp): Add arg `backward'. Doc fix.
13861 (replace-match-maybe-edit): When new arg `backward' is non-nil,
13862 move point to the beginning of the match.
13863 (replace-search, replace-highlight): Use new arg `backward'
13864 to set the value of `isearch-forward'.
13865 (perform-replace): Add arg `backward' and use it to perform
13866 replacement backward. (Bug#14979)
13867
13868 * isearch.el (isearch-query-replace): Use a negative prefix arg
13869 to call `perform-replace' with a non-nil arg `backward'.
13870
13871 2013-12-18 Juri Linkov <juri@jurta.org>
13872
13873 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
13874 to the default list. Move `log-edit-show-files' to the end.
13875 Add more available functions to options.
13876 (log-edit): Move default specific settings to
13877 `log-edit-insert-message-template'. Don't move point.
13878 (log-edit-insert-message-template): New function.
13879 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
13880 (Bug#16170)
13881
13882 2013-12-18 Juri Linkov <juri@jurta.org>
13883
13884 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
13885 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
13886
13887 2013-12-18 Leo Liu <sdl.web@gmail.com>
13888
13889 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
13890 (Bug#16186)
13891
13892 2013-12-18 Eli Zaretskii <eliz@gnu.org>
13893
13894 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
13895 formats for displaying file sizes when the -s switch is given.
13896 Instead, compute a separate format for displaying the size in
13897 blocks, which is displayed in addition to the "regular" size.
13898 When -h is given in addition to -s, produce size in blocks in
13899 human-readable form as well. (Bug#16179)
13900
13901 2013-12-18 Tassilo Horn <tsdh@gnu.org>
13902
13903 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
13904 Reference tables with ~\ref{...} instead of only \ref{...}.
13905
13906 2013-12-18 Chong Yidong <cyd@gnu.org>
13907
13908 * cus-edit.el (custom-magic-alist): Fix "themed" description
13909 (Bug#14348).
13910
13911 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
13912 is non-nil, do not create a new entry in the symbol's theme-value
13913 or theme-face property; update theme-settings only (Bug#14664).
13914 (custom-available-themes): Doc fix.
13915
13916 * cus-theme.el (custom-new-theme-mode-map): Add bindings
13917 (Bug#15674).
13918
13919 * replace.el (occur-engine): Avoid infloop (Bug#7593).
13920
13921 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
13922
13923 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
13924 (Bug#13914).
13925
13926 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
13927
13928 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
13929
13930 2013-12-18 Glenn Morris <rgm@gnu.org>
13931
13932 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
13933 * cus-start.el (load-prefer-newer): New option.
13934
13935 2013-12-18 Le Wang <l26wang@gmail.com>
13936
13937 * comint.el (comint-previous-matching-input-from-input):
13938 Retain point (Bug#13404).
13939
13940 2013-12-18 Chong Yidong <cyd@gnu.org>
13941
13942 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
13943
13944 2013-12-18 Glenn Morris <rgm@gnu.org>
13945
13946 * mail/emacsbug.el (report-emacs-bug):
13947 Only mention enable-multibyte-characters if non-standard.
13948
13949 2013-12-17 Juri Linkov <juri@jurta.org>
13950
13951 * arc-mode.el (archive-extract-by-file): Check if directory exists
13952 before deletion to not show irrelevant errors if it doesn't exist.
13953
13954 2013-12-17 Juri Linkov <juri@jurta.org>
13955
13956 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
13957 (Bug#14751)
13958
13959 * net/eww.el (browse-web): Add alias to `eww'.
13960 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
13961 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
13962
13963 * net/browse-url.el (browse-url-browser-function): Move `eww'
13964 closer to similar functions.
13965
13966 * startup.el (fancy-startup-screen, fancy-about-screen):
13967 Set browse-url-browser-function to eww-browse-url locally.
13968 (Bug#14751)
13969
13970 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
13971
13972 * window.el (window--pixel-to-total): Remove unused `mini' var.
13973 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
13974 (split-window): Remove unused `new' var.
13975 (window--display-buffer): Remove unused `frame' and `delta' vars.
13976 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
13977 and display-width'.
13978
13979 2013-12-17 Martin Rudalics <rudalics@gmx.at>
13980
13981 * dired.el (dired-mark-pop-up):
13982 * register.el (register-preview): Don't bind
13983 split-height-threshold here since it's now done in
13984 display-buffer-below-selected.
13985
13986 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
13987
13988 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
13989 xterm-rgb-convert-to-16bit.
13990 (rxvt-register-default-colors): Standardize with
13991 xterm-register-default-colors (Bug#14078).
13992
13993 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
13994
13995 * simple.el (kill-region): Pass mark first, then point, so that
13996 kill-append works right (Bug#12819).
13997 (copy-region-as-kill, kill-ring-save): Likewise.
13998
13999 2013-12-17 Leo Liu <sdl.web@gmail.com>
14000
14001 * net/rcirc.el (rcirc-add-face):
14002 * eshell/em-prompt.el (eshell-emit-prompt):
14003 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
14004 (Bug#16167)
14005
14006 2013-12-17 Chong Yidong <cyd@gnu.org>
14007
14008 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
14009 Suggested by Xue Fuqiao.
14010
14011 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
14012
14013 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
14014
14015 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
14016
14017 * net/shr.el (shr-insert-document): Remove unused var
14018 `shr-preliminary-table-render'.
14019 (shr-rescale-image): Remove unused arg `force'.
14020 (shr-put-image): Update calls accordingly.
14021 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
14022
14023 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
14024
14025 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
14026 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
14027 :close-all, to see which indentation method to use (Bug#16116).
14028 (smie-rules-function): Document the method :close-all.
14029
14030 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
14031
14032 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
14033
14034 * net/eww.el (eww-display-html): If we can't find the anchor we're
14035 looking for, then go to point-min.
14036
14037 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
14038
14039 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
14040 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
14041 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
14042 Expand dir too, in case it's relative.
14043
14044 2013-12-16 Juri Linkov <juri@jurta.org>
14045
14046 * desktop.el (desktop-auto-save-timeout): Change default to
14047 `auto-save-timeout'. Doc fix.
14048 (desktop-save): Skip the timestamp in desktop-saved-frameset
14049 when checking for auto-save changes.
14050 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
14051 `desktop-auto-save' is called repeatedly by the idle timer.
14052 (desktop-auto-save-set-timer): Replace `run-with-timer' with
14053 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
14054 (Bug#15331)
14055
14056 2013-12-16 Juri Linkov <juri@jurta.org>
14057
14058 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
14059 (Bug#16035)
14060 (isearch-pre-command-hook): Check `this-command' for symbolp.
14061
14062 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
14063
14064 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
14065
14066 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
14067
14068 * progmodes/cfengine.el (cfengine3--current-word): Remove.
14069 (cfengine3--current-function): Bring in the current-function
14070 functionality from `cfengine3--current-word'.
14071 (cfengine3-completion-function): Bring in the
14072 bounds-of-current-word functionality from
14073 `cfengine3--current-word'.
14074
14075 2013-12-16 Martin Rudalics <rudalics@gmx.at>
14076
14077 * window.el (display-buffer-below-selected):
14078 Bind split-height-threshold to 0 as suggested by Juri Linkov.
14079
14080 2013-12-16 Leo Liu <sdl.web@gmail.com>
14081
14082 * progmodes/compile.el (compile-goto-error): Do not push-mark.
14083 Remove NOMSG arg and all uses changed.
14084
14085 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
14086
14087 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
14088 (cua--deactivate-rectangle): Don't deactivate the mark.
14089 (cua-set-rectangle-mark): Don't set mark-active since
14090 cua--activate-rectangle already does it for us.
14091 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
14092 non-rectangular region.
14093
14094 * emulation/cua-base.el (cua-repeat-replace-region):
14095 Use with-current-buffer.
14096
14097 * net/gnutls.el: Use cl-lib.
14098 (gnutls-negotiate): `mapcan' -> cl-mapcan.
14099
14100 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
14101
14102 * emacs-lisp/package.el (package-built-in-p): Support both
14103 built-in and the package.el converted package descriptions.
14104 (package-show-package-list): Allow keywords.
14105 (package-keyword-button-action): Use it instead of
14106 `finder-list-matches'.
14107 (package-menu-filter-interactive): Interactive filtering (by
14108 keyword) function.
14109 (package-menu--generate): Support keywords and change keymappings
14110 and headers when they are given.
14111 (package--has-keyword-p): Helper function.
14112 (package-menu--refresh): Use it.
14113 (package--mapc): Helper function.
14114 (package-all-keywords): Use it.
14115 (package-menu-mode-map): Set up menu items and keybindings to
14116 provide a filtering UI.
14117
14118 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
14119
14120 * net/gnutls.el (gnutls-verify-error): New defcustom to control
14121 the behavior when a certificate fails validation. Defaults to
14122 old behavior: never abort, just warn.
14123 (gnutls-negotiate): Use it.
14124
14125 2013-12-14 Martin Rudalics <rudalics@gmx.at>
14126
14127 * window.el (display-buffer-below-selected): Never split window
14128 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
14129
14130 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
14131
14132 * emacs-lisp/package.el (package--prepare-dependencies): New function.
14133 (package-buffer-info): Use it (bug#15108).
14134
14135 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
14136
14137 * icomplete.el (icomplete-completions): Make sure the prefix is already
14138 displayed elsewhere before hiding it (bug#16219).
14139
14140 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
14141
14142 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
14143 open-paren tokens when preceded by a open-paren, too.
14144 (ruby-smie-rules): Handle virtual indentation after open-paren
14145 tokens specially. If there is code between it and eol, return the
14146 column where is starts (Bug#16118).
14147
14148 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
14149
14150 * progmodes/cfengine.el: Fix `add-hook' doc.
14151 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
14152 (cfengine3--current-word): Fix parameters.
14153 (cfengine3-make-syntax-cache): Simplify further.
14154 (cfengine3-completion-function, cfengine3--current-function):
14155 Use `assq' for symbols.
14156 (cfengine3--current-function): Fix `cfengine3--current-word' call.
14157
14158 2013-12-13 Glenn Morris <rgm@gnu.org>
14159
14160 * loadup.el (load-path): Warn if site-load or site-init changes it.
14161 No more need to reset it when bootstrapping.
14162
14163 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
14164
14165 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
14166 locations for cf-promises.
14167 (cfengine-mode-syntax-functions-regex): New caching variable.
14168 (cfengine3-fallback-syntax): Fallback syntax for cases where
14169 cf-promises doesn't run.
14170 (cfengine3--current-word): Reimplement using
14171 `cfengine-mode-syntax-functions-regex'.
14172 (cfengine3-completion-function, cfengine3--current-function):
14173 Use `cfengine3-make-syntax-cache' directly.
14174 (cfengine3-clear-syntax-cache): New function.
14175 (cfengine3-make-syntax-cache): Simplify and create
14176 `cfengine-mode-syntax-functions-regex' on demand.
14177 (cfengine3-format-function-docstring): Don't call
14178 `cfengine3-make-syntax-cache' explicitly.
14179
14180 2013-12-13 Martin Rudalics <rudalics@gmx.at>
14181
14182 Fix windmove-find-other-window broken after pixelwise resizing
14183 (Bug#16017).
14184 * windmove.el (windmove-other-window-loc): Revert change from
14185 2013-12-04.
14186 (windmove-find-other-window): Call window-in-direction.
14187 * window.el (window-in-direction): New arguments SIGN, WRAP and
14188 MINI to emulate original windmove-find-other-window behavior.
14189
14190 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
14191
14192 * simple.el (blink-matching--overlay): New variable.
14193 (blink-matching-open): Instead of moving point, highlight the
14194 matching paren with an overlay
14195 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
14196
14197 * faces.el (paren-showing-faces, show-paren-match)
14198 (show-paren-mismatch): Move from paren.el.
14199
14200 2013-12-13 Leo Liu <sdl.web@gmail.com>
14201
14202 * indent.el (indent-region): Disable progress reporter in
14203 minibuffer. (Bug#16108)
14204
14205 * bindings.el (visual-order-cursor-movement): Fix version.
14206
14207 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
14208
14209 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
14210 Also match after beginning of line.
14211 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
14212 files. Thanks to Russell Sim. (Bug#15378)
14213
14214 2013-12-13 Juri Linkov <juri@jurta.org>
14215
14216 * simple.el <Keypad support>: Remove key bindings duplicated
14217 with bindings.el. (Bug#14397)
14218
14219 2013-12-13 Juri Linkov <juri@jurta.org>
14220
14221 * comint.el (comint-mode-map): Replace `delete-char' with
14222 `delete-forward-char'. (Bug#16109)
14223
14224 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
14225
14226 * progmodes/python.el (python-indent-calculate-indentation):
14227 Fix de-denters cornercase. (Bug#15731)
14228
14229 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
14230
14231 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
14232 (advice--make): Pay attention to `depth'.
14233 (advice--make-1): Don't autoload commands eagerly.
14234 * emacs-lisp/elp.el (elp-instrument-function):
14235 * emacs-lisp/trace.el (trace-function-internal):
14236 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
14237
14238 * iswitchb.el (iswitchb-mode): Don't belittle ido.
14239
14240 2013-12-12 Eli Zaretskii <eliz@gnu.org>
14241
14242 * term/w32-win.el (w32-handle-dropped-file):
14243 * startup.el (normal-top-level):
14244 * net/browse-url.el (browse-url-file-url):
14245 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
14246 decode file names using 'utf-8' rather than
14247 file-name-coding-system.
14248
14249 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
14250
14251 * progmodes/python.el (python-indent-context)
14252 (python-indent-calculate-indentation): Fix auto-identation
14253 behavior for comment blocks. (Bug#15916)
14254
14255 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
14256
14257 * progmodes/python.el (python-indent-calculate-indentation):
14258 When determining indentation, don't treat "return", "pass", etc., as
14259 operators when they are just string constituents. (Bug#15812)
14260
14261 2013-12-12 Juri Linkov <juri@jurta.org>
14262
14263 * uniquify.el (uniquify-buffer-name-style): Change default to
14264 `post-forward-angle-brackets'.
14265
14266 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
14267 `uniquify'. Change default to `post-forward-angle-brackets'.
14268
14269 2013-12-11 Glenn Morris <rgm@gnu.org>
14270
14271 * emacs-lisp/package.el (finder-list-matches):
14272 Autoload rather than falsely declaring.
14273
14274 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
14275
14276 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
14277 (eww-mode-map): Use them.
14278
14279 2013-12-11 Martin Rudalics <rudalics@gmx.at>
14280
14281 * window.el (display-buffer-in-side-window): Fix doc-string
14282 (Bug#16115).
14283
14284 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
14285
14286 * vc/vc-git.el: Silence byte-compiler warnings.
14287 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
14288 (log-edit-set-header): Declare.
14289
14290 2013-12-11 Eli Zaretskii <eliz@gnu.org>
14291
14292 * Makefile.in (custom-deps, finder-data): Run output file names
14293 through unmsys--file-name. (Bug#16099)
14294
14295 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
14296
14297 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
14298 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
14299
14300 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
14301 instead of deleting the selection "by hand" (bug#16098).
14302 Rely on insert-for-yank to yank rectangles.
14303 (cua-highlight-region-shift-only): Mark obsolete.
14304 (cua-mode): Don't enable/disable transient-mark-mode,
14305 shift-select-mode (cua-mode works both with and without them), and
14306 pc-selection-mode (obsolete).
14307 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
14308 (cua--deactivate-rectangle): Deactivate it.
14309
14310 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
14311 (delete-selection-helper): Make sure yank starts at the top of the
14312 deleted region.
14313 (minibuffer-keyboard-quit): Use region-active-p.
14314
14315 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
14316
14317 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
14318 to `delete' (bug#16109).
14319
14320 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14321
14322 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
14323 info manual and show keybindings and set `:group' keyword.
14324
14325 2013-12-11 Juri Linkov <juri@jurta.org>
14326
14327 * delsel.el (delete-active-region): Let-bind `this-command'
14328 to prevent `kill-region' from changing its original value.
14329 (delete-selection-helper): Handle `overwrite-mode' for the type
14330 `kill' exactly the same way as for the type `t'.
14331 (insert-char, quoted-insert, reindent-then-newline-and-indent):
14332 Support more commands. (Bug#13312)
14333
14334 2013-12-11 Juri Linkov <juri@jurta.org>
14335
14336 * bindings.el: Map kp keys to non-kp keys systematically
14337 with basic modifiers control, meta and shift. (Bug#14397)
14338
14339 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
14340
14341 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
14342 "Close browser" menu items. Fix wrong function of "List
14343 bookmarks".
14344
14345 2013-12-11 Juri Linkov <juri@jurta.org>
14346
14347 * misearch.el (multi-isearch-buffers): Set the value of
14348 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
14349 arg of isearch-forward to t.
14350 (multi-isearch-buffers-regexp): Set the value of
14351 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
14352 arg of isearch-forward-regexp to t.
14353 (multi-isearch-files): Set the value of
14354 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
14355 arg of isearch-forward to t.
14356 (multi-isearch-files-regexp): Set the value of
14357 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
14358 arg of isearch-forward-regexp to t. (Bug#16035)
14359
14360 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
14361 arg of isearch-forward to t.
14362 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
14363 arg of isearch-forward-regexp to t.
14364 (dired-isearch-filter-filenames): Remove unnecessary check for
14365 `dired-isearch-filenames'.
14366
14367 * comint.el (comint-history-isearch-backward):
14368 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
14369 (comint-history-isearch-backward-regexp):
14370 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
14371
14372 2013-12-10 Eli Zaretskii <eliz@gnu.org>
14373
14374 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
14375 unmsys--file-name. (Bug#16099)
14376
14377 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
14378
14379 * emacs-lisp/package.el (package-keyword-button-action):
14380 Remove finder.el require dependency.
14381
14382 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
14383
14384 * emacs-lisp/package.el: Require finder.el.
14385 (describe-package-1): Add keyword buttons.
14386 (package-make-button): New convenience function.
14387 (package-keyword-button-action): Keyword button action using
14388 `finder-list-matches'.
14389
14390 2013-12-09 Eli Zaretskii <eliz@gnu.org>
14391
14392 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
14393 last commit.
14394
14395 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
14396
14397 * autorevert.el (auto-revert-notify-add-watch): Do not handle
14398 symlinked files.
14399
14400 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
14401
14402 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
14403 after the end of a percent literal.
14404
14405 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
14406
14407 * progmodes/ruby-mode.el (ruby-forward-string): Document.
14408 Handle caret-delimited strings (Bug#16079).
14409
14410 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
14411
14412 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
14413 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
14414 `ruby-parse-partial' (Bug#16078).
14415
14416 2013-12-09 Leo Liu <sdl.web@gmail.com>
14417
14418 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
14419
14420 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
14421
14422 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
14423 (js-switch-indent-offset): New option.
14424 (js--proper-indentation): Use it. And handle the case when
14425 "default" is actually a key in an object literal.
14426 (js--same-line): New function.
14427 (js--multi-line-declaration-indentation): Use it.
14428 (js--indent-in-array-comp, js--array-comp-indentation):
14429 New functions.
14430 (js--proper-indentation): Use them, to handle array comprehension
14431 continuations.
14432
14433 2013-12-08 Leo Liu <sdl.web@gmail.com>
14434
14435 * progmodes/flymake.el (flymake-highlight-line): Re-write.
14436 (flymake-make-overlay): Remove arg MOUSE-FACE.
14437 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
14438
14439 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
14440
14441 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
14442 New function.
14443 (redisplay-highlight-region-function): Use it.
14444
14445 * emulation/cua-base.el (cua--explicit-region-start)
14446 (cua--last-region-shifted): Remove.
14447 (cua--deactivate): Use deactivate-mark.
14448 (cua--pre-command-handler-1): Don't handle shift-selection.
14449 (cua--post-command-handler-1): Don't change transient-mark-mode.
14450 (cua--select-keymaps): Use region-active-p rather than
14451 cua--explicit-region-start or cua--last-region-shifted.
14452 (cua-mode): Enable shift-select-mode.
14453
14454 2013-12-08 Leo Liu <sdl.web@gmail.com>
14455
14456 * progmodes/flymake.el (flymake-popup-current-error-menu):
14457 Rename from flymake-display-err-menu-for-current-line. Reimplement.
14458 (flymake-posn-at-point-as-event, flymake-popup-menu)
14459 (flymake-make-emacs-menu): Remove. (Bug#16077)
14460
14461 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
14462
14463 * rect.el (rectangle-mark-mode): Activate mark even if
14464 transient-mark-mode is off (bug#16066).
14465 (rectangle--highlight-for-redisplay): Fix boundary condition when point
14466 is > mark and at bolp.
14467
14468 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
14469 (region-extract-function): Use it.
14470 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
14471 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
14472 Delete functions.
14473 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
14474 kill-ring-save, kill-region, delete-char, delete-forward-char.
14475 Ignore self-insert-iso.
14476
14477 * emulation/cua-gmrk.el (cua--init-global-mark):
14478 Ignore `self-insert-iso'.
14479
14480 * emulation/cua-base.el (cua--prefix-copy-handler)
14481 (cua--prefix-cut-handler): Rely on region-extract-function rather than
14482 checking cua--rectangle.
14483 (cua-delete-region): Use region-extract-function.
14484 (cua-replace-region): Delete function.
14485 (cua-copy-region, cua-cut-region): Obey region-extract-function.
14486 (cua--pre-command-handler-1): Don't do the delete-selection thing.
14487 (cua--self-insert-char-p): Ignore `self-insert-iso'.
14488 (cua--init-keymaps): Don't remap delete-selection commands.
14489 (cua-mode): Use delete-selection-mode instead of rolling our own
14490 (bug#16085).
14491
14492 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
14493 Obey region-extract-function.
14494
14495 Make registers and delete-selection-mode work on rectangles.
14496 * register.el (describe-register-1): Don't modify the register's value.
14497 (copy-to-register): Obey region-extract-function.
14498 * delsel.el (delete-active-region): Obey region-extract-function.
14499
14500 2013-12-08 Leo Liu <sdl.web@gmail.com>
14501
14502 * progmodes/flymake.el (flymake, flymake-error-bitmap)
14503 (flymake-warning-bitmap, flymake-fringe-indicator-position)
14504 (flymake-compilation-prevents-syntax-check)
14505 (flymake-start-syntax-check-on-newline)
14506 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
14507 (flymake-start-syntax-check-on-find-file, flymake-log-level)
14508 (flymake-xml-program, flymake-master-file-dirs)
14509 (flymake-master-file-count-limit)
14510 (flymake-allowed-file-name-masks): Relocate.
14511 (flymake-makehash, flymake-float-time)
14512 (flymake-replace-regexp-in-string, flymake-split-string)
14513 (flymake-get-temp-dir): Remove.
14514 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
14515 (flymake-current-row, flymake-selected-frame)
14516 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
14517 related functions. (Bug#16077)
14518
14519 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
14520
14521 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
14522
14523 2013-12-07 Tassilo Horn <tsdh@gnu.org>
14524
14525 * help-fns.el (describe-function-1): Use new advice-* functions
14526 rather than old ad-* functions. Fix function type description and
14527 source links for advised functions and subrs.
14528
14529 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
14530
14531 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
14532
14533 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
14534
14535 * progmodes/compile.el (compilation-start):
14536 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
14537
14538 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
14539 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
14540
14541 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
14542
14543 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
14544 Touch up the last change.
14545
14546 2013-12-06 Leo Liu <sdl.web@gmail.com>
14547
14548 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
14549 (inferior-octave-startup): Always use "octave> " for prompt.
14550 (octave-goto-function-definition)
14551 (octave-sync-function-file-names)
14552 (octave-find-definition-default-filename): Remove redundant backquotes.
14553
14554 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
14555
14556 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
14557 syntax for `?'.
14558 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
14559 where appropriate already.
14560 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
14561 end of method names (Bug#15874).
14562
14563 2013-12-06 Juri Linkov <juri@jurta.org>
14564
14565 * isearch.el (isearch--saved-overriding-local-map):
14566 New internal variable.
14567 (isearch-mode): Set it to the initial value of
14568 `overriding-terminal-local-map'.
14569 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
14570 with `isearch--saved-overriding-local-map'. (Bug#16035)
14571
14572 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
14573
14574 * progmodes/octave.el (inferior-octave-completion-table):
14575 Turn back into function, use `completion-table-with-cache'
14576 (Bug#11906). Update all references.
14577
14578 * minibuffer.el (completion-table-with-cache): New function.
14579
14580 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
14581
14582 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
14583
14584 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
14585
14586 * net/eww.el (eww-current-source): New variable to store page
14587 source.
14588 (eww-display-html, eww-mode, eww-save-history)
14589 (eww-restore-history): Use it.
14590 (eww-view-source): New command to view page source.
14591 Opportunistically uses `html-mode' to highlight the buffer.
14592 (eww-mode-map): Install it.
14593
14594 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
14595
14596 * net/dbus.el (dbus-unregister-service)
14597 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
14598 Fix docstring.
14599 (dbus-unregister-service): Skip :serial entries in
14600 `dbus-registered-objects-table'.
14601 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
14602
14603 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
14604
14605 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
14606 around keywords with extra `split-string' argument.
14607
14608 2013-12-04 Martin Rudalics <rudalics@gmx.at>
14609
14610 * windmove.el (windmove-other-window-loc): Handle navigation
14611 between windows (excluding the minibuffer window - Bug#16017).
14612
14613 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
14614
14615 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
14616 in D-Bus type syntax.
14617 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
14618 preserve unibyte strings. (Bug#16048)
14619
14620 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
14621
14622 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
14623 Call force-mode-line-update is the proper buffer (bug#16042).
14624
14625 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
14626
14627 * vc/log-edit.el (log-edit-add-new-comment): Rename to
14628 `log-edit-remember-comment', make argument optional. Adjust all
14629 callers.
14630 (log-edit-mode): Add `log-edit-remember-comment' to
14631 `kill-buffer-hook' locally.
14632 (log-edit-kill-buffer): Don't remember comment explicitly since
14633 the buffer is killed anyway.
14634
14635 2013-12-04 Juri Linkov <juri@jurta.org>
14636
14637 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
14638 add-hook and remove-hook for multi-buffer search. (Bug#16035)
14639
14640 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
14641
14642 * notifications.el (notifications-close-notification): Call the
14643 D-Bus method with ID being a `:uint32'. (Bug#16030)
14644
14645 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
14646
14647 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
14648
14649 2013-12-03 Juri Linkov <juri@jurta.org>
14650
14651 * progmodes/compile.el (compilation-start): Rename window alist
14652 entry `no-display-ok' to `allow-no-window'.
14653
14654 * simple.el (shell-command): Add window alist entry
14655 `allow-no-window' to `display-buffer'.
14656 (async-shell-command): Doc fix.
14657
14658 * window.el (display-buffer-no-window): New action function.
14659 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
14660
14661 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
14662
14663 * vc/log-edit.el (log-edit-set-header): Extract from
14664 `log-edit-toggle-header'.
14665 (log-edit-extract-headers): Separate the summary, when extracted
14666 from header, from the rest of the message with an empty line.
14667
14668 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
14669 line, if present, to the Summary header.
14670
14671 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
14672
14673 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
14674 in current-buffer (bug#16029).
14675
14676 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
14677
14678 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
14679 (debugger-mode-map): Bind it.
14680 (debugger--backtrace-base): New function.
14681 (debugger-eval-expression): Use it.
14682 (debugger-frame-number): Skip local vars when present.
14683 (debugger--locals-visible-p, debugger--insert-locals)
14684 (debugger--show-locals, debugger--hide-locals): New functions.
14685
14686 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
14687
14688 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
14689 "LC_ALL".
14690 (tramp-get-remote-locale): New defun.
14691 (tramp-open-connection-setup-interactive-shell): Use it.
14692
14693 2013-12-02 Leo Liu <sdl.web@gmail.com>
14694
14695 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
14696
14697 * progmodes/sh-script.el (sh-shell-process):
14698 * progmodes/octave.el (inferior-octave-process-live-p):
14699 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
14700 (gdb-inferior-io-sentinel):
14701 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
14702
14703 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
14704
14705 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
14706 `save-selected-window' to `log-edit-hide-buf'. This makes
14707 `log-edit-show-files' idempotent.
14708 (log-edit-show-files): Mark the new window as dedicated.
14709
14710 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
14711
14712 * vc/log-edit.el (log-edit-mode-map): Add binding for
14713 `log-edit-kill-biffer'.
14714 (log-edit-hide-buf): Add a FIXME comment.
14715 (log-edit-add-new-comment): New function, extracted from
14716 `log-edit-done'.
14717 (log-edit-done, log-edit-add-to-changelog): Use it.
14718 (log-edit-kill-buffer): New command.
14719
14720 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
14721
14722 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
14723 instead of killing the buffer.
14724
14725 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
14726
14727 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
14728
14729 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14730
14731 * net/eww.el (eww-form-checkbox-selected-symbol)
14732 (eww-form-checkbox-symbol): New customizable variable.
14733 (eww-form-checkbox, eww-toggle-checkbox):
14734 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
14735
14736 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
14737 (shr--get-media-pref, shr--extract-best-source): New function.
14738 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
14739 no :src tag was specified.
14740
14741 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
14742 (eww-render): Handle `eww-use-external-browser-for-content-type'.
14743 Use \\` to match beginning of string instead of ^.
14744 (eww-browse-with-external-browser): Provide optional URL parameter.
14745 (eww-render): Set `eww-current-title' back to "".
14746
14747 * net/shr.el (shr-tag-video): Display content for video if no
14748 poster is available.
14749 (shr-tag-audio): Add support for <audio> tag.
14750
14751 * net/eww.el (eww-text-input-types): New const.
14752 (eww-process-text-input): Treat input types in
14753 `eww-text-input-types' as text.
14754
14755 * net/shr.el (shr-tag-table): Fix comment typo.
14756
14757 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
14758
14759 * net/eww.el (eww-follow-link): New command to avoid reloading
14760 pages when we follow #target links (bug#15243).
14761 (eww-quit): Special mode buffers shouldn't query before exiting.
14762
14763 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
14764
14765 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
14766 forms.
14767
14768 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
14769
14770 * net/eww.el (eww-restore-history): Update the window title after
14771 moving in the history.
14772 (eww-current-dom): New variable used to save the current DOM.
14773
14774 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
14775
14776 * vc/log-edit.el (log-edit-mode-map): Add binding for
14777 `log-edit-beginning-of-line'.
14778 (log-edit-setup-add-author): New user option.
14779 (log-edit-beginning-of-line): New command.
14780 (log-edit): Move major mode call above the contents setup so that
14781 the local variable values are already applied.
14782 (log-edit): Only insert "Author: " when
14783 `log-edit-setup-add-author' is non-nil.
14784 (log-edit): When SETUP is non-nil, position point after ": "
14785 instead of point-min.
14786
14787 2013-12-01 Glenn Morris <rgm@gnu.org>
14788
14789 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
14790
14791 2013-11-30 Eli Zaretskii <eliz@gnu.org>
14792
14793 * startup.el (fancy-splash-frame): On MS-Windows, trigger
14794 redisplay to make sure the initial frame gets a chance to become
14795 visible. (Bug#16014)
14796
14797 2013-11-30 Martin Rudalics <rudalics@gmx.at>
14798
14799 Support resizing frames and windows pixelwise.
14800 * cus-start.el (frame-resize-pixelwise)
14801 (window-resize-pixelwise): New entries.
14802 * emacs-lisp/debug.el (debug): Use window-total-height instead
14803 of window-total-size.
14804 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
14805 * help.el (describe-bindings-internal): Use help-buffer as
14806 argument for with-help-window.
14807 (temp-buffer-max-width): New option.
14808 (resize-temp-buffer-window, help-window-setup)
14809 (with-help-window): Rewrite.
14810 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
14811 dragging dividers.
14812 * window.el (frame-char-size, window-min-pixel-height)
14813 (window-safe-min-pixel-height, window-safe-min-pixel-width)
14814 (window-min-pixel-width, window-safe-min-pixel-size)
14815 (window-combination-p, window-safe-min-size)
14816 (window-resizable-p, window--size-to-pixel)
14817 (window--pixel-to-size, window--resize-apply-p): New functions.
14818 (window-safe-min-height): Fix doc-string.
14819 (window-size, window-min-size, window--min-size-1)
14820 (window-sizable, window-sizable-p, window--min-delta-1)
14821 (window-min-delta, window--max-delta-1, window-max-delta)
14822 (window--resizable, window--resizable-p, window-resizable)
14823 (window-full-height-p, window-full-width-p, window-at-side-p)
14824 (window--in-direction-2, window-in-direction)
14825 (window--resize-reset-1, window--resize-mini-window)
14826 (window-resize, window-resize-no-error)
14827 (window--resize-child-windows-normal)
14828 (window--resize-child-windows, window--resize-siblings)
14829 (window--resize-this-window, window--resize-root-window)
14830 (window--resize-root-window-vertically)
14831 (adjust-window-trailing-edge, enlarge-window, shrink-window)
14832 (maximize-window, minimize-window, delete-window)
14833 (quit-restore-window, window-split-min-size, split-window)
14834 (balance-windows-2, balance-windows)
14835 (balance-windows-area-adjust, balance-windows-area)
14836 (window--state-get-1, window-state-get, window--state-put-1)
14837 (window--state-put-2, window-state-put)
14838 (display-buffer-record-window, window--display-buffer):
14839 Make functions handle pixelwise sizing of windows.
14840 (display-buffer--action-function-custom-type)
14841 (display-buffer-fallback-action):
14842 Add display-buffer-in-previous-window.
14843 (display-buffer-use-some-window): Resize window to height it had
14844 before.
14845 (fit-window-to-buffer-horizontally): New option.
14846 (fit-frame-to-buffer): Describe new values.
14847 (fit-frame-to-buffer-bottom-margin): Replace with
14848 fit-frame-to-buffer-margins.
14849 (window--sanitize-margin): New function.
14850 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
14851 using window-text-pixel-size.
14852
14853 2013-11-30 Glenn Morris <rgm@gnu.org>
14854
14855 * emacs-lisp/bytecomp.el (byte-compile-form):
14856 Make the `interactive-only' warning like the `obsolete' one.
14857 * comint.el (comint-run):
14858 * files.el (insert-file-literally, insert-file):
14859 * replace.el (replace-string, replace-regexp):
14860 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
14861 (goto-line, insert-buffer, next-line, previous-line):
14862 Tweak `interactive-only' spec.
14863
14864 Stop keeping (most) generated cedet grammar files in the repository.
14865 * Makefile.in (semantic): New.
14866 (compile-main): Depend on semantic.
14867
14868 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
14869
14870 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
14871 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
14872
14873 * uniquify.el (uniquify-buffer-name-style): Change default.
14874
14875 * loadup.el: Preload "uniquify".
14876
14877 * time.el (display-time-update): Update all mode lines (bug#15999).
14878
14879 * electric.el (electric-indent-mode): Enable by default.
14880 * loadup.el: Preload "electric".
14881
14882 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
14883
14884 * emacs-lisp/helpers.el (string-empty-p): New function.
14885 (string-blank-p): New function.
14886
14887 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
14888
14889 * imenu.el (imenu--index-alist): Add missing dot to the docstring
14890 (Bug#14029).
14891
14892 2013-11-29 Andreas Politz <politza@fh-trier.de>
14893 * imenu.el (imenu--subalist-p): Don't error on non-conses and
14894 allow non-lambda lists as functions.
14895 (imenu--in-alist): Don't recurse into non-subalists.
14896 (imenu): Don't pass function itself as an argument (Bug#14029).
14897
14898 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
14899
14900 * progmodes/python.el (python-mode-map): Remove binding for ":".
14901 (python-indent-electric-colon): Remove command.
14902 (python-indent-post-self-insert-function): Integrate the previous code
14903 of python-indent-electric-colon. Make it conditional on
14904 electric-indent-mode.
14905 (python-mode): Add ?: to electric-indent-chars.
14906 Move python-indent-post-self-insert-function to the end of
14907 post-self-insert-hook.
14908
14909 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
14910
14911 * doc-view.el (doc-view-goto-page): Update mode-line.
14912
14913 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
14914
14915 2013-11-27 Glenn Morris <rgm@gnu.org>
14916
14917 * international/charprop.el, international/uni-bidi.el:
14918 * international/uni-category.el, international/uni-combining.el:
14919 * international/uni-comment.el, international/uni-decimal.el:
14920 * international/uni-decomposition.el, international/uni-digit.el:
14921 * international/uni-lowercase.el, international/uni-mirrored.el:
14922 * international/uni-name.el, international/uni-numeric.el:
14923 * international/uni-old-name.el, international/uni-titlecase.el:
14924 * international/uni-uppercase.el:
14925 Remove generated files from VCS repository.
14926
14927 2013-11-27 Eli Zaretskii <eliz@gnu.org>
14928
14929 * filenotify.el (file-notify-add-watch): Don't special-case
14930 w32notify when computing the directory to watch.
14931
14932 2013-11-27 Glenn Morris <rgm@gnu.org>
14933
14934 Make bootstrap without generated uni-*.el files possible again.
14935 * loadup.el: Update command-line-args checking for unidata-gen.
14936 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
14937 * composite.el, international/characters.el:
14938 Handle unicode tables being undefined.
14939
14940 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
14941 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
14942 (compile-main): Depend on leim rule.
14943 (leim): New rule.
14944 * loadup.el: Move leim-list.el to leim/ subdirectory.
14945 * startup.el (normal-top-level): No more leim directory.
14946 * international/ja-dic-cnv.el (skkdic-convert):
14947 Disable version-control and autoloads in output files.
14948 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
14949 Disable version-control and autoloads in output files.
14950 * leim/quail: Move here from ../leim.
14951 * leim/quail/hangul.el (hangul-input-method-activate):
14952 Add autoload cookie.
14953 (generated-autoload-load-name): Set file-local value.
14954 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
14955 (generated-autoload-load-name): Set file-local value.
14956
14957 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
14958
14959 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
14960 (eww-add-bookmark): Ask confirmation when add to bookmarks.
14961 (eww-quit): Ask confirmation before quitting eww.
14962
14963 2013-11-26 Eli Zaretskii <eliz@gnu.org>
14964
14965 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
14966 reading output from Diff on MS-Windows and MS-DOS.
14967
14968 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
14969
14970 * emacs-lisp/helpers.el (string-reverse): New function.
14971
14972 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
14973
14974 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
14975 names on MS Windows, like "/[::1]:".
14976
14977 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
14978 SWITCHES.
14979
14980 2013-11-26 Glenn Morris <rgm@gnu.org>
14981
14982 * progmodes/python.el (python-indent-guess-indent-offset):
14983 Avoid corner-case error. (Bug#15975)
14984
14985 Preload leim-list.el. (Bug#4789)
14986 * loadup.el: Load leim-list.el when found.
14987 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
14988
14989 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
14990
14991 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
14992
14993 * emacs-lisp/helpers.el (string-join): New function.
14994
14995 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
14996
14997 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
14998 Mark as obsolete and replace it with a symbol property.
14999 (byte-compile-form): Use new 'interactive-only property.
15000 * comint.el, files.el, replace.el, simple.el:
15001 Apply new 'interactive-only properly.
15002
15003 2013-11-25 Martin Rudalics <rudalics@gmx.at>
15004
15005 * window.el (display-buffer-at-bottom): Make sure that
15006 split-window-sensibly creates the new window on bottom
15007 (Bug#15961).
15008
15009 2013-11-23 David Kastrup <dak@gnu.org>
15010
15011 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
15012 on the conflict markers when available.
15013 (smerge--get-marker): New function.
15014 (smerge-end-re, smerge-base-re): Add subgroup.
15015
15016 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
15017
15018 * frame.el (handle-focus-in, handle-focus-out): Add missing
15019 interactive spec.
15020
15021 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
15022
15023 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
15024 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
15025
15026 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
15027
15028 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
15029 (gomoku--last-pos): New var.
15030 (gomoku--intangible-chars): New const.
15031 (gomoku--intangible): New function.
15032 (gomoku-mode): Use it. Derive from special-mode.
15033 (gomoku-move-up): Adjust line count.
15034 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
15035 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
15036 Simplify accordingly.
15037
15038 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
15039 Remove blink-cursor code.
15040 (blink-cursor-timer-function, blink-cursor-suspend):
15041 Don't special-case GUIs.
15042 (blink-cursor-mode): Use focus-in/out-hook.
15043
15044 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
15045
15046 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
15047 work when annotation is invisible (Bug#13886).
15048
15049 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
15050
15051 * json.el (json-alist-p): Only return non-nil if the alist has
15052 simple keys (Bug#13518).
15053
15054 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
15055
15056 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
15057 when control-statement is the first statement in a buffer (Bug#15956).
15058
15059 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
15060
15061 * imenu.el (imenu-generic-skip-comments-and-strings):
15062 New option (Bug#15560).
15063 (imenu--generic-function): Use it.
15064
15065 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
15066
15067 * minibuffer.el (completion--in-region-1): Scroll the correct window.
15068 (Bug#13898)
15069
15070 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
15071
15072 * emacs-lisp/helpers.el: Add some string helpers.
15073 (string-trim-left): Removes leading whitespace.
15074 (string-trim-right): Removes trailing whitespace.
15075 (string-trim): Removes leading and trailing whitespace.
15076
15077 * subr.el (string-suffix-p): New function.
15078
15079 2013-11-23 Glenn Morris <rgm@gnu.org>
15080
15081 * progmodes/python.el (python-shell-send-file):
15082 Add option to delete file when done. (Bug#15647)
15083 (python-shell-send-string, python-shell-send-region): Use it.
15084
15085 2013-11-23 Ivan Shmakov <ivan@siamics.net>
15086
15087 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
15088 to set buffer-read-only to t, never to nil. (Bug#15938)
15089
15090 * textmodes/tex-mode.el (latex-noindent-environments):
15091 Add safe-local-variable property. (Bug#15936)
15092
15093 2013-11-23 Glenn Morris <rgm@gnu.org>
15094
15095 * textmodes/enriched.el (enriched-mode): Doc fix.
15096 * emacs-lisp/authors.el (authors-renamed-files-alist):
15097 Add enriched.doc -> enriched.txt.
15098
15099 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
15100
15101 2013-11-22 Leo Liu <sdl.web@gmail.com>
15102
15103 * progmodes/octave.el (inferior-octave-startup): Spit out error
15104 message.
15105
15106 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
15107
15108 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
15109 Improve docstring.
15110 Add :version.
15111 (ruby-encoding-magic-comment-style): Add :version.
15112
15113 2013-11-22 Leo Liu <sdl.web@gmail.com>
15114
15115 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
15116 (Bug#15076)
15117 (octave-help-mode): Adapt to change to help-mode-finish to use
15118 derived-mode-p on 2013-09-17.
15119 (inferior-octave-prompt): Also match octave-gui.
15120 (octave-kill-process): Don't ask twice. (Bug#10564)
15121
15122 2013-11-22 Leo Liu <sdl.web@gmail.com>
15123
15124 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
15125 (inferior-octave-startup, inferior-octave-check-process)
15126 (inferior-octave-track-window-width-change)
15127 (octave-completion-at-point, octave-eldoc-function): Use it.
15128 (octave-kill-process): Provide confirmation. (Bug#10564)
15129
15130 2013-11-21 Leo Liu <sdl.web@gmail.com>
15131
15132 * progmodes/octave.el (octave-mode, inferior-octave-mode):
15133 Fix obsolete variable comment-use-global-state.
15134
15135 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
15136
15137 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
15138 Add `octave-source-file'.
15139 (octave-source-file): New function. (Bug#15935)
15140
15141 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
15142
15143 * net/eww.el (eww-local-regex): New variable.
15144 (eww): Use it to detect localhost and similar.
15145
15146 2013-11-21 Leo Liu <sdl.web@gmail.com>
15147
15148 Add completion for command `ag'.
15149 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
15150 (pcomplete/ag): New function.
15151 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
15152
15153 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
15154
15155 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
15156 (bug#14646).
15157 (make-obsolete): Remove interactive spec.
15158
15159 2013-11-21 Glenn Morris <rgm@gnu.org>
15160
15161 * startup.el (command-line-1): Use path-separator with -L.
15162
15163 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
15164
15165 * emacs-lisp/package.el (describe-package-1): Add package archive
15166 to shown fields.
15167
15168 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
15169
15170 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
15171 Change default to "# encoding: %s" to differentiate it from the
15172 default Ruby encoding comment template.
15173
15174 2013-11-20 Era Eriksson <era+emacsbugs@iki.fi>
15175
15176 * ses.el (ses-mode): Doc fix. (Bug#14748)
15177
15178 2013-11-20 Leo Liu <sdl.web@gmail.com>
15179
15180 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
15181
15182 2013-11-19 Dan Nicolaescu <dann@gnu.org>
15183
15184 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
15185 when rebase or bisect are in progress.
15186
15187 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
15188
15189 * filenotify.el (file-notify-add-watch): Doc fix.
15190
15191 2013-11-19 Leo Liu <sdl.web@gmail.com>
15192
15193 * obsolete/rcompile.el: Mark obsolete.
15194
15195 * progmodes/compile.el (compilation-start)
15196 (compilation-goto-locus, compilation-find-file):
15197 Pass no-display-ok and handle nil value from display-buffer.
15198 (Bug#13594)
15199
15200 * window.el (display-buffer-alist, display-buffer): Document the
15201 new parameter no-display-ok. Return either a window or nil
15202 but never a non-window value.
15203
15204 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
15205
15206 * electric.el (electric-indent-mode-map): Remove.
15207 (electric-indent-mode): Change the global-map instead (bug#15915).
15208
15209 * textmodes/text-mode.el (paragraph-indent-minor-mode):
15210 Use add-function.
15211
15212 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
15213
15214 * emacs-lisp/nadvice.el (remove-function): Align with
15215 add-function's behavior.
15216
15217 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
15218 (gdb--string-regexp): New constant.
15219 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
15220 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
15221 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
15222 submatch 1.
15223 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
15224 Adjust use accordingly.
15225 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
15226
15227 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
15228
15229 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
15230 interpolation curlies (Bug#15914).
15231
15232 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
15233
15234 * calc/calc.el (calc-context-sensitive-enter): New variable.
15235 (calc-enter): Use `calc-context-sensitive-enter'.
15236
15237 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
15238
15239 * progmodes/cfengine.el: Version bump.
15240 (cfengine-cf-promises): New defcustom to locate cf-promises.
15241 (cfengine3-vartypes): Add new "data" type.
15242 (cfengine3--current-word): New function to get current name-like
15243 word or its bounds.
15244 (cfengine3--current-function): New function to look up a CFEngine
15245 function's definition.
15246 (cfengine3-format-function-docstring): New function.
15247 (cfengine3-make-syntax-cache): New function.
15248 (cfengine3-documentation-function): New function: ElDoc glue.
15249 (cfengine3-completion-function): New function: completion glue.
15250 (cfengine3-mode): Set `compile-command',
15251 `eldoc-documentation-function', and add to
15252 `completion-at-point-functions'.
15253
15254 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
15255
15256 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
15257 `tramp-current-connection'.
15258
15259 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
15260
15261 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
15262 nil/self/true/false with "end of symbol".
15263
15264 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
15265
15266 * subr.el (version-regexp-alist): Fix a typo.
15267
15268 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
15269
15270 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
15271 "en_US.utf8" and "LC_CTYPE" to "".
15272 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
15273 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
15274
15275 2013-11-15 Leo Liu <sdl.web@gmail.com>
15276
15277 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
15278
15279 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
15280
15281 * progmodes/gud.el (ctl-x-map):
15282 Remove C-x SPC binding. (Bug#12342)
15283 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
15284
15285 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
15286
15287 * subr.el (version-regexp-alist):
15288 Recognize hg, svn and darcs versions as snapshot versions.
15289
15290 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
15291 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
15292 (ruby--encoding-comment-required-p): Extract from
15293 `ruby-mode-set-encoding'.
15294 (ruby-mode-set-encoding): Add the ability to always insert an
15295 utf-8 encoding comment. Fix and simplify coding comment update
15296 logic.
15297
15298 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
15299
15300 * net/tramp-gvfs.el (top): Run init code only when
15301 `tramp-gvfs-enabled' is not nil.
15302 (tramp-gvfs-enabled): Check also :system bus.
15303
15304 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
15305
15306 Sync with upstream verilog-mode revision 78e66ba.
15307 * progmodes/verilog-mode.el (verilog-end-of-defun)
15308 (verilog-type-completion, verilog-get-list): Remove unused funcs.
15309 (verilog-get-end-of-defun): Remove unused argument.
15310 (verilog-comment-depth): Remove unused local `e'.
15311 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
15312 Don't pass arg to verilog-get-end-of-defun.
15313
15314 2013-11-14 Glenn Morris <rgm@gnu.org>
15315
15316 * obsolete/assoc.el (aget): Prefix dynamic variable.
15317
15318 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
15319
15320 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
15321
15322 * widget.el, hfy-cmap.el: Remove bogus package version number.
15323
15324 2013-11-13 Glenn Morris <rgm@gnu.org>
15325
15326 * replace.el (replace-eval-replacement):
15327 Try to give more helpful error message. (Bug#15836)
15328
15329 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
15330 (archive-7z-update): Avoid custom type mismatches.
15331
15332 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
15333
15334 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
15335
15336 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
15337 address can be empty.
15338
15339 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
15340 Accept nil SWITCHES.
15341 (tramp-gvfs-handle-write-region): Implement APPEND.
15342
15343 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
15344
15345 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
15346 binary "|" operator and closing block args delimiter.
15347 Remove FIXME comment referring to Ruby 1.8-only syntax.
15348 (ruby-smie--implicit-semi-p): Not after "|" operator.
15349 (ruby-smie--closing-pipe-p): New function.
15350 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
15351 (ruby-smie-rules): Indent after "|".
15352
15353 2013-11-12 Glenn Morris <rgm@gnu.org>
15354
15355 * ps-print.el (ps-face-attribute-list):
15356 Handle anonymous faces. (Bug#15827)
15357
15358 2013-11-12 Martin Rudalics <rudalics@gmx.at>
15359
15360 * window.el (display-buffer-other-frame): Fix doc-string.
15361 (Bug#15868)
15362
15363 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
15364
15365 * subr.el (force-mode-line-update): Delete, move to buffer.c.
15366
15367 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
15368
15369 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
15370 (tramp-sh-handle-file-local-copy): Don't write a message when
15371 saving temporary files.
15372
15373 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
15374 both directories are remote.
15375 (tramp-smb-handle-directory-files): Do not return double entries.
15376 Do not expand full file names.
15377 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
15378 (tramp-smb-handle-write-region): Implement APPEND.
15379 (tramp-smb-get-stat-capability): Fix a stupid bug.
15380
15381 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
15382
15383 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
15384
15385 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
15386
15387 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
15388 throwing error over malformed let/let* (bug#15814).
15389
15390 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
15391
15392 * iswitchb.el (iswitchb-mode): Mark obsolete.
15393
15394 2013-11-11 Glenn Morris <rgm@gnu.org>
15395
15396 * international/uni-bidi.el, international/uni-category.el:
15397 * international/uni-name.el, international/uni-numeric.el:
15398 Regenerate for Unicode 6.3.0.
15399
15400 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
15401
15402 * net/tramp.el (tramp-methods):
15403 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
15404 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
15405
15406 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
15407
15408 * progmodes/sh-script.el (sh-font-lock-keywords-var):
15409 Force highlighting text after Summary keyword in doc face for rpm.
15410
15411 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
15412
15413 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
15414 available and the word has no wildcards, append one to the grep pattern.
15415 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
15416 (ispell-complete-word): Call `ispell-lookup-words' with the value
15417 independent of `ispell-look-p'.
15418
15419 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
15420
15421 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
15422 Not after "||".
15423 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
15424 their parent.
15425
15426 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
15427
15428 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
15429 (ruby-font-lock-keywords): Use backquote.
15430
15431 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
15432
15433 * progmodes/ruby-mode.el (ruby-smie--forward-token)
15434 (ruby-smie--backward-token): Only consider full-string matches.
15435
15436 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
15437
15438 * faces.el (describe-face): Add distant-foreground.
15439
15440 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
15441
15442 * progmodes/ruby-mode.el: Improve encoding comment handling.
15443 (ruby-encoding-magic-comment-style): New option.
15444 (ruby-custom-encoding-magic-comment-template): New option.
15445 (ruby--insert-coding-comment, ruby--detect-encoding):
15446 New functions extracted from `ruby-mode-set-encoding'.
15447 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
15448 to control the style of the auto-inserted encoding comment.
15449
15450 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
15451
15452 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
15453 Use `smie-backward-sexp' with token argument.
15454
15455 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
15456
15457 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
15458 Remove instrumentation code.
15459
15460 2013-11-08 Glenn Morris <rgm@gnu.org>
15461
15462 * progmodes/autoconf.el (autoconf-mode):
15463 Tweak comment-start-skip. (Bug#15822)
15464
15465 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
15466
15467 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
15468 at bobp (bug#15826).
15469 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
15470
15471 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
15472
15473 * man.el (Man-start-calling): New macro, extracted from
15474 Man-getpage-in-background.
15475 (Man-getpage-in-background): Use it.
15476 (Man-update-manpage): New command.
15477 (Man-mode-map): Bind it.
15478
15479 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
15480
15481 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
15482 of "and", "or", "&&" and "||".
15483 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
15484 argument. Prohibit opening curly brace because it could only be a
15485 block opener in that position.
15486 (ruby-smie--forward-token, ruby-smie--backward-token):
15487 Separate "|" from "&" or "*" going after it. That can happen in block
15488 arguments.
15489 (ruby-smie--indent-to-stmt): New function, seeks the end of
15490 previous statement or beginning of buffer.
15491 (ruby-smie-rules): Use it.
15492 (ruby-smie-rules): Check if there's a ":" before a curly block
15493 opener candidate; if there is, it's a hash.
15494
15495 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
15496
15497 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
15498 (cl--block-wrapper): Fix last accidental change.
15499
15500 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
15501
15502 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
15503 Instrument, in order to hunt failure on hydra.
15504
15505 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
15506
15507 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
15508 malformed bindings form (bug#15814).
15509
15510 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
15511
15512 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
15513 "." compared to " @ ". This incidentally fixes some indentation
15514 examples with "do".
15515 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
15516 (ruby-smie-grammar): New tokens: "and" and "or".
15517 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
15518 Exclude "and" and "or". Remove "do" in order to work around token
15519 priorities.
15520 (ruby-smie-rules): Add all infix tokens. Handle the case of
15521 beginning-of-buffer.
15522
15523 2013-11-06 Glenn Morris <rgm@gnu.org>
15524
15525 * Makefile.in (setwins_almost, setwins_for_subdirs):
15526 Avoid accidental matches.
15527
15528 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
15529
15530 * menu-bar.el (popup-menu): Use key-binding.
15531
15532 2013-11-06 Eli Zaretskii <eliz@gnu.org>
15533
15534 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
15535 menus, support also the menus produced by minor modes.
15536 (Bug#15817)
15537
15538 2013-11-06 Leo Liu <sdl.web@gmail.com>
15539
15540 * thingatpt.el (thing-at-point-looking-at): Add optional arg
15541 DISTANCE to bound the search. All uses changed. (Bug#15808)
15542
15543 2013-11-06 Glenn Morris <rgm@gnu.org>
15544
15545 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
15546 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
15547 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
15548
15549 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
15550
15551 * electric.el (electric-indent-just-newline): New command.
15552 (electric-indent-mode-map): New keymap.
15553 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
15554 Re-add :group which weren't redundant.
15555
15556 * electric.el (electric-indent-local-mode): New minor mode.
15557 (electric-indent-functions-without-reindent): New var.
15558 (electric-indent-post-self-insert-function): Use it.
15559 * emacs-lisp/gv.el (buffer-local-value): Add setter.
15560
15561 2013-11-05 Eli Zaretskii <eliz@gnu.org>
15562
15563 * international/quail.el (quail-help): Be more explicit about the
15564 meaning of the labels shown on the keys. (Bug#15800)
15565
15566 * startup.el (normal-top-level): Load the subdirs.el files before
15567 setting the locale environment. (Bug#15805)
15568
15569 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
15570
15571 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
15572 via arguments so as to get the right ones (bug#15418).
15573
15574 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
15575
15576 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
15577
15578 Fix problems found while writing a test suite.
15579
15580 * net/tramp-compat.el (tramp-compat-load): New defun.
15581 * net/tramp.el (tramp-handle-load): Use it.
15582
15583 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
15584 "(numberp ok-if-already-exists)" correctly.
15585
15586 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
15587
15588 * international/characters.el (glyphless-char-display-control):
15589 Add usage note.
15590
15591 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
15592
15593 * progmodes/python.el (python-mode):
15594 * progmodes/scheme.el (scheme-mode):
15595 * progmodes/prolog.el (prolog-mode):
15596 * progmodes/ruby-mode.el (ruby-mode):
15597 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
15598 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
15599
15600 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
15601
15602 * rect.el (rectangle--highlight-for-redisplay):
15603 * emacs-lisp/smie.el (smie--next-indent-change):
15604 Use buffer-chars-modified-tick.
15605
15606 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
15607
15608 * electric.el (electric-indent-post-self-insert-function):
15609 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
15610
15611 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
15612
15613 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
15614
15615 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
15616
15617 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
15618 (bug#15786).
15619
15620 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
15621
15622 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
15623
15624 * progmodes/python.el: Fix up last change.
15625 (python-shell--save-temp-file): New function.
15626 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
15627 `string' comes from the current buffer.
15628 (python-shell-send-string-no-output): Remove `msg' arg.
15629 (python--use-fake-loc): New var.
15630 (python-shell-buffer-substring): Obey it. Try to compensate for the
15631 extra coding line added by python-shell--save-temp-file.
15632 (python-shell-send-region): Use python-shell--save-temp-file and
15633 python-shell-send-file directly. Add `nomain' argument.
15634 (python-shell-send-buffer): Use python-shell-send-region.
15635 (python-electric-pair-string-delimiter): New function.
15636 (python-mode): Use it.
15637
15638 2013-11-04 Eli Zaretskii <eliz@gnu.org>
15639
15640 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
15641 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
15642 environment and decoding all of the default-directory's to here
15643 from command-line.
15644 (command-line): Decode also argv[0].
15645
15646 * loadup.el: Error out if default-directory is a multibyte string
15647 when we are dumping.
15648
15649 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
15650
15651 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
15652
15653 * emacs-lisp/package.el (package-menu-mode)
15654 (package-menu--print-info, package-menu--archive-predicate):
15655 Add Archive column to package list.
15656
15657 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
15658
15659 Fix problems found while writing a test suite.
15660
15661 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
15662 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
15663 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
15664 to nil when running original file name handler. Otherwise,
15665 there are problems with constructs like "$$FOO".
15666
15667 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
15668 for `localname'.
15669
15670 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
15671
15672 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
15673
15674 * subr.el (version<, version<=, version=):
15675 Update docstrings with information for snapshot versions.
15676
15677 * helpers.el: New library for misc helper functions.
15678 (hash-table-keys): New function returning a list of hash keys.
15679 (hash-table-values): New function returning a list of hash values.
15680
15681 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
15682
15683 * progmodes/ruby-mode.el (ruby-smie--forward-token)
15684 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
15685
15686 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
15687
15688 * textmodes/fill.el (fill-single-char-nobreak-p): New function
15689 checking whether point is after a 1-letter word.
15690
15691 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
15692
15693 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
15694 Don't infloop when expanding region over `multiline' syntax-type that
15695 begins a line (bug#15778).
15696
15697 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
15698
15699 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
15700 Make it into a proper minor mode.
15701 (rectangle--region): (Implicitly) rename to rectangle-mark-mode.
15702 (rectangle-mark-mode-map): New keymap.
15703 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
15704
15705 2013-11-04 Glenn Morris <rgm@gnu.org>
15706
15707 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
15708
15709 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
15710
15711 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
15712 (ruby-smie-rules): Use smie-rule-parent instead.
15713
15714 * emacs-lisp/smie.el (smie-rule-parent): Always call
15715 smie-indent-virtual rather than only for hanging tokens.
15716 (smie--next-indent-change): New helper command.
15717
15718 2013-11-03 Glenn Morris <rgm@gnu.org>
15719
15720 * Makefile.in (abs_srcdir): Remove.
15721 (emacs): Unset EMACSLOADPATH.
15722
15723 2013-11-02 Glenn Morris <rgm@gnu.org>
15724
15725 * Makefile.in (EMACS): Use a relative filename.
15726 (abs_top_builddir): Remove.
15727 (custom-deps, finder-data, autoloads): Use --chdir.
15728
15729 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
15730
15731 Use relative filenames in TAGS files.
15732 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
15733 (lisptagsfiles4, TAGS): Use relative file names.
15734 (TAGS-LISP): Remove.
15735 (maintainer-clean): No more TAGS-LISP file.
15736
15737 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
15738 (lisptagsfiles4): Use absolute filenames again.
15739 (TAGS, TAGS-LISP): Not everything needs to run in one line.
15740 Remove all *loaddefs files, not just the first. Remove esh-groups.
15741 (maintainer-clean): Delete TAGS, TAGS-LISP.
15742
15743 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
15744
15745 * emacs-lisp/package.el (package-version-join):
15746 Recognize snapshot versions.
15747
15748 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
15749
15750 * subr.el (version-regexp-alist): Add support for snapshot versions.
15751
15752 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
15753
15754 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
15755 New function, replacement for `smie-rule-parent' for when we want to
15756 skip over our direct parent if it's an assignment token..
15757 (ruby-smie-rules): Use it.
15758
15759 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
15760
15761 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
15762 unconditionally. Remove now unnecessary forward declarations.
15763 Remove XEmacs-specific setup.
15764 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
15765 (ruby-font-lock-syntactic-keywords)
15766 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
15767 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
15768 (ruby-here-doc-end-syntax): Remove.
15769 (ruby-mode): Don't check whether `syntax-propertize-rules' is
15770 defined as function.
15771
15772 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
15773
15774 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
15775
15776 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
15777
15778 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
15779 table and abbrev table, `define-derived-mode' does that for us
15780 anyway.
15781
15782 2013-11-01 Glenn Morris <rgm@gnu.org>
15783
15784 * Makefile.in: Remove manual mh-e dependencies (writing .elc
15785 files is atomic for some time, so no parallel compilation issues).
15786
15787 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
15788
15789 * faces.el (face-x-resources): Add :distant-foreground.
15790 (region): Use :distant-foreground for gtk and ns.
15791
15792 2013-11-01 Tassilo Horn <tsdh@gnu.org>
15793
15794 Allow multiple bibliographies when BibLaTeX is used rather than
15795 BibTeX.
15796 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
15797 (reftex-locate-bibliography-files): Us it.
15798
15799 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
15800
15801 * image.el (image-type-header-regexps): Fix the 'pbm' part to
15802 allow comments in pbm files.
15803
15804 * term/w32-win.el (dynamic-library-alist): Support newer versions
15805 of libjpeg starting with v7: look only for the DLL from the
15806 version against which Emacs was built.
15807 Support versions of libpng beyond 1.4.x.
15808 Support libtiff v4.x.
15809
15810 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
15811
15812 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
15813 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
15814 Add property :safe.
15815 (ruby-deep-arglist): Add property :type.
15816
15817 2013-10-31 Glenn Morris <rgm@gnu.org>
15818
15819 * Makefile.in (custom-deps, finder-data): No need to setq the target
15820 variables, we are in the right directory and the defaults work fine.
15821
15822 2013-10-30 Glenn Morris <rgm@gnu.org>
15823
15824 * Makefile.in (autoloads): Do not use abs_lisp.
15825
15826 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
15827 `newline' does not respect `standard-output', so use `princ'.
15828
15829 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
15830
15831 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
15832 * buff-menu.el (Buffer-menu--unmark): New function.
15833 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
15834
15835 2013-10-30 Glenn Morris <rgm@gnu.org>
15836
15837 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
15838
15839 * emacs-lisp/package.el (lm-homepage): Declare.
15840
15841 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
15842 Fix doc typos.
15843
15844 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
15845
15846 * Makefile.in (finder-data, autoloads, update-subdirs)
15847 (compile-main, compile-clean, compile-always, bootstrap-clean):
15848 Check return value of cd.
15849 (compile-calc): Remove.
15850
15851 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
15852
15853 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
15854
15855 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
15856 (byte-compile-and-folded): New function.
15857 (=, <, >, <=, >=): Use it.
15858
15859 * dos-w32.el (minibuffer-history-case-insensitive-variables)
15860 (path-separator, null-device, buffer-file-coding-system)
15861 (lpr-headers-switches): Check system-type before modifying them.
15862 (find-buffer-file-type-coding-system): Mark obsolete.
15863 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
15864 find-file-not-found-set-buffer-file-coding-system.
15865 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
15866 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
15867 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
15868 (w32-direct-print-region-helper, w32-direct-print-region-function)
15869 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
15870 * startup.el (normal-top-level-add-subdirs-to-load-path):
15871 * ps-print.el (ps-print-region-function):
15872 * lpr.el (print-region-function): Use new name.
15873
15874 * subr.el (custom-declare-variable-early): Remove function.
15875 (custom-declare-variable-list): Remove var.
15876 (error, user-error): Remove `while' loop.
15877 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
15878 (user-emacs-directory-warning, locate-user-emacs-file):
15879 Move to files.el.
15880 * simple.el (read-quoted-char-radix, read-quoted-char):
15881 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
15882 Move from subr.el.
15883 * custom.el (custom-declare-variable-list): Don't process
15884 custom-declare-variable-list.
15885
15886 * progmodes/python.el (python-shell-get-buffer): New function.
15887 (python-shell-get-process): Use it.
15888 (python-shell-send-string): Always use utf-8 and add a cookie to tell
15889 Python which encoding was used. Don't split-string since we only care
15890 about the first line. Return the temp-file, if applicable.
15891 (python-shell-send-region): Tell compile.el how to turn locations in
15892 the temp-file into locations in the source buffer.
15893
15894 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
15895
15896 * subr.el (undefined): Add missing behavior from the C code for
15897 unbound keys.
15898
15899 * rect.el: Use lexical-binding. Add new rectangular region support.
15900 (rectangle-mark): New command.
15901 (rectangle--region): New var.
15902 (deactivate-mark-hook): Reset rectangle--region.
15903 (rectangle--extract-region, rectangle--insert-for-yank)
15904 (rectangle--highlight-for-redisplay)
15905 (rectangle--unhighlight-for-redisplay): New functions.
15906 (region-extract-function, redisplay-unhighlight-region-function)
15907 (redisplay-highlight-region-function): Use them to handle
15908 rectangular region.
15909 * simple.el (region-extract-function): New var.
15910 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
15911 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
15912 (kill-region): Replace obsolete `yank-handler' arg with `region'.
15913 (copy-region-as-kill, kill-ring-save): Add `region' argument.
15914 (redisplay-unhighlight-region-function)
15915 (redisplay-highlight-region-function): New vars.
15916 (redisplay--update-region-highlight): New function.
15917 (pre-redisplay-function): Use it.
15918 (exchange-point-and-mark): Don't deactivate the mark before
15919 reactivate-it anyway.
15920 * comint.el (comint-kill-region): Remove yank-handler argument.
15921 * delsel.el (delete-backward-char, backward-delete-char-untabify)
15922 (delete-char): Remove property, since it's now part of their
15923 default behavior.
15924 (self-insert-iso): Remove property since this command doesn't exist.
15925
15926 * emacs-lisp/package.el (package--download-one-archive)
15927 (describe-package-1): Don't query the user about final newline.
15928
15929 2013-10-29 Daniel Colascione <dancol@dancol.org>
15930
15931 * net/tramp.el (tramp-methods): Document new functionality.
15932 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
15933 tramp-hostname-checker if method provides one instead of scanning
15934 argument list for "%h" to decide hostname acceptability.
15935
15936 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
15937
15938 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
15939 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
15940 Handle COPY-CONTENTS. (Bug#15737)
15941
15942 2013-10-28 Daiki Ueno <ueno@gnu.org>
15943
15944 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
15945 Document that this option has no effect with GnuPG 2.0 (bug#15552).
15946
15947 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
15948
15949 * image.el (defimage, image-load-path): Doc fixes.
15950
15951 2013-10-27 Alan Mackenzie <acm@muc.de>
15952
15953 Indent statements in macros following "##" correctly.
15954 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
15955 Modify the "#" arm of a cond form to handle "#" and "##" operators.
15956
15957 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
15958
15959 * linum.el (linum-update-window): Fix boundary test (bug#13446).
15960
15961 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
15962
15963 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
15964 after `=' is probably a new expression.
15965
15966 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
15967
15968 * man.el (man-imenu-title): New option.
15969 (Man-mode-map): Add menu. (Bug#15722)
15970 (Man-mode): Add imenu to menu.
15971
15972 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
15973
15974 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
15975 specific in what the first arg can be: a non-keyword word,
15976 string/regexp/percent literal opener, opening paren, or unary
15977 operator followed directly by word.
15978
15979 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
15980
15981 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
15982 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
15983 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
15984 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
15985 Remove vars, they do not apply any more.
15986 (prolog-mode-abbrev-table): Remove redundant declaration.
15987 (prolog-upper-case-string, prolog-lower-case-string): Remove.
15988 (prolog-use-smie): Remove.
15989 (prolog-smie-rules): Add indentation rule for the if-then-else layout
15990 supported by prolog-electric-if-then-else-flag.
15991 (prolog-mode-variables, prolog-menu): Use setq-local.
15992 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
15993 Remove binding to `Backspace' since this key doesn't exist anyway.
15994 Remove bindings for electric self-inserting keys.
15995 (prog-mode): Assume it's defined.
15996 (prolog-post-self-insert): New function.
15997 (prolog-mode): Use it.
15998 (prolog-indent-line, prolog-indent-level)
15999 (prolog-find-indent-of-matching-paren)
16000 (prolog-indentation-level-of-line, prolog-goto-comment-column)
16001 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
16002 (prolog-goto-next-paren, prolog-in-string-or-comment)
16003 (prolog-tokenize, prolog-inside-mline-comment)
16004 (prolog-find-start-of-mline-comment): Remove functions.
16005 (prolog-find-unmatched-paren, prolog-clause-end)
16006 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
16007 (prolog-electric--if-then-else): Rename from
16008 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
16009 (prolog-tokenize-searchkey): Remove const.
16010 (prolog-clause-info): Use forward-sexp.
16011 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
16012 (prolog-electric-if-then-else): Remove commands.
16013 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
16014 for use in post-self-insert-hook.
16015 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
16016 for use in post-self-insert-hook.
16017 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
16018 for use in post-self-insert-hook.
16019 (prolog-electric--underscore): Rename from prolog-electric--underscore;
16020 adapt it for use in post-self-insert-hook.
16021
16022 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
16023
16024 * emacs-lisp/ert.el (ert-run-tests-interactively):
16025 Use `completing-read'. (Bug#9756)
16026
16027 2013-10-25 Eli Zaretskii <eliz@gnu.org>
16028
16029 * simple.el (line-move): Call line-move-1 instead of
16030 line-move-visual when the current window hscroll is zero, but
16031 temporary-goal-column indicates we will need to hscroll as result
16032 of the movement. (Bug#15712)
16033
16034 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
16035
16036 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
16037 capitalization. Use :visible instead of :active.
16038 Fix `ruby-indent-exp' reference. Add menu items for the generic
16039 commands that are used with SMIE.
16040 (ruby-do-end-to-brace): Insert space after `{'.
16041
16042 2013-10-25 John Anthony <john@jo.hnanthony.com>
16043
16044 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
16045
16046 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
16047
16048 2013-10-25 Glenn Morris <rgm@gnu.org>
16049
16050 * vc/vc.el (vc-print-log): Don't use a working revision unless
16051 one was explicitly specified. (Bug#15322)
16052
16053 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
16054
16055 * subr.el (add-to-list): Preserve return value in compiler-macro
16056 (bug#15692).
16057
16058 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
16059
16060 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
16061 result. Ask user to retry using '-all' flag. (Bug#15701)
16062
16063 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
16064
16065 * emacs-lisp/smie.el: New smie-config system.
16066 (smie-config): New defcustom.
16067 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
16068 (smie-config-guess, smie-config-save): New commands.
16069 (smie-config--mode-local, smie-config--buffer-local)
16070 (smie-config--trace, smie-config--modefuns): New vars.
16071 (smie-config--advice, smie-config--mode-hook)
16072 (smie-config--setter, smie-config-local, smie-config--get-trace)
16073 (smie-config--guess-value, smie-config--guess): New functions.
16074 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
16075 text properties. Treat "string fence" syntax like string syntax.
16076
16077 * progmodes/sh-script.el (sh-use-smie): Change default.
16078 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
16079 (sh-var-value): Simplify by CSE.
16080 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
16081 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
16082 is used.
16083 (sh-guess-basic-offset): Use cl-incf.
16084 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
16085
16086 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
16087
16088 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
16089 (bug#15699).
16090
16091 2013-10-24 Glenn Morris <rgm@gnu.org>
16092
16093 * Makefile.in (abs_top_srcdir): Remove.
16094 (update-subdirs): Use relative path to update-subdirs.
16095
16096 2013-10-24 Eli Zaretskii <eliz@gnu.org>
16097
16098 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
16099 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
16100 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
16101 Call unmsys--file-name before expand-file-name, not after it.
16102
16103 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
16104
16105 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
16106 (ert-test-skipped): New error.
16107 (ert-skip, ert-stats-skipped): New defuns.
16108 (ert--skip-unless): New macro.
16109 (ert-test-skipped): New struct.
16110 (ert--run-test-debugger, ert-test-result-type-p)
16111 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
16112 (ert--stats-set-test-and-result, ert-char-for-test-result)
16113 (ert-string-for-test-result, ert-run-tests-batch)
16114 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
16115 Handle skipped tests. (Bug#9803)
16116
16117 2013-10-24 Glenn Morris <rgm@gnu.org>
16118
16119 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
16120
16121 * Makefile.in (abs_top_srcdir): New, set by configure.
16122 (update-subdirs): Correct build-aux location.
16123
16124 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
16125
16126 * vc/vc.el (vc-print-root-log): Always set `default-directory'
16127 value, whether we could auto-deduce `backend', or not.
16128
16129 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
16130 with parameters" example. Simplify the "is it block or is it
16131 hash" check, but also make it more thorough.
16132
16133 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
16134
16135 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
16136
16137 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
16138
16139 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
16140 { if it is hanging.
16141
16142 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
16143 :before ";".
16144
16145 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
16146
16147 * progmodes/compile.el (compilation-directory-matcher)
16148 (compilation-page-delimiter):
16149 Support GNU Make-4.0 directory quoting. (Bug#15678)
16150
16151 2013-10-23 Leo Liu <sdl.web@gmail.com>
16152
16153 * ido.el (ido-tidy): Handle read-only text.
16154
16155 2013-10-23 Glenn Morris <rgm@gnu.org>
16156
16157 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
16158 (emacs, compile, compile-always):
16159 Quote entities that might contain whitespace.
16160 (custom-deps, finder-data, autoloads): Use abs_lisp.
16161 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
16162 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
16163 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
16164
16165 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
16166
16167 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
16168 Use `following-char'.
16169
16170 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
16171
16172 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
16173 * progmodes/ruby-mode.el (ruby-smie-rules):
16174 Remove corresponding workaround. Fix indentation rule of ";" so it
16175 also applies when ";" is the parent.
16176
16177 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
16178
16179 * frame.el (display-screens, display-pixel-height)
16180 (display-pixel-width, display-mm-width, display-backing-store)
16181 (display-save-under, display-planes, display-color-cells)
16182 (display-visual-class, display-monitor-attributes-list):
16183 Mention the optional ‘display’ argument in doc strings.
16184
16185 2013-10-22 Michael Gauland <mikelygee@amuri.net>
16186
16187 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
16188 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
16189
16190 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
16191
16192 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
16193 TODO. Add "." after " @ ".
16194 (ruby-smie--at-dot-call): New function. Checks if point at method
16195 call with explicit target.
16196 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
16197 to the method name tokens when it precedes them.
16198 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
16199 (ruby-smie-rules): Add rule for indentation before and after "."
16200 token.
16201
16202 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
16203
16204 * textmodes/remember.el (remember-diary-extract-entries):
16205 Avoid add-to-list.
16206
16207 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
16208 an instruction.
16209
16210 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
16211
16212 * progmodes/ruby-mode.el (ruby-smie-grammar):
16213 Add (almost) all infix operators.
16214 (ruby-smie--implicit-semi-p): Add new operator chars.
16215
16216 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
16217 `smie-down-list'.
16218 (ruby-smie--args-separator-p): Check that there's no newline
16219 between method call and its arguments.
16220
16221 2013-10-20 Alan Mackenzie <acm@muc.de>
16222
16223 Allow comma separated lists after Java "implements".
16224
16225 * progmodes/cc-engine.el (c-backward-over-enum-header):
16226 Parse commas.
16227 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
16228 from a "disallowed" list in enum fontification.
16229
16230 2013-10-20 Johan Bockgård <bojohan@gnu.org>
16231
16232 * startup.el (default-frame-background-mode): Remove unused defvar.
16233
16234 * progmodes/verilog-mode.el (verilog-mode): Don't set
16235 comment-indent-function globally.
16236
16237 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
16238
16239 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
16240 Move Info menu item creation to ns-win.el.
16241
16242 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
16243 in menu bar.
16244
16245 * menu-bar.el: Move GNUstep specific menus...
16246
16247 * term/ns-win.el (ns-initialize-window-system): ... to here.
16248
16249 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
16250
16251 * simple.el (newline): Only run post-self-insert-hook when
16252 called interactively.
16253
16254 2013-10-19 Johan Bockgård <bojohan@gnu.org>
16255
16256 * icomplete.el (icomplete-with-completion-tables): Add :version.
16257
16258 2013-10-19 Alan Mackenzie <acm@muc.de>
16259
16260 Fix fontification bugs with constructors and const.
16261
16262 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
16263 CASE 2) Remove the check for the absence of a suffix construct
16264 after a function declaration with only types (no identifiers) in
16265 the parentheses. Also, accept a function declaration with just a
16266 type inside the parentheses, if this type can be positively
16267 recognised as such, or if a prefix keyword like "explicit" nails
16268 down the construct as a declaration.
16269
16270 2013-10-19 Eli Zaretskii <eliz@gnu.org>
16271
16272 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
16273 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
16274 the problem whereby selecting a menu item that leads to a
16275 minibuffer prompt moves the cursor out of the minibuffer window,
16276 making it hard to type at the prompt. Suggested by Stefan Monnier
16277 <monnier@iro.umontreal.ca>.
16278
16279 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
16280
16281 * menu-bar.el: Don't make Services menu.
16282
16283 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
16284
16285 * ffap.el: Handle "/usr/include/c++/<version>" directories.
16286 (ffap-alist): Use ffap-c++-mode for c++-mode.
16287 (ffap-c++-path): New variable.
16288 (ffap-c++-mode): New function.
16289
16290 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
16291
16292 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
16293
16294 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
16295
16296 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
16297 introduced on 2013-09-08, which results in an infinite loop
16298 requesting a password.
16299
16300 2013-10-18 Glenn Morris <rgm@gnu.org>
16301
16302 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
16303
16304 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
16305
16306 Sync with upstream verilog-mode revision 1a6ecec7.
16307 * progmodes/verilog-mode.el (verilog-mode-version): Update.
16308 (verilog-mode-release-date): Remove.
16309 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
16310 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
16311 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
16312 (verilog-auto-tieoff-ignore-regexp)
16313 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
16314 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
16315 (verilog-signals-with, verilog-dir-cache-preserving)
16316 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
16317 Doc fixes.
16318 (verilog-case-fold): New option, to control case folding in
16319 regexp searches, bug597.
16320 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
16321 (verilog-string-match-fold, verilog-in-paren-count)
16322 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
16323 (verilog-at-close-struct-p): New functions.
16324 (verilog-beg-block-re-ordered, verilog-extended-case-re)
16325 (verilog-forward-sexp, verilog-set-auto-endcomments)
16326 (verilog-leap-to-case-head): Handle "unique0" case.
16327 (verilog-in-constraint-re): New constant.
16328 (verilog-keywords, verilog-type-font-keywords):
16329 Add some SystemVerilog 1800-2012 keywords.
16330 (verilog-label-be): Remove unimplemented argument, bug669.
16331 (verilog-batch-execute-func): When batch expanding clear
16332 create-lockfiles to prevent spurious user locks when a file ends
16333 up not changing.
16334 (verilog-calculate-indent, verilog-calc-1)
16335 (verilog-at-close-constraint-p, verilog-at-constraint-p)
16336 (verilog-do-indent): Fix indentation of nested constraints
16337 and structures.
16338 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
16339 (verilog-auto-inst-param): Use verilog-string-match-fold.
16340 (verilog-read-inst-module-matcher):
16341 Fix AUTOINST on gate primitives with #1.
16342 (verilog-read-decls): Fix double-declaring user-defined typed signals.
16343 Reads all user-defined typed variables.
16344 (verilog-read-defines): Fix reading definitions inside comments, bug647.
16345 (verilog-signals-matching-regexp)
16346 (verilog-signals-not-matching-regexp, verilog-auto):
16347 Respect verilog-case-fold.
16348 (verilog-diff-report): Fix line count.
16349 (verilog-auto-assign-modport): Remove unused local `modi'.
16350 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
16351 better handle multidimensional arrays.
16352 Fix packed array ports misadding bit index in AUTOINST, bug637.
16353 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
16354 to not double-declare existing outputs and inputs, respectively.
16355 (verilog-template-map): Bind U to verilog-sk-uvm-component.
16356 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
16357 (verilog-sk-uvm-component): New skeleton.
16358 (verilog-submit-bug-report): Add verilog-case-fold,
16359 remove verilog-mode-release-date.
16360
16361 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
16362
16363 * subr.el (sit-for): Call (input-pending-p t) so as to behave
16364 as before.
16365
16366 2013-10-18 Reuben Thomas <rrt@sc3d.org>
16367
16368 * textmodes/remember.el (remember): Set buffer-offer-save in
16369 remember buffers (bug#13566).
16370
16371 2013-10-18 Daniel Colascione <dancol@dancol.org>
16372
16373 When evaluating forms in ielm, direct standard output to ielm
16374 buffer. Add new ielm-return-for-effect command. Remove trailing
16375 whitespace throughout.
16376
16377 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
16378 (ielm-return-for-effect): New command.
16379 (ielm-send-input): Accept optional `for-effect' parameter.
16380 (ielm-eval-input): Accept optional `for-effect' parameter.
16381 Bind `standard-output' to stream we create using
16382 `ielm-standard-output-impl'. Suppress printing result when
16383 `for-effect'.
16384 (ielm-standard-output-impl): New function.
16385 (inferior-emacs-lisp-mode): Explain new features in documentation.
16386
16387 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
16388
16389 Code cleanup.
16390
16391 * net/tramp.el (tramp-debug-message): Do not check for connection
16392 buffer.
16393 (tramp-message): Use "vector" connection property.
16394
16395 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
16396 (tramp-equal-remote, tramp-eshell-directory-change)
16397 * net/tramp-adb.el (tramp-adb-handle-copy-file)
16398 (tramp-adb-handle-rename-file)
16399 * net/tramp-cmds.el (tramp-list-remote-buffers)
16400 (tramp-cleanup-connection, tramp-cleanup-this-connection)
16401 * net/tramp-compat.el (tramp-compat-process-running-p)
16402 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
16403 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
16404 (tramp-gvfs-handle-rename-file)
16405 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
16406 (tramp-set-file-uid-gid)
16407 * net/tramp-smb.el (tramp-smb-handle-copy-file)
16408 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
16409 of `file-remote-p'.
16410
16411 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
16412 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
16413 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
16414 (tramp-gw-open-network-stream): Suppress unrelated traces.
16415
16416 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
16417 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
16418 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
16419 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
16420 connection property.
16421
16422 * net/tramp-cache.el (top): Suppress traces when reading
16423 persistency file.
16424
16425 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
16426 Refactor common code. Improve debug message.
16427 (tramp-maybe-open-connection)
16428 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
16429 connection buffer too early.
16430
16431 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
16432 from `tramp-smb-actions-with-acl'.
16433 (tramp-smb-actions-set-acl): New defconst.
16434 (tramp-smb-handle-copy-directory)
16435 (tramp-smb-action-get-acl): New defun, renamed from
16436 `tramp-smb-action-with-acl'.
16437 (tramp-smb-action-set-acl): New defun.
16438 (tramp-smb-handle-set-file-acl): Rewrite.
16439
16440 2013-10-17 Glenn Morris <rgm@gnu.org>
16441
16442 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
16443
16444 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
16445
16446 * skeleton.el (skeleton-newline): Remove.
16447 (skeleton-internal-1): Use (insert "\n") instead.
16448
16449 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
16450 let-bindings.
16451
16452 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
16453 forward-sexp-function while we redo its job (bug#15613).
16454
16455 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
16456
16457 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
16458 represented by lists.
16459
16460 2013-10-16 Glenn Morris <rgm@gnu.org>
16461
16462 * tmm.el (tmm--history): New dynamic variable.
16463 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
16464
16465 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
16466
16467 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
16468 (tramp-smb-errors): Add error messages.
16469 (tramp-smb-actions-with-acl): New defconst.
16470 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
16471 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
16472 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
16473 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
16474 (tramp-smb-get-stat-capability): Fix tests.
16475
16476 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
16477
16478 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
16479 (bug#15580).
16480
16481 2013-10-16 Glenn Morris <rgm@gnu.org>
16482
16483 * ansi-color.el (ansi-color-drop-regexp):
16484 Add 1J, 1K, 2K. (Bug#15617)
16485
16486 * files.el (hack-local-variables--warned-lexical): New.
16487 (hack-local-variables):
16488 Warn about misplaced lexical-binding. (Bug#15616)
16489
16490 * net/eww.el (eww-render): Always set eww-current-url,
16491 and update header line. (Bug#15622)
16492 (eww-display-html): ... Rather than just doing it here.
16493
16494 2013-10-15 Eli Zaretskii <eliz@gnu.org>
16495
16496 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
16497 menu navigations commands.
16498
16499 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
16500
16501 * progmodes/subword.el (subword-capitalize): Be careful when
16502 the search for [[:alpha:]] fails (bug#15580).
16503
16504 2013-10-14 Eli Zaretskii <eliz@gnu.org>
16505
16506 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
16507 to commands that scroll the menu.
16508
16509 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
16510
16511 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
16512 Handle methods ending with `?' and `!'.
16513
16514 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
16515
16516 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
16517 `japanese-cp932' to `cp932' to fix the problem where saving a
16518 source file written in Shift_JIS twice would end up having
16519 `coding: japanese-cp932' which Ruby could not recognize.
16520 (ruby-mode-set-encoding): Add support for encodings mapped to nil
16521 in `ruby-encoding-map'.
16522 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
16523 doesn't need to be explicitly declared in magic comment.
16524 (ruby-encoding-map): Add type declaration for better customize UI.
16525
16526 2013-10-13 Glenn Morris <rgm@gnu.org>
16527
16528 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
16529 Occur buffers are read-only. http://bugs.debian.org/720775
16530
16531 * emacs-lisp/authors.el (authors-fixed-entries):
16532 Comment out old alpha stuff.
16533
16534 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
16535
16536 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
16537 to `after-save-hook' instead of `before-save-hook'.
16538 (ruby-mode-set-encoding): Use the value of coding system used to
16539 write the file. Call `basic-save-buffer-1' after modifying the
16540 buffer.
16541
16542 2013-10-13 Alan Mackenzie <acm@muc.de>
16543
16544 Fix indentation/fontification of Java enum with
16545 "implements"/generic.
16546
16547 * progmodes/cc-engine.el (c-backward-over-enum-header):
16548 Extracted from the three other places and enhanced to handle generics.
16549 (c-inside-bracelist-p): Uses new function above.
16550 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
16551 function above.
16552 (c-font-lock-enum-tail): Uses new function above.
16553
16554 2013-10-13 Kenichi Handa <handa@gnu.org>
16555
16556 * international/mule-cmds.el (select-safe-coding-system): Remove a
16557 superfluous condition in chekcing whether a coding system is safe
16558 or not.
16559
16560 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
16561
16562 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
16563
16564 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
16565
16566 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
16567
16568 2013-10-13 Glenn Morris <rgm@gnu.org>
16569
16570 * menu-bar.el (menu-bar-update-buffers):
16571 Unify Buffers menu prompt string. (Bug#15576)
16572
16573 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
16574
16575 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
16576 Add some entries.
16577 (authors-fixed-entries): Use accented form of name.
16578
16579 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
16580
16581 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
16582 method calls (bug#15594).
16583 (ruby-smie--args-separator-p): New function.
16584 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
16585 recognize paren-free method calls.
16586
16587 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
16588 internals of universal-argument.
16589
16590 2013-10-11 Eli Zaretskii <eliz@gnu.org>
16591
16592 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
16593 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
16594 dropped menu on second mouse click on the menu bar.
16595
16596 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
16597
16598 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
16599 (explicit-shell-file-name): Declare.
16600 (sh--vars-before-point, sh--cmd-completion-table): New functions.
16601 (sh-completion-at-point-function): New function.
16602 (sh-mode): Use it.
16603 (sh-smie--keyword-p): Remove unused argument.
16604 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
16605 vars.
16606 (sh-set-shell): Always setup SMIE, even if we use the
16607 old indentation code.
16608
16609 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
16610
16611 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
16612 cases of ? and =.
16613 (ruby-smie-rules): Simplify the "do" rule. The cases when the
16614 predicate would return nil are almost non-existent.
16615 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
16616
16617 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
16618 cache also after commands that modify the buffer but don't move
16619 point.
16620
16621 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
16622
16623 * env.el (substitute-env-in-file-name): New function.
16624 (substitute-env-vars): Extend the meaning of the optional arg.
16625
16626 2013-10-10 Eli Zaretskii <eliz@gnu.org>
16627
16628 * term/w32-win.el (dynamic-library-alist): Define separate lists
16629 of GIF DLLs for versions before and after 5.0.0 of giflib.
16630 (Bug#15531)
16631
16632 2013-10-10 João Távora <joaotavora@gmail.com>
16633
16634 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
16635 not locked, use last revision and current source as
16636 defaults. (Bug#15569)
16637
16638 2013-10-10 Masatake YAMATO <yamato@redhat.com>
16639
16640 * menu-bar.el (menu-bar-open): Don't use popup-menu if
16641 menu-bar is hidden.
16642
16643 2013-10-10 Martin Rudalics <rudalics@gmx.at>
16644
16645 * window.el (pop-to-buffer-same-window): Fix doc-string.
16646 (Bug#15492)
16647
16648 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
16649
16650 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
16651
16652 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
16653
16654 * calendar/icalendar.el (icalendar-import-file):
16655 Fix interactive spec. (Bug#15482)
16656
16657 2013-10-10 Glenn Morris <rgm@gnu.org>
16658
16659 * desktop.el (desktop-save): Default to saving in .emacs.d,
16660 since PWD is no longer in desktop-path by default. (Bug#15319)
16661
16662 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
16663 now that text mode has a menu with the same entry.
16664 (menu-bar-text-mode-auto-fill): Remove now unused func.
16665 * textmodes/text-mode.el (text-mode-map):
16666 Use auto-fill help text from menu-bar.el.
16667
16668 2013-10-10 John Anthony <john@jo.hnanthony.com>
16669
16670 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
16671
16672 2013-10-09 Juri Linkov <juri@jurta.org>
16673
16674 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
16675 instead of this-command-keys. Add universal-argument-more and
16676 universal-argument-minus to the list of prefix commands. (Bug#15568)
16677
16678 2013-10-09 Glenn Morris <rgm@gnu.org>
16679
16680 * vc/vc-svn.el (vc-svn-create-repo):
16681 Expand paths in file://... url. (Bug#15446)
16682
16683 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
16684 Add some entries.
16685 (authors): Remove unused local variables.
16686
16687 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
16688
16689 * profiler.el: Create a more coherent calltree from partial backtraces.
16690 (profiler-format): Hide the tail with `invisible' so that C-s can still
16691 find the hidden elements.
16692 (profiler-calltree-depth): Don't recurse so enthusiastically.
16693 (profiler-function-equal): New hash-table-test.
16694 (profiler-calltree-build-unified): New function.
16695 (profiler-calltree-build): Use it.
16696 (profiler-report-make-name-part): Indent the calltree less.
16697 (profiler-report-mode): Add visibility specs for profiler-format.
16698 (profiler-report-expand-entry, profiler-report-toggle-entry):
16699 Expand the whole subtree when provided with a prefix arg.
16700
16701 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
16702
16703 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
16704 iuwu-mod token.
16705 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
16706 hanging iuwu-mod token.
16707 (ruby-smie--forward-token): Do not include a dot after a token in
16708 that token.
16709 (ruby-smie--backward-token): Likewise.
16710
16711 2013-10-08 Juri Linkov <juri@jurta.org>
16712
16713 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
16714 to isearch-other-control-char.
16715 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
16716 and isearch-post-command-hook to post-command-hook.
16717 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
16718 and isearch-post-command-hook from post-command-hook.
16719 (isearch-unread-key-sequence)
16720 (isearch-reread-key-sequence-naturally)
16721 (isearch-lookup-scroll-key, isearch-other-control-char)
16722 (isearch-other-meta-char): Remove functions.
16723 (isearch-pre-command-hook, isearch-post-command-hook):
16724 New functions based on isearch-other-meta-char rewritten
16725 relying on the new behavior of overriding-terminal-local-map
16726 that does not replace the local keymaps any more. (Bug#15200)
16727
16728 2013-10-08 Eli Zaretskii <eliz@gnu.org>
16729
16730 Support menus on text-mode terminals.
16731 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
16732 functionality.
16733
16734 * tooltip.el (tooltip-mode): Don't error out on TTYs.
16735
16736 * menu-bar.el (popup-menu, popup-menu-normalize-position):
16737 Move here from mouse.el.
16738 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
16739 and arrow keys.
16740 (tty-menu-navigation-map): New map for TTY menu navigation.
16741
16742 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
16743
16744 * frame.el (display-mouse-p): Report text-mode mouse as available
16745 on w32.
16746 (display-popup-menus-p): Report availability if mouse is
16747 available; don't condition on window-system.
16748
16749 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
16750 (tty-menu-selected-face): New faces.
16751
16752 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
16753
16754 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
16755 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
16756 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
16757 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
16758 New constants.
16759 (lisp-mode-variables): New `elisp' argument.
16760 (emacs-lisp-mode): Use it.
16761 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
16762 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
16763
16764 * indent.el: Use lexical-binding.
16765 (indent-region): Add progress reporter.
16766 (tab-stop-list): Make it implicitly extend to infinity by repeating the
16767 last step.
16768 (indent--next-tab-stop): New function to implement this behavior.
16769 (tab-to-tab-stop, move-to-tab-stop): Use it.
16770
16771 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
16772
16773 * indent.el (indent-rigidly--current-indentation): New function.
16774 (indent-rigidly-map): New var.
16775 (indent-rigidly): Use it to provide interactive mode (bug#8196).
16776
16777 2013-10-08 Bastien Guerry <bzg@gnu.org>
16778
16779 * register.el (insert-register): Fix 2013-10-07 change.
16780
16781 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
16782
16783 * progmodes/perl-mode.el: Use lexical-binding.
16784 Remove redundant :group args.
16785 (perl-nochange): Change default to be closer to other major modes's
16786 standard behavior.
16787 (perl-indent-line): Don't consider text on current line as a
16788 valid beginning of function from which to indent.
16789
16790 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
16791 with more than one argument (bug#15538).
16792
16793 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
16794
16795 * vc/pcvs.el: Use lexical-binding.
16796 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
16797 environment of `eval'.
16798 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
16799 than a list of expressions. Adjust callers.
16800 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
16801
16802 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
16803
16804 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
16805 case of the dot in a chained method call being on the following line.
16806
16807 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
16808
16809 * electric.el (electric-indent-inhibit): New var.
16810 (electric-indent-post-self-insert-function): Use it.
16811 * progmodes/python.el (python-mode): Set it.
16812
16813 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
16814 open braces.
16815
16816 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
16817
16818 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
16819 (css-mode): Use electric-indent-chars.
16820
16821 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
16822 (font-lock-beg, font-lock-end): Move before first use.
16823 (nxml-mode): Use syntax-propertize-function.
16824 (nxml-after-change, nxml-after-change1): Adjust accordingly.
16825 (nxml-extend-after-change-region): Remove.
16826 * nxml/xmltok.el: Use lexical-binding.
16827 (xmltok-save): Use `declare'.
16828 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
16829 * nxml/nxml-util.el: Use lexical-binding.
16830 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
16831 Use `declare'.
16832 * nxml/nxml-ns.el: Use lexical-binding.
16833 (nxml-ns-save): Use `declare'.
16834 (nxml-ns-prefixes-for): Avoid add-to-list.
16835 * nxml/rng-match.el: Use lexical-binding.
16836 (rng--ipattern): Use cl-defstruct.
16837 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
16838 (rng-cons-group-after, rng-subst-group-after)
16839 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
16840 Use closures instead of `(lambda...).
16841
16842 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
16843
16844 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
16845 of BEG and END.
16846
16847 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
16848 Use `tramp-handle-insert-file-contents'.
16849 (tramp-gvfs-handle-insert-file-contents): Remove function.
16850
16851 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
16852 Use `save-restriction' in order to keep markers.
16853
16854 * net/trampver.el: Update release number.
16855
16856 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
16857
16858 * progmodes/compile.el (compilation-parse-errors):
16859 Use compilation--put-prop.
16860 (compilation--ensure-parse): Check compilation-multiline.
16861
16862 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
16863
16864 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
16865 lexical-binding.
16866
16867 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
16868
16869 * progmodes/ruby-mode.el: Fix recently added tests.
16870 (ruby-smie-grammar): Add - and +.
16871 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
16872 (ruby-smie--backward-id): New functions.
16873 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
16874 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
16875 any more.
16876
16877 2013-10-07 Leo Liu <sdl.web@gmail.com>
16878
16879 * register.el (register-preview-delay)
16880 (register-preview-functions): New variables.
16881 (register-read-with-preview, register-preview)
16882 (register-describe-oneline): New functions.
16883 (point-to-register, window-configuration-to-register)
16884 (frame-configuration-to-register, jump-to-register)
16885 (number-to-register, view-register, insert-register)
16886 (copy-to-register, append-to-register, prepend-to-register)
16887 (copy-rectangle-to-register): Use register-read-with-preview to
16888 read register. (Bug#15525)
16889
16890 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
16891
16892 * net/network-stream.el (network-stream-open-starttls): Don't add
16893 --insecure if it's already present, because that gnutls-cli
16894 rejects getting that parameter twice.
16895
16896 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
16897
16898 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
16899 keyword, too.
16900
16901 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
16902
16903 * newcomment.el (comment-use-global-state): Change default value
16904 to t, mark obsolete (Bug#15251).
16905 (comment-beginning): In addition to `comment-to-syntax', check the
16906 value of `comment-use-global-state'.
16907
16908 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
16909
16910 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
16911 (ruby-comment-column): Follow the global default, by default.
16912 (ruby-smie-grammar): Add assignment syntax.
16913 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
16914 open-paren, a comma, or a \.
16915 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
16916 and line continuations.
16917 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
16918 followed by implicit semi-colons. Add rule for string concatenation
16919 and for indentation at BOB.
16920 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
16921
16922 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
16923 calling next-sexp, since next-token may have skipped chars which
16924 next-sexp doesn't know should be skipped!
16925
16926 2013-10-05 Leo Liu <sdl.web@gmail.com>
16927
16928 * progmodes/octave.el (octave-send-region):
16929 Call compilation-forget-errors.
16930
16931 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
16932
16933 * vc/vc-svn.el (vc-svn-find-admin-dir):
16934 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
16935 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
16936 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
16937 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
16938
16939 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
16940
16941 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
16942
16943 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
16944
16945 * subr.el (read-passwd): Hide chars even when called within a context
16946 where after-change-functions is disabled (bug#15501).
16947 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
16948 until we removed ourself from overriding-terminal-local-map.
16949
16950 2013-10-04 Leo Liu <sdl.web@gmail.com>
16951
16952 * progmodes/octave.el (inferior-octave-mode):
16953 Call compilation-forget-errors.
16954
16955 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
16956
16957 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
16958
16959 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
16960
16961 * net/secrets.el (secrets-create-collection): Add optional
16962 argument ALIAS. Use proper Label keyword. Append ALIAS as
16963 dbus-call-method argument. (Bug#15516)
16964
16965 2013-10-04 Leo Liu <sdl.web@gmail.com>
16966
16967 * progmodes/octave.el (inferior-octave-error-regexp-alist)
16968 (inferior-octave-compilation-font-lock-keywords): New variables.
16969 (compilation-error-regexp-alist)
16970 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
16971 (inferior-octave-mode): Use compilation-shell-minor-mode.
16972
16973 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
16974
16975 * minibuffer.el (completion--replace): Be careful that `end' might be
16976 a marker.
16977
16978 2013-10-03 Daiki Ueno <ueno@gnu.org>
16979
16980 Add support for package signature checking.
16981 * emacs-lisp/package.el (url-http-file-exists-p)
16982 (epg-make-context, epg-context-set-home-directory)
16983 (epg-verify-string, epg-context-result-for)
16984 (epg-signature-status, epg-signature-to-string)
16985 (epg-check-configuration, epg-configuration)
16986 (epg-import-keys-from-file): Declare.
16987 (package-check-signature): New user option.
16988 (package-unsigned-archives): New user option.
16989 (package-desc): Add `signed' field.
16990 (package-load-descriptor): Set `signed' field if .signed file exists.
16991 (package--archive-file-exists-p): New function.
16992 (package--check-signature): New function.
16993 (package-install-from-archive): Check package signature.
16994 (package--download-one-archive): Check archive signature.
16995 (package-delete): Remove .signed file.
16996 (package-import-keyring): New command.
16997 (package-refresh-contents): Import default keyring.
16998 (package-desc-status): Add "unsigned" status.
16999 (describe-package-1, package-menu--print-info)
17000 (package-menu-mark-delete, package-menu--find-upgrades)
17001 (package-menu--status-predicate): Support "unsigned" status.
17002
17003 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
17004
17005 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
17006 the new compilation scheme using the new byte-codes.
17007
17008 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
17009 (byte-pophandler): New byte codes.
17010 (byte-goto-ops): Adjust accordingly.
17011 (byte-compile--use-old-handlers): New var.
17012 (byte-compile-catch): Use new byte codes depending on
17013 byte-compile--use-old-handlers.
17014 (byte-compile-condition-case--old): Rename from
17015 byte-compile-condition-case.
17016 (byte-compile-condition-case--new): New function.
17017 (byte-compile-condition-case): New function that dispatches depending
17018 on byte-compile--use-old-handlers.
17019 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
17020 when we can.
17021
17022 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
17023 Optimize under `condition-case' and `catch' if
17024 byte-compile--use-old-handlers is nil.
17025 (disassemble-offset): Handle new bytecodes.
17026
17027 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
17028
17029 * subr.el (error): Use `declare'.
17030 (decode-char, encode-char): Use advertised-calling-convention instead
17031 of the docstring to discourage use of the `restriction' arg.
17032
17033 2013-10-03 Daiki Ueno <ueno@gnu.org>
17034
17035 * epg.el (epg-verify-file): Add a comment saying that it does not
17036 notify verification error as a return value nor a signal.
17037 (epg-verify-string): Ditto.
17038
17039 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
17040
17041 * progmodes/compile.el (compilation-start): Try globbing the arg to
17042 `cd' (bug#15417).
17043
17044 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
17045
17046 Sync with Tramp 2.2.8.
17047
17048 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
17049 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
17050 * net/trampver.el: Update release number.
17051
17052 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
17053
17054 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
17055 and default-process-coding-system for darwin only.
17056
17057 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
17058
17059 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
17060
17061 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
17062
17063 * vc/vc-git.el (vc-git-grep): Disable pager.
17064
17065 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
17066
17067 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
17068 Use :url instead of :homepage, as per
17069 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
17070
17071 * newcomment.el (comment-beginning): When `comment-use-syntax' is
17072 non-nil, use `syntax-ppss' (Bug#15251).
17073
17074 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
17075
17076 * progmodes/octave.el (inferior-octave-startup-file):
17077 Prefer ~/.emacs.d/init_octave.m.
17078
17079 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
17080
17081 * emacs-lisp/package.el (package-desc-from-define):
17082 Accept additional arguments as plist, convert them to an alist and store
17083 them in the `extras' slot.
17084 (package-generate-description-file): Convert extras alist back to
17085 plist and append to the `define-package' form arguments.
17086 (package--alist-to-plist): New function.
17087 (package--ac-desc): Add `extras' slot.
17088 (package--add-to-archive-contents): Check if the archive-contents
17089 vector is long enough, and if it is, pass its `extras' slot value
17090 to `package-desc-create'.
17091 (package-buffer-info): Call `lm-homepage', pass the returned value
17092 to `package-desc-from-define'.
17093 (describe-package-1): Render the homepage button (Bug#13291).
17094
17095 * emacs-lisp/package-x.el (package-upload-buffer-internal):
17096 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
17097
17098 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
17099
17100 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
17101 and default-process-coding-system to utf-8-unix (Bug#15402).
17102
17103 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
17104
17105 * subr.el (looking-back): Do not recommend using looking-back.
17106
17107 2013-09-28 Alan Mackenzie <acm@muc.de>
17108
17109 Fix indentation/fontification of Java enum with "implements".
17110
17111 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
17112 regexp which matches "implements", etc., in Java.
17113 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
17114 specifier clauses coming after "enum".
17115 * progmodes/cc-fonts.el (c-font-lock-declarations)
17116 (c-font-lock-enum-tail): Check for extra specifier clauses coming
17117 after "enum".
17118
17119 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
17120
17121 * faces.el (region): Change ns_selection_color to
17122 ns_selection_fg_color, add ns_selection_bg_color.
17123
17124 2013-09-28 Leo Liu <sdl.web@gmail.com>
17125
17126 * progmodes/octave.el (inferior-octave-completion-table)
17127 (inferior-octave-completion-at-point): Minor tweaks.
17128
17129 * textmodes/ispell.el (ispell-lookup-words): Rename from
17130 lookup-words. (Bug#15460)
17131 (lookup-words): Obsolete.
17132 (ispell-complete-word, ispell-command-loop): All uses changed.
17133
17134 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
17135
17136 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
17137 (octave-mode-menu): Add octave-send-buffer.
17138 (octave-send-buffer): New function.
17139
17140 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
17141
17142 * progmodes/octave.el (octave-mode-map): Add key binding for
17143 octave-lookfor.
17144 (octave-mode-menu): Add octave-lookfor.
17145 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
17146 octave-lookfor.
17147 (octave-lookfor): New function.
17148
17149 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
17150
17151 * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
17152 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
17153 its convention.
17154 (cl--loop-set-iterator-function): New function.
17155 (cl-loop): Adjust accordingly, so as not to use cl-subst.
17156 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
17157 Bind `it' with `let' instead of substituting it with `cl-subst'.
17158 (cl--unused-var-p): New function.
17159 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
17160 Eliminate some unused variable warnings (bug#15326).
17161
17162 2013-09-27 Tassilo Horn <tsdh@gnu.org>
17163
17164 * doc-view.el (doc-view-scale-reset): Rename from
17165 `doc-view-reset-zoom-level'.
17166 (doc-view-scale-adjust): New command.
17167 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
17168 `doc-view-scale-adjust'.
17169
17170 2013-09-26 Tassilo Horn <tsdh@gnu.org>
17171
17172 * doc-view.el (doc-view-reset-zoom-level): New command.
17173 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
17174 zoom commands (bug#15466).
17175
17176 2013-09-26 Kenichi Handa <handa@gnu.org>
17177
17178 * international/quail.el (quail-help): Make it not a command.
17179
17180 2013-09-26 Leo Liu <sdl.web@gmail.com>
17181
17182 * minibuffer.el (completion-all-sorted-completions): Make args
17183 optional as they are.
17184
17185 2013-09-25 Daniel Colascione <dancol@dancol.org>
17186
17187 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
17188 specs are and that they're not evaluated.
17189
17190 2013-09-24 Sam Steingold <sds@gnu.org>
17191
17192 * midnight.el (clean-buffer-list-kill-regexps)
17193 (clean-buffer-list-kill-buffer-names): Update for the new Man
17194 buffer naming which includes the object name.
17195
17196 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
17197
17198 * eshell/esh-cmd.el (eshell--sep-terms): New var.
17199 (eshell-parse-command, eshell-parse-pipeline): Use it since
17200 eshell-separate-commands requires a dynamic scoped var.
17201 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
17202
17203 2013-09-23 Leo Liu <sdl.web@gmail.com>
17204
17205 * autoinsert.el (auto-insert-alist): Make the value of
17206 lexical-binding match its file setting.
17207
17208 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
17209
17210 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
17211
17212 * autoarg.el (autoarg-kp-digit-argument):
17213 * electric.el (Electric-command-loop):
17214 * kmacro.el (kmacro-step-edit-insert):
17215 Do not set universal-argument-num-events.
17216
17217 2013-09-22 Leo Liu <sdl.web@gmail.com>
17218
17219 * files.el (interpreter-mode-alist): Add octave.
17220
17221 2013-09-21 Alan Mackenzie <acm@muc.de>
17222
17223 C++: fontify identifier in declaration following "public:" correctly.
17224 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
17225 to match "public", etc.
17226 (c-decl-prefix-re): Add ":" into the C++ value.
17227 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
17228 bit. Add a check for a ":" preceded by "public", etc.
17229
17230 2013-09-21 Eli Zaretskii <eliz@gnu.org>
17231
17232 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
17233 recognized by GDB 7.5 and later.
17234
17235 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
17236
17237 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
17238
17239 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
17240
17241 * subr.el (internal--call-interactively): New const.
17242 (called-interactively-p): Use it (bug#3984).
17243
17244 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
17245
17246 * vc/pcvs.el (cvs-mode-ignore):
17247 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
17248 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
17249
17250 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
17251
17252 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
17253 (eshell-ls-orig-insert-directory): Remove.
17254 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
17255 (eshell-ls-use-in-dired): Use advice-add/remove.
17256 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
17257 Add `orig-fun' arg for use in :around advice.
17258 Make it check (redundantly) eshell-ls-use-in-dired.
17259
17260 2013-09-19 Glenn Morris <rgm@gnu.org>
17261
17262 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
17263
17264 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
17265
17266 * emacs-lisp/eieio.el (class-parent): Undo previous change.
17267
17268 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
17269
17270 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
17271 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
17272 (tramp-get-remote-python): New defuns.
17273 (tramp-get-remote-uid-with-perl)
17274 (tramp-get-remote-gid-with-perl): New defuns. Perl code
17275 contributed by yary <not.com@gmail.com> (tiny change).
17276 (tramp-get-remote-uid-with-python)
17277 (tramp-get-remote-gid-with-python): New defuns. Python code
17278 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
17279 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
17280
17281 2013-09-19 Glenn Morris <rgm@gnu.org>
17282
17283 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
17284
17285 * eshell/em-unix.el (eshell-remove-entries):
17286 Rename argument to avoid name-clash with global `top-level'.
17287
17288 * eshell/esh-proc.el (eshell-kill-process-function):
17289 Remove eshell-reset-after-proc from eshell-kill-hook if present.
17290 (eshell-reset-after-proc): Remove unused arg `proc'.
17291
17292 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
17293 (directory-files-and-attributes): Mark unused arg.
17294
17295 * eshell/em-unix.el (eshell-remove-entries):
17296 Remove unused arg `path'. Update callers.
17297
17298 * eshell/em-hist.el (eshell-hist-parse-arguments):
17299 Remove unused arg `silent'. Update callers.
17300
17301 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
17302 Fix (f)boundp mix-up.
17303
17304 * eshell/em-smart.el (eshell-smart-scroll-window)
17305 (eshell-disable-after-change):
17306 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
17307
17308 2013-09-18 Alan Mackenzie <acm@muc.de>
17309
17310 Fix fontification of type when followed by "const".
17311 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
17312 "known" types from fontification.
17313
17314 2013-09-18 Glenn Morris <rgm@gnu.org>
17315
17316 * emacs-lisp/chart.el (x-display-color-cells): Declare.
17317 (chart-face-list): Drop Emacsen without display-color-p.
17318
17319 * net/eww.el (libxml-parse-html-region): Declare.
17320 (eww-display-html): Explicit error if no libxml2 support.
17321
17322 * doc-view.el (doc-view-mode): Silence --without-x compilation.
17323
17324 * image.el (image-type-from-buffer, image-multi-frame-p):
17325 Remove --without-x warning/error.
17326
17327 * mouse.el (mouse-yank-primary):
17328 * term.el (term-mouse-paste):
17329 Reorder to silence --without-x compilation.
17330
17331 * mpc.el (doc-view-mode): Silence --without-x compilation.
17332
17333 * mail/rmailmm.el (rmail-mime-set-bulk-data):
17334 Silence --without-x compilation.
17335
17336 * progmodes/gud.el (gud-find-file, gud-mode):
17337 Silence --without-x compilation.
17338 (tooltip-mode): Declare.
17339
17340 * wdired.el (dired-backup-overwrite): Remove declaration.
17341 (wdired-mode-map): Add doc string.
17342
17343 * custom.el (x-get-resource): Declare.
17344
17345 * eshell/em-glob.el (ange-cache):
17346 * eshell/em-unix.el (ange-cache): Declare.
17347
17348 * faces.el (x-display-list, x-open-connection, x-get-resource):
17349 Declare.
17350
17351 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
17352 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
17353 Declare.
17354
17355 * frame.el (x-display-grayscale-p, x-display-name): Declare.
17356
17357 * net/gnutls.el (gnutls-log-level): Declare.
17358
17359 * net/shr.el (image-size, image-animate): Declare.
17360
17361 * simple.el (font-info): Declare.
17362
17363 * subr.el (x-popup-dialog): Declare.
17364
17365 * term/common-win.el (x-select-enable-primary)
17366 (x-last-selected-text-primary, x-last-selected-text-clipboard):
17367 Declare.
17368
17369 * term/ns-win.el (x-handle-args): Declare.
17370
17371 * term/x-win.el (x-select-enable-clipboard): Declare.
17372
17373 * term/w32-win.el (create-default-fontset): Declare.
17374
17375 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
17376 Declare.
17377
17378 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
17379 (fit-frame-to-buffer): Explicit error if --without-x.
17380 (mouse-autoselect-window-select): Silence compiler.
17381
17382 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
17383
17384 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
17385 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
17386 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
17387 * eshell/esh-util.el (eshell-sublist):
17388 Remove unused local variables.
17389
17390 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
17391
17392 * textmodes/two-column.el: Make 2C-split work for --without-x.
17393 (scroll-bar-columns): Autoload.
17394 (top-level): Require fringe when compiling.
17395
17396 2013-09-18 Leo Liu <sdl.web@gmail.com>
17397
17398 * subr.el (add-hook): Robustify to handle closure as well.
17399
17400 2013-09-17 Glenn Morris <rgm@gnu.org>
17401
17402 * simple.el (messages-buffer-mode-map): Unbind "g".
17403
17404 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
17405
17406 * help-mode.el (help-mode-finish): Use derived-mode-p.
17407 Remove obsolete highlighting.
17408
17409 * play/life.el (life-mode): Use define-derived-mode. Derive from
17410 special-mode.
17411 (life): Let-bind inhibit-read-only.
17412 (life-setup): Avoid `setq'. Use `life-mode'.
17413
17414 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
17415 which should not be needed any more.
17416 (package-menu-refresh, package-menu-describe-package): Use user-error.
17417
17418 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
17419 (eshell-post-rewrite-command-hook): Make obsolete.
17420 (eshell-parse-command): Simplify.
17421 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
17422 (eshell--cmd): Declare.
17423 (eshell-parse-pipeline): Remove unused var `final-p'.
17424 Pass a dynvar to eshell-post-rewrite-command-hook.
17425 Implement the new eshell-post-rewrite-command-function.
17426 (eshell-invoke-directly): Remove unused arg `input'.
17427 * eshell/esh-io.el (eshell-io-initialize):
17428 Use eshell-post-rewrite-command-function (bug#15399).
17429 (eshell--apply-redirections): Rename from eshell-apply-redirections;
17430 adjust to new calling convention.
17431 (eshell-create-handles): Rename args to avoid clashing with dynvar
17432 `standard-output'.
17433
17434 2013-09-17 Glenn Morris <rgm@gnu.org>
17435
17436 * simple.el (messages-buffer-mode): New major mode.
17437 (messages-buffer): New function.
17438 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
17439 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
17440 (ert-run-test): Use `messages-buffer' function.
17441 (ert--force-message-log-buffer-truncation): Ignore read-only.
17442 * help.el (view-echo-area-messages): Use `messages-buffer' function.
17443 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
17444
17445 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
17446
17447 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
17448
17449 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
17450
17451 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
17452
17453 * icomplete.el (icomplete-in-buffer): New var.
17454 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
17455 vars and replace them with functions.
17456 (icomplete-minibuffer-setup): Adjust accordingly.
17457 (icomplete--completion-table, icomplete--completion-predicate)
17458 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
17459 New functions.
17460 (icomplete-forward-completions, icomplete-backward-completions)
17461 (icomplete-simple-completing-p, icomplete-exhibit)
17462 (icomplete-completions): Use them.
17463 (icomplete--in-region-buffer): New var.
17464 (icomplete--in-region-setup): New function.
17465 (icomplete-mode): Use it.
17466
17467 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
17468 (bug#15379).
17469 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
17470 return args and options.
17471 (eshell-eval-using-options): Use the new return value of
17472 eshell--do-opts to set the options's vars in their scope.
17473 (eshell--set-option): Rename from eshell-set-option.
17474 Add arg `opt-vals'.
17475 (eshell--process-option): Rename from eshell-process-option.
17476 Add arg `opt-vals'.
17477 (eshell--process-args): Use an `opt-vals' alist to store the options's
17478 values during their processing and return them additionally to the
17479 remaining args.
17480
17481 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
17482
17483 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
17484 continuation character an operator, as far as indentation is
17485 concerned (Bug#15369).
17486
17487 2013-09-15 Martin Rudalics <rudalics@gmx.at>
17488
17489 * window.el (window--state-put-2): Don't process buffer state
17490 when buffer doesn't exist any more (Bug#15382).
17491
17492 2013-09-15 Glenn Morris <rgm@gnu.org>
17493
17494 * eshell/em-unix.el (eshell/rm):
17495 Make -f ignore missing files. (Bug#15373)
17496
17497 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
17498 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
17499 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
17500
17501 2013-09-14 Glenn Morris <rgm@gnu.org>
17502
17503 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
17504
17505 2013-09-13 Glenn Morris <rgm@gnu.org>
17506
17507 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
17508 (dired-guess-default): Make `file' available in the env. (Bug#15363)
17509
17510 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
17511
17512 * frame.el (x-focus-frame): Mark as declared in frame.c.
17513
17514 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
17515
17516 * ls-lisp.el: Use advice-add.
17517 (original-insert-directory): Remove.
17518 (ls-lisp--insert-directory): Rename from insert-directory; add
17519 `orig-fun' argument.
17520 (insert-directory): Advise.
17521
17522 2013-09-13 Eli Zaretskii <eliz@gnu.org>
17523
17524 * term.el (term-emulate-terminal): Decode the command string
17525 before passing it to term-command-hook. (Bug#15337)
17526
17527 2013-09-13 Glenn Morris <rgm@gnu.org>
17528
17529 * eshell/esh-util.el (ange-cache): Move declaration earlier.
17530
17531 * eshell/esh-ext.el (eshell-search-path): Declare.
17532
17533 * eshell/em-prompt.el (eshell/pwd): Autoload it.
17534 Otherwise an error occurs if eshell-dirs module not loaded.
17535
17536 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
17537
17538 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
17539
17540 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
17541 `tramp-check-proper-host'. Check for a valid method name.
17542
17543 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
17544 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
17545 * net/tramp-sh.el (tramp-maybe-open-connection):
17546 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
17547
17548 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
17549 also for hash values.
17550
17551 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
17552
17553 * term/ns-win.el (parameters): Don't declare as dynamic.
17554 (before-make-frame-hook): Don't add ineffective function.
17555
17556 * eshell/*.el: Use lexical-binding (bug#15231).
17557
17558 2013-09-12 Kenichi Handa <handa@gnu.org>
17559
17560 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
17561
17562 2013-09-12 Glenn Morris <rgm@gnu.org>
17563
17564 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
17565 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
17566
17567 * subr.el (do-after-load-evaluation): Also give compiler warnings
17568 when obsolete files are used (except by obsolete files).
17569
17570 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
17571 in the status output, assume `filename' is the first. (Bug#15322)
17572
17573 * vc/vc.el (vc-deduce-fileset): Doc fix.
17574
17575 * calc/calc-help.el (Info-goto-node):
17576 * progmodes/cperl-mode.el (Info-find-node):
17577 * vc/ediff.el (Info-goto-node): Update declarations.
17578
17579 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
17580
17581 * vc/vc-bzr.el (vc-compilation-mode): Declare.
17582 (vc-bzr-pull): Require vc-dispatcher.
17583 * vc/vc-git.el (vc-compilation-mode): Declare.
17584 (vc-git-pull): Require vc-dispatcher.
17585
17586 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
17587
17588 * progmodes/octave.el (help-button-action): Declare.
17589
17590 * shell.el (shell-directory-tracker): Output error as a message
17591 rather than just returning it as a string.
17592 (shell-process-pushd): Remove useless use of message.
17593
17594 * dframe.el (dframe-timer-fn):
17595 * files.el (dir-locals-read-from-file):
17596 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
17597 (mpc-format):
17598 * reveal.el (reveal-post-command):
17599 * saveplace.el (load-save-place-alist-from-file):
17600 * shell.el (shell-resync-dirs):
17601 * w32-common-fns.el (x-get-selection-value):
17602 * emacs-lisp/copyright.el (copyright-find-copyright):
17603 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
17604 * emulation/tpu-edt.el (tpu-copy-keyfile):
17605 * play/bubbles.el (bubbles--mark-neighbourhood):
17606 * progmodes/executable.el
17607 (executable-make-buffer-file-executable-if-script-p):
17608 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
17609
17610 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
17611
17612 Cleanup Eshell to rely less on dynamic scoping.
17613 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
17614 last-value, and ext-command here. Bind `args' closer to `body'.
17615 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
17616 (eshell--args): Declare new dynamic var.
17617 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
17618 last-value, and ext-command. Pass `args' to `body'.
17619 (eshell-process-args): Bind eshell--args.
17620 (eshell-set-option): Use eshell--args.
17621 * eshell/eshell.el (eshell): Use derived-mode-p.
17622 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
17623 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
17624 (eshell-glob-function): Declare.
17625 * eshell/esh-util.el: Require cl-lib.
17626 (eshell-read-hosts-file): Avoid add-to-list.
17627 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
17628 `err'.
17629 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
17630 Declare.
17631 (eshell/diff): Remove unused var `err'.
17632 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
17633 `killflag'.
17634 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
17635 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
17636 first use.
17637 * eshell/em-glob.el (eshell-glob-matches, message-shown):
17638 Move declaration before first use.
17639 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
17640 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
17641 rely on cl-return.
17642
17643 2013-09-12 Glenn Morris <rgm@gnu.org>
17644
17645 * term/ns-win.el (global-map): Remove binding for ispell-next,
17646 deleted 1999-05-29. (Bug#15357)
17647
17648 2013-09-11 Glenn Morris <rgm@gnu.org>
17649
17650 * echistory.el (electric-command-history): Remove call to deleted func.
17651
17652 * play/landmark.el (landmark-mode): Fix typos.
17653
17654 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
17655 Check cvs-sort-ignore-file is bound.
17656
17657 * savehist.el: No need for cl when compiling on Emacs.
17658
17659 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
17660
17661 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
17662 (bug#15338).
17663 (eshell-self-insert-command, eshell-send-invisible):
17664 Remove unused argument.
17665 (eshell-handle-control-codes): Remove unused var `orig'.
17666 Avoid delete-backward-char.
17667
17668 * files.el (set-auto-mode): Simplify a bit further.
17669
17670 2013-09-11 Glenn Morris <rgm@gnu.org>
17671
17672 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
17673 (set-auto-mode): Don't regexp-quote elements.
17674 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
17675 * progmodes/cc-mode.el (interpreter-mode-alist):
17676 * progmodes/ruby-mode.el (interpreter-mode-alist):
17677 Revert previous change.
17678
17679 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
17680
17681 * play/snake.el (snake-mode):
17682 * play/mpuz.el (mpuz-mode):
17683 * play/landmark.el (lm-mode):
17684 * play/blackbox.el (blackbox-mode):
17685 * play/5x5.el (5x5-mode):
17686 * obsolete/options.el (Edit-options-mode):
17687 * net/quickurl.el (quickurl-list-mode):
17688 * net/newst-treeview.el (newsticker-treeview-mode):
17689 * mail/rmailsum.el (rmail-summary-mode):
17690 * mail/mspools.el (mspools-mode):
17691 * locate.el (locate-mode):
17692 * ibuffer.el (ibuffer-mode):
17693 * emulation/ws-mode.el (wordstar-mode):
17694 * emacs-lisp/debug.el (debugger-mode):
17695 * array.el (array-mode):
17696 * net/eudc.el (eudc-mode): Use define-derived-mode.
17697 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
17698 Move initialization into declaration.
17699 (mairix-searches-mode): Use define-derived-mode.
17700 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
17701 (eudc-edit-hotlist): Use dolist.
17702 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
17703 (Man-mode): Use define-derived-mode.
17704 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
17705 (Info-edit-mode): Use define-derived-mode.
17706 (Info-cease-edit): Use Info-mode.
17707 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
17708 into declaration.
17709 (eshell-mode): Use define-derived-mode.
17710 * chistory.el (command-history-mode-map): Rename from
17711 command-history-map.
17712 (command-history-mode): Use define-derived-mode.
17713 (Command-history-setup): Remove function.
17714 * calc/calc.el (calc-trail-mode-map): New var.
17715 (calc-trail-mode): Use define-derived-mode.
17716 (calc-trail-buffer): Set calc-main-buffer manually.
17717 * bookmark.el (bookmark-insert-annotation): New function.
17718 (bookmark-edit-annotation): Use it.
17719 (bookmark-edit-annotation-mode): Make it a proper major mode.
17720 (bookmark-send-edited-annotation): Use derived-mode-p.
17721 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
17722 closer to its ideal place. Use \' to match EOS.
17723
17724 * profiler.el (profiler-calltree-find): Use function-equal.
17725
17726 2013-09-10 Glenn Morris <rgm@gnu.org>
17727
17728 * files.el (interpreter-mode-alist): Convert to regexps.
17729 (set-auto-mode): Adapt for this. (Bug#15306)
17730 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
17731 Comment out unused variable.
17732 * progmodes/cc-mode.el (interpreter-mode-alist):
17733 * progmodes/python.el (interpreter-mode-alist):
17734 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
17735 * progmodes/sh-script.el (sh-set-shell):
17736 No longer use interpreter-mode-alist to get list of shells.
17737
17738 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
17739
17740 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
17741
17742 * simple.el: Use set-temporary-overlay-map for universal-argument.
17743 (universal-argument-map): Don't use default-bindings (bug#15317).
17744 Bind switch-frame explicitly. Replace universal-argument-minus with
17745 a conditional binding.
17746 (universal-argument-num-events, saved-overriding-map): Remove.
17747 (restore-overriding-map): Remove.
17748 (universal-argument--mode): Rename from save&set-overriding-map,
17749 and rewrite.
17750 (universal-argument, universal-argument-more, negative-argument)
17751 (digit-argument): Adjust accordingly.
17752 (universal-argument-minus): Remove.
17753 (universal-argument-other-key): Remove.
17754
17755 * subr.el (with-demoted-errors): Add `format' argument.
17756
17757 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
17758
17759 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
17760 `tramp-cleanup-connection'.
17761
17762 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
17763 parameters KEEP-DEBUG and KEEP-PASSWORD.
17764
17765 * net/tramp.el (tramp-file-name-handler):
17766 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
17767 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
17768 (tramp-maybe-open-connection):
17769 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
17770 Use `tramp-cleanup-connection'.
17771
17772 * net/tramp-sh.el (tramp-maybe-open-connection):
17773 Catch 'uname-changed inside the progress reporter.
17774
17775 2013-09-10 Glenn Morris <rgm@gnu.org>
17776
17777 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
17778
17779 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
17780 returns "alternate access method" in mode (eg "-rw-r--r--.").
17781
17782 2013-09-08 Glenn Morris <rgm@gnu.org>
17783
17784 * saveplace.el (load-save-place-alist-from-file):
17785 Demote errors. (Bug#15305)
17786
17787 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
17788
17789 Improve compatibility with older Emacsen, and XEmacs.
17790
17791 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
17792 only if it is bound. It isn't for XEmacs.
17793 (with-tramp-progress-reporter): Do not let-bind `result'.
17794 This yields to scoping errors in XEmacs.
17795 (tramp-handle-make-auto-save-file-name): New function, moved from
17796 tramp-sh.el.
17797
17798 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
17799 for `make-auto-save-file-name'.
17800 (tramp-adb--gnu-switches-to-ash):
17801 Use `tramp-compat-replace-regexp-in-string'.
17802
17803 * net/tramp-cache.el (tramp-cache-print): Call
17804 `substring-no-properties' only if it is bound. It isn't for XEmacs.
17805
17806 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
17807 bound. It isn't for XEmacs.
17808
17809 * net/tramp-compat.el (tramp-compat-copy-file):
17810 Catch `wrong-number-of-arguments' error.
17811 (tramp-compat-replace-regexp-in-string): New defun.
17812
17813 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
17814 for `make-auto-save-file-name'.
17815 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
17816 `copy-file'.
17817 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
17818 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
17819 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
17820
17821 * net/tramp-gw.el (tramp-gw-open-network-stream):
17822 Use `tramp-compat-replace-regexp-in-string'.
17823
17824 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
17825 Call `tramp-handle-make-auto-save-file-name'.
17826 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
17827 (tramp-sh-file-gvfs-monitor-dir-process-filter)
17828 (tramp-sh-file-inotifywait-process-filter):
17829 Use `tramp-compat-replace-regexp-in-string'.
17830 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
17831
17832 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
17833 for `make-auto-save-file-name'.
17834 (tramp-smb-handle-copy-directory):
17835 Call `tramp-compat-replace-regexp-in-string'.
17836 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
17837 (tramp-smb-handle-copy-file): Improve error message.
17838 (tramp-smb-handle-rename-file): Rename directly only in case
17839 `newname' does not exist yet. This is a restriction of smbclient.
17840 (tramp-smb-maybe-open-connection): Rerun the function only when
17841 `auth-sources' is non-nil.
17842
17843 2013-09-08 Kenichi Handa <handa@gnu.org>
17844
17845 * international/characters.el: Set category "^" (Combining) for
17846 more characters.
17847
17848 2013-09-07 Alan Mackenzie <acm@muc.de>
17849
17850 Correctly fontify Java class constructors.
17851 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
17852 in Java Mode.
17853 (c-recognize-typeless-decls): Set the Java value to t.
17854 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
17855 While handling a "(", add a check for, effectively, Java, and handle a
17856 "typeless" declaration there.
17857
17858 2013-09-07 Roland Winkler <winkler@gnu.org>
17859
17860 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
17861 field subtitle for entry type book.
17862
17863 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
17864
17865 * minibuffer.el: Make minibuffer-complete call completion-in-region
17866 rather than other way around.
17867 (completion--some, completion-pcm--find-all-completions):
17868 Don't delay signals when debugging.
17869 (minibuffer-completion-contents): Beware fields within the
17870 minibuffer contents.
17871 (completion-all-sorted-completions): Use defvar-local.
17872 (completion--do-completion, completion--cache-all-sorted-completions)
17873 (completion-all-sorted-completions, minibuffer-force-complete):
17874 Add args `beg' and `end'.
17875 (completion--in-region-1): New fun, extracted from minibuffer-complete.
17876 (minibuffer-complete): Use completion-in-region.
17877 (completion-complete-and-exit): New fun, extracted from
17878 minibuffer-complete-and-exit.
17879 (minibuffer-complete-and-exit): Use it.
17880 (completion--complete-and-exit): Rename from
17881 minibuffer--complete-and-exit.
17882 (completion-in-region--single-word): New function, extracted from
17883 minibuffer-complete-word.
17884 (minibuffer-complete-word): Use it.
17885 (display-completion-list): Make `common-substring' argument obsolete.
17886 (completion--in-region): Call completion--in-region-1 instead of
17887 minibuffer-complete.
17888 (completion-help-at-point): Pass boundaries to
17889 minibuffer-completion-help as args rather than via an overlay.
17890 (completion-pcm--string->pattern): Use `any-delim'.
17891 (completion-pcm--optimize-pattern): New function.
17892 (completion-pcm--pattern->regex): Handle `any-delim'.
17893 * icomplete.el (icomplete-forward-completions)
17894 (icomplete-backward-completions, icomplete-completions):
17895 Adjust calls to completion-all-sorted-completions and
17896 completion--cache-all-sorted-completions.
17897 (icomplete-with-completion-tables): Default to t.
17898 * emacs-lisp/crm.el (crm--current-element): Rename from
17899 crm--select-current-element. Don't put an overlay but return the
17900 boundaries instead.
17901 (crm--completion-command): Take two new args to bind to the boundaries.
17902 (crm-completion-help): Adjust accordingly.
17903 (crm-complete): Use completion-in-region.
17904 (crm-complete-word): Use completion-in-region--single-word.
17905 (crm-complete-and-exit): Use completion-complete-and-exit.
17906
17907 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
17908
17909 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
17910 than dynamically.
17911
17912 2013-09-06 Juri Linkov <juri@jurta.org>
17913
17914 * info.el (Info-display-images-node): When image file doesn't exist
17915 display text version of the image if it's provided in the Info file.
17916 Otherwise, display the location of missing image from SRC attribute.
17917 Add help-echo text property from ALT attribute. (Bug#15279)
17918
17919 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
17920
17921 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
17922 (edit-abbrevs-mode): Use define-derived-mode.
17923
17924 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
17925 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
17926 that it's defined.
17927 (epa-key-list-mode, epa-key-mode, epa-info-mode):
17928 Use define-derived-mode.
17929
17930 * epg.el (epg-start-encrypt): Minor CSE simplification.
17931
17932 2013-09-06 William Xu <william.xwl@gmail.com>
17933
17934 * arc-mode.el: Add support for 7za (bug#15264).
17935 (archive-7z-program): New var.
17936 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
17937 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
17938 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
17939
17940 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
17941
17942 Remove URL syntax.
17943
17944 * net/tramp.el (tramp-syntax, tramp-prefix-format)
17945 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
17946 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
17947 (tramp-postfix-host-format, tramp-file-name-regexp)
17948 (tramp-completion-file-name-regexp)
17949 (tramp-completion-dissect-file-name)
17950 (tramp-handle-substitute-in-file-name): Remove 'url case.
17951 (tramp-file-name-regexp-url)
17952 (tramp-completion-file-name-regexp-url): Remove constants.
17953
17954 2013-09-06 Glenn Morris <rgm@gnu.org>
17955
17956 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
17957
17958 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
17959
17960 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
17961 keywords" below "here-doc beginnings" (Bug#15270).
17962
17963 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
17964
17965 * subr.el (pop): Use `car-safe'.
17966 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
17967 to detect unused `pop' return value.
17968
17969 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
17970 var `block-regexp'.
17971 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
17972 (python-fill-string): Remove unused var `marker'.
17973 (python-skeleton-add-menu-items): Remove unused var `items'.
17974
17975 * international/mule-cmds.el: Require CL.
17976 (find-coding-systems-for-charsets): Avoid add-to-list.
17977 (sanitize-coding-system-list): New function, extracted from
17978 select-safe-coding-system-interactively.
17979 (select-safe-coding-system-interactively): Use it.
17980 (read-input-method-name): Accept symbols for `default'.
17981
17982 * emacs-lisp/advice.el (defadvice): Add indent rule.
17983
17984 2013-09-05 Daniel Hackney <dan@haxney.org>
17985
17986 * dired-x.el:
17987 * net/ange-ftp.el:
17988 * net/browse-url.el:
17989 * net/dbus.el:
17990 * net/eudc.el:
17991 * net/eudcb-ldap.el:
17992 * net/eww.el:
17993 * net/imap.el:
17994 * printing.el:
17995 * vc/ediff-diff.el:
17996 * vc/ediff-init.el:
17997 * vc/ediff-merg.el:
17998 * vc/ediff-mult.el:
17999 * vc/ediff-util.el:
18000 * vc/ediff-wind.el:
18001 * vc/ediff.el:
18002 * vc/emerge.el:
18003 * vc/pcvs.el:
18004 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
18005 byte compiler. Remove some unused let-bound variables.
18006
18007 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
18008
18009 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
18010 a "ref-cell", since it gets better optimized (bug#14883).
18011
18012 2013-09-05 Glenn Morris <rgm@gnu.org>
18013
18014 * progmodes/cc-awk.el (c-forward-sws): Declare.
18015
18016 2013-09-04 Glenn Morris <rgm@gnu.org>
18017
18018 * generic-x.el [rul-generic-mode]: Require cc-mode.
18019 (c++-mode-syntax-table): Declare.
18020 (rul-generic-mode-syntax-table): Init in the defvar.
18021
18022 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
18023
18024 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
18025 (vc-do-command, vc-set-async-update):
18026 * vc/vc-mtn.el (vc-mtn-dir-status):
18027 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
18028 (vc-hg-pull, vc-hg-merge-branch):
18029 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
18030 (vc-git-merge-branch):
18031 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
18032 (vc-cvs-dir-status-files):
18033 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
18034 (vc-bzr-dir-status-files):
18035 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
18036 * vc/vc-annotate.el: Use lexical-binding.
18037 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
18038 (vc-sentinel-movepoint): Declare.
18039 (vc-annotate): Don't use `goto-line'.
18040 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
18041 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
18042 (vc-sentinel-movepoint): Declare.
18043 * vc/vc-svn.el: Use lexical-binding.
18044 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
18045 * vc/vc-sccs.el:
18046 * vc/vc-rcs.el: Use lexical-binding.
18047
18048 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
18049 `deleted'. Don't drop errors silently.
18050
18051 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
18052
18053 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
18054
18055 * vc/vc.el (vc-ignore): Rewrite.
18056 (vc-default-ignore): New function.
18057 (vc-default-ignore-completion-table): Use find-ignore-file.
18058
18059 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
18060 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
18061 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
18062 Remove. Most code moved to vc.el.
18063
18064 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
18065
18066 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
18067 * net/tramp-smb.el (tramp-smb-get-file-entries):
18068 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
18069 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
18070
18071 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
18072 Update call to it.
18073 (eww-change-select): Remove unused var `properties'.
18074 (eww-make-unique-file-name): Remove unused var `base'.
18075
18076 * finder.el (finder-compile-keywords): Don't mess with windows.
18077
18078 * calculator.el (calculator-funcall): Fix typo in last change.
18079
18080 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
18081
18082 * emacs-lisp/package.el (package-activate-1): Don't let a missing
18083 <pkg>-autoloads.el file stop us.
18084
18085 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
18086 warnings, and factor out common code.
18087
18088 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
18089
18090 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
18091 two-character operators and whether the character preceding them
18092 changes their meaning (Bug#15208).
18093
18094 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
18095
18096 Format code sent to Python shell for robustness.
18097 * progmodes/python.el (python-shell-buffer-substring):
18098 New function.
18099 (python-shell-send-region, python-shell-send-buffer): Use it.
18100
18101 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
18102
18103 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
18104 * net/tramp.el (tramp-user-error): ... here.
18105 (tramp-find-method, tramp-check-proper-host)
18106 (tramp-dissect-file-name, tramp-debug-message)
18107 (tramp-handle-shell-command):
18108 * net/tramp-adb.el (tramp-adb-handle-shell-command):
18109 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
18110
18111 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
18112
18113 2013-09-02 Martin Rudalics <rudalics@gmx.at>
18114
18115 * avoid.el (mouse-avoidance-point-position)
18116 (mouse-avoidance-too-close-p): Handle case where posn-at-point
18117 returns nil.
18118
18119 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
18120
18121 * progmodes/python.el (python-shell-completion-get-completions):
18122 Drop use of deleted `comint-last-prompt-overlay'.
18123 (python-nav-if-name-main): New command.
18124
18125 2013-09-01 Glenn Morris <rgm@gnu.org>
18126
18127 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
18128 Avoid leading space in $wins. Otherwise the sed command used by
18129 eg compile-main ends up containing "/*.el". (Bug#15170)
18130
18131 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
18132
18133 2013-08-30 Glenn Morris <rgm@gnu.org>
18134
18135 * emacs-lisp/bytecomp.el (byte-recompile-directory):
18136 Fix is-this-a-directory logic. (Bug#15220)
18137
18138 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
18139
18140 * textmodes/css-mode.el: Use SMIE.
18141 (css-smie-grammar): New var.
18142 (css-smie--forward-token, css-smie--backward-token)
18143 (css-smie-rules): New functions.
18144 (css-mode): Use them.
18145 (css-navigation-syntax-table): Remove var.
18146 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
18147 (css-indent-calculate, css-indent-line): Remove functions.
18148
18149 Misc changes to reduce use of `(lambda...); and other cleanups.
18150 * cus-edit.el: Use lexical-binding.
18151 (customize-push-and-save, customize-apropos)
18152 (custom-buffer-create-internal): Use closures.
18153 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
18154 * progmodes/ada-xref.el: Use setq.
18155 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
18156 * dframe.el: Use lexical-binding.
18157 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
18158 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
18159 * descr-text.el: Use lexical-binding.
18160 (describe-text-widget, describe-text-sexp, describe-property-list):
18161 Use closures.
18162 * comint.el (comint-history-isearch-push-state): Use a closure.
18163 * calculator.el: Use lexical-binding.
18164 (calculator-number-to-string): Make it work with lexical-binding.
18165 (calculator-funcall): Same and use cl-letf.
18166
18167 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
18168 (lisp--company-doc-string, lisp--company-location): New functions.
18169 (lisp-completion-at-point): Use them to improve Company support.
18170
18171 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
18172 params of lambda expressions.
18173 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
18174 (ruby-smie--opening-pipe-p): New function.
18175 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
18176 symbols and matched |...| for formal params.
18177 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
18178 from being treated as hanging. Handle "rescue".
18179
18180 2013-08-29 Glenn Morris <rgm@gnu.org>
18181
18182 * progmodes/cc-engine.el (c-pull-open-brace):
18183 Move definition before use.
18184
18185 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
18186
18187 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
18188 are immutable. Don't use `unsafe' any more.
18189 (cl--defsubst-expand): Don't substitute at the same time as keeping
18190 a residual unused let-binding. Don't use `unsafe' any more.
18191
18192 2013-08-29 Glenn Morris <rgm@gnu.org>
18193
18194 * calendar/cal-china.el (calendar-chinese-year-cache):
18195 Recenter on 2015.
18196
18197 * nxml/nxml-util.el (nxml-debug-clear-inside):
18198 Use cl-loop rather than loop.
18199
18200 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
18201
18202 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
18203
18204 2013-08-28 Glenn Morris <rgm@gnu.org>
18205
18206 * progmodes/antlr-mode.el: No need to require cc-mode twice.
18207
18208 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
18209
18210 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
18211
18212 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
18213
18214 * simple.el (repeat-complex-command--called-interactively-skip):
18215 New function.
18216 (repeat-complex-command): Use it (bug#14136).
18217
18218 * progmodes/cc-mode.el: Minor cleanup of var declarations.
18219 (c-define-abbrev-table): Add `doc' argument.
18220 (c-mode-abbrev-table, c++-mode-abbrev-table)
18221 (objc-mode-abbrev-table, java-mode-abbrev-table)
18222 (idl-mode-abbrev-table, pike-mode-abbrev-table)
18223 (awk-mode-abbrev-table): Use it.
18224 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
18225 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
18226 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
18227 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
18228 Move initialization into the declaration; and remove any
18229 autoload cookie.
18230
18231 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
18232 and dynamic let binding.
18233
18234 * vc/smerge-mode.el: Remove redundant :group args.
18235
18236 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
18237 to load-path.
18238
18239 2013-08-28 Juri Linkov <juri@jurta.org>
18240
18241 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
18242 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
18243 (isearch-other-meta-char): Handle an undefined shifted printing
18244 character by downshifting it. (Bug#15200)
18245
18246 2013-08-28 Juri Linkov <juri@jurta.org>
18247
18248 * isearch.el (isearch-search): Change regexp error message for
18249 non-regexp searches. (Bug#15166)
18250
18251 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
18252
18253 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
18254 for portability to hosts where /bin/sh has problems.
18255
18256 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
18257
18258 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
18259
18260 2013-08-27 Juri Linkov <juri@jurta.org>
18261
18262 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
18263 in the keyboard macro. (Bug#15126)
18264
18265 2013-08-27 Juri Linkov <juri@jurta.org>
18266
18267 * isearch.el (isearch-quote-char): Comment out converting unibyte
18268 to multibyte, thus syncing with its `quoted-insert' counterpart.
18269 (Bug#15166)
18270
18271 2013-08-27 Martin Rudalics <rudalics@gmx.at>
18272
18273 * window.el (display-buffer-use-some-window): Add missing
18274 argument in call of get-largest-window (Bug#15185).
18275 Reported by Stephen Leake.
18276
18277 2013-08-27 Glenn Morris <rgm@gnu.org>
18278
18279 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
18280
18281 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
18282
18283 * progmodes/python.el (python-font-lock-keywords): Don't return nil
18284 from a matcher-function unless there's no more matches (bug#15161).
18285
18286 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
18287
18288 * minibuffer.el: Revert change from 2013-08-20.
18289
18290 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
18291 with text property `tramp-default', if appropriate.
18292 (tramp-check-proper-host): New defun.
18293 (tramp-dissect-file-name): Do not check hostname. Revert change
18294 of 2013-03-18.
18295 (tramp-backtrace): Make VEC-OR-PROC optional.
18296
18297 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
18298 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
18299 * net/tramp-sh.el (tramp-maybe-open-connection):
18300 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
18301 Apply `tramp-check-proper-host'.
18302
18303 2013-08-26 Tassilo Horn <tsdh@gnu.org>
18304
18305 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
18306 lambda expression in order to have `describe-variable' display it.
18307
18308 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
18309
18310 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
18311 BUF can be optional. (Bug#15186)
18312
18313 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
18314
18315 * progmodes/flymake.el (flymake-get-real-file-name-function):
18316 Fix broken customization. (Bug#15184)
18317
18318 2013-08-25 Alan Mackenzie <acm@muc.de>
18319
18320 Improve indentation of bracelists defined by macros (without "=").
18321
18322 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
18323 expansion begins with "{", regard it as bracelist when it doesn't
18324 contain a ";".
18325
18326 Parse C++ inher-intro when there's a template split over 2 lines.
18327
18328 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
18329 rigorously the search for "class" etc. followed by ":".
18330
18331 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
18332 random languages a regexp which never matches rather than nil.
18333
18334 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
18335
18336 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
18337 (c-awk-regexp-one-line-possibly-open-char-list-re)
18338 (c-awk-one-line-possibly-open-regexp-re)
18339 (c-awk-one-line-non-syn-ws*-re): Remove.
18340 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
18341 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
18342 (c-awk-space*-unclosed-regexp-/-re): New constants.
18343 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
18344 aren't regexp delimiters.
18345
18346 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
18347 handling for a rare situation in AWK Mode involving unterminated
18348 strings/regexps.
18349
18350 2013-08-23 Glenn Morris <rgm@gnu.org>
18351
18352 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
18353
18354 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
18355
18356 * files.el (create-file-buffer): If the result would begin with
18357 spaces, prepend a "|" instead of removing them. (Bug#15162)
18358
18359 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
18360
18361 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
18362 text-properties (bug#15155).
18363
18364 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
18365 exist any more.
18366 (calc-keypad-redraw): Remove unused var `pad'.
18367 (calc-keypad-press): Remove unused var `menu'.
18368
18369 2013-08-23 Martin Rudalics <rudalics@gmx.at>
18370
18371 * window.el (display-buffer-pop-up-frame):
18372 Call pop-up-frame-function with BUFFER current so `make-frame' will
18373 use it as the new frame's buffer (Bug#15133).
18374
18375 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
18376
18377 * calendar/timeclock.el: Minor cleanups.
18378 (timeclock-ask-before-exiting, timeclock-use-display-time):
18379 Use `symbol'.
18380 (timeclock-modeline-display): Define as alias before the
18381 actual definition.
18382 (timeclock-mode-line-display): Use define-minor-mode.
18383 (timeclock-day-list-template): Make it a function, add an argument.
18384 (timeclock-day-list-required, timeclock-day-list-length)
18385 (timeclock-day-list-debt, timeclock-day-list-span)
18386 (timeclock-day-list-break): Adjust calls accordingly.
18387
18388 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
18389
18390 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
18391 Use read--expression so that completion works again.
18392
18393 2013-08-21 Sam Steingold <sds@gnu.org>
18394
18395 Add rudimentary inferior shell interaction
18396 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
18397 (sh-set-shell): Reset it.
18398 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
18399 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
18400
18401 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
18402
18403 * align.el: Use lexical-binding.
18404 (align-region): Simplify accordingly.
18405
18406 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
18407
18408 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
18409
18410 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
18411 `non-essential' up.
18412
18413 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
18414
18415 * net/tramp.el:
18416 * net/tramp-adb.el:
18417 * net/tramp-cmds.el:
18418 * net/tramp-ftp.el:
18419 * net/tramp-gvfs.el:
18420 * net/tramp-gw.el:
18421 * net/tramp-sh.el: Don't wrap external variable declarations by
18422 `eval-when-compile'.
18423
18424 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
18425
18426 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
18427 now that Emacs supports ImageMagick animations.
18428
18429 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
18430
18431 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
18432 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
18433
18434 2013-08-16 Martin Rudalics <rudalics@gmx.at>
18435
18436 * window.el (mouse-autoselect-window-select): Do autoselect when
18437 mouse pointer is on margin.
18438
18439 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
18440
18441 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
18442
18443 2013-08-16 Glenn Morris <rgm@gnu.org>
18444
18445 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
18446 Handle "Remote Directory" response of some clients. (Bug#15058)
18447
18448 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
18449 Tweak warning. (Bug#14926)
18450
18451 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
18452 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
18453
18454 * image-mode.el (image-mode-map): Add menu items to reverse,
18455 increase, decrease, reset animation speed.
18456 (image--set-speed, image-increase-speed, image-decrease-speed)
18457 (image-reverse-speed, image-reset-speed): New functions.
18458 (image-mode-map): Add bindings for speed commands.
18459
18460 * image.el (image-animate-get-speed, image-animate-set-speed):
18461 New functions.
18462 (image-animate-timeout): Respect image :speed property.
18463
18464 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
18465
18466 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
18467 previous line (bug#15101).
18468 (debugger-eval-expression, debugger-record-expression):
18469 Use read--expression (bug#15102).
18470
18471 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
18472
18473 Remove byte compiler warnings, visible when compiling with
18474 `byte-compile-force-lexical-warnings' set to t.
18475
18476 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
18477 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
18478 (tramp-handle-unhandled-file-name-directory)
18479 (tramp-handle-file-notify-add-watch, tramp-action-login)
18480 (tramp-action-succeed, tramp-action-permission-denied)
18481 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
18482 arguments with "_".
18483
18484 * net/tramp-adb.el (tramp-adb-parse-device-names)
18485 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
18486 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
18487 (tramp-adb-handle-file-truename): Remove unused arguments.
18488
18489 * net/tramp-cache.el (tramp-flush-directory-property)
18490 (tramp-flush-connection-property, tramp-list-connections)
18491 (tramp-parse-connection-properties): Prefix unused arguments with "_".
18492
18493 * net/tramp-compat.el (tramp-compat-make-temp-file):
18494 Rename FILENAME to F.
18495
18496 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
18497 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
18498 (tramp-zeroconf-parse-workstation-device-names)
18499 (tramp-zeroconf-parse-webdav-device-names)
18500 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
18501
18502 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
18503 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
18504
18505 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
18506 arguments.
18507 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
18508 (tramp-sh-handle-insert-file-contents-literally)
18509 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
18510 with "_".
18511 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
18512 Remove unused variables.
18513
18514 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
18515 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
18516 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
18517
18518 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
18519 Make them a defconst.
18520 (tramp-uuencode-region): Remove unused variable.
18521
18522 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
18523
18524 * frameset.el (frameset--prop-setter): New function.
18525 (frameset-prop): Add gv-setter declaration.
18526 (frameset-filter-minibuffer): Deal with the case that the minibuffer
18527 parameter was already set in FILTERED. Doc fix.
18528 (frameset--record-minibuffer-relationships): Allow saving a
18529 minibufferless frame without its corresponding minibuffer frame.
18530 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
18531 frame, if the frame id matches.
18532 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
18533 frames before orphaned ones.
18534 (frameset-restore): Warn about orphaned windows, instead of error out.
18535
18536 2013-08-14 Martin Rudalics <rudalics@gmx.at>
18537
18538 * window.el (window-make-atom): Don't overwrite parameter
18539 already present.
18540 (display-buffer-in-atom-window): Handle special case where we
18541 split an already atomic window.
18542 (window--major-non-side-window, display-buffer-in-side-window)
18543 (window--side-check): Ignore minibuffer window when walking
18544 window tree.
18545 (window-deletable-p): Return 'frame only if no other frame uses
18546 our minibuffer window.
18547 (record-window-buffer): Run buffer-list-update-hook.
18548 (split-window): Make sure window--check-frame won't destroy an
18549 existing atomic window in case the new window gets nested
18550 inside.
18551 (display-buffer-at-bottom): Ignore minibuffer window when
18552 walking window tree. Don't split a side window.
18553 (pop-to-buffer): Don't set-buffer here, the select-window call
18554 should do that.
18555 (mouse-autoselect-window-select): Autoselect only if we are in the
18556 text portion of the window.
18557
18558 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
18559
18560 * net/shr.el (shr-parse-image-data): New function to grab both the
18561 data itself and the Content-Type.
18562 (shr-put-image): Use it.
18563
18564 * net/eww.el (eww-display-image): Ditto.
18565
18566 * image.el (image-content-type-suffixes): New variable.
18567
18568 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
18569
18570 * progmodes/python.el (python-imenu--build-tree)
18571 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
18572
18573 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
18574
18575 * simple.el (backward-word): Mention the optional argument.
18576
18577 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
18578
18579 * frameset.el (frameset--make): Rename constructor from make-frameset.
18580 (frameset-p, frameset-valid-p): Don't autoload.
18581 (frameset-valid-p): Use normal accessors.
18582
18583 2013-08-13 Glenn Morris <rgm@gnu.org>
18584
18585 * progmodes/compile.el (compile-command): Tweak example in doc.
18586 * obsolete/scribe.el (scribe-mode):
18587 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
18588
18589 * mail/feedmail.el (feedmail-confirm-outgoing)
18590 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
18591
18592 * cus-start.el (truncate-partial-width-windows): Fix type.
18593
18594 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
18595
18596 * net/shr.el (shr-table-horizontal-line): Fix custom type.
18597
18598 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
18599
18600 * emacs-lisp/timer.el (timer--time-setter): New function.
18601 (timer--time): Use it as gv-setter.
18602
18603 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
18604 setter is not a symbol.
18605
18606 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
18607
18608 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
18609 if sending fails. This makes debugging easier.
18610
18611 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
18612
18613 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
18614 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
18615 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
18616
18617 2013-08-12 Eli Zaretskii <eliz@gnu.org>
18618
18619 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
18620
18621 2013-08-12 Glenn Morris <rgm@gnu.org>
18622
18623 * format.el (format-annotate-function):
18624 Handle read-only text properties in the source. (Bug#14887)
18625
18626 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
18627
18628 * net/eww.el (eww-display-html): Ignore coding system errors.
18629 One web site uses "utf-8lias" as the coding system.
18630
18631 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
18632
18633 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
18634
18635 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
18636
18637 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
18638 (tutorial--detailed-help): Remove unused local variables.
18639 (tutorial--save-tutorial-to): Use ignore-errors.
18640 (help-with-tutorial): Use looking-at-p.
18641
18642 * view.el (view-buffer-other-window, view-buffer-other-frame):
18643 Mark unused arguments.
18644
18645 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
18646 (woman-select-symbol-fonts, woman, woman-find-file)
18647 (woman-insert-file-contents, woman-non-underline-faces):
18648 Use string-match-p.
18649 (woman1-unquote): Move declaration.
18650
18651 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
18652 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
18653 argument. Remove unused local variable.
18654 (xml-parse-elem-type): Use string-match-p.
18655 (xml-substitute-numeric-entities): Use ignore-errors.
18656
18657 * calculator.el (calculator): Mark unused argument.
18658 (calculator-paste, calculator-quit, calculator-integer-p):
18659 Use ignore-errors.
18660 (calculator-string-to-number, calculator-decimal, calculator-exp)
18661 (calculator-op-or-exp): Use string-match-p.
18662
18663 * dired.el (dired-buffer-more-recently-used-p): Declare.
18664 (dired-insert-set-properties, dired-insert-old-subdirs):
18665 Use ignore-errors.
18666
18667 * dired-aux.el (dired-compress): Use ignore-errors.
18668 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
18669 (dired-do-async-shell-command, dired-do-shell-command)
18670 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
18671 (dired-insert-subdir-validate): Use string-match-p.
18672 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
18673 (dired-add-entry): Use string-match-p, looking-at-p.
18674 (dired-insert-subdir-newpos): Remove unused local variable.
18675
18676 * filenotify.el (file-notify-callback): Remove unused local variable.
18677
18678 * filesets.el (filesets-error): Mark unused argument.
18679 (filesets-which-command-p, filesets-filter-dir-names)
18680 (filesets-directory-files, filesets-get-external-viewer)
18681 (filesets-ingroup-get-data): Use string-match-p.
18682
18683 * find-file.el (ff-other-file-name, ff-other-file-name)
18684 (ff-find-the-other-file, ff-cc-hh-converter):
18685 Remove unused local variables.
18686 (ff-get-file-name): Use string-match-p.
18687 (ff-all-dirs-under): Use ignore-errors.
18688
18689 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
18690 (follow-select-if-visible): Remove unused local variable.
18691
18692 * forms.el (read-file-filter): Move declaration.
18693 (forms--make-format, forms--make-parser, forms-insert-record):
18694 Quote function with #'.
18695 (forms--update): Use string-match-p. Quote function with #'.
18696
18697 * help-mode.el (help-dir-local-var-def): Mark unused argument.
18698 (help-make-xrefs): Use looking-at-p.
18699 (help-xref-on-pp): Use looking-at-p, ignore-errors.
18700
18701 * ibuffer.el (ibuffer-ext-visible-p): Declare.
18702 (ibuffer-confirm-operation-on): Use string-match-p.
18703
18704 * msb.el (msb-item-handler, msb-dired-item-handler):
18705 Mark unused arguments.
18706
18707 * ses.el (ses-decode-cell-symbol)
18708 (ses-kill-override): Remove unused local variable.
18709 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
18710 (ses-load): Use ignore-errors, looking-at-p.
18711 (ses-jump-safe): Use ignore-errors.
18712 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
18713
18714 * tabify.el (untabify, tabify): Mark unused arguments.
18715
18716 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
18717 Mark unused argument.
18718 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
18719 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
18720
18721 * emacs-lisp/timer.el (timer--time): Define setter with
18722 gv-define-setter to avoid deprecation warning.
18723
18724 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
18725 (*record-cmpl-statistics-p*): Remove (was commented out).
18726 (cmpl-statistics-block): Remove (body was commented out).
18727 All callers changed.
18728 (add-completions-from-buffer, load-completions-from-file):
18729 Remove unused variables.
18730
18731 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
18732
18733 * filecache.el (file-cache-delete-file-list):
18734 Print message only when told so.
18735 (file-cache-files-matching): Use #' in mapconcat argument.
18736
18737 * ffap.el (ffap-url-at-point): Fix reference to variable
18738 thing-at-point-default-mail-uri-scheme.
18739
18740 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
18741
18742 * subr.el (define-error): New function.
18743 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
18744 error-file-not-found and define with define-error.
18745 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
18746 and define with define-error.
18747 * userlock.el (file-locked, file-supersession):
18748 * simple.el (mark-inactive):
18749 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
18750 * progmodes/ada-mode.el (ada-mode-errors):
18751 * play/life.el (life-extinct):
18752 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
18753 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
18754 * nxml/rng-util.el (rng-error):
18755 * nxml/rng-uri.el (rng-uri-error):
18756 * nxml/rng-match.el (rng-compile-error):
18757 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
18758 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
18759 * nxml/nxml-rap.el (nxml-scan-error):
18760 * nxml/nxml-outln.el (nxml-outline-error):
18761 * net/soap-client.el (soap-error):
18762 * net/gnutls.el (gnutls-error):
18763 * net/ange-ftp.el (ftp-error):
18764 * mpc.el (mpc-proc-error):
18765 * json.el (json-error, json-readtable-error, json-unknown-keyword)
18766 (json-number-format, json-string-escape, json-string-format)
18767 (json-key-format, json-object-format):
18768 * jka-compr.el (compression-error):
18769 * international/quail.el (quail-error):
18770 * international/kkc.el (kkc-error):
18771 * emacs-lisp/ert.el (ert-test-failed):
18772 * calc/calc.el (calc-error, inexact-result, math-overflow)
18773 (math-underflow):
18774 * bookmark.el (bookmark-error-no-filename):
18775 * epg.el (epg-error): Define with define-error.
18776
18777 * time.el (display-time-event-handler)
18778 (display-time-next-load-average): Don't call sit-for since it seems
18779 unnecessary (bug#15045).
18780
18781 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
18782 Use #' instead of ' to quote functions.
18783 (checkdoc-output-mode): Use setq-local.
18784 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
18785 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
18786 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
18787 (checkdoc-ispell, checkdoc-ispell-current-buffer)
18788 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
18789 (checkdoc-ispell-message-text, checkdoc-ispell-start)
18790 (checkdoc-ispell-continue, checkdoc-ispell-comments)
18791 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
18792
18793 * ido.el (ido-completion-help): Fix up compiler warning.
18794
18795 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
18796
18797 * frameset.el (frameset-p): Add autoload cookie.
18798 (frameset--jump-to-register): New function, based on code moved from
18799 register.el.
18800 (frameset-to-register): Move from register.el. Adapt to `registerv'.
18801
18802 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
18803 (frameset-restore, frameset-save, frameset-session-filter-alist):
18804 Remove declarations.
18805 (register-alist): Doc fix.
18806 (frameset-to-register): Move to frameset.el.
18807 (jump-to-register, describe-register-1): Remove frameset-specific code.
18808
18809 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
18810
18811 * allout-widgets.el (allout-widgets-pre-command-business)
18812 (allout-widgets-post-command-business)
18813 (allout-widgets-after-change-handler)
18814 (allout-decorate-item-and-context, allout-set-boundary-marker)
18815 (allout-body-modification-handler)
18816 (allout-graphics-modification-handler): Mark ignored arguments.
18817 (allout-widgets-post-command-business)
18818 (allout-widgets-exposure-change-processor)
18819 (allout-widgets-exposure-undo-processor)
18820 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
18821 (allout-parse-item-at-point, allout-decorate-item-guides)
18822 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
18823 * allout.el (epa-passphrase-callback-function): Declare.
18824 (allout-overlay-insert-in-front-handler)
18825 (allout-overlay-interior-modification-handler)
18826 (allout-isearch-end-handler, allout-chart-siblings)
18827 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
18828 (allout-yank-processing, allout-process-exposed)
18829 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
18830 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
18831 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
18832 (lisp-indent-defform): Mark ignored arguments.
18833 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
18834 (calculate-lisp-indent): Remove unused variables.
18835 * international/characters.el (indian-2-column, arabic-2-column)
18836 (tibetan): Mark ignored arguments.
18837 (use-cjk-char-width-table): Mark ignored arguments.
18838 Remove unused variables.
18839 * international/fontset.el (build-default-fontset-data)
18840 (x-compose-font-name, create-fontset-from-fontset-spec):
18841 Mark ignored arguments.
18842 (fontset-plain-name): Remove unused variables.
18843 * international/mule.el (charset-id, charset-bytes, generic-char-p)
18844 (keyboard-coding-system): Mark ignored arguments.
18845 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
18846 * help.el (resize-temp-buffer-window):
18847 * window.el (display-buffer-in-major-side-window)
18848 (display-buffer-in-side-window, display-buffer-in-previous-window):
18849 Remove unused variables.
18850 * isearch.el (isearch-forward-symbol):
18851 * version.el (emacs-bzr-version-bzr):
18852 * international/mule-cmds.el (current-language-environment):
18853 * term/common-win.el (x-handle-iconic, x-handle-geometry)
18854 (x-handle-display):
18855 * term/pc-win.el (x-list-fonts, x-display-planes)
18856 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
18857 (x-server-version, x-display-screens, x-display-mm-height)
18858 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
18859 (x-selection-owner-p, x-own-selection-internal)
18860 (x-disown-selection-internal, x-get-selection-internal)
18861 (msdos-initialize-window-system):
18862 * term/tty-colors.el (tty-color-alist, tty-color-clear):
18863 * term/x-win.el (x-handle-no-bitmap-icon):
18864 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
18865 (vc-default-find-file-hook, vc-default-extra-menu):
18866 Mark ignored arguments.
18867
18868 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
18869
18870 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
18871 break-condition in the context of the debugged code (bug#12685).
18872
18873 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
18874
18875 * comint.el:
18876 Do not use an overlay to highlight the last prompt. (Bug#14744)
18877 (comint-mode): Make comint-last-prompt buffer local.
18878 (comint-last-prompt): New variable.
18879 (comint-last-prompt-overlay): Remove. Superseded by
18880 comint-last-prompt.
18881 (comint-snapshot-last-prompt, comint-output-filter):
18882 Use comint-last-prompt.
18883
18884 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
18885
18886 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
18887 (frameset-save): Check validity of the resulting frameset.
18888
18889 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
18890
18891 * ido.el (ido-record-command): Add doc string.
18892
18893 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
18894
18895 * frameset.el (frameset): Do not disable creation of the default
18896 frameset-p predicate. Doc fix.
18897 (frameset-valid-p): New function, copied from the old predicate-p.
18898 Add additional checks.
18899 (frameset-restore): Check with frameset-valid-p.
18900 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
18901 (frameset-name, frameset-description, frameset-properties)
18902 (frameset-states): Add docstring.
18903 (frameset-session-filter-alist, frameset-persistent-filter-alist)
18904 (frameset-filter-alist): Doc fixes.
18905
18906 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
18907
18908 * frameset.el (frameset-p, frameset-prop): Doc fixes.
18909
18910 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
18911
18912 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
18913 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
18914 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
18915 (byte-compile-normal-call): Remove obsolescence check.
18916
18917 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
18918
18919 * frameset.el (frameset-restore): Doc fix.
18920
18921 * register.el (frameset-frame-id, frameset-frame-with-id)
18922 (frameset-p, frameset-restore, frameset-save): Declare.
18923 (register-alist): Document framesets.
18924 (frameset-session-filter-alist): Declare.
18925 (frameset-to-register): New function.
18926 (jump-to-register): Implement jumping to framesets. Doc fix.
18927 (describe-register-1): Describe framesets.
18928
18929 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
18930
18931 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
18932
18933 * desktop.el (desktop-save-frameset): Use new frameset-save args.
18934 Use lexical-binding.
18935
18936 * frameset.el (frameset): Use type vector, not list (incompatible
18937 change). Do not declare a new constructor, use the default one.
18938 Upgrade suggested properties `app', `name' and `desc' to slots `app',
18939 `name' and `description', respectively, and add read-only slot
18940 `timestamp'. Doc fixes.
18941 (frameset-copy, frameset-persistent-filter-alist)
18942 (frameset-filter-alist, frameset-switch-to-gui-p)
18943 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
18944 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
18945 (frameset-filter-iconified, frameset-keep-original-display-p):
18946 Doc fixes.
18947 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
18948 Rename from frameset-filter-(save|restore)-param. All callers changed.
18949 Doc fix.
18950 (frameset-p): Adapt to change to vector and be more thorough.
18951 Change arg name to OBJECT. Doc fix.
18952 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
18953 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
18954 All callers changed.
18955 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
18956 All callers changed.
18957 (frameset--record-minibuffer-relationships): Rename from
18958 frameset--process-minibuffer-frames. All callers changed.
18959 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
18960 Use new default constructor (again). Doc fix.
18961 (frameset--find-frame-if): Rename from `frameset--find-frame'.
18962 All callers changed.
18963 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
18964 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
18965 Doc fix.
18966 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
18967 PARAMETERS and WINDOW-STATE, respectively.
18968 (frameset-restore): Add new keyword argument PREDICATE.
18969 Reset frameset--target-display to nil. Doc fix.
18970
18971 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
18972
18973 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
18974 (bat-mode): Use it.
18975 (bat-mode-syntax-table): Mark \n as end-of-comment.
18976 (bat-font-lock-keywords): Remove comment rule.
18977
18978 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
18979 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
18980
18981 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
18982 (byte-compile-callargs-warn): Use `push'.
18983 (byte-compile-arglist-warn): Ignore higher-order "calls".
18984 (byte-compile-file-form-autoload): Use `pcase'.
18985 (byte-compile-function-form): If quoting a symbol, check that it exists.
18986
18987 2013-08-07 Eli Zaretskii <eliz@gnu.org>
18988
18989 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
18990 and add a few popular commands found in batch files.
18991 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
18992 (dos-mode): Doc fixes.
18993
18994 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
18995
18996 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
18997 (dos-mode): Use setq-local. Add space after "rem".
18998 (dos-mode-syntax-table): Don't use "w" for symbol chars.
18999 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
19000
19001 2013-08-07 Arni Magnusson <arnima@hafro.is>
19002
19003 * progmodes/dos.el: New file.
19004 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
19005 dos-mode.
19006
19007 2013-08-06 Glenn Morris <rgm@gnu.org>
19008
19009 * calendar/calendar.el: Add new faces, and day-header-array.
19010 (calendar-weekday-header, calendar-weekend-header)
19011 (calendar-month-header): New faces.
19012 (calendar-day-header-construct): New function.
19013 (calendar-day-header-width): Also :set calendar-day-header-array.
19014 (calendar-american-month-header, calendar-european-month-header)
19015 (calendar-iso-month-header): Use calendar- faces.
19016 (calendar-generate-month):
19017 Use calendar-day-header-array for day headers; apply faces to them.
19018 (calendar-mode): Check calendar-font-lock-keywords non-nil.
19019 (calendar-abbrev-construct): Add optional maxlen argument.
19020 (calendar-day-name-array): Doc fix.
19021 (calendar-day-name-array, calendar-abbrev-length)
19022 (calendar-day-abbrev-array):
19023 Also :set calendar-day-header-array, and maybe redraw.
19024 (calendar-day-header-array): New option. (Bug#15007)
19025 (calendar-font-lock-keywords): Set to nil and make obsolete.
19026 (calendar-day-name): Add option to use header array.
19027
19028 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
19029
19030 * net/shr.el (shr-render-td): Remove debugging.
19031 (shr-render-td): Make width computation consistent by defaulting
19032 all zero-width columns to 10 characters. This may not be optimal,
19033 but it's at least consistent.
19034 (shr-make-table-1): Redo last change to fix the real problem in
19035 colspan handling.
19036
19037 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
19038
19039 * files.el (cache-long-line-scans):
19040 Make obsolete alias to `cache-long-scans'.
19041
19042 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
19043
19044 * frameset.el (frameset, frameset-filter-alist)
19045 (frameset-filter-params, frameset-save, frameset--reuse-frame)
19046 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
19047 (frameset-compute-pos): Rename from frameset--compute-pos,
19048 and add docstring.
19049 (frameset-move-onscreen): Use frameset-compute-pos.
19050 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
19051
19052 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
19053 Fix typos in docstrings.
19054
19055 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
19056
19057 * frame.el (get-other-frame): Tiny cleanup.
19058
19059 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
19060
19061 * vc/vc.el (vc-default-ignore-completion-table):
19062 Silence byte-compiler warning.
19063
19064 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
19065 slot, which can indeed be nil.
19066 (frameset-live-filter-alist, frameset-persistent-filter-alist):
19067 Move entry for `left' from persistent to live filter alist.
19068 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
19069 Doc fixes.
19070 (frameset-filter-params): When restoring a frame, copy items added to
19071 `filtered', to avoid unwittingly modifying the original parameters.
19072 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
19073 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
19074
19075 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
19076 to use looking-at-p instead of looking-at. (Bug#15028)
19077
19078 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
19079
19080 Revert introduction of isearch-filter-predicates (bug#14714).
19081 Rely on add-function instead.
19082 * isearch.el (isearch-filter-predicates): Rename it back to
19083 isearch-filter-predicate.
19084 (isearch-message-prefix): Use advice-function-mapc and advice
19085 properties to get the isearch-message-prefix.
19086 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
19087 instead of run-hook-with-args-until-failure.
19088 (isearch-filter-visible): Not obsolete any more.
19089 * loadup.el: Preload nadvice.
19090 * replace.el (perform-replace): Revert to funcall
19091 instead of run-hook-with-args-until-failure.
19092 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
19093 * dired-aux.el (dired-isearch-filenames-mode): Rename from
19094 dired-isearch-filenames-toggle; make it into a proper minor mode.
19095 Use add/remove-function.
19096 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
19097 Call the minor-mode rather than add/remove-hook.
19098 (dired-isearch-filter-filenames):
19099 Remove isearch-message-prefix property.
19100 * info.el (Info--search-loop): New function, extracted from Info-search.
19101 Funcall isearch-filter-predicate instead of
19102 run-hook-with-args-until-failure isearch-filter-predicates.
19103 (Info-search): Use it.
19104 (Info-mode): Use isearch-filter-predicate instead of
19105 isearch-filter-predicates.
19106
19107 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
19108
19109 Do not call to `selected-window' where it is assumed by default.
19110 Affected functions are `window-minibuffer-p', `window-dedicated-p',
19111 `window-hscroll', `window-width', `window-height', `window-buffer',
19112 `window-frame', `window-start', `window-point', `next-window'
19113 and `window-display-table'.
19114 * abbrev.el (abbrev--default-expand):
19115 * bs.el (bs--show-with-configuration):
19116 * buff-menu.el (Buffer-menu-mouse-select):
19117 * calc/calc.el (calc):
19118 * calendar/calendar.el (calendar-generate-window):
19119 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
19120 (diary-make-entry):
19121 * comint.el (send-invisible, comint-dynamic-complete-filename)
19122 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
19123 * completion.el (complete):
19124 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
19125 * disp-table.el (describe-current-display-table):
19126 * doc-view.el (doc-view-insert-image):
19127 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
19128 * ehelp.el (with-electric-help):
19129 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
19130 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
19131 * emacs-lisp/helper.el (Helper-help-scroller):
19132 * emulation/cua-base.el (cua--post-command-handler-1):
19133 * eshell/esh-mode.el (eshell-output-filter):
19134 * ffap.el (ffap-gnus-wrapper):
19135 * help-macro.el (make-help-screen):
19136 * hilit-chg.el (highlight-compare-buffers):
19137 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
19138 * hl-line.el (global-hl-line-highlight):
19139 * icomplete.el (icomplete-simple-completing-p):
19140 * isearch.el (isearch-done):
19141 * jit-lock.el (jit-lock-stealth-fontify):
19142 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
19143 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
19144 * mpc.el (mpc-tagbrowser, mpc):
19145 * net/rcirc.el (rcirc-any-buffer):
19146 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
19147 * play/landmark.el (landmark-max-width, landmark-max-height):
19148 * play/zone.el (zone):
19149 * progmodes/compile.el (compilation-goto-locus):
19150 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
19151 * progmodes/etags.el (find-tag-other-window):
19152 * progmodes/fortran.el (fortran-column-ruler):
19153 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
19154 * progmodes/verilog-mode.el (verilog-point-text):
19155 * reposition.el (reposition-window):
19156 * rot13.el (toggle-rot13-mode):
19157 * server.el (server-switch-buffer):
19158 * shell.el (shell-dynamic-complete-command)
19159 (shell-dynamic-complete-environment-variable):
19160 * simple.el (insert-buffer, set-selective-display)
19161 (delete-completion-window):
19162 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
19163 (speedbar-recenter):
19164 * startup.el (fancy-splash-head):
19165 * textmodes/ispell.el (ispell-command-loop):
19166 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
19167 * tutorial.el (help-with-tutorial):
19168 * vc/add-log.el (add-change-log-entry):
19169 * vc/compare-w.el (compare-windows):
19170 * vc/ediff-help.el (ediff-indent-help-message):
19171 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
19172 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
19173 (ediff-setup-control-frame):
19174 * vc/emerge.el (emerge-position-region):
19175 * vc/pcvs-util.el (cvs-bury-buffer):
19176 * window.el (walk-windows, mouse-autoselect-window-select):
19177 * winner.el (winner-set-conf, winner-undo): Related users changed.
19178
19179 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
19180
19181 * frameset.el (frameset--set-id): Doc fix.
19182 (frameset-frame-id, frameset-frame-id-equal-p)
19183 (frameset-locate-frame-id): New functions.
19184 (frameset--process-minibuffer-frames, frameset--reuse-frame)
19185 (frameset-restore): Use them.
19186
19187 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
19188
19189 Do not call to `selected-frame' where it is assumed by default.
19190 Affected functions are `raise-frame', `redraw-frame',
19191 `frame-first-window', `frame-terminal' and `delete-frame'.
19192 * calendar/appt.el (appt-disp-window):
19193 * epg.el (epg-wait-for-completion):
19194 * follow.el (follow-delete-other-windows-and-split)
19195 (follow-avoid-tail-recenter):
19196 * international/mule.el (set-terminal-coding-system):
19197 * mail/rmail.el (rmail-mail-return):
19198 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
19199 * progmodes/f90.el (f90-add-imenu-menu):
19200 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
19201 * server.el (server-switch-buffer):
19202 * simple.el (delete-completion-window):
19203 * talk.el (talk):
19204 * term/xterm.el (terminal-init-xterm-modify-other-keys)
19205 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
19206 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
19207 * vc/ediff.el (ediff-documentation): Related users changed.
19208 * frame.el (selected-terminal): Remove the leftover.
19209
19210 2013-08-05 Glenn Morris <rgm@gnu.org>
19211
19212 * calendar/calendar.el (calendar-generate-month):
19213 Fix for calendar-column-width != 1 + calendar-day-digit-width.
19214 (calendar-generate-month, calendar-font-lock-keywords):
19215 Fix for calendar-day-header-width > length of any day name.
19216
19217 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
19218
19219 * desktop.el (desktop-clear): Use new name of sort predicate.
19220
19221 * frameset.el (frameset): Add docstring. Move :version property to its
19222 own `version' slot.
19223 (frameset-copy): Rename from copy-frameset.
19224 (frameset-p): Check more thoroughly.
19225 (frameset-prop): Do not check for :version, which is no longer a prop.
19226 (frameset-live-filter-alist, frameset-persistent-filter-alist):
19227 Use new :never value instead of t.
19228 (frameset-filter-alist): Expand and clarify docstring.
19229 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
19230 (frameset-filter-minibuffer, frameset-filter-save-param)
19231 (frameset-filter-restore-param, frameset-filter-iconified):
19232 Add pointer to docstring of frameset-filter-alist.
19233 (frameset-filter-params): Rename filter values to be more meaningful:
19234 :never instead of t, and reverse the meanings of :save and :restore.
19235 (frameset--process-minibuffer-frames): Clarify error message.
19236 (frameset-save): Avoid unnecessary and confusing call to framep.
19237 Use new BOA constructor for framesets.
19238 (frameset--reuse-list): Doc fix.
19239 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
19240 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
19241 (frameset-minibufferless-first-p): Doc fix.
19242 Rename from frameset-sort-frames-for-deletion.
19243 (frameset-restore): Doc fixes. Use new function names.
19244 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
19245
19246 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
19247
19248 * desktop.el (desktop-restore-forces-onscreen)
19249 (desktop-restore-reuses-frames): Document :keyword constant values.
19250 (desktop-filter-parameters-alist): Remove, now identical to
19251 frameset-filter-alist.
19252 (desktop--filter-tty*): Remove, moved to frameset.el.
19253 (desktop-save-frameset, desktop-restore-frameset):
19254 Do not pass :filters argument.
19255
19256 * frameset.el (frameset-live-filter-alist)
19257 (frameset-persistent-filter-alist): New variables.
19258 (frameset-filter-alist): Use them. Add autoload cookie.
19259 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
19260 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
19261 `frameset--id' (it's supposed to be internal to frameset.el).
19262 (frameset--process-minibuffer-frames): Ditto. Doc fix.
19263 (frameset--initial-params): New function.
19264 (frameset--get-frame): Use it. Doc fix.
19265 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
19266 Accept :all, not 'all.
19267 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
19268 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
19269 with fbound symbols. Fix frame id matching, and remove matching ids if
19270 the frame being restored is deleted. Obey :delete.
19271
19272 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
19273
19274 * subr.el (macrop): New function.
19275 (text-clone--maintaining): New var.
19276 (text-clone--maintain): Rename from text-clone-maintain. Use it
19277 instead of inhibit-modification-hooks.
19278
19279 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
19280 a proxy, so as handle autoloads and redefinitions of the target.
19281 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
19282
19283 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
19284 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
19285 (pcase--mutually-exclusive-p): New function.
19286 (pcase--split-consp): Use it.
19287 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
19288 mutually exclusive with the current predicate.
19289
19290 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
19291 (edebug-macrop): Remove. Use `macrop' instead.
19292 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
19293 (ad-macro-p):
19294 * eshell/esh-cmd.el (eshell-macrop):
19295 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
19296
19297 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
19298
19299 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
19300 (advice-mapc): New function, using it.
19301 (advice-function-member-p): New function.
19302 (advice--normalize): Store the cdr in advice--saved-rewrite since
19303 that's the part that will be changed.
19304 (advice--symbol-function): New function.
19305 (advice-remove): Handle removal before the function is defined.
19306 Adjust to new advice--saved-rewrite.
19307 (advice-member-p): Use advice-function-member-p and
19308 advice--symbol-function.
19309
19310 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
19311
19312 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
19313 (frameset-filter-minibuffer): Doc fix.
19314 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
19315 (frameset--set-id, frameset--process-minibuffer-frames)
19316 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
19317 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
19318
19319 * desktop.el (desktop-clear): Only delete frames when called
19320 interactively and desktop-restore-frames is non-nil. Doc fix.
19321 (desktop-read): Set desktop-saved-frameset to nil.
19322
19323 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
19324
19325 * vc/vc.el (vc-ignore): Rewrite.
19326 (vc-default-ignore-completion-table, vc--read-lines)
19327 (vc--add-line, vc--remove-regexp): New functions.
19328
19329 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
19330 (vc-svn-ignore-completion-table): New function.
19331
19332 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
19333 (vc-hg-ignore-completion-table)
19334 (vc-hg-find-ignore-file): New functions.
19335
19336 * vc/vc-git.el (vc-git-ignore): Rewrite.
19337 (vc-git-ignore-completion-table)
19338 (vc-git-find-ignore-file): New functions.
19339
19340 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
19341
19342 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
19343 (vc-bzr-ignore-completion-table)
19344 (vc-bzr-find-ignore-file): New functions.
19345
19346 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
19347
19348 * frameset.el (frameset-prop): New function and setter.
19349 (frameset-save): Do not modify frame list passed by the caller.
19350
19351 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
19352
19353 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
19354
19355 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
19356
19357 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
19358 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
19359
19360 * custom.el (custom-initialize-default, custom-initialize-set)
19361 (custom-initialize-reset, custom-initialize-changed): Affect the
19362 toplevel-default-value (bug#6275, bug#14586).
19363 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
19364 for bug#6275.
19365
19366 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
19367
19368 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
19369 Add cl-def* expressions.
19370
19371 * frameset.el (frameset-filter-params): Fix order of arguments.
19372
19373 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
19374
19375 Move code related to saving frames to frameset.el.
19376 * desktop.el: Require frameset.
19377 (desktop-restore-frames): Doc fix.
19378 (desktop-restore-reuses-frames): Rename from
19379 desktop-restoring-reuses-frames.
19380 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
19381 (desktop-clear): Clear frames too.
19382 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
19383 (desktop--filter-tty*, desktop-save, desktop-read):
19384 Use frameset functions.
19385 (desktop-before-saving-frames-functions, desktop--filter-*-color)
19386 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
19387 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
19388 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
19389 (desktop--process-minibuffer-frames, desktop-save-frames)
19390 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
19391 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
19392 (desktop--sort-states, desktop-restoring-frames-p)
19393 (desktop-restore-frames): Remove. Most code moved to frameset.el.
19394 (desktop-restoring-frameset-p, desktop-restore-frameset)
19395 (desktop--check-dont-save, desktop-save-frameset): New functions.
19396 (desktop--app-id): New constant.
19397 (desktop-first-buffer, desktop-buffer-ok-count)
19398 (desktop-buffer-fail-count): Move before first use.
19399 * frameset.el: New file.
19400
19401 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
19402
19403 * files.el: Use lexical-binding.
19404 (dir-locals-read-from-file): Remove unused `err' variable.
19405 (hack-dir-local-variables--warned-coding): New var.
19406 (hack-dir-local-variables): Use it to avoid repeated warnings.
19407 (make-backup-file-name--default-function): New function.
19408 (make-backup-file-name-function): Use it as default.
19409 (buffer-stale--default-function): New function.
19410 (buffer-stale-function): Use it as default.
19411 (revert-buffer-insert-file-contents--default-function): New function.
19412 (revert-buffer-insert-file-contents-function): Use it as default.
19413 (insert-directory): Avoid add-to-list.
19414
19415 * autorevert.el (auto-revert-handler): Simplify.
19416 Use buffer-stale--default-function.
19417
19418 2013-08-01 Tassilo Horn <tsdh@gnu.org>
19419
19420 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
19421
19422 * whitespace.el (whitespace-ensure-local-variables): New function.
19423 (whitespace-cleanup-region): Call it.
19424 (whitespace-turn-on): Call it.
19425
19426 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
19427
19428 Complete file name handlers.
19429
19430 * net/tramp.el (tramp-handle-set-visited-file-modtime)
19431 (tramp-handle-verify-visited-file-modtime)
19432 (tramp-handle-file-notify-rm-watch): New functions.
19433 (tramp-call-process): Do not bind `default-directory'.
19434
19435 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
19436 Order alphabetically.
19437 <access-file, add-name-to-file, dired-call-process>:
19438 <dired-compress-file, file-acl, file-notify-rm-watch>:
19439 <file-ownership-preserved-p, file-selinux-context>:
19440 <make-directory-internal, make-symbolic-link, set-file-acl>:
19441 <set-file-selinux-context, set-visited-file-modtime>:
19442 <verify-visited-file-modtime>: Add handler.
19443 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
19444
19445 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
19446 <file-notify-add-watch, file-notify-rm-watch>:
19447 <set-file-times, set-visited-file-modtime>:
19448 <verify-visited-file-modtime>: Add handler.
19449 (with-tramp-gvfs-error-message)
19450 (tramp-gvfs-handle-set-visited-file-modtime)
19451 (tramp-gvfs-fuse-file-name): Remove.
19452 (tramp-gvfs-handle-file-notify-add-watch)
19453 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
19454 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
19455
19456 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
19457 Order alphabetically.
19458 <file-notify-rm-watch>: Use default Tramp handler.
19459 <executable-find>: Remove private handler.
19460 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
19461 `default-directory'.
19462 (tramp-sh-handle-executable-find)
19463 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
19464 (tramp-sh-file-gvfs-monitor-dir-process-filter)
19465 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
19466 Do not use `format' in `tramp-message'.
19467
19468 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
19469 <file-notify-rm-watch, set-visited-file-modtime>:
19470 <verify-visited-file-modtime>: Add handler.
19471 (tramp-smb-call-winexe): Do not bind `default-directory'.
19472
19473 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
19474
19475 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
19476
19477 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
19478
19479 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
19480 use it.
19481 (log-view-diff-changeset): Same.
19482 (log-view-diff-common): Call backend command `previous-revision'
19483 to find out the previous revision, in both cases. Swap the
19484 variables `to' and `fr', so that `fr' usually refers to the
19485 earlier revision (Bug#14989).
19486
19487 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
19488
19489 * ibuf-ext.el (ibuffer-filter-by-filename):
19490 Make it work with dired buffers too.
19491
19492 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
19493
19494 * emacs-lisp/re-builder.el (reb-color-display-p):
19495 * files.el (save-buffers-kill-terminal):
19496 * net/browse-url.el (browse-url):
19497 * server.el (server-save-buffers-kill-terminal):
19498 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
19499 Prefer nil to selected-frame for the first arg of frame-parameter.
19500
19501 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
19502
19503 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
19504
19505 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
19506
19507 * minibuffer.el (completion--twq-all): Try and preserve each
19508 completion's case choice (bug#14907).
19509
19510 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
19511
19512 * net/network-stream.el (open-network-stream): Mention the new
19513 :nogreeting parameter.
19514 (network-stream-open-starttls): Use the :nogreeting parameter
19515 (bug#14938).
19516
19517 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
19518
19519 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
19520 more natural than popping.
19521
19522 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
19523 (shr-urlify): Highlight under mouse.
19524
19525 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
19526
19527 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
19528
19529 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
19530
19531 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
19532 buffer for output.
19533
19534 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
19535 point-min==1. Fix search string. Fix parentheses missing.
19536
19537 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
19538 assume point-min==1. Fix search string. Fix parentheses missing.
19539
19540 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
19541
19542 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
19543 buffer for output.
19544
19545 2013-07-29 Eli Zaretskii <eliz@gnu.org>
19546
19547 * frame.el (frame-notice-user-settings): Avoid inflooping when the
19548 initial frame is minibuffer-less. (Bug#14841)
19549
19550 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
19551
19552 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
19553 option.
19554
19555 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
19556 (tramp-maybe-open-connection): Use it.
19557
19558 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
19559
19560 * desktop.el (desktop--make-frame): Include `minibuffer' in the
19561 minimal set of parameters passed when creating a frame, because
19562 the minibuffer status of a frame cannot be changed later.
19563
19564 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
19565
19566 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
19567 replace-regexp-in-string and inadvertent omissions in previous change.
19568 (todo-filter-items): Ensure only file names are comma-separated in
19569 name of filtered items buffer.
19570
19571 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
19572
19573 * desktop.el: Optionally force offscreen frames back onscreen.
19574 (desktop-restoring-reuses-frames): New option.
19575 (desktop--compute-pos, desktop--move-onscreen): New functions.
19576 (desktop--make-frame): Use desktop--move-onscreen.
19577
19578 2013-07-27 Alan Mackenzie <acm@muc.de>
19579
19580 Fontify a Java generic method as a function.
19581 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
19582 value to t.
19583
19584 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
19585
19586 * calendar/todo-mode.el: Add command to rename todo files.
19587 (todo-rename-file): New command.
19588 (todo-key-bindings-t): Add key binding for it. Change the
19589 bindings of todo-filter-regexp-items(-multifile) to use `x'
19590 instead of `r', since the latter is better suited to the new
19591 renaming command.
19592
19593 2013-07-27 Alan Mackenzie <acm@muc.de>
19594
19595 Make Java try-with-resources statement parse properly.
19596 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
19597 (c-block-stmt-1-2-key): New language constants/variables.
19598 * progmodes/cc-engine.el (c-beginning-of-statement-1)
19599 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
19600 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
19601 with c-block-stmt-1-2-key.
19602
19603 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
19604
19605 * desktop.el (desktop--make-frame): Apply most frame parameters after
19606 creating the frame to force (partially or totally) offscreen frames to
19607 be restored as such.
19608
19609 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
19610
19611 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
19612 (Bug#14948)
19613
19614 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
19615
19616 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
19617 `base' arg of backtrace-frame.
19618
19619 2013-07-26 Eli Zaretskii <eliz@gnu.org>
19620
19621 * simple.el (list-processes): Doc fix.
19622
19623 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
19624
19625 * desktop.el (desktop--select-frame):
19626 Try harder to reuse existing frames.
19627
19628 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
19629
19630 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
19631 (edebug-eval): Use backtrace-eval.
19632 (edebug--display, edebug--recursive-edit): Don't let-bind the
19633 edebug-outer-* vars that keep track of variables we locally let-bind.
19634 (edebug-outside-excursion): Don't restore outside values of locally
19635 let-bound vars.
19636 (edebug--display): Use user-error.
19637 (cl-lexical-debug, cl-debug-env): Remove.
19638
19639 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
19640
19641 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
19642 are restored to be sure that they are visible before deleting any
19643 remaining ones.
19644
19645 2013-07-26 Matthias Meulien <orontee@gmail.com>
19646
19647 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
19648 vc-print-root-log. (Bug#14948)
19649
19650 2013-07-26 Richard Stallman <rms@gnu.org>
19651
19652 Add aliases for encrypting mail.
19653 * epa.el (epa-mail-aliases): New option.
19654 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
19655 Bind inhibit-read-only so read-only text doesn't ruin everything.
19656 (epa-mail-default-recipients): New subroutine broken out.
19657 Handle epa-mail-aliases.
19658
19659 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
19660
19661 Add support for lexical variables to the debugger's `e' command.
19662 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
19663 vars, except for debugger-outer-match-data.
19664 (debugger-frame-number): Move check for "on a function call" from
19665 callers into it. Add `skip-base' argument.
19666 (debugger-frame, debugger-frame-clear): Simplify accordingly.
19667 (debugger-env-macro): Only reset the state stored in non-variables,
19668 i.e. current-buffer and match-data.
19669 (debugger-eval-expression): Rewrite using backtrace-eval.
19670 * subr.el (internal--called-interactively-p--get-frame): Remove.
19671 (called-interactively-p):
19672 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
19673 `base' arg of backtrace-frame instead.
19674
19675 2013-07-26 Glenn Morris <rgm@gnu.org>
19676
19677 * align.el (align-regexp): Doc fix. (Bug#14857)
19678 (align-region): Explicit error if subexpression missing/does not match.
19679
19680 * simple.el (global-visual-line-mode):
19681 Do not duplicate the mode lighter. (Bug#14858)
19682
19683 2013-07-25 Martin Rudalics <rudalics@gmx.at>
19684
19685 * window.el (display-buffer): In display-buffer bind
19686 split-window-keep-point to t, bug#14829.
19687
19688 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
19689
19690 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
19691 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
19692 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
19693 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
19694 Change accordingly.
19695 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
19696 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
19697
19698 2013-07-25 Glenn Morris <rgm@gnu.org>
19699
19700 * dired-x.el (dired-mark-extension): Convert comment to doc string.
19701
19702 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
19703
19704 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
19705 parameter to modify-frame-parameters if the value has not changed;
19706 this is a workaround for bug#14949.
19707 (desktop--make-frame): On cl-delete-if call, check parameter name,
19708 not full parameter.
19709
19710 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
19711
19712 * vc/vc.el (vc-ignore): New function.
19713
19714 * vc/vc-svn.el (vc-svn-ignore): New function.
19715
19716 * vc/vc-hg.el (vc-hg-ignore): New function.
19717
19718 * vc/vc-git.el (vc-git-ignore): New function.
19719
19720 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
19721 (vc-dir-ignore): New function.
19722
19723 * vc/vc-cvs.el (vc-cvs-ignore): New function.
19724 (cvs-append-to-ignore): Move here from pcvs.el.
19725
19726 * vc/vc-bzr.el (vc-bzr-ignore): New function.
19727
19728 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
19729
19730 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
19731
19732 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
19733 (desktop-restore-frames): Warn when deleting an existing frame failed.
19734
19735 2013-07-24 Glenn Morris <rgm@gnu.org>
19736
19737 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
19738
19739 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
19740
19741 * filenotify.el (file-notify-supported-p):
19742 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
19743 Remove functions.
19744
19745 * autorevert.el (auto-revert-use-notify)
19746 (auto-revert-notify-add-watch):
19747 * net/tramp.el (tramp-file-name-for-operation):
19748 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
19749 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
19750 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
19751 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
19752 Remove `file-notify-supported-p' entry.
19753
19754 2013-07-24 Glenn Morris <rgm@gnu.org>
19755
19756 * printing.el: Replace all uses of deleted ps-windows-system,
19757 ps-lp-system, ps-flatten-list with lpr- versions.
19758
19759 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
19760
19761 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
19762 checked with memq (bug#14935).
19763
19764 * files.el (revert-buffer-function): Use a non-nil default.
19765 (revert-buffer-preserve-modes): Declare var to
19766 provide access to the `preserve-modes' argument.
19767 (revert-buffer): Let-bind it.
19768 (revert-buffer--default): New function, extracted from revert-buffer.
19769
19770 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
19771
19772 * lpr.el: Signal print errors more prominently.
19773 (print-region-function): Don't default to nil.
19774 (lpr-print-region): New function, extracted from print-region-1.
19775 Check lpr's return value and signal an error in case of problem.
19776 (print-region-1): Use it.
19777 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
19778 versions instead.
19779 (ps-printer-name): Default to nil.
19780 (ps-printer-name-option): Default to lpr-printer-switch.
19781 (ps-print-region-function): Don't default to nil.
19782 (ps-postscript-code-directory): Simplify default.
19783 (ps-do-despool): Use lpr-print-region to properly check the outcome.
19784 (ps-string-list, ps-eval-switch, ps-flatten-list)
19785 (ps-flatten-list-1): Remove.
19786 (ps-multibyte-buffer): Avoid setq.
19787 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
19788 (print-region-function, ps-print-region-function): Don't set them here.
19789
19790 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
19791
19792 * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
19793 (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
19794 (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
19795 (ido-decorations): Doc fix.
19796
19797 * ansi-color.el: Fix old URL.
19798
19799 2013-07-23 Michael R. Mauger <michael@mauger.com>
19800
19801 * progmodes/sql.el: Version 3.3
19802 (sql-product-alist): Improve oracle :prompt-cont-regexp.
19803 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
19804 (sql-interactive-remove-continuation-prompt): Rewrite, use
19805 functions above. Fix continuation prompt and complete output line
19806 handling.
19807 (sql-redirect-one, sql-execute): Use `read-only-mode' on
19808 redirected output buffer.
19809 (sql-mode): Restore deleted code (Bug#13591).
19810
19811 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
19812
19813 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
19814
19815 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
19816
19817 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
19818
19819 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
19820 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
19821 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
19822
19823 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
19824
19825 * desktop.el (desktop-clear): Simplify; remove useless checks
19826 against invalid buffer names.
19827 (desktop-list*): Use cl-list*.
19828 (desktop-buffer-info, desktop-create-buffer): Simplify.
19829
19830 2013-07-23 Leo Liu <sdl.web@gmail.com>
19831
19832 * bookmark.el (bookmark-make-record): Restore NAME as a default
19833 value. (Bug#14933)
19834
19835 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
19836
19837 * emacs-lisp/autoload.el (autoload--setup-output): New function,
19838 extracted from autoload--insert-text.
19839 (autoload--insert-text): Remove.
19840 (autoload--print-cookie-text): New function, extracted from
19841 autoload--insert-cookie-text.
19842 (autoload--insert-cookie-text): Remove.
19843 (autoload-generate-file-autoloads): Adjust calls accordingly.
19844
19845 * winner.el (winner-hook-installed-p): Remove.
19846 (winner-mode): Simplify accordingly.
19847
19848 * subr.el (add-to-list): Fix compiler-macro when `append' is
19849 not constant. Don't use `cl-member' for the base case.
19850
19851 * progmodes/subword.el: Fix boundary case (bug#13758).
19852 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
19853 own group.
19854 (subword-backward-regexp): Make it a constant.
19855 (subword-forward-internal): Don't treat a trailing capital as the
19856 beginning of a word.
19857
19858 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
19859
19860 * emacs-lisp/package.el (package-menu-mode): Don't modify the
19861 global value of tabulated-list-revert-hook (bug#14930).
19862
19863 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
19864
19865 * desktop.el: Require 'cl-lib.
19866 (desktop-before-saving-frames-functions): New hook.
19867 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
19868 for frames being saved. Rename from desktop--save-minibuffer-frames.
19869 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
19870 Do not save frames with non-nil `desktop-dont-save' parameter.
19871 Filter out deleted frames.
19872 (desktop--find-frame): Use cl-find-if.
19873 (desktop--select-frame): Use cl-(first|second|third) to access values
19874 of desktop-mini.
19875 (desktop--make-frame): Use cl-delete-if.
19876 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
19877 (desktop-restore-frames): Use cl-(first|second|third) to access values
19878 of desktop-mini. Look for visible frame at the end, not while
19879 restoring frames.
19880
19881 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
19882 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
19883 Use string-match-p, looking-at-p (bug#14927).
19884
19885 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
19886
19887 * desktop.el (desktop-saved-frame-states):
19888 Rename from desktop--saved-states; all users changed.
19889 (desktop-save-frames): Rename from desktop--save-frames.
19890 Do not save state to desktop file.
19891 (desktop-save): Save desktop-saved-frame-states to desktop file
19892 and reset to nil.
19893 (desktop-restoring-frames-p): New function.
19894 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
19895 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
19896 buffer-lists when restoring frames. Suggested by Martin Rudalics.
19897
19898 * desktop.el: Correctly restore iconified frames.
19899 (desktop--filter-iconified-position): New function.
19900 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
19901
19902 2013-07-20 Glenn Morris <rgm@gnu.org>
19903
19904 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
19905 Let `message' do the formatting.
19906 (def-gdb-preempt-display-buffer): Add explicit format.
19907
19908 * image-dired.el (image-dired-track-original-file):
19909 Use with-current-buffer.
19910 (image-dired-track-thumbnail): Use with-current-buffer.
19911 Avoid changing point of wrong window.
19912
19913 * image-dired.el (image-dired-track-original-file):
19914 Avoid changing point of wrong window. (Bug#14909)
19915
19916 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
19917
19918 * progmodes/gdb-mi.el (gdb-done-or-error):
19919 Guard against "%" in gdb output. (Bug#14127)
19920
19921 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
19922
19923 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
19924 (Bug#14826)
19925
19926 * international/mule.el (coding-system-iso-2022-flags): Fix last
19927 change.
19928
19929 2013-07-20 Kenichi Handa <handa@gnu.org>
19930
19931 * international/mule.el (coding-system-iso-2022-flags):
19932 Add `8-bit-level-4'. (Bug#8522)
19933
19934 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
19935
19936 * net/shr.el (shr-mouse-browse-url): New command and keystroke
19937 (bug#14815).
19938
19939 * net/eww.el (eww-process-text-input): Allow inputting when the
19940 point is at the start of the line, as the properties aren't
19941 front-sticky.
19942
19943 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
19944 degenerate widths.
19945
19946 2013-07-19 Richard Stallman <rms@gnu.org>
19947
19948 * epa.el (epa-popup-info-window): Doc fix.
19949
19950 * subr.el (split-string): New arg TRIM.
19951
19952 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
19953
19954 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
19955 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
19956
19957 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
19958
19959 * filenotify.el (file-notify--library): Rename from
19960 `file-notify-support'. Do not autoload. Adapt all uses.
19961 (file-notify-supported-p): New defun.
19962
19963 * autorevert.el (auto-revert-use-notify):
19964 Use `file-notify-supported-p' instead of `file-notify-support'.
19965 Adapt docstring.
19966 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
19967
19968 * net/tramp.el (tramp-file-name-for-operation):
19969 Add `file-notify-supported-p'.
19970
19971 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
19972 New defun.
19973 (tramp-sh-file-name-handler-alist): Add it as handler for
19974 `file-notify-supported-p '.
19975
19976 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
19977 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
19978 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
19979 Add `ignore' as handler for `file-notify-*' functions.
19980
19981 2013-07-17 Eli Zaretskii <eliz@gnu.org>
19982
19983 * simple.el (line-move-partial, line-move): Don't start vscroll or
19984 scroll-up if the current line is not taller than the window.
19985 (Bug#14881)
19986
19987 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
19988
19989 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
19990 highlight question marks in the method names as strings.
19991 (ruby-block-beg-keywords): Inline.
19992 (ruby-font-lock-keyword-beg-re): Extract from
19993 `ruby-font-lock-keywords'.
19994
19995 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
19996
19997 * frame.el (blink-cursor-blinks): New defcustom.
19998 (blink-cursor-blinks-done): New defvar.
19999 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
20000 (blink-cursor-timer-function): Check if number of blinks has been
20001 done on X and NS.
20002 (blink-cursor-suspend, blink-cursor-check): New defuns.
20003
20004 2013-07-15 Glenn Morris <rgm@gnu.org>
20005
20006 * edmacro.el (edmacro-format-keys): Fix previous change.
20007
20008 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
20009
20010 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
20011 The hack didn't work outside English locales anyway.
20012
20013 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
20014
20015 * simple.el (define-alternatives): Rename from alternatives-define,
20016 per RMS' suggestion.
20017
20018 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
20019
20020 * desktop.el (desktop-restore-frames): Change default to t.
20021 (desktop-restore-in-current-display): Now offer more options.
20022 (desktop-restoring-reuses-frames): New customization option.
20023 (desktop--saved-states): Doc fix.
20024 (desktop-filter-parameters-alist): New variable, renamed and expanded
20025 from desktop--excluded-frame-parameters.
20026 (desktop--target-display): New variable.
20027 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
20028 (desktop--filter-tty*, desktop--filter-*-color)
20029 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
20030 (desktop--filter-save-desktop-parm)
20031 (desktop-restore-in-original-display-p): New functions.
20032 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
20033 (desktop--save-minibuffer-frames): New function, inspired by a similar
20034 function from Martin Rudalics.
20035 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
20036 (desktop--restore-in-this-display-p): Remove.
20037 (desktop--find-frame): Rename from desktop--find-frame-in-display
20038 and add predicate argument.
20039 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
20040 (desktop--reuse-list): New variable.
20041 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
20042 New functions.
20043 (desktop--restore-frames): Add support for "minibuffer-special" frames.
20044
20045 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
20046
20047 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
20048
20049 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
20050
20051 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
20052 Highlight conversion methods on Kernel.
20053
20054 2013-07-13 Alan Mackenzie <acm@muc.de>
20055
20056 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
20057 and comment it out. This out-commenting enables certain C++
20058 declarations to be parsed correctly.
20059
20060 2013-07-13 Eli Zaretskii <eliz@gnu.org>
20061
20062 * international/mule.el (define-coding-system): Doc fix.
20063
20064 * simple.el (default-font-height): Don't call font-info if the
20065 frame's default font didn't change since the frame was created.
20066 (Bug#14838)
20067
20068 2013-07-13 Leo Liu <sdl.web@gmail.com>
20069
20070 * ido.el (ido-read-file-name): Guard against non-symbol value.
20071
20072 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
20073
20074 * progmodes/python.el (python-imenu--build-tree): Fix corner case
20075 in nested defuns.
20076
20077 2013-07-13 Leo Liu <sdl.web@gmail.com>
20078
20079 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
20080 ido-set-matches call. (Bug#6852)
20081
20082 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
20083
20084 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
20085 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
20086 Ruby 2.0.
20087 (ruby-font-lock-keywords): Distinguish calls to functions with
20088 module-like names from module references. Highlight character
20089 literals.
20090
20091 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
20092
20093 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
20094 (gdb-send): Handle continued commands. (Bug#14847)
20095
20096 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
20097
20098 * desktop.el (desktop--v2s): Remove unused local variable.
20099 (desktop-save-buffer): Make defvar-local; adjust docstring.
20100 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
20101 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
20102
20103 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
20104
20105 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
20106
20107 2013-07-12 Eli Zaretskii <eliz@gnu.org>
20108
20109 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
20110 (Bug#14842)
20111
20112 2013-07-12 Glenn Morris <rgm@gnu.org>
20113
20114 * doc-view.el: Require cl-lib at runtime too.
20115 (doc-view-remove-if): Remove.
20116 (doc-view-search-next-match, doc-view-search-previous-match):
20117 Use cl-remove-if.
20118
20119 * edmacro.el: Require cl-lib at runtime too.
20120 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
20121 (edmacro-mismatch, edmacro-subseq): Remove.
20122
20123 * shadowfile.el: Require cl-lib.
20124 (shadow-remove-if): Remove.
20125 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
20126 Use cl-remove-if.
20127
20128 * wid-edit.el: Require cl-lib.
20129 (widget-choose): Use cl-remove-if.
20130 (widget-remove-if): Remove.
20131
20132 * progmodes/ebrowse.el: Require cl-lib at runtime too.
20133 (ebrowse-delete-if-not): Remove.
20134 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
20135 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
20136 Use cl-delete-if-not.
20137
20138 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
20139
20140 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
20141 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
20142
20143 2013-07-12 Leo Liu <sdl.web@gmail.com>
20144
20145 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
20146
20147 2013-07-11 Glenn Morris <rgm@gnu.org>
20148
20149 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
20150 (edebug-gensym-index, edebug-gensym):
20151 Remove reimplementation of cl-gensym.
20152 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
20153
20154 * thumbs.el: Require cl-lib at run-time too.
20155 (thumbs-gensym-counter, thumbs-gensym):
20156 Remove reimplementation of cl-gensym.
20157 (thumbs-temp-file): Use cl-gensym.
20158
20159 * emacs-lisp/ert.el: Require cl-lib at runtime too.
20160 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
20161 (ert--intersection, ert--set-difference, ert--set-difference-eq)
20162 (ert--union, ert--gensym-counter, ert--gensym-counter)
20163 (ert--coerce-to-vector, ert--remove*, ert--string-position)
20164 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
20165 (ert-make-test-unbound, ert--expand-should-1)
20166 (ert--expand-should, ert--should-error-handle-error)
20167 (should-error, ert--explain-equal-rec)
20168 (ert--plist-difference-explanation, ert-select-tests)
20169 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
20170 Use cl-lib functions rather than reimplementations.
20171
20172 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
20173
20174 * net/tramp.el (tramp-methods): Extend docstring.
20175 (tramp-connection-timeout): New defcustom.
20176 (tramp-error-with-buffer): Reset timestamp only when appropriate.
20177 (with-tramp-progress-reporter): Simplify.
20178 (tramp-process-actions): Improve messages.
20179
20180 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
20181 * net/tramp-sh.el (tramp-maybe-open-connection):
20182 Use `tramp-connection-timeout'.
20183 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
20184 (Bug#14808)
20185
20186 2013-07-11 Leo Liu <sdl.web@gmail.com>
20187
20188 * ido.el (ido-read-file-name): Conform to the requirements of
20189 read-file-name. (Bug#11861)
20190 (ido-read-directory-name): Conform to the requirements of
20191 read-directory-name.
20192
20193 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
20194
20195 * subr.el (delay-warning): New function.
20196
20197 2013-07-10 Eli Zaretskii <eliz@gnu.org>
20198
20199 * simple.el (default-line-height): New function.
20200 (line-move-partial, line-move): Use it instead of computing the
20201 line height inline.
20202 (line-move-partial): Always compute ROWH. If the last line is
20203 partially-visible, but its text is completely visible, allow
20204 cursor to enter such a partially-visible line.
20205
20206 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
20207
20208 Improve error messages. (Bug#14808)
20209
20210 * net/tramp.el (tramp-current-connection): New defvar, moved from
20211 tramp-sh.el.
20212 (tramp-message-show-progress-reporter-message): Remove, not
20213 needed anymore.
20214 (tramp-error-with-buffer): Show message in minibuffer.
20215 Discard input before waiting. Reset connection timestamp.
20216 (with-tramp-progress-reporter): Improve messages.
20217 (tramp-process-actions): Use progress reporter. Delete process in
20218 case of error. Improve messages.
20219
20220 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
20221 Call `tramp-error-with-buffer' with vector and buffer.
20222 (tramp-current-connection): Remove.
20223 (tramp-maybe-open-connection): The car of
20224 `tramp-current-connection' are the first 3 slots of the vector.
20225
20226 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
20227
20228 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
20229 inside continued strings.
20230
20231 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
20232
20233 Timestamp fixes for undo (Bug#14824).
20234 * files.el (clear-visited-file-modtime): Move here from fileio.c.
20235
20236 2013-07-10 Leo Liu <sdl.web@gmail.com>
20237
20238 * files.el (require-final-newline): Allow safe local value.
20239 (Bug#14834)
20240
20241 2013-07-09 Leo Liu <sdl.web@gmail.com>
20242
20243 * ido.el (ido-read-directory-name): Handle fallback.
20244 (ido-read-file-name): Update DIR to ido-current-directory.
20245 (Bug#1516)
20246 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
20247
20248 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
20249
20250 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
20251 "autoload". Remove "warn lower camel case" section, previously
20252 commented out. Highlight negation char. Do not highlight the
20253 target in singleton method definitions.
20254
20255 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
20256
20257 * faces.el (tty-setup-hook): Declare the hook.
20258
20259 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
20260 and detect when a guard/pred depends on local vars (bug#14773).
20261 (pcase--u1): Adjust caller.
20262
20263 2013-07-08 Eli Zaretskii <eliz@gnu.org>
20264
20265 * simple.el (line-move-partial, line-move): Account for
20266 line-spacing.
20267 (line-move-partial): Avoid setting vscroll when the last
20268 partially-visible line in window is of default height.
20269
20270 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
20271
20272 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
20273 been used a while.
20274
20275 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
20276
20277 * subr.el (read-quoted-char): Remove unused local variable `char'.
20278
20279 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
20280
20281 * vc/ediff.el (ediff-version): Version update.
20282 (ediff-files-command, ediff3-files-command, ediff-merge-command)
20283 (ediff-merge-with-ancestor-command, ediff-directories-command)
20284 (ediff-directories3-command, ediff-merge-directories-command)
20285 (ediff-merge-directories-with-ancestor-command): New functions.
20286 All are command-line interfaces to ediff: to facilitate calling
20287 Emacs with the appropriate ediff functions invoked.
20288
20289 * emulation/viper-cmd.el (viper-del-forward-char-in-insert):
20290 New function.
20291 (viper-save-kill-buffer): Check if buffer is modified.
20292
20293 * emulation/viper.el (viper-version): Version update.
20294 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
20295
20296 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
20297
20298 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
20299 * emulation/viper-cmd.el (viper-envelop-ESC-key): Remove function.
20300 (viper-intercept-ESC-key): Simplify.
20301 * emulation/viper-keym.el (viper-ESC-key): Make it a constant,
20302 don't use kbd.
20303 * emulation/viper.el (viper--tty-ESC-filter, viper--lookup-key)
20304 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
20305 (viper-setup-ESC-to-escape): New functions.
20306 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
20307 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
20308
20309 2013-07-07 Eli Zaretskii <eliz@gnu.org>
20310
20311 * simple.el (default-font-height, window-screen-lines):
20312 New functions.
20313 (line-move, line-move-partial): Use them instead of
20314 frame-char-height and window-text-height. This makes scrolling
20315 text smoother when the buffer's default face uses a font that is
20316 different from the frame's default font.
20317
20318 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
20319
20320 * files.el (write-file): Do not display confirm dialog for NS,
20321 it does its own dialog, which can't be canceled (Bug#14578).
20322
20323 2013-07-06 Eli Zaretskii <eliz@gnu.org>
20324
20325 * simple.el (line-move-partial): Adjust the row returned by
20326 posn-at-point for the current window-vscroll. (Bug#14567)
20327
20328 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
20329
20330 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
20331 (tramp-sh-file-inotifywait-process-filter): Handle file names with
20332 spaces.
20333
20334 2013-07-06 Martin Rudalics <rudalics@gmx.at>
20335
20336 * window.el (window-state-put-stale-windows): New variable.
20337 (window--state-put-2): Save list of windows without matching buffer.
20338 (window-state-put): Remove "bufferless" windows if possible.
20339
20340 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
20341
20342 * simple.el (alternatives-define): Remove leftover :group keyword.
20343 Tweak docstring.
20344
20345 2013-07-06 Leo Liu <sdl.web@gmail.com>
20346
20347 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
20348 (ido-enable-virtual-buffers): New variable.
20349 (ido-buffer-internal, ido-toggle-virtual-buffers)
20350 (ido-make-buffer-list): Use it.
20351 (ido-exhibit): Support turning on and off virtual buffers
20352 automatically.
20353
20354 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
20355
20356 * simple.el (alternatives-define): New macro.
20357
20358 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
20359
20360 * subr.el (read-quoted-char): Use read-key.
20361 (sit-for): Let read-event decode tty input (bug#14782).
20362
20363 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
20364
20365 * calendar/todo-mode.el: Add handling of file deletion, both by
20366 mode command and externally. Fix various related bugs.
20367 Clarify Commentary and improve some documentation strings and code.
20368 (todo-delete-file): New command.
20369 (todo-check-file): New function.
20370 (todo-show): Handle external deletion of the file we're trying to
20371 show (bug#14688). Replace called-interactively-p by an optional
20372 prefix argument to avoid problematic interaction with catch form
20373 when byte compiled (bug#14702).
20374 (todo-quit): Handle external deletion of the archive's todo file.
20375 Make sure the buffer that was visiting the archive file is still
20376 live before trying to bury it.
20377 (todo-category-completions): Handle external deletion of any
20378 category completion files.
20379 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
20380 of todo files, in case of external deletion.
20381 (todo-add-file): Replace unnecessary setq by let-binding.
20382 (todo-find-archive): Check whether there are any archives.
20383 Replace unnecessary setq by let-binding.
20384 (todo-archive-done-item): Use find-file-noselect to get the
20385 archive buffer whether or not the archive already exists.
20386 Remove superfluous code. Use file size instead of buffer-file-name to
20387 check if the archive is new; if it is, update list of archives.
20388 (todo-default-todo-file): Allow nil to be a valid value for when
20389 there are no todo files.
20390 (todo-reevaluate-default-file-defcustom): Use corrected definition
20391 of todo-default-todo-file.
20392 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
20393 (todo-delete-category, todo-show-categories-table)
20394 (todo-category-number): Clarify comment.
20395 (todo-filter-items): Clarify documentation string.
20396 (todo-show-current-file, todo-display-as-todo-file)
20397 (todo-reset-and-enable-done-separator): Tweak documentation string.
20398 (todo-done-separator): Make separator length window-width, since
20399 bug#2749 is now fixed.
20400
20401 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
20402
20403 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
20404 Support both "gvfs-monitor-dir" and "inotifywait".
20405 (tramp-sh-file-inotifywait-process-filter): Rename from
20406 `tramp-sh-file-notify-process-filter'.
20407 (tramp-sh-file-gvfs-monitor-dir-process-filter)
20408 (tramp-get-remote-gvfs-monitor-dir): New defuns.
20409
20410 2013-07-05 Leo Liu <sdl.web@gmail.com>
20411
20412 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
20413
20414 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
20415
20416 * frame.el (display-pixel-height, display-pixel-width)
20417 (display-mm-height, display-mm-width): Mention behavior on
20418 multi-monitor setups in docstrings.
20419 (w32-display-monitor-attributes-list): Declare function.
20420 (display-monitor-attributes-list): Use it.
20421
20422 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
20423
20424 * filenotify.el: New package.
20425
20426 * autorevert.el (top): Require filenotify.el.
20427 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
20428 instead.
20429 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
20430 (auto-revert-notify-handler): Use `file-notify-*' functions.
20431
20432 * subr.el (file-notify-handle-event): Move function to filenotify.el.
20433
20434 * net/tramp.el (tramp-file-name-for-operation):
20435 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
20436
20437 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
20438 for `file-notify-add-watch' and `file-notify-rm-watch'.
20439 (tramp-process-sentinel): Improve trace.
20440 (tramp-sh-handle-file-notify-add-watch)
20441 (tramp-sh-file-notify-process-filter)
20442 (tramp-sh-handle-file-notify-rm-watch)
20443 (tramp-get-remote-inotifywait): New defuns.
20444
20445 2013-07-03 Juri Linkov <juri@jurta.org>
20446
20447 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
20448 call of `occur-read-primary-args' to interactive spec.
20449
20450 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
20451 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
20452
20453 2013-07-03 Matthias Meulien <orontee@gmail.com>
20454
20455 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
20456 `Buffer-menu-multi-occur'. Add it to the menu.
20457 (Buffer-menu-mode): Document it in docstring.
20458 (Buffer-menu-multi-occur): New command. (Bug#14673)
20459
20460 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
20461
20462 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
20463 keywords and built-ins.
20464
20465 2013-07-03 Glenn Morris <rgm@gnu.org>
20466
20467 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
20468
20469 Make info-xref checks case-sensitive by default
20470 * info.el (Info-find-node, Info-find-in-tag-table)
20471 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
20472 Add option for exact case matching of nodes.
20473 * info-xref.el (info-xref): New custom group.
20474 (info-xref-case-fold): New option.
20475 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
20476
20477 2013-07-03 Leo Liu <sdl.web@gmail.com>
20478
20479 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
20480
20481 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
20482
20483 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
20484 middle of block statement initially, lower the depth. Remove
20485 FIXME comment, not longer valid. Remove middle of block statement
20486 detection, no need to do that anymore since we've been using
20487 `ruby-parse-region' here.
20488
20489 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
20490
20491 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
20492
20493 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
20494
20495 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
20496
20497 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
20498
20499 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
20500 (desktop-restore-in-current-display): New customization option.
20501 (desktop--excluded-frame-parameters): Add `font'.
20502 (desktop--save-frames): Rename from desktop--save-windows.
20503 (desktop--restore-in-this-display-p): New function.
20504 (desktop--make-full-frame): Remove unwanted width/height from
20505 full(width|height) frames.
20506 (desktop--restore-frames): Rename from desktop--restore-windows.
20507 Obey desktop-restore-current-display. Do not delete old frames or
20508 select a new frame unless we were able to restore at least one frame.
20509
20510 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
20511
20512 * files.el (find-file-noselect): Simplify conditional expression.
20513
20514 * textmodes/remember.el (remember-append-to-file):
20515 Don't mix `find-buffer-visiting' and `get-file-buffer'.
20516
20517 Add `remember-notes' function to store random notes across Emacs
20518 restarts.
20519 * textmodes/remember.el (remember-data-file): Add :set callback to
20520 affect notes buffer (if any).
20521 (remember-notes): New command.
20522 (remember-notes-buffer-name, bury-remember-notes-on-kill):
20523 New defcustoms for the `remember-notes' function.
20524 (remember-notes-save-and-bury-buffer): New command.
20525 (remember-notes-mode-map): New variable.
20526 (remember-mode): New minor mode.
20527 (remember-notes--kill-buffer-query): New function.
20528 * startup.el (initial-buffer-choice): Add notes to custom type.
20529
20530 2013-06-30 Eli Zaretskii <eliz@gnu.org>
20531
20532 * bindings.el (right-char, left-char): Don't call sit-for, this is
20533 no longer needed. Use arithmetic comparison only for numerical
20534 arguments.
20535
20536 * international/mule-cmds.el (select-safe-coding-system):
20537 Handle the case of FROM being a string correctly. (Bug#14755)
20538
20539 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
20540
20541 * net/shr.el (shr-make-table-1): Add a sanity check that allows
20542 progression on degenerate tables.
20543 (shr-rescale-image): ImageMagick animated images currently don't work.
20544
20545 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
20546
20547 Some fixes and improvements for desktop frame restoration.
20548 It is still experimental and disabled by default.
20549 * desktop.el (desktop--save-windows): Put the selected frame at
20550 the head of the list.
20551 (desktop--make-full-frame): New function.
20552 (desktop--restore-windows): Try to re-select the frame that was
20553 selected upon saving. Do not abort if some frames fail to restore,
20554 just show an error message and continue. Set up maximized frames
20555 so they have default non-maximized dimensions.
20556
20557 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
20558
20559 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
20560 Don't start heredoc inside a string or comment.
20561
20562 2013-06-29 Eli Zaretskii <eliz@gnu.org>
20563
20564 * bindings.el (visual-order-cursor-movement): New defcustom.
20565 (right-char, left-char): Provide visual-order cursor motion by
20566 calling move-point-visually. Update the doc strings.
20567
20568 2013-06-28 Kenichi Handa <handa@gnu.org>
20569
20570 * international/mule.el (define-coding-system): New coding system
20571 properties :inhibit-null-byte-detection,
20572 :inhibit-iso-escape-detection, and :prefer-utf-8.
20573 (set-buffer-file-coding-system): If :charset-list property of
20574 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
20575 appropriate for setting.
20576
20577 * international/mule-cmds.el (select-safe-coding-system):
20578 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
20579 multibyte characters, return utf-8 (or one of its siblings).
20580
20581 * international/mule-conf.el (prefer-utf-8): New coding system.
20582 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
20583 files.
20584
20585 2013-06-28 Ivan Kanis <ivan@kanis.fr>
20586
20587 * net/shr.el (shr-render-region): New function.
20588
20589 * net/eww.el: Autoload `eww-browse-url'.
20590
20591 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
20592
20593 * emacs-lisp/package-x.el (package-upload-buffer-internal):
20594 Adapt to `package-desc-version' being a list.
20595 Use `package--ac-desc-version' to retrieve version from a package
20596 archive element.
20597
20598 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
20599
20600 New experimental feature to save&restore window and frame setup.
20601 * desktop.el (desktop-save-windows): New defcustom.
20602 (desktop--saved-states): New var.
20603 (desktop--excluded-frame-parameters): New defconst.
20604 (desktop--filter-frame-parms, desktop--find-frame-in-display)
20605 (desktop--restore-windows, desktop--save-windows): New functions.
20606 (desktop-save): Call `desktop--save-windows'.
20607 (desktop-read): Call `desktop--restore-windows'.
20608
20609 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
20610
20611 * net/shr.el (add-face-text-property): Remove compat definition.
20612
20613 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
20614
20615 * info.el (Info-try-follow-nearest-node): Move search for footnote
20616 above search for node name to prevent missing a footnote (bug#14717).
20617
20618 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
20619
20620 * obsolete/otodo-mode.el: Add obsolescence info to file header.
20621
20622 2013-06-27 Leo Liu <sdl.web@gmail.com>
20623
20624 * net/eww.el (eww-read-bookmarks): Check file size.
20625
20626 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
20627
20628 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
20629 advice--pending if newdef is nil or an autoload (bug#13820).
20630 (advice-mapc): New function.
20631
20632 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
20633
20634 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
20635 probably.
20636 (eww-mode-map): Add a menu bar.
20637 (eww-add-bookmark): New command.
20638 (eww-bookmark-mode): New mode and commands.
20639 (eww-add-bookmark): Remove newlines from the title.
20640 (eww-bookmark-browse): Don't bug out if it's the only window.
20641
20642 2013-06-26 Glenn Morris <rgm@gnu.org>
20643
20644 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
20645 (hfy-size): Handle ttys. (Bug#14668)
20646
20647 * info-xref.el: Update for Texinfo 5 change in *note format.
20648 (info-xref-node-re, info-xref-note-re): New constants.
20649 (info-xref-check-buffer): Use info-xref-note-re.
20650
20651 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
20652
20653 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
20654
20655 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
20656 nil terminate the loop (bug#14718).
20657
20658 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
20659
20660 * net/eww.el: Rework history traversal. When going forward/back,
20661 put these actions into the history, too, so that they can be
20662 replayed.
20663 (eww-render): Move the history reset to the correct buffer.
20664
20665 2013-06-25 Juri Linkov <juri@jurta.org>
20666
20667 * files-x.el (modify-dir-local-variable): Change the header comment
20668 in the file with directory local variables. (Bug#14692)
20669
20670 * files-x.el (read-file-local-variable-value): Add `default'.
20671 (Bug#14710)
20672
20673 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
20674
20675 * net/eww.el (eww-make-unique-file-name): Create a unique file
20676 name before saving to entering `y' accidentally asynchronously.
20677
20678 2013-06-25 Ivan Kanis <ivan@kanis.fr>
20679
20680 * net/eww.el (eww-download): New command and keystroke.
20681
20682 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
20683
20684 * net/eww.el (eww-copy-page-url): Change name of command.
20685
20686 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
20687 be more consistent with Info and dired.
20688
20689 * net/eww.el (eww-mode-map): Ditto.
20690
20691 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
20692
20693 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
20694 packages from archives.
20695 (package-archive-contents): Change format; include obsolete packages.
20696 (package-desc): Use `dir' to mark builtin packages.
20697 (package--from-builtin): Set the `dir' field to `builtin'.
20698 (generated-autoload-file, version-control): Declare.
20699 (package-compute-transaction): Change first arg and return value to be
20700 lists of package-descs. Adjust to new package-archive-contents format.
20701 (package--add-to-archive-contents): Adjust to new
20702 package-archive-contents format.
20703 (package-download-transaction): Arg is now a list of package-descs.
20704 (package-install): If `pkg' is a package name, pass it as
20705 a requirement, so it is subject to the usual (e.g. disabled) checks.
20706 (describe-package): Accept package-desc as well.
20707 (describe-package-1): Describe a specific package-desc. Add links to
20708 other package-descs for the same package name.
20709 (package-menu-describe-package): Pass the actual package-desc.
20710 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
20711 works correctly.
20712 (package-desc-status): New function.
20713 (package-menu--refresh): New function, extracted
20714 from package-menu--generate.
20715 (package-menu--generate): Use it.
20716 (package-delete): Update package-alist.
20717 (package-menu-execute): Don't call package-initialize.
20718
20719 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
20720 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
20721 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
20722 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
20723 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
20724 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
20725
20726 2013-06-25 Martin Rudalics <rudalics@gmx.at>
20727
20728 * window.el (window--state-get-1): Workaround for bug#14527.
20729 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
20730
20731 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
20732
20733 * net/eww.el (eww-back-url): Implement the history by stashing all
20734 the data into a list.
20735 (eww-forward-url): Allow going forward in the history, too.
20736
20737 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
20738
20739 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
20740 for values and use read--expression for expressions (bug#14710).
20741 (read-file-local-variable): Avoid setq.
20742 (read-file-local-variable-mode): Use minor-mode-list.
20743
20744 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
20745
20746 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
20747 for DOI URLs.
20748
20749 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
20750
20751 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
20752 Update imenu-support when dialect changes.
20753
20754 2013-06-25 Leo Liu <sdl.web@gmail.com>
20755
20756 * ido.el (ido-read-internal): Allow forward slash on windows.
20757
20758 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
20759
20760 * net/eww.el (eww): Start of strings is \\`, not ^.
20761
20762 2013-06-24 Ivan Kanis <ivan@kanis.fr>
20763
20764 * net/shr.el (shr-browse-url): Fix interactive spec.
20765
20766 * net/eww.el (eww): Add a trailing slash to domain names.
20767
20768 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
20769
20770 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
20771
20772 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
20773
20774 * net/shr.el (shr-browse-url): Use an external browser if given a
20775 prefix.
20776
20777 * net/eww.el (eww-external-browser): Move to shr.
20778
20779 2013-06-24 Ivan Kanis <ivan@kanis.fr>
20780
20781 * net/eww.el (eww): Work more correctly for file: URLs.
20782 (eww-detect-charset): Allow quoted charsets.
20783 (eww-yank-page-url): New command and keystroke.
20784
20785 2013-06-24 Daiki Ueno <ueno@gnu.org>
20786
20787 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
20788 file name of gpg executable.
20789 (epg-context-program): New function.
20790 (epg-context-home-directory): New function.
20791 (epg-context-set-program): New function.
20792 (epg-context-set-home-directory): New function.
20793 (epg--start): Use `epg-context-program' instead of
20794 'epg-gpg-program'.
20795 (epg--list-keys-1): Likewise.
20796
20797 2013-06-24 Leo Liu <sdl.web@gmail.com>
20798
20799 * ido.el (ido-read-internal): Fix bug#14620.
20800
20801 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
20802
20803 * faces.el (face-documentation): Simplify.
20804 (read-face-attribute, tty-find-type, x-resolve-font-name):
20805 Use `string-match-p'.
20806 (list-faces-display): Use `string-match-p'. Simplify.
20807 (face-spec-recalc): Check face to avoid face alias loops.
20808 (read-color): Use `string-match-p' and non-capturing parenthesis.
20809
20810 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
20811
20812 * net/shr.el (shr-rescale-image): Use the new
20813 :max-width/:max-height functionality.
20814
20815 2013-06-23 Ivan Kanis <ivan@kanis.fr>
20816
20817 * net/eww.el (eww-search-prefix): New variable.
20818 (eww): Use it.
20819 (eww-external-browser): New variable.
20820 (eww-mode-map): New keystroke.
20821 (eww-browse-with-external-browser): New command.
20822
20823 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
20824
20825 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
20826
20827 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
20828 Don't skip aligning the next header field when padding is 0;
20829 otherwise, field width is not respected unless the title is as
20830 wide as the field.
20831
20832 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
20833
20834 * emacs-lisp/package.el (package-el-version): Remove.
20835 (package-process-define-package): Fix inf-loop.
20836 (package-install): Allow symbols as arguments again.
20837
20838 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
20839
20840 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
20841 add some more keyword-like methods.
20842 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
20843
20844 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
20845
20846 * bs.el (bs-buffer-show-mark): Make defvar-local.
20847 (bs-mode): Use setq-local.
20848
20849 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
20850 (emacs-lock--try-unlocking): Make defvar-local.
20851
20852 2013-06-22 Glenn Morris <rgm@gnu.org>
20853
20854 * play/cookie1.el (cookie-apropos): Minor simplification.
20855
20856 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
20857
20858 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
20859
20860 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
20861 `regexp-opt', it breaks the build during dumping.
20862
20863 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
20864
20865 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
20866 Highlight keyword-like methods on Kernel and Module with
20867 font-lock-builtin-face.
20868 (auto-mode-alist): Consolidate different entries into one regexp
20869 and add more *file-s.
20870
20871 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
20872
20873 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
20874
20875 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
20876 (diary-entry): Use it in the action of this button type instead of
20877 diary-goto-entry.
20878
20879 * calendar/todo-mode.el: New version.
20880 (todo-add-category): Append new category to end of file and give
20881 it the highest number, instead of putting it at the beginning and
20882 giving it 0. Incorporate noninteractive functionality.
20883 (todo-forward-category): Adapt to 1-based category numbering.
20884 Allow skipping over archived categories.
20885 (todo-backward-category): Derive from todo-forward-category.
20886 (todo-backward-item, todo-forward-item): Make noninteractive and
20887 delegate interactive part to new commands. Make sensitive to done items.
20888 (todo-categories): Make value an alist of category names and
20889 vectors of item counts.
20890 (todo-category-beg): Make a defconst.
20891 (todo-category-number): Use 1 instead of 0 as initial value.
20892 (todo-category-select): Make sensitive to overlays, optional item
20893 highlighting and done items.
20894 (todo-delete-item): Make sensitive to overlays and marked and done items.
20895 (todo-edit-item): Make sensitive to overlays and editing of
20896 date/time header optional. Add format checks.
20897 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
20898 no-op if point is not on an item. Advertise using todo-edit-quit.
20899 (todo-edit-mode): Make sensitive to new format, font-locking, and
20900 multiple todo files.
20901 (todo-insert-item, todo-insert-item-here): Derive from
20902 todo-basic-insert-item and extend functionality.
20903 (todo-item-end, todo-item-start): Make sensitive to done items.
20904 (todo-item-string): Don't return text properties. Restore point.
20905 (todo-jump-to-category): Make sensitive to multiple todo files and
20906 todo archives. Use extended category completion.
20907 (todo-lower-item, todo-raise-item): Rename to *-priority and
20908 derive from todo-set-item-priority.
20909 (todo-mode): Derive from special-mode. Make sensitive to new
20910 format, font-locking and multiple todo files. Make read-only.
20911 (todo-mode-map): Don't suppress digit keys, so they can supply
20912 prefix arguments. Add many new key bindings.
20913 (todo-prefix): Insert as an overlay instead of file text.
20914 Change semantics from diary date expression to purely visual mark.
20915 (todo-print): Rename to todo-print-buffer. Make buffer display
20916 features printable. Remove option to restrict number of items
20917 printed. Add option to print to file.
20918 (todo-print-function): Rename to todo-print-buffer-function.
20919 (todo-quit): Extend to handle exiting new todo modes.
20920 (todo-remove-item): Make sensitive to overlays.
20921 (todo-save): Extend to buffers of filtered items.
20922 (todo-show): Make sensitive to done items, multiple todo files and
20923 new todo modes. Offer to convert legacy todo file before creating
20924 first new todo file.
20925 (todo-show-priorities): Rename to todo-top-priorities.
20926 Change semantics of value 0.
20927 (todo-top-priorities): Rename to todo-filter-top-priorities,
20928 derive from todo-filter-items and extend functionality.
20929 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
20930 and extend functionality to other types of filtered items.
20931 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
20932 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
20933 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
20934 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
20935 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
20936 (todo-edit-mode-hook, todo-entry-prefix-function)
20937 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
20938 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
20939 (todo-initials, todo-insert-threshold, todo-item-string-start)
20940 (todo-line-string, todo-menu, todo-mode-hook)
20941 (todo-more-important-p, todo-previous-answer, todo-previous-line)
20942 (todo-print-priorities, todo-remove-separator)
20943 (todo-save-top-priorities-too, todo-string-count-lines)
20944 (todo-string-multiline-p, todo-time-string-format)
20945 (todo-tmp-buffer-name): Remove.
20946 (todo-add-file, todo-archive-done-item, todo-choose-archive)
20947 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
20948 (todo-edit-category-diary-inclusion)
20949 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
20950 (todo-edit-file, todo-edit-item-date-day)
20951 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
20952 (todo-edit-item-date-month, todo-edit-item-date-to-today)
20953 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
20954 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
20955 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
20956 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
20957 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
20958 (todo-filter-top-priorities-multifile, todo-find-archive)
20959 (todo-find-filtered-items-file, todo-go-to-source-item)
20960 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
20961 (todo-jump-to-archive-category, todo-lower-category)
20962 (todo-mark-category, todo-marked-item-p, todo-merge-category)
20963 (todo-move-category, todo-move-item, todo-next-button)
20964 (todo-next-item, todo-padded-string, todo-powerset)
20965 (todo-previous-button, todo-previous-item)
20966 (todo-print-buffer-to-file, todo-raise-category)
20967 (todo-rename-category, todo-repair-categories-sexp, todo-search)
20968 (todo-set-category-number, todo-set-item-priority)
20969 (todo-set-top-priorities-in-category)
20970 (todo-set-top-priorities-in-file, todo-show-categories-table)
20971 (todo-sort-categories-alphabetically-or-numerically)
20972 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
20973 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
20974 (todo-toggle-item-header, todo-toggle-item-highlighting)
20975 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
20976 (todo-toggle-view-done-items, todo-toggle-view-done-only)
20977 (todo-unarchive-items, todo-unmark-category): New commands.
20978 (todo-absolute-file-name, todo-add-to-buffer-list)
20979 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
20980 (todo-basic-insert-item, todo-category-completions)
20981 (todo-category-number, todo-category-string-matcher-1)
20982 (todo-category-string-matcher-2, todo-check-filtered-items-file)
20983 (todo-check-format, todo-clear-matches)
20984 (todo-comment-string-matcher, todo-convert-legacy-date-time)
20985 (todo-current-category, todo-date-string-matcher)
20986 (todo-define-insertion-command, todo-diary-expired-matcher)
20987 (todo-diary-goto-entry, todo-diary-item-p)
20988 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
20989 (todo-display-categories, todo-display-sorted, todo-done-item-p)
20990 (todo-done-item-section-p, todo-done-separator)
20991 (todo-done-string-matcher, todo-files, todo-filter-items)
20992 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
20993 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
20994 (todo-insert-category-line, todo-insert-item-from-calendar)
20995 (todo-insert-sort-button, todo-insert-with-overlays)
20996 (todo-insertion-command-name, todo-insertion-key-bindings)
20997 (todo-label-to-key, todo-longest-category-name-length)
20998 (todo-make-categories-list, todo-mode-external-set)
20999 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
21000 (todo-modes-set-3, todo-multiple-filter-files)
21001 (todo-nondiary-marker-matcher, todo-prefix-overlays)
21002 (todo-read-category, todo-read-date, todo-read-dayname)
21003 (todo-read-file-name, todo-read-time)
21004 (todo-reevaluate-category-completions-files-defcustom)
21005 (todo-reevaluate-default-file-defcustom)
21006 (todo-reevaluate-filelist-defcustoms)
21007 (todo-reevaluate-filter-files-defcustom)
21008 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
21009 (todo-reset-done-separator, todo-reset-done-separator-string)
21010 (todo-reset-done-string, todo-reset-global-current-todo-file)
21011 (todo-reset-highlight-item, todo-reset-nondiary-marker)
21012 (todo-reset-prefix, todo-set-categories)
21013 (todo-set-date-from-calendar, todo-set-show-current-file)
21014 (todo-set-top-priorities, todo-short-file-name)
21015 (todo-show-current-file, todo-sort, todo-time-string-matcher)
21016 (todo-total-item-counts, todo-update-buffer-list)
21017 (todo-update-categories-display, todo-update-categories-sexp)
21018 (todo-update-count, todo-validate-name, todo-y-or-n-p):
21019 New functions.
21020 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
21021 New major modes.
21022 (todo-categories, todo-display, todo-edit, todo-faces)
21023 (todo-filtered): New defgroups.
21024 (todo-archived-only, todo-button, todo-category-string, todo-date)
21025 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
21026 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
21027 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
21028 (todo-add-item-if-new-category, todo-always-add-time-string)
21029 (todo-categories-align, todo-categories-archived-label)
21030 (todo-categories-category-label, todo-categories-diary-label)
21031 (todo-categories-done-label, todo-categories-number-separator)
21032 (todo-categories-todo-label, todo-categories-totals-label)
21033 (todo-category-completions-files, todo-completion-ignore-case)
21034 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
21035 (todo-done-separator-string, todo-done-string)
21036 (todo-files-function, todo-filter-done-items, todo-filter-files)
21037 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
21038 (todo-initial-category, todo-initial-file, todo-item-mark)
21039 (todo-legacy-date-time-regexp, todo-mode-line-function)
21040 (todo-nondiary-marker, todo-number-prefix)
21041 (todo-print-buffer-function, todo-show-current-file)
21042 (todo-show-done-only, todo-show-first, todo-show-with-done)
21043 (todo-skip-archived-categories, todo-top-priorities-overrides)
21044 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
21045 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
21046 New defcustoms.
21047 (todo-category-done, todo-date-pattern, todo-date-string-start)
21048 (todo-diary-items-buffer, todo-done-string-start)
21049 (todo-filtered-items-buffer, todo-item-start)
21050 (todo-month-abbrev-array, todo-month-name-array)
21051 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
21052 (todo-top-priorities-buffer): New defconsts.
21053 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
21054 (todo-categories-with-marks, todo-category-string-face)
21055 (todo-comment-face, todo-comment-string, todo-current-todo-file)
21056 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
21057 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
21058 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
21059 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
21060 (todo-font-lock-keywords, todo-global-current-todo-file)
21061 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
21062 (todo-insertion-commands-args)
21063 (todo-insertion-commands-args-genlist)
21064 (todo-insertion-commands-names, todo-insertion-map)
21065 (todo-key-bindings-t, todo-key-bindings-t+a)
21066 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
21067 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
21068 (todo-nondiary-face, todo-print-buffer, todo-time-face)
21069 (todo-visited): New variables.
21070
21071 2013-06-21 Glenn Morris <rgm@gnu.org>
21072
21073 * play/cookie1.el (cookie-apropos): Add optional display argument.
21074 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
21075 (psychoanalyze-pinhead): Use cookie-doctor.
21076
21077 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
21078
21079 * emacs-lisp/package.el (tar-get-file-descriptor)
21080 (tar--extract): Declare.
21081
21082 2013-06-21 Eduard Wiebe <usenet@pusto.de>
21083
21084 Extend flymake's warning predicate to be a function (bug#14217).
21085 * progmodes/flymake.el (flymake-warning-predicate): New.
21086 (flymake-parse-line): Use it.
21087 (flymake-warning-re): Make obsolete alias to
21088 `flymake-warning-predicate'.
21089
21090 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
21091
21092 * emacs-lisp/package.el (package-alist): Include obsolete packages.
21093 (package-obsolete-list): Remove.
21094 (package-activate): Remove min-version argument. Add `force' argument.
21095 Adjust to new package-alist format.
21096 (package-mark-obsolete): Remove.
21097 (package-unpack): Force reload of the package's autoloads.
21098 (package-installed-p): Check builtins if the installed package is not
21099 recent enough.
21100 (package-initialize): Don't reset package-obsolete-list.
21101 Don't specify which package version to activate.
21102 (package-process-define-package, describe-package-1)
21103 (package-menu--generate): Adjust to new package-alist format.
21104
21105 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
21106
21107 * allout-widgets.el (allout-widgets-mode-off)
21108 (allout-widgets-mode-on, allout-widgets-pre-command-business)
21109 (allout-widgets-post-command-business)
21110 (allout-widgets-after-copy-or-kill-function)
21111 (allout-widgets-after-undo-function, allout-test-range-overlaps)
21112 (allout-decorate-item-and-context)
21113 (allout-graphics-modification-handler): Fix typos in docstrings.
21114 (allout-get-or-create-parent-widget): Use `looking-at-p'.
21115
21116 * cmuscheme.el (scheme-start-file): Doc fix.
21117 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
21118 (scheme-input-filter): Use `string-match-p'.
21119
21120 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
21121
21122 * dired-x.el: Use Dired consistently in docstrings.
21123
21124 * dired.el: Use Dired consistently in docstrings.
21125 (dired-readin, dired-mode): Use `setq-local'.
21126 (dired-switches-alist): Make defvar-local.
21127 (dired-buffers-for-dir): Use `zerop'.
21128 (dired-safe-switches-p, dired-switches-escape-p)
21129 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
21130 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
21131 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
21132 (dired-goto-next-nontrivial-file): Use `string-match-p'.
21133 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
21134 (dired-toggle-marks, dired-mark-files-containing-regexp)
21135 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
21136 (dired-flag-auto-save-files, dired-flag-backup-files):
21137 Use `looking-at-p'.
21138 (dired-mark-files-regexp, dired-build-subdir-alist):
21139 Use `string-match-p', `looking-at-p'.
21140
21141 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
21142 (direct-print-region-helper): Use `string-match-p'.
21143
21144 2013-06-21 Leo Liu <sdl.web@gmail.com>
21145
21146 * comint.el (comint-redirect-results-list-from-process):
21147 Fix infinite loop.
21148
21149 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
21150
21151 * net/eww.el (eww-update-header-line-format): Quote % characters.
21152
21153 2013-06-21 Glenn Morris <rgm@gnu.org>
21154
21155 * play/cookie1.el (cookie): New custom group.
21156 (cookie-file): New option.
21157 (cookie-check-file): New function.
21158 (cookie): Make it interactive. Make start and end messages optional.
21159 Interactively, display the result. Default to cookie-file.
21160 (cookie-insert): Default to cookie-file.
21161 (cookie-snarf): Make start and end messages optional.
21162 Default to cookie-file. Use with-temp-buffer.
21163 (cookie-read): Rename from read-cookie.
21164 Make start and end messages optional. Default to cookie-file.
21165 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
21166 Do not autoload it.
21167 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
21168 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
21169
21170 2013-06-21 Leo Liu <sdl.web@gmail.com>
21171
21172 * progmodes/octave.el (octave-mode): Backward compatibility fix.
21173
21174 2013-06-21 Glenn Morris <rgm@gnu.org>
21175
21176 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
21177
21178 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
21179 Daniel Hackney <dan@haxney.org>
21180
21181 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
21182 Consolidate the single-file vs tarball code.
21183 (package-desc-suffix): New function.
21184 (package-desc-full-name): Don't bother inlining it.
21185 (package-load-descriptor): Return the new package-desc.
21186 (package-mark-obsolete): Remove unused arg `package'.
21187 (package-unpack): Make it work for single files as well.
21188 Make it update package-alist.
21189 (package--make-autoloads-and-stuff): Rename from
21190 package--make-autoloads-and-compile. Don't compile any more.
21191 (package--compile): New function.
21192 (package-generate-description-file): New function, extracted from
21193 package-unpack-single.
21194 (package-unpack-single): Remove.
21195 (package--with-work-buffer): Add indentation and debugging info.
21196 (package-download-single): Remove.
21197 (package-install-from-archive): Rename from package-download-tar, make
21198 it take a pkg-desc, and make it work for single files as well.
21199 (package-download-transaction): Simplify.
21200 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
21201 external tar program.
21202 (package-install-from-buffer): Remove `pkg-desc' argument.
21203 Use package-tar-file-info for tar-mode buffers.
21204 (package-install-file): Simplify accordingly.
21205 (package-archive-base): Change to take a pkg-desc.
21206 * tar-mode.el (tar--check-descriptor): New function, extracted from
21207 tar-get-descriptor.
21208 (tar-get-descriptor): Use it.
21209 (tar-get-file-descriptor): New function.
21210 (tar--extract): New function, extracted from tar-extract.
21211 (tar--extract): Use it.
21212 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
21213 case the summary uses non-ascii. Adjust to new calling convention of
21214 package-tar-file-info.
21215
21216 2013-06-21 Leo Liu <sdl.web@gmail.com>
21217
21218 * comint.el (comint-redirect-results-list-from-process):
21219 Fix random delay. (Bug#14681)
21220
21221 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
21222
21223 * profiler.el (profiler-format-number): Use log, not log10.
21224
21225 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
21226
21227 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
21228
21229 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
21230
21231 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
21232 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
21233 yet available.
21234 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
21235 (AUTOGENEL): ... here.
21236 * emacs-lisp/cl-macs.el (cl--sublis): New function.
21237 (cl--defsubst-expand): Use it.
21238
21239 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
21240
21241 * subr.el (log10): Move here from C code, and declare as obsolete.
21242 All uses of (log10 X) replaced with (log X 10).
21243
21244 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
21245
21246 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
21247 Declare with `defvar-local'.
21248 (tabulated-list-use-header-line, tabulated-list-entries)
21249 (tabulated-list-padding, tabulated-list-printer)
21250 (tabulated-list-sort-key): Declare with `defvar-local'.
21251 (tabulated-list-init-header, tabulated-list-print-fake-header):
21252 Use `setq-local'.
21253
21254 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
21255
21256 * arc-mode.el (archive-mode): Add `archive-write-file' to
21257 `write-contents-functions' also for remote files. (Bug#14652)
21258
21259 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
21260
21261 * cus-edit.el (custom-commands): Fix typos.
21262 (custom-display): Fix tooltip text.
21263 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
21264 Fix typos in docstrings.
21265 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
21266 (custom-unlispify-menu-entry, custom-magic-value-create)
21267 (custom-add-see-also, custom-group-value-create): Use ?\s.
21268 (custom-guess-type, customize-apropos, editable-field)
21269 (custom-face-value-create): Use `string-match-p'.
21270 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
21271
21272 * custom.el (custom-load-symbol): Use `string-match-p'.
21273
21274 * ansi-color.el: Convert to lexical binding.
21275 (ansi-colors): Fix URL.
21276 (ansi-color-context, ansi-color-context-region): Use defvar-local.
21277 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
21278 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
21279
21280 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
21281
21282 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
21283
21284 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
21285
21286 2013-06-19 Tom Tromey <tromey@redhat.com>
21287
21288 * net/eww.el (eww-top-url): Remove.
21289 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
21290 (eww-render): Set new variables. Don't set eww-top-url.
21291 (eww-handle-link): Handle "prev", "home", and "contents".
21292 Downcase the rel text.
21293 (eww-top-url): Choose best top URL.
21294
21295 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
21296
21297 * net/eww.el: Rewrite to implement form elements "by hand" instead of
21298 relying in widget.el. Using widget.el leads to too many
21299 user interface inconsistencies.
21300 (eww-self-insert): Implement entering commands in text fields.
21301 (eww-process-text-input): New function to make text input field editing
21302 work.
21303 (eww-submit): Rewrite to use the new-style form methods.
21304 (eww-select-display): Display the correct selected item.
21305 (eww-change-select): Implement changing the select value.
21306 (eww-toggle-checkbox): Implement radio/checkboxes.
21307 (eww-update-field): Fix compilation error.
21308 (eww-tag-textarea): Implement <textarea>.
21309
21310 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
21311 we don't shadow mode-specific bindings.
21312
21313 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
21314 nothing to push.
21315
21316 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
21317
21318 2013-06-19 Glenn Morris <rgm@gnu.org>
21319
21320 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
21321
21322 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
21323
21324 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
21325 not needed.
21326
21327 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
21328
21329 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
21330
21331 * net/browse-url.el (browse-url-browser-function):
21332 `eww-browse-url' has the right calling signature, `eww' does not.
21333
21334 2013-06-19 Glenn Morris <rgm@gnu.org>
21335
21336 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
21337 Only eval autoloaded macros.
21338 (byte-compile-autoload): Only give the macro warning for macros.
21339
21340 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
21341 (ps-underlined-faces): Declare.
21342
21343 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
21344 (speedbar-add-supported-extension): Declare.
21345
21346 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
21347 Don't include a date stamp in the header of the generated file;
21348 it leads to needless differences between output files.
21349
21350 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
21351
21352 * net/secrets.el (secrets-struct-secret-content-type):
21353 Replace check of introspection data by a test call of "CreateItem".
21354 Some servers do not offer introspection.
21355
21356 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
21357
21358 * electric.el (electric-pair-mode): Improve interaction with
21359 electric-layout-mode.
21360 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
21361 (electric-pair-syntax): Use text-mode-syntax-table in comments
21362 and strings.
21363 (electric-pair--insert): New function.
21364 (electric-pair-post-self-insert-function): Use it and
21365 electric--after-char-pos.
21366
21367 2013-06-19 Leo Liu <sdl.web@gmail.com>
21368
21369 * progmodes/octave.el (octave-help): Fix regexp.
21370
21371 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
21372
21373 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
21374 (shr-table-horizontal-line): Allow nil as a value, and change the
21375 default.
21376 (shr-insert-table-ruler): Respect the nil value.
21377
21378 2013-06-18 Tom Tromey <tromey@barimba>
21379
21380 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
21381 New defvars.
21382 (eww-open-file): New defun.
21383 (eww-render): Initialize new variables.
21384 (eww-display-html): Handle "link" and "a".
21385 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
21386 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
21387 (eww-back-url): Rename from eww-previous-url.
21388 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
21389 New defuns.
21390
21391 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
21392
21393 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
21394 Distinguish ternary operator tokens from slash symbol and slash
21395 char literal.
21396
21397 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
21398
21399 Convert symbol prettification into minor mode and global minor mode.
21400
21401 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
21402 `prog-prettify-symbols', and make a local defvar instead of defcustom.
21403 (prettify-symbols--keywords): Rename from
21404 `prog-prettify-symbols-alist' and make a local defvar.
21405 (prettify-symbols--compose-symbol): Rename from
21406 `prog--prettify-font-lock-compose-symbol'.
21407 (prettify-symbols--make-keywords): Rename from
21408 `prog-prettify-font-lock-symbols-keywords' and simplify.
21409 (prog-prettify-install): Remove.
21410 (prettify-symbols-mode): New minor mode, based on
21411 `prog-prettify-install'.
21412 (turn-on-prettify-symbols-mode): New function.
21413 (global-prettify-symbols-mode): New globalized minor mode.
21414
21415 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
21416 * progmodes/cfengine.el (cfengine3-mode):
21417 * progmodes/perl-mode.el (perl-mode): Don't call
21418 `prog-prettify-install'; set `prettify-symbols-alist' instead.
21419
21420 2013-06-18 Juri Linkov <juri@jurta.org>
21421
21422 * files-x.el (modify-file-local-variable-message): New function.
21423 (modify-file-local-variable)
21424 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
21425 and call `modify-file-local-variable-message' when it's non-nil.
21426 (add-file-local-variable, delete-file-local-variable)
21427 (add-file-local-variable-prop-line)
21428 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
21429 and use it. (Bug#9820)
21430
21431 2013-06-18 Juri Linkov <juri@jurta.org>
21432
21433 * emulation/vi.el (vi-shell-op):
21434 * emulation/vip.el (vip-execute-com, ex-command):
21435 * emulation/viper-cmd.el (viper-exec-bang):
21436 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
21437 the call of `shell-command-on-region'. (Bug#14637)
21438
21439 * simple.el (shell-command-on-region): Doc fix.
21440
21441 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
21442
21443 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
21444 (bug#14633).
21445
21446 2013-06-18 Glenn Morris <rgm@gnu.org>
21447
21448 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
21449
21450 * newcomment.el (comment-search-forward, comment-search-backward):
21451 Doc fix. (Bug#14376)
21452
21453 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
21454
21455 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
21456 (buffer-face-mode-invoke): Doc fix.
21457
21458 2013-06-18 Matthias Meulien <orontee@gmail.com>
21459
21460 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
21461 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
21462
21463 2013-06-18 Glenn Morris <rgm@gnu.org>
21464
21465 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
21466 Replace obsolete function generic-make-keywords with its expansion.
21467
21468 * progmodes/python.el (ffap-alist): Declare.
21469
21470 * textmodes/reftex.el (bibtex-mode-map): Declare.
21471
21472 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
21473
21474 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
21475 (package-unpack, package-unpack-single): Return the pkg-dir.
21476 (package-download-transaction): Use it to update package-alist.
21477
21478 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
21479
21480 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
21481 possible choice.
21482
21483 2013-06-17 Juri Linkov <juri@jurta.org>
21484
21485 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
21486
21487 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
21488
21489 * emacs-lisp/package.el (package-load-descriptor):
21490 Remove `with-syntax-table' call, `read' doesn't need it.
21491 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
21492
21493 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
21494
21495 * startup.el (command-line): Expand package name returned by
21496 `package--description-file' (bug#14639).
21497
21498 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
21499
21500 * emacs-lisp/package.el (package-load-descriptor): Do not call
21501 `emacs-lisp-mode', just use its syntax table.
21502
21503 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
21504
21505 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
21506 `font-lock-extra-managed-props' if any prettifying keyword is added.
21507 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
21508 (prog-mode): Use `setq-local'.
21509
21510 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
21511
21512 * international/characters.el (standard-case-table): Set syntax of ?»
21513 and ?« to punctuation.
21514
21515 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
21516
21517 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
21518 Save relevant match data before calling `syntax-ppss' (bug#14595).
21519
21520 2013-06-15 Juri Linkov <juri@jurta.org>
21521
21522 * files-x.el (modify-file-local-variable-prop-line): Add local
21523 variables to the end of the existing comment on the first line.
21524 Use `file-auto-mode-skip' to skip interpreter magic line,
21525 and also skip XML declaration.
21526
21527 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
21528
21529 * startup.el (package--builtin-versions): New var.
21530 (package-subdirectory-regexp): Remove.
21531 (package--description-file): Hard code its value instead.
21532
21533 * emacs-lisp/package.el: Don't activate packages older than builtin.
21534 (package-obsolete-list): Rename from package-obsolete-alist, and make
21535 it into a simple list of package-desc.
21536 (package-strip-version): Remove.
21537 (package-built-in-p): Use package--builtin-versions.
21538 (package-mark-obsolete): Simplify.
21539 (package-process-define-package): Mark it obsolete if older than the
21540 builtin version.
21541 (package-handle-response): Use line-end-position.
21542 (package-read-archive-contents, package--download-one-archive):
21543 Simplify.
21544 (package--add-to-archive-contents): Skip if older than the builtin or
21545 installed version.
21546 (package-menu-describe-package): Fix last change.
21547 (package-list-unversioned): New var.
21548 (package-menu--generate): Use it.
21549
21550 * emacs-lisp/autoload.el: Manage package--builtin-versions.
21551 (autoload--insert-text, autoload--insert-cookie-text): New functions.
21552 (autoload-builtin-package-versions): New variable.
21553 (autoload-generate-file-autoloads): Use them.
21554 Remove the list of autoloaded functions/macros from the
21555 (autoload...) comments.
21556
21557 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
21558
21559 2013-06-15 Eli Zaretskii <eliz@gnu.org>
21560
21561 * simple.el (line-move-partial): Don't jump to the next screen
21562 line as soon as it becomes visible. Instead, continue enlarging
21563 the vscroll until the portion of a tall screen line that's left on
21564 display is about the height of the frame's default font.
21565 (Bug#14567)
21566
21567 2013-06-15 Glenn Morris <rgm@gnu.org>
21568
21569 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
21570 compilation-error-regexp-alist void, or local while let-bound.
21571
21572 * progmodes/make-mode.el (makefile-mode-syntax-table):
21573 Treat "=" as punctuation. (Bug#14614)
21574
21575 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
21576
21577 * help-fns.el (describe-variable):
21578 Add extra line for permanent-local variables.
21579
21580 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
21581
21582 * progmodes/scheme.el (scheme-font-lock-keywords-2):
21583 Add export, import, library. (Bug#9164)
21584 (library): Set indent function.
21585
21586 2013-06-14 Glenn Morris <rgm@gnu.org>
21587
21588 * term/xterm.el (xterm--query):
21589 Stop after first matching handler. (Bug#14615)
21590
21591 2013-06-14 Ivan Kanis <ivan@kanis.fr>
21592
21593 Add support for dired in saveplace.
21594 * dired.el (dired-initial-position-hook): New variable.
21595 (dired-initial-position): Call hook to place cursor position.
21596 * saveplace.el (save-place-to-alist): Add dired position.
21597 (save-place-dired-hook): New function.
21598
21599 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
21600
21601 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
21602 through a symbol rather than letrec.
21603
21604 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
21605 (package-desc): Add `dir' field.
21606 (package-desc-full-name): New function.
21607 (package-load-descriptor): Combine the two arguments. Don't use `load'.
21608 (package-maybe-load-descriptor): Remove.
21609 (package-load-all-descriptors): Just call package-load-descriptor.
21610 (package--disabled-p): New function.
21611 (package-desc-vers, package-desc-doc): Remove aliases.
21612 (package--dir): Remove function.
21613 (package-activate): Check if a package is disabled.
21614 (package-process-define-package): New function, extracted from
21615 define-package.
21616 (define-package): Turn into a place holder.
21617 (package-unpack-single, package-tar-file-info):
21618 Use package--description-file.
21619 (package-compute-transaction): Use package--disabled-p.
21620 (package-download-transaction): Don't call
21621 package-maybe-load-descriptor since they're all loaded anyway.
21622 (package-install): Change argument to be a pkg-desc.
21623 (package-delete): Use a single pkg-desc argument.
21624 (describe-package-1): Use package-desc-dir instead of package--dir.
21625 Use package-desc property instead of package-symbol.
21626 (package-install-button-action): Adjust accordingly.
21627 (package--push): Rewrite.
21628 (package-menu--print-info): Adjust accordingly. Change the ID format
21629 to be a pkg-desc.
21630 (package-menu-describe-package, package-menu-get-status)
21631 (package-menu--find-upgrades, package-menu-mark-upgrades)
21632 (package-menu-execute, package-menu--name-predicate):
21633 Adjust accordingly.
21634 * startup.el (package--description-file): New function.
21635 (command-line): Use it.
21636 * emacs-lisp/package-x.el (package-upload-buffer-internal):
21637 Use package-desc-version.
21638
21639 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
21640 (byte-compile-preprocess): Use it.
21641 (byte-compile-file-form-defalias): Try a bit harder to use macros we
21642 can't quite recognize.
21643 (byte-compile-add-to-list): Remove.
21644 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
21645 (cconv-closure-convert): Add assertion.
21646
21647 * emacs-lisp/map-ynp.el: Use lexical-binding.
21648 (map-y-or-n-p): Remove unused vars `tail' and `object'.
21649 Factor out some repeated code.
21650
21651 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
21652
21653 * subr.el (with-eval-after-load): New macro.
21654 (eval-after-load): Allow form to be a function.
21655 take advantage of lexical-binding.
21656 (do-after-load-evaluation): Use dolist and adjust to new format.
21657 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
21658
21659 2013-06-13 Juri Linkov <juri@jurta.org>
21660
21661 * replace.el (perform-replace): Display "symbol " and other search
21662 modes from `isearch-message-prefix' in the *Help* buffer.
21663
21664 * isearch.el (isearch-query-replace): Add " symbol" and other
21665 possible search modes from `isearch-message-prefix' to the prompt.
21666 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
21667 when reading a regexp to collect.
21668
21669 2013-06-13 Juri Linkov <juri@jurta.org>
21670
21671 * isearch.el (word-search-regexp): Match whitespace if the search
21672 string begins or ends in whitespace. The LAX arg is applied to
21673 both ends of the search string. Use `regexp-quote' and explicit
21674 \< and \> instead of \b. Use \` and \' instead of ^ and $.
21675 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
21676 boundaries are replaced with symbol boundaries, and characters
21677 between symbols match non-word non-symbol syntax. (Bug#14602)
21678
21679 2013-06-13 Juri Linkov <juri@jurta.org>
21680
21681 * isearch.el (isearch-del-char): Don't exceed the length of
21682 `isearch-string' by the prefix arg. (Bug#14563)
21683
21684 2013-06-13 Juri Linkov <juri@jurta.org>
21685
21686 * isearch.el (isearch-yank-word, isearch-yank-line)
21687 (isearch-char-by-name, isearch-quote-char)
21688 (isearch-printing-char, isearch-process-search-char):
21689 Add optional count prefix arg. (Bug#14563)
21690
21691 * international/isearch-x.el
21692 (isearch-process-search-multibyte-characters):
21693 Add optional count prefix arg.
21694
21695 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
21696
21697 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
21698 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
21699 lexical-binding.
21700
21701 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
21702
21703 * subr.el (set-temporary-overlay-map): Add on-exit argument.
21704
21705 2013-06-13 Glenn Morris <rgm@gnu.org>
21706
21707 * startup.el (tty-handle-args):
21708 Don't just discard "--" and anything after. (Bug#14608)
21709
21710 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
21711
21712 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
21713
21714 Implement changes in Secret Service API. Make it backward compatible.
21715 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
21716 (secrets-create-item): Use it. Prefix properties with interface.
21717
21718 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
21719
21720 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
21721 (term-emulate-terminal): Respect term-suppress-hard-newline.
21722
21723 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
21724
21725 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
21726 Only remove a `thumb-file' overlay. (Bug#14548)
21727
21728 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
21729
21730 * mail/reporter.el (reporter-submit-bug-report):
21731 Handle missing package-name. (Bug#14600)
21732
21733 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
21734
21735 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
21736 (reftex-citation-prompt, reftex-default-bibliography)
21737 (reftex-bib-or-thebib, reftex-get-bibfile-list)
21738 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
21739 (reftex-bib-sort-author, reftex-bib-sort-year)
21740 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
21741 (reftex-extract-bib-entries-from-thebibliography)
21742 (reftex-get-bibkey-default, reftex-get-bib-names)
21743 (reftex-parse-bibtex-entry, reftex-get-bib-field)
21744 (reftex-format-bib-entry, reftex-parse-bibitem)
21745 (reftex-format-bibitem, reftex-do-citation)
21746 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
21747 (reftex-restrict-bib-matches, reftex-extract-bib-file)
21748 (reftex-insert-bib-matches, reftex-format-citation)
21749 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
21750 (reftex-create-bibtex-file): Add docstrings, mostly by converting
21751 existing comments into docstrings.
21752
21753 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
21754
21755 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
21756
21757 2013-06-12 Andreas Schwab <schwab@suse.de>
21758
21759 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
21760 for auto-save files.
21761
21762 2013-06-12 Glenn Morris <rgm@gnu.org>
21763
21764 * ido.el (ido-delete-ignored-files): Remove.
21765 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
21766 Go back to calling ido-ignore-item-p directly.
21767
21768 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
21769
21770 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
21771
21772 * ido.el (ido-delete-ignored-files): New function,
21773 split from ido-make-file-list-1.
21774 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
21775 (ido-make-file-list-1): Use ido-delete-ignored-files.
21776
21777 2013-06-12 Leo Liu <sdl.web@gmail.com>
21778
21779 * progmodes/octave.el (inferior-octave-startup)
21780 (inferior-octave-completion-table)
21781 (inferior-octave-track-window-width-change)
21782 (octave-eldoc-function-signatures, octave-help)
21783 (octave-find-definition): Use single quoted strings.
21784 (inferior-octave-startup-args): Change default value.
21785 (inferior-octave-startup): Do not hard code "-i" and
21786 "--no-line-editing".
21787 (inferior-octave-resync-dirs): Add optional arg NOERROR.
21788 (inferior-octave-directory-tracker): Use it.
21789 (octave-goto-function-definition): Robustify.
21790 (octave-help): Support highlighting operators in 'See also'.
21791 (octave-find-definition): Find subfunctions only in Octave mode.
21792
21793 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
21794
21795 * help-fns.el (help-fns--compiler-macro): If the handler function is
21796 named, then put a link to it.
21797 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
21798 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
21799 (cl-typep): Use it.
21800 (cl-eval-when): Simplify debug spec.
21801 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
21802 compiler-macro function instead of setting `compiler-macro-file'.
21803
21804 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
21805
21806 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
21807 * vc/vc-hooks.el (vc-stay-local): Doc fix.
21808
21809 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
21810 Daniel Hackney <dan@haxney.org>
21811
21812 First part of Daniel Hackney's patch to package.el.
21813 * emacs-lisp/package.el: Use defstruct.
21814 (package-desc): New, main struct.
21815 (package--bi-desc, package--ac-desc): New structs, used to describe the
21816 format in external files.
21817 (package-desc-vers): Replace with package-desc-version accessor.
21818 (package-desc-doc): Replace with package-desc-summary accessor.
21819 (package-activate-1): Remove `package' arg since the pkg-vec now
21820 includes the name.
21821 (define-package): Use package-desc-from-define.
21822 (package-unpack-single): Change file-name arg to be a symbol.
21823 (package--add-to-archive-contents): Use package-desc-create and new
21824 accessor functions to package--ac-desc.
21825 (package-buffer-info, package-tar-file-info): Return a package-desc.
21826 (package-install-from-buffer): Remove `type' argument. Change pkg-info
21827 arg to be a package-desc.
21828 (package-install-file): Adjust accordingly. Use \' to match EOS.
21829 (package--from-builtin): New function.
21830 (describe-package-1, package-menu--generate): Use it.
21831 (package--make-autoloads-and-compile): Change name arg to be a symbol.
21832 (package-generate-autoloads): Idem and return the name of the file.
21833 * emacs-lisp/package-x.el (package-upload-buffer-internal):
21834 Change pkg-info arg to be a package-desc.
21835 Use package-make-ac-desc.
21836 (package-upload-file): Use \' to match EOS.
21837 * finder.el (finder-compile-keywords): Use package-make-builtin.
21838
21839 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
21840
21841 * vc/vc.el (vc-deduce-fileset): Change error message.
21842 (vc-read-backend): New function.
21843 (vc-next-action): Use it.
21844
21845 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
21846
21847 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
21848 (prolog-font-lock-keywords): Use regexp-opt instead.
21849 Don't manually highlight strings.
21850 (prolog-mode-variables): Simplify comment-start-skip.
21851 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
21852
21853 * emacs-lisp/generic.el (generic--normalise-comments)
21854 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
21855 (generic-mode-set-comments): Use them.
21856 (generic-bracket-support): Use setq-local.
21857 (generic-make-keywords-list): Declare obsolete.
21858
21859 2013-06-11 Glenn Morris <rgm@gnu.org>
21860
21861 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
21862 Prettify after setting font-lock-defaults. (Bug#14574)
21863
21864 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
21865
21866 * replace.el (query-replace, occur-read-regexp-defaults-function)
21867 (replace-search):
21868 * subr.el (declare-function, number-sequence, local-set-key)
21869 (substitute-key-definition, locate-user-emacs-file)
21870 (with-silent-modifications, split-string, eval-after-load):
21871 Fix typos, remove unneeded backslashes and reflow some docstrings.
21872
21873 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
21874
21875 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
21876 default for Elisp files.
21877
21878 2013-06-11 Glenn Morris <rgm@gnu.org>
21879
21880 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
21881 although define-derived-mode was doing this anyway. (Bug#14583)
21882
21883 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
21884
21885 * allout.el (allout-encryption-plaintext-sanitization-regexps):
21886 Fix make-variable-buffer-local call to refer to the correct variable.
21887
21888 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
21889
21890 * eshell/em-term.el (eshell-visual-commands)
21891 (eshell-visual-subcommands, eshell-visual-options):
21892 Add summary line to docstrings. Add cross-references.
21893
21894 2013-06-10 Glenn Morris <rgm@gnu.org>
21895
21896 * epa.el (epa-read-file-name): New function. (Bug#14510)
21897 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
21898
21899 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
21900
21901 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
21902 output redirection to be ignored with visual commands.
21903
21904 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
21905
21906 * eshell/em-term.el (eshell-visual-command-p): New function.
21907 (eshell-term-initialize): Move long lambda to separate function
21908 eshell-visual-command-p.
21909 * eshell/em-dirs.el (eshell-dirs-initialize):
21910 * eshell/em-script.el (eshell-script-initialize):
21911 Add missing #' to lambda.
21912
21913 2013-06-08 Leo Liu <sdl.web@gmail.com>
21914
21915 * progmodes/octave.el (octave-add-log-current-defun): New function.
21916 (octave-mode): Set add-log-current-defun-function.
21917 (octave-goto-function-definition): Do not move point if not found.
21918 (octave-find-definition): Enhance to try subfunctions first.
21919
21920 2013-06-08 Glenn Morris <rgm@gnu.org>
21921
21922 * emacs-lisp/bytecomp.el (byte-compile-char-before)
21923 (byte-compile-backward-char, byte-compile-backward-word):
21924 Improve previous change, to handle non-explicit nil.
21925
21926 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
21927
21928 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
21929 (smie--opener/closer-at-point): New function.
21930 (smie--matching-block-data): Use it. Don't match from right after an
21931 opener or right before a closer. Obey smie-blink-matching-inners.
21932 Don't signal a mismatch for repeated inners like "switch..case..case".
21933
21934 2013-06-07 Leo Liu <sdl.web@gmail.com>
21935
21936 * progmodes/octave.el (octave-mode): Set comment-use-global-state
21937 to t. (Bug#14303)
21938 (octave-function-header-regexp): Fix. (Bug#14570)
21939 (octave-help-mode-finish-hook, octave-help-mode-finish):
21940 Remove. Just use temp-buffer-show-hook.
21941
21942 * newcomment.el (comment-search-backward): Revert last change.
21943 (Bug#14434)
21944
21945 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
21946
21947 2013-06-07 Eli Zaretskii <eliz@gnu.org>
21948
21949 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
21950 through xargs, to avoid failure due to MS-Windows limitations on
21951 command-line length.
21952
21953 2013-06-06 Glenn Morris <rgm@gnu.org>
21954
21955 * font-lock.el (lisp-font-lock-keywords-2):
21956 Treat user-error like error.
21957
21958 * emacs-lisp/bytecomp.el (byte-compile-char-before)
21959 (byte-compile-backward-char, byte-compile-backward-word):
21960 Handle explicit nil arguments. (Bug#14565)
21961
21962 2013-06-05 Alan Mackenzie <acm@muc.de>
21963
21964 * isearch.el (isearch-allow-prefix): New user option.
21965 (isearch-other-meta-char): Don't exit isearch when a prefix
21966 argument is typed whilst `isearch-allow-prefix' is non-nil.
21967 (Bug#9706)
21968
21969 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
21970
21971 * autorevert.el (auto-revert-notify-handler): Use memq.
21972 Hide assertion failure.
21973
21974 * skeleton.el: Use cl-lib.
21975 (skeleton-further-elements): Use defvar-local.
21976 (skeleton-insert): Use cl-progv.
21977
21978 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
21979
21980 * progmodes/prog-mode.el (prog-prettify-symbols)
21981 (prog-prettify-install): Update docstrings.
21982
21983 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
21984
21985 * simple.el: Move all the prog-mode code to prog-mode.el.
21986 * progmodes/prog-mode.el: New file.
21987 * loadup.el: Add prog-mode.el.
21988
21989 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
21990
21991 * simple.el (prog-prettify-symbols): Add version.
21992 (prog-prettify-install): Add convenience function to prettify symbols.
21993
21994 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
21995 (perl--augmented-font-lock-keywords-1)
21996 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
21997 variables and use it.
21998
21999 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
22000 (cfengine3-mode): Remove unneeded variable and use it.
22001
22002 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
22003 (lisp--augmented-font-lock-keywords-1)
22004 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
22005 Remove unneeded variables and use it.
22006
22007 2013-06-05 João Távora <joaotavora@gmail.com>
22008
22009 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
22010 to point when opening the connection. (Bug#14380)
22011
22012 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
22013
22014 * subr.el (load-history-regexp, load-history-filename-element)
22015 (eval-after-load, after-load-functions, do-after-load-evaluation)
22016 (eval-next-after-load, display-delayed-warnings)
22017 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
22018 definition of save-match-data.
22019 (overriding-local-map): Remove accidental obsolescence declaration.
22020
22021 * emacs-lisp/edebug.el (edebug-result): Move before first use.
22022
22023 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
22024
22025 Generalize symbol prettify support to prog-mode and implement it
22026 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
22027 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
22028 (prog--prettify-font-lock-compose-symbol)
22029 (prog-prettify-font-lock-symbols-keywords): New variables and
22030 functions to support symbol prettification.
22031 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
22032 (lisp--augmented-font-lock-keywords-1)
22033 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
22034 (lisp--prettify-symbols-alist): Implement prettify of lambda.
22035 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
22036 (cfengine3--prettify-symbols-alist, cfengine3-mode):
22037 Implement prettify of -> => :: strings.
22038 * progmodes/perl-mode.el (perl-prettify-symbols)
22039 (perl--font-lock-compose-symbol)
22040 (perl--font-lock-symbols-keywords): Move to prog-mode.
22041 (perl--prettify-symbols-alist): Prettify -> => :: strings.
22042 (perl-font-lock-keywords-1)
22043 (perl-font-lock-keywords-2): Remove explicit prettify support.
22044 (perl--augmented-font-lock-keywords)
22045 (perl--augmented-font-lock-keywords-1)
22046 (perl--augmented-font-lock-keywords-2, perl-mode):
22047 Implement prettify support.
22048
22049 2013-06-05 Leo Liu <sdl.web@gmail.com>
22050
22051 Re-implement SMIE matching block highlight using
22052 show-paren-data-function. (Bug#14395)
22053 * emacs-lisp/smie.el (smie-matching-block-highlight)
22054 (smie--highlight-matching-block-overlay)
22055 (smie--highlight-matching-block-lastpos)
22056 (smie-highlight-matching-block)
22057 (smie-highlight-matching-block-mode): Remove.
22058 (smie--matching-block-data-cache): New variable.
22059 (smie--matching-block-data): New function.
22060 (smie-setup): Use smie--matching-block-data for
22061 show-paren-data-function.
22062
22063 * progmodes/octave.el (octave-mode-menu): Fix.
22064 (octave-find-definition): Skip garbage lines.
22065
22066 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
22067
22068 Fix compilation error with simultaneous dynamic+lexical scoping.
22069 Add warning when a defvar appears after the first let-binding.
22070 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
22071 (byte-compile-close-variables): Initialize it.
22072 (byte-compile--declare-var): New function.
22073 (byte-compile-file-form-defvar)
22074 (byte-compile-file-form-define-abbrev-table)
22075 (byte-compile-file-form-custom-declare-variable): Use it.
22076 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
22077 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
22078 (byte-compile-bind): Handle dynamic bindings that shadow
22079 lexical bindings.
22080 (byte-compile-unbind): Make arg non-optional.
22081 (byte-compile-let): Simplify.
22082 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
22083 (cconv--analyse-function, cconv-analyse-form): Populate it.
22084 Protect byte-compile-bound-variables to limit the scope of defvars.
22085 (cconv-analyse-form): Add missing rule for (defvar <foo>).
22086 Remove unneeded rule for `declare'.
22087
22088 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
22089 so as to avoid depending on cl-adjoin at run-time.
22090 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
22091
22092 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
22093 (macroexp--warn-and-return): Use it.
22094
22095 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
22096
22097 * subr.el: Convert to lexical binding.
22098 (overriding-local-map): Make obsolete.
22099 (add-to-list): Doc fix. Add compiler macro.
22100 (read-key): Swap values of local maps.
22101
22102 2013-06-05 Leo Liu <sdl.web@gmail.com>
22103
22104 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
22105
22106 2013-06-04 Leo Liu <sdl.web@gmail.com>
22107
22108 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
22109 (compilation-auto-jump): Suppress the "Mark set" message to give
22110 way to exit message.
22111
22112 2013-06-04 Alan Mackenzie <acm@muc.de>
22113
22114 Remove faulty optimization from indentation calculation.
22115 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
22116 search limit based on 2000 characters back from indent-point.
22117
22118 2013-06-03 Tassilo Horn <tsdh@gnu.org>
22119
22120 * eshell/em-term.el (cl-lib): Require `cl-lib'.
22121
22122 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
22123
22124 * emacs-lisp/lisp.el: Use lexical-binding.
22125 (lisp--local-variables-1, lisp--local-variables): New functions.
22126 (lisp--local-variables-completion-table): New var.
22127 (lisp-completion-at-point): Use it complete let-bound vars.
22128
22129 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
22130 eagerly (bug#14422).
22131
22132 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
22133
22134 * autorevert.el (auto-revert-notify-enabled)
22135 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
22136 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
22137 (auto-revert-notify-handler): Handle also gfilenotify.
22138
22139 * subr.el (file-notify-handle-event): New defun. Replacing ...
22140 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
22141 Remove.
22142
22143 2013-06-03 Juri Linkov <juri@jurta.org>
22144
22145 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
22146 `M-s h .'. (Bug#14427)
22147
22148 * hi-lock.el (highlight-symbol-at-point): New alias for the new
22149 command `hi-lock-face-symbol-at-point'.
22150 (hi-lock-face-symbol-at-point): New command.
22151 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
22152 (hi-lock-menu): Add `highlight-symbol-at-point'.
22153 (hi-lock-mode): Doc fix.
22154
22155 * isearch.el (isearch-forward-symbol-at-point): New command.
22156 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
22157 (isearch-highlight-regexp): Add a regexp which matches
22158 words/symbols for word/symbol mode.
22159
22160 * subr.el (find-tag-default-bounds): New function with the body
22161 mostly moved from `find-tag-default'.
22162 (find-tag-default): Move most code to `find-tag-default-bounds',
22163 call it and apply `buffer-substring-no-properties' afterwards.
22164
22165 2013-06-03 Tassilo Horn <tsdh@gnu.org>
22166
22167 * eshell/em-term.el (eshell-term-initialize):
22168 Use `cl-intersection' rather than `intersection'.
22169
22170 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
22171
22172 * vc/log-view.el: Doc fix.
22173 (log-view-mode-map): Copy keymap from `special-mode-map'.
22174
22175 2013-06-02 Eric Ludlam <zappo@gnu.org>
22176
22177 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
22178 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
22179 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
22180 (eieio-unbound, eieio-default-superclass)
22181 (eieio--define-field-accessors, method-static, method-before)
22182 (method-primary, method-after, method-num-lists)
22183 (method-generic-before, method-generic-primary)
22184 (method-generic-after, method-num-slots)
22185 (eieio-specialized-key-to-generic-key)
22186 (eieio--check-type, class-v, class-p)
22187 (eieio-class-name, define-obsolete-function-alias)
22188 (eieio-class-parents-fast, eieio-class-children-fast)
22189 (same-class-fast-p, class-constructor, generic-p)
22190 (generic-primary-only-p, generic-primary-only-one-p)
22191 (class-option-assoc, class-option, eieio-object-p)
22192 (class-abstract-p, class-method-invocation-order)
22193 (eieio-defclass-autoload-map, eieio-defclass-autoload)
22194 (eieio-class-un-autoload, eieio-defclass)
22195 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
22196 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
22197 (eieio--defgeneric-init-form, eieio-defgeneric-form)
22198 (eieio-defgeneric-reset-generic-form)
22199 (eieio-defgeneric-form-primary-only)
22200 (eieio-defgeneric-reset-generic-form-primary-only)
22201 (eieio-defgeneric-form-primary-only-one)
22202 (eieio-defgeneric-reset-generic-form-primary-only-one)
22203 (eieio-unbind-method-implementations)
22204 (eieio--defmethod, eieio--typep)
22205 (eieio-perform-slot-validation, eieio-validate-slot-value)
22206 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
22207 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
22208 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
22209 (eieio-slot-name-index, eieio-class-slot-name-index)
22210 (eieio-set-defaults, eieio-initarg-to-attribute)
22211 (eieio-attribute-to-initarg, eieio-c3-candidate)
22212 (eieio-c3-merge-lists, eieio-class-precedence-c3)
22213 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
22214 (eieio-class-precedence-list, eieio-generic-call-methodname)
22215 (eieio-generic-call-arglst, eieio-generic-call-key)
22216 (eieio-generic-call-next-method-list)
22217 (eieio-pre-method-execution-functions, eieio-generic-call)
22218 (eieio-generic-call-primary-only, eieiomt-method-list)
22219 (eieiomt-optimizing-obarray, eieiomt-install)
22220 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
22221 (eieio-generic-form, eieio-defmethod, make-obsolete)
22222 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
22223 (defclass): Remove `eval-and-compile' from macro.
22224 (call-next-method, shared-initialize): Instead of using
22225 `scoped-class' variable, use new eieio--scoped-class, and
22226 eieio--with-scoped-class.
22227 (initialize-instance): Rename local variable 'scoped-class' to
22228 'this-class' to remove ambiguitity from old global.
22229
22230 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
22231 eieio.el.
22232 (eieio--scoped-class-stack): New variable.
22233 (eieio--scoped-class): New fcn.
22234 (eieio--with-scoped-class): New scoping macro.
22235 (eieio-defclass): Use pushnew instead of add-to-list.
22236 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
22237 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
22238 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
22239 `scoped-class' variable, use new eieio--scoped-class, and
22240 eieio--with-scoped-class.
22241
22242 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
22243
22244 2013-06-02 Tassilo Horn <tsdh@gnu.org>
22245
22246 * eshell/esh-ext.el (eshell-external-command): Pass args to
22247 `eshell-find-interpreter'.
22248 (eshell-find-interpreter): Add new second parameter ARGS.
22249
22250 * eshell/em-script.el (eshell-script-initialize): Add second arg
22251 to the function added as MATCH to `eshell-interpreter-alist'.
22252
22253 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
22254 the function added as MATCH to `eshell-interpreter-alist'.
22255
22256 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
22257 (eshell-visual-options): New defcustom.
22258 (eshell-escape-control-x): Adapt docstring.
22259 (eshell-term-initialize): Test `eshell-visual-subcommands' and
22260 `eshell-visual-options' in addition to `eshell-visual-commands'.
22261 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
22262
22263 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
22264
22265 * progmodes/python.el (python-indent-block-enders): Add break,
22266 continue and raise keywords.
22267
22268 2013-06-01 Glenn Morris <rgm@gnu.org>
22269
22270 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
22271
22272 Plain (f)boundp silences compilation warnings since Emacs 22.1.
22273 * progmodes/cc-cmds.el (delete-forward-p):
22274 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
22275 * progmodes/cc-engine.el (buffer-syntactic-context):
22276 * progmodes/cc-fonts.el (face-property-instance):
22277 * progmodes/cc-mode.el (set-keymap-parents):
22278 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
22279 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
22280 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
22281 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
22282 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
22283
22284 * progmodes/cc-vars.el (other): Emacs has this widget since
22285 at least 21.1, so don't (re)define it.
22286
22287 * eshell/em-cmpl.el (eshell-cmpl-initialize):
22288 Replace the obsolete alias pcomplete-arg-quote-list.
22289
22290 2013-06-01 Leo Liu <sdl.web@gmail.com>
22291
22292 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
22293 punctuation syntax.
22294 (inferior-octave-minimal-columns)
22295 (inferior-octave-last-column-width): New variables.
22296 (inferior-octave-track-window-width-change): New function.
22297 (inferior-octave-mode): Adjust column width so that Octave output,
22298 for example from 'ls', can fit into the window nicely.
22299
22300 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
22301
22302 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
22303 Highlight expansions inside regexp literals.
22304
22305 2013-05-31 Glenn Morris <rgm@gnu.org>
22306
22307 * obsolete/sym-comp.el (symbol-complete):
22308 Replace obsolete completion-annotate-function.
22309
22310 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
22311
22312 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
22313
22314 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
22315 New function, checks if point is inside a literal that allows
22316 expression expansion.
22317 (ruby-syntax-propertize-expansion): Use it.
22318 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
22319 around the body.
22320
22321 2013-05-30 Juri Linkov <juri@jurta.org>
22322
22323 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
22324 to "\M-si".
22325 (isearch-invisible): New variable.
22326 (isearch-forward): Doc fix.
22327 (isearch-mode): Set `isearch-invisible'
22328 to the value of `search-invisible'.
22329 (isearch-toggle-case-fold): Doc fix.
22330 (isearch-toggle-invisible): New command.
22331 (isearch-query-replace): Let-bind `search-invisible'
22332 to the value of `isearch-invisible'.
22333 (isearch-search): Use `isearch-invisible' instead of
22334 `search-invisible'. Let-bind `search-invisible'
22335 to the value of `isearch-invisible'. (Bug#11378)
22336
22337 2013-05-30 Juri Linkov <juri@jurta.org>
22338
22339 * replace.el (perform-replace): Avoid `isearch-range-invisible'
22340 call when `query-flag' is nil and `search-invisible' is non-nil.
22341 (Bug#11746)
22342
22343 2013-05-30 Glenn Morris <rgm@gnu.org>
22344
22345 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
22346
22347 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
22348 (cc-require): Suppress spurious "noruntime" warnings.
22349 (cc-require-when-compile): Use fboundp, for sake of compiler.
22350
22351 * progmodes/cc-mode.el: Move load of cc-vars before that of
22352 cc-langs (which in turn loads cc-vars), to quieten compiler.
22353
22354 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
22355
22356 * paren.el: Simplify the code.
22357 (show-paren-mode): Always start the timer.
22358 (show-paren--idle-timer): Rename from show-paren-idle-timer.
22359 (show-paren--overlay, show-paren--overlay-1): Rename from
22360 show-paren-overlay and show-paren-overlay-1, and initialize to an
22361 overlay rather than to nil.
22362 (show-paren-function): Misc cleanup and simplifications.
22363
22364 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
22365
22366 * paren.el (show-paren-data-function): New hook.
22367 (show-paren--default): New function, extracted from show-paren-function.
22368 (show-paren-function): Use show-paren-data-function.
22369
22370 2013-05-30 Glenn Morris <rgm@gnu.org>
22371
22372 * ielm.el (ielm-map, ielm-complete-symbol):
22373 Use completion-at-point rather than obsolete functions.
22374 (inferior-emacs-lisp-mode): Doc fix.
22375 Set completion-at-point-functions, rather than
22376 comint-dynamic-complete-functions.
22377
22378 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
22379 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
22380 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
22381
22382 * image.el (image-animated-p): Tweak definition.
22383
22384 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
22385 (rlogin-process-connection-type): Tweak default. Add set-after.
22386 (rlogin-host): Doc fix.
22387 (rlogin): Tweak prompt.
22388 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
22389
22390 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
22391 * progmodes/tcl.el (inferior-tcl-mode-map):
22392 Use completion-at-point rather than obsolete alias.
22393
22394 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
22395
22396 * minibuffer.el (read-file-name-completion-ignore-case):
22397 Move before completion--in-region, for eager macro expansion.
22398
22399 2013-05-29 Juri Linkov <juri@jurta.org>
22400
22401 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
22402 for total count of matching lines. Add `global-matches' for total
22403 count of matches. Rename `matches' to `lines' for count of
22404 matching lines. Add `matches' for count of matches.
22405 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
22406 to `prev-line' for line number of prev match endpt.
22407 Increment `matches' for every match. Print the number of
22408 matching lines in the header.
22409 (occur-context-lines): Rename `lines' to `curr-line'.
22410 Rename `prev-lines' to `prev-line'. (Bug#14017)
22411
22412 2013-05-29 Juri Linkov <juri@jurta.org>
22413
22414 * replace.el (perform-replace): Add `skip-read-only-count',
22415 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
22416 Increment them for corresponding conditions and report the number
22417 of skipped occurrences in the final message. (Bug#11746)
22418 (query-replace, query-replace-regexp, query-replace-regexp-eval)
22419 (replace-string, replace-regexp): Doc fix.
22420
22421 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
22422
22423 * emacs-lisp/trace.el (trace--read-args): Provide a default.
22424
22425 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
22426 prog-mode-map (bug#14504).
22427
22428 2013-05-29 Leo Liu <sdl.web@gmail.com>
22429
22430 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
22431 (octave-help): Small simplification.
22432
22433 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
22434 off the highlight first.
22435
22436 2013-05-29 Glenn Morris <rgm@gnu.org>
22437
22438 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
22439 Handle idlwave-last-system-routine-info-cons-cell being nil.
22440
22441 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
22442 (idlwave-write-paths): Simplify via with-temp-buffer.
22443
22444 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
22445 * emulation/cua-rect.el: Also load cua-base at run time.
22446
22447 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
22448 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
22449 (cperl-imenu-on-info): Require imenu.
22450
22451 2013-05-28 Alan Mackenzie <acm@muc.de>
22452
22453 Handle "capitalised keywords" correctly.
22454 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
22455
22456 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
22457
22458 * eshell/em-unix.el: Add -r option to cp.
22459
22460 2013-05-28 Glenn Morris <rgm@gnu.org>
22461
22462 * vc/vc-arch.el (vc-exec-after): Declare.
22463 (vc-switches): Autoload.
22464 * vc/vc-bzr.el: No need to require vc when compiling.
22465 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
22466 (vc-resynch-buffer, vc-dir-refresh): Declare.
22467 (vc-setup-buffer, vc-switches): Autoload.
22468 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
22469 (vc-resynch-buffer): Declare.
22470 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
22471 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
22472 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
22473 (grep-read-regexp, grep-read-files, grep-expand-template)
22474 (vc-dir-refresh): Declare.
22475 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
22476 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
22477 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
22478 * vc/vc-mtn.el (vc-exec-after): Declare.
22479 (vc-switches): Autoload.
22480 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
22481 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
22482 (vc-file-tree-walk): Declare.
22483 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
22484 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
22485 (vc-tag-precondition, vc-rename-master): Autoload.
22486 * vc/vc-svn.el (vc-exec-after): Declare.
22487 (vc-switches, vc-setup-buffer): Autoload.
22488 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
22489 Autoload.
22490 (vc-resynch-buffer): Declare.
22491
22492 * obsolete/fast-lock.el (byte-compile-warnings):
22493 Don't warn about obsolete features in this obsolete file.
22494
22495 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
22496 Move definition before use.
22497
22498 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
22499 (dun-unix-verbs): Remove dun-zippy.
22500 (dun-zippy): Remove function.
22501
22502 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
22503
22504 2013-05-27 Juri Linkov <juri@jurta.org>
22505
22506 * replace.el (replace-search): New function with code moved out
22507 from `perform-replace'.
22508 (replace-highlight, replace-dehighlight): Move function definitions
22509 up closer to `replace-search'. (Bug#11746)
22510
22511 2013-05-27 Juri Linkov <juri@jurta.org>
22512
22513 * replace.el (perform-replace): Ignore invisible matches.
22514 In addition to checking `query-replace-skip-read-only', also
22515 filter out matches by calling `run-hook-with-args-until-failure'
22516 on `isearch-filter-predicates', and also check `search-invisible'
22517 for t or call `isearch-range-invisible'.
22518 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
22519
22520 2013-05-27 Juri Linkov <juri@jurta.org>
22521
22522 * isearch.el (isearch-filter-predicates): Rename from
22523 `isearch-filter-predicate'. Doc fix. (Bug#11378)
22524 (isearch-message-prefix): Display text from the property
22525 `isearch-message-prefix' of the currently active filters.
22526 (isearch-search): Don't compare `isearch-filter-predicate' with
22527 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
22528 on `isearch-filter-predicates'. Also check `search-invisible' for t
22529 or call `isearch-range-invisible'.
22530 (isearch-filter-visible): Make obsolete.
22531 (isearch-lazy-highlight-search):
22532 Call `run-hook-with-args-until-failure' on
22533 `isearch-filter-predicates' and use `isearch-range-invisible'.
22534
22535 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
22536 `isearch-filter-predicates' instead of `funcall'ing
22537 `isearch-filter-predicate'.
22538 (Info-mode): Set `Info-isearch-filter' to
22539 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
22540
22541 * dired-aux.el (dired-isearch-filter-predicate-orig):
22542 Remove variable.
22543 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
22544 (dired-isearch-filenames-end): Add and remove
22545 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
22546 instead of changing the value of `isearch-filter-predicate'.
22547 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
22548 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
22549 Put property `isearch-message-prefix' to "filename " on
22550 `dired-isearch-filter-filenames'.
22551
22552 * wdired.el (wdired-change-to-wdired-mode):
22553 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
22554 locally instead of changing `isearch-filter-predicate'.
22555 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
22556
22557 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
22558
22559 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
22560 return the commit hash (Bug#14459). Also set the
22561 `vc-git-detached' property.
22562 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
22563 (vc-git-mode-line-string): Use the same help-echo format whether
22564 in detached mode or not, because we know the actual revision now.
22565 When in detached mode, shorten the revision to 7 chars.
22566
22567 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
22568
22569 * emacs-lisp/easy-mmode.el (define-minor-mode):
22570 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
22571 mode hook and provide a docstring.
22572
22573 2013-05-27 Alan Mackenzie <acm@muc.de>
22574
22575 Remove spurious syntax-table text properties inserted by C-y.
22576 * progmodes/cc-mode.el (c-after-change): Also clear hard
22577 syntax-table property with value nil.
22578
22579 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
22580
22581 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
22582 when reading the events; the buffer layout shall not be changed.
22583
22584 2013-05-27 Leo Liu <sdl.web@gmail.com>
22585
22586 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
22587 New variable.
22588 (inferior-octave-directory-tracker): Automatically re-sync
22589 default-directory.
22590 (octave-help): Improve handling of 'See also'.
22591
22592 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
22593
22594 * doc-view.el: Minor naming convention tweaks.
22595 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
22596
22597 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
22598 even if there's no `display' property yet (bug#14435).
22599
22600 2013-05-25 Eli Zaretskii <eliz@gnu.org>
22601
22602 * subr.el (unmsys--file-name): Rename from reveal-filename.
22603
22604 * Makefile.in (custom-deps, finder-data, autoloads)
22605 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
22606 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
22607 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
22608
22609 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
22610
22611 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
22612 error-completion on the first 2 args of condition-case (bug#14446).
22613 Don't burp at EOB.
22614
22615 2013-05-25 Leo Liu <sdl.web@gmail.com>
22616
22617 * comint.el (comint-previous-matching-input): Do not flood the
22618 *Messages* buffer with trivial messages.
22619
22620 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
22621
22622 * progmodes/flymake.el (flymake-nop): Don't return a string.
22623 (flymake-set-at): Fix typo.
22624
22625 * simple.el (read--expression): New function, extracted from
22626 eval-expression. Set completion-at-point-functions (bug#14465).
22627 (eval-expression, eval-minibuffer): Use it.
22628
22629 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
22630
22631 * progmodes/flymake.el (flymake-save-buffer-in-file)
22632 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
22633 (flymake-selected-frame, flymake-log, flymake-ins-after)
22634 (flymake-set-at, flymake-get-buildfile-from-cache)
22635 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
22636 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
22637 Refine the doc string.
22638 (flymake-get-file-name-mode-and-masks): Reformat.
22639 (flymake-get-real-file-name-function): Fix a minor bug.
22640
22641 2013-05-24 Juri Linkov <juri@jurta.org>
22642
22643 * progmodes/grep.el (grep-mode-font-lock-keywords):
22644 Support =linenumber= format used by git-grep for lines with
22645 function names. (Bug#13549)
22646
22647 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
22648
22649 * progmodes/octave.el (octave-smie-rules): Return nil rather than
22650 0 after a semi-colon; it works better for smie-auto-fill.
22651 (octave--indent-new-comment-line): New function.
22652 (octave-indent-new-comment-line): Use it (indirectly).
22653 (octave-mode): Don't disable smie-auto-fill. Use add-function to
22654 modify comment-line-break-function.
22655
22656 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
22657 (smie-setup): Use add-function to set it.
22658
22659 2013-05-24 Sam Steingold <sds@gnu.org>
22660
22661 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
22662 argument (before the `interactive' argument).
22663
22664 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
22665
22666 * image-mode.el (image-mode-winprops): Add winprops to
22667 image-mode-winprops-alist before running
22668 image-mode-new-window-functions.
22669 * doc-view.el (doc-view-new-window-function): Don't delay
22670 doc-view-goto-page via timers (bug#14435).
22671
22672 2013-05-24 Tassilo Horn <tsdh@gnu.org>
22673
22674 * doc-view.el: Integrate with desktop.el. (Bug#14435)
22675 (doc-view-desktop-save-buffer): New function.
22676 (doc-view-restore-desktop-buffer): New function.
22677 (desktop-buffer-mode-handlers):
22678 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
22679 handler.
22680 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
22681 `desktop-save-buffer' function.
22682
22683 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
22684
22685 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
22686 (tramp-gvfs-file-name-handler): Raise a user error when
22687 `tramp-gvfs-enabled' is nil.
22688 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
22689 Do not raise a user error when loading package. (Bug#14447)
22690
22691 * net/xesam.el: Move to obsolete/.
22692
22693 2013-05-24 Glenn Morris <rgm@gnu.org>
22694
22695 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
22696
22697 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
22698
22699 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
22700 (Info-find-node, Man-getpage-in-background): Declare.
22701
22702 * mail/unrmail.el (unrmail):
22703 Replace obsolete detect-coding-with-priority.
22704
22705 * net/socks.el (socks-split-string): Use this rather than split-string.
22706 (socks-nslookup-host): Update for above change.
22707 (dynamic-choice, s5-dynamic-choice-match)
22708 (s5-dynamic-choice-match-inline, s5-widget-value-create):
22709 Comment out unused code.
22710
22711 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
22712 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
22713 (gud-tooltip-echo-area): Make obsolete.
22714 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
22715
22716 * progmodes/js.el (js--optimize-arglist): Declare.
22717
22718 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
22719
22720 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
22721 (ediff-window-C): Declare.
22722
22723 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
22724 Tweak requires to silence compiler.
22725
22726 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
22727 (he-search-string, he-tried-table, he-expand-list)
22728 (he-init-string, he-string-member, he-substitute-string)
22729 (he-reset-string): Declare.
22730
22731 * obsolete/options.el (list-options): Use custom-variable-p,
22732 rather than obsolete alias.
22733
22734 2013-05-23 Sam Steingold <sds@gnu.org>
22735
22736 * simple.el (shell-command-on-region): Pass the `replace' argument
22737 down to `call-process-region' to comply with the doc as reported on
22738 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
22739
22740 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
22741
22742 * emacs-lisp/smie.el (smie-indent-forward-token)
22743 (smie-indent-backward-token): Handle string tokens (bug#14381).
22744
22745 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
22746
22747 * ielm.el (ielm-menu): New menu.
22748 (inferior-emacs-lisp-mode): Set comment-start.
22749
22750 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
22751
22752 * textmodes/reftex.el (reftex-ref-style-toggle):
22753 Fix deactivate action.
22754
22755 * textmodes/reftex-vars.el (reftex-ref-style-alist):
22756 Add cleveref macros.
22757
22758 * textmodes/reftex-parse.el (reftex-locate-bibliography-files):
22759 Accept options for bibliography commands.
22760 * textmodes/reftex-vars.el (reftex-bibliography-commands):
22761 Add addbibresource. Basic Biblatex support.
22762
22763 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
22764
22765 * net/tramp-gvfs.el (top):
22766 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
22767 when loading package. (Bug#14447)
22768
22769 2013-05-23 Glenn Morris <rgm@gnu.org>
22770
22771 * progmodes/js.el: No need to load comint when compiling.
22772 (ring-insert, comint-send-string, comint-send-input)
22773 (comint-last-input-end, ido-chop): Declare.
22774
22775 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
22776 * vc/ediff-mult.el: Adjust requires.
22777 (ediff-directories-internal, ediff-directory-revisions-internal)
22778 (ediff-patch-file-internal): Declare.
22779 * vc/ediff-ptch.el: Adjust requires.
22780 (ediff-use-last-dir, ediff-buffers-internal): Declare.
22781 (ediff-find-file): Autoload.
22782 * vc/ediff-util.el: No need to load ediff when compiling.
22783 (ediff-regions-internal): Declare.
22784 * vc/ediff-wind.el: Adjust requires.
22785 (ediff-compute-toolbar-width): Define when compiling.
22786 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
22787 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
22788 (dired-get-filename, dired-get-marked-files)
22789 (ediff-last-dir-patch, ediff-patch-default-directory)
22790 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
22791 (ediff-patch-buffer-internal): Declare.
22792
22793 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
22794 (ispell-process, ispell-buffer-local-words, lm-summary)
22795 (lm-section-start, lm-section-end): Declare.
22796 (checkdoc-ispell-init): Simplify.
22797
22798 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
22799 (he-string-member, he-reset-string, he-substitute-string): Declare.
22800
22801 * eshell/em-ls.el: Adjust requires.
22802 (eshell-glob-regexp): Declare.
22803 * eshell/em-tramp.el: Adjust requires.
22804 (eshell-parse-command): Autoload.
22805 * eshell/em-xtra.el: Adjust requires.
22806 (eshell-parse-command): Autoload.
22807 * eshell/esh-ext.el: Adjust requires.
22808 (eshell-parse-command, eshell-close-handles): Autoload.
22809 * eshell/esh-io.el: Adjust requires.
22810 (eshell-output-filter): Autoload.
22811 * eshell/esh-util.el: No need to load tramp when compiling.
22812 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
22813 Declare.
22814 (eshell-parse-ange-ls): Require ange-ftp and tramp.
22815 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
22816 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
22817 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
22818 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
22819 * eshell/esh-opt.el, eshell/esh-proc.el:
22820 * eshell/esh-var.el: Adjust requires.
22821 * eshell/eshell.el: Do not require esh-util twice.
22822 (eshell-add-input-to-history): Declare.
22823 (eshell-command): Check history module is active before using it.
22824
22825 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
22826
22827 2013-05-22 Leo Liu <sdl.web@gmail.com>
22828
22829 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
22830
22831 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
22832
22833 * autorevert.el (auto-revert-notify-add-watch)
22834 (auto-revert-notify-handler): Add `attrib' for the inotify case,
22835 it indicates changes in file modification time.
22836
22837 2013-05-22 Glenn Morris <rgm@gnu.org>
22838
22839 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
22840 Always delete the autoloaded function from the noruntime and
22841 unresolved functions lists.
22842
22843 * allout.el: No need to load epa, epg, overlay when compiling.
22844 (epg-context-set-passphrase-callback, epg-list-keys)
22845 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
22846 (epg-key-user-id-list): Declare.
22847
22848 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
22849 (viper-set-parsing-style-toggling-macro)
22850 (viper-set-emacs-state-searchstyle-macros):
22851 Use called-interactively-p on Emacs.
22852 (viper-looking-back): Make it an obsolete alias. Update callers.
22853 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
22854 Use looking-back rather than viper-looking-back.
22855 (viper-tmp-insert-at-eob, viper-enlarge-region)
22856 (viper-read-string-with-history, viper-register-to-point)
22857 (viper-append-to-register, viper-change-state-to-vi)
22858 (viper-backward-char-carefully, viper-forward-char-carefully)
22859 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
22860 (viper-change-state-to-emacs): Declare.
22861 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
22862 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
22863 * emulation/viper-mous.el: Do not load viper-cmd.
22864 (viper-backward-char-carefully, viper-forward-char-carefully)
22865 (viper-forward-word, viper-adjust-window): Declare.
22866
22867 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
22868
22869 * progmodes/idlw-help.el (idlwave-help-fontify):
22870 Use called-interactively-p.
22871
22872 * term/w32console.el (w32-get-console-codepage)
22873 (w32-get-console-output-codepage): Declare.
22874
22875 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
22876 Remove unnecessary declarations.
22877 (dframe-message): Doc fix.
22878
22879 * info.el (dframe-select-attached-frame, dframe-current-frame):
22880 Declare.
22881
22882 * speedbar.el (speedbar-message): Make it an obsolete alias.
22883 Update all callers.
22884 (speedbar-with-attached-buffer)
22885 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
22886 (speedbar-with-writable): Use backquote.
22887 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
22888 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
22889 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
22890 rather than speedbar- aliases.
22891 * mail/rmail.el: Load dframe rather than speedbar when compiling.
22892 (speedbar-make-specialized-keymap, speedbar-insert-button)
22893 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
22894 (speedbar-do-function-pointer): Declare.
22895 (rmail-speedbar-button, rmail-speedbar-find-file)
22896 (rmail-speedbar-move-message):
22897 Use dframe-with-attached-buffer rather than speedbar- alias.
22898 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
22899 (dframe-message, speedbar-make-specialized-keymap)
22900 (speedbar-add-expansion-list, speedbar-mode-functions-list)
22901 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
22902 (speedbar-insert-button, dframe-select-attached-frame)
22903 (dframe-maybee-jump-to-attached-frame)
22904 (speedbar-change-initial-expansion-list)
22905 (speedbar-previously-used-expansion-list-name): Declare.
22906 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
22907 Use dframe-message, dframe-with-attached-buffer rather than
22908 speedbar- aliases.
22909 (gud-sentinel): Silence compiler.
22910 * progmodes/vhdl-mode.el (speedbar-refresh)
22911 (speedbar-do-function-pointer, speedbar-add-supported-extension)
22912 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
22913 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
22914 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
22915 (speedbar-file-lists, speedbar-make-tag-line)
22916 (speedbar-line-directory, speedbar-goto-this-file)
22917 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
22918 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
22919 (speedbar-make-button, speedbar-reset-scanners)
22920 (speedbar-files-item-info, speedbar-line-text)
22921 (speedbar-find-file-in-frame, speedbar-set-timer)
22922 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
22923 (speedbar-with-writable): Do not (re)define it.
22924 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
22925 rather than speedbar- alias.
22926
22927 2013-05-21 Leo Liu <sdl.web@gmail.com>
22928
22929 * progmodes/octave.el (octave-mode-menu): Update and re-organize
22930 menu items.
22931 (octave-mode): Tweak fill-nobreak-predicate.
22932 (inferior-octave-startup): Check process to avoid infinite loop.
22933 (inferior-octave): Pop to buffer first to show abornmal process
22934 exit information.
22935
22936 2013-05-21 Glenn Morris <rgm@gnu.org>
22937
22938 * printing.el (pr-menu-bar): Define when compiling.
22939
22940 2013-05-21 Leo Liu <sdl.web@gmail.com>
22941
22942 * progmodes/octave.el (octave-auto-fill): Remove.
22943 (octave-indent-new-comment-line): Improve.
22944 (octave-mode): Use auto fill mode through
22945 comment-line-break-function and fill-nobreak-predicate.
22946 (octave-goto-function-definition): Support DEFUN_DLD.
22947 (octave-beginning-of-defun): Small tweak.
22948 (octave-help): Show parent directory.
22949
22950 2013-05-21 Glenn Morris <rgm@gnu.org>
22951
22952 * files.el (dired-unmark):
22953 * progmodes/gud.el (gdb-input): Update declarations.
22954
22955 * calculator.el (electric, ehelp): No need to load when compiling.
22956 (Electric-command-loop, electric-describe-mode): Declare.
22957
22958 * doc-view.el (doc-view-current-converter-processes): Move before use.
22959
22960 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
22961 Move MODE-set-explicitly definition before use.
22962
22963 * international/mule-diag.el (mule-diag):
22964 Don't use obsolete window-system-version.
22965
22966 * mail/feedmail.el (smtpmail): No need to load when compiling.
22967 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
22968
22969 * mail/mail-utils.el (rfc822): No need to load when compiling.
22970 (rfc822-addresses): Autoload it.
22971 (mail-strip-quoted-names): Trivial simplification.
22972
22973 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
22974 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
22975
22976 * net/snmp-mode.el (tempo): Don't duplicate requires.
22977
22978 * progmodes/prolog.el (info): No need to load when compiling.
22979 (comint): Require before shell requires it.
22980 (Info-goto-node): Autoload it.
22981 (Info-follow-nearest-node): Declare.
22982 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
22983
22984 * textmodes/artist.el (picture-mode-exit): Declare.
22985
22986 * textmodes/reftex-parse.el (reftex-parse-from-file):
22987 Trivial rewrite so the compiler can parse it better.
22988
22989 2013-05-20 Leo Liu <sdl.web@gmail.com>
22990
22991 * progmodes/octave.el (octave-help-mode-map)
22992 (octave-help-mode-finish-hook): New variables.
22993 (octave-help-mode, octave-help-mode-finish): New functions.
22994 (octave-help): Use octave-help-mode.
22995
22996 2013-05-20 Glenn Morris <rgm@gnu.org>
22997
22998 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
22999
23000 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
23001
23002 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
23003 start at point, so that expansion starting right after opening
23004 slash in a regexp is recognized.
23005 (ruby-syntax-before-regexp-re): New defvar, extracted from
23006 ruby-syntax-propertize-function. Since the value of this regexp
23007 is looked up at runtime now, we should be able to turn
23008 `ruby-syntax-methods-before-regexp' into a defcustom later.
23009 (ruby-syntax-propertize-function): Split regexp matching into two
23010 parts, for opening and closing slashes. That allows us to skip
23011 over string interpolations and support multiline regexps.
23012 Don't call `ruby-syntax-propertize-expansions', instead use another rule
23013 for them, which calls `ruby-syntax-propertize-expansion'.
23014 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
23015 call to `ruby-syntax-propertize-function'.
23016 (ruby-syntax-propertize-expansion): Extracted from
23017 `ruby-syntax-propertize-expansions'. Handles one expansion.
23018 (ruby-syntax-propertize-percent-literal): Leave point right after
23019 the percent symbol, so that the expression expansion rule can
23020 propertize the contents.
23021 (ruby-syntax-propertize-heredoc): Leave point at bol following the
23022 heredoc openers.
23023 (ruby-syntax-propertize-expansions): Remove.
23024
23025 2013-05-18 Juri Linkov <juri@jurta.org>
23026
23027 * man.el (Man-default-man-entry): Remove `-' from the end
23028 of the default value. (Bug#14400)
23029
23030 2013-05-18 Glenn Morris <rgm@gnu.org>
23031
23032 * comint.el (comint-password-prompt-regexp):
23033 Allow "password for XXX" where XXX contains colons (eg https://...).
23034
23035 2013-05-18 Leo Liu <sdl.web@gmail.com>
23036
23037 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
23038 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
23039 (octave-source-directories): Don't check process.
23040 (octave-source-directories, octave-find-definition): Doc fix.
23041
23042 2013-05-18 Glenn Morris <rgm@gnu.org>
23043
23044 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
23045 Remove backspace/delete bindings. (Bug#14392)
23046
23047 * cus-dep.el (custom-make-dependencies): Sort the output.
23048 (custom-versions-load-alist): Convert comment to doc.
23049
23050 2013-05-17 Leo Liu <sdl.web@gmail.com>
23051
23052 * newcomment.el (comment-search-backward): Stricter in finding
23053 comment start. (Bug#14303)
23054
23055 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
23056 (octave-comment-start-skip): Properly anchored.
23057
23058 2013-05-17 Leo Liu <sdl.web@gmail.com>
23059
23060 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
23061 Clean up when turned off. (Bug#14395)
23062 (smie--highlight-matching-block-overlay): No longer buffer-local.
23063 (smie-highlight-matching-block): Adjust.
23064
23065 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
23066
23067 Doc string fix for "nanoseconds" (Bug#14406).
23068 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
23069 Fix doc string typo that had "nanoseconds" instead of "microseconds".
23070
23071 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
23072
23073 * calc/calc-units.el (math-extract-units): Preserve powers
23074 of units.
23075
23076 2013-05-17 Leo Liu <sdl.web@gmail.com>
23077
23078 * subr.el (delete-consecutive-dups): New function.
23079 * ido.el (ido-set-matches-1): Use it.
23080 * progmodes/octave.el (inferior-octave-completion-table): Use it.
23081 * ido.el (ido-remove-consecutive-dups): Remove.
23082
23083 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
23084
23085 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
23086 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
23087 regexp-opt's `words'.
23088
23089 2013-05-16 Leo Liu <sdl.web@gmail.com>
23090
23091 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
23092 (smie--highlight-matching-block-overlay)
23093 (smie--highlight-matching-block-lastpos)
23094 (smie--highlight-matching-block-timer): New variables.
23095 (smie-highlight-matching-block): New function.
23096 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
23097 (smie-setup): Conditionally enable smie-blink-matching-open.
23098
23099 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
23100
23101 Sync with upstream verilog-mode r840.
23102 * progmodes/verilog-mode.el (verilog-mode-version)
23103 (verilog-mode-release-date): Update.
23104 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
23105 (verilog-sig-tieoff): Fix string error on
23106 AUTORESET with colon define, bug594. Reported by Andrew Hou.
23107 (verilog-read-decls): Fix parameters confusing
23108 AUTOINST interfaces, bug565. Reported by Leith Johnson.
23109
23110 2013-05-16 Eli Zaretskii <eliz@gnu.org>
23111
23112 * subr.el (reveal-filename): New function.
23113
23114 * loadup.el: Compute Emacs executable versions on MS-Windows,
23115 where executables have the .exe extension. Add a hard link
23116 emacs-XX.YY.ZZ.exe on MS-Windows.
23117
23118 * Makefile.in (XARGS_LIMIT): New variable.
23119 (custom-deps, finder-data, autoloads)
23120 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
23121 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
23122 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
23123 (compile-main): Limit xargs according to $(XARGS_LIMIT).
23124
23125 2013-05-16 Leo Liu <sdl.web@gmail.com>
23126
23127 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
23128 (octave-mode-menu, octave-mode-map): Remove its uses.
23129
23130 2013-05-16 Reto Zimmermann <reto@gnu.org>
23131
23132 Sync with upstream vhdl mode v3.34.2.
23133 * progmodes/vhdl-mode.el: Use `push' throughout.
23134 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
23135 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
23136 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
23137 (vhdl-actual-generic-name): New option to derive actual generic name.
23138 (vhdl-port-paste-signals): Replace formal by actual generics.
23139 (vhdl-beautify): New name for old group vhdl-align. Update users.
23140 (vhdl-beautify-options): New option.
23141 (vhdl-last-input-event): New compat alias. Use throughout.
23142 (vhdl-goto-line): Replace user level function `goto-line'.
23143 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
23144 vhdl-fix-statement-buffer.
23145 (vhdl-create-mode-menu): Add some entries.
23146 (vhdl-align-region-groups): Respect vhdl-beautify-options.
23147 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
23148 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
23149 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
23150 to force statements on one line.
23151 (vhdl-remove-trailing-spaces-region):
23152 New, split from vhdl-remove-trailing-spaces.
23153 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
23154 Respect vhdl-beautify-options.
23155 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
23156 (vhdl-update-sensitivity-list): Not add with index if exists without.
23157 Not include array index with signal. Ignore keywords in comments.
23158 (vhdl-get-visible-signals): Regexp tweaks.
23159 (vhdl-template-component-inst): Handle empty library.
23160 (vhdl-template-type): Add template for 'enum' type.
23161 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
23162 Use vhdl-replace-string.
23163 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
23164 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
23165 (vhdl-speedbar-initialize): Update for above name change.
23166 (vhdl-compose-wire-components): Fix in handling of constants.
23167 (vhdl-error-regexp-emacs-alist): New variable.
23168 (vhdl-error-regexp-add-emacs): New function;
23169 adds support for new compile.el (Emacs 22+)
23170 (vhdl-generate-makefile-1): Change target order for single lib. units.
23171 Allow use of absolute file names.
23172
23173 2013-05-16 Leo Liu <sdl.web@gmail.com>
23174
23175 * simple.el (prog-indent-sexp): Indent enclosing defun.
23176
23177 2013-05-15 Glenn Morris <rgm@gnu.org>
23178
23179 * cus-start.el (show-trailing-whitespace): Move to editing basics.
23180 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
23181 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
23182 (whitespace-highlight): Move to whitespace group.
23183
23184 * comint.el (comint-source):
23185 * pcmpl-linux.el (pcmpl-linux):
23186 * shell.el (shell-faces):
23187 * eshell/esh-opt.el (eshell-opt):
23188 * international/ccl.el (ccl): Remove empty custom groups.
23189
23190 * completion.el (dynamic-completion-mode):
23191 * jit-lock.el (jit-lock-debug-mode):
23192 * minibuffer.el (completion-in-region-mode):
23193 * type-break.el (type-break-mode-line-message-mode)
23194 (type-break-query-mode):
23195 * emulation/tpu-edt.el (tpu-edt-mode):
23196 * progmodes/subword.el (global-subword-mode, global-superword-mode):
23197 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
23198 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
23199
23200 * term/xterm.el (xterm): Change parent group to terminals.
23201
23202 * master.el (master): Remove empty custom group.
23203 (master-mode): Remove unused :group argument.
23204 * textmodes/refill.el (refill): Remove empty custom group.
23205 (refill-mode): Remove unused :group argument.
23206
23207 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
23208
23209 * cus-dep.el: Provide a feature.
23210 (custom-make-dependencies): Ignore dotfiles (dir-locals).
23211 Don't mistakenly ignore files whose basenames match a basename
23212 from preloaded-file-list (eg cedet/ede/simple.el).
23213 Add a fallback method for getting :group.
23214
23215 2013-05-15 Juri Linkov <juri@jurta.org>
23216
23217 * isearch.el (isearch-char-by-name): Rename from
23218 `isearch-insert-char-by-name'. Doc fix.
23219 (isearch-forward): Mention `isearch-char-by-name' in
23220 the docstring. (Bug#13348)
23221
23222 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
23223 `exit-minibuffer' instead of
23224 `isearch-nonincremental-exit-minibuffer'.
23225 (isearch-edit-string): Remove mention of
23226 `isearch-nonincremental-exit-minibuffer' from docstring.
23227 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
23228 (isearch-forward-exit-minibuffer)
23229 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
23230
23231 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
23232
23233 * loadup.el: Just use unversioned DOC.
23234
23235 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
23236 literals as extending to EOB.
23237 (nxml-last-fontify-end): Remove unused variable.
23238 (nxml-after-change1): Use with-silent-modifications.
23239 (nxml-extend-after-change-region): Simplify.
23240 (nxml-extend-after-change-region1): Remove function.
23241 (nxml-after-change1): Don't adjust for dependent regions.
23242 (nxml-fontify-matcher): Simplify.
23243 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
23244 (xmltok-add-dependent): Remove function.
23245 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
23246 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
23247 (xmltok-scan-prolog-after-processing-instruction-open): Treat
23248 unclosed <[[, <?, comment, and other literals as extending to EOB.
23249 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
23250 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
23251 Remove functions.
23252 (rng-do-some-validation-1): Don't mark dependent regions.
23253 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
23254 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
23255 (nxml-clear-dependent-regions): Remove functions.
23256 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
23257 (nxml-ensure-scan-up-to-date):
23258 Don't clear&mark dependent regions.
23259
23260 2013-05-15 Leo Liu <sdl.web@gmail.com>
23261
23262 * progmodes/octave.el (octave-goto-function-definition):
23263 Improve and fix callers.
23264
23265 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
23266
23267 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
23268 the setter (bug#14387).
23269
23270 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
23271 surrounding group (bug#14402).
23272
23273 2013-05-14 Juri Linkov <juri@jurta.org>
23274
23275 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
23276 (Bug#14390)
23277
23278 2013-05-14 Glenn Morris <rgm@gnu.org>
23279
23280 * progmodes/f90.el (f90-imenu-generic-expression):
23281 Fix typo in 2013-05-08 change. (Bug#14402)
23282
23283 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
23284
23285 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
23286 Remove signals for which replies are never received.
23287
23288 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
23289
23290 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
23291 (gdb-handler-alist, gdb-handler-number): Remove variables.
23292 (gdb-handler-list): New variable.
23293 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
23294 (gdb-pending-handler-p, gdb-handle-reply)
23295 (gdb-remove-all-pending-triggers): New functions.
23296 (gdb-discard-unordered-replies): New defcustom.
23297 (gdb-handler): New defstruct.
23298 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
23299 instead of gdb-pending-triggers. Update docstring.
23300 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
23301 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
23302 (gdb-var-update-handler, def-gdb-auto-update-trigger)
23303 (def-gdb-auto-update-handler, gdb-get-changed-registers)
23304 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
23305 (gdb-frame-handler): Pending triggers are now automatically managed.
23306 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
23307 Remove argument.
23308 (gdb-input): Automatically handles pending triggers. Update docstring.
23309 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
23310 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
23311 Update comments.
23312 (gdb-done-or-error): Now use gdb-handle-reply.
23313
23314 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
23315
23316 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
23317 gdb-debug-log.
23318
23319 2013-05-14 Glenn Morris <rgm@gnu.org>
23320
23321 * subr.el (user-emacs-directory-warning): New option.
23322 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
23323
23324 2013-05-14 Leo Liu <sdl.web@gmail.com>
23325
23326 * progmodes/octave.el (octave-font-lock-keywords): Fix error
23327 during redisplay.
23328 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
23329 (octave-font-lock-texinfo-comment): Fix invalid search bound
23330 error: wrong side of point.
23331
23332 2013-05-14 Glenn Morris <rgm@gnu.org>
23333
23334 * progmodes/flymake.el (flymake-xml-program): New option.
23335 (flymake-xml-init): Use it.
23336
23337 * term/xterm.el: Provide a feature.
23338
23339 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
23340
23341 2013-05-13 Glenn Morris <rgm@gnu.org>
23342
23343 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
23344 Add compat aliases as a hack workaround. (Bug#14384)
23345
23346 2013-05-13 Leo Liu <sdl.web@gmail.com>
23347
23348 * progmodes/octave.el (octave-indent-comment): Fix indentation for
23349 ###, and %!.
23350 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
23351 C-M-q.
23352 (octave-comment-start-skip): Include %!.
23353 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
23354
23355 2013-05-12 Leo Liu <sdl.web@gmail.com>
23356
23357 * progmodes/octave.el (inferior-octave-startup): Store the value
23358 of __octave_srcdir__ for octave-source-directories.
23359 (inferior-octave-check-process): New function refactored out of
23360 inferior-octave-send-list-and-digest.
23361 (octave-source-directories)
23362 (octave-find-definition-filename-function): New variables.
23363 (octave-source-directories)
23364 (octave-find-definition-default-filename): New functions.
23365 (octave-find-definition): Improve to find functions implemented in C++.
23366
23367 2013-05-12 Glenn Morris <rgm@gnu.org>
23368
23369 * calendar/diary-lib.el (diary-outlook-format-1):
23370 Don't include dayname in the output. (Bug#14349)
23371
23372 2013-05-11 Glenn Morris <rgm@gnu.org>
23373
23374 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
23375
23376 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
23377 Treat cc-provide like provide.
23378
23379 2013-05-11 Kevin Ryde <user42@zip.com.au>
23380
23381 * cus-dep.el (custom-make-dependencies):
23382 Use generated-autoload-load-name for the sake of files such
23383 such cedet/semantic/bovine/c.el, where the base file name
23384 is not in load-path. (Bug#5277)
23385
23386 2013-05-11 Glenn Morris <rgm@gnu.org>
23387
23388 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
23389 Provide features.
23390
23391 2013-05-11 Leo Liu <sdl.web@gmail.com>
23392
23393 * progmodes/octave.el (octave-indent-comment): Improve.
23394 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
23395 (octave-eldoc-function-signatures, octave-eldoc-function):
23396 New functions.
23397 (octave-mode, inferior-octave-mode): Add eldoc support.
23398
23399 2013-05-11 Richard Stallman <rms@gnu.org>
23400
23401 * epa.el (epa-decrypt-file): Take output file name as argument
23402 and read it using `interactive'.
23403
23404 2013-05-11 Leo Liu <sdl.web@gmail.com>
23405
23406 * progmodes/octave.el (octave-beginning-of-line)
23407 (octave-end-of-line): Check before using up-list because it jumps
23408 out of more syntactic contructs since moving to smie.
23409 (octave-indent-comment): New function.
23410 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
23411 (octave-begin-keywords, octave-end-keywords)
23412 (octave-reserved-words, octave-smie-bnf-table)
23413 (octave-smie-rules): Add new keywords from Octave 3.6.4.
23414
23415 2013-05-11 Glenn Morris <rgm@gnu.org>
23416
23417 * faces.el (internal-face-x-get-resource):
23418 * frame.el (ns-display-monitor-attributes-list):
23419 * calc/calc-aent.el (math-to-radians-2):
23420 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
23421 Fix declarations.
23422
23423 * calc/calc-menu.el: Make it loadable in isolation.
23424
23425 * net/eudcb-bbdb.el: Make it loadable without bbdb.
23426 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
23427 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
23428 (eudc-bbdb-query-internal): Require 'bbdb.
23429
23430 * lpr.el (lpr-headers-switches):
23431 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
23432
23433 * progmodes/sql.el (sql-login-params): Fix and improve :type.
23434
23435 * emulation/edt-mapper.el: In batch mode, error rather than hang.
23436
23437 * term.el (term-set-escape-char): Make it idempotent.
23438
23439 2013-05-10 Leo Liu <sdl.web@gmail.com>
23440
23441 * progmodes/octave.el (inferior-octave-completion-table):
23442 No longer a function and all uses changed. Use cache to speed up
23443 completion due to bug#11906.
23444 (octave-beginning-of-defun): Re-write to be more general.
23445
23446 2013-05-10 Glenn Morris <rgm@gnu.org>
23447
23448 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
23449
23450 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
23451
23452 * comint.el (comint-redirect-send-command-to-process): Use :around
23453 rather than :override for comint-redirect-filter.
23454 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
23455 Call it instead of comint-redirect-original-filter-function (which
23456 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
23457
23458 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
23459
23460 * frame.el (display-monitor-attributes-list): Add NS case.
23461 (ns-display-monitor-attributes-list): Declare.
23462
23463 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
23464
23465 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
23466
23467 2013-05-09 Glenn Morris <rgm@gnu.org>
23468
23469 * international/fontset.el (vertical-centering-font-regexp):
23470 Set standard-value.
23471
23472 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
23473
23474 * bookmark.el (bookmark-search-delay):
23475 * cus-start.el (vertical-centering-font-regexp):
23476 * ps-mule.el (ps-mule-font-info-database-default):
23477 * ps-print.el (ps-default-fg, ps-default-bg):
23478 * type-break.el (type-break-good-break-interval):
23479 * whitespace.el (whitespace-indentation-regexp)
23480 (whitespace-space-after-tab-regexp):
23481 * emacs-lisp/testcover.el (testcover-1value-functions)
23482 (testcover-noreturn-functions, testcover-progn-functions)
23483 (testcover-prog1-functions):
23484 * emulation/viper-init.el (viper-emacs-state-cursor-color):
23485 * eshell/em-glob.el (eshell-glob-translate-alist):
23486 * play/tetris.el (tetris-tty-colors):
23487 * progmodes/cpp.el (cpp-face-default-list):
23488 * progmodes/flymake.el (flymake-allowed-file-name-masks):
23489 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
23490 (idlwave-help-browser-generic-args):
23491 * progmodes/make-mode.el (makefile-special-targets-list):
23492 * progmodes/python.el (python-shell-virtualenv-path):
23493 * progmodes/verilog-mode.el (verilog-active-low-regexp)
23494 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
23495 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
23496 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
23497 * textmodes/reftex-vars.el (reftex-format-label-function):
23498 * textmodes/remember.el (remember-diary-file): Fix custom types.
23499
23500 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
23501 Add :version.
23502
23503 2013-05-09 Leo Liu <sdl.web@gmail.com>
23504
23505 * progmodes/octave.el (inferior-octave-completion-at-point):
23506 Restore file completion. (Bug#14300)
23507 (inferior-octave-startup): Fix incorrect highlighting for the
23508 first prompt.
23509
23510 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
23511
23512 * progmodes/ruby-mode.el: First cut at SMIE support.
23513 (ruby-use-smie): New var.
23514 (ruby-smie-grammar): New constant.
23515 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
23516 (ruby-smie--forward-token, ruby-smie--backward-token)
23517 (ruby-smie-rules): New functions.
23518 (ruby-mode-variables): Setup SMIE if applicable.
23519
23520 2013-05-08 Eli Zaretskii <eliz@gnu.org>
23521
23522 * simple.el (line-move-visual): Signal beginning/end of buffer
23523 only if vertical-motion moved less than it was requested. Avoids
23524 silly incorrect error messages when there are display strings with
23525 multiple newlines at EOL.
23526
23527 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
23528
23529 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
23530 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
23531 (prolog-char-quote-workaround):
23532 * progmodes/cperl-mode.el (cperl-under-as-char):
23533 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
23534 Mark as obsolete.
23535 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
23536 their declaration.
23537 (vhdl-mode-syntax-table-init): Remove.
23538
23539 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
23540 last change.
23541
23542 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
23543 syntax for "_".
23544 (ld-script-font-lock-keywords):
23545 Change regexps to use things like \_< and \_>.
23546
23547 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
23548 Change all regexps to use things like \_< and \_>.
23549
23550 * progmodes/autoconf.el (autoconf-definition-regexp)
23551 (autoconf-font-lock-keywords, autoconf-current-defun-function):
23552 Handle a _ with symbol syntax.
23553 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
23554
23555 * progmodes/ada-mode.el (ada-mode-abbrev-table):
23556 Consolidate declaration.
23557 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
23558 the declaration.
23559 (ada-create-syntax-table): Remove.
23560 (ada-capitalize-word): Don't mess with the syntax of "_" since it
23561 already has the right syntax nowadays.
23562 (ada-goto-next-word): Don't change the syntax of "_".
23563
23564 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
23565 with-wrapper-hook.
23566
23567 2013-05-08 Sam Steingold <sds@gnu.org>
23568
23569 * thingatpt.el (thing-at-point): Accept optional second argument
23570 NO-PROPERTIES to strip the text properties from the return value.
23571 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
23572 to `thing-at-point' instead of stripping the properties ourselves.
23573 Also, when `thing-at-point' fails to find a url, prepend "http://"
23574 to the filename at point on the assumption that the user is
23575 pointing at something like gnu.org/gnu.
23576
23577 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
23578
23579 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
23580 * faces.el (crm-separator):
23581 Silence byte-compiler.
23582
23583 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
23584 (tool-bar-map): Remove unneeded defvars.
23585
23586 2013-05-08 Leo Liu <sdl.web@gmail.com>
23587
23588 Re-work a fix for bug#10994 based on Le Wang's patch.
23589 * ido.el (ido-remove-consecutive-dups): New helper.
23590 (ido-completing-read): Use it.
23591 (ido-chop): Revert fix for bug#10994.
23592
23593 2013-05-08 Adam Spiers <emacs@adamspiers.org>
23594
23595 * cus-edit.el (custom-save-variables):
23596 Pretty-print long values. (Bug#14187)
23597
23598 2013-05-08 Glenn Morris <rgm@gnu.org>
23599
23600 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
23601 (m4-mode-syntax-table): Init in the defvar.
23602 (m4-mode-abbrev-table): Let define-derived-mode define it.
23603
23604 2013-05-08 Tom Tromey <tromey@redhat.com>
23605
23606 * progmodes/m4-mode.el (m4-mode-syntax-table):
23607 Do not treat "_" as word constituent. (Bug#14167)
23608
23609 2013-05-07 Glenn Morris <rgm@gnu.org>
23610
23611 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
23612 Remove explicit eshell-isearch-cancel-map.
23613
23614 * progmodes/f90.el (f90-smart-end-names): New option.
23615 (f90-smart-end): Doc fix.
23616 (f90-end-block-optional-name): New constant.
23617 (f90-block-match): Respect f90-smart-end-names.
23618
23619 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
23620
23621 * progmodes/octave.el (octave-smie-forward-token): Be more careful
23622 about implicit semi-colons (bug#14218).
23623
23624 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
23625
23626 * frame.el (display-monitor-attributes-list)
23627 (frame-monitor-attributes): New functions.
23628
23629 2013-05-06 Leo Liu <sdl.web@gmail.com>
23630
23631 * progmodes/octave.el (octave-syntax-propertize-function): Change
23632 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
23633 (octave-font-lock-keywords): Use octave-operator-regexp.
23634 (octave-completion-at-point): Rename from
23635 octave-completion-at-point-function.
23636 (inferior-octave-directory-tracker): Robustify.
23637 (octave-text-functions): Remove and fix its uses. No such things
23638 any more.
23639
23640 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
23641
23642 * emacs-lisp/trace.el (trace--display-buffer): New function.
23643 (trace-make-advice): Use it.
23644
23645 2013-05-06 Juri Linkov <juri@jurta.org>
23646
23647 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
23648 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
23649 Doc fix.
23650 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
23651 in the help string. (Bug#12985)
23652
23653 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
23654
23655 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
23656
23657 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
23658
23659 * progmodes/perl-mode.el: Add support for here documents.
23660 (perl-syntax-propertize-function): Match here-doc markers.
23661 (perl-syntax-propertize-special-constructs): Find their end.
23662 (perl-imenu-generic-expression): Use [:alnum:].
23663
23664 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
23665 (advice--add-function): Refresh the advice if already present
23666 (bug#14317).
23667
23668 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
23669
23670 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
23671
23672 2013-05-06 Glenn Morris <rgm@gnu.org>
23673
23674 * w32-fns.el (w32-charset-info-alist): Declare.
23675
23676 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
23677 of its defcustom properties.
23678 (eshell-cmpl-initialize): No need to load pcomplete.
23679
23680 * generic-x.el: No need to require comint when compiling.
23681
23682 * net/eudc-export.el: Make it loadable without bbdb.
23683 (top-level): Use require rather than load-library.
23684 (eudc-create-bbdb-record, eudc-bbdbify-phone)
23685 (eudc-batch-export-records-to-bbdb)
23686 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
23687 Require bbdb.
23688
23689 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
23690
23691 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
23692 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
23693 some tweaks, instead.
23694
23695 2013-05-05 Leo Liu <sdl.web@gmail.com>
23696
23697 * progmodes/octave.el (octave-font-lock-keywords)
23698 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
23699 (inferior-octave-send-list-and-digest): Improve error message.
23700 (octave-mode, inferior-octave-mode): Use setq-local.
23701 (octave-help): Set info-lookup-mode.
23702
23703 2013-05-05 Richard Stallman <rms@gnu.org>
23704
23705 * vc/compare-w.el (compare-windows-whitespace):
23706 Treat no-break space as whitespace.
23707
23708 * mail/rmailsum.el (rmail-summary-rmail-update):
23709 Detect empty summary and don't change selected message.
23710 (rmail-summary-goto-msg): Likewise.
23711
23712 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
23713 Doc fixes, rename args.
23714
23715 2013-05-05 Alan Mackenzie <acm@muc.de>
23716
23717 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
23718
23719 2013-05-05 Juri Linkov <juri@jurta.org>
23720
23721 * info.el (Info-read-subfile): Use (point-min) instead of (point)
23722 to not add the length of the summary segment to the return value.
23723 (Bug#14125)
23724
23725 2013-05-05 Leo Liu <sdl.web@gmail.com>
23726
23727 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
23728 (inferior-octave-output-filter): Remove.
23729 (octave-send-region, inferior-octave-startup): Fix callers.
23730 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
23731 (octave-binary-file-extensions): New user variable.
23732 (octave-find-definition): Confirm if opening binary files.
23733 (octave-help-file): Use octave-find-definition to get the binary
23734 confirmation.
23735 (octave-help): Adjust for octave-help-file change.
23736
23737 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
23738
23739 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
23740 Merge the two entries that handle function definitions.
23741 (pascal--syntax-propertize): New const.
23742 (pascal-mode): Use it. Use setq-local.
23743
23744 2013-05-04 Glenn Morris <rgm@gnu.org>
23745
23746 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
23747 (diary-from-outlook): Respect diary-from-outlook-function.
23748
23749 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
23750
23751 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
23752 Move the declaration from C.
23753 (read-minibuffer, eval-minibuffer): Move from C.
23754 (completion-setup-function): Avoid minibuffer-completion-contents.
23755
23756 2013-05-03 Leo Liu <sdl.web@gmail.com>
23757
23758 * progmodes/octave.el (octave-font-lock-keywords): Do not
23759 dehighlight 'end' in comments or strings.
23760 (octave-completing-read, octave-goto-function-definition):
23761 New helpers.
23762 (octave-help-buffer): New user variable.
23763 (octave-help-file, octave-help-function): New button types.
23764 (octave-help): New command and bind it to C-h ;.
23765 (octave-find-definition): New command and bind it to M-.
23766 (user-error): Alias to error if not defined.
23767
23768 2013-05-02 Leo Liu <sdl.web@gmail.com>
23769
23770 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
23771 for \. (bug#14332)
23772 (octave-font-lock-keywords): Include [ and {.
23773
23774 2013-05-02 Leo Liu <sdl.web@gmail.com>
23775
23776 * progmodes/octave.el (inferior-octave-startup-file): Change default.
23777 (inferior-octave): Remove calling comint-mode and return the buffer.
23778 (inferior-octave-startup): Cosmetic changes.
23779
23780 2013-05-02 Leo Liu <sdl.web@gmail.com>
23781
23782 * progmodes/octave.el (octave-syntax-propertize-function):
23783 Include the case when ' is at line beginning. (Bug#14336)
23784
23785 2013-05-02 Glenn Morris <rgm@gnu.org>
23786
23787 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
23788 * desktop.el (vc-dir-mode): Just autoload it here.
23789
23790 2013-05-02 Alan Mackenzie <acm@muc.de>
23791
23792 Eliminate variable c-standard-font-lock-fontify-region-function.
23793 * progmodes/cc-mode.el
23794 (c-standard-font-lock-fontify-region-function): Remove.
23795 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
23796
23797 2013-05-01 Leo Liu <sdl.web@gmail.com>
23798
23799 * progmodes/octave.el: Compatible with older emacs-24 releases.
23800 (inferior-octave-has-built-in-variables): Remove. Built-in
23801 variables were removed from Octave in 2007.
23802 (inferior-octave-startup): Fix uses.
23803 (comint-line-beginning-position): Remove compatibility code for
23804 emacs 21.
23805
23806 2013-05-01 Juri Linkov <juri@jurta.org>
23807
23808 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
23809
23810 2013-05-01 Juri Linkov <juri@jurta.org>
23811
23812 * comint.el (comint-previous-matching-input): Don't print message
23813 "History item: %d" when `isearch-mode' is active.
23814 (comint-history-isearch-message): Print message "History item: %d"
23815 when `comint-input-ring-index' is not empty and this function is
23816 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
23817
23818 2013-05-01 Leo Liu <sdl.web@gmail.com>
23819
23820 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
23821 definitions. Use completion-at-point to insert keywords.
23822 (octave-abbrev-start): Remove.
23823 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
23824
23825 2013-04-30 Leo Liu <sdl.web@gmail.com>
23826
23827 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
23828 change.
23829
23830 2013-04-30 Alan Mackenzie <acm@muc.de>
23831
23832 Handle arbitrarily long C++ member initialisation lists.
23833 * progmodes/cc-engine.el (c-back-over-member-initializers):
23834 new function.
23835 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
23836 (most) member init lists.
23837
23838 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
23839
23840 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
23841 variable.
23842
23843 2013-04-30 Leo Liu <sdl.web@gmail.com>
23844
23845 * progmodes/octave.el (octave-variables): Remove. No builtin
23846 variables any more. All converted to functions.
23847 (octave-font-lock-keywords, octave-completion-at-point-function):
23848 Fix uses.
23849 (octave-font-lock-texinfo-comment): New user variable.
23850 (octave-texinfo-font-lock-keywords): New variable for texinfo
23851 comment block.
23852 (octave-function-comment-block): New face.
23853 (octave-font-lock-texinfo-comment): New function.
23854 (octave-mode): Font lock texinfo comment block.
23855
23856 2013-04-29 Leo Liu <sdl.web@gmail.com>
23857
23858 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
23859 indexing expression.
23860 (octave-continuation-string): Do not use \.
23861 (inferior-octave-complete-impossible): Remove.
23862 (inferior-octave-completion-table)
23863 (inferior-octave-completion-at-point): Remove its uses.
23864 (inferior-octave-startup): completion_matches was introduced to
23865 Octave in 1996 so safe to assume it.
23866 (octave-function-file-comment): Improve to follow how Octave does it.
23867 (octave-update-function-file-comment): Tweak.
23868
23869 2013-04-29 Leo Liu <sdl.web@gmail.com>
23870
23871 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
23872 (inferior-octave-startup): Remove inferior-octave-startup-hook.
23873 (octave-function-file-comment): Fix typo.
23874 (octave-sync-function-file-names): Use read-char-choice.
23875
23876 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
23877
23878 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
23879 to t for the less important warnings.
23880
23881 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
23882
23883 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
23884
23885 2013-04-27 Glenn Morris <rgm@gnu.org>
23886
23887 * vc/log-view.el (log-view-current-entry):
23888 Treat "---" separator lines as part of the following rev. (Bug#14169)
23889
23890 2013-04-27 Juri Linkov <juri@jurta.org>
23891
23892 * subr.el (read-number): Doc fix about using it by interactive
23893 code letter `n'. (Bug#14254)
23894
23895 2013-04-27 Juri Linkov <juri@jurta.org>
23896
23897 * desktop.el (desktop-auto-save-timeout): New option.
23898 (desktop-file-checksum): New variable.
23899 (desktop-save): Add optional arg `auto-save' and don't auto-save
23900 if nothing changed.
23901 (desktop-auto-save-timer): New variable.
23902 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
23903 (after-init-hook): Call `desktop-auto-save-set-timer'.
23904 Suggested by Reuben Thomas <rrt@sc3d.org> in
23905 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
23906
23907 2013-04-27 Leo Liu <sdl.web@gmail.com>
23908
23909 * progmodes/octave.el (octave-function-file-p)
23910 (octave-skip-comment-forward, octave-function-file-comment)
23911 (octave-update-function-file-comment): New functions.
23912 (octave-mode-map): Bind C-c ; to
23913 octave-update-function-file-comment.
23914 (octave-mode-menu): Add octave-update-function-file-comment.
23915 (octave-mode, inferior-octave-mode): Fix doc-string.
23916 (octave-insert-defun): Conform to Octave's coding convention.
23917 (Bug#14285)
23918
23919 * files.el (basic-save-buffer): Don't let errors in
23920 before-save-hook prevent saving buffer.
23921
23922 2013-04-20 Roland Winkler <winkler@gnu.org>
23923
23924 * faces.el (read-face-name): Use completing-read if arg multiple
23925 is nil.
23926
23927 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
23928
23929 * ls-lisp.el (ls-lisp-insert-directory): If no files are
23930 displayed, move point to after the totals line.
23931 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
23932 for the details.
23933
23934 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
23935
23936 * emacs-lisp/package.el (package-autoload-ensure-default-file):
23937 Add current dir to the load-path.
23938 (package-generate-autoloads): Don't rely on
23939 autoload-ensure-default-file.
23940
23941 2013-04-26 Reuben Thomas <rrt@sc3d.org>
23942
23943 * textmodes/remember.el (remember-store-in-files): Document that
23944 the file name format is passed to `format-time-string'.
23945
23946 2013-04-26 Leo Liu <sdl.web@gmail.com>
23947
23948 * progmodes/octave.el (octave-sync-function-file-names): New function.
23949 (octave-mode): Use it in before-save-hook.
23950
23951 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
23952
23953 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
23954 (bug#14274).
23955
23956 * progmodes/octave.el (octave-smie-forward-token): Properly skip
23957 \n and comment, even if it's not an implicit ; (bug#14218).
23958
23959 2013-04-26 Glenn Morris <rgm@gnu.org>
23960
23961 * subr.el (read-number): Once more use `read' rather than
23962 `string-to-number', to trap non-numeric input. (Bug#14254)
23963
23964 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
23965
23966 * emacs-lisp/syntax.el (syntax-propertize-multiline):
23967 Use `syntax-multiline' text property consistently instead of
23968 `font-lock-multiline'. (Bug#14237)
23969
23970 2013-04-26 Glenn Morris <rgm@gnu.org>
23971
23972 * emacs-lisp/shadow.el (list-load-path-shadows):
23973 No longer necessary to check for duplicate simple.el, since
23974 2012-07-07 change to init_lread to not include installation lisp
23975 directories in load-path when running uninstalled. (Bug#14270)
23976
23977 2013-04-26 Leo Liu <sdl.web@gmail.com>
23978
23979 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
23980 (octave-mode, inferior-octave-mode): Use setq-local.
23981 (octave-not-in-string-or-comment-p): Rename to
23982 octave-in-string-or-comment-p.
23983 (octave-in-comment-p, octave-in-string-p)
23984 (octave-in-string-or-comment-p): Replace defsubst with defun.
23985
23986 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
23987
23988 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
23989
23990 2013-04-25 Bastien Guerry <bzg@gnu.org>
23991
23992 * textmodes/remember.el (remember-data-directory)
23993 (remember-directory-file-name-format): Fix custom types.
23994
23995 2013-04-25 Leo Liu <sdl.web@gmail.com>
23996
23997 * progmodes/octave.el (octave-completion-at-point-function):
23998 Make use of inferior octave process.
23999 (octave-initialize-completions): Remove.
24000 (inferior-octave-completion-table): New function.
24001 (inferior-octave-completion-at-point): Use it.
24002 (octave-completion-alist): Remove.
24003
24004 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
24005
24006 * progmodes/opascal.el: Use font-lock and syntax-propertize.
24007 (opascal-mode-syntax-table): New var.
24008 (opascal-literal-kind, opascal-is-literal-end)
24009 (opascal-literal-token-at): Rewrite.
24010 (opascal--literal-start-re, opascal-font-lock-keywords)
24011 (opascal--syntax-propertize): New constants.
24012 (opascal-font-lock-defaults): Adjust.
24013 (opascal-mode): Use them. Set comment-<foo> variables as well.
24014 (delphi-comment-face, opascal-comment-face, delphi-string-face)
24015 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
24016 (delphi-other-face, opascal-other-face): Remove face variables.
24017 (opascal-save-state): Remove macro.
24018 (opascal-fontifying-progress-step): Remove constant.
24019 (opascal--ignore-changes): Remove var.
24020 (opascal-set-token-property, opascal-parse-next-literal)
24021 (opascal-is-stable-literal, opascal-complete-literal)
24022 (opascal-is-literal-start, opascal-face-of)
24023 (opascal-parse-region, opascal-parse-region-until-stable)
24024 (opascal-fontify-region, opascal-after-change)
24025 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
24026 (opascal-debug-parse-region, opascal-debug-parse-window)
24027 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
24028 (opascal-debug-fontify-buffer): Remove.
24029 (opascal-debug-mode-map): Adjust accordingly.
24030
24031 2013-04-25 Leo Liu <sdl.web@gmail.com>
24032
24033 Merge octave-mod.el and octave-inf.el into octave.el with some
24034 cleanups.
24035 * progmodes/octave.el: New file renamed from octave-mod.el.
24036 * progmodes/octave-inf.el: Merged into octave.el.
24037 * progmodes/octave-mod.el: Renamed to octave.el.
24038
24039 2013-04-25 Tassilo Horn <tsdh@gnu.org>
24040
24041 * textmodes/reftex-vars.el
24042 (reftex-label-ignored-macros-and-environments): New defcustom.
24043
24044 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
24045
24046 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
24047
24048 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
24049 (smie-indent-keyword): Improve the check to ensure that the next
24050 comment is really on the same line.
24051 (smie-indent-comment): Don't align with a subsequent closer (or eob).
24052
24053 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
24054 semi-colons if the line is not otherwise empty (bug#14218).
24055
24056 2013-04-25 Glenn Morris <rgm@gnu.org>
24057
24058 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
24059
24060 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
24061
24062 * progmodes/opascal.el (opascal-set-token-property): Rename from
24063 opascal-set-text-properties and only set `token' (bug#14134).
24064 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
24065 (opascal-literal-text-properties): Remove.
24066 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
24067 Adjust callers.
24068
24069 2013-04-24 Reuben Thomas <rrt@sc3d.org>
24070
24071 * textmodes/remember.el (remember-handler-functions): Add an
24072 option for a new handler `remember-store-in-files'.
24073 (remember-data-directory, remember-directory-file-name-format):
24074 New options.
24075 (remember-store-in-files): New function to store remember notes
24076 as separate files within a directory.
24077
24078 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
24079
24080 * progmodes/compile.el (compilation-next-error-function):
24081 Pass "formats" to compilation-find-file (bug#11777).
24082
24083 2013-04-24 Glenn Morris <rgm@gnu.org>
24084
24085 * vc/vc-bzr.el (vc-bzr-print-log):
24086 * vc/vc-hg.el (vc-hg-print-log):
24087 * vc/vc-svn.el (vc-svn-print-log):
24088 Fix START-REVISION with LIMIT != 1. (Bug#14168)
24089
24090 * vc/vc-bzr.el (vc-bzr-print-log):
24091 * vc/vc-cvs.el (vc-cvs-print-log):
24092 * vc/vc-git.el (vc-git-print-log):
24093 * vc/vc-hg.el (vc-hg-print-log):
24094 * vc/vc-mtn.el (vc-mtn-print-log):
24095 * vc/vc-rcs.el (vc-rcs-print-log):
24096 * vc/vc-sccs.el (vc-sccs-print-log):
24097 * vc/vc-svn.el (vc-svn-print-log):
24098 * vc/vc.el (vc-print-log-internal): Doc fixes.
24099
24100 2013-04-23 Glenn Morris <rgm@gnu.org>
24101
24102 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
24103 Remove venerable code attempting to avoid substitute-command-keys.
24104
24105 2013-04-23 Tassilo Horn <tsdh@gnu.org>
24106
24107 * textmodes/reftex-vars.el (reftex-label-regexps):
24108 Call `reftex-compile-variables' after changes to this variable.
24109
24110 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
24111
24112 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
24113 Use lexical-binding.
24114 (jit-lock-force-redisplay): Use markers, check buffer's continued
24115 existence and beware narrowed buffers.
24116 (jit-lock-fontify-now): Adjust call accordingly.
24117
24118 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
24119
24120 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
24121 to avoid misleading the user.
24122
24123 2013-04-22 Leo Liu <sdl.web@gmail.com>
24124
24125 * info-look.el: Prefer latex2e.info. (Bug#14240)
24126
24127 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
24128
24129 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
24130
24131 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
24132 * net/tramp.el (tramp-call-process): ... here.
24133 (tramp-set-completion-function, tramp-parse-putty):
24134 * net/tramp-adb.el (tramp-adb-execute-adb-command):
24135 * net/tramp-gvfs.el (tramp-gvfs-send-command):
24136 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
24137 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
24138 (tramp-call-local-coding-command): Use `tramp-call-process'
24139 instead of `tramp-compat-call-process'.
24140
24141 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
24142 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
24143 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
24144 (tramp-find-inline-compress): Improve traces.
24145 (tramp-maybe-send-script): Check for Perl binary.
24146 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
24147
24148 2013-04-22 Daiki Ueno <ueno@gnu.org>
24149
24150 * epg.el (epg-context-pinentry-mode): New function.
24151 (epg-context-set-pinentry-mode): New function.
24152 (epg--start): Pass --pinentry-mode option to gpg command.
24153
24154 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
24155
24156 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
24157 `comint-dynamic-complete' is obsolete since 24.1, replaced by
24158 `completion-at-point'. (Bug#13774)
24159
24160 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
24161 default key binding for `describe-distribution' has been moved to
24162 `C-h C-o'. (Bug#13970)
24163
24164 2013-04-21 Glenn Morris <rgm@gnu.org>
24165
24166 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
24167 Add doc strings.
24168 (vc-print-log): Clarify interactive prompt.
24169
24170 2013-04-20 Glenn Morris <rgm@gnu.org>
24171
24172 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
24173 No longer include timestamp etc information.
24174
24175 2013-04-20 Roland Winkler <winkler@gnu.org>
24176
24177 * faces.el (read-face-name): Bug fix, return just one face if arg
24178 multiple is nil. (Bug#14209)
24179
24180 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
24181
24182 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
24183 (remove-function): Autoload.
24184
24185 * comint.el (comint-redirect-original-filter-function): Remove.
24186 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
24187 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
24188 (vc-cvs-annotate-command):
24189 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
24190 * progmodes/prolog.el (prolog-consult-compile):
24191 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
24192 Use add/remove-function instead.
24193 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
24194 (gud-tooltip-process-output, gud-tooltip-tips):
24195 Use add/remove-function instead.
24196 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
24197 (scheme-interaction-mode, exit-scheme-interaction-mode):
24198 Use add/remove-function instead.
24199
24200 * vc/vc-dispatcher.el: Use lexical-binding.
24201 (vc--process-sentinel): Rename from vc-process-sentinel.
24202 Change last arg to be the code to run. Don't use vc-previous-sentinel
24203 and vc-sentinel-commands any more.
24204 (vc-exec-after): Allow code to be a function. Use add/remove-function.
24205 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
24206
24207 2013-04-19 Masatake YAMATO <yamato@redhat.com>
24208
24209 * progmodes/sh-script.el (sh-imenu-generic-expression):
24210 Handle function names with a single character. (Bug#14111)
24211
24212 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
24213
24214 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
24215 for subroutines defined in an eval (bug#14182).
24216
24217 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
24218
24219 * bookmark.el (bookmark-completing-read): Improve handling of empty
24220 string (bug#14176).
24221
24222 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
24223
24224 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
24225
24226 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
24227
24228 New faster Imenu implementation (bug#14058).
24229 * progmodes/python.el (python-imenu-prev-index-position)
24230 (python-imenu-format-item-label-function)
24231 (python-imenu-format-parent-item-label-function)
24232 (python-imenu-format-parent-item-jump-label-function):
24233 New vars.
24234 (python-imenu-format-item-label)
24235 (python-imenu-format-parent-item-label)
24236 (python-imenu-format-parent-item-jump-label)
24237 (python-imenu--put-parent, python-imenu--build-tree)
24238 (python-imenu-create-index, python-imenu-create-flat-index)
24239 (python-util-popn): New functions.
24240 (python-mode): Set imenu-create-index-function to
24241 python-imenu-create-index.
24242
24243 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
24244
24245 * winner.el (winner-active-region): Use region-active-p, activate-mark
24246 and deactivate-mark (bug#14225).
24247
24248 * simple.el (deactivate-mark): Don't inline it.
24249
24250 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
24251
24252 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
24253
24254 2013-04-18 Tassilo Horn <tsdh@gnu.org>
24255
24256 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
24257 file extensions from the archive-mode entry in order to prefer
24258 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
24259
24260 2013-04-18 Leo Liu <sdl.web@gmail.com>
24261
24262 * bindings.el (help-event-list): Add ?\?.
24263
24264 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
24265
24266 * subr.el (with-wrapper-hook): Declare obsolete.
24267 * simple.el (filter-buffer-substring-function): New hook.
24268 (filter-buffer-substring): Use it.
24269 (filter-buffer-substring-functions): Mark obsolete.
24270 * minibuffer.el (completion-in-region-function): New hook.
24271 (completion-in-region): Use it.
24272 (completion-in-region-functions): Mark obsolete.
24273 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
24274 * abbrev.el (abbrev-expand-function): New hook.
24275 (expand-abbrev): Use it.
24276 (abbrev-expand-functions): Mark obsolete.
24277 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
24278 and :filter-return.
24279
24280 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
24281
24282 * progmodes/python.el (python-nav--syntactically): Fix cornercases
24283 and do not care about match data.
24284
24285 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
24286
24287 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
24288 completion tables when completing error conditions and
24289 `declare' arguments.
24290 (lisp-complete-symbol, field-complete): Mark as obsolete.
24291 (check-parens): Unmatched parens are user errors.
24292 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
24293
24294 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
24295
24296 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
24297 command changed buffer (ie. `flyspell-pre-buffer' is not current
24298 buffer), which prevents making decisions based on invalid value of
24299 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
24300 cause an error when `flyspell-pre-point' was nil after switching
24301 buffers.
24302 (flyspell-post-command-hook): No longer needs to change buffers when
24303 checking pre-word. While at it remove unnecessary progn.
24304
24305 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
24306
24307 * textmodes/ispell.el (ispell-add-per-file-word-list):
24308 Fix `flyspell-correct-word-before-point' error when accepting
24309 words and `coment-padding' is an integer by using
24310 `comment-normalize-vars' (Bug #14214).
24311
24312 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
24313
24314 New defun movement commands.
24315 * progmodes/python.el (python-nav--syntactically)
24316 (python-nav--forward-defun, python-nav-backward-defun)
24317 (python-nav-forward-defun): New functions.
24318
24319 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
24320
24321 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
24322 (python-syntax-context): Use named compiler-macro for backwards
24323 compatibility with Emacs 24.x.
24324
24325 2013-04-17 Leo Liu <sdl.web@gmail.com>
24326
24327 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
24328 octave-hide-process-buffer.
24329
24330 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
24331
24332 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
24333 (bug#14216).
24334
24335 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
24336
24337 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
24338 Fix adjustment of offset when receiving incomplete responses from GDB
24339 (bug#14129).
24340
24341 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
24342
24343 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
24344 python-mode-abbrev-table.
24345 (python-skeleton-define): Adjust accordingly.
24346 (python-mode-abbrev-table): New table that inherits from it so that
24347 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
24348
24349 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
24350 (abbrev-symbol): Use it.
24351 (abbrev--before-point): Use it since we already handle inheritance.
24352
24353 2013-04-16 Leo Liu <sdl.web@gmail.com>
24354
24355 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
24356 binding to info-lookup-symbol.
24357
24358 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
24359
24360 * minibuffer.el (completion--twq-all):
24361 * term/ns-win.el (ns-initialize-window-system):
24362 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
24363
24364 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
24365
24366 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
24367 global bindings.
24368
24369 * doc-view.el (doc-view-start-process): Handle url-handler directories.
24370
24371 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
24372
24373 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
24374 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
24375 to nil.
24376 (ruby-end-of-defun): Remove the unused arg, change the docstring
24377 to reflect that this function is only used as the value of
24378 `end-of-defun-function'.
24379 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
24380 to reflect an earlier change that beginning/end-of-defun functions
24381 jump between methods in a class definition, as well as top-level
24382 functions.
24383
24384 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
24385
24386 * minibuffer.el (minibuffer-complete): Don't just scroll
24387 a *Completions* that's been iconified.
24388 (minibuffer-force-complete): Make sure repetitions do cycle when going
24389 through completion-in-region -> minibuffer-complete.
24390
24391 2013-04-15 Alan Mackenzie <acm@muc.de>
24392
24393 Correct the placement of c-cpp-delimiters when there're #s not at
24394 col 0.
24395
24396 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
24397 place a submatch around the #.
24398 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
24399 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
24400 on the #, not BOL.
24401
24402 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
24403
24404 * emacs-lisp/nadvice.el: Properly test names when adding advice.
24405 (advice--member-p): New arg `name'.
24406 (advice--add-function, advice-member-p): Use it (bug#14202).
24407
24408 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
24409
24410 Reformulate java imenu-generic-expression.
24411 The old expression contained ill formed regexps.
24412
24413 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
24414 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
24415 (cc-imenu-java-method-arg-regexp): New defconsts.
24416 (cc-imenu-java-build-type-args-regex): New defun.
24417 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
24418 handling of spaces in the regexp.
24419
24420 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
24421
24422 * textmodes/ispell.el (ispell-command-loop): Remove
24423 flyspell highlight of a word when ispell accepts it (bug #14178).
24424
24425 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
24426
24427 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
24428 uses code from the previous `ange-ftp-run-real-handler'.
24429 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
24430 only in case that function exist. This is needed for proper
24431 unloading of Tramp.
24432
24433 2013-04-15 Tassilo Horn <tsdh@gnu.org>
24434
24435 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
24436
24437 * textmodes/reftex.el (reftex-compile-variables): Use it.
24438
24439 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
24440
24441 * files.el (normal-mode): Only use default major-mode if no other mode
24442 was specified.
24443
24444 * emacs-lisp/trace.el (trace-values): New function.
24445
24446 * files.el: Allow : in local variables (bug#14089).
24447 (hack-local-variable-regexp): New var.
24448 (hack-local-variables-prop-line, hack-local-variables): Use it.
24449
24450 2013-04-13 Roland Winkler <winkler@gnu.org>
24451
24452 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
24453 data before it gets modified by bibtex-beginning-of-entry.
24454
24455 2013-04-13 Roland Winkler <winkler@gnu.org>
24456
24457 * textmodes/bibtex.el (bibtex-url): Doc fix.
24458
24459 2013-04-13 Roland Winkler <winkler@gnu.org>
24460
24461 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
24462 does not visit a BibTeX file, exclude it from the list of buffers
24463 returned by bibtex-initialize.
24464
24465 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
24466
24467 * window.el (split-window): Remove interactive form, since as a
24468 command this function is a special case of split-window-below.
24469 Correct doc string.
24470
24471 2013-04-12 Roland Winkler <winkler@gnu.org>
24472
24473 * faces.el (read-face-name): Do not override value of arg default.
24474 Allow single faces and strings as default values. Remove those
24475 elements from return value that are not faces.
24476 (describe-face): Simplify.
24477 (face-at-point): New optional args thing and multiple so that this
24478 function can provide the same functionality previously provided by
24479 read-face-name.
24480 (make-face-bold, make-face-unbold, make-face-italic)
24481 (make-face-unitalic, make-face-bold-italic, invert-face)
24482 (modify-face, read-face-and-attribute): Use face-at-point.
24483
24484 * cus-edit.el (customize-face, customize-face-other-window)
24485 * cus-theme.el (custom-theme-add-face)
24486 * face-remap.el (buffer-face-set)
24487 * facemenu.el (facemenu-set-face): Use face-at-point.
24488
24489 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
24490
24491 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
24492
24493 2013-04-10 Tassilo Horn <tsdh@gnu.org>
24494
24495 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
24496 off leading { and trailing } from field values.
24497
24498 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
24499
24500 * emacs-lisp/timer.el (timer--check): New function.
24501 (timer--time, timer-set-function, timer-event-handler): Use it.
24502 (timer-set-idle-time): Simplify.
24503 (timer--activate): CSE.
24504 (timer-event-handler): Give more info in error message.
24505 (internal-timer-start-idle): New function, moved from C.
24506
24507 * mpc.el (mpc-proc): Add `restart' argument.
24508 (mpc-proc-cmd): Use it.
24509 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
24510 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
24511 less often.
24512
24513 2013-04-10 Masatake YAMATO <yamato@redhat.com>
24514
24515 * progmodes/sh-script.el: Implement `sh-mode' own
24516 `add-log-current-defun-function' (bug#14112).
24517 (sh-current-defun-name): New function.
24518 (sh-mode): Use the function.
24519
24520 2013-04-09 Bastien Guerry <bzg@gnu.org>
24521
24522 * simple.el (choose-completion-string): Fix docstring (bug#14163).
24523
24524 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
24525
24526 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
24527
24528 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
24529 timer (bug#14156).
24530
24531 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
24532
24533 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
24534 declaration.
24535
24536 2013-04-07 Leo Liu <sdl.web@gmail.com>
24537
24538 * pcmpl-x.el: New file.
24539
24540 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
24541
24542 Do not set x-display-name until X connection is established.
24543 This is needed to prevent from weird situation described at
24544 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
24545 * frame.el (make-frame): Set x-display-name after call to
24546 window system initialization function, not before.
24547 * term/x-win.el (x-initialize-window-system): Add optional
24548 display argument and use it.
24549 * term/w32-win.el (w32-initialize-window-system):
24550 * term/ns-win.el (ns-initialize-window-system):
24551 * term/pc-win.el (msdos-initialize-window-system):
24552 Add compatible optional display argument.
24553
24554 2013-04-06 Eli Zaretskii <eliz@gnu.org>
24555
24556 * files.el (normal-backup-enable-predicate): On MS-Windows and
24557 MS-DOS compare truenames of temporary-file-directory and of the
24558 file, so that 8+3 aliases (usually found in $TEMP on Windows)
24559 don't fail comparison by compare-strings. Also, compare file
24560 names case-insensitively on MS-Windows and MS-DOS.
24561
24562 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
24563
24564 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
24565 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
24566
24567 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
24568
24569 * whitespace.el (whitespace-color-on, whitespace-color-off):
24570 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
24571
24572 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
24573
24574 * ispell.el (ispell-set-spellchecker-params):
24575 Really set `ispell-args' for all equivs.
24576
24577 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
24578
24579 * ido.el (ido-completions): Use extra elements of ido-decorations
24580 (bug#14143).
24581 (ido-decorations): Update docstring.
24582
24583 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
24584
24585 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
24586 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
24587 nil during initialization, in order not to miss changes since the
24588 file was opened. (Bug#14140)
24589
24590 2013-04-05 Leo Liu <sdl.web@gmail.com>
24591
24592 * kmacro.el (kmacro-call-macro): Fix bug#14135.
24593
24594 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
24595
24596 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
24597
24598 2013-04-04 Glenn Morris <rgm@gnu.org>
24599
24600 * electric.el (electric-pair-inhibit-predicate): Add :version.
24601
24602 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
24603
24604 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
24605 when a package is required several times (bug#14082).
24606
24607 2013-04-04 Roland Winkler <winkler@gnu.org>
24608
24609 * faces.el (read-face-name): Behave as promised by the docstring.
24610 Assume that arg default is a list of faces.
24611 (describe-face): Call read-face-name with list of default faces.
24612
24613 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
24614
24615 * bookmark.el: Fix deletion of bookmarks (bug#13972).
24616 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
24617 (bookmark-bmenu-execute-deletions): Only skip first line if it's
24618 the header.
24619 (bookmark-exit-hook-internal): Save even if list is empty.
24620
24621 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
24622
24623 * emacs-lisp/package.el (package-pinned-packages): New var.
24624 (package--add-to-archive-contents): Obey it (bug#14118).
24625
24626 2013-04-03 Alan Mackenzie <acm@muc.de>
24627
24628 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
24629 Also adapt to the new values of element 7 of a parse state.
24630
24631 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
24632 parameter `not-in-delimiter'. Handle being inside comment opener.
24633 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
24634 character in case we're typing a '*' after a '/'.
24635 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
24636 instead by passing the parameter to c-state-pp-to-literal.
24637
24638 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
24639 for elt. 7 of a parse state.
24640
24641 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
24642
24643 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
24644 * international/latin1-disp.el, international/mule-util.el:
24645 * language/cyril-util.el, language/european.el, language/ind-util.el:
24646 * language/lao-util.el, language/thai.el, language/tibet-util.el:
24647 * language/tibetan.el, language/viet-util.el:
24648 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
24649
24650 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
24651
24652 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
24653 (electric-pair-post-self-insert-function): Use it.
24654 (electric-pair-default-inhibit): New function, extracted from
24655 electric-pair-post-self-insert-function.
24656
24657 2013-03-31 Roland Winkler <winkler@gnu.org>
24658
24659 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
24660
24661 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
24662
24663 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
24664
24665 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
24666
24667 Un-indent after "pass" and "return" statements (Bug#13888)
24668 * progmodes/python.el (python-indent-block-enders): New var.
24669 (python-indent-calculate-indentation): Use it.
24670
24671 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
24672
24673 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
24674 defun. Defining it as defalias could introduce too eager
24675 byte-compiler optimization. (Bug#14030)
24676
24677 2013-03-30 Chong Yidong <cyd@gnu.org>
24678
24679 * iswitchb.el (iswitchb-read-buffer): Fix typo.
24680
24681 2013-03-30 Leo Liu <sdl.web@gmail.com>
24682
24683 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
24684 (kmacro-execute-from-register): Pass the keyboard macro to
24685 kmacro-call-macro or repeating won't work correctly.
24686
24687 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
24688
24689 * progmodes/subword.el: Back to using `forward-symbol'.
24690
24691 * subr.el (forward-whitespace, forward-symbol)
24692 (forward-same-syntax): Move from thingatpt.el.
24693
24694 2013-03-29 Leo Liu <sdl.web@gmail.com>
24695
24696 * kmacro.el (kmacro-to-register): New command.
24697 (kmacro-execute-from-register): New function.
24698 (kmacro-keymap): Bind to 'x'. (Bug#14071)
24699
24700 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
24701
24702 * mpc.el: Use defvar-local and setq-local.
24703 (mpc--proc-connect): Connection failures are not bugs.
24704 (mpc-mode-map): `follow-link' only applies to the buffer's content.
24705 (mpc-volume-map): Bind to the up-events.
24706
24707 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
24708
24709 * progmodes/subword.el (superword-mode): Use `forward-sexp'
24710 instead of `forward-symbol'.
24711
24712 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
24713
24714 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
24715 (edebug--recursive-edit): Use it.
24716 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
24717 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
24718
24719 2013-03-28 Leo Liu <sdl.web@gmail.com>
24720
24721 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
24722
24723 2013-03-27 Eli Zaretskii <eliz@gnu.org>
24724
24725 * facemenu.el (list-colors-callback): New defvar.
24726 (list-colors-redisplay): New function.
24727 (list-colors-display): Install list-colors-redisplay as the
24728 revert-buffer-function. (Bug#14063)
24729
24730 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
24731
24732 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
24733 and suffixes don't overlap (bug#14061).
24734
24735 * case-table.el: Use lexical-binding.
24736 (case-table-get-table): New function.
24737 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
24738
24739 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
24740
24741 * progmodes/subword.el: Add `superword-mode' to do word motion
24742 over symbol_words (parallels and leverages `subword-mode' which
24743 does word motion inside MixedCaseWords).
24744
24745 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
24746
24747 * eshell/em-unix.el: Move su and sudo to...
24748 * eshell/em-tramp.el: ...Eshell tramp module.
24749
24750 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
24751
24752 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
24753 Change return value to be a sexp. Delay `get-buffer' to after
24754 restoring the desktop (bug#13951).
24755
24756 2013-03-26 Leo Liu <sdl.web@gmail.com>
24757
24758 * register.el: Move semantic tag handling back to
24759 cedet/semantic/senator.el. (Bug#14052)
24760
24761 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
24762
24763 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
24764 into the prompt either (bug#13963).
24765
24766 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
24767
24768 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
24769 part of "(error-foo)".
24770
24771 2013-03-24 Juri Linkov <juri@jurta.org>
24772
24773 * replace.el (list-matching-lines-prefix-face): New defcustom.
24774 (occur-1): Pass `list-matching-lines-prefix-face' to the function
24775 `occur-engine' if `face-differs-from-default-p' returns t.
24776 (occur-engine): Add `,' inside backquote construct to evaluate
24777 `prefix-face'. Propertize the prefix with the `prefix-face' face.
24778 Pass `prefix-face' to the functions `occur-context-lines' and
24779 `occur-engine-add-prefix'.
24780 (occur-engine-add-prefix, occur-context-lines): Add optional arg
24781 `prefix-face' and propertize the prefix with `prefix-face'.
24782 (Bug#14017)
24783
24784 2013-03-24 Leo Liu <sdl.web@gmail.com>
24785
24786 * nxml/rng-valid.el (rng-validate-while-idle)
24787 (rng-validate-quick-while-idle): Guard against deleted buffer.
24788 (Bug#13999)
24789
24790 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
24791 is the last entry in kill-buffer-hook.
24792
24793 * files.el (kill-buffer-hook): Doc fix.
24794
24795 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
24796
24797 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
24798 Make it safe-local.
24799
24800 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
24801
24802 2013-03-23 Leo Liu <sdl.web@gmail.com>
24803
24804 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
24805 Remove.
24806
24807 * nxml/rng-valid.el (rng-validate-mode)
24808 (rng-after-change-function, rng-do-some-validation):
24809 * nxml/rng-maint.el (rng-validate-buffer):
24810 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
24811 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
24812 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
24813 (nxml-extend-after-change-region): Use with-silent-modifications.
24814
24815 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
24816 timer-idle-list.
24817
24818 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
24819 (rng-next-error-1, rng-previous-error-1): Do not let-bind
24820 timer-idle-list. (Bug#13999)
24821
24822 2013-03-23 Juri Linkov <juri@jurta.org>
24823
24824 * info.el (info-index-match): New face.
24825 (Info-index, Info-apropos-matches): Add a nested subgroup to the
24826 main pattern and add text properties with the new face to matches
24827 in index entries relative to the beginning of the index entry.
24828 (Bug#14015)
24829
24830 2013-03-21 Eric Ludlam <zappo@gnu.org>
24831
24832 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
24833 Inhibit read only while inserting objects.
24834
24835 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
24836
24837 * progmodes/cfengine.el: Update docs to mention
24838 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
24839 symbol motion. Remove "_" from the word syntax.
24840
24841 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
24842
24843 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
24844 syntax for both `cfengine2-mode' and `cfengine3-mode'.
24845
24846 2013-03-20 Juri Linkov <juri@jurta.org>
24847
24848 * info.el (Info-next-reference-or-link)
24849 (Info-prev-reference-or-link): New functions.
24850 (Info-next-reference, Info-prev-reference): Use them.
24851 (Info-try-follow-nearest-node): Handle footnote navigation.
24852 (Info-fontify-node): Fontify footnotes. (Bug#13989)
24853
24854 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
24855
24856 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
24857 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
24858
24859 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
24860
24861 Suppress unnecessary non-ASCII chatter during build process.
24862 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
24863 (batch-skkdic-convert): Suppress most of the chatter.
24864 It's not needed so much now that machines are faster,
24865 and its non-ASCII component was confusing; see Dmitry Gutov in
24866 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
24867
24868 2013-03-20 Leo Liu <sdl.web@gmail.com>
24869
24870 * ido.el (ido-chop): Fix bug#10994.
24871
24872 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
24873
24874 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
24875 Remove vars.
24876 (whitespace-color-on, whitespace-color-off):
24877 Use `font-lock-fontify-buffer' (Bug#13817).
24878
24879 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
24880
24881 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
24882 remapping in mode-line.
24883 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
24884
24885 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
24886
24887 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
24888 value for `whitespace-line' face (Bug#13875).
24889 (whitespace-font-lock-keywords): Change description.
24890 (whitespace-color-on): Don't save `font-lock-keywords' value, save
24891 the constructed keywords instead.
24892 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
24893
24894 2013-03-19 Leo Liu <sdl.web@gmail.com>
24895
24896 * progmodes/compile.el (compilation-display-error): New command.
24897 (compilation-mode-map, compilation-minor-mode-map): Bind it to
24898 C-o. (Bug#13992)
24899
24900 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
24901
24902 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
24903
24904 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
24905
24906 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
24907
24908 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
24909
24910 * net/tramp-compat.el (tramp-compat-user-error): New defun.
24911
24912 * net/tramp-adb.el (tramp-adb-handle-shell-command):
24913 * net/tramp-gvfs.el (top):
24914 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
24915 (tramp-handle-shell-command): Use it.
24916 (tramp-dissect-file-name): Raise an error when hostname is a
24917 method name, and neither method nor user is specified.
24918
24919 * net/trampver.el: Update release number.
24920
24921 2013-03-18 Leo Liu <sdl.web@gmail.com>
24922
24923 Make sure eldoc can be turned off properly.
24924 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
24925 eldoc-mode.
24926 (eldoc-display-message-p): Revert last change.
24927 (eldoc-display-message-no-interference-p)
24928 (eldoc-print-current-symbol-info): Tweak.
24929
24930 2013-03-18 Tassilo Horn <tsdh@gnu.org>
24931
24932 * doc-view.el (doc-view-new-window-function): Check the new window
24933 overlay's display property instead the char property of the
24934 buffer's first char. Use `with-selected-window' instead of
24935 `save-window-excursion' with `select-window'.
24936 (doc-view-document->bitmap): Check the current doc-view overlay's
24937 display property instead the char property of the buffer's first char.
24938
24939 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
24940
24941 Automate the build of ja-dic.el (Bug#13984).
24942 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
24943 from the input, rather than assume that it's been done for us by the
24944 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
24945 the current date into a ja-dic.el comment, as that complicates
24946 regression testing.
24947
24948 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
24949
24950 * whitespace.el: Fix double evaluation.
24951 (whitespace-space, whitespace-hspace, whitespace-tab)
24952 (whitespace-newline, whitespace-trailing, whitespace-line)
24953 (whitespace-space-before-tab, whitespace-indentation)
24954 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
24955 obsolete defvars.
24956 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
24957 (whitespace-color-on): Use a single font-lock-add-keywords call.
24958 Fix double-evaluation of face variables.
24959
24960 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
24961
24962 * net/tramp-adb.el (tramp-adb-parse-device-names):
24963 Use `start-process' instead of `call-process'. Otherwise, the
24964 function might be blocked under MS Windows. (Bug#13299)
24965
24966 2013-03-17 Leo Liu <sdl.web@gmail.com>
24967
24968 Extend eldoc to display info in the mode-line. (Bug#13978)
24969 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
24970 (eldoc-mode-line-string): New variable.
24971 (eldoc-minibuffer-message): New function.
24972 (eldoc-message-function): New variable.
24973 (eldoc-message): Use it.
24974 (eldoc-display-message-p)
24975 (eldoc-display-message-no-interference-p):
24976 Support eldoc-post-insert-mode.
24977
24978 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
24979 (eval-expression): Run it.
24980
24981 2013-03-17 Roland Winkler <winkler@gnu.org>
24982
24983 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
24984 strings in the list of return values.
24985
24986 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
24987
24988 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
24989 radix before checking for HMS forms.
24990
24991 2013-03-16 Leo Liu <sdl.web@gmail.com>
24992
24993 * progmodes/scheme.el: Add indentation and font-locking for λ.
24994 (Bug#13975)
24995
24996 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
24997
24998 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
24999 token before point (bug#13942).
25000
25001 2013-03-16 Leo Liu <sdl.web@gmail.com>
25002
25003 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
25004
25005 2013-03-16 Eli Zaretskii <eliz@gnu.org>
25006
25007 * startup.el (command-line-normalize-file-name): Fix handling of
25008 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
25009 <xfq.free@gmail.com> in
25010 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
25011
25012 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
25013
25014 Sync with Tramp 2.2.7.
25015
25016 * net/trampver.el: Update release number.
25017
25018 2013-03-14 Tassilo Horn <tsdh@gnu.org>
25019
25020 * doc-view.el: Fix bug#13887.
25021 (doc-view-insert-image): Don't modify overlay associated to
25022 non-live windows, and implement horizontal centering of image in
25023 case it's smaller than the window.
25024 (doc-view-new-window-function): Force redisplay of new windows on
25025 doc-view buffers.
25026
25027 2013-03-13 Karl Fogel <kfogel@red-bean.com>
25028
25029 * saveplace.el (save-place-alist-to-file): Don't sort
25030 `save-place-alist', just pretty-print it (bug#13882).
25031
25032 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
25033
25034 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
25035 Check whether `default-file-name-coding-system' is bound.
25036 It isn't in XEmacs.
25037
25038 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
25039
25040 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
25041 backquotes for `obsolete' (bug#13929).
25042
25043 * international/mule.el (find-auto-coding): Include file name in
25044 obsolescence warning (bug#13922).
25045
25046 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
25047
25048 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
25049 for CFEngine 3-specific indentation.
25050 (cfengine3-indent-line): Use it. Fix up category regex.
25051 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
25052
25053 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
25054
25055 * type-break.el (type-break-file-name):
25056 * textmodes/remember.el (remember-data-file):
25057 * strokes.el (strokes-file):
25058 * shadowfile.el (shadow-initialize):
25059 * saveplace.el (save-place-file):
25060 * ps-bdf.el (bdf-cache-file):
25061 * progmodes/idlwave.el (idlwave-config-directory):
25062 * net/quickurl.el (quickurl-url-file):
25063 * international/kkc.el (kkc-init-file-name):
25064 * ido.el (ido-save-directory-list-file):
25065 * emulation/viper.el (viper-custom-file-name):
25066 * emulation/vip.el (vip-startup-file):
25067 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
25068 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
25069
25070 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
25071
25072 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
25073 * language/thai-word.el: Switch to UTF-8.
25074
25075 See ChangeLog.16 for earlier changes.
25076
25077 ;; Local Variables:
25078 ;; coding: utf-8
25079 ;; End:
25080
25081 Copyright (C) 2011-2015 Free Software Foundation, Inc.
25082
25083 This file is part of GNU Emacs.
25084
25085 GNU Emacs is free software: you can redistribute it and/or modify
25086 it under the terms of the GNU General Public License as published by
25087 the Free Software Foundation, either version 3 of the License, or
25088 (at your option) any later version.
25089
25090 GNU Emacs is distributed in the hope that it will be useful,
25091 but WITHOUT ANY WARRANTY; without even the implied warranty of
25092 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
25093 GNU General Public License for more details.
25094
25095 You should have received a copy of the GNU General Public License
25096 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.