summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Remove all remaining uses of gnus-group-decoded-namescratch/gnus-decodedEric Abrahamsen2019-06-216-125/+70
| | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/gnus/gnus-art.el (gnus-article-setup-buffer): * lisp/gnus/nnrss.el (nnrss-retrieve-groups): * lisp/gnus/message.el (message-forward-subject-author-subject): (message-forward-subject-name-subject): * lisp/gnus/gnus-msg.el (gnus-inews-insert-gcc): (gnus-inews-make-draft): * lisp/gnus/gnus-group.el (gnus-group-compact-group): (gnus-group-list-active): (gnus-group-kill-group): (gnus-group-set-current-level): (gnus-group-expire-articles-1): (gnus-group-catchup-current): (gnus-group-edit-group): (gnus-group-rename-group): (gnus-group-delete-group): (gnus-group-name-at-point): Remove calls in all these places, group names are always decoded. * lisp/gnus/gnus-cache.el: Remove variables gnus-cache-unified-group-names and gnus-cache-decoded-group-names, and function gnus-cache-decoded-group-name. (gnus-cache-generate-active): Do not access gnus-cache-unified-group-names. (gnus-cache-file-name): Don't decode.
* Temporarily preserve encoded group names in Gnus category fileEric Abrahamsen2019-06-211-40/+62
| | | | | * lisp/gnus/gnus-agent.el (gnus-category-read): Decode on read. (gnus-category-write): Encode on write.
* Fix encoding bug in gnus-group-rename-groupEric Abrahamsen2019-06-211-6/+2
| | | | | * lisp/gnus/gnus-group.el (gnus-group-rename-group): Should not be encoding or decoding here.
* Do not encode/decode Gnus group names when completingEric Abrahamsen2019-06-201-26/+7
| | | | | * lisp/gnus/gnus-group.el (gnus-group-completing-read): This was a leftover from earlier.
* Replace octal regexp with [:ascii:] char class in GnusEric Abrahamsen2019-06-174-7/+7
| | | | | | | | | | | | In the regexp used to match multibyte group names * lisp/gnus/gnus-group.el (gnus-group-completing-read): * lisp/gnus/gnus-registry.el (gnus-registry--munge-group-names): * lisp/gnus/gnus-start.el (gnus-make-hashtable-from-newsrc-alist): (gnus-active-to-gnus-format): (gnus-read-newsrc-el-file): * lisp/gnus/message.el (message-make-in-reply-to): Replace in these locations.
* Remove Gnus group name decoding in Gnus agentEric Abrahamsen2019-06-171-33/+14
| | | | | | | | | | | | | | | No longer necessary, as group names are already decoded. * lisp/gnus/gnus-agent.el: Remove variable gnus-agent-decoded-group-names and function gnus-agent-decoded-group-name. (gnus-agent-read-group): (gnus-agent-group-path): (gnus-agent-group-pathname): (gnus-agent-fetch-articles): (gnus-agent-fetch-headers): (gnus-agent-expire-group-1): (gnus-agent-regenerate-group): Remove calls in these functions.
* Decode group names in newsrc files as raw-text, not utf-8Eric Abrahamsen2019-06-171-1/+1
| | | | | * lisp/gnus/gnus-start.el (gnus-newsrc-to-gnus-format): They're written as 'raw-text, like the comment says.
* Ensure that group names are encoded in the Gnus registry fileEric Abrahamsen2019-06-161-4/+55
| | | | | | | | * lisp/gnus/gnus-registry.el (gnus-registry--munge-group-names): New function for either encoding names (while saving) or decoding them (while reading). (gnus-registry-fixup-registry, gnus-registry-read): Use in these two locations.
* Make sure to decode group names read from newsrc filesEric Abrahamsen2019-06-161-1/+3
| | | | | * lisp/gnus/gnus-start.el (gnus-newsrc-to-gnus-format): The files are written as 'raw-text.
* Check for encoded Gnus group names when parsing active infoEric Abrahamsen2019-06-161-1/+5
| | | | | * lisp/gnus/gnus-start.el (gnus-active-to-gnus-format): NNTP serves may send encoded non-ascii group names.
* Further fix to previous commitEric Abrahamsen2019-06-101-1/+2
| | | | | * lisp/gnus/gnus-start.el (gnus-gnus-to-quick-newsrc-format): This was writing a corrupt gnus-newsrc-alist into newsrc.eld.
* Fix/extension to previous commitEric Abrahamsen2019-06-091-24/+37
| | | | | | | * lisp/gnus/gnus-start.el (gnus-read-newsrc-el-file): The same decoding needs to be done for group names in gnus-topic-alist. (gnus-gnus-to-quick-newsrc-format): Fix bogus temporary setting of variables; a simply let binding is sufficient.
* Preserve group name encoding in newsrc.eld filesEric Abrahamsen2019-06-061-1/+13
| | | | | | * lisp/gnus/gnus-start.el (gnus-gnus-to-quick-newsrc-format): Preserve Gnus' earlier odd encoding of group names. Don't change any file formats until it's time to release a new Gnus version.
* Don't add encoding cookie in Gnus' active filesEric Abrahamsen2019-05-011-1/+0
| | | | | * lisp/gnus/gnus-util.el (gnus-write-active-file): This doesn't do what I thought it would do.
* Default nnmail-active-file-coding-system to utf-8-emacsEric Abrahamsen2019-04-301-1/+1
| | | | | * lisp/gnus/nnmail.el (nnmail-active-file-coding-system): Read and write as utf-8-emacs.
* Don't change the default of nnmail-file-coding-systemEric Abrahamsen2019-04-241-1/+1
| | | | | | * lisp/gnus/nnmail.el (nnmail-file-coding-system): This governs how articles are decoded and saved, nothing to do with group names, shouldn't have touched this.
* Decode Gnus group names when browsing server group listsEric Abrahamsen2019-04-231-17/+21
| | | | | | * lisp/gnus/gnus-srvr.el (gnus-browse-foreign-server): The coding system for the nntp-server-buffer is 'binary; decode group names as 'utf-8-emacs.
* Obsolete and remove nmail-group-names-not-encoded-pEric Abrahamsen2019-04-222-46/+21
| | | | | | | | | | * lisp/gnus/nnmail.el (nnmail-group-names-not-encoded-p): Use make-obsolete-variable. (nnmail-split-incoming): Do not bind. * lisp/gnus/nnml.el (nnml-save-mail, nnml-active-number): Remove check. (nnml-request-group, nnml-request-expire-articles): Group name is already decoded, don't decode again.
* WIP on removing all internal encoding/decodingEric Abrahamsen2019-04-2114-217/+127
|
* Fix double-free in pdumperPaul Eggert2019-04-211-3/+9
| | | | | | | | | Revert the double-free bug that I introduced in 2019-03-11T15:20:54Z!eggert@cs.ucla.edu. * src/pdumper.c (dump_mmap_reset): Do not free the private member; that’s the release function’s job. (dump_mm_heap_cb_release): Free cb if its refcount goes to zero. (dump_mmap_contiguous_heap): Mention memory leak in comment.
* Merge from origin/emacs-26Glenn Morris2019-04-215-10/+11
|\ | | | | | | | | | | | | | | | | | | | | 9d7e08d (origin/emacs-26) Avoid false positives and false negatives o... 75b589c Fix markup related to quoting in Info fd6ff29 Merge branch 'emacs-26' of git.savannah.gnu.org:/srv/git/emac... cd2204f Add a package: line to c-submit-bug-report. a992dca ; Remove empty NEWS sections ea67270 ; Add NEWS sections for 26.3 45b0946 ; Bump Emacs version to 26.2.50 aae8cc3 * admin/admin.el (set-version): Add NEWS headers for a .50 ve...
| * Avoid false positives and false negatives of Info-quoted faceMauro Aranda2019-04-211-1/+2
| | | | | | | | | | | | | | * lisp/info.el (Info-mode-font-lock-keywords): Modify the regexp, for matching single quotes of opening single quote and closing single quote, and avoid matching text followed by a curly quote when it is not quoting. (Bug#35202)
| * Fix markup related to quoting in InfoEli Zaretskii2019-04-214-9/+9
| | | | | | | | | | | | | | | | * doc/misc/sc.texi (Citations): Fix markup of '>'. * doc/misc/mh-e.texi (Speedbar): Fix markup in a @table. * doc/misc/calc.texi (Yacas Language Mode): Fix a typo. * doc/emacs/mark.texi (Setting Mark): Remove duplicate quoting. (Bug#35202)
| * Merge branch 'emacs-26' of git.savannah.gnu.org:/srv/git/emacs into emacs-26Eli Zaretskii2019-04-217-15/+54
| |\
* | \ ; Merge from origin/emacs-26Glenn Morris2019-04-210-0/+0
|\ \ \ | |/ / | | | | | | | | | | | | The following commit was skipped: bacdaa5 Use pkg-config to find lcms2 CFLAGS and LIBS (Bug#30346)
| * | Use pkg-config to find lcms2 CFLAGS and LIBS (Bug#30346)Noam Postavsky2019-04-212-12/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | * configure.ac: Use EMACS_CHECK_MODULES fors LCMS2 rather than AC_SEARCH_LIBS. * src/Makefile.in: Get LCMS2_LIBS and LCMS2_CFLAGS from configure, instead of just LIBLCMS2. (cherry picked from commit cb3863370cbe574810f796726faa39ba0de0a429)
* | | Merge from origin/emacs-26Glenn Morris2019-04-212-10/+46
|\ \ \ | | |/ | |/| | | | | | | | | | | | | | | | | | | cd2204f Add a package: line to c-submit-bug-report. a992dca ; Remove empty NEWS sections ea67270 ; Add NEWS sections for 26.3 Conflicts: etc/NEWS
| * | Add a package: line to c-submit-bug-report.Glenn Morris2019-04-201-1/+19
| | | | | | | | | | | | | | | * lisp/progmodes/cc-mode.el (c-submit-bug-report): Add a Package: line for mail clients that do not support X- headers.
| * | ; Remove empty NEWS sectionsGlenn Morris2019-04-201-9/+0
| | |
| * | ; Add NEWS sections for 26.3Glenn Morris2019-04-201-0/+27
| | |
* | | ; Merge from origin/emacs-26Glenn Morris2019-04-210-0/+0
|\ \ \ | |/ / | | | | | | | | | | | | The following commit was skipped: 45b0946 ; Bump Emacs version to 26.2.50
| * | ; Bump Emacs version to 26.2.50Glenn Morris2019-04-204-4/+4
| | |
* | | Merge from origin/emacs-26Glenn Morris2019-04-211-1/+4
|\ \ \ | |/ / | | | | | | aae8cc3 * admin/admin.el (set-version): Add NEWS headers for a .50 ve...
| * | * admin/admin.el (set-version): Add NEWS headers for a .50 version.Glenn Morris2019-04-201-1/+4
| |/
* | ; Merge from origin/emacs-26Glenn Morris2019-04-210-0/+0
|\ \ | |/ | | | | | | | | The following commit was skipped: f90a336 Backport doc improvement in ELisp manual
| * Backport doc improvement in ELisp manualEli Zaretskii2019-04-201-0/+20
| | | | | | | | | | | | * doc/lispref/processes.texi (Accepting Output): Backport: document how do avoid race conditions while waiting for all of the process's output to arrive.
* | Merge from origin/emacs-26Glenn Morris2019-04-216-6/+57
|\ \ | |/ | | | | | | | | | | | | 037970f Document insert-image-file's return value (Bug#32978) 598b45a Autoload cua-toggle-rectangle-mark (Bug#34947) 95bd56d Tell xclip not to expect job-control under eshell (Bug#35257) 9997bbb ; * src/emacs.c: Fix typo in comment (Bug#35320). a4ad7be Fix off-by-one-link error in image--set-property
| * Document insert-image-file's return value (Bug#32978)Noam Postavsky2019-04-191-2/+3
| | | | | | | | * lisp/image-file.el (insert-image-file): Document return value.
| * Autoload cua-toggle-rectangle-mark (Bug#34947)Braun Gábor2019-04-191-0/+1
| | | | | | | | | | | | | | | | | | * lisp/emulation/cua-base.el (cua-toggle-rectangle-mark): Autoload it. Library cua-base.el binds cua-toggle-rectangle-mark to a key in the :set function in (defcustom cua-rectangle-mark-key ...), so it should ensure that the command is defined. Copyright-paperwork-exempt: yes
| * Tell xclip not to expect job-control under eshell (Bug#35257)Noam Postavsky2019-04-191-1/+5
| | | | | | | | | | | | * lisp/eshell/esh-proc.el (eshell-needs-pipe): Add "xclip" and other programs that xclip.el (in GNU ELPA) calls with `process-connection-type' bound to nil.
| * ; * src/emacs.c: Fix typo in comment (Bug#35320).Noam Postavsky2019-04-191-1/+1
| |
| * Fix off-by-one-link error in image--set-propertyBasil L. Contovounesios2019-04-182-2/+47
| | | | | | | | | | | | | | | | * lisp/image.el (image--set-property): Ensure new value is set even in the unlikely case that the plist is empty. Fix off-by-one-link error when deleting a property. (bug#35285) * test/lisp/image-tests.el: New file. (image--set-property): New test.
* | Port make-fingerprint to LeakSanitizerPaul Eggert2019-04-201-1/+4
| | | | | | | | | | * lib-src/make-fingerprint.c (buf): Now static, to pacify LeakSanitizer.
* | * lisp/progmodes/sql.el Bug#35307Michael R. Mauger2019-04-211-0/+6
| | | | | | | | | | | | | | (sql-product-alist): Added :prompt-cont-regexp for ms. Looking for experience with Microsofts SQLCMD interpreter and adjustments needed for Emacs to support it.
* | * lisp/progmodes/sql.el Bug#24483Michael R. Mauger2019-04-211-4/+5
| | | | | | | | | | (sql-interactive-remove-continuation-prompt): Properly protect `sql-prompt-cont-regexp'. (sql-interactive-mode): Same.
* | * lisp/progmodes.sql.elMichael R. Mauger2019-04-212-19/+57
| | | | | | | | | | | | | | | | | | | | (sql-product-alist): Corrected :terminator defns. (sql-debug-send): New variable. (sql-send-string): Use it and correct buffer context. (sql-send-magic-terminator): Use `sql-input-sender'. (sql-placeholders-filter): Bug#11481 Don't recursively replace placeholders * test/lisp/progmodes/sql-tests.el (sql-test-placeholder-filter): Test placeholder functionality.
* | Fix text metrics calculation in Xft support for lwlibYAMAMOTO Mitsuharu2019-04-212-2/+2
| | | | | | | | | | * lwlib/lwlib-Xaw.c (get_text_width_and_height) [HAVE_XFT]: * lwlib/xlwmenu.c (string_width) [HAVE_XFT]: Use xOff member instead of width.
* | * src/configure.ac: Check for GTK 2 features only on GTK 2Alexander Gramiak2019-04-201-14/+17
| |
* | * lwlib/lwlib-Xaw.c (draw_text) [HAVE_XFT]: Fix memory leak.YAMAMOTO Mitsuharu2019-04-211-5/+6
| |
* | Support amending the last commit using VC-HgDmitry Gutov2019-04-213-23/+55
| | | | | | | | | | | | | | | | | | | | * lisp/vc/log-edit.el (log-edit--toggle-amend): Extract from vc-git-log-edit-toggle-amend (bug#34944). * lisp/vc/vc-hg.el (vc-hg-log-edit-toggle-amend): New function. Use the aforementioned. (vc-hg-log-edit-mode-map): New variable. (vc-hg-log-edit-mode): New major mode.