summaryrefslogtreecommitdiff
path: root/lisp/net/eudc-vars.el
Commit message (Collapse)AuthorAgeFilesLines
* ; Add 2024 to copyright yearsPo Lu2024-01-021-1/+1
|
* ; Add 2023 to copyright years.Eli Zaretskii2023-01-011-1/+1
|
* EUDC: Revert eudc-server-hotlist default changeThomas Fitzsimmons2022-11-181-2/+1
| | | | | | * etc/NEWS: Remove eudc-server-hotlist default change. * lisp/net/eudc-vars.el (eudc-server-hotlist): Set to nil. (Bug#59314)
* EUDC: Add ecomplete and mailabbrev backendsAlexander Adolf2022-11-081-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | * doc/misc/eudc.texi (Overview): Add ecomplete and mailabbrev nodes. (ecomplete, mailabbrev): New nodes. (Installation): Add ecomplete and mailabbrev nodes. (LDAP Configuration): Use code formatting instead of quotes. (macOS Contacts Configuration): Likewise. (ecomplete Configuration): New node. (mailabbrev Configuration): Likewise. * etc/NEWS (EUDC): Mention ecomplete and mailabbrev backends, mention eudc-server-hotlist default change. * lisp/net/eudc-vars.el (eudc-known-protocols): Add ecomplete and mailabbrev. (eudc-server-hotlist): Add entries for ecomplete and mailabbrev. * lisp/net/eudcb-ecomplete.el: New EUDC backend file. * lisp/net/eudcb-mailabbrev.el: Likewise. * test/lisp/net/eudc-resources/ecompleterc, test/lisp/net/eudc-resources/mailrc: New eudc-tests resource files. * test/lisp/net/eudc-tests.el (eudc-test-rfc5322-quote-phrase) (eudc-test-make-address, eudcb-ecomplete, eudcb-mailabbrev): New test cases.
* EUDC: Deprecate eudc-server variableThomas Fitzsimmons2022-11-081-0/+3
| | | | | * lisp/net/eudc-vars.el (eudc-server): Deprecate variable for Emacs 29.1.
* EUDC: Add eudc-ignore-options-file customizationThomas Fitzsimmons2022-11-071-1/+7
| | | | | | | | | | | | | * etc/NEWS (EUDC): Document eudc-ignore-options-file. * doc/misc/eudc.texi (The Server Hotlist): Likewise * lisp/net/eudc-vars.el (eudc-ignore-options-file): New variable. (eudc-options-file): Mention new variable. * lisp/net/eudc.el: Warn on load if eudc-ignore-options-file is set but the options file exists. (eudc-set-server): Support eudc-ignore-options-file. (eudc-bookmark-server): Likewise. (eudc-save-options): Likewise. (Bug#56154)
* ; Fix punctuation in recently changed EUDC documentationEli Zaretskii2022-07-191-2/+2
| | | | | | * lisp/net/eudcb-macos-contacts.el (eudc-macos-contacts-search-helper): * lisp/net/eudc-vars.el (eudc-inline-expansion-format): * etc/NEWS: Fix punctuation in recent EUDC changes.
* Additional query and results attributes in eudcb-macos-contacts.elAlexander Adolf2022-07-181-7/+8
| | | | | | | | | | | * lisp/net/eudcb-macos-contacts.el: wider set of attributes for queries, and in query results * lisp/net/eudc-vars.el (eudc-inline-expansion-format): update docstring to explain how to use the function eudc-translate-query to translate to generic attribute names in the user supplied formatting function * etc/NEWS: announce wider query/result attribute set * doc/misc/eudc.texi: more details on eudcb-mab.el's limitations
* EUDC: Use "Surname" instead of "Name" in promptsThomas Fitzsimmons2022-06-291-0/+1
| | | | | | | * lisp/net/eudc-vars.el (eudc-user-attribute-names-alist): Add name/"Surname" association. * lisp/net/eudc.el (eudc-get-email): Prompt for surname. * lisp/net/eudc.el (eudc-get-phone): Likewise.
* Fix eudc-get-attribute-listFilipp Gunbin2022-04-141-0/+9
| | | | | | | | | | | * lisp/net/eudc-vars.el (eudc-ldap-no-wildcard-attributes): New defcustom. * doc/misc/eudc.texi (LDAP Configuration): Mention it. * lisp/net/eudcb-ldap.el (eudc-ldap-format-query-as-rfc1558): Use it. (eudc-ldap-get-field-list): Set scope and sizelimit, instead of overriding the whole ldap-host-parameters-alist. * lisp/net/ldap.el (ldap-search-internal): Allow "size limit exceeded" exit code. Allow empty attribute values.
* Enable Better Alignment of EUDC Inline Expansion With RFC5322Alexander Adolf2022-03-221-19/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The format of EUDC inline expansion results is formatted according to the variable eudc-inline-expansion-format, which previously defaulted to '("%s %s <%s>" firstname name email). Since email address specifications need to comply with RFC 5322 in order to be useful in messages, there was little headroom for users to change this format anyway. Plus, if an EUDC back-end returned an empty first and last name, the result was the email address in angle brackets. Whilst this was standard with RFC 822, it is marked as obsolete syntax by its successor RFC 5322. Also, the first and last name part was never enclosed in double quotes, potentially producing invalid address specifications, which may be rejected by a receiving MTA. This commit updates the variable eudc-inline-expansion-format, so that it can, in addition to the current ("format" attributes) list, now alternatively be set to nil, or a formatting function. In both cases the resulting email address is formatted using the new function eudc-rfc5322-make-address, whose results fully comply with RFC 5322. If the value is nil (the new default value), eudc-rfc5322-make-address will be called to produce any of the default formats ADDRESS FIRST <ADDRESS> LAST <ADDRESS> FIRST LAST <ADDRESS> depending on whether a first and/or last name are returned by the query, or not. If the value is a formatting function, that will be called to allow the user to supply content for the phrase and comment parts of the address (cf. RFC 5322). Thus one can produce any of the formats: ADDRESS PHRASE <ADDRESS> ADDRESS (COMMENT) PHRASE <ADDRESS> (COMMENT) This can for example be used to get "last, first <address>" instead of the default "first last <address>". In any case when using nil, or the formatting function, the phrase part of the result will be enclosed in double quotes if needed, and the comment part will be omitted if it contains characters not allowed by RFC 5322. When eudc-inline-expansion-format remains set to a list as previously, the old behaviour is fully retained.
* EUDC: Update save-query-as-kill name and docstringThomas Fitzsimmons2022-03-111-5/+10
| | | | | | | | | | | | | * lisp/net/eudc-vars.el (eudc-server): Fix quoting for checkdoc. (eudc-expansion-save-query-as-kill): Rename from `eudc-expansion-overwrites-query'. Define obsolete variable alias. Update comment and documentation. * lisp/net/eudc.el (eudc-expand-inline): Rename `replace' argument to `save-query-as-kill'. Update argument documentation. * doc/misc/eudc.texi (Inline Query Expansion): Rename `eudc-expand-inline' argument. * etc/NEWS (EUDC): Document `eudc-expansion-overwrites-query' rename to `eudc-expansion-save-query-as-kill'.
* ; Add 2022 to copyright years.Eli Zaretskii2022-01-011-1/+1
|
* Update copyright year to 2021Paul Eggert2021-01-011-1/+1
| | | | Run "TZ=UTC0 admin/update-copyright".
* Remove redundant requires of 'custom'Stefan Kangas2020-12-031-2/+0
| | | | | | | | | | | | | | | | * lisp/emacs-lisp/eieio-custom.el: * lisp/htmlfontify.el: * lisp/mwheel.el: * lisp/net/eudc-vars.el: * lisp/net/ldap.el: * lisp/net/tramp-ftp.el: * lisp/net/tramp-gvfs.el: * lisp/progmodes/cwarn.el: * lisp/progmodes/sql.el: * lisp/savehist.el: * lisp/textmodes/reftex.el: * lisp/wid-browse.el: Don't require 'custom'; it is preloaded since version 20.1.
* * lisp/net/eudc-vars.el: Use lexical-binding.Stefan Kangas2020-10-281-1/+1
|
* Update copyright year to 2020Paul Eggert2020-01-011-1/+1
| | | | Run "TZ=UTC0 admin/update-copyright $(git ls-files)".
* Update copyright year to 2019Paul Eggert2019-01-011-1/+1
| | | | Run 'TZ=UTC0 admin/update-copyright $(git ls-files)'.
* Update copyright year to 2018Paul Eggert2018-01-011-1/+1
| | | | Run admin/update-copyright.
* Prefer HTTPS to FTP and HTTP in documentationPaul Eggert2017-09-131-1/+1
| | | | | | | | | | | | | Most of this change is to boilerplate commentary such as license URLs. This change was prompted by ftp://ftp.gnu.org's going-away party, planned for November. Change these FTP URLs to https://ftp.gnu.org instead. Make similar changes for URLs to other organizations moving away from FTP. Also, change HTTP to HTTPS for URLs to gnu.org and fsf.org when this works, as this will further help defend against man-in-the-middle attacks (for this part I omitted the MS-DOS and MS-Windows sources and the test tarballs to keep the workload down). HTTPS is not fully working to lists.gnu.org so I left those URLs alone for now.
* Update copyright year to 2017Paul Eggert2016-12-311-1/+1
| | | | Run admin/update-copyright.
* Update copyright year to 2016Paul Eggert2016-01-011-1/+1
| | | | Run admin/update-copyright.
* Make eudcb-ph.el obsoleteThomas Fitzsimmons2015-12-061-1/+5
| | | | | | | | | * doc/misc/eudc.texi: Bump version to 1.40.0. Remove PH/QI sections and mentions. * lisp/obsolete/eudcb-ph.el: Make obsolete. * lisp/net/eudc-vars.el (eudc-known-protocols): Remove ph. (eudc-ph-bbdb-conversion-alist): Make obsolete. * etc/NEWS: Mention this. (Bug#21191)
* Improve EUDC to BBDB 3 exportThomas Fitzsimmons2015-11-221-1/+2
| | | | | | | | | * eudc-vars.el (eudc-ldap-bbdb-conversion-alist): Change phone entry to single item. Add company conversion. * eudc-export.el (eudc-bbdbify-company): New function. (bbdb-parse-phone): Declare function. (eudc-bbdbify-phone): Add BBDB 3 support. (Bug#21971)
* ; Remove extraneous "coding: utf-8" specifications in Elisp filesDmitry Gutov2015-09-291-1/+1
|
* Change default location of EUDC options fileThomas Fitzsimmons2015-04-271-2/+4
| | | | | | * NEWS: Document change to EUDC options file's default location. * lisp/net/eudc-vars.el (eudc-options-file): Use `locate-user-emacs-file' to change default options file location.
* EUDC: New maintainerThomas Fitzsimmons2015-01-271-1/+2
| | | | | | * net/eudcb-bbdb.el, net/eudcb-ldap.el, net/eudcb-mab.el, net/eudc-bob.el, net/eudcb-ph.el, net/eudc.el, net/eudc-export.el, net/eudc-hotlist.el, net/eudc-vars.el: New maintainer.
* lisp/net/{eudc,ldap}: Merge branch streamline-eudc-configurationStefan Monnier2015-01-231-45/+52
|\
| * Change eudc-expansion-overwrites-query default to nilThomas Fitzsimmons2014-11-131-1/+3
| | | | | | | | | | * net/eudc-vars.el (eudc-expansion-overwrites-query): Change default to nil.
| * Improve eudc-inline-expansion-format's default valueThomas Fitzsimmons2014-11-131-1/+1
| | | | | | | | | | * net/eudc-vars.el (eudc-inline-expansion-format): Default to a format that includes first name and surname.
| * Improve eudc-inline-query-format's default valueThomas Fitzsimmons2014-11-131-1/+2
| | | | | | | | | | * net/eudc-vars.el (eudc-inline-query-format): Change default to query email and first name instead of surname.
| * Change eudc-server-hotlist from a defvar to a defcustomThomas Fitzsimmons2014-11-131-1/+24
| | | | | | | | | | | | | | | | | | | | * net/eudc-vars.el (eudc-server): Adjust docstring to mention eudc-server-hotlist. (eudc-server-hotlist): Move from eudc.el and make defcustom. * net/eudc.el (eudc-server-hotlist): Move to eudc-vars.el. (eudc-set-server): Allow setting protocol to nil. (eudc-expand-inline): Support hotlist-only expansions when server is not set.
* | Update copyright year to 2015Paul Eggert2015-01-011-1/+1
|/ | | | Run admin/update-copyright.
* Update copyright year to 2014 by running admin/update-copyright.Paul Eggert2014-01-011-1/+1
|
* Prefer UTF-8 when the encoding shouldn't matter and changes are small.Paul Eggert2013-03-051-2/+2
|
* Update copyright notices for 2013.Paul Eggert2013-01-011-1/+1
|
* Add 2012 to FSF copyright years for Emacs filesGlenn Morris2012-01-051-1/+1
|
* Convert consecutive FSF copyright years to ranges.Glenn Morris2011-01-241-2/+1
|
* Refill some copyright headers.Glenn Morris2011-01-151-2/+2
|
* Nuke arch-tags.Glenn Morris2011-01-151-1/+0
|
* Merge from emacs-23Stefan Monnier2011-01-141-2/+2
|\
| * Add 2011 to FSF/AIST copyright years.Glenn Morris2011-01-021-1/+1
| |
* | Remove leading `*' from docs of some defcustoms etc.Glenn Morris2010-09-221-22/+22
| | | | | | | | | | | | | | | | | | | | | | | | * emulation/crisp.el, emulation/cua-base.el, emulation/edt.el: * emulation/pc-select.el, emulation/vip.el, international/iso-ascii.el: * international/kkc.el, international/ogonek.el, mail/feedmail.el: * net/browse-url.el, net/eudc-vars.el, net/net-utils.el: * net/rcompile.el, net/rlogin.el, textmodes/enriched.el: * textmodes/makeinfo.el, textmodes/page-ext.el, textmodes/picture.el: * textmodes/refer.el, textmodes/spell.el, textmodes/table.el: * textmodes/tex-mode.el, textmodes/two-column.el: Remove leading `*' from docs of defcustoms etc.
* | Add "Package:" file headers to denote built-in packages.Chong Yidong2010-08-291-0/+1
|/
* Add 2010 to copyright years.Glenn Morris2010-01-131-1/+1
|
* Add 2009 to copyright years.Glenn Morris2009-01-051-1/+1
|
* Switch to recommended form of GPLv3 permissions notice.Glenn Morris2008-05-061-6/+4
|
* Fix up comment convention on the arch-tag lines.Stefan Monnier2008-04-101-1/+1
|
* Add 2008 to copyright years.Glenn Morris2008-01-071-1/+1
|
* Switch license to GPLv3 or later.Glenn Morris2007-07-251-1/+1
|