]> code.delx.au - gnu-emacs/log
gnu-emacs
9 years agoImprove output of occur-tests in case of failure
Glenn Morris [Mon, 17 Nov 2014 18:39:56 +0000 (13:39 -0500)]
Improve output of occur-tests in case of failure

* test/automated/occur-tests.el (occur-test-case, occur-test-create):
In case of failure, show the actual string, rather than just nil.

9 years agoicalendar: Add another test case for no-dst timezones.
Ulf Jasper [Mon, 17 Nov 2014 15:53:09 +0000 (16:53 +0100)]
icalendar: Add another test case for no-dst timezones.

9 years agolisp/gnus/message.el (message-valid-fqdn-regexp): Add non-internaional new TLDs
Albert Krewinkel [Mon, 17 Nov 2014 08:54:57 +0000 (17:54 +0900)]
lisp/gnus/message.el (message-valid-fqdn-regexp): Add non-internaional new TLDs

9 years agoPort new time stamp handling to old Emacs and to XEmacs.
Paul Eggert [Mon, 17 Nov 2014 07:37:19 +0000 (23:37 -0800)]
Port new time stamp handling to old Emacs and to XEmacs.

This is needed for Gnus, which copies time-date.el and which
runs on older Emacs implementations.
* calendar/time-date.el (with-decoded-time-value):
Handle 'nil' and floating-point arg more compatibly with new Emacs.
(encode-time-value, with-decoded-time-value):
Obsolete only if new Emacs.
(time-add, time-subtract, time-less-p): Define if not new Emacs.

9 years agoSpelling fixes.
Paul Eggert [Mon, 17 Nov 2014 06:26:17 +0000 (22:26 -0800)]
Spelling fixes.

9 years agoImprove time stamp handling, and be more consistent about it.
Paul Eggert [Mon, 17 Nov 2014 04:38:15 +0000 (20:38 -0800)]
Improve time stamp handling, and be more consistent about it.

This implements a suggestion made in:
http://lists.gnu.org/archive/html/emacs-devel/2014-10/msg00587.html
Among other things, this means timer.el no longer needs to
autoload the time-date module.
* doc/lispref/os.texi (Time of Day, Time Conversion, Time Parsing)
(Processor Run Time, Time Calculations):
Document the new behavior, plus be clearer about the old behavior.
(Idle Timers): Take advantage of new functionality.
* etc/NEWS: Document the changes.
* lisp/allout-widgets.el (allout-elapsed-time-seconds): Doc fix.
* lisp/arc-mode.el (archive-ar-summarize):
* lisp/calendar/time-date.el (seconds-to-time, days-to-time, time-since):
* lisp/emacs-lisp/timer.el (timer-relative-time, timer-event-handler)
(run-at-time, with-timeout-suspend, with-timeout-unsuspend):
* lisp/net/tramp.el (tramp-time-less-p, tramp-time-subtract):
* lisp/proced.el (proced-time-lessp):
* lisp/timezone.el (timezone-time-from-absolute):
* lisp/type-break.el (type-break-schedule, type-break-time-sum):
Simplify by using new functionality.
* lisp/calendar/cal-dst.el (calendar-next-time-zone-transition):
Do not return time values in obsolete and undocumented (HI . LO)
format; use (HI LO) instead.
* lisp/calendar/time-date.el (with-decoded-time-value):
Treat 'nil' as current time.  This is mostly for XEmacs.
(encode-time-value, with-decoded-time-value): Obsolete.
(time-add, time-subtract, time-less-p): Use no-op autoloads, for
XEmacs.  Define only if XEmacs, as they're now C builtins in Emacs.
* lisp/ldefs-boot.el: Update to match new time-date.el
* lisp/proced.el: Do not require time-date.
* src/editfns.c (invalid_time): New function.
Use it instead of 'error ("Invalid time specification")'.
(time_add, time_subtract, time_arith, Ftime_add, Ftime_less_p)
(decode_float_time, lisp_to_timespec, lisp_time_struct):
New functions.
(make_time_tail, make_time): Remove.  All uses changed to use
new functions or plain list4i.
(disassemble_lisp_time): Return effective length if successful.
Check that LOW is an integer, if it's combined with other components.
(decode_time_components): Decode into struct lisp_time, not
struct timespec, so that we can support a wide set of times
regardless of whether time_t is signed.  Decode plain numbers
as seconds since the Epoch, and nil as the current time.
(lisp_time_argument, lisp_seconds_argument, Ffloat_time):
Reimplement in terms of new functions.
(Fencode_time): Just use list2i.
(syms_of_editfns): Add time-add, time-subtract, time-less-p.
* src/keyboard.c (decode_timer): Don't allow the new formats (floating
point or nil) in timers.
* src/systime.h (LO_TIME_BITS): New constant.  Use it everywhere in
place of the magic number '16'.
(struct lisp_time): New type.
(decode_time_components): Use it.
(lisp_to_timespec): New decl.

