From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Suhail Singh Newsgroups: gmane.emacs.help Subject: Re: Is there any local variable to avoid asking me to save buffer on kill-buffer? Date: Mon, 16 Dec 2024 14:39:19 -0500 Message-ID: <87r067s9i0.fsf@gmail.com> References: <7f8a548d35d21c6436045ce11af22088.support1@rcdrun.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="40390"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Stefan Monnier To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Mon Dec 16 20:40:23 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 1tNGx5-000ANn-Ld for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 16 Dec 2024 20:40:23 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tNGwW-0001pX-Rn; Mon, 16 Dec 2024 14:39:48 -0500 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 1tNGwL-0001ou-HQ for help-gnu-emacs@gnu.org; Mon, 16 Dec 2024 14:39:39 -0500 Original-Received: from mail-qk1-x744.google.com ([2607:f8b0:4864:20::744]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tNGwG-0006WN-QC for help-gnu-emacs@gnu.org; Mon, 16 Dec 2024 14:39:37 -0500 Original-Received: by mail-qk1-x744.google.com with SMTP id af79cd13be357-7b6e8814842so415537285a.0 for ; Mon, 16 Dec 2024 11:39:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1734377971; x=1734982771; 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=yPZB9FUeegyI6Hm8FhnvdEnNZYUrrXtxg0csvzYYIyg=; b=ls0adi7KkycNRJDrnHJ735GI9Yr+GXjIbHBWssuu3WOMdLE4GiKak6i1OirwET/3pn exvq3kzBXRHKtNNO9Fhn/NtxOorTKYHmK7mfQYTKEwlzYtm8IxlXasBeka0sFEkMN9Gh ayJWGJwE6xc0b4UrYuHpgniBEdv495jQvZR9cAL12nS3mVxnaQM/LkAc7rQcjqtq8mX7 +J+vD8G6m7pCjWBjRQuUT9W02TVDwoB2nkAGxVghTo6jbD1DXSa0Famx9TAiMVrHfGmV K4Xa8RkE5A5mNyK8kx8M6ntrqtkr3RalNr/ND5qS9PJNKEuhcBe0aAkxnFH/TSTCIQsN r7WQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734377971; x=1734982771; 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=yPZB9FUeegyI6Hm8FhnvdEnNZYUrrXtxg0csvzYYIyg=; b=obPagy/k7hWjXs7wNlbtCaGdrPZKtVuE0SKWLbrTvARKBHWM6UmyN/bq0htp45mnrf Y4l8mq3h7pwRG6jUa5Rj1YeMdO1fKHogZOIWMAqg8/oUnD4NznctkFHlOc3As4mtPqmF wKUFkT/On3OA/3UP7sIdi1taAircBKI4TS5Q9yVHFOOTL+iYo76gOwUNX6MJOnB/G8nA z7airjkSpnNHUgMOFpLQbaWDSl/ry5vOCwkp4D08Sp2HnRzZvlLEs4aS3l1mzbuCdSYv JQhJNhfjkkCzfqmtdv3Uru/B9cJv8fg/y9vMSeKNoa6vPRLxKNxYsI3iFjUeHYOp94Uu z5zg== X-Gm-Message-State: AOJu0Yx4yPQp69P3pRJE7xldRLp8AVOdNQHkTfGm4SfC1PdOMlHUsI2r kdD16r6sBkA4Lz0S35JDB4hrSlf6OGZv9ukrz/YhGJLGpbtDPpEA1b7ip5Um X-Gm-Gg: ASbGncttPhWiF++RmlXFEXgWuyjbTpAw4cTk87oUlK+j6Nx+dDzYt4QPXpXUo77oFNU N4c0mCZRLptidxPYp90gGJoinPA57c8KcjpaxaBZOFeT1Gj2CDZS5NG88CQbabJP3YTVsdL9PII O8RLgDjv/Me65XBpMo3/+XaqYt54k9gyMJAwEZgSQGDPsp+fB7VAyrejRWXVX2+smfDCcP/irVQ kh6FiDb5xoKCVRgrv/deIvfDafd62sgtzDdl7ta5zxPcLzUdPOV X-Google-Smtp-Source: AGHT+IHh3zjBOjFFjmLA/VlBzerq4dRxxDYckV4vJz3Oeez4TY6kURfTZo1pHGmZGoMnxZoVqcBg9Q== X-Received: by 2002:a05:620a:4453:b0:7b6:f03e:6c0e with SMTP id af79cd13be357-7b6fbf17133mr1958152185a.31.1734377971300; Mon, 16 Dec 2024 11:39:31 -0800 (PST) Original-Received: from gnus ([70.26.179.129]) by smtp.gmail.com with ESMTPSA id af79cd13be357-7b7048c9dc4sm251525285a.110.2024.12.16.11.39.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Dec 2024 11:39:30 -0800 (PST) In-Reply-To: (Jean Louis's message of "Mon, 16 Dec 2024 19:13:16 +0300") Received-SPF: pass client-ip=2607:f8b0:4864:20::744; envelope-from=suhailsingh247@gmail.com; helo=mail-qk1-x744.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 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_ENVFROM_END_DIGIT=0.25, 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:148836 Archived-At: Jean Louis writes: > (let* ((file-name (concat rcd-temp-file-directory > (format-time-string "%Y-%m-%d-%H:%M:%S-") > rcd-temp-buffer-name > ".txt")) > (buffer (or name (concat "*" rcd-temp-buffer-name "*")))) > (switch-to-buffer (generate-new-buffer buffer)) > (setq buffer-file-name file-name) A "temporary" buffer with a buffer-file-name? What makes it "temporary"? -- Suhail