Commit graph

117974 commits

Author SHA1 Message Date
Glenn Morris
ddce73d32f Revert previous accidental commit 2014-11-04 21:08:12 -08:00
Glenn Morris
6a278b64f7 Merge from emacs-24; up to 117669 2014-11-04 21:04:30 -08:00
Glenn Morris
fdcbfeac69 * Makefile.in (install-info, uninstall): Use --no-print-directory.
(QUIET_SUBMAKE): Remove.

Fixes: debbugs:18908
2014-11-04 21:01:47 -08:00
Paul Eggert
a9f1618de8 Spelling fixes; tweak explanation of commit messages.
* admin/notes/repo: Avoid "DVCS" acronym without first explaining it.
Mention using the first line of a ChangeLog as the topic line, and
that commit messages should use UTF-8.
* lisp/mouse.el (mouse-drag-line): Fix misspelling of "right-fringe".
2014-11-04 09:46:49 -08:00
Ted Zlatanov
f3e25d69b0 * net/eww.el (eww): Trim URL with `string-trim'.
Suggested by Vibhav Pant <vibhavp@gmail.com>.
2014-11-04 11:31:33 -05:00
Lars Magne Ingebrigtsen
15eb2ec114 eww readability tweak
* net/eww.el (eww-score-readability): Don't count comments positively.
2014-11-04 00:46:20 +01:00
Lars Magne Ingebrigtsen
704da6eeb4 shr typo fix from recent check-in
* net/shr.el (shr-retransform-dom): Typo fix.
2014-11-03 23:59:07 +01:00
Lars Magne Ingebrigtsen
b0481eb966 eww point positioning tweak
(eww-display-html): Don't leave point inside forms.
2014-11-03 23:58:02 +01:00
Lars Magne Ingebrigtsen
1ca31e8cbd Minor readability parsing issues with SVC images
* net/eww.el (eww-score-readability): Parse SVC images correctly.

* net/shr.el: Ditto.
2014-11-03 23:54:16 +01:00
Stefan Monnier
50deba142a * lisp/emacs-lisp/byte-run.el (defun-declarations-alist): Fix compiler-macro
autoloading when specified as a lambda.
* lisp/emacs-lisp/edebug.el (edebug-safe-prin1-to-string): Assume that
edebug-prin1-to-string already handles circularity.
2014-11-03 17:48:30 -05:00
Lars Magne Ingebrigtsen
772a965c5f Minor `shr-retransform-dom' fix
* net/shr.el (shr-retransform-dom): Don't ignore elements that
have no children like <br />.
2014-11-03 23:38:26 +01:00
Stefan Monnier
d94bc77ec7 * lisp/simple.el (execute-extended-command--last-typed): New var.
(read-extended-command): Set it.
Don't complete obsolete commands.
(execute-extended-command--shorter-1)
(execute-extended-command--shorter): New functions.
(execute-extended-command): Use them to suggest shorter names.
(indicate-copied-region, deactivate-mark): Use region-active-p.
2014-11-03 17:27:26 -05:00
Teodor Zlatanov
033b622b42 doc/misc/auth.texi (Help for users): Explain quoting rules better 2014-11-03 22:21:25 +00:00
Glenn Morris
41e962982d Merge from emacs-24; up to 2014-08-07T11:49:36Z!rrt@sc3d.org 2014-11-03 16:49:37 -05:00
Glenn Morris
bd673cc594 NEWS and comment trivia re crisp.el 2014-11-03 16:47:16 -05:00
Lars Magne Ingebrigtsen
303fd9411f Remove `eww-colorize-region'
(eww-colorize-region): Remove duplicate function.
(eww-tag-body): Use `shr-colorize-region'.
2014-11-03 22:27:24 +01:00
Lars Magne Ingebrigtsen
a3e8e5089f eww compilation warning fix
(url-queue): Require `url-queue' to avoid compilation warning.
2014-11-03 21:33:32 +01:00
Lars Magne Ingebrigtsen
39804c1adb Make eww display PDFs inline
* net/eww.el (eww-display-html): Clear `url-queue'.
(eww-display-pdf): New function.
(eww-render): Display PDFs with `doc-view'.
2014-11-03 20:39:08 +01:00
Jan Djärv
b318262277 * INSTALL: Remove univeral binary section. 2014-11-03 19:36:15 +01:00
Eli Zaretskii
3247e0eae0 src/window.c (window_scroll_pixel_based): Fix a typo in a comment. 2014-11-03 20:22:07 +02:00
Eli Zaretskii
29a13e2afe Fix minor issues with functions that dump glyph matrices.
src/xdisp.c (Fdump_glyph_matrix, Fdump_frame_glyph_matrix): Doc fix.
 (Fdump_frame_glyph_matrix): Don't segfault if invoked on a GUI
 frame; instead, print an error message.
2014-11-03 19:14:50 +02:00
Michael Albinus
6c5a32ddbc * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer): Use a
local copy of FILENAME, when it is remote.

Fixes: debbugs:18751
2014-11-03 15:29:51 +01:00
Yoni Rabkin
d9079cf1b8 * net/eww.el (eww-list-bookmarks): Autoload. 2014-11-03 08:22:43 -05:00
Jan Djärv
c33070f492 * nsfns.m (ns_set_doc_edited): Check for FRAME_NS.
Fixes: debbugs:18925
2014-11-03 08:15:11 +01:00
Lars Magne Ingebrigtsen
bd57ef327d Add missing ChangeLog entry from previous checkin 2014-11-03 02:03:07 +01:00
Lars Magne Ingebrigtsen
01af3a585d * net/shr.el (shr-retransform-dom): Allow several text sub-nodes. 2014-11-03 02:02:37 +01:00
Lars Magne Ingebrigtsen
ab657babf0 Make titles in eww prettier
(eww-tag-title): Remove newlines and extra whitespace from the
displayed title.
2014-11-03 01:35:44 +01:00
Lars Magne Ingebrigtsen
029788dbb0 Fix `eww-display-html' bug when passed an explicit DOM
(eww-display-html): Don't try to decode the text if we've been
passed in a pre-parsed DOM.
2014-11-03 01:30:41 +01:00
Lars Magne Ingebrigtsen
13375c1345 Have `R' in eww save the history
(eww-readable): Save the history before displaying so that we can
go back to the non-readable version.
2014-11-03 01:24:33 +01:00
Lars Magne Ingebrigtsen
54b3c985d6 Fix charset problems with the `R' command in eww
* net/eww.el (eww-display-html): The charset is called `utf-8',
not `utf8'.
(eww-readable): Decode the saved text correctly.
2014-11-03 01:16:21 +01:00
Lars Magne Ingebrigtsen
2e8259b044 Add a new, somewhat experimental "readability" command to eww
* net/eww.el (eww-readable): New command and keystroke.

