From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jean Louis Newsgroups: gmane.emacs.help Subject: Re: Gnus Emacs Header Date: Sun, 29 Aug 2021 12:49:43 +0300 Message-ID: References: <87eeac95c0.fsf@zoho.eu> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="35376"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mutt/2.0.7+183 (3d24855) (2021-05-28) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sun Aug 29 11:51:56 2021 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mKHTn-0008w3-IL for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 29 Aug 2021 11:51:55 +0200 Original-Received: from localhost ([::1]:46278 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mKHTl-0005sU-Lv for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 29 Aug 2021 05:51:53 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34428) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mKHTP-0005sJ-5Q for help-gnu-emacs@gnu.org; Sun, 29 Aug 2021 05:51:31 -0400 Original-Received: from stw1.rcdrun.com ([217.170.207.13]:46965) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mKHTK-0005D2-T6 for help-gnu-emacs@gnu.org; Sun, 29 Aug 2021 05:51:30 -0400 Original-Received: from localhost ([::ffff:197.157.0.33]) (AUTH: PLAIN admin, TLS: TLS1.3,256bits,ECDHE_RSA_AES_256_GCM_SHA384) by stw1.rcdrun.com with ESMTPSA id 0000000000037E67.00000000612B587B.00000B4E; Sun, 29 Aug 2021 02:50:50 -0700 Mail-Followup-To: help-gnu-emacs@gnu.org Content-Disposition: inline In-Reply-To: <87eeac95c0.fsf@zoho.eu> Received-SPF: pass client-ip=217.170.207.13; envelope-from=bugs@gnu.support; helo=stw1.rcdrun.com X-Spam_score_int: 29 X-Spam_score: 2.9 X-Spam_bar: ++ X-Spam_report: (2.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_SBL_CSS=3.335, RCVD_IN_SORBS_WEB=1.5, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 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-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:132807 Archived-At: * Emanuel Berg via Users list for the GNU Emacs text editor [2021-08-29 08:41]: > Jason Sanroma wrote: > > > I would like to have a header added to every email I send. > > Similar to the RMS NSA/FBI note. I do not know how to get > > this added. > > > > Does anyone have a suggestion? > > Not recommended for various reasons (social etc), but in terms > of technology you can do it like this: Adding such similar headers in general, can be very useful. I am often adding special header like: From: Jean Louis [Line about my current activity] Phone: [my phone here] [city], [country] Sunday, August 29, 2021 We know that there are email headers, but not always such printed representations are clear about it. Putting a header in the body of email makes it very clear and often may be legally desirable to be clear about who wrote what, from where exactly at which time. People may assume I was writing from a different location or may make other wrong assumptions. My function is following: (defun from-desk () "Prints the current activity for my ID" (interactive) (cf-connect) ;; connects to database if not connected (let* ((sql "SELECT peopleactivities_activity, peopleactivities_locationtext, peopleactivities_contactline FROM peopleactivities WHERE peopleactivities_languages = 1 AND peopleactivities_people = 1 ORDER BY peopleactivities_id DESC LIMIT 1") (activity (rcd-sql-list-first sql cf-db))) (insert (format "From: Jean Louis %s Phone: %s %s %s " (nth 0 activity) (nth 2 activity) (nth 1 activity) (calendar-date-string (calendar-current-date)))))) Of course I am tracking current actions in the database and thus my location, current phone is tracked for future reviews. It changes from time to time. Users would need to adapt this function to something easier. I would not put it in the message-setup-hook as I use it selectively. > Not recommended for various reasons (social etc) That is matter of personal expression or integrity and purposes. You see it as not recommended. The message from RMS I find very encouraging. Snowden is whistleblower who discovered PRISM surveillance network. PRISM (surveillance program) https://en.wikipedia.org/wiki/PRISM_%28surveillance_program%29 That does have social impact on the whole world. We have got awareness as society in general. So the message to invite other whistleblowers is good way to cause more social betterment. > ;; (setq message-setup-hook nil) > (defun message-setup-hook-f () > (message-goto-body) > (insert "Down with NSA.\n") ) > (add-hook 'message-setup-hook #'message-setup-hook-f) Very nice. Adding other similar messages for whatever other non-political or political reasons is also very handy at least for some people. -- Jean Take action in Free Software Foundation campaigns: https://www.fsf.org/campaigns In support of Richard M. Stallman https://stallmansupport.org/