From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Joel Reicher Newsgroups: gmane.emacs.help Subject: Re: Question about initial-buffer-choice Date: Sat, 13 Jul 2024 17:54:58 +1000 Message-ID: <868qy5wwtp.fsf@gmail.com> References: <2829dbca-971f-4da5-885a-29afce1dbbb1.ref@yahoo.com.tw> <2829dbca-971f-4da5-885a-29afce1dbbb1@yahoo.com.tw> <86le25x0pd.fsf@gmail.com> <9a9aabd6-805d-4284-a3c6-c990c18d3e7b@yahoo.com.tw> Mime-Version: 1.0 Content-Type: text/plain; format=flowed Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13009"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: help-gnu-emacs@gnu.org To: CToID Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jul 13 09:55:39 2024 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 1sSXbX-00037z-2d for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 13 Jul 2024 09:55:39 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sSXb3-0000op-2d; Sat, 13 Jul 2024 03:55:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sSXaz-0000oc-Vc for help-gnu-emacs@gnu.org; Sat, 13 Jul 2024 03:55:06 -0400 Original-Received: from mail-io1-xd2c.google.com ([2607:f8b0:4864:20::d2c]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sSXay-0005wo-92 for help-gnu-emacs@gnu.org; Sat, 13 Jul 2024 03:55:05 -0400 Original-Received: by mail-io1-xd2c.google.com with SMTP id ca18e2360f4ac-7f70a708f8aso120218839f.2 for ; Sat, 13 Jul 2024 00:55:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1720857302; x=1721462102; darn=gnu.org; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=qPdldjArgHJAD6szipQwQ0KuHsqYsHaATZpmTpiSEk8=; b=EmRfbzMO47X8w23gso/1018A7b/k2g525kKzkMmuE9gcrSQBdAjgI29rKnu0U7MXJs gsBjdl3yPkNBrGSjah8lgizhijXNlurk0IcjF5VN/wP44JixHcrs2u4br+U8cPmfXtM3 aF/GODN3V65Obe7S0hvisMkJE023QUXVoWBLkz56yv3vM36YY+ojVP1uhR9rxl9kVNau djbjTAmF+glcmGoGjTzJRlOrk6Au5F2V5Bo/U7QIJqcQSR1aDQvxTW17P0QzwwhwLolI sCbzp/4cp1cn1J89x/OidkSuUze9Gi2qRBI2J0PzMTBwq/prqZec+EJix7ZEF6BRr0yT J4bQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1720857302; x=1721462102; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=qPdldjArgHJAD6szipQwQ0KuHsqYsHaATZpmTpiSEk8=; b=QVm4eDk8uc0ubNmhb93x6H2wKmLzj5bqU6WFMWPR6N0jbyLu8uXcAYqeedpxtmr1OF QhffNxuC+UX61Uh6Zr+4RDUAAfvFciyqNxbXIiU0NJO37guYQN7vJrafA2Upo1n4OJ4X cm0yGrs3ZpvfO3Fy78M5K05WXdHlvp1rHEtezaKY/uCDMuOdQyYsw4vhG8JNU6O96aTp HZ97F+CWyZIdd9b/Zk/qX/oyriCCfvBlBRoDh/yuOwAD/BmFjMObM6u4Y7UIBWwFJ9gm yX5bhUzKFEXorauZuRcNPtgc2B5zC8ufdYsbyZsVdpiehsOrxvgUV4QpaoVr/syxDGJb k72A== X-Gm-Message-State: AOJu0YyOCWuldUcvv0zyeaWrtv4LYV+6qjSLDGQagAAI7hO9y+GTbQYa zOwzriO5AcBiUB/gXcZhXufzGynM4oyXIuPFF31bi8qlORnRB/Zexyx9CQ+a X-Google-Smtp-Source: AGHT+IEmVMUnByUMA3Sg9c+OtixUFJjEOZ9zZEktTBRh+X/NiqvdDolS8BDtj2KcD7cU6rdNN7Q0fA== X-Received: by 2002:a05:6e02:164e:b0:383:5285:54c5 with SMTP id e9e14a558f8ab-38a580aaf8fmr169772375ab.17.1720857302327; Sat, 13 Jul 2024 00:55:02 -0700 (PDT) Original-Received: from LAPTOP-ACR66VVN (139-218-25-158.sta.wbroadband.net.au. [139.218.25.158]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-70b7ebb69e6sm710903b3a.74.2024.07.13.00.55.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 13 Jul 2024 00:55:02 -0700 (PDT) In-Reply-To: <9a9aabd6-805d-4284-a3c6-c990c18d3e7b@yahoo.com.tw> (CToID's message of "Sat, 13 Jul 2024 15:24:34 +0800") Received-SPF: pass client-ip=2607:f8b0:4864:20::d2c; envelope-from=joel.reicher@gmail.com; helo=mail-io1-xd2c.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 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-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:147191 Archived-At: CToID writes: > On 2024-07-13 14:31 GMT+08:00, Joel Reicher wrote: >> I get behaviour similar to what I think you want by always >> using emacsclient to open files, and including --no-splash in >> the command for alternate editor. > > I did some testing, and --no-splash only decides whether Emacs > shows the splash buffer or not. It doesn't affect the buffer > specified in initial-buffer-choice. I know, I wasn't suggesting you use --no-splash; only that you use emacsclient with alternate editor for the "situation trigger". Perhaps --funcall for something you can define to do what you need. Regards, - Joel