From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Uwe Brauer Newsgroups: gmane.emacs.help Subject: Re: ask for the value of several variables at once Date: Thu, 08 Mar 2018 18:56:34 +0100 Message-ID: <87fu5aqwml.fsf@mat.ucm.es> References: <87sh9a36pw.fsf@mat.ucm.es> <20180308160838.GA32404@tuxteam.de> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1520531714 25458 195.159.176.226 (8 Mar 2018 17:55:14 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 8 Mar 2018 17:55:14 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Mar 08 18:55:10 2018 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1etzkz-0006SC-3Y for geh-help-gnu-emacs@m.gmane.org; Thu, 08 Mar 2018 18:55:09 +0100 Original-Received: from localhost ([::1]:40622 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1etzn2-0002uM-0y for geh-help-gnu-emacs@m.gmane.org; Thu, 08 Mar 2018 12:57:16 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37479) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1etzmc-0002u5-TR for help-gnu-emacs@gnu.org; Thu, 08 Mar 2018 12:56:51 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1etzmZ-0008RL-Og for help-gnu-emacs@gnu.org; Thu, 08 Mar 2018 12:56:50 -0500 Original-Received: from [195.159.176.226] (port=47075 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1etzmZ-0008Qp-HW for help-gnu-emacs@gnu.org; Thu, 08 Mar 2018 12:56:47 -0500 Original-Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1etzkP-0005ix-QP for help-gnu-emacs@gnu.org; Thu, 08 Mar 2018 18:54:33 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: help-gnu-emacs@gnu.org Original-Lines: 55 Original-X-Complaints-To: usenet@blaine.gmane.org Mail-Copies-To: never Cancel-Lock: sha1:2oGnGv0tipS0bhseADCICCxyDXE= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 195.159.176.226 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:116134 Archived-At: > On Thu, Mar 08, 2018 at 04:52:27PM +0100, Uwe Brauer wrote: > That's called `list' :-) > Try this (I did some indentation cosmetics, hope that's OK) > (defun my-ask-mail-yank () > (interactive) > (list > (describe-variable 'sc-citation-leader) > (describe-variable 'sc-reference-tag-string) > (describe-variable 'message-yank-cited-prefix) > (describe-variable 'message-yank-prefix))) > If you want to get fancy, you might try: > (defun my-ask-mail-yank () > (interactive) > (mapcar #'describe-variable > '(sc-citation-leader sc-reference-tag-string > message-yank-cited-prefix message-yank-prefix))) Thanks but none worked as I expected. I want to have an output like this sc-citation-leader " " sc-reference-tag-string ">>" message-yank-cited-prefix " >" message-yank-prefix " >" Say, best with the documentation text suppressed. > Although I'm a bit confused on what you really want to > achieve, I must admit. What is the purpose? Well I have since ages set these variables in a way to obtain and indentations + the > This is why you see your quotations with that indentation space. Now in some newsgroup this is disliked and no indentation is preferred. I am using gnus so I thought that via gnus-group-customize I could set these variables just for the group. But for some reasons this does not work. Since I was not sure which of the variable really is responsible for the indentation I wanted to find a way to ask their values in one go.