| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Run admin/update-copyright.
|
|
|
|
|
|
|
|
| |
* src/window.c (window_scroll_pixel_based): Account for
scroll-margin when scrolling down, i.e. moving window-start
towards the beginning of the buffer. Reported by zhang cc
<ccsmile2008@outlook.com> in
http://lists.gnu.org/archive/html/emacs-devel/2017-12/msg00894.html.
|
|
|
|
|
| |
Don't mess with the lock file when inhibit_modification_hooks is set,
just like we do in prepare_to_modify_buffer_1.
|
|
|
|
|
|
|
|
| |
* src/buffer.c (Fset_buffer_modified_p)
(Frestore_buffer_modified_p): Doc fixes.
* src/insdel.c (syms_of_insdel) <inhibit-modification-hooks>:
Document in the doc string that this variable also inhibits file
locks and active region handling. (Bug#29846)
|
|
|
|
|
|
|
| |
* src/minibuf.c (syms_of_minibuf) <enable-recursive-minibuffers>:
Doc fix. (Bug#29873)
Copyright-paperwork-exempt: yes
|
|
|
|
|
|
| |
* src/xdisp.c (display_mode_element): Signal an error if
':eval' somehow deletes the frame whose window we are
redisplaying. (Bug#29726)
|
| |
|
|
|
|
|
|
| |
* src/xdisp.c (extend_face_to_end_of_line): Avoid infloop when
filling up display margins with the default face's background.
(Bug#29789)
|
|
|
|
|
| |
* src/gnutls.c: Introduce HAVE_GNUTLS_EXT__DUMBFW for GnuTLS >= 3.2.5.
(Fgnutls_available_p): Use it.
|
|
|
|
|
|
| |
* src/gnutls.c: Introduce HAVE_GNUTLS_EXT_GET_NAME and use it.
(init_gnutls_functions): Use it.
(Fgnutls_available_p): Use it (Bug#25061). Fix Vlibrary_cache bug.
|
|
|
|
|
|
|
| |
* src/gtkutil.c (xg_update_scrollbar_pos): Update width of
scrollbar when scaling is in effect.
(xg_update_horizontal_scrollbar_pos): Update scrollbar size
when scaling is in effect.
|
|
|
|
|
|
|
|
|
| |
* lisp/net/gnutls.el (gnutls-boot-parameters): Use it to set %DUMBFW
only when it's supported as "ClientHello Padding" (Bug#25061).
* src/gnutls.c (Fgnutls_available_p): Get extension names and
put them in the GnuTLS capabilities, using a hard-coded limit
of 100 since GnuTLS MAX_EXT_TYPES is not exported.
|
|
|
|
|
|
|
|
| |
* doc/lispref/display.texi (Invisible Text): Document the return
value of 'invisible-p'.
* src/xdisp.c (Finvisible_p): Rename the argument POS. Doc fix.
(Bug#29721)
|
|
|
|
|
|
| |
* src/dispnew.c (check_glyph_memory): Remove no-longer-needed
check that Vframe_list is non-nil, as FOR_EACH_FRAME no longer
assumes that.
|
|
|
|
|
|
|
|
|
|
|
|
| |
This cleans up a recent fix related to Bug#29661.
Suggested by Stefan Monnier in:
https://lists.gnu.org/r/emacs-devel/2017-12/msg00544.html
* src/frame.c (next_frame, prev_frame, delete_frame):
Restore debugging checks that Vframe_list is non-nil,
as FOR_EACH_FRAME no longer has these checks.
(delete_frame): Remove no-longer-needed checks that Vframe_list is
non-nil, as FOR_EACH_FRAME no longer assumes that.
* src/frame.h (FOR_EACH_FRAME): Do not assume Vframe_list is non-nil.
|
| |
|
|
|
|
|
|
|
|
|
| |
This does not fix Bug#29961 but avoids that Emacs segfaults when
trying to shut down because it lost connection to the X server.
* src/dispnew.c (check_glyph_memory):
* src/frame.c (delete_frame): Don't run FOR_EACH_FRAME when
there's no frame left (Bug#29961).
|
| |
|
|
|
|
| |
* src/buffer.c (Fbuffer_list): Fix doc-string.
|
|
|
|
|
|
|
| |
* src/macfont.m (macfont_get_glyph_for_character):
(mac_font_get_glyphs_for_variants): Inline Objective-C blocks.
(cherry picked from commit 4590f1d768adbb2120a2b02c614f7ed3b21a4a3e)
|
|
|
|
|
|
|
|
| |
* admin/unidata/IVD_Sequences.txt: New version from
http://www.unicode.org/ivd/, the 2017-12-12 version of the Unicode
Ideographic Variation Database.
* src/macuvs.h: Regenerated.
|
|
|
|
|
|
|
| |
* src/fontset.c (free_realized_fontsets): Call
recompute_basic_faces, so that the basic faces are available to
any Lisp that calls this function, e.g. via set-fontset-font.
(Bug#29632)
|
|
|
|
|
|
|
|
|
| |
* src/buffer.h (bset_left_margin_cols, bset_right_margin_cols):
New inline functions.
* src/xfns.c (Fx_show_tip):
* src/w32fns.c (Fx_show_tip): Force display margins of the tip
buffer to zero, as it will be displayed in a pseudo-window, which
doesn't support display margins. (Bug#29627)
|
|
|
|
|
| |
* src/xdisp.c (Fdump_glyph_row, Fdump_tool_bar_row): Allow to
specify ROW via prefix argument. Fix the doc strings.
|
|
|
|
|
| |
* src/xdisp.c (display_line): Remove incorrect increment of
it->continuation_pixel_width when word-wrap is used. (Bug#29594)
|
|
|
|
|
|
| |
* src/xterm.c (x_draw_underwave): Move the declaration of
'thickness' to the non-USE_CAIRO branch, to avoid compiler
warning. (Bug#29567)
|
|
|
|
|
|
|
|
| |
This fixes a off-by-one buffer overrun bug introduced in
2017-06-04T15:39:37Z!eggert@cs.ucla.edu. Problem uncovered by an
experimental version of Emacs built with -fcheck-pointer-bounds
and running on Intel MPX hardware.
* src/editfns.c (styled_format): Avoid overrunning internal buffers.
|
|
|
|
|
|
| |
* src/nsterm.m (ns_xlfd_to_fontname): Fix sscanf format.
Copyright-paperwork-exempt: yes
|
|
|
|
|
|
|
|
| |
* src/font.c (font_range): If called with STRING non-nil and FACE
a NULL pointer, compute face by calling face_at_string_position.
(Bug#29506)
* lisp/composite.el (find-composition): Doc fix.
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
Problem discovered by configuring with --enable-gcc-warnings on
Ubuntu 17.10 x86-64 with gcc (Ubuntu 7.2.0-8ubuntu3).
* src/bytecode.c (exec_byte_code): Call the C error function
instead of the Lisp one, so that the Emacs interpreter does not go
haywire if the user redefines the Lisp error function.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* src/font.c (syms_of_font) <font-weight-table, font-slant-table>
<font-width-table>:
* src/data.c (syms_of_data) <most-positive-fixnum>
<most-negative-fixnum>:
* src/buffer.c (syms_of_buffer) <enable-multibyte-characters>:
Mention in the doc strings that these variables are read-only.
* doc/lispref/variables.texi (Creating Buffer-Local): Document
that making a constant variable buffer-local signals an error.
* doc/lispref/variables.texi (Constant Variables):
* doc/lispref/errors.texi (Standard Errors): More accurate and
up-to-date documentation of which symbols cannot be assigned
values.
|
| |
|
|
|
|
|
|
|
| |
* src/buffer.c (Fgenerate_new_buffer_name): Pacify GCC 7.2.1
20170915 (Red Hat 7.2.1-2) on i686 with -Wformat-overflow -O2 by
using XINT rather than XFASTINT and by adding an eassume. This
works around GCC bug 80776.
|
|
|
|
|
|
|
|
| |
* src/fileio.c (Fcopy_file, Frename_file): Tweak the recent change
slightly, as NEWNAME is treated as a directory name depending only
on the contents of the NEWNAME string, and independently of
whether NEWNAME names a directory (i.e., whether the directory
exists) (Bug#29362).
|
|
|
|
|
| |
* src/thread.c (really_call_select): Don't try to take the global
lock if the same thread is already holding it. (Bug#29347)
|
| |
|
|
|
|
|
| |
* src/thread.c (acquire_global_lock): Don't try to take the global
lock if the same thread is already holding it. (Bug#29347)
|
|
|
|
|
| |
* src/fileio.c (Fcopy_file, Frename_file): Mention in the doc
strings that directory names must end in a slash. (Bug#29362)
|
|
|
|
|
|
| |
* src/window.c (window_scroll_pixel_based): Account for the
header-line when comparing Y coordinate with the last_visible_y.
(Bug#29325)
|
| |
|
|
|
|
|
|
| |
Add explicit permanent-local mark.
; * src/buffer.c (init_buffer_once): Comment.
|
| |
|
|
|
|
|
| |
* src/nsterm.m (EmacsView::performDragOperation): Drag and drop
doesn't use ns-input-file.
|
|
|
|
|
| |
* src/nsterm.m (ns_draw_window_divider): Use
window-divider-first-pixel and window-divider-last-pixel faces.
|
| |
|
|
|
|
|
|
|
|
|
| |
* src/xterm.c (x_draw_window_divider):
* src/w32term.c (w32_draw_window_divider): Fix misbehavior when
drawing three-pixel high horizontal dividers (Bug#29353).
The misbehavior was noted by Keith David Bershatsky and analyzed by Alan
Third.
|
|
|
|
|
| |
* src/nsfns.m (Fx_create_frame): Set right-divider-width and
bottom-divider-width parameters.
|
|
|
|
|
| |
(read_key_sequence): Recompute first_event
after replay_sequence, since it might have changed (bug#29104).
|