From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Budi Newsgroups: gmane.emacs.help Subject: Re: help-gnu-emacs Digest, Vol 198, Issue 83 Date: Fri, 24 May 2019 20:22:32 +0700 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="179338"; mail-complaints-to="usenet@blaine.gmane.org" To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri May 24 15:34:37 2019 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hUALE-000kTp-B1 for geh-help-gnu-emacs@m.gmane.org; Fri, 24 May 2019 15:34:36 +0200 Original-Received: from localhost ([127.0.0.1]:54694 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hUALD-0002po-A8 for geh-help-gnu-emacs@m.gmane.org; Fri, 24 May 2019 09:34:35 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:34055) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hUAKV-0002Fb-Gf for help-gnu-emacs@gnu.org; Fri, 24 May 2019 09:33:53 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hUA9b-00063n-IO for help-gnu-emacs@gnu.org; Fri, 24 May 2019 09:22:37 -0400 Original-Received: from mail-it1-x12a.google.com ([2607:f8b0:4864:20::12a]:36465) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hUA9b-0005wo-CL for help-gnu-emacs@gnu.org; Fri, 24 May 2019 09:22:35 -0400 Original-Received: by mail-it1-x12a.google.com with SMTP id e184so13796226ite.1 for ; Fri, 24 May 2019 06:22:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=lLXXPcS06QKNe1OZG7VtsXflYTReGEqVdw5kVk6Ijkw=; b=UbHyOYYEc+zopHkprWj4HUugTQpRxAqiwPf1g4Hnoud2adEEkibMD71oA/TslayDZY cDWoXhoA9SMJRZAdFm4MK1hF9bgbLEahN2Q/fKIMZMFsVRImq8ciYehRYbzsJb7Gxu4S GSe4yggnUXw7QIsVLojG1LXtffs/vCGNik/rXhrIs+7jb7rF+WCyM7G+ScaltIHYMyGj XjfTs0YsHDnbpiOLW7MnuH0Bqfc7yRakHZsaCFPGaud4tQyTdFDIZJcrESp2fRISJmBN X6n8bZTGRsL9900X95xWQGSTt/OJOLOrQyXQmxN8Gtci65ad39VLk1z9z/X7zhzQFsx6 muLQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=lLXXPcS06QKNe1OZG7VtsXflYTReGEqVdw5kVk6Ijkw=; b=sipam0qp5VVQ518FFRxQceZ7jXGjnjwmGG3o9fgT9SuO8Mf/3jOcGz0zuzxbp0dTJg nnFAhquXw+dxHRs01oMGmD+y25gnF1u2nWYxYEeojrCeUpMBmJMovMeAUmgsV1BnfXP4 SjJfExZkRynJ+EQngwtI0hY1Nbnbq4f0iskLH1/qBjTZEUxPY3x01IR04xH/2cSvtf2c 9JeGeVz1kSooj8dXlVwHddxy6bxVBszmkqgCOY69qTU1Kq+CsHS2iKAm/MrS9CZUGcA5 hreiuHCNPeLgS9AP0O6t2S0Ly5AROnCXo/nyLfebkIjQSboQ37uNEloeIdKTEns6AlcI I24Q== X-Gm-Message-State: APjAAAUKyhVyEqyAQEcdU5FBcJHPBaXDOXqtxSuaGLX/BxcNEoO6KBNu uPlaKBnF6w0vif+CSXYVSqGl4dfWg+hWjbQki/6Vu1jg X-Google-Smtp-Source: APXvYqyIoWkuqaoA9uRyoQQXlGb+XsamO2XmYfIO3YwktuMbkXkWxiqCIVOTLdER2dgF3MbfE2pYp5yV5FJRjssztB4= X-Received: by 2002:a02:c489:: with SMTP id t9mr11772843jam.63.1558704153309; Fri, 24 May 2019 06:22:33 -0700 (PDT) Original-Received: by 2002:a02:93cd:0:0:0:0:0 with HTTP; Fri, 24 May 2019 06:22:32 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::12a X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:120617 Archived-At: How to hook string/word at point to be as input interactive M-: key, i.e. prompting Eval: on minibuffer ? On 5/24/19, help-gnu-emacs-request@gnu.org wrote: > Send help-gnu-emacs mailing list submissions to > help-gnu-emacs@gnu.org > > To subscribe or unsubscribe via the World Wide Web, visit > https://lists.gnu.org/mailman/listinfo/help-gnu-emacs > or, via email, send a message with subject or body 'help' to > help-gnu-emacs-request@gnu.org > > You can reach the person managing the list at > help-gnu-emacs-owner@gnu.org > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of help-gnu-emacs digest..." > > > Today's Topics: > > 1. abbrev_defs & capitalised words (Sharon Kimble) > 2. Re: abbrev_defs & capitalised words (Eli Zaretskii) > 3. Re: Google Gmail mailing list bounces (Emanuel Berg) > 4. Re: Google Gmail mailing list bounces (Emanuel Berg) > 5. Re: abbrev_defs & capitalised words (Sharon Kimble) > 6. Re: abbrev_defs & capitalised words (tomas@tuxteam.de) > 7. Re: Google Gmail mailing list bounces (tomas@tuxteam.de) > 8. Re: abbrev_defs & capitalised words (Eli Zaretskii) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Fri, 24 May 2019 08:41:32 +0100 > From: Sharon Kimble > To: help-gnu-emacs@gnu.org > Subject: abbrev_defs & capitalised words > Message-ID: <87mujcnvtf.fsf@skimble.plus.com> > Content-Type: text/plain; charset="us-ascii" > > > I'm having a big problem with new words that are added to abbrev_defs if the > word I want it to be is capitalised. How can I get emacs to save it > capitalised please, as its only doing it in lower-case. > > Example - Sunday shows in abbrev_defs as, (or would if it was actually > saved, which it isn't!) > > --8<---------------cut here---------------start------------->8--- > "sunday" 0 "sunday" > --8<---------------cut here---------------end--------------->8--- > > Thanks > Sharon. > -- > A taste of linux = http://www.sharons.org.uk > TGmeds = http://www.tgmeds.org.uk > DrugFacts = https://www.drugfacts.org.uk > Debian 9.9, fluxbox 1.3.7, emacs 26.2, org 9.2.3 > -------------- next part -------------- > A non-text attachment was scrubbed... > Name: signature.asc > Type: application/pgp-signature > Size: 832 bytes > Desc: not available > URL: > > > ------------------------------ > > Message: 2 > Date: Fri, 24 May 2019 10:55:57 +0300 > From: Eli Zaretskii > To: help-gnu-emacs@gnu.org > Subject: Re: abbrev_defs & capitalised words > Message-ID: <83blzs5lrm.fsf@gnu.org> > >> From: Sharon Kimble >> Date: Fri, 24 May 2019 08:41:32 +0100 >> >> I'm having a big problem with new words that are added to abbrev_defs if >> the word I want it to be is capitalised. How can I get emacs to save it >> capitalised please, as its only doing it in lower-case. > > Did you read the doc string of 'define-abbrev'? > > > > ------------------------------ > > Message: 3 > Date: Fri, 24 May 2019 10:51:35 +0200 > From: Emanuel Berg > To: help-gnu-emacs@gnu.org > Subject: Re: Google Gmail mailing list bounces > Message-ID: <86pno8fd60.fsf@zoho.eu> > Content-Type: text/plain > > tomas wrote: > >> Because the second one has no "DNS authority >> section" [1]. As a background: this DMARC >> (and DKIM and SPF) stuff uses DNS as >> a distributed database. >> >> Your computer is set up to ask your local >> domain name server (192.168.10.1). This one >> asks another server, and so on, until that >> recursion hits the server which "knows" where >> dmarc.zoho.eu is. >> >> But your local server isn't totally stupid >> and keeps (caches) that answer, because it >> knows you and expects you to ask again: then >> it can answer right away. But because he >> (she?)'s a truthful server, it will tell you: >> "so-and-so told me" -- that's the authority >> section (I don't quite remember whether dig >> shows you the authority section for cached >> answers or for fresh ones). >> >> Or something like that :-) > > If it works like that, why doesn't it keep at > it until it gets the authority reply? > Perhaps there is a setting for that... > >>> What does 122 B and 176 B mean? >> >> That would mean bytes, I think. The size of >> the answer. > > Aha, great! > >>> Where can you see their mailing list policy? >> >> That should be the very first line of the DNS >> reply: >> >>> v=DMARC1; p=reject; sp=reject; fo=0; >>> rua=mailto:dmarc.reports.eu@zoho.eu; >>> ruf=mailto:dmarc.reports.eu@zoho.eu > > Isn't that is the _query_? > >> That all said... I'd urge everyone to chose >> a mail provider who cares about mail. The big >> ones, the "free" offers and your ISP all want >> to kill mail because there's no money in it. > > With ads, side- and extension services that > aren't free of charge, the accumulation of user > data, and so on, there is tons of money > in mail. > >> Since they can't kill it directly, they >> starve it. Spam (and the corresponding >> anti-spam measures) are their allies in that. > > Tin foil hats on everyone :) > >> There are small mail providers who take >> a very affordable amount (here in DE >> typically 1EUR/month) and actually know what >> they are doing > > For all their technical superiority, they sure > don't charge much... > > -- > underground experts united > http://user.it.uu.se/~embe8573 > https://dataswamp.org/~incal > > > > > ------------------------------ > > Message: 4 > Date: Fri, 24 May 2019 11:01:30 +0200 > From: Emanuel Berg > To: help-gnu-emacs@gnu.org > Subject: Re: Google Gmail mailing list bounces > Message-ID: <86lfywfcph.fsf@zoho.eu> > Content-Type: text/plain > > tomas wrote: > >> That should be the very first line of the DNS >> reply: >> >>> v=DMARC1; p=reject; sp=reject; fo=0; >>> rua=mailto:dmarc.reports.eu@zoho.eu; >>> ruf=mailto:dmarc.reports.eu@zoho.eu > > No, you are right! > > I thought that was part of Bob's command! > > No wonder I got wierd results! > > -- > underground experts united > http://user.it.uu.se/~embe8573 > https://dataswamp.org/~incal > > > > > ------------------------------ > > Message: 5 > Date: Fri, 24 May 2019 12:56:02 +0100 > From: Sharon Kimble > To: Eli Zaretskii > Cc: help-gnu-emacs@gnu.org > Subject: Re: abbrev_defs & capitalised words > Message-ID: <871s0onk19.fsf@skimble.plus.com> > Content-Type: text/plain; charset="us-ascii" > > Eli Zaretskii writes: > >>> From: Sharon Kimble >>> Date: Fri, 24 May 2019 08:41:32 +0100 >>> >>> I'm having a big problem with new words that are added to abbrev_defs if >>> the word I want it to be is capitalised. How can I get emacs to save it >>> capitalised please, as its only doing it in lower-case. >> >> Did you read the doc string of 'define-abbrev'? > > I'm not sure what you mean, so I googled it, which led to [1], [2], and > finally [3]. And I'm still not sure what you mean! But this might be what > you mean, from my abbrev_defs - > > --8<---------------cut here---------------start------------->8--- > define-abbrev-table 'global-abbrev-table > --8<---------------cut here---------------end--------------->8--- > > What I'm hoping for is something that I can put in my config which will save > capitalised entries into my abbrev_defs. > > Thanks > Sharon. > > [:1] http://www.jedsoft.org/jed/doc/jedfuns-5.html > [:2] > https://stackoverflow.com/questions/19032166/how-to-abbreviate-path-in-emacs > [:3] The emacs manual (Seventeenth Edition, Updated for Emacs Version > 27.0.50.) and Section 26 - Abbrevs > -- > A taste of linux = http://www.sharons.org.uk > TGmeds = http://www.tgmeds.org.uk > DrugFacts = https://www.drugfacts.org.uk > Debian 9.9, fluxbox 1.3.7, emacs 26.2, org 9.2.3 > -------------- next part -------------- > A non-text attachment was scrubbed... > Name: signature.asc > Type: application/pgp-signature > Size: 832 bytes > Desc: not available > URL: > > > ------------------------------ > > Message: 6 > Date: Fri, 24 May 2019 14:20:59 +0200 > From: > To: Sharon Kimble > Cc: Eli Zaretskii , help-gnu-emacs@gnu.org > Subject: Re: abbrev_defs & capitalised words > Message-ID: <20190524122059.GA25596@tuxteam.de> > Content-Type: text/plain; charset="utf-8" > > On Fri, May 24, 2019 at 12:56:02PM +0100, Sharon Kimble wrote: >> Eli Zaretskii writes: >> >> >> From: Sharon Kimble >> >> Date: Fri, 24 May 2019 08:41:32 +0100 >> >> >> >> I'm having a big problem with new words that are added to abbrev_defs >> >> if the word I want it to be is capitalised. How can I get emacs to save >> >> it capitalised please, as its only doing it in lower-case. >> > >> > Did you read the doc string of 'define-abbrev'? >> >> I'm not sure what you mean, so I googled it, which led to [1], [2], and >> finally [3]. And I'm still not sure what you mean! But this might be what >> you mean, from my abbrev_defs - > > Just start an Emacs and type C-h f (that is "describe function"). The > minubuffer asks you for a function name, you type in 'define-abbrev' > (without the quotes), then ENTER. > > Alternatively, via the menu: Help -> Describe... -> Describe Function... > > This will lead you to the function's documentation string. > > Cheers > -- t > -------------- next part -------------- > A non-text attachment was scrubbed... > Name: signature.asc > Type: application/pgp-signature > Size: 198 bytes > Desc: Digital signature > URL: > > > ------------------------------ > > Message: 7 > Date: Fri, 24 May 2019 14:28:37 +0200 > From: > To: help-gnu-emacs@gnu.org > Subject: Re: Google Gmail mailing list bounces > Message-ID: <20190524122837.GB25596@tuxteam.de> > Content-Type: text/plain; charset="utf-8" > > On Fri, May 24, 2019 at 10:51:35AM +0200, Emanuel Berg via help-gnu-emacs > wrote: > > [...] > >> If it works like that, why doesn't it keep at >> it until it gets the authority reply? >> Perhaps there is a setting for that... > > No, caching makes sense. Each DNS record has a > field stating for how long it is expected to be > valid (TTL) to ease such decisions. > > [...] > >> With ads, side- and extension services that >> aren't free of charge, the accumulation of user >> data, and so on, there is tons of money >> in mail. > > Big players prefer silos, where they can keep > their sheep^H^H^H users captive. Watch the instant > messenger space to see all the anti-patterns of > the pre-Internet age emerge all over again. > >> > Since they can't kill it directly, they >> > starve it. Spam (and the corresponding >> > anti-spam measures) are their allies in that. >> >> Tin foil hats on everyone :) > > Sometimes they are justified. Remember: just because > you're paranoid it doesn't mean that they aren't after > you :) > >> > There are small mail providers who take >> > a very affordable amount (here in DE >> > typically 1EUR/month) and actually know what >> > they are doing >> >> For all their technical superiority, they sure >> don't charge much... > > They don't see their goal in growth, but in providing > a good service while being financially sustainable. > > Cheers > -- t > -------------- next part -------------- > A non-text attachment was scrubbed... > Name: signature.asc > Type: application/pgp-signature > Size: 198 bytes > Desc: Digital signature > URL: > > > ------------------------------ > > Message: 8 > Date: Fri, 24 May 2019 15:31:36 +0300 > From: Eli Zaretskii > To: help-gnu-emacs@gnu.org > Subject: Re: abbrev_defs & capitalised words > Message-ID: <834l5k5907.fsf@gnu.org> > Content-Type: text/plain; charset=utf-8 > >> From: Sharon Kimble >> Cc: help-gnu-emacs@gnu.org >> Date: Fri, 24 May 2019 12:56:02 +0100 >> >> > Did you read the doc string of 'define-abbrev'? >> >> I'm not sure what you mean, so I googled it, which led to [1], [2], and >> finally [3]. And I'm still not sure what you mean! > > > I meant what Emacs shows when you type "C-h f define-abbrev RET". It > says this: > > (define-abbrev TABLE NAME EXPANSION &optional HOOK &rest PROPS) > > Define an abbrev in TABLE named NAME, to expand to EXPANSION and call > HOOK. > NAME must be a string, and should be lower-case. > EXPANSION should usually be a string. > > [...] > > PROPS is a property list. The following properties are special: > - ?:count?: the value for the abbrev?s usage-count, which is incremented > each > time the abbrev is used (the default is zero). > - ?:system?: if non-nil, says that this is a "system" abbreviation > which should not be saved in the user?s abbreviation file. > Unless ?:system? is ?force?, a system abbreviation will not > overwrite a non-system abbreviation of the same name. > - ?:case-fixed?: non-nil means that abbreviations are looked up without > case-folding, and the expansion is not capitalized/upcased. > - ?:enable-function?: a function of no argument which returns non-nil if > the > abbrev should be used for a particular call of ?expand-abbrev?. > > Note the ?:case-fixed? part: isn't that what you want? If so, you > could modify your abbrev_defs file to make select abbrevs have fixed > letter-case. > > > > ------------------------------ > > Subject: Digest Footer > > _______________________________________________ > help-gnu-emacs mailing list > help-gnu-emacs@gnu.org > https://lists.gnu.org/mailman/listinfo/help-gnu-emacs > > > ------------------------------ > > End of help-gnu-emacs Digest, Vol 198, Issue 83 > *********************************************** >