9 years agoMake the eww buffers read-only
Lars Magne Ingebrigtsen [Sun, 16 Nov 2014 22:39:53 +0000 (23:39 +0100)]
Make the eww buffers read-only

Fixes: debbugs:16476
* net/eww.el (eww-mode): Make the buffer read-only.
(eww-form-text): Inhibit read-only-ness in text input fields
(bug#16476).

9 years agoImplement an `inhibit-read-only' text property
Lars Magne Ingebrigtsen [Sun, 16 Nov 2014 22:36:58 +0000 (23:36 +0100)]
Implement an `inhibit-read-only' text property

* doc/lispref/text.texi (Special Properties): Mention `inhibit-read-only'.

* src/buffer.c (Fbarf_if_buffer_read_only): Don't raise an error if
the text at POSITION (new optional argument) has the
`inhibit-read-only' text property set.

* src/callint.c (Fcall_interactively): Pass in nil as argument to
Fbarf_if_buffer_read_only.

* src/fileio.c (Finsert_file_contents): Ditto.

* src/insdel.c (prepare_to_modify_buffer_1): Pass start region in.

* src/intervals.h (INTERVAL_WRITABLE_P): Check the `inhibit-read-only'
text property.

* src/textprop.c (verify_interval_modification): Check buffer
readedness after the last interval.

9 years ago* lisp/simple.el (execute-extended-command--shorter): Cut search here.
Stefan Monnier [Sun, 16 Nov 2014 22:24:55 +0000 (17:24 -0500)]
* lisp/simple.el (execute-extended-command--shorter): Cut search here.
(execute-extended-command): Instead of here.

9 years ago* lisp/progmodes/python.el (python-mode): Avoid use of set-local to
Fabián Ezequiel Gallina [Sun, 16 Nov 2014 20:59:42 +0000 (17:59 -0300)]
* lisp/progmodes/python.el (python-mode): Avoid use of set-local to
keep Emacs 24.x compatibility.

9 years agoMove eww and shr to customization group `web'
Lars Magne Ingebrigtsen [Sun, 16 Nov 2014 20:29:40 +0000 (21:29 +0100)]
Move eww and shr to customization group `web'

* net/eww.el (eww): Ditto.

* net/shr.el (shr): Move to the new defgroup `web'.

9 years agoOnly show the "You can run" message if it's significantly shorter
Lars Magne Ingebrigtsen [Sun, 16 Nov 2014 19:37:51 +0000 (20:37 +0100)]
Only show the "You can run" message if it's significantly shorter

* simple.el (execute-extended-command): Don't show the help
message if the binding isn't significantly shorter than the
M-x command the user typed (bug#19013).

9 years agoicalendar: fix issues regarding timezones without dst
Ulf Jasper [Sun, 16 Nov 2014 16:23:45 +0000 (17:23 +0100)]
icalendar: fix issues regarding timezones without dst

* lisp/calendar/icalendar.el (icalendar--convert-tz-offset): Return
complete cons when offsets of standard time and daylight saving
time are equal.
(icalendar-export-region): Fix unbound variable warning.

* test/automated/icalendar-tests.el (icalendar--parse-vtimezone): Add
testcase where offsets of standard time and daylight saving time
are equal.
(icalendar-real-world): Fix error in test case.  Expected result
was wrong when offsets of standard time and daylight saving time
were equal.

9 years agolisp/ChangeLog: removed duplicate entry
Oscar Fuentes [Sun, 16 Nov 2014 14:55:33 +0000 (15:55 +0100)]
lisp/ChangeLog: removed duplicate entry

9 years agoSet the push default to "current", which should work everywhere
Lars Magne Ingebrigtsen [Sun, 16 Nov 2014 14:54:12 +0000 (15:54 +0100)]
Set the push default to "current", which should work everywhere

9 years agoMention how to get rid of X11 warnings
Lars Magne Ingebrigtsen [Sun, 16 Nov 2014 14:31:20 +0000 (15:31 +0100)]
Mention how to get rid of X11 warnings

9 years agoFixes: debbugs:18596
Fabián Ezequiel Gallina [Sun, 16 Nov 2014 14:20:25 +0000 (11:20 -0300)]
Fixes: debbugs:18596
* lisp/progmodes/python.el (run-python): Allow CMD to be optional and
default it to a safe command, even for Windows.  (bug#18596)

9 years agoAdd faces for the VC modeline state indicator.
Óscar Fuentes [Sun, 16 Nov 2014 14:06:23 +0000 (15:06 +0100)]
Add faces for the VC modeline state indicator.

Fixes: debbugs:19043
Add faces for the VC modeline state indicator.
* lisp/vc/vc-hooks.el: (vc-state-faces, vc-state-base-face
vc-up-to-date-state, vc-needs-update-state, vc-locked-state)
vc-locally-added-state, vc-conflict-state, vc-removed-state,
vc-missing-state, vc-edited-state): New faces.
(vc-default-mode-line-string): Use them (bug#19043).

9 years ago* lisp/progmodes/python.el (python-shell-calculate-command): Rename
Fabián Ezequiel Gallina [Sun, 16 Nov 2014 13:47:14 +0000 (10:47 -0300)]
* lisp/progmodes/python.el (python-shell-calculate-command): Rename
from python-shell-parse-command.  Cleanup.
(run-python, run-python-internal): Use it.
(python-shell-calculate-pythonpath): Rename from
python-new-pythonpath.
(python-shell-calculate-process-environment): Use it.
(python-shell-calculate-exec-path): Add comment.

* test/automated/python-tests.el
(python-shell-calculate-process-environment-2): Fix test.
(python-shell-calculate-process-environment-1)
(python-shell-calculate-process-environment-3): Cleanup.

9 years agoFix ChangeLog typos.
Paul Eggert [Sun, 16 Nov 2014 07:22:34 +0000 (23:22 -0800)]
Fix ChangeLog typos.

9 years agoMerge branch 'master' of git.sv.gnu.org:/srv/git/emacs
Jay Belanger [Sun, 16 Nov 2014 05:27:48 +0000 (23:27 -0600)]
Merge branch 'master' of git.sv.gnu.org:/srv/git/emacs

Conflicts:
lisp/ChangeLog

9 years ago2014-11-16 Thierry Banel <tbanelwebmin@free.fr> (tiny change)
Thierry Banel [Sun, 16 Nov 2014 05:24:25 +0000 (23:24 -0600)]
2014-11-16  Thierry Banel <tbanelwebmin@free.fr>  (tiny change)

* calc-arith.el (math-max-list, math-min-list): Fix bug
for date handling.

9 years agoResolve pull conflict
Stefan Monnier [Sun, 16 Nov 2014 05:23:39 +0000 (00:23 -0500)]
Resolve pull conflict

9 years agoMerge from emacs-24
Stefan Monnier [Sun, 16 Nov 2014 05:22:20 +0000 (00:22 -0500)]
Merge from emacs-24

9 years agoAdd faces for the VC modeline state indicator
Oscar Fuentes [Sun, 16 Nov 2014 04:40:10 +0000 (05:40 +0100)]
Add faces for the VC modeline state indicator

* lisp/vc/vc-hooks.el:
(vc-state-faces, vc-state-base-face)
(vc-up-to-date-state, vc-needs-update-state)
(vc-locked-state, vc-locally-added-state)
(vc-conflict-state, vc-removed-state)
(vc-missing-state, vc-edited-state):
New faces.
(vc-default-mode-line-string): Use them

9 years ago* lisp/emacs-lisp/backquote.el (backquote-process): Optimize away the ,' case.
Stefan Monnier [Sun, 16 Nov 2014 04:59:50 +0000 (23:59 -0500)]
* lisp/emacs-lisp/backquote.el (backquote-process): Optimize away the ,' case.

9 years agoDon't ignore .gitattributes
Andreas Schwab [Sat, 15 Nov 2014 23:49:38 +0000 (00:49 +0100)]
Don't ignore .gitattributes

Local attributes belong to .git/info/attributes.

9 years agoUse git rev-parse to get repository version
Andreas Schwab [Sat, 15 Nov 2014 22:48:47 +0000 (23:48 +0100)]
Use git rev-parse to get repository version

* version.el (emacs-repository-get-version): Use git rev-parse
instead of git log.

9 years agoBackport 2014-06-30 admin/update_autogen change
Glenn Morris [Sat, 15 Nov 2014 23:16:28 +0000 (18:16 -0500)]
Backport 2014-06-30 admin/update_autogen change

* admin/update_autogen: Auto-detect VCS in use.
(vcs): New variable.
(status, commit, main): Handle git.

9 years agoFixes: debbugs:18432
Fabián Ezequiel Gallina [Sat, 15 Nov 2014 22:02:52 +0000 (19:02 -0300)]
Fixes: debbugs:18432
* lisp/progmodes/python.el (python-indent-calculate-levels): Fix
indentation behavior multiline dedenter statement.

* test/automated/python-tests.el (python-indent-dedenters-8): New test
for Bug#18432.

9 years agoIgnore generated file lib/stdalign.h.
Christoph Scholtes [Sat, 15 Nov 2014 21:11:06 +0000 (14:11 -0700)]
Ignore generated file lib/stdalign.h.

9 years agoFix region indentation
Fabián Ezequiel Gallina [Sat, 15 Nov 2014 21:10:58 +0000 (18:10 -0300)]
Fix region indentation

Fixes: debbugs:18843
* lisp/progmodes/python.el (python-indent-region): Use
python-indent-line and skip special cases.

* test/automated/python-tests.el (python-indent-region-1)
(python-indent-region-2, python-indent-region-3)
(python-indent-region-4, python-indent-region-5): New tests.

9 years ago* net/eww.el (eww-search-words): Mention `eww-search-prefix'.
Lars Magne Ingebrigtsen [Sat, 15 Nov 2014 20:18:58 +0000 (21:18 +0100)]
* net/eww.el (eww-search-words): Mention `eww-search-prefix'.

9 years agoEldoc setup code enhancements
Fabián Ezequiel Gallina [Sat, 15 Nov 2014 18:50:30 +0000 (15:50 -0300)]
Eldoc setup code enhancements

Fixes: debbugs:18962
* lisp/progmodes/python.el (python-eldoc-setup-code): Enhance string
type checks, simplify printing.

9 years agoUse cherry-pick -xe instead of git log amend
Lars Magne Ingebrigtsen [Sat, 15 Nov 2014 18:25:29 +0000 (19:25 +0100)]
Use cherry-pick -xe instead of git log amend

9 years agoBackport: Fix for 18993.
Jan D [Sat, 15 Nov 2014 18:20:37 +0000 (19:20 +0100)]
Backport: Fix for 18993.

* nsterm.m (ns_send_appdefined): Check for application defined
event on Cocoa (Bug#18993).  Backport from trunk.

9 years agoRedo the fix, the old takes too much CPU.
Jan D [Sat, 15 Nov 2014 18:09:58 +0000 (19:09 +0100)]
Redo the fix, the old takes too much CPU.

Fixes: 18993
* nsterm.m (ns_send_appdefined): Check for application defined
event on Cocoa (Bug#18993).
(run): Restore code before the previous 18993 fix.

9 years agoFix bug #19060 with inaccurate pixel-based scrolling.
Eli Zaretskii [Sat, 15 Nov 2014 17:04:17 +0000 (19:04 +0200)]
Fix bug #19060 with inaccurate pixel-based scrolling.

 src/window.c (window_scroll_pixel_based): Avoid truncation/rounding
 errors in computing the number of pixels to scroll.  Suggested by
 Kelly Dean <kelly@prtime.org>.

9 years agoFix cherry-pick conflict.
Michael Albinus [Sat, 15 Nov 2014 16:53:53 +0000 (17:53 +0100)]
Fix cherry-pick conflict.

9 years agoBackport: Fixes: debbugs:18940
Michael Albinus [Thu, 13 Nov 2014 15:26:51 +0000 (16:26 +0100)]
Backport: Fixes: debbugs:18940

* vc/vc-hg.el (vc-hg-state): Disable pager.

Conflicts:
lisp/ChangeLog

9 years agoAdd a draft of a very simple git workflow
Lars Magne Ingebrigtsen [Sat, 15 Nov 2014 16:06:34 +0000 (17:06 +0100)]
Add a draft of a very simple git workflow

9 years agoMark last change as "tiny"
Lars Magne Ingebrigtsen [Sat, 15 Nov 2014 15:25:55 +0000 (16:25 +0100)]
Mark last change as "tiny"

9 years ago(report-emacs-bug): Make a better guess at envelope-from
Peder O. Klingenberg [Sat, 15 Nov 2014 15:22:29 +0000 (16:22 +0100)]
(report-emacs-bug): Make a better guess at envelope-from

Fixes: debbugs:19054
* mail/emacsbug.el (report-emacs-bug): Make a better guess at
  envelope-from when reporting through sendmail.

9 years agoFix getting frame size wrong when restoring desktop.
Jan D [Sat, 15 Nov 2014 13:35:15 +0000 (14:35 +0100)]
Fix getting frame size wrong when restoring desktop.

* nsmenu.m (update_frame_tool_bar): If tool bar changes height,
call updateFrameSize.

9 years agoFixes: 18757
Jan D [Sat, 15 Nov 2014 12:39:30 +0000 (13:39 +0100)]
Fixes: 18757
* nsterm.m (setFrame:): Remove call to display (Bug#18757).

9 years agosrc/window.h (WINDOW_FRAME_LINE_HEIGHT): Fix a typo in a comment.
Eli Zaretskii [Sat, 15 Nov 2014 09:25:16 +0000 (11:25 +0200)]
src/window.h (WINDOW_FRAME_LINE_HEIGHT): Fix a typo in a comment.

 Reported by Kelly Dean <kelly@prtime.org>.

9 years ago.gitignore: Add lib-src/blessmail
Teemu Likonen [Sat, 15 Nov 2014 07:10:59 +0000 (09:10 +0200)]
.gitignore: Add lib-src/blessmail

9 years ago* .gitignore: Add a few more missing entries.
Stefan Monnier [Sat, 15 Nov 2014 05:44:14 +0000 (00:44 -0500)]
* .gitignore: Add a few more missing entries.

9 years agoBackport Use derived-mode-p in python.el instead of equality test with major-mode
Ivan Andrus [Sat, 1 Nov 2014 18:33:02 +0000 (12:33 -0600)]
Backport Use derived-mode-p in python.el instead of equality test with major-mode

Fixes: debbugs:18854
* progmodes/python.el (python-ffap-module-path): Use
`derived-mode-p' instead of equality test on `major-mode'.

9 years agoTime-out NS event loop
David Reitter [Fri, 14 Nov 2014 15:56:39 +0000 (10:56 -0500)]
Time-out NS event loop

OS X 10.10 will, at times, not send us the application-defined
event that is used to terminate the event loop.  As a workaround,
we define a timeout and react accordingly.  Leaving it in place
for other OSX and NS versions as a safety net.

Partial revert of 2014-11-08T16:32:37Z!jan.h.d@swipnet.se.

Fixes debbugs:18993

9 years agoUse derived-mode-p in python.el instead of equality test on major-mode
Ivan Andrus [Sat, 1 Nov 2014 18:33:02 +0000 (12:33 -0600)]
Use derived-mode-p in python.el instead of equality test on major-mode

* progmodes/python.el (python-shell-font-lock-kill-buffer):
(python-shell-font-lock-with-font-lock-buffer)
(python-shell-get-buffer, python-ffap-module-path): Use
`derived-mode-p' instead of equality test on `major-mode'.

9 years agoDon't rerun configure if lisp/version.el changes
Andreas Schwab [Fri, 14 Nov 2014 20:44:03 +0000 (21:44 +0100)]
Don't rerun configure if lisp/version.el changes

lisp/version.el is no longer the authority for emacs-version.

* Makefile.in (config.status): Don't depend on
${srcdir}/lisp/version.el.

9 years agoMerge from gnulib.
Paul Eggert [Fri, 14 Nov 2014 20:23:11 +0000 (12:23 -0800)]
Merge from gnulib.

2014-11-14 extern-inline: update commentary about GCC bugs
2014-11-06 unistd: port to iOS
2014-11-04 update from texinfo
* doc/misc/texinfo.tex, lib/unistd.in.h, m4/extern-inline.m4:
Update from gnulib.

9 years agobuild: port to GCC 4.6.4 + glibc 2.5
Paul Eggert [Fri, 14 Nov 2014 20:20:17 +0000 (12:20 -0800)]
build: port to GCC 4.6.4 + glibc 2.5

On platforms this old, building with _FORTIFY_SOURCE equal to 2
results in duplicate definitions of standard library functions.
Problem reported by Nelson H. F. Beebe.
* configure.ac (_FORTIFY_SOURCE): Sort after GNULIB_PORTCHECK.
By default, do not enable this unless GNULIB_PORTCHECK is defined.
This better matches the original intent, which as I recall was to
enable these extra checks only with --enable-gcc-warnings.

9 years ago* .gitignore: Add emacs-[1-9]*, to ignore files like emacs-25.0.50.1.
Paul Eggert [Fri, 14 Nov 2014 20:18:44 +0000 (12:18 -0800)]
* .gitignore: Add emacs-[1-9]*, to ignore files like emacs-25.0.50.1.

9 years ago(emacs-repository-get-version): Call `git log' with proper format argument
Ulrich Müller [Fri, 14 Nov 2014 04:03:32 +0000 (05:03 +0100)]
(emacs-repository-get-version): Call `git log' with proper format argument

Fixes: debbugs:19049
* version.el (emacs-repository-get-version): Call `git log'
command with proper format argument (bug#19049).

9 years agoIgnore all built versions of Emacs (and .gitattributes)
Lars Magne Ingebrigtsen [Fri, 14 Nov 2014 13:57:16 +0000 (14:57 +0100)]
Ignore all built versions of Emacs (and .gitattributes)

9 years agoCompress publicsuffix file to save space
David Reitter [Fri, 14 Nov 2014 12:22:01 +0000 (07:22 -0500)]
Compress publicsuffix file to save space

* url-domsuf.el (url-domsuf-parse-file): Read compressed
publicsuffix file if available.
* Makefile.in (install-arch-indep): Compress publicsuffix.txt file.

9 years agoAttempt to allocate less font entity objects in xfont_list_pattern
Dmitry Antipov [Fri, 14 Nov 2014 10:40:24 +0000 (13:40 +0300)]
Attempt to allocate less font entity objects in xfont_list_pattern

* xfont.c (xfont_list_pattern): Do not allocate font entity object
for each candidate font but attempt to reuse it from previous improper
candidate, if any.

9 years agoFixes: 19036
Jan Djärv [Fri, 14 Nov 2014 07:41:53 +0000 (08:41 +0100)]
Fixes: 19036
* nsfns.m (x_set_foreground_color, x_set_background_color)
(x_set_cursor_color, Fxw_color_values): Block/unblock input,
use SET_FRAME_GARBAGED instead of redraw_frame (Bug#19036).

9 years agoRename python-shell-virtualenv-path to fit GNU conventions
Fabián Ezequiel Gallina [Fri, 14 Nov 2014 06:26:08 +0000 (03:26 -0300)]
Rename python-shell-virtualenv-path to fit GNU conventions

* lisp/progmodes/python.el (python-shell-virtualenv-root): Rename from
python-shell-virtualenv-path.
(python-shell-internal-get-process-name)
(python-shell-calculate-process-environment)
(python-shell-calculate-exec-path): Use it.

9 years agoFix error preloading bindings.el.
Eli Zaretskii [Fri, 14 Nov 2014 06:14:06 +0000 (08:14 +0200)]
Fix error preloading bindings.el.

 lisp/bindings.el (search-map): Fix last change: don't use 'kbd' in
 bindings.el, since it is not yet loaded when bindings.el is preloaded.

9 years ago* lisp/progmodes/python.el (python-shell-completion-get-completions):
Fabián Ezequiel Gallina [Fri, 14 Nov 2014 05:29:40 +0000 (02:29 -0300)]
* lisp/progmodes/python.el (python-shell-completion-get-completions):
Fix previous merge.

9 years ago* net/eww.el (eww-render): Don't set the title to the URL.
Lars Magne Ingebrigtsen [Fri, 14 Nov 2014 04:08:34 +0000 (05:08 +0100)]
* net/eww.el (eww-render): Don't set the title to the URL.

9 years ago(emacs-repository-get-version): Call `git log' with proper format argument
Ulrich Müller [Fri, 14 Nov 2014 04:03:32 +0000 (05:03 +0100)]
(emacs-repository-get-version): Call `git log' with proper format argument

Fixes: debbugs:19049
* version.el (emacs-repository-get-version): Call `git log'
command with proper format argument (bug#19049).

9 years agoBind `M-s M-s' globally to `eww-search-words'
Kenjiro NAKAYAMA [Fri, 14 Nov 2014 03:46:11 +0000 (04:46 +0100)]
Bind `M-s M-s' globally to `eww-search-words'

Fixes: debbugs:16258
* etc/NEWS: Mention the new `M-s M-s' keystroke.

* lisp/bindings.el (search-map): Bind M-s M-s to `eww-search-words'.

* net/eww.el (eww-search-words): New command.

9 years agoDon't query on Gnus exits from ephemeral groups
Lars Magne Ingebrigtsen [Fri, 14 Nov 2014 03:24:14 +0000 (04:24 +0100)]
Don't query on Gnus exits from ephemeral groups

* gnus-sum.el (gnus-summary-exit-no-update): Don't query about
discarding changes in ephemeral groups.

9 years agoChangeLog entry from previous commit
Lars Magne Ingebrigtsen [Fri, 14 Nov 2014 03:20:03 +0000 (04:20 +0100)]
ChangeLog entry from previous commit

9 years agoSilence warnings in ietf-drums-parse-address
Lars Magne Ingebrigtsen [Fri, 14 Nov 2014 03:19:18 +0000 (04:19 +0100)]
Silence warnings in ietf-drums-parse-address

* ietf-drums.el (ietf-drums-parse-address): Don't issue warnings about
things the user isn't interested in.

9 years agoFix some 24-hour time stamps in documentation.
Paul Eggert [Fri, 14 Nov 2014 03:15:41 +0000 (19:15 -0800)]
Fix some 24-hour time stamps in documentation.

* doc/lispref/os.texi (Time of Day):
* doc/misc/org.texi (The date/time prompt, Matching tags and properties):
Use leading zero with 24-hour times less than 10:00.

9 years agoMerge branch 'master' of git.sv.gnu.org:/srv/git/emacs
Katsumi Yamaoka [Thu, 13 Nov 2014 22:12:32 +0000 (22:12 +0000)]
Merge branch 'master' of git.sv.gnu.org:/srv/git/emacs

9 years agolisp/gnus/gnus-notifications.el (gnus-notifications-notify): Provide both app-icon...
Julien Danjou [Thu, 13 Nov 2014 22:11:48 +0000 (22:11 +0000)]
lisp/gnus/gnus-notifications.el (gnus-notifications-notify): Provide both app-icon and image-path

9 years ago* net/shr.el (shr-inhibit-images): Add a doc string.
Lars Magne Ingebrigtsen [Thu, 13 Nov 2014 22:06:05 +0000 (23:06 +0100)]
* net/shr.el (shr-inhibit-images): Add a doc string.

9 years agoAdd a hook to be run after eww has rendered a page
Lars Magne Ingebrigtsen [Thu, 13 Nov 2014 21:41:55 +0000 (22:41 +0100)]
Add a hook to be run after eww has rendered a page

* net/eww.el (eww-after-render-hook): New variable.
(eww-render): Use it.

9 years agoMake shr stop descending into the dom before `max-specpdl-size' stops us
Lars Magne Ingebrigtsen [Thu, 13 Nov 2014 21:11:51 +0000 (22:11 +0100)]
Make shr stop descending into the dom before `max-specpdl-size' stops us

* net/shr.el (shr-descend): Don't descend further than
`max-specpdl-size' allows (bug#16587).
(shr-depth): New variable.
(shr-warning): New variable.

9 years agoBackport fix for minor Bazaar leftovers.
Paul Eggert [Thu, 13 Nov 2014 17:16:33 +0000 (09:16 -0800)]
Backport fix for minor Bazaar leftovers.

Reported by Perry E. Metzger in:
http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg00745.html
* .dir-locals.el: Remove reference to bzr commit --fixes debbugs.
* etc/CONTRIBUTE: More git transition.

9 years agoshr URL expansion fixes
Ivan Shmakov [Thu, 13 Nov 2014 18:41:20 +0000 (19:41 +0100)]
shr URL expansion fixes

Fixes: debbugs:17958
* net/shr.el (shr-parse-base): Handle <base href=""> correctly.
(shr-expand-url): Expand absolute URLs correctly (bug#17958).

9 years agoFix minor Bazaar leftovers.
Paul Eggert [Thu, 13 Nov 2014 17:16:33 +0000 (09:16 -0800)]
Fix minor Bazaar leftovers.

Reported by Perry E. Metzger in:
http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg00745.html
* .dir-locals.el: Remove reference to bzr commit --fixes debbugs.
* etc/CONTRIBUTE: More git transition.

9 years ago* net/eww.el (eww): Add comment to clarify.
Lars Magne Ingebrigtsen [Thu, 13 Nov 2014 16:59:35 +0000 (17:59 +0100)]
* net/eww.el (eww): Add comment to clarify.

9 years agoUse annotated tags for releases
Andreas Schwab [Thu, 13 Nov 2014 16:50:41 +0000 (17:50 +0100)]
Use annotated tags for releases

* make-tarball.txt: Make annotated tag and push it out.

9 years agoAdd forgotten ChangeLog entry for bug#16244
Lars Magne Ingebrigtsen [Thu, 13 Nov 2014 16:16:46 +0000 (17:16 +0100)]
Add forgotten ChangeLog entry for bug#16244

9 years agoDisplay SVG images in external <object> files
Lars Magne Ingebrigtsen [Thu, 13 Nov 2014 16:02:07 +0000 (17:02 +0100)]
Display SVG images in external <object> files

Fixes: debbugs:16244
* net/eww.el (eww-form-file): Fix version number.

* net/shr.el (shr-parse-image-data): Remove blocked bits from
external SVG images.
(shr-tag-object): Display images in <object> forms.
(shr-tag-table): Also insert <objects> after the tables.

9 years ago.gitignore: Add more ignorables.
Eli Zaretskii [Thu, 13 Nov 2014 16:06:54 +0000 (18:06 +0200)]
.gitignore: Add more ignorables.

9 years agoBackport .gitignore changes from master.
Lars Magne Ingebrigtsen [Thu, 13 Nov 2014 15:58:07 +0000 (17:58 +0200)]
Backport .gitignore changes from master.

 .gitignore: Copy over sufficient ignorable files from the old
 .bzrignore that a simple build doesn't list lots of unregistered
 files.

9 years agoMerge branch 'master' of git.sv.gnu.org:/srv/git/emacs
Michael Albinus [Thu, 13 Nov 2014 15:29:20 +0000 (16:29 +0100)]
Merge branch 'master' of git.sv.gnu.org:/srv/git/emacs

Conflicts:
lisp/ChangeLog

9 years agoFixes: debbugs:18940
Michael Albinus [Thu, 13 Nov 2014 15:26:51 +0000 (16:26 +0100)]
Fixes: debbugs:18940
* vc/vc-hg.el (vc-hg-state): Disable pager.

9 years agoAdd automaticall built files to .gitignore
Lars Magne Ingebrigtsen [Thu, 13 Nov 2014 14:25:48 +0000 (15:25 +0100)]
Add automaticall built files to .gitignore

* .gitignore: Copy over sufficient ignorable files from the old
.bzrignore that a simple build doesn't list lots of unregistered
files.

9 years ago* net/eww.el (eww-form-file): Fix version number.
Lars Magne Ingebrigtsen [Thu, 13 Nov 2014 13:10:05 +0000 (14:10 +0100)]
* net/eww.el (eww-form-file): Fix version number.

9 years agoAvoid undefined behavior in color table hashing.
Paul Eggert [Thu, 13 Nov 2014 06:34:52 +0000 (22:34 -0800)]
Avoid undefined behavior in color table hashing.

* image.c (CT_HASH_RGB) [COLOR_TABLE_SUPPORT]: Remove, replacing with ...
(ct_hash_rgb) [COLOR_TABLE_SUPPORT]: New function.  All uses changed.
This function avoids undefined behavior with signed shift overflow.

9 years ago* net/eww.el (eww-form-file): :type isn't a valid `defface' keyword.
Lars Magne Ingebrigtsen [Thu, 13 Nov 2014 05:13:19 +0000 (21:13 -0800)]
* net/eww.el (eww-form-file): :type isn't a valid `defface' keyword.

9 years agolisp/gnus/mml2015.el (mml2015-display-key-image): Adjust :version
Katsumi Yamaoka [Thu, 13 Nov 2014 04:22:48 +0000 (04:22 +0000)]
lisp/gnus/mml2015.el (mml2015-display-key-image): Adjust :version

9 years ago[Backport] lisp/gnus/mml2015.el (mml2015-display-key-image): New variable
Adam Sjøgren [Thu, 13 Nov 2014 04:22:36 +0000 (04:22 +0000)]
[Backport] lisp/gnus/mml2015.el (mml2015-display-key-image): New variable

9 years agoGit transition patch
Eric S. Raymond [Tue, 11 Nov 2014 18:28:05 +0000 (13:28 -0500)]
Git transition patch

All bzr revision IDS, and all CVS revision IDs for which a commit
could be identified, were changed to time-date!committer version
stamps. All .cvsignore files in the history became .gitignore files.
Fixes-bug annotations from bzr were copied into the corresponding
commit comments.

(The first .cvsignore commit was 1999-09-30T14:07:54Z!fx@gnu.org>.
The last CVS commit was <2009-12-27T08:11:12Z!cyd@stupidchicken.com>)

Committer/author email addresses are generally correct for the
transition day, not necessarily when the commit was originally made.

9 years agoGit transition patch
Eric S. Raymond [Tue, 11 Nov 2014 18:28:02 +0000 (13:28 -0500)]
Git transition patch

All bzr revision IDS, and all CVS revision IDs for which a commit
could be identified, were changed to time-date!committer version
stamps. All .cvsignore files in the history became .gitignore files.
Fixes-bug annotations from bzr were copied into the corresponding
commit comments.

(The first .cvsignore commit was 1999-09-30T14:07:54Z!fx@gnu.org>.
The last CVS commit was <2009-12-27T08:11:12Z!cyd@stupidchicken.com>)

Committer/author email addresses are generally correct for the
transition day, not necessarily when the commit was originally made.

9 years agoAllow uploading files from eww
Kenjiro NAKAYAMA [Mon, 10 Nov 2014 21:33:55 +0000 (22:33 +0100)]
Allow uploading files from eww

2014-11-10  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>

        * net/eww.el(eww-form-file(defface)): New defface of file upload form.
        (eww-submit-file): New key map of file upload.
        (eww-form-file): New file upload button and file name context.
        (eww-select-file): Select file and display selected file name.
        (eww-tag-input): Handle input tag of file type.
        (eww-update-field): Add point offset.
        (eww-submit): Add submit with multipart/form-data.

        * gnus/mm-url.el (mm-url-encode-multipart-form-data):
        Restore to handle "multipart/form-data" by eww.

9 years agoAllow using several eww buffers (bug#16211)
Lars Magne Ingebrigtsen [Mon, 10 Nov 2014 21:18:11 +0000 (22:18 +0100)]
Allow using several eww buffers (bug#16211)

* net/eww.el (eww-render, eww-display-html, eww-setup-buffer):
Allow taking a buffer to render data in.  This allows using several
eww buffers (bug#16211).

9 years ago(eww-download-callback): Save only the file contents
Charles Rendleman [Mon, 10 Nov 2014 20:55:55 +0000 (21:55 +0100)]
(eww-download-callback): Save only the file contents

* net/eww.el (eww-download-callback): Save only the file contents,
not the headers.

9 years ago(eww-save-history): Don't let the history grow infinitely.
Lars Magne Ingebrigtsen [Mon, 10 Nov 2014 20:44:33 +0000 (21:44 +0100)]
(eww-save-history): Don't let the history grow infinitely.

9 years ago* eww.texi (Basics): Document `eww-readable'.
Lars Magne Ingebrigtsen [Mon, 10 Nov 2014 20:37:17 +0000 (21:37 +0100)]
* eww.texi (Basics): Document `eww-readable'.

9 years agoRestore the header line after using `eww-readable'
Lars Magne Ingebrigtsen [Mon, 10 Nov 2014 20:34:43 +0000 (21:34 +0100)]
Restore the header line after using `eww-readable'

(eww-readable): Copy over pertinent data from the parent page.