From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id sOxjImcH9WBa9gAAgWs5BA (envelope-from ) for ; Mon, 19 Jul 2021 07:02:31 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id EIMNHmcH9WCLKQAAbx9fmQ (envelope-from ) for ; Mon, 19 Jul 2021 05:02:31 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id E20AB8F3D for ; Mon, 19 Jul 2021 07:02:30 +0200 (CEST) Received: from localhost ([::1]:38266 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m5LQC-0005xu-Rl for larch@yhetil.org; Mon, 19 Jul 2021 01:02:28 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53990) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m5LPT-0005xP-P6 for emacs-orgmode@gnu.org; Mon, 19 Jul 2021 01:01:43 -0400 Received: from stw1.rcdrun.com ([217.170.207.13]:44233) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m5LPS-0005Qm-4n for emacs-orgmode@gnu.org; Mon, 19 Jul 2021 01:01:43 -0400 Received: from localhost ([::ffff:197.157.0.54]) (AUTH: PLAIN admin, TLS: TLS1.3,256bits,ECDHE_RSA_AES_256_GCM_SHA384) by stw1.rcdrun.com with ESMTPSA id 0000000000057F2A.0000000060F50733.00000BFE; Sun, 18 Jul 2021 22:01:38 -0700 Date: Mon, 19 Jul 2021 08:00:06 +0300 From: Jean Louis To: Ihor Radchenko Subject: Re: [emacs-humanities] Paper Zettelkasten safety [was: Why Emacs-humanities?] Message-ID: Mail-Followup-To: Ihor Radchenko , =?utf-8?B?R8O2a3R1xJ8=?= Kayaalp , Org Mode References: <87h7ocxamv.fsf@gkayaalp.com> <87lfdnzq6x.fsf@localhost> <87wnq63007.fsf@localhost> <87r1g5un3s.fsf@localhost> <87eebx6mwj.fsf@localhost> <878s237k1u.fsf@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline In-Reply-To: <878s237k1u.fsf@localhost> User-Agent: Mutt/2.0.7+183 (3d24855) (2021-05-28) 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: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: =?utf-8?B?R8O2a3R1xJ8=?= Kayaalp , Org Mode Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1626670950; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=/Tan70LCSJWbZY3crlsUaD9M5wCBWfC0d1Fkrh+wzJM=; b=iAk0YN6wyDvyKv99vEBxiM7U2yCG1b2NehBuqdIgxSEytJspln11WlI2QJ2EW8ET8R+/VP xZgTKbXZBWy9NQDbOW/WCXClKej7LA5eCqTZoaQ3rM1jkUz8oJLI+XdpzmHKEpURtn/XQ3 1vx+ceTC/dA471JEfXtQfRbwnzLgSskxnXd8oP8G3yP+Xg1NZ9PKOnJrjVy+JuSXXiZy76 qtUrxwf91MjnMaeFLB/Q9E3PWvBjVaG+AI6LMLhTShc0NIOWy6egGX1TJ8bxaybpVZe3oj Yn7C3gyhTKS3eCi3RqKsdc0eFjlL4AGs7Nv0gbuW87iNf/IWKDOFsEqgIekEHA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1626670950; a=rsa-sha256; cv=none; b=IF0qf0IT5p/dDALl0u5avaw0JMqqNLOi2lCUyR7VL4+dmRONoust8NNVuKV/nuc6hC1lvq 6mrabTIBV032z4o/2IUgs0JNIxlbKjB7DnK53TEiEXGXLoj7AzT1rtyv10mnlQcYAzPe3X R9cWcqJEDr+ZAGjavK30qhHB5cJ/FTonM/+WLgt2zPcZJPjsvQOB+qM+mx8d2Xwk+UwCkQ U1rYSQshIbuPGKPnQH8WqDdBibrhiwdmBlq2l+7Wfu65jOy9IOGLVo5mtW2YntArkrbHT8 kXYrU/L+GYZ7uPa7QJZNmG7P1vnVSQa6texFJxhiQSucyk33F+2OiYWzDdYH7w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Spam-Score: -1.91 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: E20AB8F3D X-Spam-Score: -1.91 X-Migadu-Scanner: scn0.migadu.com X-TUID: giu0D1izlKQJ * Ihor Radchenko [2021-07-18 17:51]: > Jean Louis writes: > > > How do I display the list of tags in Org mode? > > There is nothing like dashboard of tags in Org mode. However, you can > get a list of all the tags using (org-global-tags-completion-table). I will move the email to org mode mailing list. Here I am showing the concept on how to show the tags create buttons. I am using this in Hyperscope as to list all the tags. But I am not using Org mode to display it, though that would be better for Org mode. I did not delete those not necessary variables and functions below as it is only to show the concept. When you run M-x rcd-org-tags you would get a new pop up window with the list of tags, you can then use Enter or Mouse to invoke Org agenda on the tag. Having tags index is useful. Something like this should be in Org mode. (defun rcd-org-tags (&optional prefix) (interactive "p") "Report ordered Org tags" (let* ((tags (flatten-list (org-global-tags-completion-table))) (tags (seq-sort 'string< (seq-uniq tags)))) (rcd-pop-to-report (with-temp-buffer (rcd-org-insert-buttons tags) (buffer-string)) nil))) (defun rcd-org-insert-button (tag) (insert-text-button tag 'action `(lambda (_) (org-tags-view nil ,tag))) 'follow-link t) (defun rcd-org-insert-buttons (tags) (insert "TAGS: ") (while tags (let* ((tag (pop tags))) (rcd-org-insert-button tag) (insert " ") (when (> (current-column) 70) (insert "\n"))))) (defun rcd-pop-to-report (string &optional buffer-name map place refresh truncate) "Pop the new buffer and inserts STRING. Quits with `q' if necessary. BUFFER-NAME is optional. It will destroy the buffer before display of report." (let ((buffer (or buffer-name "*RCD Report*"))) (when (buffer-live-p (get-buffer buffer)) (kill-buffer (get-buffer buffer))) (save-excursion (pop-to-buffer buffer) (let ((word-wrap truncate)) (when word-wrap (toggle-truncate-lines 1)) (setq rcd-current-table (when (listp place) (cdr (assoc "table" place)))) (setq rcd-current-column (when (listp place) (cdr (assoc "column" place)))) (setq rcd-current-table-id (when (listp place) (cdr (assoc "table-id" place)))) (setq rcd-tabulated-refresh-function refresh) (insert string) (goto-char 1) (if map (use-local-map map) (local-set-key (kbd "q") 'delete-window) (read-only-mode 1)))))) -- Jean Take action in Free Software Foundation campaigns: https://www.fsf.org/campaigns In support of Richard M. Stallman https://stallmansupport.org/