]> git.eshelyaron.com Git - emacs.git/log
emacs.git
9 years ago* lisp/progmodes/python.el (python-indent-line): Use `noindent' in strings.
Stefan Monnier [Fri, 12 Dec 2014 14:55:42 +0000 (09:55 -0500)]
* lisp/progmodes/python.el (python-indent-line): Use `noindent' in strings.
(python-indent-levels): Document extra value.
(python-indent-calculate-indentation): Return `noindent' in strings.
(python-indent-post-self-insert-function)
(python-indent-calculate-levels): Handle new value.

9 years agoRemove more (fboundp 'gnutls-available-p)
Lars Magne Ingebrigtsen [Fri, 12 Dec 2014 11:32:42 +0000 (12:32 +0100)]
Remove more (fboundp 'gnutls-available-p)

* lisp/net/network-stream.el (network-stream-open-starttls): No need to
check for the availability of `gnutls-available-p'.

9 years agoIgnore directory symlinks in directory-files-recursively
Lars Magne Ingebrigtsen [Fri, 12 Dec 2014 10:52:58 +0000 (11:52 +0100)]
Ignore directory symlinks in directory-files-recursively

* files.el (directory-files-recursively): Don't follow symlinks to
other directories.

9 years agoRemove superfluous `gnutls-available-p' check
Lars Magne Ingebrigtsen [Fri, 12 Dec 2014 10:48:29 +0000 (11:48 +0100)]
Remove superfluous `gnutls-available-p' check

* lisp/url/url-http.el (url-http-parse-headers): `gnutls-available-p' is
now always available.

9 years agolatest-on-branch-p is no longer a public method
Eric S. Raymond [Fri, 12 Dec 2014 04:29:41 +0000 (23:29 -0500)]
latest-on-branch-p is no longer a public method

* vc/vc-dav.el, vc/vc-git.el, vc/vc-hg.el, vc/vc-src.el, vc/vc.el:
latest-on-branch-p is no longer a public method.

9 years agoRemove VC rollback method.
Eric S. Raymond [Fri, 12 Dec 2014 03:44:32 +0000 (22:44 -0500)]
Remove VC rollback method.

* vc/vc.el, vc/vc-hg.el, vc/vc-git.el, vc/vc-hooks.el,
vc/vc-mtn.el, vc/vc-rcs.el, vc/vc-sccs.el, vc/vc-src.el: rrollback
method removed, to be replaced in the future by uncommit.

9 years agoFixes: debbugs:19161
Stefan Monnier [Thu, 11 Dec 2014 21:07:23 +0000 (16:07 -0500)]
Fixes: debbugs:19161
* src/fileio.c: Better preserve window-points during revert.

(Qget_buffer_window_list): New var.
(get_window_points_and_markers, restore_window_points): New functions.
(Finsert_file_contents): Use them to save and restore window-points.

9 years agoFix a problem in url.el without GnuTLS
Lars Magne Ingebrigtsen [Thu, 11 Dec 2014 15:57:33 +0000 (16:57 +0100)]
Fix a problem in url.el without GnuTLS

Fixes: debbugs:19346
* lisp/url/url-http.el (url-http-parse-headers): Check that
`gnutls-available-p' is defined.

9 years agoNever pass an invalid X connection descriptor to an input reading loop
Dmitry Antipov [Thu, 11 Dec 2014 13:26:00 +0000 (16:26 +0300)]
Never pass an invalid X connection descriptor to an input reading loop

