From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id sBHBDjo1qGITeQAAbAwnHQ (envelope-from ) for ; Tue, 14 Jun 2022 09:14:02 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id 4P3CDjo1qGJvOwEA9RJhRA (envelope-from ) for ; Tue, 14 Jun 2022 09:14:02 +0200 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 ECF4E2A0DB for ; Tue, 14 Jun 2022 09:14:01 +0200 (CEST) Received: from localhost ([::1]:54174 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o10kR-0006oG-Gv for larch@yhetil.org; Tue, 14 Jun 2022 03:13:59 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44384) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o10ic-0006Ws-8O for emacs-orgmode@gnu.org; Tue, 14 Jun 2022 03:12:06 -0400 Received: from mail-pl1-x633.google.com ([2607:f8b0:4864:20::633]:45953) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o10iZ-000115-0L for emacs-orgmode@gnu.org; Tue, 14 Jun 2022 03:12:04 -0400 Received: by mail-pl1-x633.google.com with SMTP id d5so4443198plo.12 for ; Tue, 14 Jun 2022 00:12:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version; bh=CZPlihRulDF2V3X41Y65f327VMfebdpCB0csjr6rXf4=; b=pp4E++AkO5B691r0LC2InaGDNuLYKsYy2vr/PzBP/IPTgXG2qneBJN2fKkKAVRN7je QA8IfhE7SeCZczZs+zwcN0wdnzJsFSMNugalh1mRAyrMB7r0Xb2wrpZwiq9jsGhDwprB gzgDiDlC382NiWSpR1m7BCr2PM7+QCSgnjGHg63qNPJYCa9VGoFYguKtjIWIhu33Yd4v +1A3VkSF+sChWLHrKXWXMr83omB4+IfoTzvx8KLkzWhU/bd4TLFTFrBVxOXpsfBUqxit tF/FoO23Qk25kHHTQusmcRfrM7pceb7X7XRaxqqMqZzExIHeTF9uQvt+wEBqVLf0RrJ6 IYow== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version; bh=CZPlihRulDF2V3X41Y65f327VMfebdpCB0csjr6rXf4=; b=7xF0rfQ98o63PyPKoJr1WGxZzKxxL3gRRAPrxL+OflpMLQW4Sn6WPSdDofaRWe/4rf qibdq+WzONq/Ka8+C5eCrulOMkS3GCT3A59WdlBwUQffqH9jlaXsaAp06jK50z3eCQAl msMlL0AWbi96DILFJMwsyp56O5Z2FEDfkgcaZsy0Fqwh9/NsvWih3Ea1MetB7mIH5et+ agGSE76StQzvH1YlgIKRbyTNrOwdJG3XteTibQh4aaDKq3FxHQE1VceeBPP4ai3YQtbW RVORbqPsO60hquQRu3askRcFVsySDUEEHstLf8iMm0ishpF5yPHiP7/ptQ3a3BeFp4Nt cwSw== X-Gm-Message-State: AJIora9uAhAHAiMP1a8jxGT6Fde0L7cN3YGoRDmJYQMVrg4oZJZM+Cx7 zgZ2wlGprTaOpUoo16qqFBE= X-Google-Smtp-Source: AGRyM1v2d5iGzO0GjPtjY9iGsjc8SASMyZwI/e3vkRGudrR0zYLrVe84aR+FzfD0AO760ecevq09YA== X-Received: by 2002:a17:90b:33c5:b0:1e3:e57a:8998 with SMTP id lk5-20020a17090b33c500b001e3e57a8998mr3071009pjb.54.1655190721159; Tue, 14 Jun 2022 00:12:01 -0700 (PDT) Received: from localhost ([155.94.207.39]) by smtp.gmail.com with ESMTPSA id j3-20020a170903024300b001620960f1dfsm6371030plh.198.2022.06.14.00.12.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 Jun 2022 00:12:00 -0700 (PDT) From: Ihor Radchenko To: Peter Gragert Cc: emacs-orgmode@gnu.org Subject: Re: Old user needs help In-Reply-To: References: Date: Tue, 14 Jun 2022 15:13:11 +0800 Message-ID: <8735g7hg54.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::633; envelope-from=yantar92@gmail.com; helo=mail-pl1-x633.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 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, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 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-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1655190842; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=CZPlihRulDF2V3X41Y65f327VMfebdpCB0csjr6rXf4=; b=jSU3TQ4kfXp3Tgys9JlfTSFXV5Tx2QGlnZpJApyCLm/mBHWYQsXp+8q2y6SQamAC+BkRuo 7aeswctI5P8kbF1HhqbU+MCAil043GQW16Jc16XMyi7ltsDHekiVtX+3gwB4NoZ0BNqCk9 nVM714tTFPgabgFifwMnWL1tH732S00yptAMiQeC7y7mQw8aMgwgtbH7uVkqURvk5YND+2 wHwThw1darcrC9ETlavuAXfGrHxJnIpCSi3/USJOJlDVDKWjPjv3EGZsnhJRuxAOX4mbPe skG/YdXn7zA7gm0uGNtQJhI3RU7Gc1F8U/PC4CctluSexcfMWnALx4tK3y8XBg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1655190842; a=rsa-sha256; cv=none; b=SLza5AsI0gcqehpbbcAN7Z3TEfkTw4uwoZTyOFy04sO3p7Ty5FrU5GPut1JGq00UynlnsO hjv0nGAB6thv5rm9IzysVJSjcXFRnDhO1UHD7PG8I6TCGZeZ/msO7rEPFxUAeOMnWANbw4 UGokTgWaY20qBIkv0Dd2M487AcTrgWYlMQUhTkNKCV0EISUg+1C5cRTQU9j6+TFN598ZIo geQ6lEPVr4Xkw2U/JYBSJ7XPD8DmnQK2Eai/lo8TZc/2WkIPJVzXj+mFVjGdGko91FFXN2 1vNbdIC7Y0+dSBsXYzd4lmuDCPlYZZqWlIw/xeQyrQy3ExunGaAbAjW+/+BB0g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=pp4E++Ak; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -1.99 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=pp4E++Ak; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: ECF4E2A0DB X-Spam-Score: -1.99 X-Migadu-Scanner: scn0.migadu.com X-TUID: +/d6vvJa5uZ7 Peter Gragert writes: > For example I have a juni2022.org file and would like that that org-file is > opened automatically on a click on the emacs desktop short-cut icon. > (years ago something in init.el (load-file "..." )if I remember correctly You can put (find-file "...") near the end of your init.el See https://www.gnu.org/software/emacs/manual/html_node/emacs/Init-File.html and https://www.gnu.org/software/emacs/manual/html_node/emacs/Visiting.html Alternatively, you can achieve a similar behavior using desktop-save-mode. desktop-save-mode will make Emacs remember all the open files just before closing and later restore them when you open Emacs again. See https://www.gnu.org/software/emacs/manual/html_node/emacs/Saving-Emacs-Sessions.html Hope if helps. Best, Ihor