1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-24 07:20:37 +00:00
Commit Graph

123909 Commits

Author SHA1 Message Date
Brian Burns
410bb697ad Add nt/INSTALL.W64 build instructions
* nt/INSTALL.W64: New file.
* nt/INSTALL: Point to INSTALL.W64 for 64-bit build instructions.
2015-12-31 19:00:16 +02:00
Joakim Jalap
8f5b524d04 Add new input method 'programmer-dvorak'
* lisp/leim/quail/programmer-dvorak.el ("programmer-dvorak"): New
input method.

* etc/NEWS: Mention it.
2015-12-31 18:01:45 +02:00
Eli Zaretskii
6d11f6ed9a Allow to invoke original M-TAB binding in 'flyspell-prog-mode'
* lisp/textmodes/flyspell.el (flyspell-prog-mode): Record the
original M-TAB binding in a buffer-local variable.
(flyspell-auto-correct-word): Invoke the original binding of M-TAB
if that is recorded, when point is in a place where flyspell
should not be active (e.g., because the user turned on
'flyspell-prog-mode').  (Bug#18533)
2015-12-31 17:44:07 +02:00
Eli Zaretskii
bb83bb11f9 Fix EWW rendering of long RTL lines
* lisp/net/shr.el (shr-insert-document): Undo any previous hscroll
of the selected window before filling its lines.  (Bug#22250)
2015-12-31 17:18:25 +02:00
Vincent Belaïche
b1a8509030 fix bug#21054
* ses.el (ses-check-curcell): Call `ses-set-curcell' unconditionally
2015-12-31 09:21:46 +01:00
YAMAMOTO Mitsuharu
ce5ad125ef Clean up cairo printing code
* src/gtkutil.c (xg_get_page_setup): Use listn.
* src/xfns.c (Fx_export_frames, Fx_print_frames_dialog): Doc fix.  Use
decode_window_system_frame and FRAME_VISIBLE_P.
(Fx_print_frames_dialog): Use redisplay_preserve_echo_area instead
of Fdisplay.
* src/xterm.c (x_cr_export_frames): Use redisplay_preserve_echo_area
instead of Fdisplay.  Temporarily unblock_input around QUIT.
2015-12-31 14:18:09 +09:00
YAMAMOTO Mitsuharu
30f4a892ec Move variables to inner loop, preparing for Mac port merge
* src/keyboard.c (command_loop_1): Move variables `cmd',
`keybuf', and `i' to inner loop.
2015-12-31 11:28:16 +09:00
YAMAMOTO Mitsuharu
6ee327d8a1 Add handle_user_signal_hook
* src/keyboard.h (handle_user_signal_hook): New declaration.
* src/keyboard.c (handle_user_signal_hook): New variable.
(handle_user_signal): Call it.
2015-12-31 11:17:35 +09:00
YAMAMOTO Mitsuharu
47580e0d72 Avoid writing to purespace
* src/alloc.c (Fmake_string): Don't write to empty string contents.
(allocate_vector): Don't write to empty vector size.
* src/character.h (CHECK_CHARACTER_CAR, CHECK_CHARACTER_CDR):
Don't call unnecessary XSETCAR or XSETCDR.
* src/lisp.h (STRING_SET_UNIBYTE, STRING_SET_MULTIBYTE): Don't
write to empty string size_byte.
2015-12-31 10:59:40 +09:00
YAMAMOTO Mitsuharu
0588be7ca6 Remove unused variable
* lisp/international/mule-cmds.el: Remove unused variable
`mac-system-coding-system'.
2015-12-31 10:43:57 +09:00
YAMAMOTO Mitsuharu
89e7483d9f * configure.ac: Find libxml2 headers in Xcode SDK dir on Darwin. 2015-12-31 10:37:15 +09:00
YAMAMOTO Mitsuharu
3b95e9c1f3 Use posix_openpt instead of openpty on Darwin
* configure.ac (PTY_ITERATION, FIRST_PTY_LETTER, PTY_OPEN)
(PTY_NAME_SPRINTF, PTY_TTY_NAME_SPRINTF): Remove
Darwin-specific definitions.  Use posix_openpt instead.
2015-12-31 10:24:12 +09:00
Shakthi Kannan
86312ffd93 Document support for ':documentation' in Lisp mode
* lisp/emacs-lisp/lisp-mode.el (lisp-string-in-doc-position-p)
(lisp-string-after-doc-keyword-p)
(lisp-font-lock-syntactic-face-function): Add doc strings.
2015-12-30 19:59:12 +02:00
Shakthi Kannan
c930e75bfa Document new features of TeX mode
* doc/emacs/text.texi (TeX Print): Document
'tex-print-file-extension'.
* doc/emacs/programs.texi (Misc for Programs): Document support
for Prettify Symbols mode in TeX mode.
2015-12-30 19:46:55 +02:00
Eli Zaretskii
7c83d84619 Clarify docs of hscroll in RTL text
* doc/lispref/windows.texi (Horizontal Scrolling): Clarify the
meaning of a window's horizontal scroll amount for RTL paragraphs.
2015-12-30 19:13:44 +02:00
Eli Zaretskii
4c8f8db24e Fix rendering of HTML pages that use character composition
* src/indent.c (Fvertical_motion): Fix the case when point starts
in the middle of a composition, as in shr-vertical-motion.
(Bug#22250)
2015-12-30 19:00:19 +02:00
Eli Zaretskii
a8d37ca628 Avoid some compiler warnings in w32.c
* src/w32.c (codepage_for_filenames, crlf_to_lf)
(ansi_encode_filename, socket_to_fd, sys_write)
(check_windows_init_file): Avoid compiler warnings about
differences in pointer signedness.
2015-12-30 18:26:56 +02:00
Dmitry Gutov
ce106f3de6 Undo ill-advised change
* lisp/progmodes/xref.el (xref-collect-matches): Undo
ill-advised change.  The hits come in the order that `find'
produces them in, which isn't alphabetical.
2015-12-30 06:25:48 +02:00
Dmitry Gutov
be0bba46a0 Unbreak completion in python-mode buffers
* lisp/progmodes/python.el (python-shell-completion-at-point):
Unbreak in python-mode buffers.
2015-12-30 06:25:48 +02:00
Eli Zaretskii
e823c34072 Fix typos in CC Mode manual
* doc/misc/cc-mode.texi (c-offsets-alist, Style Variables): Fix
typos.  (Bug#22267)
2015-12-29 22:56:53 +02:00
Eli Zaretskii
57bd9a35ef Avoid assertion violations in compact_font_cache_entry
* src/alloc.c (compact_font_cache_entry): Don't use VECTORP to
avoid assertion violation in ASIZE.  (Bug#22263)
2015-12-29 20:07:23 +02:00
Eli Zaretskii
88e2de2381 Fix filling text with bidirectional characters in shr.el
* lisp/net/shr.el (shr-insert-document): Bind
bidi-display-reordering to nil while filling lines.  This is
required for when a line includes characters whose bidi
directionality is opposite to the base paragraph direction,
because columns are counted in the logical order.  (Bug#22250)
2015-12-29 18:49:57 +02:00
Martin Rudalics
9fc2d2c0c7 * src/xfns.c (x_create_tip_frame): Process alpha parameter. 2015-12-29 17:41:15 +01:00
Michael Albinus
8ca864ba8d Sync with Tramp 2.2.13
* doc/misc/trampver.texi: Change version to "2.2.13.25.1".

* lisp/net/tramp-compat.el (tramp-compat-delete-dups):
Use `tramp-compat-funcall'.

* lisp/net/tramp-gvfs.el (tramp-gvfs-parse-device-names):
Make `split-string' call compatible with older Emacsen.

* lisp/net/trampver.el: Change version to "2.2.13.25.1".
2015-12-29 15:35:44 +01:00
Lambda Coder
959ce5271b * doc/misc/tramp.texi: Editorial revisions to the Tramp manual 2015-12-29 15:33:54 +01:00
Lars Ingebrigtsen
6e5df6c901 Mention that tls.el is secure by default, and will fail 2015-12-29 14:46:40 +01:00
Lars Ingebrigtsen
de5c44fe88 Make tls.el use trustfiles by default
* lisp/net/tls.el (tls-program): Add a certfile by default (bug#21227).
(open-tls-stream): Insert the trustfile by looking at
`gnutls-trustfiles'.
2015-12-29 14:46:20 +01:00
Lars Ingebrigtsen
1ba1e35fbe Refactor out gnutls-trustfiles
* lisp/net/gnutls.el (gnutls-trustfiles): Refactor out for reuse by tls.el.
2015-12-29 14:39:53 +01:00
Lars Ingebrigtsen
ad9aaa460e Remove --insecure from gnutls-cli invocation
* tls.el (tls-program): Default to using secure TLS
connections (bug#19284).
2015-12-29 14:30:53 +01:00
Paul Eggert
00beafafd7 Spelling fix 2015-12-28 19:06:14 -08:00
Paul Eggert
3f09548ecb Port report-emacs-bug to deterministic builds
* lisp/mail/emacsbug.el (report-emacs-bug): Future-proof the
recent "built on" change to deterministic builds where
emacs-build-system will be nil.  See:
http://lists.gnu.org/archive/html/emacs-devel/2015-12/msg01369.html
2015-12-28 18:43:43 -08:00
Dmitry Gutov
11fe8e485e ; * lisp/progmodes/project.el: Update TODO 2015-12-29 03:53:32 +02:00
Jose A. Ortega Ruiz
499dac5497 Fix URL auth error message
* lisp/url/url-http.el (url-http-handle-authentication): Make the error
message more correct (bug#20069).

Copyright-paperwork-exempt: yes
2015-12-29 01:27:48 +01:00
Lars Ingebrigtsen
9982c01d1a shr link traversal fixup
* shr.el (shr-next-link): Don't bug out on adjacent links.

Backport:

(cherry picked from commit 1efc5f8b09)
2015-12-28 21:58:46 +01:00
Tom Tromey
2ed9de442c set :safe on css-indent-offset
* lisp/textmodes/css-mode.el (css-indent-offset): Add :safe 'integerp.
2015-12-28 13:13:00 -07:00
Lars Ingebrigtsen
82b9bfc409 * eww.el (eww-mode): Remove superfluous bidi reset. 2015-12-28 21:02:43 +01:00
James Stout
57029f3d84 Make chunked encoding trailer detection more compliant
* lisp/url/url-http.el
(url-http-chunked-encoding-after-change-function): Make
trailer detection more compliant (bug#16345).

Copyright-paperwork-exempt: yes
2015-12-28 20:55:36 +01:00
Martin Rudalics
6dcaa56a13 Fix Bug#10873 in `report-emacs-bug'
* lisp/mail/emacsbug.el (report-emacs-bug): If
`report-emacs-bug-no-explanations' is nil, make sure we can show
mail and warnings buffer on this frame (Bug#10873).
2015-12-28 19:11:22 +01:00
Lars Ingebrigtsen
b406665df1 Always reset the bidi direction
* eww.el (eww-display-html): Always reset the bidi direction
to `left-to-right' (bug#22257).
2015-12-28 18:14:05 +01:00
Alan Mackenzie
326ffcce5f Allow line comments ending with escaped NL to be continued to the next line.
Use this in C, C++, and Objective C Modes.  Fixes bug#22246

* src/syntax.c (comment-end-can-be-escaped): New buffer local variable.
(forw-comment, back-comment): On encountering an end of comment character,
test whether it is escaped when `comment-end-can-be-escaped' is non-nil.

* doc/lispref/syntax.texi (Control Parsing): Describe
`comment-end-can-be-escaped'.

* etc/NEWS (Lisp Changes): Describe `comment-end-can-be-escaped'.

* lisp/progmodes/cc-langs.el: New c-lang-setvar `comment-end-can-be-escaped'.
2015-12-28 16:01:05 +00:00
Dmitry Gutov
17ab0d10e1 Rename project-library-roots to project-external-roots
* lisp/progmodes/project.el (project-library-roots): Rename to
project-external-roots.
(project-library-roots-function): Rename to
project-vc-external-roots-function.  Only use it in the VC
backend, for now.  Update project-external-roots accordingly.
(project-vc-library-roots): Remove.
(project-or-libraries-find-regexp):
Rename to project-or-external-find-regexp.

* lisp/progmodes/elisp-mode.el (elisp-library-roots):
Rename to elisp-load-path-roots.

* lisp/progmodes/etags.el (etags-library-roots): Remove.  Use
an anonymous function for the default value of
project-vc-external-roots-function.
2015-12-28 06:17:37 +02:00
Deniz Dogan
a36c88806d Clear erc user list upon disconnection
* lisp/erc/erc-backend.el (erc-process-sentinel): Clear channel user
lists upon disconnection.  This prevents invalid channel
user lists when reconnecting (bug#10947).
2015-12-27 22:36:55 +01:00
Lars Ingebrigtsen
ff5f37e56a Don't bug out in erc after waking from sleep
* erc-backend.el (erc-server-send-ping): If the server has
closed connection, this may already have been detected and
`erc-server-last-received-time' has been set to nil (bug#13608).
2015-12-27 22:18:32 +01:00
David Edmondson
af25edebbc Proxy error in erc with multiple clients
* lisp/erc/erc.el (erc-channel-receive-names): Fix errors
generated when multiple IRC clients talk to a single IRC proxy
(bug#19034).

Backport:

(cherry picked from commit 507e98a54d)
2015-12-27 21:34:19 +01:00
Dima Kogan
2cd894dc34 Ensure that we don't have several timers in erc
* lisp/erc/erc-backend.el (erc-server-setup-periodical-ping): Checks
for existing timers in the alist before adding new ones.  If a
timer already exists, it is cancelled and
overwritten. (bug#19292).
2015-12-27 21:19:13 +01:00
Jens Lechtenboerger
85c1843f65 Fix mml-sec build warnings
* lisp/gnus/mml-sec.el: Fix warnings by adding autoloads
(bug#18718).

Backport:

(cherry picked from commit 3603097f62)
2015-12-27 21:13:59 +01:00
Lars Ingebrigtsen
5caa4dea5a Don't insert erc logs at the end
* erc-log.el (erc-log-setup-logging): Insert the previous log
at the start of the buffer, not at the end (bug#20496).
2015-12-27 21:08:01 +01:00
Lars Ingebrigtsen
03dbfb948c (eww-setup-buffer): Restore left-to-right defaults
* eww.el (eww-setup-buffer): Restore left-to-right defaults.

Backport:

(cherry picked from commit 96c874b96b)
2015-12-27 20:35:23 +01:00
Lars Ingebrigtsen
504982765c Don't join erc channels doubly
* erc-join.el (erc-autojoin-channels): Don't join channels
more than once (if you have several nicks) (bug#20695).
2015-12-27 20:26:22 +01:00
Eli Zaretskii
3ad99c4674 Avoid leaving "ghost" of mouse pointer on MS-Windows
* src/w32term.c (frame_set_mouse_pixel_position):
* src/w32fns.c (Fw32_mouse_absolute_pixel_position): Momentarily
disable "mouse trails" when moving the mouse pointer.  (Bug#22247)
* src/w32term.c (frame_set_mouse_pixel_position): Include
w32common.h.
2015-12-27 20:52:21 +02:00