Fixes: debbugs:19147
* xterm.c (x_delete_terminal): Call emacs_close for X connection
descriptor if called from x_connection_closed and always delete
this descriptor from keyboard waiting set (Bug#19147).

9 years ago* automated/vc-tests.el (vc-test--revision-granularity-function):
Michael Albinus [Thu, 11 Dec 2014 12:01:45 +0000 (13:01 +0100)]
* automated/vc-tests.el (vc-test--revision-granularity-function):
New defun.
(vc-test--create-repo-function): Rename from
`vc-test--create-repo-if-not-supported'.  Adapt all callees.
(vc-test--create-repo): Check also for revision-granularity.
(vc-test--unregister-function): Additional argument FILE.  Adapt
all callees.
(vc-test--working-revision): New defun.
(vc-test-*-working-revision): New tests.

9 years ago* vc/vc-hg.el (vc-hg-state): Make FILE absolute. Handle the case
Michael Albinus [Thu, 11 Dec 2014 10:12:13 +0000 (11:12 +0100)]
* vc/vc-hg.el (vc-hg-state): Make FILE absolute.  Handle the case
that there is empty output.

9 years ago* lisp/emacs-lisp/eldoc.el (eldoc-documentation-function): Change default.
Stefan Monnier [Thu, 11 Dec 2014 02:56:33 +0000 (21:56 -0500)]
* lisp/emacs-lisp/eldoc.el (eldoc-documentation-function): Change default.

(eldoc-mode, eldoc-schedule-timer): Adjust to new default.

9 years ago* lisp/let-alist.el: Cosmetic changes.
Glenn Morris [Wed, 10 Dec 2014 21:18:46 +0000 (16:18 -0500)]
* lisp/let-alist.el: Cosmetic changes.

9 years agoChangeLog fixes
Glenn Morris [Wed, 10 Dec 2014 21:17:44 +0000 (16:17 -0500)]
ChangeLog fixes

9 years agoAdd let-alist macro and package.
Artur Malabarba [Wed, 10 Dec 2014 15:15:22 +0000 (10:15 -0500)]
Add let-alist macro and package.

* let-alist.el: Add new package and macro.

9 years agoFix out-of-memory condition in display of long bracketed lines (bug#19322)
Eli Zaretskii [Wed, 10 Dec 2014 17:39:37 +0000 (19:39 +0200)]
Fix out-of-memory condition in display of long bracketed lines (bug#19322)

 src/bidi.c (BIDI_CACHE_MAX_ELTS_PER_SLOT): New macro.
 (bidi_cache_max_elts): New global variable.
 (bidi_shelve_header_size): Add the sizeof bidi_cache_max_elts.
 (bidi_cache_shrink, bidi_initialize): Reset bidi_cache_max_elts to
 its initial value.
 (bidi_cache_search): Handle overflown cache.  Improve commentary.
 (bidi_cache_ensure_space): Limit allocations to the current value
 of bidi_cache_max_elts.  Force xpalloc not to over-allocate.  If
 less than a full BIDI_CACHE_CHUNK is left to the limit, decrease
 the increment to not exceed the limit.
 (bidi_cache_iterator_state): Now returns non-zero if succeeded to
 cache, zero otherwise (meaning the cache overflowed).  In the
 latter case, set bidi_cache_last_idx to -1.
 (bidi_peek_at_next_level): Handle overflown cache.
 (bidi_push_it): Increase the cache limit for iterating the new
 object.
 (bidi_pop_it): Decrease the cache limit back to previous value.
 (bidi_shelve_cache): Shelve the current value of the cache limit.
 (bidi_unshelve_cache): Restore the value of cache limit.
 (bidi_find_bracket_pairs): If the cache overflows while looking
 for the paired bracket, give up and let bidi_resolve_neutrals
 process the bracket as a simple neutral.
 (bidi_find_other_level_edge): If the cache overflows, fall back on
 Plan B, which effectively stops the reordering and restarts it on
 the next character (after resetting the cache).
 (bidi_move_to_visually_next): When the cache overflows, reset it
 after processing the last cached character.

9 years agoRighteous featurectomy of vc-keep-workfiles - always do it.
Eric S. Raymond [Wed, 10 Dec 2014 17:33:26 +0000 (12:33 -0500)]
Righteous featurectomy of vc-keep-workfiles - always do it.

* vc/vc-dispatcher.el, vc/vc-hooks.el, vc/vc-rcs.el, vc/vc-sccs.el,
vc/vc.el: Righteous featurectomy of vc-keep-workfiles, it's a
shoot-self-in-foot archaism.  Workfiles are always kept.

9 years ago(ange-ftp-switches-ok): Disallow flags causing trouble with ls over ftp.
Rasmus Pank Roulund [Wed, 10 Dec 2014 16:47:53 +0000 (17:47 +0100)]
(ange-ftp-switches-ok): Disallow flags causing trouble with ls over ftp.

Fixes: debbugs:19192
* net/ange-ftp.el (ange-ftp-switches-ok): Disallow flags causing
trouble with ls over ftp.  These flags result in ls returning no
output, causing Tramp-breakage.

9 years ago* files.el (file-tree-walk): Use file-name-as-directory
Andreas Schwab [Wed, 10 Dec 2014 08:44:26 +0000 (09:44 +0100)]
* files.el (file-tree-walk): Use file-name-as-directory
unconditionally.

9 years ago* automated/vc-tests.el (vc-test--register): Check, that the file
Michael Albinus [Wed, 10 Dec 2014 08:42:44 +0000 (09:42 +0100)]
* automated/vc-tests.el (vc-test--register): Check, that the file
still exists after register and unregister operations.

9 years agoFix glitches in gnutls.c, mostly memory-related
Paul Eggert [Wed, 10 Dec 2014 07:47:16 +0000 (23:47 -0800)]
Fix glitches in gnutls.c, mostly memory-related

* gnutls.c: Sort macro definitions by name.
(fn_gnutls_transport_set_errno): Omit unreachable definition.
(fn_gnutls_x509_crt_get_signature): Omit unused symbol.
(gnutls_hex_string): Arg is now unsigned char *, to avoid a cast.
Prefer ptrdiff_t for sizes.  Check for arithmetic overflow when
calculating string length.  Use make_uninit_string, to avoid
copying the string.  Cast the char, not the pointer.
(gnutls_certificate_details): Use xmalloc and xfree, not malloc
and free.  Work even for dates past the year 9999.  Use void *
for buffers, to avoid casts.

9 years agoSpeed up directory-files-recursively
Lars Magne Ingebrigtsen [Wed, 10 Dec 2014 04:38:23 +0000 (05:38 +0100)]
Speed up directory-files-recursively

* files.el (directory-files-recursively): Use
`file-name-all-completions' instead of `directory-files' for
greater speed.

9 years ago(shr-tag-object): Don't bug out on text elements in <object>
Lars Magne Ingebrigtsen [Wed, 10 Dec 2014 04:00:22 +0000 (05:00 +0100)]
(shr-tag-object): Don't bug out on text elements in <object>

9 years agoFix misspellings like "an unibyte buffer"
Paul Eggert [Wed, 10 Dec 2014 00:26:46 +0000 (16:26 -0800)]
Fix misspellings like "an unibyte buffer"

9 years agoeww.texi: Add missing "."
Glenn Morris [Tue, 9 Dec 2014 23:24:33 +0000 (18:24 -0500)]
eww.texi: Add missing "."

9 years agolisp/gnus/gnus-art.el: Refactored out gnus-article-mime-handles
Lars Magne Ingebrigtsen [Tue, 9 Dec 2014 22:32:44 +0000 (22:32 +0000)]
lisp/gnus/gnus-art.el: Refactored out gnus-article-mime-handles

9 years agoAdd a command for string quotes toggling to ruby-mode
Bozhidar Batsov [Tue, 9 Dec 2014 17:43:24 +0000 (19:43 +0200)]
Add a command for string quotes toggling to ruby-mode

* progmodes/ruby-mode.el (ruby-toggle-string-quotes): New command that
allows you to quickly toggle between single-quoted and double-quoted
string literals.

9 years agognutls.c (gnutls_protocol_get_name): Fix a copy/paste typo.
Andy Moreton [Tue, 9 Dec 2014 17:16:55 +0000 (19:16 +0200)]
gnutls.c (gnutls_protocol_get_name): Fix a copy/paste typo.

9 years agoAssociate more files with ruby-mode
Bozhidar Batsov [Tue, 9 Dec 2014 17:05:13 +0000 (19:05 +0200)]
Associate more files with ruby-mode

* progmodes/ruby-mode.el (auto-mode-alist): Add .rabl, Berksfile
and Puppetfile.

9 years agovc/vc-src.el (vc-src-do-comand): Prepend -- to file argument list
Eric S. Raymond [Tue, 9 Dec 2014 11:55:54 +0000 (06:55 -0500)]
vc/vc-src.el (vc-src-do-comand): Prepend -- to file argument list

* vc/vc-src.el (vc-src-do-comand): Prepend -- to file argument list,
avoids problems witth names containing hyphens.

9 years agoTypo fix.
Eric S. Raymond [Mon, 8 Dec 2014 22:15:58 +0000 (17:15 -0500)]
Typo fix.

9 years agoSync with upstream verilog-mode revision aa4b777
Wilson Snyder [Tue, 9 Dec 2014 07:14:30 +0000 (23:14 -0800)]
Sync with upstream verilog-mode revision aa4b777

* lisp/progmodes/verilog-mode.el (verilog-mode-version): Update.
(verilog-auto-end-comment-lines-re, verilog-end-block-ordered-re)
(verilog-set-auto-endcomments): Automatically comment property/
endproperty blocks to match other similar blocks like sequence/
endsequence, function/endfunction, etc.  Reported by Alex Reed.
(verilog-set-auto-endcomments): Fix end comments for functions of
type void, etc.  Detect the function- or task-name when
auto-commenting blocks that lack an explicit portlist.
Reported by Alex Reed.
(verilog-nameable-item-re): Fix nameable items that can have an
end-identifier to include endchecker, endgroup, endprogram,
endproperty, and endsequence.  Reported by Alex Reed.
(verilog-preprocessor-re, verilog-beg-of-statement):
Fix indentation of property/endproperty around pre-processor
directives.  Reported by Alex Reed.
(verilog-label-be): When auto-commenting a buffer, consider
auto-comments on all known keywords (not just a subset thereof).
Reported by Alex Reed.
(verilog-beg-of-statement): Fix labeling do-while blocks, bug842.
Reported by Alex Reed.
(verilog-beg-of-statement-1, verilog-at-constraint-p):
Fix hanging with many curly-bracket pairs, bug663.
(verilog-do-indent): Fix electric tab deleting form-feeds.
Note caused by indent-line-to deleting tabls pre 24.5.
(verilog-auto-output, verilog-auto-input, verilog-auto-inout)
(verilog-auto-inout-module, verilog-auto-inout-in): Doc fixes.
(verilog-read-always-signals, verilog-auto-sense-sigs)
(verilog-auto-reset): Fix AUTORESET with always_comb and always_latch,
bug844.  Reported by Greg Hilton.

Author: Alex Reed <acreed4@gmail.com> (tiny change)
* lisp/progmodes/verilog-mode.el (verilog-no-indent-begin-re):
Fix `verilog-indent-begin-after-if' nil not honoring 'forever',
'foreach', and 'do' keywords.
(verilog-endcomment-reason-re, verilog-beg-of-statement):
Fix labeling do-while blocks, bug842.
(verilog-backward-token): Fix indenting sensitivity lists with named
events, bug840.

9 years agoSync with upstream vhdl mode v3.36.1
Reto Zimmermann [Tue, 9 Dec 2014 06:34:12 +0000 (22:34 -0800)]
Sync with upstream vhdl mode v3.36.1

* lisp/progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
(vhdl-compiler-alist): Anchor all error regexps.
(vhdl-compile-use-local-error-regexp): Change default to nil.
(vhdl-asort, vhdl-anot-head-p): Remove.
(vhdl-aput, vhdl-adelete, vhdl-aget): Simplify.
Remove optional argument of vhdl-aget and update all callers.
(vhdl-import-project): Also set `vhdl-compiler'.

9 years agoImplement a new function directory-files-recursively
Lars Magne Ingebrigtsen [Tue, 9 Dec 2014 06:20:53 +0000 (07:20 +0100)]
Implement a new function directory-files-recursively

* doc/lispref/files.texi (Contents of Directories): Document
directory-files-recursively.

* etc/NEWS: Mention directory-files-recursively.

* lisp/files.el (find-files): New function.

9 years agoCorrect ChangeLog attribution
Glenn Morris [Tue, 9 Dec 2014 05:20:10 +0000 (21:20 -0800)]
Correct ChangeLog attribution

Ref thread: http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00306.html

9 years agobiditest: Change maintainer to emacs-devel rather than FSF.
Glenn Morris [Tue, 9 Dec 2014 04:46:38 +0000 (20:46 -0800)]
biditest: Change maintainer to emacs-devel rather than FSF.

The same thing was done for other files a while ago.

9 years agoMake inline SVGs work in shr again
Lars Magne Ingebrigtsen [Tue, 9 Dec 2014 04:18:12 +0000 (05:18 +0100)]
Make inline SVGs work in shr again

* net/shr.el (shr-dom-print): Don't print comments.
(shr-tag-svg): Give inline SVG images the right type.

9 years agoMake eww mark valid/invalid https pages
Lars Magne Ingebrigtsen [Tue, 9 Dec 2014 03:21:57 +0000 (04:21 +0100)]
Make eww mark valid/invalid https pages

* lisp/net/eww.el (eww-update-header-line-format): Mark valid/invalid
certificates in the header line.
(eww-invalid-certificate, eww-valid-certificate): New faces.

9 years agoMake the https logic in url-http work on redirects
Lars Magne Ingebrigtsen [Tue, 9 Dec 2014 03:21:12 +0000 (04:21 +0100)]
Make the https logic in url-http work on redirects

(url-http-parse-headers): When being redirected, make sure we
flush the previous certificate.

9 years agoMake URL pass the TLS peer status to the caller
Lars Magne Ingebrigtsen [Tue, 9 Dec 2014 02:59:48 +0000 (03:59 +0100)]
Make URL pass the TLS peer status to the caller

* lisp/url/url-http.el (url-http-parse-headers): Pass the GnuTLS
status of the connection to the caller.

9 years agopython.el: Don't change `comint-prompt-read-only' globally
Fabián Ezequiel Gallina [Tue, 9 Dec 2014 01:19:37 +0000 (22:19 -0300)]
python.el: Don't change `comint-prompt-read-only' globally

Fixes: debbugs:19288
* lisp/progmodes/python.el (inferior-python-mode): Set
`comint-prompt-read-only` to `t` only locally.

9 years ago(pulse-momentary-highlight-one-line): Respect POINT
Matt Curtis [Mon, 8 Dec 2014 23:57:12 +0000 (00:57 +0100)]
(pulse-momentary-highlight-one-line): Respect POINT

Fixes: debbugs:17260
* lisp/cedet/pulse.el (pulse-momentary-highlight-one-line): Respect
the POINT argument.

9 years agoMake NSM warn on `high' for older protocols, and document
Lars Magne Ingebrigtsen [Mon, 8 Dec 2014 21:51:54 +0000 (22:51 +0100)]
Make NSM warn on `high' for older protocols, and document

* doc/emacs/misc.texi (Network Security): Mention the new protocol-level
`high' NSM checks.

(nsm-check-protocol): Also warn if using SSL3 or older.

9 years agoMake the NSM prompting have more data
Lars Magne Ingebrigtsen [Mon, 8 Dec 2014 21:40:57 +0000 (22:40 +0100)]
Make the NSM prompting have more data

(nsm-format-certificate): Include more data about the connection.
(nsm-query): Fill the text to that it looks nicer.

9 years ago* lisp/net/nsm.el (nsm-check-protocol): Test for RC4 on `high'.
Lars Magne Ingebrigtsen [Mon, 8 Dec 2014 21:23:41 +0000 (22:23 +0100)]
* lisp/net/nsm.el (nsm-check-protocol): Test for RC4 on `high'.

9 years agoMake gnutls-peer-status return even more data
Lars Magne Ingebrigtsen [Mon, 8 Dec 2014 21:18:59 +0000 (22:18 +0100)]
Make gnutls-peer-status return even more data

* src/gnutls.c (Fgnutls_peer_status): Return the key exchange, cipher
and MAC algorithms.

9 years agomaintaining.texi: Suopport fo Arch has been moved to obolte.
Eric S. Raymond [Mon, 8 Dec 2014 20:30:49 +0000 (15:30 -0500)]
maintaining.texi: Suopport fo Arch has been moved to obolte.

Remove references that imply otherwise.

9 years ago(Fgnutls_error_fatalp): Doc fix (bug#18210)
Lars Magne Ingebrigtsen [Mon, 8 Dec 2014 20:09:10 +0000 (21:09 +0100)]
(Fgnutls_error_fatalp): Doc fix (bug#18210)

Fixes: debbugs:18210
9 years agoVarious minor details accumulated over time
Stefan Monnier [Mon, 8 Dec 2014 20:02:26 +0000 (15:02 -0500)]
Various minor details accumulated over time

* lisp/info.el (Info-mode-map): Remove left-over binding.
* lisp/net/tramp.el (tramp-handle-make-symbolic-link): Mark unused arg.
* lisp/obsolete/gulp.el (gulp-create-m-p-alist): Remove unused var `mnt-tm'.
* lisp/progmodes/gud.el (gud-gdb-completions): Remove unused var `start'.
* lisp/url/url-http.el (url-http-activate-callback): Make debug more verbose.
* src/process.c: Whitespace and line-break nitpicks.

9 years agoFatal GnuTLS errors are now silent by default
Lars Magne Ingebrigtsen [Mon, 8 Dec 2014 19:57:40 +0000 (20:57 +0100)]
Fatal GnuTLS errors are now silent by default

Fixes: debbugs:16253
(emacs_gnutls_handle_error): Fatal errors should be on level 1, so
that they are not messaged by default.

9 years ago* lisp/emacs-lisp/avl-tree.el: Use lexical-binding and cl-lib.
Stefan Monnier [Mon, 8 Dec 2014 19:49:17 +0000 (14:49 -0500)]
* lisp/emacs-lisp/avl-tree.el: Use lexical-binding and cl-lib.

(avl-tree--root): Remove redundant defsetf.

9 years ago(nsm-check-protocol): Check for weak Diffie-Hellman prime bits.
Lars Magne Ingebrigtsen [Mon, 8 Dec 2014 19:41:05 +0000 (20:41 +0100)]
(nsm-check-protocol): Check for weak Diffie-Hellman prime bits.

Fixes: debbugs:19153
9 years ago* src/gnutls.c: Add Windows specs for gnutls_dh_get_prime_bits.
Lars Magne Ingebrigtsen [Mon, 8 Dec 2014 19:09:31 +0000 (20:09 +0100)]
* src/gnutls.c: Add Windows specs for gnutls_dh_get_prime_bits.

9 years ago`network-security-level' documentation simplification
Lars Magne Ingebrigtsen [Mon, 8 Dec 2014 19:06:50 +0000 (20:06 +0100)]
`network-security-level' documentation simplification

* lisp/net/nsm.el (network-security-level): Remove the detailed
description, which was already outdated, and refer the users to
the manual.

9 years agoPut back :signature-algorithm into gnutls.c
Lars Magne Ingebrigtsen [Mon, 8 Dec 2014 18:58:39 +0000 (19:58 +0100)]
Put back :signature-algorithm into gnutls.c

(gnutls_certificate_details): Put :signature-algorithm back again,
which was removed by mistake.

9 years ago(Fgnutls_peer_status): Return the DH prime bits for the connection
Lars Magne Ingebrigtsen [Mon, 8 Dec 2014 18:48:38 +0000 (19:48 +0100)]
(Fgnutls_peer_status): Return the DH prime bits for the connection

9 years ago(gnutls_certificate_details): Clean up whitespace slightly.
Lars Magne Ingebrigtsen [Mon, 8 Dec 2014 18:40:50 +0000 (19:40 +0100)]
(gnutls_certificate_details): Clean up whitespace slightly.

9 years agoRemove unused data from gnutls_certificate_details
Lars Magne Ingebrigtsen [Mon, 8 Dec 2014 18:35:57 +0000 (19:35 +0100)]
Remove unused data from gnutls_certificate_details

* src/gnutls.c (gnutls_certificate_details): The :signature isn't
that useful, so remove it.

9 years ago* etc/NEWS: Mention the new eww `S' command.
Lars Magne Ingebrigtsen [Mon, 8 Dec 2014 18:30:16 +0000 (19:30 +0100)]
* etc/NEWS: Mention the new eww `S' command.

9 years agoCommands and mode for managing multiple eww buffers
Andrey Kotlarski [Mon, 8 Dec 2014 18:29:06 +0000 (19:29 +0100)]
Commands and mode for managing multiple eww buffers

Fixes: debbugs:19131
* doc/misc/eww.texi (Basics): Document managing multiple eww buffers.

* lisp/net/eww.el (eww-buffers-mode): New major mode.
(eww-list-buffers, eww-buffer-select, eww-buffer-show-next)
(eww-buffer-show-previous, eww-buffer-kill, eww-buffer-show): New
commands/functions.

9 years agoMake gnutls-negotiate ignore specially handled files
Lars Magne Ingebrigtsen [Mon, 8 Dec 2014 18:13:30 +0000 (19:13 +0100)]
Make gnutls-negotiate ignore specially handled files

Fixes: debbugs:15866
* lisp/net/gnutls.el (gnutls-negotiate): Ignore files found via
'file-name-handler-alist' since the gnutls library can't use those.

9 years agoFix merge glitches in 2 ChangeLog files.
Eli Zaretskii [Mon, 8 Dec 2014 17:10:38 +0000 (19:10 +0200)]
Fix merge glitches in 2 ChangeLog files.

9 years agoFix bug#19304
Dmitry Gutov [Mon, 8 Dec 2014 16:24:07 +0000 (18:24 +0200)]
Fix bug#19304

Fixes: debbugs:19304
* lisp/vc/vc-hg.el (vc-hg-dir-status-files): Only include ignores files
when FILES is non-nil.

9 years agovc/vc-arch.el: Moved to obsolete directory...
Eric S. Raymond [Mon, 8 Dec 2014 11:11:49 +0000 (06:11 -0500)]
vc/vc-arch.el: Moved to obsolete directory...

...so a test framework won't trip over bit-rot in it.  There has been no
Arch snapshot for nine years.

9 years ago(eww-copy-page-url): Add doc string.
Lars Magne Ingebrigtsen [Sun, 7 Dec 2014 21:18:09 +0000 (22:18 +0100)]
(eww-copy-page-url): Add doc string.

9 years agoRevert prefix behavior in RET to previous behavior
Lars Magne Ingebrigtsen [Sun, 7 Dec 2014 20:44:19 +0000 (21:44 +0100)]
Revert prefix behavior in RET to previous behavior

* net/eww.el (eww-follow-link): Revert prefix behaviour to
previous behavior.

9 years agoMake `G' in eww record history
Ivan Shmakov [Sun, 7 Dec 2014 20:14:07 +0000 (21:14 +0100)]
Make `G' in eww record history

Fixes: debbugs:19253
* net/eww.el (eww-browse-url): Use generate-new-buffer (was:
iterating over possible buffer names.)

* net/eww.el (eww): Moved history recording here...
(eww-browse-url): ... from here.

9 years ago(eww-current-buffer): Compilation fix for bug#18550 patch.
Lars Magne Ingebrigtsen [Sun, 7 Dec 2014 19:50:23 +0000 (20:50 +0100)]
(eww-current-buffer): Compilation fix for bug#18550 patch.

9 years agoMake a prefix to `eww-reload' work locally
Lars Magne Ingebrigtsen [Sun, 7 Dec 2014 19:49:16 +0000 (20:49 +0100)]
Make a prefix to `eww-reload' work locally

Fixes: debbugs:19086
* net/eww.el (eww-reload): Take a prefix to work locally (bug#19086).

9 years agoeww history restoration fix
Ivan Shmakov [Sun, 7 Dec 2014 19:38:38 +0000 (20:38 +0100)]
eww history restoration fix

Fixes: debbugs:18550
* net/eww.el (eww-list-histories): Restore the history in the
correct buffer.

9 years agoeww bookmark display fixup
Lars Magne Ingebrigtsen [Sun, 7 Dec 2014 19:32:07 +0000 (20:32 +0100)]
eww bookmark display fixup

Fixes: debbugs:16398
* net/eww.el (eww-bookmark-prepare): Display URLs in first by
displaying shortened titles first.

9 years ago(message-change-subject): Really check whether the subject changed
Lars Magne Ingebrigtsen [Sun, 7 Dec 2014 17:58:15 +0000 (18:58 +0100)]
(message-change-subject): Really check whether the subject changed

9 years ago* lisp/progmodes/python.el: Recognize docstrings.
Tom Willemse [Sun, 7 Dec 2014 16:24:35 +0000 (11:24 -0500)]
* lisp/progmodes/python.el: Recognize docstrings.

(python-docstring-at-p, python-font-lock-syntactic-face-function):
New functions.
(python-mode): Use them.

9 years agoFixes: debbugs:19133
Jan D [Sun, 7 Dec 2014 16:12:40 +0000 (17:12 +0100)]
Fixes: debbugs:19133
* nsimage.m (setPixmapData): Make bmRep local so class member is not
set.

9 years agofix last patch
Sam Steingold [Sat, 6 Dec 2014 23:53:39 +0000 (18:53 -0500)]
fix last patch

9 years agonewsticker: Context menu in treeview's tree.
UJ [Sat, 6 Dec 2014 19:56:56 +0000 (20:56 +0100)]
newsticker: Context menu in treeview's tree.

* net/newst-treeview.el (newsticker--treeview-list-add-item)
(newsticker--treeview-propertize-tag): Bind tree menu to mouse-3.
(newsticker--treeview-create-groups-menu)
(newsticker--treeview-create-tree-menu): Removed.
(newsticker--treeview-tree-open-menu): New.
(newsticker-treeview-tree-click): Pass event to
`newsticker-treeview-tree-do-click'.
(newsticker-treeview-tree-do-click): Open treemenu on mouse-3.

9 years ago* CONTRIBUTE: minor improvements
Stephen Leake [Sat, 6 Dec 2014 08:28:38 +0000 (02:28 -0600)]
* CONTRIBUTE: minor improvements

* ChangeLog: cleanup entries for my recent commits

9 years agoImprove CONTRIBUTE and related files.
Stephen Leake [Sat, 6 Dec 2014 08:11:36 +0000 (02:11 -0600)]
Improve CONTRIBUTE and related files.

* CONTRIBUTE: improve; add explicit web references, move some info from
  admin/notes/* here.

* INSTALL.REPO: You can't "just run make" after a clean checkout.

* admin/notes/commits: deleted; merged into ./CONTRIBUTE

* admin/notes/repo: move commit, branch info into ./CONTRIBUTE

9 years ago* automated/vc-tests.el: New file.
Michael Albinus [Sat, 6 Dec 2014 08:14:36 +0000 (09:14 +0100)]
* automated/vc-tests.el: New file.

9 years agoBetter support for milti-line shell input.
Juri Linkov [Fri, 5 Dec 2014 23:55:20 +0000 (01:55 +0200)]
Better support for milti-line shell input.

* lisp/comint.el (comint-history-isearch-search)
(comint-history-isearch-wrap): Use field-beginning instead of
comint-line-beginning-position.
(comint-send-input): Go to the end of the field instead of the end
of the line to accept whole multi-line input.
http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00305.html

9 years agoBetter check for displaying completions near the minibuffer.
Juri Linkov [Fri, 5 Dec 2014 23:42:11 +0000 (01:42 +0200)]
Better check for displaying completions near the minibuffer.

* lisp/minibuffer.el (minibuffer-completion-help): Compare
selected-window with minibuffer-window to check whether
completions should be displayed near the minibuffer.
http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00311.html

Fixes: debbugs:17809
9 years agopreparing for further changes/cleanup to developers/contributors docs
Stephen Leake [Fri, 5 Dec 2014 19:13:55 +0000 (13:13 -0600)]
preparing for further changes/cleanup to developers/contributors docs

* etc/CONTRIBUTE: renamed to ./CONTRIBUTE,

(my first commit to emacs trunk ever :)

9 years agoFix minor bugs in vc.
Michael Albinus [Fri, 5 Dec 2014 20:36:47 +0000 (21:36 +0100)]
Fix minor bugs in vc.

* vc/vc-mtn.el (vc-mtn-root):
* vc/vc-svn.el (vc-svn-registered): Make FILE absolute.

9 years agoMerge from emacs-24
Stefan Monnier [Fri, 5 Dec 2014 20:30:09 +0000 (15:30 -0500)]
Merge from emacs-24

9 years agoMerge from origin/emacs-24
Stefan Monnier [Fri, 5 Dec 2014 20:22:15 +0000 (15:22 -0500)]
Merge from origin/emacs-24

The following commit was skipped:

f9f2509 Auto-commit of loaddefs files.

9 years agoMerge from emacs-24
Stefan Monnier [Fri, 5 Dec 2014 20:20:02 +0000 (15:20 -0500)]
Merge from emacs-24

9 years agoMerge from origin/emacs-24
Stefan Monnier [Fri, 5 Dec 2014 20:12:00 +0000 (15:12 -0500)]
Merge from origin/emacs-24

The following commit was skipped:

babb0ca ChangeLog fix (do not merge to master)

9 years agoMerge from origin/emacs-24
Stefan Monnier [Fri, 5 Dec 2014 20:12:00 +0000 (15:12 -0500)]
Merge from origin/emacs-24

bb19b22 Python.el: Update commentary on RET-behavior

9 years ago* lisp: Prefer inlinable functions to macros.
Stefan Monnier [Fri, 5 Dec 2014 17:49:53 +0000 (12:49 -0500)]
* lisp: Prefer inlinable functions to macros.

* lisp/fringe.el (fringe-bitmap-p): Make it a plain function.

* lisp/tooltip.el (tooltip-region-active-p): Remove.

* lisp/net/shr.el (shr-char-breakable-p, shr-char-kinsoku-bol-p)
(shr-char-kinsoku-eol-p, shr-char-nospace-p): Use define-inline.

* lisp/url/url-future.el (url-future-done-p, url-future-completed-p)
(url-future-errored-p, url-future-cancelled-p):
* lisp/url/url-dav.el (url-dav-http-success-p): Use define-inline.

* lisp/vc/ediff-init.el (ediff-odd-p): Remove.
(ediff-background-face): Use cl-oddp instead.
(ediff-buffer-live-p): Make it a defsubst.

9 years ago* lisp/emacs-lisp/eieio-core.el: Prefer inlinable functions over macros.
Stefan Monnier [Fri, 5 Dec 2014 17:13:09 +0000 (12:13 -0500)]
* lisp/emacs-lisp/eieio-core.el: Prefer inlinable functions over macros.

(class-p, generic-p, eieio-object-p, class-abstract-p):
Make them defsubst, so as to avoid corner case problems where
the arg might be evaluated in the condition-case, or it can't be passed
to higher-order functions like `cl-some'.

9 years ago(widget-choose) Let numeric keypad work
Nicolas Richard [Fri, 5 Dec 2014 06:29:26 +0000 (07:29 +0100)]
(widget-choose) Let numeric keypad work

Fixes: debbugs:19268
* wid-edit.el (widget-choose): Let numeric keypad work
and remove old menu-related code.

9 years ago* NEWS: Add some doc markers to the eww stuff.
Lars Magne Ingebrigtsen [Fri, 5 Dec 2014 16:05:09 +0000 (17:05 +0100)]
* NEWS: Add some doc markers to the eww stuff.

9 years ago* eww.texi (Basics): Document eww PDF viewing.
Lars Magne Ingebrigtsen [Fri, 5 Dec 2014 16:01:24 +0000 (17:01 +0100)]
* eww.texi (Basics): Document eww PDF viewing.

9 years agoMake eww use mailcap when displaying PDF files
Lars Magne Ingebrigtsen [Fri, 5 Dec 2014 15:51:51 +0000 (16:51 +0100)]
Make eww use mailcap when displaying PDF files

Fixes: debbugs:19270
* net/eww.el (eww-display-pdf): Let mailcap determine how to
display PDF files.

9 years agoMake it easier to use mailcap for viewing single files
Lars Magne Ingebrigtsen [Fri, 5 Dec 2014 15:40:45 +0000 (16:40 +0100)]
Make it easier to use mailcap for viewing single files

* mailcap.el (mailcap-mime-data): Add doc-view-mode as a viewer for
PDFs.
(mailcap-view-mime): New function.

9 years agofix last patch
Sam Steingold [Fri, 5 Dec 2014 15:31:25 +0000 (10:31 -0500)]
fix last patch

* nextstep/Makefile.in (links): Use abs_top_builddir et al; link over DOC.

9 years agofix a typo in doc string
Sam Steingold [Fri, 5 Dec 2014 14:39:59 +0000 (09:39 -0500)]
fix a typo in doc string

9 years ago .gitignore: Ignore test/biditest.txt.
Eli Zaretskii [Fri, 5 Dec 2014 11:19:14 +0000 (13:19 +0200)]
 .gitignore: Ignore test/biditest.txt.

9 years agoReduce memory footprint of struct bidi_it by a factor of 5.
Eli Zaretskii [Fri, 5 Dec 2014 10:17:15 +0000 (12:17 +0200)]
Reduce memory footprint of struct bidi_it by a factor of 5.

 src/dispextern.h (enum bidi_dir_t): Force NEUTRAL_DIR to be zero.
 (struct bidi_stack): Reduce size by using bit fields and by
 packing sos, override, and isolate_status into a single 8-bit
 byte called 'flags'.
 src/bidi.c (ISOLATE_STATUS, OVERRIDE): New macros.
 (bidi_push_embedding_level): Construct flags from individual
 bits.  Adapt to changes in prev_for_neutral and next_for_neutral
 members.
 (bidi_pop_embedding_level): Use ISOLATE_STATUS.  Extract 'sos'
 from flags.  Adapt to changes in prev_for_neutral,
 next_for_neutral, and last_strong members.
 (bidi_line_init): Initialize flags to zero.
 (bidi_resolve_explicit, bidi_resolve_weak, bidi_resolve_brackets)
 (bidi_resolve_neutral): Use ISOLATE_STATUS and OVERRIDE.

9 years agoCompare with the most recently used window by default.
Juri Linkov [Fri, 5 Dec 2014 00:50:41 +0000 (02:50 +0200)]
Compare with the most recently used window by default.

* lisp/vc/compare-w.el (compare-windows-get-window-function):
New defcustom.
(compare-windows-get-recent-window)
(compare-windows-get-next-window): New functions.
(compare-windows, compare-windows-sync-default-function):
Use `compare-windows-get-window-function' instead of `next-window'.
(compare-windows): Add diff/match messages with region boundaries.
Fixes: debbugs:19170