summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* check-declare.el (check-declare-files): Fix orderscratch/check-declareOleh Krehel2015-02-181-3/+7
| | | | | | * lisp/emacs-lisp/check-declare.el (check-declare-files): Make the order of the errors that same as in the file. Add code to ensure that `first-error' will work properly.
* check-declare.el: Use compilation-style warningsOleh Krehel2015-02-142-6/+33
| | | | | | | * lisp/emacs-lisp/check-declare.el (check-declare-warn): Add file-line-column info to the warning. (check-declare-files): Make sure that `check-declare-warning-buffer' is in `compilation-mode'.
* check-declare.el (check-declare-ext-errors): New defcustom.Oleh Krehel2015-02-132-1/+19
| | | | | | | * emacs-lisp/check-declare.el (check-declare): New defgroup. (check-declare-verify): When `check-declare-ext-errors' is non-nil, warn about an unfound function, instead of saying "skipping external file".
* emacs-lisp/package.el (describe-package-1): Fix "incompat" handling.Artur Malabarba2015-02-132-3/+4
|
* emacs-lisp/package.el (package--incompatible-p): Check dependencies.Artur Malabarba2015-02-132-10/+57
|
* Move rfc2104 from gnus to netLars Magne Ingebrigtsen2015-02-132-0/+4
| | | | * net/rfc2104.el: Moved here from lisp/gnus.
* Implement SCRAM-SHA-1 SASL mechanismMagnus Henoch2015-02-135-3/+226
| | | | | | | | | | | | | Fixes: debbugs:17636 * lisp/net/sasl-scram-rfc.el: New file. * lisp/net/sasl.el (sasl-mechanisms): Remove SCRAM-MD5. Add SCRAM-SHA-1 first. (sasl-mechanism-alist): Remove SCRAM-MD5 entry. Add SCRAM-SHA-1 entry. * test/automated/sasl-scram-rfc-tests.el: New file.
* lisp/gnus/gnus-msg.el (gnus-msg-mail): Buffer-local warning fix (bug#19573)Lars Magne Ingebrigtsen2015-02-132-4/+12
|
* lisp/gnus/nnmail.el (nnmail-expiry-target-group): Allow expiring nnimap to a ↵Lars Magne Ingebrigtsen2015-02-132-1/+6
| | | | group again
* * lisp/net/shr.el (shr-tag-li): Speed up rendering pages with lots of <ul>Lars Magne Ingebrigtsen2015-02-132-3/+13
|
* Better support for future pluginsPaul Eggert2015-02-124-16/+41
| | | | | | | | | | | | See the thread containing: http://lists.gnu.org/archive/html/emacs-devel/2015-02/msg00720.html * lib-src/make-docfile.c (write_globals): Generate code that #defines Qxxx macros other than Qnil only if DEFINE_NONNIL_Q_SYMBOL_MACROS. Qnil is safe to define even in plugins, since it must be zero for other reasons. * src/lisp.h (DEFINE_LISP_SYMBOL): New macro, replacing and simplifying DEFINE_LISP_SYMBOL_BEGIN / DEFINE_LISP_SYMBOL_END. All uses changed. (DEFINE_NONNIL_Q_SYMBOL_MACROS): New macro, defaulting to true.
* gdb-mi.el (gdb-display-io-nopopup): New defcustom.Oleh Krehel2015-02-122-1/+17
| | | | | * lisp/progmodes/gdb-mi.el (gdb-inferior-filter): Don't pop up the buried output buffer when `gdb-display-io-nopopup' is non-nil.
* lisp/gnus/gnus-art.el (gnus-article-browse-html-save-cid-content, ↵Katsumi Yamaoka2015-02-122-21/+37
| | | | gnus-article-browse-html-parts): Make cid file names relative if and only if html doesn't specify <base> directory
* python.el: Allow killing shell buffer if process is dead.Fabián Ezequiel Gallina2015-02-122-7/+16
| | | | | | | | | Fixes: debbugs:19823 * lisp/progmodes/python.el (python-shell-font-lock-kill-buffer): Don't require a running process. (python-shell-font-lock-post-command-hook): Fontify only if the shell process is running.
* emacs-lisp/package.el: Indicate incompatible packages.Artur Malabarba2015-02-122-1/+35
| | | | | These are packages which require a higher emacs version than the current one.
* emacs-lisp/package.el (package-install): Invert the second argument.Artur Malabarba2015-02-122-15/+20
|
* * lisp/hi-lock.el: Don't call font-lock-remove-keywords if not needed.Stefan Monnier2015-02-112-5/+14
| | | | | | Fixes: debbugs:19737 (hi-lock-unface-buffer): Don't call font-lock-remove-keywords if not needed.
* Add a backward-compatible version of seq-reverseNicolas Petton2015-02-114-10/+47
| | | | | | | | | * lisp/emacs-lisp/seq.el (seq-reverse): Add a backward-compatible version of seq-reverse that works on sequences in Emacs 24. Bump version to 1.2. * test/automated/seq-tests.el (test-seq-reverse, test-seq-group-by): Add a test for seq-reverse and update test for seq-group-by to test vectors and strings, not only lists.
* Improve seq-group-by to return sequence elements in correct orderNicolas Petton2015-02-116-17/+32
| | | | | | | | * lisp/emacs-lisp/seq.el (seq-group-by): Improves seq-group-by to return sequence elements in correct order * tests/automated/seq-tests.el: Update test for seq-group-by * doc/lispref/sequences.texi (Sequence Functions): Update documentation examples for seq-group-by
* Add manual entry for fullscreen-restore parameter.Martin Rudalics2015-02-113-2/+21
| | | | | * frames.texi (Size Parameters): Describe `fullscreen-restore' parameter.
* Improve toggling fullscreen state of frames.Martin Rudalics2015-02-117-57/+113
| | | | | | | | | | | | | | | | | | * frame.el (toggle-frame-maximized, toggle-frame-fullscreen): Rename frame parameter `maximized' to `fullscreen-restore'. Restore fullwidth/-height after fullboth state. Update doc-strings. * w32term.c (w32_read_socket): In SIZE_MAXIMIZED and SIZE_RESTORED cases correctly handle `maximized' value for the `fullscreen' parameter. Don't use the 'maximized' parameter any more. (w32fullscreen_hook): Include menu bar height when calculating new text height in FULLSCREEN_BOTH case. * xterm.c (do_ewmh_fullscreen): Handle transition from FULLSCREEN_BOTH to FULLSCREEN_MAXIMIZED when x_frame_normalize_before_maximize is set. * frames.texi (Size Parameters): Update description of fullscreen frame parameter.
* Fix <li><p> indentation in shrLars Magne Ingebrigtsen2015-02-112-17/+29
| | | | | (shr-ensure-paragraph): Don't insert a new paragraph as the first item in a <li>.
* lisp/gnus/gnus-art.el (gnus-treat-buttonize): Don't buttonize URLs in HTMLLars Magne Ingebrigtsen2015-02-112-1/+6
|
* (shr-fill-line): Preserve background colours when indenting/folding.Lars Magne Ingebrigtsen2015-02-112-3/+14
|
* shr space widths fixupLars Magne Ingebrigtsen2015-02-112-25/+31
| | | | | * lisp/net/shr.el (shr-insert): Make sure the space inserted has the right font (for width).
* * package-test.el (package-test-signed): More informative failure messagesGlenn Morris2015-02-102-9/+15
| | | | Not that anyone appears to read them.
* lisp/gnus/mm-decode.el: Fix previous commitKatsumi Yamaoka2015-02-101-2/+3
|
* Merge branch 'master' of git.sv.gnu.org:/srv/git/emacsKatsumi Yamaoka2015-02-107-1266/+1214
|\
| * Fix up :align-to background coloursLars Magne Ingebrigtsen2015-02-102-5/+19
| | | | | | | | | | | | (shr-insert-table): Only copy the background, not underline and the like. (shr-face-background): New function.
| * Use bool for boolean in xdisp.cPaul Eggert2015-02-095-1261/+1195
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * dispextern.h (display_prop_intangible_p, resize_mini_window) (pixel_to_glyph_coords, mark_window_display_accurate) (compute_display_string_pos, handle_tool_bar_click) (x_intersect_rectangles, clear_mouse_face, display_tty_menu_item): * lisp.h (setup_echo_area_for_printing, message_with_string) (pos_visible_p): Use bool for boolean. * xdisp.c: Use bool, true, false intstead of int, 1, 0. Remove unnecessary forward decls. (trace_move) [DEBUG_TRACE_MOVE]: Now static. (CHECK_IT, CHECK_WINDOW_END): Now an inline function that is always defined. (check_it) [0]: (check_window_end) [oGLYPH_DEBUG && ENABLE_CHECKING]: Remove; no longer needed. (handle_stop): Prefer (X && !Y) to (X ? !Y : 0). (get_overlay_strings): Omit unnecessary casts. (forward_to_next_line_start): (Ftool_bar_height): Prefer !BOOL to (BOOL ? 0 : 1). (next_element_function): New typedef. (get_next_element): Use it. Now const. (IT_POS_VALID_AFTER_MOVE_P): Prefer !X || Y==0 to (X ? Y==0 : 1). (vmessage): Now ATTRIBUTE_FORMAT_PRINTF (1, 0), to pacify GCC 4.9.2 (display_echo_area): Prefer BOOLEXPR to BOOLEXPR ? 1 : 0. (tool_bar_item_info): Simplify. (invisible_prop): Rename from invisible_p, since it doesn't return bool. All callers changed. (x_produce_glyphs): Simplify.
* | lisp/gnus/mm-decode.el: Fix previous commitKatsumi Yamaoka2015-02-102-3/+9
|/
* shr cleanup and background color fixLars Magne Ingebrigtsen2015-02-102-44/+13
| | | | | | (shr-table-widths): Off-by-one error in width computation. (shr-expand-newlines): Remove dead code. (shr-insert-table): Extend background colors to the end of the column.
* (shr-tag-hr): Compute the right length when using fonts.Lars Magne Ingebrigtsen2015-02-102-2/+7
|
* Fix <h1> and <tt> renderingLars Magne Ingebrigtsen2015-02-102-1/+9
| | | | | (shr-tag-h1): Don't use variable-pitch fonts on fontless rendering. (shr-tag-tt): New function.
* Mention the shr font changesLars Magne Ingebrigtsen2015-02-103-0/+18
| | | | * doc/misc/eww.texi (Basics): Mention eww-toggle-fonts.
* Allow using variable-width fonts in ewwLars Magne Ingebrigtsen2015-02-105-264/+513
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/gnus/mm-decode.el (mm-shr): Only pass the fill column when not using fonts, because limiting the width to what's appropriate for followups doesn't really help when not using proportional fonts. * lisp/net/shr.el (shr-use-fonts): New variable. (shr-fill-text): Rename from "fold". (shr-pixel-column, shr-pixel-region, shr-string-pixel-width): New functions. (shr-insert): Just insert, don't fill the text. Filling is now done afterwards per display unit. (shr-fill-lines, shr-fill-line): New functions to fill text on a per-unit base. (shr-find-fill-point): Take a "beginning" parameter. (shr-indent): Indent using the :width display parameter when using fonts. (shr-parse-style): Ignore "inherit" values, since we already do that. (shr-tag-img): Remove the insertion states. (shr-tag-blockquote): New-style filling. (shr-tag-dd): Ditto. (shr-tag-li): Ditto. (shr-mark-fill): New function to mark lines that need filling. (shr-tag-h1): Use a larger font. (shr-tag-table-1): Get the natural and suggested widths in one rendering. (shr-tag-table): Create the "fixed" version of the table only once so that we can cache data in the table. (shr-insert-table): Get colspan calculations right by having zero-width columns after colspan ones. (shr-expand-alignments): New function to make :align-to specs work right when rendered in one buffer and displayed in another one. (shr-insert-table-ruler): Use :align-to to get the widths right. (shr-make-table): Cache more. (shr-make-table-1): Use the new <td> data layout. (shr-pixel-buffer-width): New function. (shr-render-td): Add a caching layer. (shr-dom-max-natural-width): New function.
* python.el: Fix typo in eldoc initialization for Emacs 24.xFabián Ezequiel Gallina2015-02-091-2/+2
|
* python.el: Improved shell font lock respecting markers.Fabián Ezequiel Gallina2015-02-092-49/+53
| | | | | | | | | | | | Fixes: debbugs:19650 * lisp/progmodes/python.el (python-shell-font-lock-get-or-create-buffer): Use special buffer name. (python-shell-font-lock-with-font-lock-buffer): Enable font lock. (python-shell-font-lock-post-command-hook): Fontify by copying text properties from fontified buffer to shell, keeping markers unchanged. (python-shell-font-lock-turn-off): Fix typo. (python-util-text-properties-replace-name): Delete function.
* Check for some overflows in vertical-motionPaul Eggert2015-02-092-19/+33
| | | | | | | * indent.c (window_column_x): New function. (Fvertical_motion): Use it to protect against integer overflow when computing column. Prefer extract_float to doing things by hand. Avoid unnecessary casts.
* * xfont.c: Minor style fixesPaul Eggert2015-02-092-101/+101
| | | | | (xfont_list_pattern): Reindent to 80 cols and use Emacs-style comments. Redo loop so that less indentation is needed.
* Fixes: debbugs:19820Gareth Rees2015-02-092-1/+5
| | | | * etc/NEWS.24: Fix typo
* Fixes: debbugs:19815Simen Heggestøyl2015-02-092-2/+6
| | | | * lisp/textmodes/css-mode.el (css-smie-rules): Fix paren indent.
* Merge branch 'master' of git.savannah.gnu.org:/srv/git/emacsEli Zaretskii2015-02-093-9/+13
|\
| * * lisp/emacs-lisp/cl-generic.el (cl--generic-lambda): Use macroexp-parse-body.Stefan Monnier2015-02-092-9/+6
| |
| * * lisp/emacs-lisp/eieio-core.el (eieio-oset-default): Catch the unexpectedStefan Monnier2015-02-092-0/+7
| | | | | | | | case where the default value would be re-interpreted as a form!
* | Speed up vertical-motion when screen coordinates are knownEli Zaretskii2015-02-095-24/+74
|/ | | | | | | | | | src/indent.c (Fvertical_motion): Accept an additional argument CUR-COL and use it as the starting screen coordinate. src/window.c (window_scroll_line_based, Fmove_to_window_line): All callers of vertical-motion changed. doc/lispref/positions.texi (Screen Lines): Update the documentation of vertical-motion to document the new additional argument.
* Remove unused assignment.Dima Kogan2015-02-092-1/+4
| | | | * font.c (font_score): Remove unused variable assignment.
* Try non-scaled xld fonts first, and scaled if that failed.Dima Kogan2015-02-093-85/+108
| | | | | | | | | Fixes: debbugs:19117 * xfaces.c (realize_basic_faces): Don't set Qscalable_fonts_allowed to t. * font.c (font_score): Try to find a font without scaling first, and only accept scalable fonts if we did not get a match.
* * src/keyboard.c (syms_of_keyboard): Use non-nil default value.Stefan Monnier2015-02-092-1/+5
|
* * lisp/help-fns.el (help-fns--signature): Keep doc for keymap.Christopher Genovese2015-02-092-1/+7
|