* net/shr.el (shr-retransform-dom): New function.
2014-11-03 01:01:20 +01:00
Lars Magne Ingebrigtsen
816cad6e24 Fix `eww-current-source' buffer confustion
* net/eww.el (eww-display-html): Set `eww-current-source' in the
correct buffer.
(eww-view-source): Use it.
2014-11-03 00:02:01 +01:00
Ted Zlatanov
27e4b2be11 ChangeLog: Add bug numbers. 2014-11-02 16:44:04 -05:00
Ivan Shmakov
7e35a478d0 * net/eww.el (eww): Recognize colon-delimited IPv6 addresses.. 2014-11-02 16:40:30 -05:00
Brian McKenna
cc6340495d * net/eww.el (eww-submit): Encode empty form values as "". 2014-11-02 16:34:40 -05:00
Ivan Shmakov
7188af323b * net/eww.el (eww): Allow "file:/file/name" URLs. 2014-11-02 16:06:52 -05:00
Ivan Shmakov
49bb335ea9 * net/eww.el (eww-mode-map): Remove mentions of `eww-quit'. 2014-11-02 16:02:10 -05:00
Jan Djärv
860ae4521f Fix memory leak
* nsimage.m (allocInitFromFile:): Initialize bmRep.
(dealloc): Release bmRep.
2014-11-02 19:45:50 +01:00
Jan Djärv
65bb8d055c * nsimage.m (ImageList, imageListNext, imageListSetNext:)
(reference): Remove.
(allocInitFromFile:): Remove searching ImageList and calling
reference.
(dealloc): Remove handling if ImageList.

* nsterm.h (EmacsImage): Remove imageListNext, refCount, reference,
imageListSetNext, imageListNext.

Fixes: debbugs:18918
2014-11-02 19:43:22 +01:00
Andreas Schwab
f26d02a625 Fix incorrect assertion
* process.c (catch_child_signal): Fix incorrect assertion.
2014-11-02 18:02:32 +01:00
Eric Abrahamsen
fce9e55323 Fix bug #18897 with printing large objects from eieio.el.
lisp/emacs-lisp/eieio.el (eieio-edebug-prin1-to-string): Adjust
 for use as advice.
 (edebug-setup-hook): Advise `edebug-prin1-to-string'.
2014-11-02 17:24:33 +02:00
Michael Albinus
d228120da4 * net/tramp-adb.el (tramp-adb-handle-process-file): Do not raise
an error when the command fails; the return code must indicate.
(tramp-adb-send-command-and-check): Fix docstring.
2014-11-02 12:22:56 +01:00
Stefan Monnier
4a48e97cf9 * lisp/emacs-lisp/pp.el (pp-macroexpand-expression): Use macroexpand-1.
* lisp/progmodes/elisp-mode.el (emacs-lisp-macroexpand): Idem.

Fixes: debbugs:18821
2014-11-02 01:46:04 -04:00
Michael R. Mauger
ee17a97bea sql.el (sql-mode-oracle-font-lock-keywords): Correct regexp
syntax, add new keywords, and parse longer keywords first.
(sql-redirect-one): Protect against empty command.
(sql-mode, sql-interactive-mode): Set `custom-mode-group\' property
2014-11-01 22:04:26 -04:00
Michael R. Mauger
fcc5b488b9 * sql.el (sql-interactive-mode, sql-stop): Correct fix for
Bug#16814 with let-bind of comint-input-ring variables around read
and save functions.
2014-11-01 18:14:01 -04:00
Jan Djärv
bf7ded963c Clean up merge conflict.
* macfont.m (macfont_draw):
* nsterm.m (ns_mouse_position, judge): Clean up merge conflict.
2014-11-01 21:06:49 +01:00
Glenn Morris
b039c2ec57 * doc/emacs/programs.texi (Misc for Programs): Fix typo. 2014-11-01 11:09:33 -07:00
Glenn Morris
d5d8ca30e5 Merge from emacs-24; up to 117656 2014-11-01 11:05:30 -07:00
Glenn Morris
b99e8f8336 ChangeLog simplification 2014-11-01 10:33:29 -07:00
Glenn Morris
e54c5e4e25 Fix ChangeLog typo 2014-11-01 10:29:14 -07:00