From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id qDyvEeZPhF/9EAAA0tVLHw (envelope-from ) for ; Mon, 12 Oct 2020 12:45:26 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id GMGgDeZPhF/jYgAAbx9fmQ (envelope-from ) for ; Mon, 12 Oct 2020 12:45:26 +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 B6E09940366 for ; Mon, 12 Oct 2020 12:45:25 +0000 (UTC) Received: from localhost ([::1]:46882 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kRxCe-0004Af-5H for larch@yhetil.org; Mon, 12 Oct 2020 08:45:24 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:32848) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kRxC6-00049l-Kk for emacs-orgmode@gnu.org; Mon, 12 Oct 2020 08:44:51 -0400 Received: from hiwela.pair.com ([209.68.5.201]:36785) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kRxC3-0008M0-Rz for emacs-orgmode@gnu.org; Mon, 12 Oct 2020 08:44:50 -0400 Received: from hiwela.pair.com (localhost [127.0.0.1]) by hiwela.pair.com (Postfix) with ESMTP id E6BA5980577 for ; Mon, 12 Oct 2020 08:44:43 -0400 (EDT) Received: from minshall-entroware-apollo.cliq.com (unknown [78.179.79.38]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by hiwela.pair.com (Postfix) with ESMTPSA id B6AAD8F084C for ; Mon, 12 Oct 2020 08:44:43 -0400 (EDT) Received: from apollo2.minshall.org (localhost [IPv6:::1]) by minshall-entroware-apollo.cliq.com (Postfix) with ESMTP id 9D3F7614FE for ; Mon, 12 Oct 2020 15:44:41 +0300 (+03) From: Greg Minshall To: emacs-orgmode@gnu.org Subject: buffer name of Org Src... X-Mailer: MH-E 8.6+git; nmh 1.7.1; GNU Emacs 27.1 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1419443.1602506681.1@apollo2.minshall.org> Date: Mon, 12 Oct 2020 15:44:41 +0300 Message-ID: <1419444.1602506681@apollo2.minshall.org> Received-SPF: softfail client-ip=209.68.5.201; envelope-from=minshall@umich.edu; helo=hiwela.pair.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/10/12 08:44:44 X-ACL-Warn: Detected OS = FreeBSD 9.x or newer [fuzzy] X-Spam_score_int: -11 X-Spam_score: -1.2 X-Spam_bar: - X-Spam_report: (-1.2 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_SOFTFAIL=0.665 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: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=umich.edu (policy=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-Spam-Score: -0.91 X-TUID: fZfP+Z240upm hi, all. i often write my version of (il)literate programs using one .org file, from which four or five (typically) files are tangled. and, generally, i'm very happy with this. but, when i have multiple Org Src ... buffers open, all from the same language, i am at a loss on how to determine to which buffer i should 'C-x b', as the only distinguishing characteristic is a (possible) trailing '', for some small integer N. in *my* case (with the project i'm currently working on), each source block in the .org file is a separately tangled file, and each source block could be tagged with a distinct '#+name:' value. is there a way to customize the buffer name? or, an easy hack? (given a choice, i'd probably have some function of [src block name; language; tangled-to file name], prefixed, clearly, by Org Src... and optionally suffixed with "".) cheers, Greg ps -- in case it's of interest: possibly i'm frustrated now, and wasn't so much in the past, as i recently got annoyed by having to go back to the base file to save and tangle (part of my work flow, to test whatever i'm working on), and, so, wrote a few lines of emacs lisp so that a 'C-x s' save from the Org Src ... file causes a save of the base file followed by a tangle. so, i can basically live long periods of time just in the Org Src ... buffers; if only i could find my way around. cheers!